On Sat, Feb 09, 2008 at 10:55:17PM -0800, Andrew Morton wrote:
> On Sat,  9 Feb 2008 18:08:14 -0800 (PST) [EMAIL PROTECTED] wrote:
> 
> > http://bugzilla.kernel.org/show_bug.cgi?id=9925
> > 
> >            Summary: PROBLEM: Card Reader Detected but won't connect to
> >                     system
> >            Product: IO/Storage
> >            Version: 2.5
> >      KernelVersion: 2.6.24.1
> >           Platform: All
> >         OS/Version: Linux
> >               Tree: Mainline
> >             Status: NEW
> >           Severity: normal
> >           Priority: P1
> >          Component: Other
> >         AssignedTo: [EMAIL PROTECTED]
> >         ReportedBy: [EMAIL PROTECTED]
> > 
> > 
> > Latest working kernel version: 2.6.24.1
> > Earliest failing kernel version: 2.6.23.12
> 
> A regression.
> 
> > Distribution: Slackware Current (beta 12.1) Custom Kernel
> > Hardware Environment: 
> > Linux mars 2.6.24.1rj #2 PREEMPT Sat Feb 9 15:06:07 AST 2008 i686 AMD
> > Athlon(tm) XP 2200+ AuthenticAMD GNU/Linux
> > 1GB RAM
> > Software Environment:
> > Gnu C                  4.1.2
> > Gnu make               3.81
> > binutils               2.17.50.0.17.20070615
> > util-linux             2.12r
> > mount                  2.12r
> > module-init-tools      3.4
> > e2fsprogs              1.40.5
> > jfsutils               1.1.12
> > reiserfsprogs          3.6.19
> > xfsprogs               2.8.16
> > pcmciautils            014
> > quota-tools            3.13.
> > PPP                    2.4.4
> > Linux C Library        2.7
> > Dynamic linker (ldd)   2.7
> > Linux C++ Library      6.0.8
> > Procps                 3.2.7
> > Net-tools              1.60
> > Kbd                    1.12
> > oprofile               0.9.2
> > Sh-utils               6.9
> > udev                   116
> > wireless-tools         28
> > Modules Loaded         nls_iso8859_1 nls_cp437 nvidia usb_storage ub sg 
> > aic7xxx
> > snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss 
> > snd_mixer_oss
> > nfsd lockd auth_rpcgss sunrpc exportfs pcmcia pcmcia_core bt878 tuner 
> > tea5767
> > tda8290 tuner_simple mt20xx tea5761 i2c_viapro bttv ir_common compat_ioctl32
> > i2c_algo_bit videobuf_dma_sg videobuf_core btcx_risc via686a tveeprom hwmon
> > i2c_core snd_emu10k1 snd_rawmidi snd_ac97_codec psmouse ac97_bus emu10k1_gp
> > snd_pcm snd_seq_device snd_timer snd_page_alloc snd_util_mem gameport 
> > snd_hwdep
> > via_agp agpgart evdev pcspkr via_rhine mii snd soundcore uhci_hcd parport_pc
> > serio_raw videodev v4l2_common v4l1_compat parport
> > 
> > Problem Description:
> > 
> > Connecting USB card reader (ProFlash 6-in-1 Card Reader - resembles 
> > mini-iPod
> > with a card slot) to the front panel USB slots, is detected by system, but
> > adding a 1GB normal SD card, or a 4GB SDHC card causes error messages about
> > cannot detect filesystem.
> > 
> > Steps to reproduce:
> > Insert SD card into the reader device, and error occurs.
> > 
> > Note: I enabled the Probe all LUNs option which resolved system freeze when
> > card reader was inserted while another reader had /dev/uba already reserved.
> > The device was correctly assigned /dev/ube.
> > 
> > Bus 002 Device 003: ID 090c:6000 Feiya Technology Corp.
> > Bus 002 Device 001: ID 0000:0000 
> > Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp.
> > Bus 001 Device 001: ID 0000:0000 
> > 
> > /dev
> > root # ls -al ub*
> > brw-rw---- 1 root video 180,  0 2008-02-09 15:21 "uba"
> > brw-rw---- 1 root video 180,  8 2008-02-09 15:21 "ubb"
> > brw-rw---- 1 root video 180, 16 2008-02-09 15:21 "ubc"
> > brw-rw---- 1 root video 180, 24 2008-02-09 15:21 "ubd"
> > brw-r----- 1 root disk  180, 32 2008-02-09 15:23 "ube"
> > 
> > I tried a normal 1GB SD card (leaving out SDHC for the moment)
> > 
> > mount -t vfat /dev/ude1 /media/sddisk/
> > mount: special device /dev/ude1 does not exist

Shouldn't it be /dev/ube1 instead of ude1 ??

In any case, a full dmesg output with CONFIG_USB_STORAGE_DEBUG enabled
would be great.

> > 
> > FAT: bogus number of reserved sectors
> > VFS: Can't find a valid FAT filesystem on dev ube.

mkfs.vfat would help here, probably. It can be a bug in the FS not even
in USB.

