LQ Newbie
Registered: Jan 2005
Location: Switzerland
Distribution: debain lenny, slackware 10.0, vectorlinux 4.3, kubuntu feisty
Posts: 23
Rep:
|
USB mass storage problem
hello,
running on debian sarge
custom kernel 2.6.5
ibm thinkpad t41p
alright, well everything worked fine, i had an usbstick and an external HD working fine with usb2.0 (ehci-hcd). auto mounted with my fstab....
wanted to install a new kernel 2.6.10 cause i want to connect my iPod and forgot to add HFS support....
well did compile the new kernel, did a new lilo entry and booted and realized that my USB drive couldnt be mounted anymore.
so rebooted into the old kernel 2.6.5, where everything worked before, and couldnt mount my USB devices anymore.
fdisk -l now only sees my harddisk but not my usb device anymore,
cdrecord --scanbus does see my usb device
home/gerard# fdisk -l
Disk /dev/hda: 56.3 GB, 56348042240 bytes
240 heads, 63 sectors/track, 7278 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 926 7000528+ 83 Linux
/dev/hda2 927 992 498960 82 Linux swap
/dev/hda3 * 993 2315 10001880 c W95 FAT32 (LBA)
/dev/hda4 2316 7278 37520280 5 Extended
/dev/hda5 2316 3638 10001848+ 83 Linux
/dev/hda6 3639 7278 27518368+ 83 Linux
cdrecord --scanbus
Linux sg driver version: 3.5.30
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'TinyDisk' '2004.03.03 ' '2.00' Removable Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
/home/gerard# tail -f /var/log/messages
Feb 4 23:27:02 asrael kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Feb 4 23:27:02 asrael kernel: Vendor: TinyDisk Model: 2004.03.03 Rev: 2.00
Feb 4 23:27:02 asrael kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 4 23:27:02 asrael kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
Feb 4 23:27:02 asrael kernel: e1000: eth0 NIC Link is Up 100 Mbps Full Duplex
Feb 4 23:27:03 asrael lpd[496]: restarted
Feb 4 23:27:03 asrael kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x3b8-0x3df 0x4d0-0x4d7
Feb 4 23:27:03 asrael kernel: cs: IO port probe 0x0800-0x08ff: clean.
Feb 4 23:27:03 asrael kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Feb 4 23:27:03 asrael kernel: cs: IO port probe 0x0a00-0x0aff: clean.
before i only had uhci-hcd, now i also added ohci-hcd, but that didnt help
lsmod
home/gerard# lsmod
Module Size Used by
snd_mixer_oss 20160 1
ohci_hcd 19716 0
ehci_hcd 29444 0
uhci_hcd 33104 0
ath_pci 37924 0
ath_hal 128080 2 ath_pci
wlan 60008 2 ath_pci
snd_intel8x0m 19524 0
snd_intel8x0 33860 1
snd_pcm 99080 2 snd_intel8x0m,snd_intel8x0
snd_timer 26052 1 snd_pcm
snd_page_alloc 11396 3 snd_intel8x0m,snd_intel8x0,snd_pcm
snd_mpu401_uart 7936 1 snd_intel8x0
snd_rawmidi 24992 1 snd_mpu401_uart
snd_seq_device 8136 1 snd_rawmidi
snd_ac97_codec 65284 2 snd_intel8x0m,snd_intel8x0
snd 55460 9 snd_mixer_oss,snd_intel8x0m,snd_intel8x0,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_devic e,snd_ac97_codec
soundcore 9952 2 snd
usb_storage 29760 0
sg 34400 0
scsi_mod 113228 2 usb_storage,sg
e1000 85060 0
ide_cd 41732 0
cdrom 41308 1 ide_cd
dmesg
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1d.0: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 11, io base 00001800
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 11, io base 00001820
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 11, io base 00001840
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 11, pci mem e2899000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Unable to find swap-space signature
usb 4-4: new high speed USB device using address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: TinyDisk Model: 2004.03.03 Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 2
e1000: eth0 NIC Link is Up 100 Mbps Full Duplex
cs: IO port probe 0x0100-0x04ff: excluding 0x3b8-0x3df 0x4d0-0x4d7
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
shit, i thought i'd be on the save side when i compile a new kernel to try something, what can cause something like this? anybody?
thanks
G
p.s. the USB devices worked just fine minutes ago, so it is not a problem of the partition or the partitiontable...
|