[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

usb pendrive strangness



On a stock debian sarge, fresh install, I can enter these two lines into fstab:

/dev/sda /mnt/pendrive auto defualts,user,noauto,umask=002 0 0 /dev/sdb1 /mnt/usbdrive auto defualts,user,noauto,umask=002 0 0

I can then mount as user or root both devices. In Libranet 2.8.1, mosly sarge I can mount the usb drive IF it is sdb1, NOT sda1 or sdc1 or sdd1. I CANNOT mount /mnt/sda:

user1@DAM-LN:~$ mount /mnt/pendrive
mount: /dev/sda is not a valid block device
user1@DAM-LN:~$

Making it /dev/sda1 or c,b etc has no bearing. If I specifiy vfat (which is what I think it is) I get:

kernel does not support fs hfs (or words to that effect). I think this is related to an upgrade and have seen this before. If I do a stock 2.8.1 install, I will have no problem. At some point seeking the coolest, best stuff, I will get an error in dmesg, which, if not directly relevent, tells me I will see this error with usb mas storage devices. I do not know what upgrade causes it. I have never tried to run this down before. Here is dmesg relevent output:

usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:11.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 4 ports detected
host/usb-uhci.c: $Revision: 1.275 $ time 12:28:35 Dec  6 2003
host/usb-uhci.c: High bandwidth mode enabled
host/usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 11
host/usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 11
host/usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
host/usb-ohci.c: USB OHCI at membase 0xe0e24000, IRQ 3
host/usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 3 ports detected
host/usb-ohci.c: USB OHCI at membase 0xe0e26000, IRQ 11
host/usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] USB 1.0 Controller
usb.c: new USB bus registered, assigned bus number 5
hub.c: USB hub found
hub.c: 3 ports detected
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
######later on in the file###########
ide0(3,7):Using r5 hash to sort names
usbdevfs: remount parameter error
NTFS driver v1.1.22 [Flags: R/O MODULE]
########later on in the file, this shows the pluging in of the device###########
hub.c: new USB device 00:02.3-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x90c/0x1000) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Model: USB CYBER DISK Rev: Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 32001 512-byte hdwr sectors (16 MB)
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
hub.c: USB device not accepting new address (error=-110)
usb-storage: host_reset() requested but not implemented
scsi: device set offline - command error recover failed: host 1 channel 0 id 0 lun 0
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
unable to read partition table
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
#####above line repeated about 20 times##########

The message at boot (does not show up if I run dmesg) is:

Starting Htoplug subsystem: Inputt*** cant synthesize input events -/proc/bus/input/devices missing
pci*** cant synthesize PCI hotplug events
usbsync:   [oo1 oo1 oo1 oo2 oo1 ]

/proc/bus has pci & usb, but no input. ???? Should it have input? IF so, how do I make input dir? I'm starting to think this is a kernel issue. I am using 2.4.23 on this box (stock Libranet kernel settings) and 2.4.21-1-I386 stock Sarge Debian kernel on the box these devices work on. Same family of motherboards (ECS k7s5a and k7s5a Pro) so hardware is not an issue. In addition, on the problem box (Libranet 2.8.1) I have an USB-2 pci card, eliminating the possibility of an onboard usb problem. This has me scratching my head. Where do I look and what do I do?







--
Damon L. Chesser
dchesser@bigfoot.com



Reply to: