Red Hat 9 Linux and the AVB USB flash drive
Lan Barnes
lan at falleagle.net
Wed Nov 17 15:15:37 PST 2004
Dear AVB,
I just bought an AVB 256M USB 2.0 flash drive at Fry's San Diego. I
selected it in part because it said it supported Linux on the package.
My machine is a Red Hat 9 Linux with the default 2.4.20-8 kernel. When I
insert your drive, dmesg shows that it's recognized and added. Here is
the message upon plug in:
[root at oz log]# usb.c: USB device 2 (vend/prod 0xea0/0x2168) is not
claimed by any active driver.
Vendor: AVB 2.0 Model: 2004 Sep. 256MB Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
When I query the processes with ps ax I get:
1094 tty2 S 0:00 -bash
1191 ? SW 0:00 [usb-storage-0]
1192 ? SW 0:00 [scsi_eh_1]
1210 tty1 R 0:00 ps ax
The file /etc/modules.conf doesn't have anything about ide-scsi in it:
alias parport_lowlevel parport_pc
alias eth0 3c59x
alias usb-controller usb-uhci
However, /proc/modules does have scsi in it (this cat of the file was
done after the machine had kernel paniced and rebooted -- the flash
drive was not in it):
[lbarnes at oz proc]$ cat modules
nfsd 80176 8 (autoclean)
lockd 58704 1 (autoclean) [nfsd]
sunrpc 81564 1 (autoclean) [nfsd lockd]
autofs 13268 0 (autoclean) (unused)
3c59x 30704 1
ide-scsi 12208 0
scsi_mod 107160 1 [ide-scsi]
ide-cd 35708 0
cdrom 33728 0 [ide-cd]
keybdev 2944 0 (unused)
mousedev 5492 0 (unused)
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
usbcore 78784 1 [hid usb-uhci]
ext3 70784 7
jbd 51892 7 [ext3]
Finally, when I become root and use the command:
mount -t auto /dev/sda1 /mnt/avb
I get the message:
[root at oz log]# mount -t auto /dev/sda1 /mnt/avb
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
usb-uhci.c: interrupt, status 3, frame# 15
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sense key Unit Attention
Additional sense indicates Not ready to ready change,medium may have
changed
sda : block size assumed to be 512 bytes, disk size 1GB.
I/O error: dev 08:00, sector 0
unable to read partition table
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
Then the command line window becomes unresponsive -- killing the mount
in another CLI does nothing -- and after about 45 seconds I get a kernel
panic from the interrupt handler. Obviously it's hard to cut and paste a
kernel panic dump.
The device works fine on my windows box.
What's up? I'd rather make it work that return it, but since it says it
supports Linux on the box, if you can't tell me how to make it work in a
day or so, obviously it's going back.
TIA for any help,
--
Lan Barnes lan at falleagle.net
Linux Guy, SCM Specialist 858-354-0616
More information about the KPLUG-List
mailing list