Unresponsive keyboard after a few boots
Hi, I am using a very recent Freebsd 8.0 STABLE on a Macbook. I updated my sources and rebuilt a kernel about 3 days ago. I was able to use the machine fine once or twice after that. But now the keyboard has stopped working. The boot program is able to use the keyboard, but the kernel isn't, and I am unable to do anything useful with the machine from the login screen. I had rebuilt the kernel twice with slightly varying settings, so I don't have a copy of the previously working kernel in /boot/kernel.old. It may not be easy for me to download a ISO image. Can someone please help? Thanks. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Unresponsive keyboard after a few boots
On Mon, Feb 08, 2010 at 02:19:06PM +0530, Rohit Grover wrote: > I am using a very recent Freebsd 8.0 STABLE on a Macbook. I updated my > sources and rebuilt a kernel about 3 days ago. I was able to use the > machine fine once or twice after that. But now the keyboard has > stopped working. The boot program is able to use the keyboard, but the > kernel isn't, and I am unable to do anything useful with the machine > from the login screen. > > I had rebuilt the kernel twice with slightly varying settings, so I > don't have a copy of the previously working kernel in > /boot/kernel.old. > > It may not be easy for me to download a ISO image. Can someone please help? Is the keyboard USB? -- | Jeremy Chadwick j...@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Unresponsive keyboard after a few boots
On 8 February 2010 11:47, Jeremy Chadwick wrote: > On Mon, Feb 08, 2010 at 02:19:06PM +0530, Rohit Grover wrote: >> I am using a very recent Freebsd 8.0 STABLE on a Macbook. I updated my >> sources and rebuilt a kernel about 3 days ago. I was able to use the >> machine fine once or twice after that. But now the keyboard has >> stopped working. The boot program is able to use the keyboard, but the >> kernel isn't, and I am unable to do anything useful with the machine >> from the login screen. >> >> I had rebuilt the kernel twice with slightly varying settings, so I >> don't have a copy of the previously working kernel in >> /boot/kernel.old. >> >> It may not be easy for me to download a ISO image. Can someone please help? > > Is the keyboard USB? > No Mac since late generation Powerbooks and iBooks has used ADB, so yes, the Macbook keyboard is USB. HTH, Chris ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Unresponsive keyboard after a few boots
Yes, this is a USB keyboard. If I plug in an external USB keyboard I get the same behaviour. In the mean time, I have discovered that if I boot the machine with MacOSX and then reboot into FreeBSD, it is very likely that FreeBSD will have no problems with using the keyboard. I am sure that this behaviour is new in 8.0/stable. Now that I have this method, I am willing to dig deeper into this problem and collect more information for debugging. Any ideas on how to proceed? regards, On Wed, Feb 10, 2010 at 1:16 AM, Chris Rees wrote: > On 8 February 2010 11:47, Jeremy Chadwick wrote: >> On Mon, Feb 08, 2010 at 02:19:06PM +0530, Rohit Grover wrote: >>> I am using a very recent Freebsd 8.0 STABLE on a Macbook. I updated my >>> sources and rebuilt a kernel about 3 days ago. I was able to use the >>> machine fine once or twice after that. But now the keyboard has >>> stopped working. The boot program is able to use the keyboard, but the >>> kernel isn't, and I am unable to do anything useful with the machine >>> from the login screen. >>> >>> I had rebuilt the kernel twice with slightly varying settings, so I >>> don't have a copy of the previously working kernel in >>> /boot/kernel.old. >>> >>> It may not be easy for me to download a ISO image. Can someone please help? >> >> Is the keyboard USB? >> > > No Mac since late generation Powerbooks and iBooks has used ADB, so > yes, the Macbook > keyboard is USB. > > HTH, > > Chris > ___ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" > ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Unresponsive keyboard after a few boots
On Tue, Feb 9, 2010 at 8:52 PM, Rohit Grover wrote: > Yes, this is a USB keyboard. If I plug in an external USB keyboard I > get the same behaviour. > > In the mean time, I have discovered that if I boot the machine with > MacOSX and then reboot into FreeBSD, it is very likely that FreeBSD > will have no problems with using the keyboard. > > I am sure that this behaviour is new in 8.0/stable. > Now that I have this method, I am willing to dig deeper into this > problem and collect more information for debugging. Any ideas on how > to proceed? > > regards, > My opinion is that MacOSX is initializing some circuit areas but FreeBSD 8.0 is NOT touching in those areas . Therefore , initialization values from MacOSX are remaining in place and FreeBSD 8.0 is using those values without changing them . This idea is a pure guess , but when FreeBSD 8.0 starts initially and USB key board does not work , there seems that this is most likely possibility . If it is possible the following steps may be useful : Initially start MacOSX , dump all of the related circuit register values . Start FreeBSD 8.0 , repeat the dumping of the related circuit register values . This will give differences between two boots . Initially start FreeBSD and dump all of the related circuit register values . This may require a key board . Problem is to override this requirement . If in the system there is also a PS/2 key board slot , a PS/2 keyboard may be utilized . Another way may be a shell script or program starting on boot automatically to dump the required values . In that case , a key board may not be required . This will show uninitialized values . Related sources may also be studied to understand which areas are left without initializations . Successive boots may clear properly stored circuit register values and they do not initialize them properly . Thank you very much . Mehmet Erol Sanliturk ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Unresponsive keyboard after a few boots
Thanks for replying. I would like to pursue this problem. I have verified that this problem doesn't happen with 8.0/RELEASE, and there are some improvements in 8.0/STABLE which I need, so it is very important for me to be able to use the latest 8.0/STABLE. > My opinion is that MacOSX is initializing some circuit areas but FreeBSD 8.0 > is NOT touching in those areas . Therefore , initialization values from > MacOSX are remaining in place and FreeBSD 8.0 is using those values without > changing them . > > This idea is a pure guess , but > when FreeBSD 8.0 starts initially and USB key board does not work , there > seems that this is most likely possibility . > > If it is possible the following steps may be useful : > > Initially start MacOSX , dump all of the related circuit register values . How do I dump the keyboard circuit register values for MacOSX and FreeBSD? thanks. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Unresponsive keyboard after a few boots
on 10/02/2010 13:35 Rohit Grover said the following: > Thanks for replying. I would like to pursue this problem. I have > verified that this problem doesn't happen with 8.0/RELEASE, and there > are some improvements in 8.0/STABLE which I need, so it is very > important for me to be able to use the latest 8.0/STABLE. Could you please try hw.pci.usb_early_takeover="0" in loader.conf? -- Andriy Gapon ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Unresponsive keyboard after a few boots
On 10 February 2010 07:10, Mehmet Erol Sanliturk wrote: > > > On Tue, Feb 9, 2010 at 8:52 PM, Rohit Grover wrote: > Initially start FreeBSD and dump all of the related circuit register values > . This may require a key board . Problem is to override this requirement . > If in the system there is also a PS/2 key board slot , a PS/2 keyboard may > be utilized . Another way may be a shell script or program starting on boot > automatically to dump the required values . In that case , a key board may > not be required . There are no PS/2 or any other legacy connectors on any Intel Mac. USB only (firewire keyboards are a rarity, but maybe worth a try!) Chris ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Unresponsive keyboard after a few boots
I added hw.pci.usb_early_takeover="0" to /boot/loader.conf, but it hasn't made any reliable difference. I am not resorting to a binary search of revisions along stable/8.0 to find the culprit, but this is going to be a very slow and wasteful process--it takes me multiple boots (first into MacOSx and then repeatedly into FreeBSD) before I can move from one kernel to another. Any ideas to short-circuit the binary search would be greatly appreciated. Thanks. On Wed, Feb 10, 2010 at 9:29 PM, Andriy Gapon wrote: > on 10/02/2010 13:35 Rohit Grover said the following: >> Thanks for replying. I would like to pursue this problem. I have >> verified that this problem doesn't happen with 8.0/RELEASE, and there >> are some improvements in 8.0/STABLE which I need, so it is very >> important for me to be able to use the latest 8.0/STABLE. > > Could you please try hw.pci.usb_early_takeover="0" in loader.conf? > > -- > Andriy Gapon > ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Unresponsive keyboard after a few boots
On Thu, Feb 11, 2010 at 12:15 PM, Rohit Grover wrote: > I am not resorting to a binary search of revisions along stable/8.0 to Oops; typo above. I AM going to binary search revisions along stable/8.0 So far, I have also discovered that the first reboot following a kernel install is very likely to not have this problem. regards, ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"