> > 
> > I then tried it in the older card reader (no SDHC support)
> > as an example, after I insert the SD card:
> > 
> > dmesg>   uba: uba1
> > 
> > brw-rw---- 1 root video 180,  1 2008-02-09 15:55 "/dev/uba1"
> > 
> > mount -t vfat /dev/uba1 /media/sd
> > ls -al /media/sd
> > total 52
> > drwxr-xr-x  3 root root 16384 1969-12-31 20:00 "."/
> > drwxr-xr-x 22 root root  4096 2008-02-06 02:49 ".."/
> > drwxr-xr-x  3 root root 16384 2008-02-08 23:04 "dcim"/
> > 
> > 
> > fsck.vfat /dev/ube
> > dosfsck 2.11, 12 Mar 2005, FAT32, LFN
> > Got 0 bytes instead of 512 at 0
> > 
> > 
> > The device is picked up by hal:
> >  2263 ?        Ss     0:00 /usr/sbin/hald --daemon=yes
> >  2264 ?        S      0:00 hald-runner
> >  2270 ?        S      0:01 hald-addon-input: Listening on /dev/input/event0
> >  2275 ?        S      0:03 hald-addon-storage: polling /dev/hda (every 2 
> > sec)
> >  2485 ?        D      0:03 hald-addon-storage: polling /dev/sr0 (every 2 
> > sec)
> >  2638 ?        S      0:04 hald-addon-storage: polling /dev/uba (every 2 
> > sec)
> >  2646 ?        S      0:04 hald-addon-storage: polling /dev/ubd (every 2 
> > sec)
> >  2648 ?        S      0:04 hald-addon-storage: polling /dev/ubb (every 2 
> > sec)
> >  2650 ?        S      0:04 hald-addon-storage: polling /dev/ubc (every 2 
> > sec)
> >  2683 ?        S      0:03 hald-addon-storage: polling /dev/ube (every 2 
> > sec)
> > 
> > 
> > lsusb -s 002:003 -v
> > 
> > Bus 002 Device 003: ID 090c:6000 Feiya Technology Corp.
> > Device Descriptor:
> >   bLength                18
> >   bDescriptorType         1
> >   bcdUSB               2.00
> >   bDeviceClass            0 (Defined at Interface level)
> >   bDeviceSubClass         0
> >   bDeviceProtocol         0
> >   bMaxPacketSize0        64
> >   idVendor           0x090c Feiya Technology Corp.
> >   idProduct          0x6000
> >   bcdDevice            1.00
> >   iManufacturer           1 Generic       ,   .
> >   iProduct                2 USB2.0 Card Reader 
> >   iSerial                 3 12345678901234567890
> >   bNumConfigurations      1
> >   Configuration Descriptor:
> >     bLength                 9
> >     bDescriptorType         2
> >     wTotalLength           32
> >     bNumInterfaces          1
> >     bConfigurationValue     1
> >     iConfiguration          0
> >     bmAttributes         0x80
> >       (Bus Powered)
> >     MaxPower              500mA
> >     Interface Descriptor:
> >       bLength                 9
> >       bDescriptorType         4
> >       bInterfaceNumber        0
> >       bAlternateSetting       0
> >       bNumEndpoints           2
> >       bInterfaceClass         8 Mass Storage
> >       bInterfaceSubClass      6 SCSI
> >       bInterfaceProtocol     80 Bulk (Zip)
> >       iInterface              0
> >       Endpoint Descriptor:
> >         bLength                 7
> >         bDescriptorType         5
> >         bEndpointAddress     0x81  EP 1 IN
> >         bmAttributes            2
> >           Transfer Type            Bulk
> >           Synch Type               None
> >           Usage Type               Data
> >         wMaxPacketSize     0x0040  1x 64 bytes
> >         bInterval             255
> >       Endpoint Descriptor:
> >         bLength                 7
> >         bDescriptorType         5
> >         bEndpointAddress     0x02  EP 2 OUT
> >         bmAttributes            2
> >           Transfer Type            Bulk
> >           Synch Type               None
> >           Usage Type               Data
> >         wMaxPacketSize     0x0040  1x 64 bytes
> >         bInterval             255
> > Device Qualifier (for other device speed):
> >   bLength                10
> >   bDescriptorType         6
> >   bcdUSB               2.00
> >   bDeviceClass            0 (Defined at Interface level)
> >   bDeviceSubClass         0
> >   bDeviceProtocol         0
> >   bMaxPacketSize0        64
> >   bNumConfigurations      1
> > Device Status:     0x0000
> >   (Bus Powered)
> > 
> > 
> > After bootup, dmesg shows:
> > 
> > usb 2-1: new full speed USB device using uhci_hcd and address 2
> > usb 2-1: configuration #1 chosen from 1 choice
> > usbcore: registered new interface driver ub
> > Initializing USB Mass Storage driver...
> > usbcore: registered new interface driver usb-storage
> > USB Mass Storage support registered.
> > usb 2-1: USB disconnect, address 2
> > usb 1-1: new full speed USB device using uhci_hcd and address 2
> > usb 1-1: configuration #1 chosen from 1 choice
> > usb 2-1: new full speed USB device using uhci_hcd and address 3
> > usb 2-1: configuration #1 chosen from 1 choice
> > 
> > 
> > Let me know if you need additional information.
> > 
> > Thanks
> > Rich
> > 
> > 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
        - Balbi
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to