View previous topic :: View next topic |
Author |
Message |
Wallsandfences Guru
Joined: 29 Mar 2010 Posts: 378
|
Posted: Sun Dec 25, 2016 6:43 pm Post subject: Nikon D7200 and gentoo |
|
|
Hi,
the bearded man brought the D7200 to me.
I can acces the camera via usb and gphoto2
However,I would prefer to copy my shoots from the SD-Card directly.
If I plug it in, it get (via dmesg):
Code: | [ 3666.759010] usb 2-1: new high-speed USB device number 5 using ehci-pci
[ 3666.875468] usb 2-1: New USB device found, idVendor=14cd, idProduct=121f
[ 3666.875481] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 3666.875488] usb 2-1: Product: Mass Storage Device
[ 3666.875493] usb 2-1: Manufacturer: Generic
[ 3666.875498] usb 2-1: SerialNumber: 121F20110712
[ 3666.941919] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 3666.942224] scsi host8: usb-storage 2-1:1.0
[ 3666.942356] usbcore: registered new interface driver usb-storage
[ 3667.946030] scsi 8:0:0:0: Direct-Access Mass Storage Device 1.00 PQ: 0 ANSI: 0 CCS
[ 3667.946543] sd 8:0:0:0: Attached scsi generic sg6 type 0
[ 3672.953713] sd 8:0:0:0: [sdf] 62552064 512-byte logical blocks: (32.0 GB/29.8 GiB)
[ 3672.954345] sd 8:0:0:0: [sdf] Write Protect is off
[ 3672.954420] sd 8:0:0:0: [sdf] Mode Sense: 03 00 00 00
[ 3672.955120] sd 8:0:0:0: [sdf] No Caching mode page found
[ 3672.955133] sd 8:0:0:0: [sdf] Assuming drive cache: write through
[ 3673.642608] sd 8:0:0:0: [sdf] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 3673.642615] sd 8:0:0:0: [sdf] tag#0 Sense Key : Medium Error [current]
[ 3673.642619] sd 8:0:0:0: [sdf] tag#0 Add. Sense: Unrecovered read error
[ 3673.642623] sd 8:0:0:0: [sdf] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 3673.642626] blk_update_request: critical medium error, dev sdf, sector 0
[ 3673.642629] Buffer I/O error on dev sdf, logical block 0, async page read
|
The SD-Card works perfectly fine on the nikon or at a SD-Card-Reader for my ipad. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Dec 25, 2016 6:55 pm Post subject: |
|
|
check your support for file systems and other settings in your kernel.
Check your usb settings for xhci or what it is called. check usb section, staging section and other sections
check if there is someone else already on the net using that camera on gnu linux.
Quote: | The SD-Card works perfectly fine on the nikon or at a SD-Card-Reader for my ipad. |
Well thats not relevant. And shows you have not really understood how it works.
The issue is
Compuer => cable => camera => sd-card
not
computer => sdcard
...
how nikon writes to the sdcard is another issue. they could use anything however they like. i would not be surprised when there are errors in the file systems because of bad firmware of that camera.
...
to make it clear: your issue is the connection from your computer + cable to the camera. Also bear in mind bad usb connector on the mainboard, bad usb cable, bad camera socket, bad firmware of the camera ... |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Wallsandfences Guru
Joined: 29 Mar 2010 Posts: 378
|
Posted: Sun Dec 25, 2016 7:28 pm Post subject: |
|
|
Hi,
Youre right i did not mention that other sd-cards work fine with my gentoo-desktop, even 32gb micro-sd via adapter. This card in question has 32gb and is a normal sized SD.
Does Nikon use anything different as FAT?
To be clear: i'm trying to read the sdcard directly. For that, i take it out of the camera nd plug it into my pc. This leads to the above quoted message.
Error sources i can think of:
1. Card is too new for my pc's card reader
2. nikon uses non-standard file system where my kernel isnt stuffed for
1. i can only hope that standardization takes care of that.it is a 32gb lexar 633x 95MB/s
2. i have no sources that claim anything other than FAT
What else could it be? |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Sun Dec 25, 2016 11:42 pm Post subject: |
|
|
Do you have exfat-utils installed?
HTH
swimmer |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Wallsandfences Guru
Joined: 29 Mar 2010 Posts: 378
|
Posted: Mon Dec 26, 2016 12:40 pm Post subject: |
|
|
Yes, I installed fuse-exfat and exfat-utils, but the problem persists. So it really seems to be an issue with an outdated cardreader module of my box here. |
|
Back to top |
|
|
robdd Tux's lil' helper
Joined: 02 Jan 2005 Posts: 142 Location: Sydney Australia
|
Posted: Tue Dec 27, 2016 1:22 am Post subject: |
|
|
Hi walls..
Sorry if this is a bit obvious, but.. Have you tried formatting the SD card using your existing SD card reader, then inserting it into the camera? I'd do the following (assuming your SD card is at sdc)
Be *real* careful that you don't end up formatting one of your hard drives! - easiest way is to open an xterm and do a "tail -n 200 -f /var/log/messages", then plug the card in while watching the messages. If you get an error here then it's game over, as it's likely the SD card and reader aren't compatible - but post the messages if you're not sure.
Then:
"dd if=/dev/zero of=/dev/sdc bs=1M count=20" - that will zero out the first few hundred sectors on the SD card
"fdisk /dev/sdc" - create a single partition sdc1 of type "b" which is Windoze FAT32 (ask if you need more help with fdisk)
"mkfs.vfat -v /dev/sdc1" - that will create a FAT32 filesystem on the SD card.
If you plug the card into the Nikon it *should* recognise the card - well, anyway, it works with my 3 year old Nikon.
Let us know how you get on..
Best Regards,
Rob.
My bad! I didn't look at the dmesg output carefully enough That's game over for the SD card/reader combination. So, as the SD card itself is working fine with other gear it looks like you need to buy a new SD card reader. Luckily they are dirt cheap. _________________ Rob Diamond
Gentoo Hack, hack, hacker
Sydney, Australia |
|
Back to top |
|
|
|