Camcorder HDD Replacement – SONY HDR-XR150

Featured

Tags

, , ,

My camcorder is 2 years old and has started developed bad sectors. (I lost footage of my daughters 1st birthday). The HDD was probably damaged due to the File recovery operations which i ran profusely few months ago to recover footage accidentally formatted.

HDR-XR150

New 60G HDD from ebay with a ZIF connector for $40

There are 4 screws that you have to Remove according to Manual.

Image

Here are the pictures for detail.

Image

Image

Image

You will see the Drive.  ZIF connector should be facing downwards.

Image

Lift the drive out and and lift the black ZIF connector.

Image

Pull the cable strip out

Image

Get the new DISK , pull th ZIF connector UP and insert the cable strip and flip it down again. Make sure the disk label and ZIF connector should face down.

Image

I tried to remove the HDD and use only the SDHC card, so that my battery lasts longer and there is no humm from spinning disks. The camera does not operate without a disk and throws an error. It would have been great to just get rid of the HDD and run a high speed SDHC card. Unfortunately, that does not work.

Vmware ESXi 6.0 Home Lab with Pass through Graphics Card and USB.

Tags

, , , , ,

My challenge was to build a home lab, a box that runs my PC as well as the virtual infrastructure for home lab. I cannot afford more than 1 box because of space constraints. I am not very well versed with Vmware technology, but chose because my network software is only supported on Vmware.

Hardware :

CPU – Intel i5-6500

Mother B – Asrock H170M-Pro4

Memory – Kingston Fury 16GB DDR4.

ESXi Installation

Apparently, the ESXi 6.0 has no support for the Onboard Nic. I learnt it when I tried to installed the ESXI 6.0 Update 1. So, I had to create a custom ESXi installation ISO , which has older drivers for the onboard NIC. The tool is great and a wonderful effort from the guy.

Installation went well and ESXi was installed.

Guest Installation – Win10 64

I don’t have an installation disc, I only have a lappy running Win10. So I decided to convert. Using VMware Standalone converter tool with target amy new Host. The migration took almost 7 hours over network for 300GB disk. I don’t know if SSD on host would have made things much faster. Source laptop is running on a  Samsung SSD. Conversion was completed and Win10 booted nicely without any hiccups. Although, the ESXi lists guest as Win 8.

Directed I/O or Passthrough

I did a research and after e-mailing Asrock support I found the Asrock support VT-d options. Which  is necessary on both CPU and MB to get passthrough working. Intel calls it “Intel® Virtualization Technology for Directed I/O (VT-d). The CPU I use (i5-6500) has support for this. Asrock too has it almost on all its motherboards, I used online manual to track it, it can be found under Chipset configuration chapter and I later confirmed it from Asrock support. It should enabled and I don’t remember if default setting is enabled or disabled.

Graphics Card as passthrough.

I has few PCIe cards , first one I tried was Asus GeForce 210 which didn’t work and then I used a Radeon HD 4350. Both cards are pre windows 8. However, they do have Win 8 drivers available.

Working Motherboard settings as follows:                                                           Advanced-Chipset Configuration ::: Primary Graphics Controller -> PCI EXPRESS                                                             ::: VT-d —> Enabled                                                                                                     ::: IGPU Multi-Monitor –> Disabled

Chipset configuration

After booting the ESXi host, i could see the card in advanced settings via the VMWare client as well as the onboard NIC. After adding it to passthrough , reboot of ESXi is required.

Passthrough-VGA only

Click to enlarge

Added it to the VM and booted the VM. I could not see the card in device manager nor did Win 10 installed any drivers for it. Apparently, you cannot see driverless hardware in the device manager like you see in a physical PC.  Just have to install the driver blindly, i download the Win 8 drivers and installed the device. The screen flickered and I could see the card installed.

radeon installed

Now you can plug the monitor into the card itself and output will be via the monitor. Windows will detect 2 monitors, one the VMware console and other the graphics card. You can also use it as typical 2 monitor scenario. I just deleted the other. You can keep using Vmware client console to work on the PC.

Issues :

VIDEO_TDR_FAILURE on guest OS Win 10 64bit

VIDEO_TThis issue I tracked to motherboard settings. Primary Graphics Controller -> Onboard.

At first it seemed logical to me, that onboard graphics card being used by ESXi host while PCI-e used by guest, settings accepted but Windows would crash with this message. ESXi remained alive when the VM dies. A lot of people blame it on drivers but I am not sure. The windows will only be stable when the Onboard is disabled.

This has consequences as you have no console screen for your ESXI host. only Network client.

 

ESXi Pink Panic Screen.

