Subject: Re: Can't build a current working kernel
To: None <port-sgimips@netbsd.org>
From: sgimips NetBSD list <sgimips@mrynet.com>
List: port-sgimips
Date: 12/14/2001 21:31:54
My bad. The TEXTADDRs got horked in one of my post-evening stupors.
FWIW, at least I got your attention to pre-announce a new snapshot
and CDrom (barring any further problems I can't workaround in the
cvs tree).
-scott
> Well, I'm trying again to build a snapshot and CDrom image after
> a few weeks of hacking the current tree to work.
>
> However, I can't build a kernel that works on the 4400.
> Attached below are the boot log and a copy of the CONFIG
> file. Anyone see something I'm missing, or is something
> amiss in the tree?
>
> Cheers,
> -scott
>
> >> boot netbsd.test
>
> NetBSD/sgimips 1.5Y Bootstrap, Revision 1.0
> (root@mod80, Mon Nov 12 13:50:54 CST 2001)
>
> Mem block: type 0 base 0x0 size 0x1000
> Mem block: type 1 base 0x1000 size 0x1000
> Mem block: type 3 base 0x8002000 size 0x73e000
> Mem block: type 6 base 0x8740000 size 0xc0000
> Mem block: type 3 base 0x8800000 size 0x800000
> Mem block: type 5 base 0x9000000 size 0xc000
> Mem block: type 3 base 0x900c000 size 0x4ff4000
> Local storage a87ff168
> argv[0]: scsi(0)disk(1)rdisk(0)partition(8)/boot
> argv[1]: netbsd.test
> argv[2]: ConsoleIn=serial(0)
> argv[3]: ConsoleOut=serial(0)
> argv[4]: SystemPartition=scsi(0)disk(1)rdisk(0)partition(8)
> argv[5]: OSLoader=boot
> argv[6]: OSLoadPartition=scsi(0)disk(1)rdisk(0)partition(0)
> argv[7]: OSLoadFilename=netbsd
> Boot: scsi(0)disk(1)rdisk(0)partition(0)netbsd.test
> devopen: scsi(0)disk(1)rdisk(0)partition(0) type scsi file netbsd.test
> diskopen: 0,2,0 scsi(0)disk(1)rdisk(0)partition(0)
> 1483632|
> Exception: <vector=Normal>
> Status register: 0x30044803<CU1,CU0,CH,IM7,IM4,IPL=???,MODE=KERNEL,EXL,IE>
> Cause register: 0xc01c<CE=0,IP8,IP7,EXC=DBE>
> Exception PC: 0x89005ce8, Exception RA: 0x89002034
> Data Bus error GIO Timeout Interrupt
> Local I/O interrupt register 1: 0x80 <VR/GIO2>
> GIO parity error register: 0x400<TIME>
> GIO bus error: address: 0x90000
> Saved user regs in hex (&gpda 0xa8740e48, &_regs 0xa8741048):
> arg: 8900eab9 80090000 ffe 2000
> tmp: 0 2000 0 0 0 2000 a87feb70 2000
> sve: 2000 8900b9d8 dd370 80091000 0 8900b790 a87fec20 8901d880
> t8 4a12000 t9 2000 at 0 v0 10 v1 fff k1 bad11bad
> gp 8900abe0 fp 8901d87c sp a87febd0 ra 89002034
>
> PANIC: Unexpected exception
>
> [Press reset or ENTER to restart.]
>
> At this point the PROM memory appears to go potty--the baud
> rate to the console looks like it's spewing 9600 baud (I
> run my consoles at 38400).
>
> Power-cycling the machine restores the PROM NVRAM.
>
> The CONFIG consists of:
>
> mod81# cat MRYINDY2
> # $NetBSD: TEAL,v 1.9 2001/11/22 01:11:51 soren Exp $
>
> include "arch/sgimips/conf/std.sgimips"
>
> #makeoptions TEXTADDR=0x80002000 # O2/INDY
> makeoptions TEXTADDR=0x80069000 # O2/INDY Symmon
> #makeoptions TEXTADDR=0x8001c000 # IP27
> #makeoptions TEXTADDR=0x80300000 # IP27 Symmon
>
> maxusers 32
>
> options SCSI_DELAY=5
>
> options MIPS3
> options MIPS3_L2CACHE_ABSENT
> #options MIPS3_L2CACHE_PRESENT
>
> options KTRACE
> options SYSVMSG # System V message queues
> options SYSVSEM # System V semaphores
> options SYSVSHM # System V shared memory
>
> options PARANOIADIAG
>
> options DDB
> options DDB_HISTORY_SIZE=100
> options DEBUG
> options DIAGNOSTIC
>
> #options KGDB
> #options KGDB_DEV=0x2301 # KGDB port - this is Serial(1)
> #options KGDB_DEVRATE=19200 # KGDB Baud Rate
>
> #makeoptions DEBUG="-g"
>
> file-system FFS
> file-system NFS
> file-system KERNFS
> file-system PROCFS
> file-system CD9660 # ISO 9660 + Rock Ridge file system
>
> options NFSSERVER
> options FFS_EI
> options SOFTDEP
>
> options INET
>
> options SCSIVERBOSE
>
> options NFS_BOOT_DHCP
> #options NFS_BOOT_BOOTPARAM
>
> options IP22
>
> config netbsd root on ? type ?
>
> mainbus0 at root
> cpu0 at mainbus0
>
> imc0 at mainbus0 addr 0x1fa00000
> gio0 at imc0
> eisa0 at imc0
>
> hpc0 at gio? addr 0x1fb80000
> hpc1 at gio? addr 0x1fb00000
> #hpc2 at gio? addr 0x1f980000
>
> sq* at hpc0 offset ?
> wdsc* at hpc0 offset ?
> dsclock* at hpc0 offset ?
>
> #
> # As always, the zs chip is wired funny, so channel 1 is actually the
> # first serial port and channel 0 is the second.
> #
> zsc* at hpc0 offset ? # pbus0 device ?
> zstty* at zsc? channel ?
>
> #pbus0 at hpc0
>
> #pckbc0 at pbus0 device ?
>
> scsibus* at wdsc?
> sd* at scsibus? target ? lun ? # SCSI disks
> st* at scsibus? target ? lun ? # SCSI tapes
> cd* at scsibus? target ? lun ? # SCSI CD-ROMs
> ch* at scsibus? target ? lun ? # SCSI changer devices
>
> pseudo-device loop
> pseudo-device pty
> pseudo-device bpfilter 8
> pseudo-device md 1
> pseudo-device rnd # /dev/random and in-kernel generator
> pseudo-device vnd 4
>