Page 1 of 1

[SOLVED] Problem with sd card access

PostPosted: Apr 1st, '13, 00:35
by roly
I to have this problem. I am running Mageia 2, 64 bit and have tried almost all of my SD drives. I even went out and bought two new ones thinking my old ones had gone bad but no joy. I am pretty sure the new ones are running Fat32. I am sure that at one time my sd cards mounted fine but have not tried it until I received my Raseberry Pi.
I should add that if I reboot the boot appears to hand on the sd card, also it dos'nt appear in "fdisk -l or in the control centre -hardware-harddrives.

Attached is the copy of /var/log/messages:

Code: Select all
Mar 31 13:31:19 localhost mtp-probe: checking bus 7, device 10: "/sys/devices/pci0000:00/0000:00:13.2/usb7/7-3"
Mar 31 13:31:19 localhost mtp-probe: bus: 7, device: 10 was not an MTP device
Mar 31 13:31:20 localhost kernel: [583697.879395] scsi 15:0:0:0: Direct-Access     Multi    Flash Reader     1.00 PQ: 0 ANSI: 0
Mar 31 13:31:20 localhost kernel: [583697.880137] sd 15:0:0:0: Attached scsi generic sg6 type 0
Mar 31 13:31:50 localhost kernel: [583728.228158] usb 7-3: reset high-speed USB device number 10 using ehci_hcd
Mar 31 13:32:00 localhost kernel: [583738.435666] usb 7-3: reset high-speed USB device number 10 using ehci_hcd
Mar 31 13:32:17 localhost kernel: [583754.637625] usb 7-3: reset high-speed USB device number 10 using ehci_hcd
Mar 31 13:32:17 localhost kernel: [583754.855409] usb 7-3: reset high-speed USB device number 10 using ehci_hcd
Mar 31 13:32:27 localhost kernel: [583765.062973] usb 7-3: reset high-speed USB device number 10 using ehci_hcd
Mar 31 13:32:27 localhost kernel: [583765.178543] sd 15:0:0:0: Device offlined - not ready after error recovery
Mar 31 13:32:27 localhost kernel: [583765.178647] sd 15:0:0:0: rejecting I/O to offline device
Mar 31 13:32:27 localhost kernel: [583765.178673] sd 15:0:0:0: rejecting I/O to offline device
Mar 31 13:32:27 localhost kernel: [583765.178686] sd 15:0:0:0: rejecting I/O to offline device
Mar 31 13:32:27 localhost kernel: [583765.178695] sd 15:0:0:0: [sdf] READ CAPACITY failed
Mar 31 13:32:27 localhost kernel: [583765.178701] sd 15:0:0:0: [sdf]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Mar 31 13:32:27 localhost kernel: [583765.178710] sd 15:0:0:0: [sdf] Sense not available.
Mar 31 13:32:27 localhost kernel: [583765.178721] sd 15:0:0:0: rejecting I/O to offline device
Mar 31 13:32:27 localhost kernel: [583765.178730] sd 15:0:0:0: [sdf] Write Protect is off
Mar 31 13:32:27 localhost kernel: [583765.178745] sd 15:0:0:0: rejecting I/O to offline device
Mar 31 13:32:27 localhost kernel: [583765.178754] sd 15:0:0:0: [sdf] Asking for cache data failed
Mar 31 13:32:27 localhost kernel: [583765.178760] sd 15:0:0:0: [sdf] Assuming drive cache: write through
Mar 31 13:32:27 localhost kernel: [583765.179250] sd 15:0:0:0: [sdf] Attached SCSI removable disk

Re: Problem with sd card access

PostPosted: Apr 1st, '13, 10:39
by doktor5000
I've split your post from the other thread, as that one was about a broken installation, and didn't even provide logs.
Yours is different, so it needs a separate thread. FWIW, looks like broken card, card reader or usb port/controller to me,
from the log excerpt below.

roly wrote:
Code: Select all
Mar 31 13:32:27 localhost kernel: [583765.178543] sd 15:0:0:0: Device offlined - not ready after error recovery
Mar 31 13:32:27 localhost kernel: [583765.178647] sd 15:0:0:0: rejecting I/O to offline device
Mar 31 13:32:27 localhost kernel: [583765.178673] sd 15:0:0:0: rejecting I/O to offline device
Mar 31 13:32:27 localhost kernel: [583765.178686] sd 15:0:0:0: rejecting I/O to offline device
Mar 31 13:32:27 localhost kernel: [583765.178695] sd 15:0:0:0: [sdf] READ CAPACITY failed
Mar 31 13:32:27 localhost kernel: [583765.178701] sd 15:0:0:0: [sdf]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Mar 31 13:32:27 localhost kernel: [583765.178710] sd 15:0:0:0: [sdf] Sense not available.
Mar 31 13:32:27 localhost kernel: [583765.178721] sd 15:0:0:0: rejecting I/O to offline device
Mar 31 13:32:27 localhost kernel: [583765.178730] sd 15:0:0:0: [sdf] Write Protect is off
Mar 31 13:32:27 localhost kernel: [583765.178745] sd 15:0:0:0: rejecting I/O to offline device
Mar 31 13:32:27 localhost kernel: [583765.178754] sd 15:0:0:0: [sdf] Asking for cache data failed


What SD cards is/are that (size, brand) what read is it and how is it connected, and does that
combo work on another computer/OS without problems?

Re: Problem with sd card access

PostPosted: Apr 2nd, '13, 06:02
by roly
Most of the cards are scandisk and they do not work on my wife's system either. I don't sleep much so last night I thought of buying a new adapter and trying it. Will let you know what happens. :D
Thanks for the reply.
roly

Re: Problem with sd card access

PostPosted: Apr 5th, '13, 03:37
by roly
Well it was the adapter, not that old either, another "made in china" product.

Anyway my Raspberry Pi is up and running and I am a happy camper.

roly