Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2008 15:13:23 +0100
From:      "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky <hselasky@c2i.net>
Subject:   Re: USB4BSD release candidate number 3 - request for review
Message-ID:  <20081106141323.GA4489@wep4035.physik.uni-wuerzburg.de>
In-Reply-To: <20081106050416.09944ea2@tau.draftnet>
References:  <200810251925.47273.hselasky@c2i.net> <200811050908.35744.hselasky@c2i.net> <49117846.9080301@163.com> <200811051722.44148.hselasky@c2i.net> <20081106050416.09944ea2@tau.draftnet>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081106141323.GA4489>