Date: Mon, 8 Jun 2009 22:04:41 +0200 From: Ed Schouten <ed@80386.nl> To: Andreas Tobler <andreast-list@fgznet.ch> Cc: FreeBSD/ppc <freebsd-ppc@freebsd.org> Subject: Re: powermac kernel freezes on CURRENT Message-ID: <20090608200441.GC48776@hoeg.nl> In-Reply-To: <4A2D6C56.9060900@fgznet.ch> References: <4A2C26C8.8080302@gmail.com> <fd9cd3450906071649u6eb1d7f3uae75194343846180@mail.gmail.com> <4A2D6432.50307@fgznet.ch> <20090608192744.GB48776@hoeg.nl> <4A2D6C56.9060900@fgznet.ch>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
* Andreas Tobler <andreast-list@fgznet.ch> 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@80386.nl>
WWW: http://80386.nl/
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)
iEYEARECAAYFAkotbtkACgkQ52SDGA2eCwUKVACfY74tV3kqWru7sXsuMU+CC0u7
tMMAn0JWxyGN689Sln0T+asjmCNiLK2z
=6lDa
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090608200441.GC48776>
