Subject: Re: my O2 udpate.
To: Matt Thomas <matt@3am-software.com>
From: Ken Wills <kenwills@tds.net>
List: port-sgimips
Date: 11/24/2000 20:38:22
* Matt Thomas <matt@3am-software.com> [001124 15:48]:
> At 03:20 PM 11/24/2000 -0600, Ken Wills wrote:
> >* Matt Thomas <matt@3am-software.com> [001124 00:50]:

[ ... snipped various crashing stuff ... ]

> >On another note, does anyone have swap working at the moment? I've tried 
> >getting mine
> >to see some, but without sucess - netbsd disklabel won't allow me to label 
> >the disk,
> >and SGI's fx doesn't let me do type 'swap' nearest thing is type 'raw'. 
> >Anyone had any
> >success with this (I want it for crash dumps).
> 
> I'm running diskless.  I've stopped using swap partitions and use swap 
> files now.

How did you configure the swap files? I can't get it to sucessfully
accept any files I point it to. I've tried ordinary files, dd into files, vnd . I'm obviously missing something here. How do you configure and add swap files?

> >You look like you might have a problem in your kernel config file though:
> >
> > > vendor 0x9004 product 0x8078 (SCSI mass storage) at pci0 dev 1 function 0
> > > not configured
> >
> >Are you sure ahc is correct in you config file?
> 
> I disabled ahc so I could boot.  So, no, there isn't a problem.

Ahh. Right. Here's mine, for the record: (This is from about 1 week ago)

NetBSD 1.5K (EL1) #2: Wed Dec 31 16:36:59 PST 1969
    root@elrondtlp0.yaberk.int:/nfs/spanky/usr/netbsd1/src/sys/arch/sgimips/compile/EL1
65536 KB memory, 52260 KB free, 6848 KB for ARCS, 3376 KB in 844 buffers
mainbus0 (root): SGI-IP32 [SGI, f]
cpu0 at mainbus0: MIPS R5000 CPU (0x2321) Rev. 2.1 with MIPS R5010 FPC Rev. 1.0cpu0: L1 cache: 32KB/32B instruction, 32KB/32B data, two way set associative
cpu0: No L2 cache
crime0 at mainbus0 addr 0x14000000: rev 1.1
mace0 at mainbus0 addr 0x1f000000
mace0: isa sts 0
mace0: isa msk 0
com0 at mace0 offset 0x390000 intr 4: ns16550a, working fifo
com0: console
com1 at mace0 offset 0x398000 intr 4: ns16550a, working fifo
pckbc0 at mace0 offset 0x320000 intr 5: stub
lpt0 at mace0 offset 0x380000 intr 4: stub
mec0 at mace0 offset 0x280000 intr 3: MAC-110 Ethernet, rev 1
mec0: station address 08:00:69:05:de:ef
mec0: sorry, this is not a real driver
nsphy0 at mec0 phy 8: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
macepci0 at mace0 offset 0x80000 intr 7: rev 1
macepci0: ctrl ff0005ff
pci0 at macepci0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ahc0 at pci0 dev 1 function 0
ahc0: interrupting at mace
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel A, SCSI Id=0, 16/255 SCBs
scsibus0 at ahc0 channel 0: 16 targets, 8 luns per target
ahc1 at pci0 dev 2 function 0
ahc1: interrupting at mace
ahc1: Using left over BIOS settings
ahc1: aic7880 Wide Channel A, SCSI Id=0, 16/255 SCBs
scsibus at ahc1 channel 0 not configured
tlp0 at pci0 dev 3 function 0: DECchip 21041 Ethernet, pass 2.1
tlp0: interrupting at mace
tlp0: Ethernet address 00:e0:29:10:4c:38
tlp0: 10baseT, 10baseT-FDX
biomask 7f netmask 7f ttymask 7f clockmask ff
ahc0: target 1 using tagged queuing
sd0 at scsibus0 target 1 lun 0: <SGI, SEAGATE ST31230N, 0272> SCSI2 0/direct fixed
sd0: 1010 MB, 3992 cyl, 5 head, 103 sec, 512 bytes/sect x 2070235 sectors
boot device: <unknown>
root device: sd0a
dump device (default sd0b): 
file system (default generic): 
root on sd0a dumps on sd0b
mountroot: trying nfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
/dev/sd0a: file system not clean (fs_flags=0); please fsck(8)


