Subject: Re: New kernel does not boot
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Martin Husemann <martin@duskware.de>
List: port-sgimips
Date: 10/20/2005 22:14:57
--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Oct 21, 2005 at 01:14:47AM +0900, Izumi Tsutsui wrote:
> Have you tried GENERIC32_IP3x?
> Your kernel seems too small, so it might lack some mandatory options?

Well, GENERIC32_IP3x hangs the same way:


46768+416 entry: 0x80002000
                           
NetBSD/sgimips 2.99.10 Bootstrap, Revision 1.2
(martin@night-porter.duskware.de, Tue Nov 16 17:11:31 CET 2004)
                                                               
devopen: scsi(0)disk(1)rdisk(0)partition(0) type scsi file netbsd
4843264+212600 [134800+117662]=0x510374                          
[ Kernel symbol table missing! ]       


but with the r5k_enable_sdcache()
commented out my custom kernel boots. Duh - anything special on this
machine?

Martin

--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

Index: machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/sgimips/sgimips/machdep.c,v
retrieving revision 1.94
diff -c -u -p -r1.94 machdep.c
--- machdep.c	18 Oct 2005 00:47:07 -0000	1.94
+++ machdep.c	20 Oct 2005 20:07:58 -0000
@@ -862,7 +862,7 @@ void mips_machdep_cache_config(void)
 #if defined(MIPS3)
 	case MIPS_R5000:
 	case MIPS_RM5200:
-		r5k_enable_sdcache();
+		/*r5k_enable_sdcache();*/
 		break;
 #endif
 	}

--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.boot"

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    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 3.99.10 (TEQUILA) #1: Thu Oct 20 22:03:16 CEST 2005
	martin@night-porter.duskware.de:/usr/src/sys/arch/sgimips/compile/TEQUILA
total memory = 192 MB
(6848 KB reserved for ARCS)
avail memory = 179 MB
mainbus0 (root): SGI-IP32 [SGI, 5], 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
cpu0: 512KB/32B direct-mapped write-through L2 Data cache
crime0 at mainbus0 addr 0x14000000: rev 1.1 (CRIME_ID: a1)
mace0 at mainbus0 addr 0x1f000000
lpt0 at mace0 offset 0x380000 intr 4 intrmask 0xf0000
mace: established interrupt 4 (level f0000)
com0 at mace0 offset 0x390000 intr 4 intrmask 0x3f00000: ns16550a, working fifo
com0: console
mace: established interrupt 4 (level 3f00000)
com1 at mace0 offset 0x398000 intr 4 intrmask 0xfc000000: ns16550a, working fifo
mace: established interrupt 4 (level fc000000)
pckbc0 at mace0 offset 0x320000 intr 5 intrmask 0x0
mcclock0 at mace0 offset 0x3a0000 intrmask 0x0
mec0 at mace0 offset 0x280000 intr 3 intrmask 0x0: MAC-110 Ethernet, rev 1
mec0: Ethernet address 08:00:69:0c:22:c5
nsphy0 at mec0 phy 8: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
mace: established interrupt 3 (level 0)
macepci0 at mace0 offset 0x80000 intr 7 intrmask 0x0: rev 1
pci_addr_fixup: 000:01:0 0x9004 0x8078 new address 0x00001000 (size 0x100)
pci_addr_fixup: 000:01:0 0x9004 0x8078 new address 0x80100000 (size 0x1000)
pci_addr_fixup: 000:02:0 0x9004 0x8078 new address 0x00002000 (size 0x100)
pci_addr_fixup: 000:02:0 0x9004 0x8078 new address 0x80200000 (size 0x1000)
mace: established interrupt 7 (level 0)
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: Adaptec aic7880 Ultra SCSI adapter
mace: established interrupt 8 (level 0)
ahc0: interrupting at crime interrupt 8
ahc0: Using left over BIOS settings
ahc0: aic7880: Wide Channel A, SCSI Id=0, 16/253 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
ahc1 at pci0 dev 2 function 0: Adaptec aic7880 Ultra SCSI adapter
mace: established interrupt 9 (level 0)
ahc1: interrupting at crime interrupt 9
ahc1: Using left over BIOS settings
ahc1: aic7880: Wide Channel A, SCSI Id=0, 16/253 SCBs
scsibus1 at ahc1: 16 targets, 8 luns per target
biomask 07 netmask 07 ttymask 07 clockmask 87
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <SEAGATE, ST34572WC, 0784> disk fixed
sd0: 4340 MB, 6300 cyl, 8 head, 176 sec, 512 bytes/sect x 8888924 sectors
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
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs

--CE+1k2dSO48ffgeK--