[CentOS] SD Card Reader not being recognized

Tue Aug 2 10:40:22 UTC 2005
Dave Gutteridge <dave at tokyocomedy.com>

>Well, could try building the latest FC3 or FC4 kernel under CentOS.
>
Hmm... I'm wary of that since there were so many other issues with 
Fedora that I encountered which motivated me to come to CentOS in the 
first place.

>Can also try (as root):
># tail -f /var/log/messages
>then insert card.  (Ctrl-C to exit - otherwise runs "forever".)
>  
>
Nothing happens if I run the command and then insert a card.
However, if I remove the card reader from the USB Port and put it back 
in, I get this:

Aug  2 19:34:51 localhost kernel: usb 1-1.1: new full speed USB device 
using address 9
Aug  2 19:34:51 localhost kernel: scsi2 : SCSI emulation for USB Mass 
Storage devices
Aug  2 19:35:03 localhost kernel:   Vendor: BUFFALO   Model: CF CARD 
Reader    Rev: 3.06
Aug  2 19:35:03 localhost kernel:   Type:   
Direct-Access                      ANSI SCSI revision: 02
Aug  2 19:35:03 localhost kernel: Attached scsi removable disk sdb at 
scsi2, channel 0, id 0, lun 0
Aug  2 19:35:04 localhost scsi.agent[4367]: disk at 
/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.1/1-1.1:1.0/host2/target2:0:0/2:0:0:0
Aug  2 19:35:06 localhost kernel: Device not ready.  Make sure there is 
a disc in the drive.

Judging by that last line, it might seem as though something is wrong 
with the card. So I tested other cards, and also verified that the cards 
could be read by both Windows and my Palm Pilot. The cards definitely 
have data on them. It's CentOS that can not read them.

>If something shows up in the output, try
>
># fdisk -l
>  
>
Here is the output from that:

[root at localhost dave]# fdisk -l
Disk /dev/hda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3649    29310561    7  HPFS/NTFS
Disk /dev/hdb: 30.7 GB, 30738677760 bytes
255 heads, 63 sectors/track, 3737 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        3644    29270398+  83  Linux
/dev/hdb2            3645        3737      747022+   f  W95 Ext'd (LBA)
Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        4864    39070048+   c  W95 FAT32 (LBA)

>and (think I suggested this earlier, but the centosplus kernel man yave
>made a difference)
># tail /etc/fstab
>  
>
[root at localhost dave]# tail /etc/fstab
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/hdd                /media/cdrom            auto    
pamconsole,exec,noauto,managed 0 0
/dev/hdc                /media/cdrecorder       auto    
pamconsole,exec,noauto,managed 0 0
/dev/sda1               /media/HD_40GB          vfat    
pamconsole,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto    
pamconsole,exec,noauto,managed 0 0

It's all Greek to me. But I don't see anything that looks like an SD 
card in there.

Dave