USB Mass Storage stopped working, help requested
Jim Stapleton
stapleton.41 at gmail.com
Sat Oct 14 14:40:24 PDT 2006
It used to work on this machine, the kernel/world has not been
recompiled/reinstalled since then. However, A USB drive that used to
work (and still works in windows) no longer works in FreeBSD. When I
plug in the drive, the /dev/da* devices do not show up. The system is
running 6.1.
The handbook says I need these:
device scbus
device da
device pass
device uhci
device ohci
device usb
device umass
kldstat shows this:
1 12 0xc0400000 51e030 kernel
2 1 0xc091f000 1adb8 linux.ko
3 1 0xc093a000 4d24 acpi_video.ko
4 4 0xc093f000 597ac acpi.ko
5 1 0xc0999000 3b58 acpi_toshiba.ko
6 2 0xc3803000 9000 ibcs2.ko
7 1 0xc3810000 3000 ibcs2_coff.ko
8 1 0xc3df7000 d000 msdosfs.ko
Looking for the modules, I find:
sjss at aragorn 17:29:05 (0) /usr/src > ls /boot/kernel | grep 'scbus\.'
sjss at aragorn 17:29:10 (0) /usr/src > ls /boot/kernel | grep 'da\.'
coda.ko
ida.ko
snd_hda.ko
sjss at aragorn 17:29:12 (0) /usr/src > ls /boot/kernel | grep 'pass\.'
sjss at aragorn 17:29:26 (0) /usr/src > ls /boot/kernel | grep 'uhci\.'
sjss at aragorn 17:29:30 (0) /usr/src > ls /boot/kernel | grep 'ohci\.'
sjss at aragorn 17:29:32 (0) /usr/src > ls /boot/kernel | grep 'usb\.'
usb.ko
sjss at aragorn 17:29:43 (0) /usr/src > ls /boot/kernel | grep 'umass\.'
umass.ko
Scanning dmesg for usb, I get:
sjss at aragorn 17:32:22 (0) /usr/src > dmesg | grep usb
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
The results from usbdevs:
sjss at aragorn 17:34:11 (0) /usr/src > sudo usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 2: USB-PS/2 Optical Mouse, Logitech
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
addr 2: iAUDIO X5, Cowon Systems, Inc.
What is the best way to fix this without recompiling the kernel? I
thought about compiling the drivers in the source tree individually:
sjss at aragorn 17:37:13 (0) /sys > cd /usr/src; find . -iname '*da\.*'
./cam/scsi/scsi_da.c
./cam/scsi/scsi_da.h
./coda/coda.h
./dev/ida/ida.c
but I could not do a make in the scsi or cam directories. "make scsi"
gave me a "don't know how to make" class of error, and "make cam" gave
me an error saying cam is up to date.
Thanks,
-Jim Stapleton
More information about the freebsd-questions
mailing list