Subject: Re: New O2: netbsd does not like it
To: Ken Wills <kenwills@tds.net>
From: Matt Thomas <matt@3am-software.com>
List: port-sgimips
Date: 09/20/2000 08:13:11
At 08:22 AM 9/20/2000 -0500, you wrote:
>* Matt Thomas <matt@3am-software.com> [000919 17:42]:
> > Whn I initially netbooted over the kdb/screen, the kernel
> > died with a pcierr.
> >
> > So I switched to the com port for the console, and now I get
> >
> >                     System: IP32
> >                  Processor: 200 Mhz R5000, with FPU
> >       Primary I-cache size: 32 Kbytes
> >       Primary D-cache size: 32 Kbytes
> >       Secondary cache size: 1024 Kbytes
> >                Memory size: 128 Mbytes
> >                   Graphics: CRM, Rev C
> >
> > NetBSD 1.5A (INDY) #142: Tue Jun 27 17:40:37 CEST 2000
> >      soren@meow:/usr/home/soren/netbsd/src/sys/arch/sgimips/compile/INDY
> > 128 MB memory, 78780 KB free, 6848 KB for ARCS, 39240 KB in 9810 buffers
> > mainbus0 (root): SGI-IP32 [SGI, 6]
> > cpu0 at mainbus0: MIPS R5000 CPU (0x2321) Rev. 2.1 with built-in FPU 
> Rev. 1.0
> > cpu0: L1 cache: 32KB/32B instruction, 32KB/32B data, two way set 
> associative
> > cpu0: L2 cache: 512KB/32B mixed, snooping
> >
> > and then about 10 seconds pass and I get thrown the diagnostic menu.
>
>I was stumped by something similar for a while too. I was trying to find 
>out why it would begin to boot (as yours
>does) , then freeze, and reboot. After poking around in the sgimips code, 
>I noticed that dbaud is set to 384800
>(there is code to read dbaud here, but it's commented out AFAIR). My dbaud 
>was set to 9600.
>As soon as I changed dbaud in the O2 prom, it came up and has been happy 
>ever since. (I've built kernels and
>such on the thing since.)
>
>I don't know if this is your problem of not, just thought I'd throw this 
>out there for the archives.

That was it.  Thanks.

 > bootp():netbsd.ip32
Setting $netaddr to 192.168.7.32 (from server fireball2)
Obtaining netbsd.ip32 from server fireball2
1245528+36896+152192 entry: 0x80002000
memory 0x163000 0xd50000
memory 0x1400000 0x8000000
Copyright (c) 1996, 1997, 1998, 1999, 2000
     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.5A (INDY) #142: Tue Jun 27 17:40:37 CEST 2000
     soren@meow:/usr/home/soren/netbsd/src/sys/arch/sgimips/compile/INDY
128 MB memory, 78780 KB free, 6848 KB for ARCS, 39240 KB in 9810 buffers
mainbus0 (root): SGI-IP32 [SGI, 6]
cpu0 at mainbus0: MIPS R5000 CPU (0x2321) Rev. 2.1 with built-in FPU Rev. 1.0
cpu0: L1 cache: 32KB/32B instruction, 32KB/32B data, two way set associative
cpu0: L2 cache: 512KB/32B mixed, snooping
crime0 at mainbus0 addr 0x14000000: rev 1.1
mace0 at mainbus0 addr 0x1f000000
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
mec0 at mace0 offset 0x280000 intr 3: MAC-110 Ethernet, rev 1
mec0: station address 08:00:69:05:ad:d6
mec0: sorry, this is not a real driver
nsphy0 at mec0 phy 15: 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: control 0ff0005ff
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: No SEEPROM available
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: No SEEPROM available
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: Macronix MX98713 Ethernet, pass 0.0
tlp0: interrupting at mace
tlp0: Ethernet address 00:80:ad:b7:fe:de
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX
biomask 7f netmask 7f ttymask 7f clockmask ff
ahc0: target 1 using tagged queuing
sd0 at scsibus0 target 1 lun 0: <SGI, IBM DDRS-34560W, S96A> SCSI2 0/direct 
fixed
sd0: 4340 MB, 8387 cyl, 5 head, 211 sec, 512 bytes/sect x 8888543 sectors
cd0 at scsibus0 target 4 lun 0: <TOSHIBA, CD-ROM XM-5701TA, 0167> SCSI2 
5/cdrom removable
boot device: <unknown>
root device:

However, trying to boot off tlp0 doesn't work (dhcp is sent/received) but
the kernel doesn't seem to see the received packets.  Closer.
--
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message