Subject: puc device in 1.4.1 -release
To: None <port-macppc@netbsd.org>
From: Andreas Wrede <andreas@planix.com>
List: port-macppc
Date: 11/05/1999 20:29:46
I am trying to add a pci puc device to a 7300. (SIIG Cyber Serial Dual
PCI (dual serial), as per http://www.netbsd.org/Hardware/pci.html).
The GENERIC kernel sees it as 

unknown vendor 0x131f product 0x2030 (serial communications, interface 0x02) at pci0 dev 14 function 0 not configure

So, I added (from the i386 GENERIC config):

puc*    at pci? dev ? function ? # PCI "universal" comm. cards
com*    at puc? port ?           # 16x450s on "universal" comm boards

to the GENERIC config file and built a new kernel. The boot traps:

> boot scsi-int/sd@0:0 netbsd 
>> NetBSD/macppc OpenFirmware Boot, Revision 1.1
>> (tsubai@mint.iri.co.jp, Tue Jul 20 01:13:42 JST 1999)
no active packageBooting scsi-int/sd@0/netbsd
1898556@0x100000+179560@0x2cf83c 
 start=0x100000
Copyright (c) 1996, 1997, 1998, 1999
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

trap type 400 at ff8099b8
Stopped in  at  0x237db0:       lwz r0, r1, 0x14,
db>


Now, trying to build a kernel with 'makeoptions DEBUG="-g"' for
debug symbols renders it un-bootable. Strip reports:

strip --strip-debug netbsd
BFD: st03461a: warning: allocated section `.bss' not in segment


Booting it gets as far as

> boot scsi-int/sd@0:0 netbsd 
>> NetBSD/macppc OpenFirmware Boot, Revision 1.1
>> (tsubai@mint.iri.co.jp, Tue Jul 20 01:13:42 JST 1999)
no active packageBooting scsi-int/sd@0/netbsd
1893408@0x100000+1532@0x2ce420 
 start=0x100000

and then freezes.

The source base is NetBSD-1.4.1 -release branch, last sup-ed on
October 10. I'll try -current if that would help.

Is the puc device supported in macppc? If not, what would it take to
make it so? 

-- 
    - aew