On Fri, 3 Oct 2008, Jayne Dickinson wrote:
> I noticed something quite strange when mounting various USB pendrives...
> not all manufacturers are recognized!
>
> Here's the way I mount the pendrive
> :/# mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usbdisk
> mount: special device /dev/scsi/host0/bus0/target0/lun0/part1 does not
> exist
>
>
> Is there a universal usb pendrive module I need to load besides the
> current list?
If you grep (or less) the dmesg for references to /dev/scsi/host you will
find...
/dev/scsi/host0/bus0/target0/lun0: p1
/dev/scsi/host1/bus0/target0/lun0: p1
2 good entries, one you could have mounted as you indicate the other would
be mounted if you changed the special device to ..../host1/....
/dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
/dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
/dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
and these are the errors. I'm assuming that you umount'ed the pendrive(s)
before removing them? If not that could cause problems.
Another possibility is that the pendrive does not contain any partitions
and the whole device has been formatted - like floppy disks are
traditionally treated. I've seen such pendrives. Try mounting the
whole device, not the 1st partition.
>
> :/# lsmod
> Module Size Used by Tainted: P
> usb-storage 55912 0
> sd_mod 11100 0
> scsi_mod 53816 3 [usb-storage sd_mod]
> usb-ohci-ep93xx 888 0 (unused)
> usb-ohci 15584 0 [usb-ohci-ep93xx]
> pcipool 2072 1 [usb-ohci-ep93xx usb-ohci]
> usbcore 55944 0 [usb-storage usb-ohci]
> tsuart0 8880 0
> vfat 10140 0
> fat 29608 0 [vfat]
> bootloader 3040 0
>
>
> This is the error I get in dmesg
>
> :/# dmesg
> Linux version 2.4.26-ts11 (gcc version 3.3.4) #2 Tue Jun 10
> 13:55:19 MST 2008
> CPU: Arm920Tid(wb) revision 0
> Machine: ep9301
> On node 0 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> On node 1 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> On node 4 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> On node 5 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: root=/dev/ram0 init=/linuxrc printk=4 loops=499712
> Relocating machine vectors to 0xffff0000
> Console: colour dummy device 80x30
> 99.94 BogoMIPS
> Memory: 8MB 8MB 8MB 8MB = 32MB total
> Memory: 24504KB available (1223K code, 342K data, 76K init)
> Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
> Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
> Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
> CPU: Testing write buffer: pass
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> Starting kswapd
> devfs: v1.12c (20020818) Richard Gooch
> devfs: boot_options: 0x1
> yaffs Jun 10 2008 13:37:26 Installing.
> ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
> ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
> ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
> TS-UART/7400 detected a TS-7400 board
> ttyTS0 at MMIO 0x12400000 (irq = 33) is a TSUART
> pty: 1024 Unix98 ptys configured
> Using DIO to access RTC
> Real Time Clock Driver v1.10f
> ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
> RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
> Searching for NAND flash...
> NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB
> 3,3V 8-bit)
> Using MBR partition definition
> Creating 4 MTD partitions on "NAND 128MiB 3,3V 8-bit":
> 0x00000000-0x08000000 : "whole chip"
> 0x00020000-0x00220000 : "kernel"
> 0x00220000-0x00420000 : "initrd"
> 0x00440000-0x08000000 : "rootfs"
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 2048 bind 4096)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> NetWinder Floating Point Emulator V0.97 (double precision)
> RAMDISK: ext2 filesystem found at block 0
> RAMDISK: Loading 1024 blocks [1 disk] into ram disk... done.
> Freeing initrd memory: 4096K
> EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
> VFS: Mounted root (ext2 filesystem).
> Mounted devfs on /dev
> Freeing init memory: 76K
> smiCmDio initialized.
> Searching for NAND flash...
> NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB
> 3,3V 8-bit)
> nand_scan(): Buffers not set. Scan aborted
> VFS: Can't find ext2 filesystem on dev mtdblock(31,3).
> yaffs: dev is 7939 name is "1f:03"
> yaffs: Attempting MTD mount on 31.3, "1f:03"
> sdcard0: Technologic Systems SD card controller, address 0x13000000
> sdcard0: no card found
> Unable to register driver
> TS-UART/7260 did not detect a TS-7260 board
> TS-UART/RF2 did not detect a TS-RF2 board
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-ohci.c: USB OHCI at membase 0xe0020000, IRQ 56
> usb.c: new USB bus registered, assigned bus number 1
> hub.c: USB hub found
> hub.c: 3 ports detected
> SCSI subsystem driver Revision: 1.00
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> USB Mass Storage support registered.
> hub.c: new USB device not_pci-3, assigned address 2
> scsi0 : SCSI emulation for USB Mass Storage devices
> Vendor: SanDisk Model: Cruzer Micro Rev: 0.1
> Type: Direct-Access ANSI SCSI revision: 02
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> SCSI device sda: 4001760 512-byte hdwr sectors (2049 MB)
> sda: Write Protect is off
> Partition check:
> /dev/scsi/host0/bus0/target0/lun0: p1
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 2
> usb.c: USB disconnect on device not_pci-3 address 2
> hub.c: new USB device not_pci-3, assigned address 3
> scsi1 : SCSI emulation for USB Mass Storage devices
> Vendor: Generic Model: USB Flash Disk Rev: 0.00
> Type: Direct-Access ANSI SCSI revision: 02
> Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
> SCSI device sdb: 2031616 512-byte hdwr sectors (1040 MB)
> sdb: Write Protect is off
> /dev/scsi/host1/bus0/target0/lun0: p1
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 3
> sda: Unit Not Ready, sense:
> Info fld=0xa00 (nonstd), Current 00:00: sns = 70 2
> Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08
> Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
> Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
> sda : block size assumed to be 512 bytes, disk size 1GB.
> sda: test WP failed, assume Write Enabled
> /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
> I/O error: dev 08:00, sector 0
> unable to read partition table
> VFS: Disk change detected on device 08:00
> sda: Unit Not Ready, sense:
> Info fld=0xa00 (nonstd), Current 00:00: sns = 70 2
> Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08
> Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
> Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
> sda : block size assumed to be 512 bytes, disk size 1GB.
> sda: test WP failed, assume Write Enabled
> /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
> I/O error: dev 08:00, sector 0
> VFS: Disk change detected on device 08:00
> sda: Unit Not Ready, sense:
> Info fld=0xa00 (nonstd), Current 00:00: sns = 70 2
> Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08
> Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
> Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
> sda : block size assumed to be 512 bytes, disk size 1GB.
> sda: test WP failed, assume Write Enabled
> /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
> I/O error: dev 08:00, sector 0
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|