USB4BSD release candidate number 3 - request for review

Alexey Shuvaev shuvaev at physik.uni-wuerzburg.de
Thu Nov 6 06:13:27 PST 2008


On Thu, Nov 06, 2008 at 05:04:16AM -0800, Bruce Cran wrote:
> 
> I don't know if this is a problem in general, but I can't load
> usb2_serial_modem and have usb2_serial load automatically:
> 
> > kldload usb2_serial_modem
> interface ucom.1 already present in the KLD 'ucom.ko'!
                                               ^^^^^^^
I think it is a module from the old usb stack.

> kldload: /boot/kernel/usb2_serial.ko: Unsupported file type
> KLD usb2_serial_modem.ko: depends on usb2_serial - not available
> kldload: /boot/kernel/usb2_serial_modem.ko: Unsupported file type
> 
> kldload'ing usb2_serial followed by usb2_serial_modem works though.
> 
I also see automatic loading of the old stack modules,
for example (entries 17, 18):

[wep4035] ~> kldstat 
Id Refs Address            Size     Name
 1   55 0xffffffff80100000 8daac8   kernel (/boot/kernel/kernel)
 2    1 0xffffffff809db000 21ed8    snd_hda.ko (/boot/kernel/snd_hda.ko)
 3    2 0xffffffff809fd000 749c8    sound.ko (/boot/kernel/sound.ko)
 4    1 0xffffffff80a72000 3090     speaker.ko (/boot/kernel/speaker.ko)
 5    1 0xffffffff80a76000 59e8     ichsmb.ko (/boot/kernel/ichsmb.ko)
 6    2 0xffffffff80a7c000 2440     smbus.ko (/boot/kernel/smbus.ko)
 7    1 0xffffffff80a7f000 fa10     i915.ko (/boot/kernel/i915.ko)
 8    2 0xffffffff80a8f000 21c48    drm.ko (/boot/kernel/drm.ko)
 9    1 0xffffffff80ab1000 e648     usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko)
10    3 0xffffffff80ac0000 5168     usb2_controller.ko (/boot/kernel/usb2_controller.ko)
11    8 0xffffffff80ac6000 5c548    usb2_core.ko (/boot/kernel/usb2_core.ko)
12    1 0xffffffff80b23000 125a0    usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko)
13    1 0xffffffff80b36000 4e48     usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko)
14    2 0xffffffff80b3b000 560      usb2_input.ko (/boot/kernel/usb2_input.ko)
15    1 0xffffffff80b3c000 ff08     usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko)
16    2 0xffffffff80b4c000 570      usb2_storage.ko (/boot/kernel/usb2_storage.ko)
17    1 0xffffffff80c22000 18c7     ums.ko (/boot/kernel/ums.ko)
18    1 0xffffffff80c24000 9612     usb.ko (/boot/kernel/usb.ko)
19    1 0xffffffff80c2e000 216      green_saver.ko (/boot/kernel/green_saver.ko)

Simple kldunload-ing of ums.ko unloads usb.ko also.

I am having quite reliable panics with the new stack when I insert
usb stick (actually during the first access to it).
Trying to collect more information I haven't managed to produce
memory dump. Is it working on amd64 SMP CURRENT? I remember there were
some complains about it.
I will report details of the panic when I get them.

Alexey.


More information about the freebsd-current mailing list