Subject: port-macppc/18427: macppc INSTALL kernel does not support uninorth
To: None <gnats-bugs@gnats.netbsd.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: netbsd-bugs
Date: 09/26/2002 07:31:47
>Number:         18427
>Category:       port-macppc
>Synopsis:       <synopsis of the problem (one line)>
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 26 04:33:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Darrin B. Jewell
>Release:        NetBSD 1.6
>Organization:
>Environment:
System: NetBSD quiteria 1.6 NetBSD 1.6 (QUITERIA) #16: Sat Sep 21 22:53:08 EDT 2002 dbj@quiteria:/usr/src/sys/arch/macppc/compile/QUITERIA macppc
Architecture: powerpc
Machine: macppc
>Description:

The INSTALL kernel from the 1.6 release does not have uninorth
included.  When booted, it panics on systems that use this pci
controller.

>How-To-Repeat:
Boot the INSTALL kernel from the 1.6 distribution on a dual usb ibook

Observe the following dmesg

NetBSD 1.6 (INSTALL) #0: Sun Sep  8 22:07:39 UTC 2002
    autobuild@tgm.daemon.org:/autobuild/macppc/OBJ/autobuild/src/sys/arch/macppc/compile/INSTALL
total memory = 384 MB
avail memory = 343 MB
using 2048 buffers containing 19760 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 2.5), ID 0 (primary)
cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
cpu0: 500.00 MHz
cpu0: 256KB backside cache
md0: internal 2048 KB image area
boot device: <unknown>
root device (default md0a): ?\^H \^H
dump device (default md0b): 
file system (default generic): 
root on md0a dumps on md0b
root file system type: ffs
panic: cnopen: cn_tab->cn_dev == NODEV

syncing disks... done
dumpsys: TBD
rebooting

>Fix:

The following fixes the problem for my system.  The INSTALL
kernel configuration needs to be reviewed, and the fix needs
to be pulled up to the 1.6 branch

Index: INSTALL
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/macppc/conf/INSTALL,v
retrieving revision 1.61
diff -u -u -r1.61 INSTALL
--- INSTALL	2002/04/25 15:06:31	1.61
+++ INSTALL	2002/09/26 11:30:33
@@ -60,9 +60,11 @@
 cpu*	at mainbus?
 bandit*	at mainbus?
 grackle* at mainbus?
+uninorth* at mainbus?
 
 pci*	at bandit? bus ?
 pci*	at grackle? bus ?
+pci*	at uninorth? bus ?
 pci*	at ppb? bus ?
 
 pchb*	at pci? dev ? function ?	# PCI-Host bridges
>Release-Note:
>Audit-Trail:
>Unformatted: