Date: Sun, 07 Aug 2005 16:41:44 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Maksim Yevmenkin <maksim.yevmenkin@savvis.net> Cc: current@freebsd.org Subject: Re: No keyboard in sysinstall in 6.0-BETA2 Message-ID: <1123447305.40563.5.camel@shumai.marcuscom.com> In-Reply-To: <42F6388A.9000208@savvis.net> References: <1123369733.852.12.camel@shumai.marcuscom.com> <1123390349.852.21.camel@shumai.marcuscom.com> <42F631F9.8030607@savvis.net> <42F6388A.9000208@savvis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-1NleXSrvIct2CSmaqLpG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2005-08-07 at 09:36 -0700, Maksim Yevmenkin wrote: > > Joe Marcus Clarke wrote: > >=20 > >> On Sat, 2005-08-06 at 19:08 -0400, Joe Marcus Clarke wrote: > >> > >>> I'm trying to install FreeBSD 6.0-BETA2 from CD on Dell Precision 380= . > >>> The machine has a PS/2 keyboard on it. The keyboard works fine in th= e > >>> BIOS, and at the Booting... prompt. However, once sysinstall comes u= p, > >>> the keyboard is dead. Nothing I type will be accepted. The machine > >>> does not appear to be panicked or hung. > >>> > >>> I switched from vidconsole to comconsole, and sysinstall works, so > >>> perhaps this has something to do with the new keyboard mux? > >>> > >>> Dmesg is at http://www.marcuscom.com/downloads/NEW-SHUMAI.dmesg > >> > >> > >> > >> More news on this. After getting 6.0-BETA2 installed from the serial > >> console, I found that _any_ input on the PS/2 port causes the machine = to > >> lock up hard. I can break into the debugger, but as soon as I hit any > >> key on the PS/2 keyboard, the machine locks up. I can't type anything > >> (even from the serial console). The only way out is to do a hard rese= t. > >> > >> I've tried building a custom kernel and disabling apic and acpi. > >> Nothing will get 6.0 to work with any locally attached keyboard. > >> > >> I also found a CD of 5.4-RC3, which boots perfectly on this machine wi= th > >> working PS/2 and USB keyboards. So, I thought maybe the kbdmux was th= e > >> problem. I reverted the kbd code to original RELENG_6 version (kbd.c > >> rev. 1.43 and kbdreg.h rev. 1.17), and the keyboard works once again. > >> Anything else I can try to debug this problem with kbdmux further? > >=20 > >=20 > > i doubt kbdmux(4) is your problem. according to the dmesg you have=20 > > posted you dont seem to use/load kbdmux(4) driver. it is highly unlikel= y=20 > > that my changes in /sys/dev/kbd/ cause this. kbdmux(4) is not default=20 > > keyboard and, at this point, one must configure/load it by hand. my=20 > > guess would be that you, perhaps, have some sort of interrupt routing=20 > > problem or something like it. >=20 >=20 > actually, now i'm confused. as you stated you have reverted=20 > /sys/dev/kbd/kbd.c and /sys/dev/kbd/kbdreg.h. are these only files you=20 > have reverted? Yes, the only two. The rest of sys is 6.0-BETA2. I never tried loading the kbdmux module, and test the keyboard. I have a 6.0 laptop, and I've never had problems with kbd, and I've never had to load the mux there. >=20 > i think, i can rule out /sys/dev/kbd/kbdreg.h - this just add a=20 > prototype for kbd_find_keyboard2(). >=20 > so this leaves only /sys/dev/kbd/kbd.c. the only change here was new=20 > kbd_find_keyboard2() function and change to the original=20 > kbd_find_keyboard() function. kbd_find_keyboard2() function is almost=20 > the same as the original kbd_find_keyboard() function. the only=20 > difference is that kbd_find_keyboard2() accepts one extra parameter that=20 > specifies starting index for search. it also checks the index to make=20 > sure it is within valid bounds. naturally, kbd_find_keyboard() can just=20 > call kbd_find_keyboard2() with starting index of 0 to emulate old=20 > behavior. unless i screwed up here, i do not see how this would break=20 > anything. >=20 > also, one thing i noticed in your dmesg output >=20 > atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 > atkbd0: <AT Keyboard> flags 0x3 irq 1 on atkbdc0 > atkbd: the current kbd controller command byte 0065 > atkbd: keyboard ID 0xffffffff (1) > kbd0 at atkbd0 > kbd0: atkbd0, AT 84 (1), config:0x3, flags:0x3d0000 > atkbd0: [GIANT-LOCKED] This output is after reverting to pre-kbdmux code. My keyboard is an IBM 105-key QWERTY keyboard (model KB-9910). Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-1NleXSrvIct2CSmaqLpG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBC9nIIb2iPiv4Uz4cRApMKAJ9YMKUMJYrf+mJVwKmUSLGn+CovGACgh8XJ O/n4i78jcoG5cFiYQSfR86Y= =y8Yg -----END PGP SIGNATURE----- --=-1NleXSrvIct2CSmaqLpG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1123447305.40563.5.camel>
