Kernel probe order issues

Peter Jeremy peter.jeremy at alcatel-lucent.com
Tue Feb 2 23:18:48 UTC 2010


On 2010-Feb-02 08:39:34 +0200, Andriy Gapon <avg at icyb.net.ua> wrote:
>on 02/02/2010 08:36 Peter Jeremy said the following:
>> On 2010-Feb-01 11:37:33 +0200, Andriy Gapon <avg at icyb.net.ua> wrote:
>>>> This strikes me as undesirable.  Is there some way to bump up the
>>>> probe/attach priority of console input devices to ensure that they
>>>> exist before the kernel tries to read input?
>>> It seems to be a problem with either your keyboard or your USB controller.
>>> USB keyboard can be discovered much earlier than mountroot if the hardware is
>>> ready.  No magical software priority bump can help here.
>> 
>> I've tried a couple of different USB ports (controllers) with no
>> change in behaviour.  I'll try another keyboard if I can find one.  It
>> _does_ work as expected on 7.x so this is a regression.
>
>Unfortunately you keep being low on hardware details.

Sorry.  The box is a Dell GX620 (P4 with ICH7 chipset).  The keyboard
is a Dell SK-8115 connected directly to a motherboard port.  I've also
tried a Dell SK-8135 (which is the "multimedia" variant and has a
builtin hub) which behaves the same.

I've uploaded full details as follows:
FreeBSD 7.x verbose dmesg:  http://pastebin.ca/1776339
FreeBSD 8.x verbose dmesg:  http://pastebin.ca/1776359
"pciconf -lv" (same in 7 & 8):  http://pastebin.ca/1776363

The output from 'usbdevs -v' on FreeBSD 7 is:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, power 70 mA, config 1, Dell USB Keyboard(0x2003), Dell(0x413c), rev 2.00
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
 port 7 powered
 port 8 powered

And the output from "usbconfig list" on FreeBSD 8 is:
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen2.2: <Dell USB Keyboard Dell> at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON

The alternate keyboard shows up as:
 port 2 addr 2: full speed, power 100 mA, config 1, Dell USB Keyboard Hub(0x1003), Dell(0x413c), rev 2.00
  port 1 addr 3: full speed, power 50 mA, config 1, Dell USB Keyboard(0x2010), Dell(0x413c), rev 2.00
  port 2 addr 4: low speed, power 100 mA, config 1, product 0x3010(0x3010), vendor 0x413c(0x413c), rev 2.30
  port 3 powered

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100202/6c5cc258/attachment.pgp


More information about the freebsd-stable mailing list