|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
powermac kernel freezes on CURRENTHi all,
I have here a strange issue. My setup are a powerpook G4 and a imacDV with a G3. I try to boot CURRENT kernel, atm rev: 193648. GENERIC, WITNESS and INVARIANTS enabled/disabled, does not matter. I can boot the kernel successfully and login to the machines via ssh. But as soon as I try to login via console/kbd I get a freeze w/o a notice why. The machines are dead as soon as I press a key on the keyboard. The mouse is working ok before pressing a key. There is _no_ message in the logs about... On the imac, the kbd is usb. On the Powerbook, the kbd is adb. The last working kernel I have is from 20090531, the rev with the dfs driver. I did not find an obvious candidate causing this, at least on the powerpc part. Does anyone else see such a behavior? TIA, Andreas _______________________________________________ freebsd-ppc@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@..." |
|
|
Re: powermac kernel freezes on CURRENTOn Sun, Jun 7, 2009 at 4:44 PM, Andreas Tobler<andreastt@...> wrote:
> Hi all, > > I have here a strange issue. > My setup are a powerpook G4 and a imacDV with a G3. I try to boot CURRENT > kernel, atm rev: 193648. GENERIC, WITNESS and INVARIANTS enabled/disabled, > does not matter. > > I can boot the kernel successfully and login to the machines via ssh. > But as soon as I try to login via console/kbd I get a freeze w/o a notice > why. The machines are dead as soon as I press a key on the keyboard. The > mouse is working ok before pressing a key. > > There is _no_ message in the logs about... > > On the imac, the kbd is usb. On the Powerbook, the kbd is adb. > > The last working kernel I have is from 20090531, the rev with the dfs > driver. > > I did not find an obvious candidate causing this, at least on the powerpc > part. > > Does anyone else see such a behavior? > > TIA, > Andreas I have to give a "me too" on this. revision 192758 (previous, and currently running kernel) works, but 193636 (latest svn up) freezes. G4 MDD 1.25GHz, no WITNESS, apple pro USB keyboard. Not sure about moving the mouse, because I run SLiM for the login manager which disables the mouse cursor, but I'll assume it's the same behavior you're seeing -- machine completely freezes with any keyboard activity. - Justin _______________________________________________ freebsd-ppc@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@..." |
|
|
Re: powermac kernel freezes on CURRENTJustin Hibbits wrote:
> On Sun, Jun 7, 2009 at 4:44 PM, Andreas Tobler<andreastt@...> wrote: >> Hi all, >> >> I have here a strange issue. >> My setup are a powerpook G4 and a imacDV with a G3. I try to boot CURRENT >> kernel, atm rev: 193648. GENERIC, WITNESS and INVARIANTS enabled/disabled, >> does not matter. >> >> I can boot the kernel successfully and login to the machines via ssh. >> But as soon as I try to login via console/kbd I get a freeze w/o a notice >> why. The machines are dead as soon as I press a key on the keyboard. The >> mouse is working ok before pressing a key. >> >> There is _no_ message in the logs about... >> >> On the imac, the kbd is usb. On the Powerbook, the kbd is adb. >> >> The last working kernel I have is from 20090531, the rev with the dfs >> driver. >> >> I did not find an obvious candidate causing this, at least on the powerpc >> part. >> >> Does anyone else see such a behavior? >> >> TIA, >> Andreas > > > I have to give a "me too" on this. revision 192758 (previous, and > currently running kernel) works, but 193636 (latest svn up) freezes. > > G4 MDD 1.25GHz, no WITNESS, apple pro USB keyboard. Not sure about > moving the mouse, because I run SLiM for the login manager which > disables the mouse cursor, but I'll assume it's the same behavior > you're seeing -- machine completely freezes with any keyboard > activity. Thanks for confirmation! I thought I shot my tree. Just for info: It is rev 193512 which is causing this behavior. I'll look into the ppc code now. Andreas _______________________________________________ freebsd-ppc@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@..." |
|
|
Re: powermac kernel freezes on CURRENTHi all,
I just get randomly added to the CC here, so let me get this straight: * Andreas Tobler <andreast-list@...> wrote: > It is rev 193512 which is causing this behavior. So my changes to kbd and kbmux broke PPC. Great. ;-) Can you try the changes I made to kbd and kbmux separately? This makes it easier for me to track it down. Thanks! -- Ed Schouten <ed@...> WWW: http://80386.nl/ |
|
|
Re: powermac kernel freezes on CURRENTHi Ed,
Ed Schouten wrote: > I just get randomly added to the CC here, so let me get this straight: > > * Andreas Tobler <andreast-list@...> wrote: >> It is rev 193512 which is causing this behavior. > > So my changes to kbd and kbmux broke PPC. Great. ;-) > > Can you try the changes I made to kbd and kbmux separately? This makes > it easier for me to track it down. Thanks! The kdb diff alone works. But the kdbmux diff seems to be the one causing the freeze. I tested on top of 193511. Thank you for the immediate response! Andreas _______________________________________________ freebsd-ppc@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@..." |
|
|
Re: powermac kernel freezes on CURRENT* Andreas Tobler <andreast-list@...> wrote:
> The kdb diff alone works. > But the kdbmux diff seems to be the one causing the freeze. > > I tested on top of 193511. Ah! Looking at the diff, I think I can only have messed up inside the _putc() and _getc() routines I added. One of the biggest differences between i386/am64 and PowerPC: characters are unsigned by default! I'm going to slam my head against the wall for the next couple of minutes. Let me know whether it fixes your problem. %%% Index: kbdmux.c =================================================================== --- kbdmux.c (revision 193733) +++ kbdmux.c (working copy) @@ -181,7 +181,7 @@ state->ks_inq_length++; } -static char +static int kbdmux_kbd_getc(kbdmux_state_t *state) { char c; %%% -- Ed Schouten <ed@...> WWW: http://80386.nl/ |
|
|
Re: powermac kernel freezes on CURRENTEd Schouten wrote:
> * Andreas Tobler <andreast-list@...> wrote: >> The kdb diff alone works. >> But the kdbmux diff seems to be the one causing the freeze. >> >> I tested on top of 193511. > > Ah! Looking at the diff, I think I can only have messed up inside the > _putc() and _getc() routines I added. One of the biggest differences > between i386/am64 and PowerPC: characters are unsigned by default! I'm > going to slam my head against the wall for the next couple of minutes. Don't do that, we need your head healthy :) > Let me know whether it fixes your problem. It does. Should have seen that myself :( I'm up to rev 193751 now. With your patch. FreeBSD 8.0-CURRENT (GENERIC_imac) #0 r193751M: Mon Jun 8 22:15:57 CEST 2009 Thank you! Cheers, Andreas _______________________________________________ freebsd-ppc@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@..." |
|
|
Re: powermac kernel freezes on CURRENT* Andreas Tobler <andreast-list@...> wrote:
> I'm up to rev 193751 now. With your patch. Rev. 193752 includes the fix, with minor modifications. Thanks for reporting it! -- Ed Schouten <ed@...> WWW: http://80386.nl/ |
| Free embeddable forum powered by Nabble | Forum Help |