View previous topic :: View next topic |
Author |
Message |
jingo Tux's lil' helper
Joined: 04 Dec 2002 Posts: 134 Location: Denmark
|
Posted: Tue Feb 04, 2003 10:02 pm Post subject: Which modules to enable for usb-storage to work? |
|
|
Having problems with getting my usb hardrive to hotplug. Locks the whole system. It works under Redhat 8.0!!!
Which scsi modules are required? Just having disk og generic enable right now, tried sr_mod no effect!!!
Are there other kernel related things to consider?
Should usb be compiled into the kernel or as module for hotplug to work best? |
|
Back to top |
|
|
timmfin Guru
Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
Posted: Tue Feb 04, 2003 10:10 pm Post subject: |
|
|
I thought that usb had to be a module for hotplug to work. Here is the usb section of my kernel .config, and I have a working usb pen drive.
Code: | #
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_LONG_TIMEOUT is not set
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_UHCI=m
# CONFIG_USB_UHCI_ALT is not set
# CONFIG_USB_OHCI is not set
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_BLUETOOTH is not set
CONFIG_USB_STORAGE=m
CONFIG_USB_STORAGE_DEBUG=y
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDDEV is not set
|
I also have scsi support and scsi generic support compiled as modules. |
|
Back to top |
|
|
jingo Tux's lil' helper
Joined: 04 Dec 2002 Posts: 134 Location: Denmark
|
Posted: Thu Feb 06, 2003 10:35 pm Post subject: |
|
|
thx.
Got a bit closer to a solution. Now I get the modules loading without problems.
/proc/scsi/scsi tells me the hdd drive i attached and the data seems okay.
BUT!!!! under /dev/scsi/host .... / there are no partitions. There should be one partition (working under Windows and Redhat).
What about /etc/devfsd.conf? are there any stuff I should add.
Tried uncommenting some part about SG, which didn't do anything!
And... if i unplug the device, the modules aren't unloaded and /proc/scsi/scsi still tells me my hdd drive is connected!???? |
|
Back to top |
|
|
|