Hello, I'm testing an embedded system, which is running a somewhat dated (May 2009) 2.6.28.10 kernel. When I plug this cheap 2-GB USB drive, I get the following message: hub_port_init 1 Plug in USB Port3 udev->speed: 3 usb 3-1: configuration #1 chosen from 1 choice usb-storage: This device (058f,6387,0104 S 06 P 50) has unneeded SubClass and Protocol entries in unusual_devs.h (kernel 2.6.28.10) Please send a copy of this message to <linux-usb@xxxxxxxxxxxxxxx> and <usb-storage@xxxxxxxxxxxxxxxxxxxxxxxx> scsi0 : SCSI emulation for USB Mass Storage devices scsi 0:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 2 usb 3-1: New USB device found, idVendor=058f, idProduct=6387 usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 3-1: Product: Mass Storage usb 3-1: Manufacturer: Generic usb 3-1: SerialNumber: 6FA643E9 sd 0:0:0:0: [sda] 4075520 512-byte hardware sectors: (2.08 GB/1.94 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Assuming drive cache: write through sd 0:0:0:0: [sda] 4075520 512-byte hardware sectors: (2.08 GB/1.94 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Assuming drive cache: write through sda:<7>hub 3-0:1.0: port 1 enable change, status 00000403 sd 0:0:0:0: [sda] Attached SCSI removable disk sdp->removable:1 And, when I try to list the drive's contents, I can't: (while WinXP "sees" the contents) # ls -l /dev/sda /dev/sda/ /dev/sda1 /dev/sda1/ ls: /dev/sda/: Not a directory ls: /dev/sda1: No such file or directory ls: /dev/sda1/: No such file or directory brw-rw---- 1 root 0 8, 0 Jan 1 00:06 /dev/sda Given the age of my kernel, there is a good chance this problem has been already been fixed in recent kernels. Is it the case? For reference, here's my boot message: LX_MEM = 0x0, 0x2300000 LX_MEM2 = 0x66000000, 0x7000000 CPHYSADDR(PFN_ALIGN(&_end))= 0x46F000 EMAC_LEN= 0x100000 DRAM_LEN= 0x10000000 console [early0] enabled CPU revision is: 00019750 (MIPS 74Kc) FPU revision is: 01739700 Begin Kaiserin_setup Determined physical RAM map: memory: 02300000 @ 00000000 (usable) memory: 07000000 @ 66000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: DMA 0x00000000 -> 0x00008000 Normal 0x00008000 -> 0x00020000 HighMem 0x00020000 -> 0x0006d000 Movable zone start PFN for each node early_node_map[2] active PFN ranges 0: 0x00000000 -> 0x00002300 0: 0x00066000 -> 0x0006d000 Normal zone: 768 pages exceeds realsize 0 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 34912 Kernel command line: console=ttyS0,115200 ubi.mtd=0,2048 root=ubi:RFS rootfstype=ubifs rw LX_MEM=0x2300000 EMAC_MEM=0x100000 DRAM_LEN=0x10000000 LX_MEM2=0x66000000,0x7000000 BB_ADDR=0x7FFFF00 MS_GOP0_MIU=0 mtdparts=edb64M-nand:128m(UBI),-(NA) ENV=SERIAL alloc ebase: 81da6000 Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 PID hash table entries: 256 (order: 8, 1024 bytes) CPU freq count = 396000000 console handover: boot [early0] -> real [ttyS0] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 131772k/35840k available (3070k kernel code, 18596k reserved, 849k data, 164k init, 114688k highmem) SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Calibrating delay loop... 395.26 BogoMIPS (lpj=197632) Mount-cache hash table entries: 512 net_namespace: 288 bytes NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered NET: Registered protocol family 1 highmem bounce pool size: 64 pages squashfs: version 3.4 (2008/08/26) Phillip Lougher squashfs: LZMA suppport for slax.org by jro JFFS2 version 2.2. (NAND)2001-2006 Red Hat, Inc. fuse init (API version 7.10) msgmni has been set to 33 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver4 ports, IRQ sharing disabled serial8250: ttyS0 at I/O 0xbf201300 (irq = 8) is a 16550 brd: module loaded loop: module loaded Driver 'sd' needs updating - please use bus_type methods usbmon: debugfs is not available Mstar-ehci-2 H.W init Titania3_series_start_ehc start Mstar-ehci-2 Mstar-ehci-2.1: Mstar EHCI Mstar-ehci-2 Mstar-ehci-2.1: new USB bus registered, assigned bus number 1 Mstar-ehci-2 Mstar-ehci-2.1: irq 74, io mem 0xbf201a00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: Mstar EHCI usb usb1: Manufacturer: Linux 2.6.28.10 ehci_hcd usb usb1: SerialNumber: mstar ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver Mstar-ehci-1 H.W init Titania3_series_start_ehc start Mstar-ehci-1 Mstar-ehci-1.0: Mstar EHCI Mstar-ehci-1 Mstar-ehci-1.0: new USB bus registered, assigned bus number 2 Mstar-ehci-1 Mstar-ehci-1.0: irq 15, io mem 0xbf204800 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: Mstar EHCI usb usb2: Manufacturer: Linux 2.6.28.10 ehci_hcd usb usb2: SerialNumber: mstar Mstar-ehci-3 H.W init Titania3_series_start_ehc start Mstar-ehci-3 Mstar-ehci-3.2: Mstar EHCI Mstar-ehci-3 Mstar-ehci-3.2: new USB bus registered, assigned bus number 3 Mstar-ehci-3 Mstar-ehci-3.2: irq 23, io mem 0xbf220600 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 1 port detected usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb3: Product: Mstar EHCI usb usb3: Manufacturer: Linux 2.6.28.10 ehci_hcd usb usb3: SerialNumber: mstar Mstar-ehci-4 H.W init Titania3_series_start_ehc start Mstar-ehci-4 Mstar-ehci-4.3: Mstar EHCI Mstar-ehci-4 Mstar-ehci-4.3: new USB bus registered, assigned bus number 4 Mstar-ehci-4 Mstar-ehci-4.3: irq 38, io mem 0xbf241200 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 1 port detected usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb4: Product: Mstar EHCI usb usb4: Manufacturer: Linux 2.6.28.10 ehci_hcd usb usb4: SerialNumber: mstar Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. CPU0: _mod_mpool_map_miu1: entrylo0=0180001f entrylo1=01800017 [ PHY Addr ] ==> :0 alloRAM_PA_BASE= 0x2300000 alloRAM_SIZE= 0x100000 >>>>>>>---------------------------------------NAND DRIVER---------------------------------------------------2011-10-24 23:07:35 >>>>>>>---------------------------------------DMA MODE--------------------------------------------------- NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix NAND 256MiB 3,3V 8-bit) Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit": 0x00000000-0x08000000 : "UBI" mtd: Giving out device 0 to UBI 0x08000000-0x10000000 : "NA" mtd: Giving out device 1 to NA parse_cmdline_partitions: add_mtd_partitions TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. IP-Config: Incomplete network configuration information. VFS: Mounted root (ubifs filesystem). Freeing unused kernel memory: 164k freed Mounting application Mounting PTS -- Regards. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html