Re: ukbd probe order regression

2010-02-14 Thread Peter Jeremy
On 2010-Feb-03 10:56:46 +0100, Hans Petter Selasky hsela...@c2i.net wrote:
On Wednesday 03 February 2010 10:47:56 Peter Jeremy wrote:
 In 7.x, ukbd probes before the kernel mounts root.  In 8.x, ukbd
 probes after the kernel mounts root (it actually probes asynchronously
 after the Enter full pathname of shell... prompt).  (This bit me
 badly because I managed to screw up my root disk name and got
 prompted with 'mountroot' but had no keyboard).

There has been some patches to ukbd.c recently. Try to apply those first:

fetch -o /usr/src/sys/dev/usb/input/ukbd.c  
http://p4db.freebsd.org/fileDownLoad.cgi?FSPC=//depot/projects/usb/src/sys/dev/usb/input/ukbd.camp;REV=43;

Sorry for the delay in responding.  This version of ukbd.c hasn't
made any obvious improvement - the ugen2.2 and ukbd0 probe messages
still don't appear until about a second after the single-user
prompt for a shell.  (I haven't tried breaking my root mount to see
if input at the mountroot prompt now works).

-- 
Peter Jeremy


pgp2PTEHcFaCp.pgp
Description: PGP signature


Re: ukbd probe order regression

2010-02-08 Thread Peter Jeremy
Hi Hans,

On 2010-Feb-03 10:56:46 +0100, Hans Petter Selasky hsela...@c2i.net wrote:
There has been some patches to ukbd.c recently. Try to apply those first:

fetch -o /usr/src/sys/dev/usb/input/ukbd.c  
http://p4db.freebsd.org/fileDownLoad.cgi?FSPC=//depot/projects/usb/src/sys/dev/usb/input/ukbd.camp;REV=43;

Thanks for that patch.  Unfortunately, something has come up and I
won't be able to check it out until late March.

-- 
Peter Jeremy


pgpnkICdzql4D.pgp
Description: PGP signature


Re: ukbd probe order regression

2010-02-03 Thread Hans Petter Selasky
On Wednesday 03 February 2010 10:47:56 Peter Jeremy wrote:
 [Based on a thread in -stable]
 
 I am trying to upgrade a Dell GX620 from FreeBSD 7.1 to a recent
 FreeBSD 8-stable and have run into a regression in the ukbd probe
 order.  This box has no PS/2 ports and therefore I use a USB
 keyboard (and have removed atkbdc, atkbd and kbdmux from my kernel).
 All relevant USB devices are compiled in.
 
 In 7.x, ukbd probes before the kernel mounts root.  In 8.x, ukbd
 probes after the kernel mounts root (it actually probes asynchronously
 after the Enter full pathname of shell... prompt).  (This bit me
 badly because I managed to screw up my root disk name and got
 prompted with 'mountroot' but had no keyboard).
 
 The GX620 is a P4 system with an ICH7 chipse.  The keyboard is a Dell
 SK-8115 connected directly to a motherboard port (I've tried several
 different USB ports without improvement).  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(0x),
  Intel(0x), rev 1.00
 

There has been some patches to ukbd.c recently. Try to apply those first:

fetch -o /usr/src/sys/dev/usb/input/ukbd.c  
http://p4db.freebsd.org/fileDownLoad.cgi?FSPC=//depot/projects/usb/src/sys/dev/usb/input/ukbd.camp;REV=43;

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: ukbd probe order regression

2010-02-03 Thread Bernd Walter
On Wed, Feb 03, 2010 at 08:47:56PM +1100, Peter Jeremy wrote:
 [Based on a thread in -stable]
 
 I am trying to upgrade a Dell GX620 from FreeBSD 7.1 to a recent
 FreeBSD 8-stable and have run into a regression in the ukbd probe
 order.  This box has no PS/2 ports and therefore I use a USB
 keyboard (and have removed atkbdc, atkbd and kbdmux from my kernel).
 All relevant USB devices are compiled in.
 
 In 7.x, ukbd probes before the kernel mounts root.  In 8.x, ukbd
 probes after the kernel mounts root (it actually probes asynchronously
 after the Enter full pathname of shell... prompt).  (This bit me
 badly because I managed to screw up my root disk name and got
 prompted with 'mountroot' but had no keyboard).

As workaround to get your system up without bootcd can also declare
the rootdev on loader prompt.

-- 
B.Walter be...@bwct.de http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org