Date: Tue, 18 Apr 2017 12:50:28 +0200 From: Misanthropist <misantrop@bahnhof.se> To: freebsd-questions@freebsd.org Subject: Problems with USB keyboard and GELI during boot Message-ID: <da079224-8c56-6c9d-5250-ad5c0b02fe3b@bahnhof.se>
next in thread | raw e-mail | index | archive | help
I'm running 11-STABLE (currently FreeBSD 11.0-STABLE #0 r309839: Sun Dec 11 03:14:45 CET 2016). A few days ago, I tried to go over to 11.0-RELEASE-p9 instead, but that gave me problems with my USB keyboard, because GELI didn't recognise the passphrase. The kernel *did* recognise that there is a keyboard, and it accepted my input, but it told me that the passphrase was wrong. Since I don't have / encrypted, I was able to get the system up, and mount things manually. I've had some similar problems in the past, and this is actually the main reason I'm running STABLE, but those problems occured in one of the 10.x releases (don't remember which, but mid 2014). I restored the backup I made just prior to installing RELEASE, and all was well. So, I decided to at least get a newer version of STABLE (FreeBSD 11.0-STABLE #5 r317051: Tue Apr 18 09:52:13 CEST 2017). After building world and kernel, installing kernel and rebooting into single user, to install world, I got the following message run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config A bit of googling lead me to the following old thread from 2012: https://lists.freebsd.org/pipermail/freebsd-questions/2012-January/237758.html, which suggests firewire is the culprit. However, I have firewire disabled in both the BIOS and the kernel config, so I started fiddling more or less blindly, and after a few tries I realised that removing ohci silenced the message. So, next problem, the boot doesn't halt at the GELI passphrase prompt, but continues to spew out messages. However, it does halt eventually, but then GELI doesn't recognise the password at the first attempt, but the second time I enter it, it works. I _could_ live with that, but apart from being an annoyance, it also suggests that something is rotten in the state of Denmark. And, once I got to the login prompt, the keyboard didn't work at all. I just finished restoring backup, with the help of my recovery disk. At this point I have no idea how to continue. I'll be happy to post my kernel config, but I've edited it quite extensively, so the lines are not in the same order as in NOTES or in GENERIC, and I have removed, rather than just commented out, the lines for disabled devices and options, so a diff from NOTES or GENERIC probably won't make much sense. And since the keyboard wasn't working, I wasn't able to get dmesg. I'm using vt, and I'm not particularly keen to go back to sc, and the last ps/2 keyboard I had passed to the happy hunting ground last year, and I don't know anywhere that still sells ps/2 keyboards. Any suggestions on how to proceed?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?da079224-8c56-6c9d-5250-ad5c0b02fe3b>