Subject: Current kernel hanging
To: None <port-sgimips@netbsd.org>
From: Scott G. Akmentins-Taylor <staylor@mrynet.com>
List: port-sgimips
Date: 11/25/2001 21:05:41
Hi kids,
I can't get a working kernel from the latest cvs snapshots.
It just hangs.  Anyone have a suggestion?  Is it my config
file?  I've also rebuilt via "make build" in case init(8)
was horked.

log and config file follow.

-scott
System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 5
Command Monitor.  Type "exit" to return to the menu.
>> boot nnetbsd

NetBSD/sgimips 1.5Y  Bootstrap, Revision 1.0
(root@mod80, Fri Nov  9 15:25:52 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 887fe168
argv[0]: scsi(0)disk(2)rdisk(0)partition(8)/boot
argv[1]: nnetbsd
argv[2]: ConsoleIn=serial(0)
argv[3]: ConsoleOut=serial(0)
argv[4]: SystemPartition=scsi(0)disk(2)rdisk(0)partition(8)
argv[5]: OSLoader=boot
argv[6]: OSLoadPartition=scsi(0)disk(2)rdisk(0)partition(0)
argv[7]: OSLoadFilename=netbsd
Boot: scsi(0)disk(2)rdisk(0)partition(0)nnetbsd
devopen: scsi(0)disk(2)rdisk(0)partition(0) type scsi file nnetbsd
diskopen: 0,2,0 scsi(0)disk(2)rdisk(0)partition(0)
1358960+136652 [61392+50693]=0x188a28
Starting at 0x88002000

nsym 0x1 ssym 0x8816f23c esym 0x8818aa28
zs channel 0 had address 0xbfbd9830
argv[0]: scsi(0)disk(2)rdisk(0)partition(8)/boot
argv[1]: nnetbsd
argv[2]: ConsoleIn=serial(0)
argv[3]: ConsoleOut=serial(0)
argv[4]: SystemPartition=scsi(0)disk(2)rdisk(0)partition(8)
argv[5]: OSLoader=boot
argv[6]: OSLoadPartition=scsi(0)disk(2)rdisk(0)partition(0)
argv[7]: OSLoadFilename=netbsd
 [ no symbols available ]
IOC rev 1, machine Indy (Guiness), board rev 3
Timer calibration, got 750000 cycles (750000, 750000, 750000)
CPU clock speed = 75.00Mhz
Mem block 1: type 0, base 0x0, size 0x1
Mem block 2: type 1, base 0x1, size 0x1
Mem block 3: type 3, base 0x8002, size 0x73e
Mem block 4: type 6, base 0x8740, size 0xc0
Mem block 5: type 3, base 0x8800, size 0x800
Mem block 6: type 5, base 0x9000, size 0xc
Mem block 7: type 3, base 0x900c, size 0x4ff4
Cluster 2 contains kernel
Loading chunk after kernel: 0x8170 / 0x8740
Loading cluster 4: 0x8800 / 0x9000
Loading cluster 5: 0x9000 / 0x900c
Loading cluster 6: 0x900c / 0xe000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5Y (MRYINDY) #2: Sun Nov 25 17:23:05 CST 2001
    root@mod80:/usr/src/sys/arch/sgimips/compile/MRYINDY
98304 KB memory, 88392 KB free, 768 KB for ARCS, 5016 KB in 1254 buffers
mainbus0 (root): SGI-IP22 [SGI, 690b5eb1], 1 processor
cpu0 at mainbus0: MIPS R5000 CPU (0x2310) Rev. 1.0 with built-in FPU Rev. 1.0
cpu0: 32KB/32B 2-way set-associative L1 Instruction cache, 48 TLB entries
cpu0: 32KB/32B 2-way set-associative write-back L1 Data cache
cpu0: 512KB/32B direct-mapped write-back L2 Data cache
imc0 at mainbus0 addr 0x1fa00000
imc0: Revision 3
gio0 at imc0
hpc0 at gio0 addr 0x1fb80000: SGI HPC3
zsc0 at hpc0 offset 0x59830
zstty0 at zsc0 channel 1 (console i/o)
zstty1 at zsc0 channel 0
sq0 at hpc0 offset 0x54000: SGI Seeq 80c03
sq0: Ethernet address 08:00:69:0b:5e:b1
wdsc0 at hpc0 offset 0x44000: WD33C93B SCSI, rev=0, target 7
scsibus0 at wdsc0: 8 targets, 8 luns per target
dsclock0 at hpc0 offset 0x60000
biomask 07 netmask 07 ttymask 0f clockmask bf
scsibus0: waiting 5 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <SEAGATE, ST34573N, 6244> SCSI2 0/direct fixed
sd0: 4340 MB, 7501 cyl, 5 head, 237 sec, 512 bytes/sect x 8888924 sectors
sd0: sync (200.0ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 2 lun 0: <SEAGATE, ST34573N, 6244> SCSI2 0/direct fixed
sd1: 4340 MB, 7501 cyl, 5 head, 237 sec, 512 bytes/sect x 8888924 sectors
sd1: sync (200.0ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing
sd2 at scsibus0 target 3 lun 0: <SEAGATE, ST34573N, 6244> SCSI2 0/direct fixed
sd2: 4340 MB, 7501 cyl, 5 head, 237 sec, 512 bytes/sect x 8888924 sectors
sd2: sync (200.0ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 4 lun 0: <TOSHIBA, CD-ROM XM-5401TA, 3605> SCSI2 5/cdrom
removable
cd0: sync (300.0ns offset 12), 8-bit (3.333MB/s) transfers
sd3 at scsibus0 target 5 lun 0: <SEAGATE, ST34573N, 6244> SCSI2 0/direct fixed
sd3: 4340 MB, 7501 cyl, 5 head, 237 sec, 512 bytes/sect x 8888924 sectors
sd3: sync (200.0ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing
boot device: sd1
root on sd1a dumps on sd1b
mountroot: trying cd9660...
mountroot: trying nfs...
mountroot: trying ffs...
readclock: 2001/11/26/2/55/58
root file system type: ffs

<hangs hard here, and eventually the INDY resets>

Config file:

mod80# cat MRYINDY
#       $NetBSD: TEAL,v 1.9 2001/11/22 01:11:51 soren Exp $

include         "arch/sgimips/conf/std.sgimips"

makeoptions     TEXTADDR=0x88002000  #tried 0x89069000 as well

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         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