[keyboard] ukbd stops working after filesystems mount at boot time

Hans Petter Selasky hselasky at c2i.net
Fri Nov 20 11:22:36 UTC 2009


On Friday 20 November 2009 10:06:56 Travelling Particle wrote:
> New symptom, as Greg House would say. It appears that keyboard is not as
> dead as it looks. If I do shutdown -h, the keyboard suddenly becomes
> usable: I can hit any key to reboot. However, between the start of the late
> boot stage and the end of halt the system behaves exactly as if somebody
> pressed Enter and stick some gum to it to stay that way.
>
> > I am booting off USB stick because I have to attach root partition on HDD
> >
> > > with GELI. It all works fine, I am able to enter passphrase on the
> >
> > keyboard
> >
> > > (there's only ukbd keyboard in the kernel at this moment, but I had
> > > tried with atkbd as well; I have also experimented with or without
> > > TEKEN with
> >
> > no
> >
> > > difference). After root partition is mounted, system mounts other geli
> > > partitions on the same hard disk. It is right after the filesystems
> > > were mounted that the problem starts. The output on console at that
> > > moment
> >
> > starts
> >
> > > to be interleaved with new lines symbols. After late boot stage
> >
> > completes, I
> >
> > > see login prompt on console, but system acts *as if* I had just pressed
> > > Enter and presents login prompt again and again. The keyboard itself
> >
> > appears
> >
> > > to be dead. If I choose to boot single-mode, behavior is the same -- I
> >
> > see
> >
> > > multiple shell prompts as if I were hitting Enter repeatedly. I had
> > > been trying various configurations in the kernel for over 5 days now,
> > > and
> >
> > still
> >
> > > couldn't make the console work on the system (I can login via network
> > > though).

There was a recent EHCI interrupt patch. I'm not sure if it is committed to 9-
current yet.

--HPS



More information about the freebsd-usb mailing list