This baffled me, after booting and working Guest. The host would die because of some issue. The VM would not report any crash. I could not capture what it was as I have no console screen for ESXi. I had no intention to enable shell and fetch logs.  So I updated the  BIOS of motherboard from 1.0 to 1.5 as first resort, it made the system stable with no crashes…so far. In release notes, it does say “improves system stability”.

Asus GeForce210 did not work as mentioned earlier , I installed drivers and system would see the card with error code 43. I tried a lot but could not get it to work. As some blogs suggests, the AMD radeon is better choice.

Disabling onboard leaves you with no console. You can see the initial ESXi messages but eventually passthrough kicks in and ESXi stops stops console. Following is the last message you will see. ESXi will boot and you can access it from client.

esxi

I have a working system and I am using it now for more than 6 months.  I have added SSDs for both host and guest systems.

Passthrough USB controllers

passthrough

USB controllers are working perfectly. So far, it has been worth the effort as I seamlessly run multiple systems on the host.

I should mention ..I am not using onboard USB controllers. These  are USB PCI cards.

 

ADSL Config for Juniper SRX110

Juniper SRX110 – ADSL configuration . ATM interface and PPP dialer.

DSL Interface Cofiguration.

admin@UK-SRX110> show configuration interfaces at-1/0/0
encapsulation ethernet-over-atm;
atm-options {
vpi 8;
}
dsl-options {
operating-mode auto;
}
unit 0 {
encapsulation ppp-over-ether-over-atm-llc;
vci 8.35;
}

Dialer Configuration.

admin@UK-SRX110> show configuration interfaces pp0
unit 0 {
ppp-options {
pap {
local-name “xxxxxx@nsw.xxx.xxx.au”;
local-password “$xxxxx69A0BCA8Xx-wsQF3/uOIEcMLxqm6C”; ## SECRET-DATA
passive;
}
}
pppoe-options {
underlying-interface at-1/0/0.0;
auto-reconnect 1;
client;
}
family inet {
negotiate-address;
}
}

Default Route

set routing-options static route 0.0.0.0/0 next-hop pp0.0

Note: When entering password, do not enclose it in quotes. Also type in plain text and box will encrypt it.

Verify Connectivity

admin@UK-SRX110> show interfaces pp0.0

Logical interface pp0.0 (Index 81) (SNMP ifIndex 501)
Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE
PPPoE:
State: SessionUp, Session ID: 14345,
Session AC name: sclarbras08, Remote MAC address: 00:12:7f:33:f0:24,
Configured AC name: None, Service name: None,
Auto-reconnect timeout: 1 seconds, Idle timeout: Never,
Underlying interface: at-1/0/0.0 (Index 80)
Input packets : 91539795
Output packets: 53989122
Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
Keepalive: Input: 28472 (00:00:04 ago), Output: 85535 (00:00:05 ago)
LCP state: Opened
NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured
CHAP state: Closed
PAP state: Success
Security: Zone: untrust
Allowed host-inbound traffic : https ike ping ssh telnet
Protocol inet, MTU: 1482
Flags: Sendbcast-pkt-to-re, Negotiate-Address
Addresses, Flags: Kernel Is-Preferred Is-Primary
Destination: 220.233.1.170, Local: 115.x.x.x

admin@UK-SRX110> show interfaces at-1/0/0
Physical interface: at-1/0/0, Enabled, Physical link is Up
Interface index: 148, SNMP ifIndex: 534
Link-level type: Ethernet-over-ATM, MTU: 1514, Clocking: Internal, ADSL mode, Speed: ADSL2+, Loopback: None
Device flags : Present Running
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Current address: ac:4b:c8:c5:5c:20
Last flapped : 2013-09-08 17:16:36 UTC (1w2d 21:38 ago)
Input rate : 0 bps (0 pps)
Output rate : 4832 bps (3 pps)
ADSL alarms : None
ADSL defects : None
ADSL status:
Modem status : Showtime (Adsl2plus)
DSL mode : Auto Annex A
Last fail code: None
Subfunction : 0x00
Seconds in showtime : 855536

Logical interface at-1/0/0.0 (Index 80) (SNMP ifIndex 535)
Flags: Point-To-Multipoint SNMP-Traps 0x0 Encapsulation: PPPoE-over-ATM-LLC
Input packets : 6
Output packets: 2
Security: Zone: Null
VCI 8.35
Flags: Active, Multicast
Total down time: 0 sec, Last down: Never
Input packets : 0
Output packets: 0

Logical interface at-1/0/0.32767 (Index 82) (SNMP ifIndex 536)
Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0 Encapsulation: ATM-VCMUX
Input packets : 0
Output packets: 0
Security: Zone: Null
VCI 8.4
Flags: Active
Total down time: 0 sec, Last down: Never
Input packets : 0
Output packets: 0