Hello Jorick, > Currently we want to retreive the footage of our elphel NC393. When > running the script "./int_ssd_download.py", we see the disk getting > unmounted. But my thinkpad doesn't see the drive. Maybe it's been fixed in > the later firmware but we like to get the data save first, before we > upgrade the firmware. What could be the problem? > Most likely */dev/disk/by-id/* contents are not what the script expects (on Kubuntu 16.04). It calls a few commands filtering device list by the disk ID.
~$ ls /dev/disk/by-id/ -all | grep ... > ~$ sudo blkid | grep ... ... It can be a bug in the script - which I will check. > The thinkpad notebook has an unpowered esata I believe, but I think the > ssd is powered internally? > > <root@192.168.0.9> > > Yes, SSD is powered internally. Try the following (manual instructions): 1. run "./int_ssd_download.py", do not "Press Enter", then from another terminal: 2. check your pc's dmesg or if it detected the first partition. 2a. if SSD is detected. Let's say it appeared as > *[ 864.532399] sdc: sdc1 sdc2 * The raw partition name was read from the camera and reported as "...-part2" => /dev/sdc2 Then run *dd* to copy the data from the partition. > $ dd if=/dev/sdc2 of=somefile.img bs=100M count=1 skip=0 This will copy 1 block of 100MB skipping 0 blocks. Then try splitting it (extract_images.php) 2b. if it's not detected > http://192.168.0.9/x393_vsc330x.php?state It will display a connection table. The *"state"* row should be reporting "active" for ESATA and SSD columns. if "LOS" - then I would try another PC. More info (+ a screenshot of the table): > https://wiki.elphel.com/wiki/Sata_multiplexer_10389 Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 5555 x124 Elphel, Inc. > root@192.168.0.9: connection ok > root@192.168.0.9: Enabled connection: internal SSD <-> Camera > root@192.168.0.9: raw partition name: Crucial_CT250MX200SSD6_ > 1531103B7285-part2 > umounting /dev/sda1 > root@192.168.0.9: Enabled connection: internal SSD <-> PC > Connect camera (eSATA) to PC (eSATA/SATA). Press Enter to continue... > Waiting for disks to show up: > ['Crucial_CT250MX200SSD6_1531103B7285-part2'] > Waiting for disks to show up: > ['Crucial_CT250MX200SSD6_1531103B7285-part2'] > PC: Error: Disks were not found: > ['Crucial_CT250MX200SSD6_1531103B7285-part2'] > > From the elphel dmesg > > [ 586.941027] ata1: exception Emask 0x10 SAct 0x0 SErr 0x90000 action 0xe > frozen > [ 586.948183] ata1: irq_stat 0x00400000, PHY RDY changed > [ 586.953342] ata1: SError: { PHYRdyChg 10B8B } > [ 586.957657] ata1: hard resetting link > [ 587.728906] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) > [ 587.735622] ata1.00: supports DRM functions and may not be fully > accessible > [ 587.744397] ata1.00: supports DRM functions and may not be fully > accessible > [ 587.752539] ata1.00: configured for UDMA/133 > [ 587.756730] ata1: EH complete > [ 587.759918] ata1.00: Enabling discard_zeroes_data > [ 589.751271] elphel-ahci 80000000.elphel-ahci: removing Elphel AHCI > driver > [ 589.758068] ata1.00: disabled > [ 589.763808] sd 0:0:0:0: [sda] Synchronizing SCSI cache > [ 589.771170] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: > hostbyte=0x04 driverbyte=0x00 > [ 589.780050] sd 0:0:0:0: [sda] Stopping disk > [ 589.784362] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: > hostbyte=0x04 driverbyte=0x00 > [ 862.005272] elphel-ahci 80000000.elphel-ahci: AHCI driver loading is > deferred. Load bitstream and write 1 into /sys/devices/soc0/amba@0/ > 80000000.elphel-ahci/load_module to continue > [ 864.038894] elphel-ahci 80000000.elphel-ahci: probing Elphel AHCI driver > [ 864.058897] elphel-ahci 80000000.elphel-ahci: AHCI 0001.0301 1 slots 1 > ports 3 Gbps 0x1 impl platform mode > [ 864.068471] elphel-ahci 80000000.elphel-ahci: flags: only sxs > [ 864.077415] scsi host1: elphel-ahci > [ 864.081236] ata2: SATA max UDMA/133 mmio [mem 0x80000000-0x80000fff] > port 0x100 irq 163 > [ 864.438887] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) > [ 864.445486] ata2.00: supports DRM functions and may not be fully > accessible > [ 864.452393] ata2.00: ATA-10: Crucial_CT250MX200SSD6, MU02, max UDMA/133 > [ 864.458989] ata2.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32) > [ 864.467280] ata2.00: supports DRM functions and may not be fully > accessible > [ 864.475512] ata2.00: configured for UDMA/133 > [ 864.480095] scsi 1:0:0:0: Direct-Access ATA Crucial_CT250MX2 > MU02 PQ: 0 ANSI: 5 > [ 864.489163] ata2.00: Enabling discard_zeroes_data > [ 864.493934] sd 1:0:0:0: [sda] 488397168 512-byte logical blocks: (250 > GB/232 GiB) > [ 864.501568] sd 1:0:0:0: [sda] 4096-byte physical blocks > [ 864.502707] sd 1:0:0:0: Attached scsi generic sg0 type 0 > [ 864.512394] sd 1:0:0:0: [sda] Write Protect is off > [ 864.517144] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00 > [ 864.517259] sd 1:0:0:0: [sda] Write cache: enabled, read cache: > enabled, doesn't support DPO or FUA > [ 864.526809] ata2.00: Enabling discard_zeroes_data > [ 864.532399] sda: sda1 sda2 > [ 864.536057] ata2.00: Enabling discard_zeroes_data > [ 864.541860] sd 1:0:0:0: [sda] Attached SCSI disk > > > > > Met vriendelijke groet, > With kind regards, > > Jorick Astrego > > > > > > *THE IDIOT COMPANY* > Staalsteden 4-3A > 7547 TA Enschede > The Netherlands +31 (0)53 20 30 275 > i...@theidiotcompany.eu <i...@theidiotcompany.com> > WWW.THEIDIOTCOMPANY.EU <http://www.theidiotcompany.com/> > > > > > _______________________________________________ > Support-list mailing list > Support-list@support.elphel.com > http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com >
_______________________________________________ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com