* Trying to troubleshoot ornery Phison usb-storage
@ 2003-03-14 18:39 David Wuertele
2003-03-14 20:24 ` Matthew Dharm
0 siblings, 1 reply; 9+ messages in thread
From: David Wuertele @ 2003-03-14 18:39 UTC (permalink / raw)
To: linux-scsi; +Cc: linux-usb-users
I've got a board with a phison flash-card reader chip on it, and I
don't seem to be able to get any of the usb-storage features to work.
I'm looking for troubleshooting tips.
I'm using linux version 2.4.18 on a mipsel architecture. I get the
same negative results whether or not I'm using the phison patch from
http://www.fuw.edu.pl/~pliszka/linux-USB/Phison.tgz. When I try to
fdisk a card inserted in the slot, I get:
# fdisk /dev/scsi/host0/bus0/target0/lun1/disc
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The console always prints:
SCSI error: host 0 id 0 lun 1 return code = 8000002
Sense class 7, sense error 0, extended sense 7
I try to create a new Linux partion, which appears to work at first:
Disk /dev/scsi/host0/bus0/target0/lun1/disc: 34 heads, 61 sectors, 1011 cylinders
Units = cylinders of 2074 * 512 bytes
Device Boot Start End Blocks Id System
/dev/scsi/host0/bus0/target0/lun1/part1 1 1011 1048376+ 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
#
The console at this point has printed:
sdb : READ CAPACITY failed.
sdb : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sns = 70 7
ASC=27 ASCQ= 0
Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 0x00 0x00 0x00 0x00
sdb : block size assumed to be 512 bytes, disk size 1GB.
sdb: Write Protect is off
p1
sdb : READ CAPACITY failed.
sdb : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sns = 70 7
ASC=27 ASCQ= 0
Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 0x00 0x00 0x00 0x00
sdb : block size assumed to be 512 bytes, disk size 1GB.
sdb: Write Protect is off
p1
So I try to make a filesystem and mount:
mkfs /dev/scsi/host0/bus0/target0/lun1/part1
mke2fs 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131072 inodes, 262094 blocks
13104 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Writing inode tables: 0/8\b\b\b1/8\b\b\b2/8\b\b\b3/8\b\b\b4/8\b\b\b5/8\b\b\b6/8\b\b\b7/8\b\b\bdone
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mount /dev/scsi/host0/bus0/target0/lun1/part1 /mnt/test
mount: Mounting /dev/scsi/host0/bus0/target0/lun1/part1 on /mnt/test failed: Invalid argument
#
The console now prints:
SCSI error: host 0 id 0 lun 1 return code = 8000002
Sense class 7, sense error 0, extended sense 7
SCSI error: host 0 id 0 lun 1 return code = 8000002
Sense class 7, sense error 0, extended sense 7
SCSI error: host 0 id 0 lun 1 return code = 8000002
Sense class 7, sense error 0, extended sense 7
VFS: Can't find ext2 filesystem on dev sd(8,17).
SCSI error: host 0 id 0 lun 1 return code = 8000002
Sense class 7, sense error 0, extended sense 7
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:11.
SCSI error: host 0 id 0 lun 1 return code = 8000002
Sense class 7, sense error 0, extended sense 7
SCSI error: host 0 id 0 lun 1 return code = 8000002
Sense class 7, sense error 0, extended sense 7
Now when I try to fdisk the same card, it has forgotten the partition:
# fdisk /dev/scsi/host0/bus0/target0/lun1/disc
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Command (m for help): p
Disk /dev/scsi/host0/bus0/target0/lun1/disc: 34 heads, 61 sectors, 1011 cylinders
Units = cylinders of 2074 * 512 bytes
Device Boot Start End Blocks Id System
Command (m for help):
Any suggestions on how to troubleshoot this? I've posted a more
verbose console output at http://www.rokulabs.com/phison-console.txt
and the shell that goes with it at http://www.rokulabs.com/phison-shell.txt.
Thanks,
Dave
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Trying to troubleshoot ornery Phison usb-storage 2003-03-14 18:39 Trying to troubleshoot ornery Phison usb-storage David Wuertele @ 2003-03-14 20:24 ` Matthew Dharm 2003-03-14 21:01 ` David Wuertele 0 siblings, 1 reply; 9+ messages in thread From: Matthew Dharm @ 2003-03-14 20:24 UTC (permalink / raw) To: David Wuertele; +Cc: linux-scsi, linux-usb-users [-- Attachment #1: Type: text/plain, Size: 5865 bytes --] Have you tried USB Storage Verbose Debugging? Matt On Fri, Mar 14, 2003 at 10:39:25AM -0800, David Wuertele wrote: > I've got a board with a phison flash-card reader chip on it, and I > don't seem to be able to get any of the usb-storage features to work. > I'm looking for troubleshooting tips. > > I'm using linux version 2.4.18 on a mipsel architecture. I get the > same negative results whether or not I'm using the phison patch from > http://www.fuw.edu.pl/~pliszka/linux-USB/Phison.tgz. When I try to > fdisk a card inserted in the slot, I get: > > # fdisk /dev/scsi/host0/bus0/target0/lun1/disc > Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel > Building a new DOS disklabel. Changes will remain in memory only, > until you decide to write them. After that, of course, the previous > content won't be recoverable. > > The console always prints: > > SCSI error: host 0 id 0 lun 1 return code = 8000002 > Sense class 7, sense error 0, extended sense 7 > > I try to create a new Linux partion, which appears to work at first: > > Disk /dev/scsi/host0/bus0/target0/lun1/disc: 34 heads, 61 sectors, 1011 cylinders > Units = cylinders of 2074 * 512 bytes > > Device Boot Start End Blocks Id System > /dev/scsi/host0/bus0/target0/lun1/part1 1 1011 1048376+ 83 Linux > > Command (m for help): w > The partition table has been altered! > > Calling ioctl() to re-read partition table. > > WARNING: If you have created or modified any DOS 6.x > partitions, please see the fdisk manual page for additional > information. > Syncing disks. > # > > The console at this point has printed: > > sdb : READ CAPACITY failed. > sdb : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 7 > ASC=27 ASCQ= 0 > Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 0x00 0x00 0x00 0x00 > sdb : block size assumed to be 512 bytes, disk size 1GB. > sdb: Write Protect is off > p1 > sdb : READ CAPACITY failed. > sdb : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 7 > ASC=27 ASCQ= 0 > Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 0x00 0x00 0x00 0x00 > sdb : block size assumed to be 512 bytes, disk size 1GB. > sdb: Write Protect is off > p1 > > So I try to make a filesystem and mount: > > mkfs /dev/scsi/host0/bus0/target0/lun1/part1 > mke2fs 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09 > Filesystem label= > OS type: Linux > Block size=4096 (log=2) > Fragment size=4096 (log=2) > 131072 inodes, 262094 blocks > 13104 blocks (5.00%) reserved for the super user > First data block=0 > 8 block groups > 32768 blocks per group, 32768 fragments per group > 16384 inodes per group > Superblock backups stored on blocks: > 32768, 98304, 163840, 229376 > > Writing inode tables: 0/8\b\b\b1/8\b\b\b2/8\b\b\b3/8\b\b\b4/8\b\b\b5/8\b\b\b6/8\b\b\b7/8\b\b\bdone > Writing superblocks and filesystem accounting information: done > > This filesystem will be automatically checked every 20 mounts or > 180 days, whichever comes first. Use tune2fs -c or -i to override. > # mount /dev/scsi/host0/bus0/target0/lun1/part1 /mnt/test > mount: Mounting /dev/scsi/host0/bus0/target0/lun1/part1 on /mnt/test failed: Invalid argument > # > > The console now prints: > > SCSI error: host 0 id 0 lun 1 return code = 8000002 > Sense class 7, sense error 0, extended sense 7 > SCSI error: host 0 id 0 lun 1 return code = 8000002 > Sense class 7, sense error 0, extended sense 7 > SCSI error: host 0 id 0 lun 1 return code = 8000002 > Sense class 7, sense error 0, extended sense 7 > VFS: Can't find ext2 filesystem on dev sd(8,17). > SCSI error: host 0 id 0 lun 1 return code = 8000002 > Sense class 7, sense error 0, extended sense 7 > FAT: bogus logical sector size 0 > VFS: Can't find a valid FAT filesystem on dev 08:11. > SCSI error: host 0 id 0 lun 1 return code = 8000002 > Sense class 7, sense error 0, extended sense 7 > SCSI error: host 0 id 0 lun 1 return code = 8000002 > Sense class 7, sense error 0, extended sense 7 > > Now when I try to fdisk the same card, it has forgotten the partition: > > # fdisk /dev/scsi/host0/bus0/target0/lun1/disc > Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel > Building a new DOS disklabel. Changes will remain in memory only, > until you decide to write them. After that, of course, the previous > content won't be recoverable. > > > Command (m for help): p > > Disk /dev/scsi/host0/bus0/target0/lun1/disc: 34 heads, 61 sectors, 1011 cylinders > Units = cylinders of 2074 * 512 bytes > > Device Boot Start End Blocks Id System > > Command (m for help): > > Any suggestions on how to troubleshoot this? I've posted a more > verbose console output at http://www.rokulabs.com/phison-console.txt > and the shell that goes with it at http://www.rokulabs.com/phison-shell.txt. > > Thanks, > Dave > > - > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Matthew Dharm Home: mdharm-usb@one-eyed-alien.net Maintainer, Linux USB Mass Storage Driver I could always suspend a few hundred accounts and watch what happens. -- Tanya User Friendly, 7/31/1998 [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Trying to troubleshoot ornery Phison usb-storage 2003-03-14 20:24 ` Matthew Dharm @ 2003-03-14 21:01 ` David Wuertele 2003-03-14 22:47 ` Matthew Dharm 0 siblings, 1 reply; 9+ messages in thread From: David Wuertele @ 2003-03-14 21:01 UTC (permalink / raw) To: linux-scsi; +Cc: linux-usb-users Matthew> Have you tried USB Storage Verbose Debugging? Yep, that's already on. Dave ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Trying to troubleshoot ornery Phison usb-storage 2003-03-14 21:01 ` David Wuertele @ 2003-03-14 22:47 ` Matthew Dharm 2003-03-14 23:00 ` David Wuertele 0 siblings, 1 reply; 9+ messages in thread From: Matthew Dharm @ 2003-03-14 22:47 UTC (permalink / raw) To: David Wuertele; +Cc: linux-scsi, linux-usb-users [-- Attachment #1: Type: text/plain, Size: 660 bytes --] So what do the logs say? If it's not in syslog, dmesg should show them. Matt On Fri, Mar 14, 2003 at 01:01:57PM -0800, David Wuertele wrote: > Matthew> Have you tried USB Storage Verbose Debugging? > > Yep, that's already on. > > Dave > > - > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Matthew Dharm Home: mdharm-usb@one-eyed-alien.net Maintainer, Linux USB Mass Storage Driver NYET! The evil stops here! -- Pitr User Friendly, 6/22/1998 [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Trying to troubleshoot ornery Phison usb-storage 2003-03-14 22:47 ` Matthew Dharm @ 2003-03-14 23:00 ` David Wuertele 2003-03-15 1:55 ` Matthew Dharm 0 siblings, 1 reply; 9+ messages in thread From: David Wuertele @ 2003-03-14 23:00 UTC (permalink / raw) To: linux-scsi; +Cc: linux-usb-users Matt> So what do the logs say? If it's not in syslog, dmesg should Matt> show them. I have posted the logs at http://www.rokulabs.com/phison-console.txt, but for convenience I include them here as well. To see what I was doing in the shell at the time these messages were output, please see http://www.rokulabs.com/phison-console.txt Thanks! memsize environment variable not set: assuming 32MB CPU revision is: 00018007 Primary instruction cache 16kb, linesize 16 bytes (4 ways) Primary data cache 16kb, linesize 16 bytes (4 ways) Linux version 2.4.18_dev-xilleon_x220 (dave@vmrh73g.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-99.1)) #24 Thu Mar 13 09:38:57 PST 2003 KGDB: Using serial line /dev/ttyS1 for session Determined physical RAM map: memory: 00080000 @ 00000000 (ROM data) memory: 00080000 @ 00080000 (reserved) memory: 01f00000 @ 00100000 (usable) On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: nfsroot=10.0.0.157:/nfsroot,rw,rsize=1024,wsize=1024 max_sci_luns=3 hda=none hdb=none rw ip=10.0.1.3 console=ttyS0,115200,n,8,1 ide_setup: hda=none ide_setup: hdb=none Initializing IRQs calculating r4koff... CPU frequency 598.42 MHz Console: colour dummy device 80x25 Calibrating delay loop... 598.01 BogoMIPS MIPS CPU counter frequency is fixed at 299209896 Hz Memory: 28456k/31744k available (2230k kernel code, 3288k reserved, 323k data, 4k init, 0k highmem) 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) Checking for 'wait' instruction... unavailable. POSIX conformance testing by UNIFIX Autoconfig PCI channel 0x803804e8 Scanning bus 00, I/O 0x00002000:0x00010001, Mem 0x10000000:0x18000001 00:08.0 Class 0200: 10ec:8139 (rev 10) I/O at 0x00002000 [size=0x100] Mem at 0x10000000 [size=0x100] 00:14.0 Class 0480: 1002:4855 (rev 02) Mem at 0x08000000 [size=0x4000000] I/O at 0x00002100 [size=0x100] Mem at 0x10008000 [size=0x8000] Mem at 0x1c000000 [size=0x2000000] 00:14.1 Class 0101: 1002:4856 (rev 01) I/O at 0x00002200 [size=0x8] I/O at 0x00002208 [size=0x4] I/O at 0x00002210 [size=0x8] I/O at 0x00002218 [size=0x4] I/O at 0x00002220 [size=0x10] 00:14.2 Class 0c03: 1002:4857 (rev 0a) Mem at 0x10010000 [size=0x1000] 00:14.5 Class 0401: 1002:4858 (rev 01) Mem at 0x10011000 [size=0x100] 00:14.6 Class 0703: 1002:4859 (rev 01) Mem at 0x10011100 [size=0x100] irq fixup slot 8 vendor 10ec irq 33 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Disabling the Out Of Memory Killer devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au) devfs: devfs_debug: 0x0 devfs: boot_options: 0x1 NTFS driver v1.1.22 [Flags: R/O] JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB. i2c-core.o: i2c core module version 2.6.2 (20011118) i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118) i2c-proc.o version 2.6.2 (20011118) initialize_kbd: Keyboard failed self test pty: 256 Unix98 ptys configured rs_init() APER_PCUIPA_BASE: 200 200 deviceID: 4855 4855 Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled Testing ttyS0 (0xbe000010, 0xbe000010)... Testing ttyS1 (0xbe000000, 0xbe000000)... ttyS00 at 0xbe000010 (irq = 100) is a 16550A ttyS01 at 0xbe000000 (irq = 99) is a 16550A block: 64 slots per queue, batch=16 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx X225: IDE controller on PCI bus 00 dev a1 X225: chipset revision 1 XILLEON 225 IDE: rev 01 IDE UDMA controller on pci00:14.1 X225: 100% native mode on irq 3 ide0: BM-DMA at 0x2220-0x2227, BIOS settings: hda:DMA, hdb:DMA probing for hdc: present=0, media=32, probetype=ATA probing for hdc: present=0, media=32, probetype=ATAPI probing for hdd: present=0, media=32, probetype=ATA probing for hdd: present=0, media=32, probetype=ATAPI probing for hde: present=0, media=32, probetype=ATA probing for hde: present=0, media=32, probetype=ATAPI probing for hdf: present=0, media=32, probetype=ATA probing for hdf: present=0, media=32, probetype=ATAPI probing for hdg: present=0, media=32, probetype=ATA probing for hdg: present=0, media=32, probetype=ATAPI probing for hdh: present=0, media=32, probetype=ATA probing for hdh: present=0, media=32, probetype=ATAPI probing for hdi: present=0, media=32, probetype=ATA probing for hdi: present=0, media=32, probetype=ATAPI probing for hdj: present=0, media=32, probetype=ATA probing for hdj: present=0, media=32, probetype=ATAPI probing for hdk: present=0, media=32, probetype=ATA probing for hdk: present=0, media=32, probetype=ATAPI probing for hdl: present=0, media=32, probetype=ATA probing for hdl: present=0, media=32, probetype=ATAPI loop: loaded (max 8 devices) 8139too Fast Ethernet driver 0.9.24 8139too: pci dev 00:08.0 (id 10ec:8139 rev ff) is an enhanced 8139C+ chip 8139too: Use the "8139cp" driver for improved performance and stability. eth0: RealTek RTL8139 Fast Ethernet at 0xb0000000, 00:0a:97:02:0e:09, IRQ 33 SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: Root fs not mounted XILLEON Flash mappings: Search for id:(00 00) interleave(1) type(1) Search for id:(00 00) interleave(1) type(1) Search for id:(00 00) interleave(1) type(1) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) JEDEC: Found no Core flash device at location zero Boot FLASH probe failed Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(2) Search for id:(00 00) interleave(2) type(2) Search for id:(00 00) interleave(2) type(2) JEDEC: Found no User flash device at location zero User FLASH probe failed usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci-pci.c: USB OHCI at membase 0xb0010000, IRQ 2 usb-ohci-pci.c: usb-00:14.2, PCI device 1002:4857 (ATI Technologies Inc) usb.c: new USB bus registered, assigned bus number 1 Product: USB OHCI Root Hub SerialNumber: b0010000 hub.c: USB hub found hub.c: 2 ports detected usb.c: registered new driver hid hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> hid-core.c: USB HID support drivers usb.c: registered new driver usblp printer.c: v0.8:USB Printer Device Class driver Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 2048) eth0: Setting half-duplex based on auto-negotiated partner ability 0000. IP-Config: Guessing netmask 255.0.0.0 IP-Config: Complete: device=eth0, addr=10.0.1.3, mask=255.0.0.0, gw=255.255.255.255, host=10.0.1.3, domain=, nis-domain=(none), bootserver=255.255.255.255, rootserver=10.0.0.157, rootpath= NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. hub.c: USB new device connect on bus1/2, assigned device number 2 Looking up port of RPC 100003/2 on 10.0.0.157 Looking up port of RPC 100005/1 on 10.0.0.157 VFS: Mounted root (nfs filesystem). Mounted devfs on /dev Freeing unused kernel memory: 4k freed Manufacturer: ???????????????????????? Product: ?????????????Aa123456789 SerialNumber: Aa1234567890 scsi0 : SCSI emulation for USB Mass Storage devices Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1 Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2 Attached scsi removable disk sdd at scsi0, channel 0, id 0, lun 3 Attached scsi removable disk sde at scsi0, channel 0, id 0, lun 4 Attached scsi removable disk sdf at scsi0, channel 0, id 0, lun 5 Attached scsi removable disk sdg at scsi0, channel 0, id 0, lun 6 Attached scsi removable disk sdh at scsi0, channel 0, id 0, lun 7 sda : READ CAPACITY failed. sda : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 6 ASC=28 ASCQ= 0 Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 sda : block size assumed to be 512 bytes, disk size 1GB. Partition check: /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called unknown partition table sdb : READ CAPACITY failed. sdb : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 6 ASC=28 ASCQ= 0 Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 sdb : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target0/lun1:<7>usb-storage: queuecommand() called unknown partition table sdc : READ CAPACITY failed. sdc : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 6 ASC=28 ASCQ= 0 Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 sdc : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target0/lun2:<7>usb-storage: queuecommand() called unknown partition table sdd : READ CAPACITY failed. sdd : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 6 ASC=28 ASCQ= 0 Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 sdd : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target0/lun3:<7>usb-storage: queuecommand() called unknown partition table sde : READ CAPACITY failed. sde : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 6 ASC=28 ASCQ= 0 Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 sde : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target0/lun4:<7>usb-storage: queuecommand() called unknown partition table sdf : READ CAPACITY failed. sdf : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 7 ASC=27 ASCQ= 0 Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 0x00 0x00 0x00 0x00 sdf : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target0/lun5:<7>usb-storage: queuecommand() called unknown partition table sdg : READ CAPACITY failed. sdg : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 7 ASC=27 ASCQ= 0 Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 0x00 0x00 0x00 0x00 sdg : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target0/lun6:<7>usb-storage: queuecommand() called Algorithmics/MIPS FPU Emulator v1.5 unknown partition table sdh : READ CAPACITY failed. sdh : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 7 ASC=27 ASCQ= 0 Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 0x00 0x00 0x00 0x00 sdh : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target0/lun7:<7>usb-storage: queuecommand() called unknown partition table serial console detected. Disabling virtual terminals. init started: BusyBox v0.60.2 (2002.04.03-20:48+0000) multi-call binary Welcome to prototype Linux Mounting proc filesystem: [ OK ] Configuring kernel parameters: [ OK ] Activating swap partitions: [ OK ] Setting hostname prototype: [ OK ] Mounting local filesystems: [ OK ] Enabling swap space: [ OK ] Entering non-interactive startup Starting system logger: [ OK ] Starting kernel logger: [ OK ] Starting xinetd: [ OK ] Setting clock: Fri Dec 31 19:00:59 EST 1999 [ OK ] prototype login: usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Skipping START_STOP command usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) usb-storage: 1e 20 00 00 01 00 89 81 f4 ff ff ff usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 usb-storage: No Sense: no additional sense information usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. SCSI error: host 0 id 0 lun 1 return code = 8000002 Sense class 7, sense error 0, extended sense 0 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 20 00 00 00 00 00 00 02 00 ff ff usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 20 00 00 00 02 00 00 06 00 ff ff usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 20 00 00 00 08 00 00 20 00 ff ff usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 20 00 00 00 28 00 00 38 00 ff ff usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) usb-storage: 1e 20 00 00 00 00 3c 80 20 01 3c 80 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Skipping START_STOP command usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) usb-storage: 1e 00 00 00 01 00 89 81 f4 ff ff ff usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 usb-storage: No Sense: no additional sense information usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. SCSI error: host 0 id 0 lun 0 return code = 8000002 Sense class 7, sense error 0, extended sense 0 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 00 00 00 02 00 ff ff usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 02 00 00 06 00 ff ff usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 08 00 00 20 00 ff ff usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 28 00 00 38 00 ff ff usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command WRITE_10 (10 bytes) usb-storage: 2a 00 00 00 00 00 00 00 02 00 ff ff usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 usb-storage: No Sense: no additional sense information usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 usb-storage: No Sense: no additional sense information usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 usb-storage: Unit Attention: not ready to ready transition usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. sda : READ CAPACITY failed. sda : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 6 ASC=28 ASCQ= 0 Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 sda : block size assumed to be 512 bytes, disk size 1GB. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command MODE_SENSE (6 bytes) usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 3c 80 usb-storage: -- converting 10 byte sense data to 6 byte usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. sda: Write Protect is off /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 00 00 00 08 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. p1 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 usb-storage: No Sense: no additional sense information usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 usb-storage: Unit Attention: not ready to ready transition usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 usb-storage: Unit Attention: not ready to ready transition usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. sda : READ CAPACITY failed. sda : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 6 ASC=28 ASCQ= 0 Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 sda : block size assumed to be 512 bytes, disk size 1GB. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command MODE_SENSE (6 bytes) usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 3c 80 usb-storage: -- converting 10 byte sense data to 6 byte usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. sda: Write Protect is off /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 00 00 00 08 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. p1 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) usb-storage: 1e 00 00 00 00 00 3c 80 60 01 3c 80 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Skipping START_STOP command usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) usb-storage: 1e 00 00 00 01 00 09 81 14 00 00 00 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 usb-storage: Unit Attention: not ready to ready transition usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) usb-storage: 1e 00 00 00 00 00 3c 80 a0 01 3c 80 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Skipping START_STOP command usb-storage: *** thread sleeping. VFS: Disk change detected on device sd(8,1) usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 usb-storage: Unit Attention: not ready to ready transition usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 usb-storage: No Sense: no additional sense information usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 usb-storage: No Sense: no additional sense information usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. sda : READ CAPACITY failed. sda : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 0 Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 sda : block size assumed to be 512 bytes, disk size 1GB. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command MODE_SENSE (6 bytes) usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 3c 80 usb-storage: -- converting 10 byte sense data to 6 byte usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. sda: Write Protect is off /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 00 00 00 08 00 3c 80 usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. unknown partition table ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Trying to troubleshoot ornery Phison usb-storage 2003-03-14 23:00 ` David Wuertele @ 2003-03-15 1:55 ` Matthew Dharm 2003-03-15 2:27 ` David Wuertele 0 siblings, 1 reply; 9+ messages in thread From: Matthew Dharm @ 2003-03-15 1:55 UTC (permalink / raw) To: David Wuertele; +Cc: linux-scsi, linux-usb-users [-- Attachment #1: Type: text/plain, Size: 31831 bytes --] Could you repeat this test with: (a) max_scsi_luns spelled properly on the command line, and (b) max_scsi_luns set to 0 Matt On Fri, Mar 14, 2003 at 03:00:58PM -0800, David Wuertele wrote: > Matt> So what do the logs say? If it's not in syslog, dmesg should > Matt> show them. > > I have posted the logs at http://www.rokulabs.com/phison-console.txt, > but for convenience I include them here as well. To see what I was > doing in the shell at the time these messages were output, please see > http://www.rokulabs.com/phison-console.txt > > Thanks! > > memsize environment variable not set: assuming 32MB > CPU revision is: 00018007 > Primary instruction cache 16kb, linesize 16 bytes (4 ways) > Primary data cache 16kb, linesize 16 bytes (4 ways) > Linux version 2.4.18_dev-xilleon_x220 (dave@vmrh73g.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-99.1)) #24 Thu Mar 13 09:38:57 PST 2003 > KGDB: Using serial line /dev/ttyS1 for session > Determined physical RAM map: > memory: 00080000 @ 00000000 (ROM data) > memory: 00080000 @ 00080000 (reserved) > memory: 01f00000 @ 00100000 (usable) > On node 0 totalpages: 8192 > zone(0): 8192 pages. > zone(1): 0 pages. > zone(2): 0 pages. > Kernel command line: nfsroot=10.0.0.157:/nfsroot,rw,rsize=1024,wsize=1024 max_sci_luns=3 hda=none hdb=none rw ip=10.0.1.3 console=ttyS0,115200,n,8,1 > ide_setup: hda=none > ide_setup: hdb=none > Initializing IRQs > calculating r4koff... CPU frequency 598.42 MHz > Console: colour dummy device 80x25 > Calibrating delay loop... 598.01 BogoMIPS > MIPS CPU counter frequency is fixed at 299209896 Hz > Memory: 28456k/31744k available (2230k kernel code, 3288k reserved, 323k data, 4k init, 0k highmem) > 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) > Checking for 'wait' instruction... unavailable. > POSIX conformance testing by UNIFIX > Autoconfig PCI channel 0x803804e8 > Scanning bus 00, I/O 0x00002000:0x00010001, Mem 0x10000000:0x18000001 > 00:08.0 Class 0200: 10ec:8139 (rev 10) > I/O at 0x00002000 [size=0x100] > Mem at 0x10000000 [size=0x100] > 00:14.0 Class 0480: 1002:4855 (rev 02) > Mem at 0x08000000 [size=0x4000000] > I/O at 0x00002100 [size=0x100] > Mem at 0x10008000 [size=0x8000] > Mem at 0x1c000000 [size=0x2000000] > 00:14.1 Class 0101: 1002:4856 (rev 01) > I/O at 0x00002200 [size=0x8] > I/O at 0x00002208 [size=0x4] > I/O at 0x00002210 [size=0x8] > I/O at 0x00002218 [size=0x4] > I/O at 0x00002220 [size=0x10] > 00:14.2 Class 0c03: 1002:4857 (rev 0a) > Mem at 0x10010000 [size=0x1000] > 00:14.5 Class 0401: 1002:4858 (rev 01) > Mem at 0x10011000 [size=0x100] > 00:14.6 Class 0703: 1002:4859 (rev 01) > Mem at 0x10011100 [size=0x100] > irq fixup slot 8 vendor 10ec irq 33 > Linux NET4.0 for Linux 2.4 > Based upon Swansea University Computer Society NET3.039 > Initializing RT netlink socket > Starting kswapd > Disabling the Out Of Memory Killer > devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au) > devfs: devfs_debug: 0x0 > devfs: boot_options: 0x1 > NTFS driver v1.1.22 [Flags: R/O] > JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB. > i2c-core.o: i2c core module version 2.6.2 (20011118) > i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118) > i2c-proc.o version 2.6.2 (20011118) > initialize_kbd: Keyboard failed self test > pty: 256 Unix98 ptys configured > rs_init() APER_PCUIPA_BASE: 200 200 deviceID: 4855 4855 > Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled > Testing ttyS0 (0xbe000010, 0xbe000010)... > Testing ttyS1 (0xbe000000, 0xbe000000)... > ttyS00 at 0xbe000010 (irq = 100) is a 16550A > ttyS01 at 0xbe000000 (irq = 99) is a 16550A > block: 64 slots per queue, batch=16 > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize > Uniform Multi-Platform E-IDE driver Revision: 6.31 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > X225: IDE controller on PCI bus 00 dev a1 > X225: chipset revision 1 > XILLEON 225 IDE: rev 01 IDE UDMA controller on pci00:14.1 > X225: 100% native mode on irq 3 > ide0: BM-DMA at 0x2220-0x2227, BIOS settings: hda:DMA, hdb:DMA > probing for hdc: present=0, media=32, probetype=ATA > probing for hdc: present=0, media=32, probetype=ATAPI > probing for hdd: present=0, media=32, probetype=ATA > probing for hdd: present=0, media=32, probetype=ATAPI > probing for hde: present=0, media=32, probetype=ATA > probing for hde: present=0, media=32, probetype=ATAPI > probing for hdf: present=0, media=32, probetype=ATA > probing for hdf: present=0, media=32, probetype=ATAPI > probing for hdg: present=0, media=32, probetype=ATA > probing for hdg: present=0, media=32, probetype=ATAPI > probing for hdh: present=0, media=32, probetype=ATA > probing for hdh: present=0, media=32, probetype=ATAPI > probing for hdi: present=0, media=32, probetype=ATA > probing for hdi: present=0, media=32, probetype=ATAPI > probing for hdj: present=0, media=32, probetype=ATA > probing for hdj: present=0, media=32, probetype=ATAPI > probing for hdk: present=0, media=32, probetype=ATA > probing for hdk: present=0, media=32, probetype=ATAPI > probing for hdl: present=0, media=32, probetype=ATA > probing for hdl: present=0, media=32, probetype=ATAPI > loop: loaded (max 8 devices) > 8139too Fast Ethernet driver 0.9.24 > 8139too: pci dev 00:08.0 (id 10ec:8139 rev ff) is an enhanced 8139C+ chip > 8139too: Use the "8139cp" driver for improved performance and stability. > eth0: RealTek RTL8139 Fast Ethernet at 0xb0000000, 00:0a:97:02:0e:09, IRQ 33 > SCSI subsystem driver Revision: 1.00 > request_module[scsi_hostadapter]: Root fs not mounted > XILLEON Flash mappings: > Search for id:(00 00) interleave(1) type(1) > Search for id:(00 00) interleave(1) type(1) > Search for id:(00 00) interleave(1) type(1) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > JEDEC: Found no Core flash device at location zero > Boot FLASH probe failed > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(2) type(1) > Search for id:(00 00) interleave(2) type(1) > Search for id:(00 00) interleave(2) type(1) > Search for id:(00 00) interleave(2) type(2) > Search for id:(00 00) interleave(2) type(2) > Search for id:(00 00) interleave(2) type(2) > JEDEC: Found no User flash device at location zero > User FLASH probe failed > usb.c: registered new driver usbdevfs > usb.c: registered new driver hub > usb-ohci-pci.c: USB OHCI at membase 0xb0010000, IRQ 2 > usb-ohci-pci.c: usb-00:14.2, PCI device 1002:4857 (ATI Technologies Inc) > usb.c: new USB bus registered, assigned bus number 1 > Product: USB OHCI Root Hub > SerialNumber: b0010000 > hub.c: USB hub found > hub.c: 2 ports detected > usb.c: registered new driver hid > hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> > hid-core.c: USB HID support drivers > usb.c: registered new driver usblp > printer.c: v0.8:USB Printer Device Class driver > Initializing USB Mass Storage driver... > usb.c: registered new driver usb-storage > USB Mass Storage support registered. > mice: PS/2 mouse device common for all mice > NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP > IP: routing cache hash table of 512 buckets, 4Kbytes > TCP: Hash tables configured (established 2048 bind 2048) > eth0: Setting half-duplex based on auto-negotiated partner ability 0000. > IP-Config: Guessing netmask 255.0.0.0 > IP-Config: Complete: > device=eth0, addr=10.0.1.3, mask=255.0.0.0, gw=255.255.255.255, > host=10.0.1.3, domain=, nis-domain=(none), > bootserver=255.255.255.255, rootserver=10.0.0.157, rootpath= > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > hub.c: USB new device connect on bus1/2, assigned device number 2 > Looking up port of RPC 100003/2 on 10.0.0.157 > Looking up port of RPC 100005/1 on 10.0.0.157 > VFS: Mounted root (nfs filesystem). > Mounted devfs on /dev > Freeing unused kernel memory: 4k freed > Manufacturer: ???????????????????????? > Product: ?????????????Aa123456789 > SerialNumber: Aa1234567890 > scsi0 : SCSI emulation for USB Mass Storage devices > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 > Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1 > Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2 > Attached scsi removable disk sdd at scsi0, channel 0, id 0, lun 3 > Attached scsi removable disk sde at scsi0, channel 0, id 0, lun 4 > Attached scsi removable disk sdf at scsi0, channel 0, id 0, lun 5 > Attached scsi removable disk sdg at scsi0, channel 0, id 0, lun 6 > Attached scsi removable disk sdh at scsi0, channel 0, id 0, lun 7 > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 6 > ASC=28 ASCQ= 0 > Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > Partition check: > /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called > unknown partition table > sdb : READ CAPACITY failed. > sdb : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 6 > ASC=28 ASCQ= 0 > Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 > sdb : block size assumed to be 512 bytes, disk size 1GB. > /dev/scsi/host0/bus0/target0/lun1:<7>usb-storage: queuecommand() called > unknown partition table > sdc : READ CAPACITY failed. > sdc : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 6 > ASC=28 ASCQ= 0 > Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 > sdc : block size assumed to be 512 bytes, disk size 1GB. > /dev/scsi/host0/bus0/target0/lun2:<7>usb-storage: queuecommand() called > unknown partition table > sdd : READ CAPACITY failed. > sdd : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 6 > ASC=28 ASCQ= 0 > Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 > sdd : block size assumed to be 512 bytes, disk size 1GB. > /dev/scsi/host0/bus0/target0/lun3:<7>usb-storage: queuecommand() called > unknown partition table > sde : READ CAPACITY failed. > sde : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 6 > ASC=28 ASCQ= 0 > Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 > sde : block size assumed to be 512 bytes, disk size 1GB. > /dev/scsi/host0/bus0/target0/lun4:<7>usb-storage: queuecommand() called > unknown partition table > sdf : READ CAPACITY failed. > sdf : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 7 > ASC=27 ASCQ= 0 > Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 0x00 0x00 0x00 0x00 > sdf : block size assumed to be 512 bytes, disk size 1GB. > /dev/scsi/host0/bus0/target0/lun5:<7>usb-storage: queuecommand() called > unknown partition table > sdg : READ CAPACITY failed. > sdg : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 7 > ASC=27 ASCQ= 0 > Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 0x00 0x00 0x00 0x00 > sdg : block size assumed to be 512 bytes, disk size 1GB. > /dev/scsi/host0/bus0/target0/lun6:<7>usb-storage: queuecommand() called > Algorithmics/MIPS FPU Emulator v1.5 > unknown partition table > sdh : READ CAPACITY failed. > sdh : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 7 > ASC=27 ASCQ= 0 > Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 0x00 0x00 0x00 0x00 > sdh : block size assumed to be 512 bytes, disk size 1GB. > /dev/scsi/host0/bus0/target0/lun7:<7>usb-storage: queuecommand() called > unknown partition table > serial console detected. Disabling virtual terminals. > init started: BusyBox v0.60.2 (2002.04.03-20:48+0000) multi-call binary > Welcome to prototype Linux > Mounting proc filesystem: [ OK ] > Configuring kernel parameters: [ OK ] > Activating swap partitions: [ OK ] > Setting hostname prototype: [ OK ] > Mounting local filesystems: [ OK ] > Enabling swap space: [ OK ] > Entering non-interactive startup > Starting system logger: [ OK ] > Starting kernel logger: [ OK ] > Starting xinetd: [ OK ] > Setting clock: Fri Dec 31 19:00:59 EST 1999 [ OK ] > > prototype login: usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Skipping START_STOP command > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) > usb-storage: 1e 20 00 00 01 00 89 81 f4 ff ff ff > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 > usb-storage: No Sense: no additional sense information > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > SCSI error: host 0 id 0 lun 1 return code = 8000002 > Sense class 7, sense error 0, extended sense 0 > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 20 00 00 00 00 00 00 02 00 ff ff > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 20 00 00 00 02 00 00 06 00 ff ff > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 20 00 00 00 08 00 00 20 00 ff ff > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 20 00 00 00 28 00 00 38 00 ff ff > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) > usb-storage: 1e 20 00 00 00 00 3c 80 20 01 3c 80 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Skipping START_STOP command > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) > usb-storage: 1e 00 00 00 01 00 89 81 f4 ff ff ff > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 > usb-storage: No Sense: no additional sense information > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > SCSI error: host 0 id 0 lun 0 return code = 8000002 > Sense class 7, sense error 0, extended sense 0 > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 00 00 00 00 00 00 00 02 00 ff ff > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 00 00 00 00 02 00 00 06 00 ff ff > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 00 00 00 00 08 00 00 20 00 ff ff > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 00 00 00 00 28 00 00 38 00 ff ff > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command WRITE_10 (10 bytes) > usb-storage: 2a 00 00 00 00 00 00 00 02 00 ff ff > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command TEST_UNIT_READY (6 bytes) > usb-storage: 00 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_CAPACITY (10 bytes) > usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 > usb-storage: No Sense: no additional sense information > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_CAPACITY (10 bytes) > usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 > usb-storage: No Sense: no additional sense information > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_CAPACITY (10 bytes) > usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 > usb-storage: Unit Attention: not ready to ready transition > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 6 > ASC=28 ASCQ= 0 > Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command MODE_SENSE (6 bytes) > usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 3c 80 > usb-storage: -- converting 10 byte sense data to 6 byte > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > sda: Write Protect is off > /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 00 00 00 00 00 00 00 08 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > p1 > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command TEST_UNIT_READY (6 bytes) > usb-storage: 00 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_CAPACITY (10 bytes) > usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 > usb-storage: No Sense: no additional sense information > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_CAPACITY (10 bytes) > usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 > usb-storage: Unit Attention: not ready to ready transition > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_CAPACITY (10 bytes) > usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 > usb-storage: Unit Attention: not ready to ready transition > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 6 > ASC=28 ASCQ= 0 > Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command MODE_SENSE (6 bytes) > usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 3c 80 > usb-storage: -- converting 10 byte sense data to 6 byte > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > sda: Write Protect is off > /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 00 00 00 00 00 00 00 08 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > p1 > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) > usb-storage: 1e 00 00 00 00 00 3c 80 60 01 3c 80 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Skipping START_STOP command > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) > usb-storage: 1e 00 00 00 01 00 09 81 14 00 00 00 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 > usb-storage: Unit Attention: not ready to ready transition > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) > usb-storage: 1e 00 00 00 00 00 3c 80 a0 01 3c 80 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Skipping START_STOP command > usb-storage: *** thread sleeping. > VFS: Disk change detected on device sd(8,1) > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command TEST_UNIT_READY (6 bytes) > usb-storage: 00 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_CAPACITY (10 bytes) > usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 > usb-storage: Unit Attention: not ready to ready transition > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_CAPACITY (10 bytes) > usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 > usb-storage: No Sense: no additional sense information > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_CAPACITY (10 bytes) > usb-storage: 25 00 00 00 00 00 00 00 00 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 > usb-storage: No Sense: no additional sense information > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 0 > Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command MODE_SENSE (6 bytes) > usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 3c 80 > usb-storage: -- converting 10 byte sense data to 6 byte > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > sda: Write Protect is off > /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 00 00 00 00 00 00 00 08 00 3c 80 > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > unknown partition table > > - > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Matthew Dharm Home: mdharm-usb@one-eyed-alien.net Maintainer, Linux USB Mass Storage Driver Dudes! May the Open Source be with you. -- Eric S. Raymond User Friendly, 12/3/1998 [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Trying to troubleshoot ornery Phison usb-storage 2003-03-15 1:55 ` Matthew Dharm @ 2003-03-15 2:27 ` David Wuertele 2003-03-16 0:13 ` Matthew Dharm 0 siblings, 1 reply; 9+ messages in thread From: David Wuertele @ 2003-03-15 2:27 UTC (permalink / raw) To: linux-scsi; +Cc: linux-usb-users Matt> Could you repeat this test with: Matt> (a) max_scsi_luns spelled properly on the command line, and Matt> (b) max_scsi_luns set to 0 D'oh! Here we go... With max_scsi_luns set to 0, fdisk didn't even find a device: # dmesg -n 8 # fdisk /dev/scsi/host0/bus0/target0/lun0/disc Unable to open /dev/scsi/host0/bus0/target0/lun0/disc # No errors were printed to console at all. (Since it is not as interesting, I've appended the console output for this case to the end of the email, after the max_scsi_luns=3 case). Wit max_scsi_luns=3, I got identical results in the shell: # dmesg -n 8 # fdisk /dev/scsi/host0/bus0/target0/lun0/disc Unable to read /dev/scsi/host0/bus0/target0/lun0/disc # This time, there was some console output. I include the whole thing here: memsize environment variable not set: assuming 32MB CPU revision is: 00018007 Primary instruction cache 16kb, linesize 16 bytes (4 ways) Primary data cache 16kb, linesize 16 bytes (4 ways) Linux version 2.4.18_dev-xilleon_x220 (dave@vmrh73g.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-99.1)) #24 Thu Mar 13 09:38:57 PST 2003 KGDB: Using serial line /dev/ttyS1 for session Determined physical RAM map: memory: 00080000 @ 00000000 (ROM data) memory: 00080000 @ 00080000 (reserved) memory: 01f00000 @ 00100000 (usable) On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: nfsroot=10.0.0.157:/nfsroot,rw,rsize=1024,wsize=1024 max_scsi_luns=3 hda=none hdb=none rw ip=10.0.1.3 console=ttyS0,115200,n,8,1 ide_setup: hda=none ide_setup: hdb=none Initializing IRQs calculating r4koff... CPU frequency 598.42 MHz Console: colour dummy device 80x25 Calibrating delay loop... 598.01 BogoMIPS MIPS CPU counter frequency is fixed at 299209896 Hz Memory: 28456k/31744k available (2230k kernel code, 3288k reserved, 323k data, 4k init, 0k highmem) 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) Checking for 'wait' instruction... unavailable. POSIX conformance testing by UNIFIX Autoconfig PCI channel 0x803804e8 Scanning bus 00, I/O 0x00002000:0x00010001, Mem 0x10000000:0x18000001 00:08.0 Class 0200: 10ec:8139 (rev 10) I/O at 0x00002000 [size=0x100] Mem at 0x10000000 [size=0x100] 00:14.0 Class 0480: 1002:4855 (rev 02) Mem at 0x08000000 [size=0x4000000] I/O at 0x00002100 [size=0x100] Mem at 0x10008000 [size=0x8000] Mem at 0x1c000000 [size=0x2000000] 00:14.1 Class 0101: 1002:4856 (rev 01) I/O at 0x00002200 [size=0x8] I/O at 0x00002208 [size=0x4] I/O at 0x00002210 [size=0x8] I/O at 0x00002218 [size=0x4] I/O at 0x00002220 [size=0x10] 00:14.2 Class 0c03: 1002:4857 (rev 0a) Mem at 0x10010000 [size=0x1000] 00:14.5 Class 0401: 1002:4858 (rev 01) Mem at 0x10011000 [size=0x100] 00:14.6 Class 0703: 1002:4859 (rev 01) Mem at 0x10011100 [size=0x100] irq fixup slot 8 vendor 10ec irq 33 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Disabling the Out Of Memory Killer devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au) devfs: devfs_debug: 0x0 devfs: boot_options: 0x1 NTFS driver v1.1.22 [Flags: R/O] JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB. i2c-core.o: i2c core module version 2.6.2 (20011118) i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118) i2c-proc.o version 2.6.2 (20011118) initialize_kbd: Keyboard failed self test pty: 256 Unix98 ptys configured rs_init() APER_PCUIPA_BASE: 200 200 deviceID: 4855 4855 Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled Testing ttyS0 (0xbe000010, 0xbe000010)... Testing ttyS1 (0xbe000000, 0xbe000000)... ttyS00 at 0xbe000010 (irq = 100) is a 16550A ttyS01 at 0xbe000000 (irq = 99) is a 16550A block: 64 slots per queue, batch=16 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx X225: IDE controller on PCI bus 00 dev a1 X225: chipset revision 1 XILLEON 225 IDE: rev 01 IDE UDMA controller on pci00:14.1 X225: 100% native mode on irq 3 ide0: BM-DMA at 0x2220-0x2227, BIOS settings: hda:DMA, hdb:DMA probing for hdc: present=0, media=32, probetype=ATA probing for hdc: present=0, media=32, probetype=ATAPI probing for hdd: present=0, media=32, probetype=ATA probing for hdd: present=0, media=32, probetype=ATAPI probing for hde: present=0, media=32, probetype=ATA probing for hde: present=0, media=32, probetype=ATAPI probing for hdf: present=0, media=32, probetype=ATA probing for hdf: present=0, media=32, probetype=ATAPI probing for hdg: present=0, media=32, probetype=ATA probing for hdg: present=0, media=32, probetype=ATAPI probing for hdh: present=0, media=32, probetype=ATA probing for hdh: present=0, media=32, probetype=ATAPI probing for hdi: present=0, media=32, probetype=ATA probing for hdi: present=0, media=32, probetype=ATAPI probing for hdj: present=0, media=32, probetype=ATA probing for hdj: present=0, media=32, probetype=ATAPI probing for hdk: present=0, media=32, probetype=ATA probing for hdk: present=0, media=32, probetype=ATAPI probing for hdl: present=0, media=32, probetype=ATA probing for hdl: present=0, media=32, probetype=ATAPI loop: loaded (max 8 devices) 8139too Fast Ethernet driver 0.9.24 8139too: pci dev 00:08.0 (id 10ec:8139 rev ff) is an enhanced 8139C+ chip 8139too: Use the "8139cp" driver for improved performance and stability. eth0: RealTek RTL8139 Fast Ethernet at 0xb0000000, 00:0a:97:02:0e:09, IRQ 33 SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: Root fs not mounted XILLEON Flash mappings: Search for id:(00 00) interleave(1) type(1) Search for id:(00 00) interleave(1) type(1) Search for id:(00 00) interleave(1) type(1) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) JEDEC: Found no Core flash device at location zero Boot FLASH probe failed Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(2) Search for id:(00 00) interleave(2) type(2) Search for id:(00 00) interleave(2) type(2) JEDEC: Found no User flash device at location zero User FLASH probe failed usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci-pci.c: USB OHCI at membase 0xb0010000, IRQ 2 usb-ohci-pci.c: usb-00:14.2, PCI device 1002:4857 (ATI Technologies Inc) usb.c: new USB bus registered, assigned bus number 1 Product: USB OHCI Root Hub SerialNumber: b0010000 hub.c: USB hub found hub.c: 2 ports detected usb.c: registered new driver hid hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> hid-core.c: USB HID support drivers usb.c: registered new driver usblp printer.c: v0.8:USB Printer Device Class driver Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 2048) eth0: Setting half-duplex based on auto-negotiated partner ability 0000. IP-Config: Guessing netmask 255.0.0.0 IP-Config: Complete: device=eth0, addr=10.0.1.3, mask=255.0.0.0, gw=255.255.255.255, host=10.0.1.3, domain=, nis-domain=(none), bootserver=255.255.255.255, rootserver=10.0.0.157, rootpath= NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. hub.c: USB new device connect on bus1/2, assigned device number 2 Looking up port of RPC 100003/2 on 10.0.0.157 Looking up port of RPC 100005/1 on 10.0.0.157 VFS: Mounted root (nfs filesystem). Mounted devfs on /dev Freeing unused kernel memory: 4k freed Manufacturer: ???????????????????????? Product: ?????????????Aa123456789 SerialNumber: Aa1234567890 scsi0 : SCSI emulation for USB Mass Storage devices Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Vendor: KingByte Model: Multi-card R/W Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1 Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2 sda : READ CAPACITY failed. sda : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 0 Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 sda : block size assumed to be 512 bytes, disk size 1GB. Partition check: /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called unknown partition table sdb : READ CAPACITY failed. sdb : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 0 Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 sdb : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target0/lun1:<7>usb-storage: queuecommand() called unknown partition table sdc : READ CAPACITY failed. sdc : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 0 Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 sdc : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target0/lun2:<7>usb-storage: queuecommand() called unknown partition table Algorithmics/MIPS FPU Emulator v1.5 serial console detected. Disabling virtual terminals. init started: BusyBox v0.60.2 (2002.04.03-20:48+0000) multi-call binary Welcome to prototype Linux Mounting proc filesystem: [ OK ] Configuring kernel parameters: [ OK ] Activating swap partitions: [ OK ] Setting hostname prototype: [ OK ] Mounting local filesystems: [ OK ] Enabling swap space: [ OK ] Entering non-interactive startup Starting system logger: [ OK ] Starting kernel logger: [ OK ] Starting xinetd: [ OK ] Setting clock: Fri Dec 31 19:00:33 EST 1999 [ OK ] prototype login: usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Skipping START_STOP command usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) usb-storage: 1e 00 00 00 01 00 8b 81 f4 ff ff ff usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: -- Stall on control pipe. Clearing usb-storage: -- usb_clear_halt() returns 0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 usb-storage: Unit Attention: not ready to ready transition usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. I/O error: dev 08:00, sector 0 I/O error: dev 08:00, sector 0 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) usb-storage: 1e 00 00 00 00 00 3c 80 20 f1 3c 80 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. login: Login timed out after 60 secon prototype login: As I said before, the max_scsi_luns=0 case was less interesting, but I append the console output here anyway: memsize environment variable not set: assuming 32MB CPU revision is: 00018007 Primary instruction cache 16kb, linesize 16 bytes (4 ways) Primary data cache 16kb, linesize 16 bytes (4 ways) Linux version 2.4.18_dev-xilleon_x220 (dave@vmrh73g.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-99.1)) #24 Thu Mar 13 09:38:57 PST 2003 KGDB: Using serial line /dev/ttyS1 for session Determined physical RAM map: memory: 00080000 @ 00000000 (ROM data) memory: 00080000 @ 00080000 (reserved) memory: 01f00000 @ 00100000 (usable) On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: nfsroot=10.0.0.157:/nfsroot,rw,rsize=1024,wsize=1024 max_scsi_luns=0 hda=none hdb=none rw ip=10.0.1.3 console=ttyS0,115200,n,8,1 ide_setup: hda=none ide_setup: hdb=none Initializing IRQs calculating r4koff... CPU frequency 598.42 MHz Console: colour dummy device 80x25 Calibrating delay loop... 598.01 BogoMIPS MIPS CPU counter frequency is fixed at 299209896 Hz Memory: 28456k/31744k available (2230k kernel code, 3288k reserved, 323k data, 4k init, 0k highmem) 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) Checking for 'wait' instruction... unavailable. POSIX conformance testing by UNIFIX Autoconfig PCI channel 0x803804e8 Scanning bus 00, I/O 0x00002000:0x00010001, Mem 0x10000000:0x18000001 00:08.0 Class 0200: 10ec:8139 (rev 10) I/O at 0x00002000 [size=0x100] Mem at 0x10000000 [size=0x100] 00:14.0 Class 0480: 1002:4855 (rev 02) Mem at 0x08000000 [size=0x4000000] I/O at 0x00002100 [size=0x100] Mem at 0x10008000 [size=0x8000] Mem at 0x1c000000 [size=0x2000000] 00:14.1 Class 0101: 1002:4856 (rev 01) I/O at 0x00002200 [size=0x8] I/O at 0x00002208 [size=0x4] I/O at 0x00002210 [size=0x8] I/O at 0x00002218 [size=0x4] I/O at 0x00002220 [size=0x10] 00:14.2 Class 0c03: 1002:4857 (rev 0a) Mem at 0x10010000 [size=0x1000] 00:14.5 Class 0401: 1002:4858 (rev 01) Mem at 0x10011000 [size=0x100] 00:14.6 Class 0703: 1002:4859 (rev 01) Mem at 0x10011100 [size=0x100] irq fixup slot 8 vendor 10ec irq 33 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Disabling the Out Of Memory Killer devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au) devfs: devfs_debug: 0x0 devfs: boot_options: 0x1 NTFS driver v1.1.22 [Flags: R/O] JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB. i2c-core.o: i2c core module version 2.6.2 (20011118) i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118) i2c-proc.o version 2.6.2 (20011118) initialize_kbd: Keyboard failed self test pty: 256 Unix98 ptys configured rs_init() APER_PCUIPA_BASE: 200 200 deviceID: 4855 4855 Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled Testing ttyS0 (0xbe000010, 0xbe000010)... Testing ttyS1 (0xbe000000, 0xbe000000)... ttyS00 at 0xbe000010 (irq = 100) is a 16550A ttyS01 at 0xbe000000 (irq = 99) is a 16550A block: 64 slots per queue, batch=16 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx X225: IDE controller on PCI bus 00 dev a1 X225: chipset revision 1 XILLEON 225 IDE: rev 01 IDE UDMA controller on pci00:14.1 X225: 100% native mode on irq 3 ide0: BM-DMA at 0x2220-0x2227, BIOS settings: hda:DMA, hdb:DMA probing for hdc: present=0, media=32, probetype=ATA probing for hdc: present=0, media=32, probetype=ATAPI probing for hdd: present=0, media=32, probetype=ATA probing for hdd: present=0, media=32, probetype=ATAPI probing for hde: present=0, media=32, probetype=ATA probing for hde: present=0, media=32, probetype=ATAPI probing for hdf: present=0, media=32, probetype=ATA probing for hdf: present=0, media=32, probetype=ATAPI probing for hdg: present=0, media=32, probetype=ATA probing for hdg: present=0, media=32, probetype=ATAPI probing for hdh: present=0, media=32, probetype=ATA probing for hdh: present=0, media=32, probetype=ATAPI probing for hdi: present=0, media=32, probetype=ATA probing for hdi: present=0, media=32, probetype=ATAPI probing for hdj: present=0, media=32, probetype=ATA probing for hdj: present=0, media=32, probetype=ATAPI probing for hdk: present=0, media=32, probetype=ATA probing for hdk: present=0, media=32, probetype=ATAPI probing for hdl: present=0, media=32, probetype=ATA probing for hdl: present=0, media=32, probetype=ATAPI loop: loaded (max 8 devices) 8139too Fast Ethernet driver 0.9.24 8139too: pci dev 00:08.0 (id 10ec:8139 rev ff) is an enhanced 8139C+ chip 8139too: Use the "8139cp" driver for improved performance and stability. eth0: RealTek RTL8139 Fast Ethernet at 0xb0000000, 00:0a:97:02:0e:09, IRQ 33 SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: Root fs not mounted XILLEON Flash mappings: Search for id:(00 00) interleave(1) type(1) Search for id:(00 00) interleave(1) type(1) Search for id:(00 00) interleave(1) type(1) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) JEDEC: Found no Core flash device at location zero Boot FLASH probe failed Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(1) type(2) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(2) Search for id:(00 00) interleave(2) type(2) Search for id:(00 00) interleave(2) type(2) JEDEC: Found no User flash device at location zero User FLASH probe failed usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci-pci.c: USB OHCI at membase 0xb0010000, IRQ 2 usb-ohci-pci.c: usb-00:14.2, PCI device 1002:4857 (ATI Technologies Inc) usb.c: new USB bus registered, assigned bus number 1 Product: USB OHCI Root Hub SerialNumber: b0010000 hub.c: USB hub found hub.c: 2 ports detected usb.c: registered new driver hid hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> hid-core.c: USB HID support drivers usb.c: registered new driver usblp printer.c: v0.8:USB Printer Device Class driver Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 2048) eth0: Setting half-duplex based on auto-negotiated partner ability 0000. IP-Config: Guessing netmask 255.0.0.0 IP-Config: Complete: device=eth0, addr=10.0.1.3, mask=255.0.0.0, gw=255.255.255.255, host=10.0.1.3, domain=, nis-domain=(none), bootserver=255.255.255.255, rootserver=10.0.0.157, rootpath= NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. hub.c: USB new device connect on bus1/2, assigned device number 2 Looking up port of RPC 100003/2 on 10.0.0.157 Looking up port of RPC 100005/1 on 10.0.0.157 VFS: Mounted root (nfs filesystem). Mounted devfs on /dev Freeing unused kernel memory: 4k freed Manufacturer: ???????????????????????? Product: ?????????????Aa123456789 SerialNumber: Aa1234567890 scsi0 : SCSI emulation for USB Mass Storage devices Algorithmics/MIPS FPU Emulator v1.5 serial console detected. Disabling virtual terminals. init started: BusyBox v0.60.2 (2002.04.03-20:48+0000) multi-call binary Welcome to prototype Linux Mounting proc filesystem: [ OK ] Configuring kernel parameters: [ OK ] Activating swap partitions: [ OK ] Setting hostname prototype: [ OK ] Mounting local filesystems: [ OK ] Enabling swap space: [ OK ] ^@Entering non-interactive startup Starting system logger: [ OK ] Starting kernel logger: [ OK ] Starting xinetd: [ OK ] Setting clock: Fri Dec 31 19:00:18 EST 1999 [ OK ] prototype login: Thanks for the help! Dave ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Trying to troubleshoot ornery Phison usb-storage 2003-03-15 2:27 ` David Wuertele @ 2003-03-16 0:13 ` Matthew Dharm 2003-03-21 2:01 ` write protect seems wrong (was Re: Trying to troubleshoot ornery Phison usb-storage) David Wuertele 0 siblings, 1 reply; 9+ messages in thread From: Matthew Dharm @ 2003-03-16 0:13 UTC (permalink / raw) To: David Wuertele; +Cc: linux-scsi, linux-usb-users [-- Attachment #1: Type: text/plain, Size: 22705 bytes --] max_scsi_luns set to 1 should be the 'correct' value. The problem is, too much logging is getting lost somewhere. There should be a _lot_ more messages that start 'usb-storage:' -- I need to see those to understand what's going on. Matt On Fri, Mar 14, 2003 at 06:27:24PM -0800, David Wuertele wrote: > Matt> Could you repeat this test with: > Matt> (a) max_scsi_luns spelled properly on the command line, and > Matt> (b) max_scsi_luns set to 0 > > D'oh! > > Here we go... With max_scsi_luns set to 0, fdisk didn't even find a > device: > > # dmesg -n 8 > # fdisk /dev/scsi/host0/bus0/target0/lun0/disc > > Unable to open /dev/scsi/host0/bus0/target0/lun0/disc > # > > No errors were printed to console at all. (Since it is not as > interesting, I've appended the console output for this case to the end > of the email, after the max_scsi_luns=3 case). > > Wit max_scsi_luns=3, I got identical results in the shell: > > # dmesg -n 8 > # fdisk /dev/scsi/host0/bus0/target0/lun0/disc > > Unable to read /dev/scsi/host0/bus0/target0/lun0/disc > # > > This time, there was some console output. I include the whole thing > here: > > memsize environment variable not set: assuming 32MB > CPU revision is: 00018007 > Primary instruction cache 16kb, linesize 16 bytes (4 ways) > Primary data cache 16kb, linesize 16 bytes (4 ways) > Linux version 2.4.18_dev-xilleon_x220 (dave@vmrh73g.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-99.1)) #24 Thu Mar 13 09:38:57 PST 2003 > KGDB: Using serial line /dev/ttyS1 for session > Determined physical RAM map: > memory: 00080000 @ 00000000 (ROM data) > memory: 00080000 @ 00080000 (reserved) > memory: 01f00000 @ 00100000 (usable) > On node 0 totalpages: 8192 > zone(0): 8192 pages. > zone(1): 0 pages. > zone(2): 0 pages. > Kernel command line: nfsroot=10.0.0.157:/nfsroot,rw,rsize=1024,wsize=1024 max_scsi_luns=3 hda=none hdb=none rw ip=10.0.1.3 console=ttyS0,115200,n,8,1 > ide_setup: hda=none > ide_setup: hdb=none > Initializing IRQs > calculating r4koff... CPU frequency 598.42 MHz > Console: colour dummy device 80x25 > Calibrating delay loop... 598.01 BogoMIPS > MIPS CPU counter frequency is fixed at 299209896 Hz > Memory: 28456k/31744k available (2230k kernel code, 3288k reserved, 323k data, 4k init, 0k highmem) > 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) > Checking for 'wait' instruction... unavailable. > POSIX conformance testing by UNIFIX > Autoconfig PCI channel 0x803804e8 > Scanning bus 00, I/O 0x00002000:0x00010001, Mem 0x10000000:0x18000001 > 00:08.0 Class 0200: 10ec:8139 (rev 10) > I/O at 0x00002000 [size=0x100] > Mem at 0x10000000 [size=0x100] > 00:14.0 Class 0480: 1002:4855 (rev 02) > Mem at 0x08000000 [size=0x4000000] > I/O at 0x00002100 [size=0x100] > Mem at 0x10008000 [size=0x8000] > Mem at 0x1c000000 [size=0x2000000] > 00:14.1 Class 0101: 1002:4856 (rev 01) > I/O at 0x00002200 [size=0x8] > I/O at 0x00002208 [size=0x4] > I/O at 0x00002210 [size=0x8] > I/O at 0x00002218 [size=0x4] > I/O at 0x00002220 [size=0x10] > 00:14.2 Class 0c03: 1002:4857 (rev 0a) > Mem at 0x10010000 [size=0x1000] > 00:14.5 Class 0401: 1002:4858 (rev 01) > Mem at 0x10011000 [size=0x100] > 00:14.6 Class 0703: 1002:4859 (rev 01) > Mem at 0x10011100 [size=0x100] > irq fixup slot 8 vendor 10ec irq 33 > Linux NET4.0 for Linux 2.4 > Based upon Swansea University Computer Society NET3.039 > Initializing RT netlink socket > Starting kswapd > Disabling the Out Of Memory Killer > devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au) > devfs: devfs_debug: 0x0 > devfs: boot_options: 0x1 > NTFS driver v1.1.22 [Flags: R/O] > JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB. > i2c-core.o: i2c core module version 2.6.2 (20011118) > i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118) > i2c-proc.o version 2.6.2 (20011118) > initialize_kbd: Keyboard failed self test > pty: 256 Unix98 ptys configured > rs_init() APER_PCUIPA_BASE: 200 200 deviceID: 4855 4855 > Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled > Testing ttyS0 (0xbe000010, 0xbe000010)... > Testing ttyS1 (0xbe000000, 0xbe000000)... > ttyS00 at 0xbe000010 (irq = 100) is a 16550A > ttyS01 at 0xbe000000 (irq = 99) is a 16550A > block: 64 slots per queue, batch=16 > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize > Uniform Multi-Platform E-IDE driver Revision: 6.31 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > X225: IDE controller on PCI bus 00 dev a1 > X225: chipset revision 1 > XILLEON 225 IDE: rev 01 IDE UDMA controller on pci00:14.1 > X225: 100% native mode on irq 3 > ide0: BM-DMA at 0x2220-0x2227, BIOS settings: hda:DMA, hdb:DMA > probing for hdc: present=0, media=32, probetype=ATA > probing for hdc: present=0, media=32, probetype=ATAPI > probing for hdd: present=0, media=32, probetype=ATA > probing for hdd: present=0, media=32, probetype=ATAPI > probing for hde: present=0, media=32, probetype=ATA > probing for hde: present=0, media=32, probetype=ATAPI > probing for hdf: present=0, media=32, probetype=ATA > probing for hdf: present=0, media=32, probetype=ATAPI > probing for hdg: present=0, media=32, probetype=ATA > probing for hdg: present=0, media=32, probetype=ATAPI > probing for hdh: present=0, media=32, probetype=ATA > probing for hdh: present=0, media=32, probetype=ATAPI > probing for hdi: present=0, media=32, probetype=ATA > probing for hdi: present=0, media=32, probetype=ATAPI > probing for hdj: present=0, media=32, probetype=ATA > probing for hdj: present=0, media=32, probetype=ATAPI > probing for hdk: present=0, media=32, probetype=ATA > probing for hdk: present=0, media=32, probetype=ATAPI > probing for hdl: present=0, media=32, probetype=ATA > probing for hdl: present=0, media=32, probetype=ATAPI > loop: loaded (max 8 devices) > 8139too Fast Ethernet driver 0.9.24 > 8139too: pci dev 00:08.0 (id 10ec:8139 rev ff) is an enhanced 8139C+ chip > 8139too: Use the "8139cp" driver for improved performance and stability. > eth0: RealTek RTL8139 Fast Ethernet at 0xb0000000, 00:0a:97:02:0e:09, IRQ 33 > SCSI subsystem driver Revision: 1.00 > request_module[scsi_hostadapter]: Root fs not mounted > XILLEON Flash mappings: > Search for id:(00 00) interleave(1) type(1) > Search for id:(00 00) interleave(1) type(1) > Search for id:(00 00) interleave(1) type(1) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > JEDEC: Found no Core flash device at location zero > Boot FLASH probe failed > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(2) type(1) > Search for id:(00 00) interleave(2) type(1) > Search for id:(00 00) interleave(2) type(1) > Search for id:(00 00) interleave(2) type(2) > Search for id:(00 00) interleave(2) type(2) > Search for id:(00 00) interleave(2) type(2) > JEDEC: Found no User flash device at location zero > User FLASH probe failed > usb.c: registered new driver usbdevfs > usb.c: registered new driver hub > usb-ohci-pci.c: USB OHCI at membase 0xb0010000, IRQ 2 > usb-ohci-pci.c: usb-00:14.2, PCI device 1002:4857 (ATI Technologies Inc) > usb.c: new USB bus registered, assigned bus number 1 > Product: USB OHCI Root Hub > SerialNumber: b0010000 > hub.c: USB hub found > hub.c: 2 ports detected > usb.c: registered new driver hid > hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> > hid-core.c: USB HID support drivers > usb.c: registered new driver usblp > printer.c: v0.8:USB Printer Device Class driver > Initializing USB Mass Storage driver... > usb.c: registered new driver usb-storage > USB Mass Storage support registered. > mice: PS/2 mouse device common for all mice > NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP > IP: routing cache hash table of 512 buckets, 4Kbytes > TCP: Hash tables configured (established 2048 bind 2048) > eth0: Setting half-duplex based on auto-negotiated partner ability 0000. > IP-Config: Guessing netmask 255.0.0.0 > IP-Config: Complete: > device=eth0, addr=10.0.1.3, mask=255.0.0.0, gw=255.255.255.255, > host=10.0.1.3, domain=, nis-domain=(none), > bootserver=255.255.255.255, rootserver=10.0.0.157, rootpath= > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > hub.c: USB new device connect on bus1/2, assigned device number 2 > Looking up port of RPC 100003/2 on 10.0.0.157 > Looking up port of RPC 100005/1 on 10.0.0.157 > VFS: Mounted root (nfs filesystem). > Mounted devfs on /dev > Freeing unused kernel memory: 4k freed > Manufacturer: ???????????????????????? > Product: ?????????????Aa123456789 > SerialNumber: Aa1234567890 > scsi0 : SCSI emulation for USB Mass Storage devices > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: KingByte Model: Multi-card R/W Rev: 0100 > Type: Direct-Access ANSI SCSI revision: 02 > Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 > Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1 > Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2 > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 0 > Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > Partition check: > /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called > unknown partition table > sdb : READ CAPACITY failed. > sdb : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 0 > Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > sdb : block size assumed to be 512 bytes, disk size 1GB. > /dev/scsi/host0/bus0/target0/lun1:<7>usb-storage: queuecommand() called > unknown partition table > sdc : READ CAPACITY failed. > sdc : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 0 > Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > sdc : block size assumed to be 512 bytes, disk size 1GB. > /dev/scsi/host0/bus0/target0/lun2:<7>usb-storage: queuecommand() called > unknown partition table > Algorithmics/MIPS FPU Emulator v1.5 > serial console detected. Disabling virtual terminals. > init started: BusyBox v0.60.2 (2002.04.03-20:48+0000) multi-call binary > Welcome to prototype Linux > Mounting proc filesystem: [ OK ] > Configuring kernel parameters: [ OK ] > Activating swap partitions: [ OK ] > Setting hostname prototype: [ OK ] > Mounting local filesystems: [ OK ] > Enabling swap space: [ OK ] > Entering non-interactive startup > Starting system logger: [ OK ] > Starting kernel logger: [ OK ] > Starting xinetd: [ OK ] > Setting clock: Fri Dec 31 19:00:33 EST 1999 [ OK ] > > prototype login: usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Skipping START_STOP command > usb-storage: *** thread sleeping. > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) > usb-storage: 1e 00 00 00 01 00 8b 81 f4 ff ff ff > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: -- Stall on control pipe. Clearing > usb-storage: -- usb_clear_halt() returns 0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 > usb-storage: Unit Attention: not ready to ready transition > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > I/O error: dev 08:00, sector 0 > I/O error: dev 08:00, sector 0 > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes) > usb-storage: 1e 00 00 00 00 00 3c 80 20 f1 3c 80 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > login: > Login timed out after 60 secon > prototype login: > > > As I said before, the max_scsi_luns=0 case was less interesting, but I > append the console output here anyway: > > memsize environment variable not set: assuming 32MB > CPU revision is: 00018007 > Primary instruction cache 16kb, linesize 16 bytes (4 ways) > Primary data cache 16kb, linesize 16 bytes (4 ways) > Linux version 2.4.18_dev-xilleon_x220 (dave@vmrh73g.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-99.1)) #24 Thu Mar 13 09:38:57 PST 2003 > KGDB: Using serial line /dev/ttyS1 for session > Determined physical RAM map: > memory: 00080000 @ 00000000 (ROM data) > memory: 00080000 @ 00080000 (reserved) > memory: 01f00000 @ 00100000 (usable) > On node 0 totalpages: 8192 > zone(0): 8192 pages. > zone(1): 0 pages. > zone(2): 0 pages. > Kernel command line: nfsroot=10.0.0.157:/nfsroot,rw,rsize=1024,wsize=1024 max_scsi_luns=0 hda=none hdb=none rw ip=10.0.1.3 console=ttyS0,115200,n,8,1 > ide_setup: hda=none > ide_setup: hdb=none > Initializing IRQs > calculating r4koff... CPU frequency 598.42 MHz > Console: colour dummy device 80x25 > Calibrating delay loop... 598.01 BogoMIPS > MIPS CPU counter frequency is fixed at 299209896 Hz > Memory: 28456k/31744k available (2230k kernel code, 3288k reserved, 323k data, 4k init, 0k highmem) > 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) > Checking for 'wait' instruction... unavailable. > POSIX conformance testing by UNIFIX > Autoconfig PCI channel 0x803804e8 > Scanning bus 00, I/O 0x00002000:0x00010001, Mem 0x10000000:0x18000001 > 00:08.0 Class 0200: 10ec:8139 (rev 10) > I/O at 0x00002000 [size=0x100] > Mem at 0x10000000 [size=0x100] > 00:14.0 Class 0480: 1002:4855 (rev 02) > Mem at 0x08000000 [size=0x4000000] > I/O at 0x00002100 [size=0x100] > Mem at 0x10008000 [size=0x8000] > Mem at 0x1c000000 [size=0x2000000] > 00:14.1 Class 0101: 1002:4856 (rev 01) > I/O at 0x00002200 [size=0x8] > I/O at 0x00002208 [size=0x4] > I/O at 0x00002210 [size=0x8] > I/O at 0x00002218 [size=0x4] > I/O at 0x00002220 [size=0x10] > 00:14.2 Class 0c03: 1002:4857 (rev 0a) > Mem at 0x10010000 [size=0x1000] > 00:14.5 Class 0401: 1002:4858 (rev 01) > Mem at 0x10011000 [size=0x100] > 00:14.6 Class 0703: 1002:4859 (rev 01) > Mem at 0x10011100 [size=0x100] > irq fixup slot 8 vendor 10ec irq 33 > Linux NET4.0 for Linux 2.4 > Based upon Swansea University Computer Society NET3.039 > Initializing RT netlink socket > Starting kswapd > Disabling the Out Of Memory Killer > devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au) > devfs: devfs_debug: 0x0 > devfs: boot_options: 0x1 > NTFS driver v1.1.22 [Flags: R/O] > JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB. > i2c-core.o: i2c core module version 2.6.2 (20011118) > i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118) > i2c-proc.o version 2.6.2 (20011118) > initialize_kbd: Keyboard failed self test > pty: 256 Unix98 ptys configured > rs_init() APER_PCUIPA_BASE: 200 200 deviceID: 4855 4855 > Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled > Testing ttyS0 (0xbe000010, 0xbe000010)... > Testing ttyS1 (0xbe000000, 0xbe000000)... > ttyS00 at 0xbe000010 (irq = 100) is a 16550A > ttyS01 at 0xbe000000 (irq = 99) is a 16550A > block: 64 slots per queue, batch=16 > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize > Uniform Multi-Platform E-IDE driver Revision: 6.31 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > X225: IDE controller on PCI bus 00 dev a1 > X225: chipset revision 1 > XILLEON 225 IDE: rev 01 IDE UDMA controller on pci00:14.1 > X225: 100% native mode on irq 3 > ide0: BM-DMA at 0x2220-0x2227, BIOS settings: hda:DMA, hdb:DMA > probing for hdc: present=0, media=32, probetype=ATA > probing for hdc: present=0, media=32, probetype=ATAPI > probing for hdd: present=0, media=32, probetype=ATA > probing for hdd: present=0, media=32, probetype=ATAPI > probing for hde: present=0, media=32, probetype=ATA > probing for hde: present=0, media=32, probetype=ATAPI > probing for hdf: present=0, media=32, probetype=ATA > probing for hdf: present=0, media=32, probetype=ATAPI > probing for hdg: present=0, media=32, probetype=ATA > probing for hdg: present=0, media=32, probetype=ATAPI > probing for hdh: present=0, media=32, probetype=ATA > probing for hdh: present=0, media=32, probetype=ATAPI > probing for hdi: present=0, media=32, probetype=ATA > probing for hdi: present=0, media=32, probetype=ATAPI > probing for hdj: present=0, media=32, probetype=ATA > probing for hdj: present=0, media=32, probetype=ATAPI > probing for hdk: present=0, media=32, probetype=ATA > probing for hdk: present=0, media=32, probetype=ATAPI > probing for hdl: present=0, media=32, probetype=ATA > probing for hdl: present=0, media=32, probetype=ATAPI > loop: loaded (max 8 devices) > 8139too Fast Ethernet driver 0.9.24 > 8139too: pci dev 00:08.0 (id 10ec:8139 rev ff) is an enhanced 8139C+ chip > 8139too: Use the "8139cp" driver for improved performance and stability. > eth0: RealTek RTL8139 Fast Ethernet at 0xb0000000, 00:0a:97:02:0e:09, IRQ 33 > SCSI subsystem driver Revision: 1.00 > request_module[scsi_hostadapter]: Root fs not mounted > XILLEON Flash mappings: > Search for id:(00 00) interleave(1) type(1) > Search for id:(00 00) interleave(1) type(1) > Search for id:(00 00) interleave(1) type(1) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > JEDEC: Found no Core flash device at location zero > Boot FLASH probe failed > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(1) type(2) > Search for id:(00 00) interleave(2) type(1) > Search for id:(00 00) interleave(2) type(1) > Search for id:(00 00) interleave(2) type(1) > Search for id:(00 00) interleave(2) type(2) > Search for id:(00 00) interleave(2) type(2) > Search for id:(00 00) interleave(2) type(2) > JEDEC: Found no User flash device at location zero > User FLASH probe failed > usb.c: registered new driver usbdevfs > usb.c: registered new driver hub > usb-ohci-pci.c: USB OHCI at membase 0xb0010000, IRQ 2 > usb-ohci-pci.c: usb-00:14.2, PCI device 1002:4857 (ATI Technologies Inc) > usb.c: new USB bus registered, assigned bus number 1 > Product: USB OHCI Root Hub > SerialNumber: b0010000 > hub.c: USB hub found > hub.c: 2 ports detected > usb.c: registered new driver hid > hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> > hid-core.c: USB HID support drivers > usb.c: registered new driver usblp > printer.c: v0.8:USB Printer Device Class driver > Initializing USB Mass Storage driver... > usb.c: registered new driver usb-storage > USB Mass Storage support registered. > mice: PS/2 mouse device common for all mice > NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP > IP: routing cache hash table of 512 buckets, 4Kbytes > TCP: Hash tables configured (established 2048 bind 2048) > eth0: Setting half-duplex based on auto-negotiated partner ability 0000. > IP-Config: Guessing netmask 255.0.0.0 > IP-Config: Complete: > device=eth0, addr=10.0.1.3, mask=255.0.0.0, gw=255.255.255.255, > host=10.0.1.3, domain=, nis-domain=(none), > bootserver=255.255.255.255, rootserver=10.0.0.157, rootpath= > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > hub.c: USB new device connect on bus1/2, assigned device number 2 > Looking up port of RPC 100003/2 on 10.0.0.157 > Looking up port of RPC 100005/1 on 10.0.0.157 > VFS: Mounted root (nfs filesystem). > Mounted devfs on /dev > Freeing unused kernel memory: 4k freed > Manufacturer: ???????????????????????? > Product: ?????????????Aa123456789 > SerialNumber: Aa1234567890 > scsi0 : SCSI emulation for USB Mass Storage devices > Algorithmics/MIPS FPU Emulator v1.5 > serial console detected. Disabling virtual terminals. > init started: BusyBox v0.60.2 (2002.04.03-20:48+0000) multi-call binary > Welcome to prototype Linux > Mounting proc filesystem: [ OK ] > Configuring kernel parameters: [ OK ] > Activating swap partitions: [ OK ] > Setting hostname prototype: [ OK ] > Mounting local filesystems: [ OK ] > Enabling swap space: [ OK ] > ^@Entering non-interactive startup > Starting system logger: [ OK ] > Starting kernel logger: [ OK ] > Starting xinetd: [ OK ] > Setting clock: Fri Dec 31 19:00:18 EST 1999 [ OK ] > > prototype login: > > > Thanks for the help! > Dave > > - > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Matthew Dharm Home: mdharm-usb@one-eyed-alien.net Maintainer, Linux USB Mass Storage Driver G: Money isn't everything, A.J. AJ: Who convinced you of that? G: The Chief, at my last salary review. -- Mike and Greg User Friendly, 11/3/1998 [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* write protect seems wrong (was Re: Trying to troubleshoot ornery Phison usb-storage) 2003-03-16 0:13 ` Matthew Dharm @ 2003-03-21 2:01 ` David Wuertele 0 siblings, 0 replies; 9+ messages in thread From: David Wuertele @ 2003-03-21 2:01 UTC (permalink / raw) To: linux-scsi; +Cc: linux-usb-users OK, I was able to get the phison to work properly by removing one of its pins that had been tied down. That pin was causing it to go into "ISP" (in-system programming?) mode. Anyway, I was able to get the MemoryStick interface to work perfectly! That one is on lun2. The other two sockets (SmartMedia on lun0 and MMC on lun1) get recognized and they show up in /dev/scsi, but for some reason the phison chip thinks their write protect is on. Is there a way to convince my phison chip that these flash cards are not write protected? Here are the console messages I get when trying to fdisk each flash card. Note that lun0 and lun1 think they are write protected, but lun2 does not: # fdisk /dev/scsi/host0/bus0/target0/lun1/disc usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command START_STOP (6 bytes) usb-storage: 1b 00 00 00 01 00 34 80 d2 01 00 00 usb-storage: Bulk command S 0x43425355 T 0x51 Trg 0 LUN 0 L 0 F 0 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x51 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command START_STOP (6 bytes) usb-storage: 1b 00 00 00 01 00 34 80 d2 01 00 00 usb-storage: Bulk command S 0x43425355 T 0x52 Trg 0 LUN 0 L 0 F 0 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x52 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. You will not be usb-storage: queuecommand() called able to write thusb-storage: *** thread awakened. e partition tablusb-storage: Command READ_10 (10 bytes) e. usb-storage: 28 00 00 00 00 00 00 00 02 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x53 Trg 0 LUN 0 L 1024 F 128 CL 10 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 1024 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 1024/1024 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x53 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 02 00 00 06 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x54 Trg 0 LUN 0 L 3072 F 128 CL 10 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 3072 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 3072/3072 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x54 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 08 00 00 20 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x55 Trg 0 LUN 0 L 16384 F 128 CL 10 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x55 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. Command (m for help): q # fdisk /dev/scsi/host0/bus0/target0/lun1/disc usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command START_STOP (6 bytes) usb-storage: 1b 20 00 00 01 00 34 80 d2 01 00 00 usb-storage: Bulk command S 0x43425355 T 0x56 Trg 0 LUN 1 L 0 F 0 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x56 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command START_STOP (6 bytes) usb-storage: 1b 20 00 00 01 00 34 80 d2 01 00 00 usb-storage: Bulk command S 0x43425355 T 0x57 Trg 0 LUN 1 L 0 F 0 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x57 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. Unable to open /dev/scsi/host0/bus0/target0/lun1/disc # fdisk /dev/scsi/host0/bus0/target0/lun2/disc usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command START_STOP (6 bytes) usb-storage: 1b 40 00 00 01 00 34 80 d2 01 00 00 usb-storage: Bulk command S 0x43425355 T 0x58 Trg 0 LUN 2 L 0 F 0 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x58 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command START_STOP (6 bytes) usb-storage: 1b 40 00 00 01 00 34 80 d2 01 00 00 usb-storage: Bulk command S 0x43425355 T 0x59 Trg 0 LUN 2 L 0 F 0 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x59 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. You will not be usb-storage: queuecommand() called able to write thusb-storage: *** thread awakened. e partition tablusb-storage: Command READ_10 (10 bytes) e. usb-storage: 28 40 00 00 00 00 00 00 02 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x5a Trg 0 LUN 2 L 1024 F 128 CL 10 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 1024 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 1024/1024 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x5a R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 40 00 00 00 02 00 00 06 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x5b Trg 0 LUN 2 L 3072 F 128 CL 10 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 3072 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 3072/3072 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x5b R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 40 00 00 00 08 00 00 20 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x5c Trg 0 LUN 2 L 16384 F 128 CL 10 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x5c R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. Command (m for help): q # ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-03-21 2:01 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-03-14 18:39 Trying to troubleshoot ornery Phison usb-storage David Wuertele 2003-03-14 20:24 ` Matthew Dharm 2003-03-14 21:01 ` David Wuertele 2003-03-14 22:47 ` Matthew Dharm 2003-03-14 23:00 ` David Wuertele 2003-03-15 1:55 ` Matthew Dharm 2003-03-15 2:27 ` David Wuertele 2003-03-16 0:13 ` Matthew Dharm 2003-03-21 2:01 ` write protect seems wrong (was Re: Trying to troubleshoot ornery Phison usb-storage) David Wuertele
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox