« Return to Thread: powermac kernel freezes on CURRENT

Re: powermac kernel freezes on CURRENT

by Ed Schouten-3 :: Rate this Message:

Reply to Author | View in Thread

* 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/


attachment0 (202 bytes) Download Attachment

 « Return to Thread: powermac kernel freezes on CURRENT