You are not logged in.
I've got a SanDisk 2 GB SD card that, when inserted at boot, is recognized by the kernel and can be mounted appropriately. I can then remove it and insert it again and it will still be recognized. However, if I boot without inserting it, then attempt to insert it, it's not recognized at all. Here is some output:
INSERTED AT BOOT:
fdisk -l:
Device Boot Start End Blocks Id System
/dev/sda1 * 63 41945714 20972826 7 HPFS/NTFS
/dev/sda2 41945715 321669494 139861890 5 Extended
/dev/sda5 41945778 67119569 12586896 83 Linux
/dev/sda6 67119633 83891429 8385898+ 83 Linux
/dev/sda7 83891493 84935654 522081 82 Linux swap / Solaris
/dev/sda8 84935718 321669494 118366888+ 83 Linux
Disk /dev/sdb: 2032 MB, 2032664576 bytes <<< this is it
255 heads, 63 sectors/track, 247 cylinders, total 3970048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00014215
dmesg:
usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 2-4: new full speed USB device using ohci_hcd and address 3
Initializing USB Mass Storage driver...
scsi6 : usb-storage 2-4:1.0
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 6:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
sd 6:0:0:0: Attached scsi generic sg2 type 0
scsi 6:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0
sd 6:0:0:1: Attached scsi generic sg3 type 0
EXT4-fs (sda6): mounted filesystem with ordered data mode
scsi 6:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0
sd 6:0:0:2: Attached scsi generic sg4 type 0
scsi 6:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
sd 6:0:0:3: Attached scsi generic sg5 type 0
sd 6:0:0:0: [sdb] 3970048 512-byte logical blocks: (2.03 GB/1.89 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:1: [sdc] Attached SCSI removable disk
sd 6:0:0:2: [sdd] Attached SCSI removable disk
sd 6:0:0:3: [sde] Attached SCSI removable disk
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1 <<< this is it
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Attached SCSI removable disk
NOT INSERTED AT BOOT:
I've inserted it at this point, after boot.
It's missing from fdisk output:
fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 63 41945714 20972826 7 HPFS/NTFS
/dev/sda2 41945715 321669494 139861890 5 Extended
/dev/sda5 41945778 67119569 12586896 83 Linux
/dev/sda6 67119633 83891429 8385898+ 83 Linux
/dev/sda7 83891493 84935654 522081 82 Linux swap / Solaris
/dev/sda8 84935718 321669494 118366888+ 83 Linux
and in dmesg...
usb 3-1: new full speed USB device using ohci_hcd and address 2
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input4
usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 2-4: new full speed USB device using ohci_hcd and address 3
Initializing USB Mass Storage driver...
scsi6 : usb-storage 2-4:1.0
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 6:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
sd 6:0:0:0: Attached scsi generic sg2 type 0
scsi 6:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0
sd 6:0:0:1: Attached scsi generic sg3 type 0
scsi 6:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0
sd 6:0:0:2: Attached scsi generic sg4 type 0
scsi 6:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
sd 6:0:0:3: Attached scsi generic sg5 type 0
sd 6:0:0:0: [sdb] Attached SCSI removable disk
sd 6:0:0:1: [sdc] Attached SCSI removable disk
sd 6:0:0:2: [sdd] Attached SCSI removable disk
sd 6:0:0:3: [sde] Attached SCSI removable disk
EXT4-fs (sda6): mounted filesystem with ordered data mode
kjournald starting. Commit interval 5 seconds
EXT3-fs (sda8): using internal journal
EXT3-fs (sda8): mounted filesystem with writeback data mode
fuse init (API version 7.13)
Adding 522076k swap on /dev/sda7. Priority:-1 extents:1 across:522076k
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
It seems as if the driver is loaded, however when I insert the SD card, "sdb: sdb1" or anything indicating it's being recognized does not appear.
Does anybody know what could be the problem? I'm using the standard kernel, 2.6.34.1-1.
Last edited by supulton (2010-07-24 21:01:37)
Offline
I've got a similar problem which may have to do with this.
Unfortunately I'm entering my exams phase so I haven't had time to investigate and thus haven't got much to report.
My problem is this: sometimes, my SD card is not recognized EVEN IF inserted before booting.
dmesg doesn't report anything on inserting or removing it.
Restarting "solves" it.
May be related, may be not. Not an exactly helpful post, I know.
Offline
I've got a similar problem which may have to do with this.
Unfortunately I'm entering my exams phase so I haven't had time to investigate and thus haven't got much to report.
My problem is this: sometimes, my SD card is not recognized EVEN IF inserted before booting.
dmesg doesn't report anything on inserting or removing it.
Restarting "solves" it.May be related, may be not. Not an exactly helpful post, I know.
Very strange, but reassuring to know I'm not alone with this problem. I'll update with any news I find out.
Offline
You could check the output of lsmod. Maybe the module only gets loaded when a card is inserted at boot time.
Offline
You could check the output of lsmod. Maybe the module only gets loaded when a card is inserted at boot time.
I just used lsmod when the card was inserted after boot and before, then sorted/diffed the results and they're pretty inconsequential. Just a few sound modules out of order.
43c43
< snd 42602 11 snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
---
> snd 42602 11 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
Any other ideas?
Offline