Typically the above machine will panic with:

panic: lockmgr: no context
Stopped at      0x800fe860:     jr      ra
                bdslot: nop

or more infrequently:

panic: TLB out of universe: ksp 0xc490bf78 epc 0x8004b3d4 vaddr 0xcfb1f000
Stopped at      0x800fe860:     jr      ra
                bdslot: nop

db>
 PID             PPID       PGRP        UID S   FLAGS          COMMAND    WAIT
 8658            8288       8658          0 3  0x4086             bash   ttyin
o8288            8273       8288       1000 3  0x4086             bash    wait
t

 8273             147        147          0 3  0x4084          telnetd  select
 154                1          1          0 3  0x4084            getty  ttyopn
 153                1        153          0 3  0x4086             bash   ttyin
 151                1        151          0 3    0x84             cron nanosle
 147                1        147          0 3    0x84            inetd  select
 80                 0          0          0 3 0x20284            nfsio  nfsidl
 79                 0          0          0 3 0x20284            nfsio  nfsidl
 78                 0          0          0 3 0x20284            nfsio  nfsidl
 77                 0          0          0 3 0x20284            nfsio  nfsidl
 59                 1         59          0 3    0x84          syslogd  select
 4                  0          0          0 3 0x20204          ioflush  syncer
 3                  0          0          0 3 0x20204           reaper  reaper
 2                  0          0          0 3 0x20204       pagedaemon daemon_
 1                  0          1          0 3  0x4084             init    wait
 0                 -1          0          0 3 0x20204          swapper schedul

db> trace
80106038+60 (80168f50,100,5,d) ra 8010b10c sz 72
8010b028+e4 (100,100,5,d) ra 8004b500 sz 24
8004b3cc+134 (100,0,5,30) ra 8001a65c sz 48
8001a5f8+64 (100,0,5,30) ra 12a00028 sz 72
PC 0x12a00028: not in kernel space
0+12a00028 (100,0,5,30) ra 0 sz 0
User-level: curproc NULL
db>

db> machine tlb
TLB  0 Hi 0xc4d9e000 Lo0=0x03fe9000 DG attr 3 Lo1=0x03fe8000 DG attr 3 sz=0
TLB* 1 Hi 0x80000000 Lo0=0x00000000    attr 0 Lo1=0x00000000    attr 0 sz=0
TLB* 2 Hi 0xc492a004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB* 3 Hi 0xc4952004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB* 4 Hi 0xc4918004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB* 5 Hi 0xc4948004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB* 6 Hi 0xc490e004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB* 7 Hi 0xc4936004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB* 8 Hi 0xc4966004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB* 9 Hi 0xc492c004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*10 Hi 0xc4954004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*11 Hi 0xc491a004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*12 Hi 0xc494a004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*13 Hi 0xc4910004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*14 Hi 0xc4938004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*15 Hi 0xc4968004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*16 Hi 0xc492e004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*17 Hi 0xc4956004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*18 Hi 0xc4924004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*19 Hi 0xc494c004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*20 Hi 0xc4912004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*21 Hi 0xc4942004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*22 Hi 0xc496a004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*23 Hi 0xc4930004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*24 Hi 0xc4960004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*25 Hi 0xc4926004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*26 Hi 0xc494e004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*27 Hi 0xc491c004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*28 Hi 0xc4944004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB 29 Hi 0xc490a004 Lo0=0x005ae000 DG attr 3 Lo1=0x003ec000 DG attr 3 sz=0
TLB*30 Hi 0xc493a004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*31 Hi 0xc4962004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*32 Hi 0xc4928004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*33 Hi 0xc4958004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*34 Hi 0xc491e004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*35 Hi 0xc4946004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*36 Hi 0xc4914004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*37 Hi 0xc493c004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*38 Hi 0xc4964004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*39 Hi 0xc4932004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*40 Hi 0xc495a004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*41 Hi 0xc4920004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*42 Hi 0xc4950004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*43 Hi 0xc4916004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*44 Hi 0xc493e004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*45 Hi 0xc490c004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*46 Hi 0xc4934004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0
TLB*47 Hi 0xc495c004 Lo0=0x00000000  G attr 0 Lo1=0x00000000  G attr 0 sz=0


Any clues?

Thanks,

Ken
-- 
Ken Wills
kenwills@tds.net