Subject: O2 sync almost done
To: None <port-sgimips@netbsd.org>
From: Rafal Boni <rafal@attbi.com>
List: port-sgimips
Date: 01/06/2003 01:43:56
Folks:
	I've sync'ed all the sgimips bits of my tree other than some small
	debug cruft and the bit of extra flesh Chris Sekiya added to the
	MACE Ethernet driver (which still didn't do much of anything, so
	functionality-wise it's no loss).

	I still need to send the R5k cache code to the list (and port-mips)
	so I can get some feedback on it, and am still waiting someone for
	any feedback on the R5k cache enable foo I sent at the start of the
	weekend, but not at least the O2 code should be able to boot from
	a PCI network card or disk, even if with the L2 cache disabled.

	I note that the MACE RTC driver seems to be particularly busted,
	and I'm still getting PCI interrupts lost somewhere (maybe I'm
	not ACK'ing them right?), generally right after boot.

	Log of my boot with the current kernel is appended (though this
	is with the arch/mips changes as well).

--rafal

Obtaining /netbsd-o2-trunk from server lap-3com:/usr/rafal/sgimips/root
2893840+244860 entry: 0x80069000
 [ no symbols available ]
CPU clock speed = 180.00Mhz*MIPS3 Secondary cache detected, but is disabled -- WILL NOT ENABLE!
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    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.6L (GENERIC) #12: Mon Jan  6 01:25:01 EST 2003
    rafal@stinkpad:/usr/rafal/netbsd-src/sys/arch/sgimips/compile/GENERIC
224 MB memory, 197 MB free, 6848 KB for ARCS, 11568 KB in 2892 buffers
mainbus0 (root): SGI-IP32 [SGI, 8], 1 processor
cpu0 at mainbus0: MIPS R5000 CPU (0x2321) Rev. 2.1 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
crime0 at mainbus0 addr 0x14000000: rev 1.1 (CRIME_ID: a1)
mace0 at mainbus0 addr 0x1f000000: rev 1
0: isa sts 0
mace0: isa msk 0
com0 at mace0 offset 0x390000: ns16550a, working fifo
com0: console
mace: established interrupt 4 (level 3)
mace: CRM_MASK now 10
com1 at mace0 offset 0x398000: ns16550a, working fifo
pckbc0 at mace0 offset 0x320000: stub
lpt0 at mace0 offset 0x380000: stub
mcclock0 at mace0 offset 0x3a0000
mec0 at mace0 offset 0x280000: MAC-110 Ethernet, rev 1
mec0: station address 08:00:69:0c:0f:58
mec0: sorry, this is not a real driver
nsphy0 at mec0 phy 8: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
macepci0 at mace0 offset 0x80000: rev 1
pci_addr_fixup: 000:03:0 0x8086 0x1008 new address 0x80100000 (size 0x20000)
pci_addr_fixup: 000:03:0 0x8086 0x1008 new address 0x81100000 (size 0x20000)
pci_addr_fixup: 000:03:0 0x8086 0x1008 new address 0x00003000 (size 0x20)
mace: established interrupt 7 (level 0)
mace: CRM_MASK now 90
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 crime interrupt 8
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel A, SCSI Id=0, 16/255 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
ahc1 at pci0 dev 2 function 0
ahc1: interrupting at crime interrupt 9
ahc1: Using left over BIOS settings
ahc1: aic7880 Wide Channel A, SCSI Id=0, 16/255 SCBs
scsibus1 at ahc1: 16 targets, 8 luns per target
wm0 at pci0 dev 3 function 0: Intel i82544EI 1000BASE-T Ethernet, rev. 2
wm0: interrupting at crime interrupt 10
wm0: Ethernet address 00:02:b3:ab:cd:ef
makphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
biomask 07 netmask 07 ttymask 07 clockmask 87
MACE_ISA_MASK was 0
CRM_MASK: 300710, MACEISA_MASK (1f310018) 4100000
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <SGI, IBM DORS-32160W, WA6A> disk fixed
sd0: drive offline
sd0: async, 8-bit transfers, tagged queueing
cd0 at scsibus0 target 4 lun 0: <TOSHIBA, CD-ROM XM-5401TA, 3605> cdrom removable
cd0: async, 8-bit transfers
scsibus1: waiting 2 seconds for devices to settle...
boot device: <unknown>
root device: wm0
dump device: 
file system (default generic): 
root on wm0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.1.15
nfs_boot: my_name=toaster-wm
nfs_boot: my_domain=waterside.net
nfs_boot: my_addr=192.168.1.21
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.1.1
root on lap-3com:/usr/rafal/sgimips/root
WARNING: clock gained 12047 days -- CHECK AND RESET THE DATE!
root file system type: nfs
init path (default /sbin/init): 
wm0: Receive overrun
Enter pathname of shell or RETURN for /bin/sh: 
wm0: Receive overrun
Terminal type is vt100.                                                 
We recommend creating a non-root account and using su(1) for root access.
# uname -a
 NetBSD toaster-wm 1.6L NetBSD 1.6L (GENERIC) #12: Mon Jan  6 01:25:01 EST 2003     rafal@stinkpad:/usr/rafal/netbsd-src/sys/arch/sgimips/compile/GENERIC sgimips

--- 
Rafal Boni                                                     rafal@attbi.com
  We are all worms.  But I do believe I am a glowworm.  -- Winston Churchill