Subject: Re: 1.6.1 install on iBook G3
To: None <port-macppc@netbsd.org>
From: Axel Scheepers <ascheepers@vianetworks.nl>
List: port-macppc
Date: 02/19/2004 14:23:48
----- Original Message ----- 
> > Hmm....
> >
> > I do notice in openprom font (very small compared to the kernel output),
> > partly overwritten by the kernel output, the following message:
> > ...-kdb-handle> not found, ihandle=ffbc8780 phandle=ff930d98 method
> > <`adb-kdb-ihand...
> > Unfortunatly, it's cut off on both ends.
> >

In openfirmware I can identify the phandle via 'dev / ls' as:
ff930c98: /pseudo-hid
ff930d98:    /keyboard

I also browsed /sys/arch/macppc/macppc/macdep.c;
/*      $NetBSD: machdep.c,v 1.113.4.2 2002/07/06 14:05:49 lukem Exp $  */
at line 973 commented:
 * stdin is /psuedo-hid/keyboard.  Test `adb-kbd-ihandle and
notice that my entry is correctly spelled in OF.

at line 999:
        if (OF_call_method("`adb-kbd-ihandle", stdin, 0, 1, &akbd) >= 0 &&
            akbd != 0 &&

According to the openfirmware message this seems to go wrong, and it prints
the above message.
Now I don't have access to any mac other then this, is there a way to debug
this somewhat better?

I looked for a cross compiler in /usr/pkgsrc/cross for macppc, but on my
i386 box there isn't one there?
I could cross build a kernel with some more debug options, and try to read
'pseudo-hid..' instead of 'psuedo-hid..' from
OF, or am I looking in the wrong direction here?

Still haven't got that usb keyboard.. :(

Thanks,

Axel