Subject: Re: 3.99.x/sparc => Watchdog Reset`
To: NetBSD SPARC port <port-sparc@NetBSD.org>
From: Greywolf <greywolf@starwolf.com>
List: port-sparc
Date: 04/15/2005 18:26:03
[Thus spake I ("G: ") 10:43am...]
G: [Thus spake I ("G: ") Monday...]
G:
G: G: hey there.
G: G:
G: G: Doesn't matter if the kernel is custom or generic.
G: G: When I boot it, I get
G: G:
G: G: TTTTTTT+DDDDDDD+BBBBBBB[+ddddddd+bbbbbb]
G: G: and the two copyright notices, then
G: G:
G: G: Watchdog Reset
G: G: Program Terminated
G: G: ok
G:
G: I think the problem lies in the generation of the cross-compile tools
G: and the flags used to build binaries, as I built a 2.0.2 kernel and
G: it watchdogged right after the power management attach, just before
G: the qfe/hme attach. Something is definitely amiss here, but as the
G: pre-compiled GENERIC does not fail, it must be something I'm doing wrong.
G:
G: I have my box set up to use "-mcpu=ath-xp" and the sse fp extensions.
G: Now, i don't THINK the compiler requires FP when compiling a kernel,
G: but as a precaution, I'm ripping them out and rebuilding my stuff.
G:
G: I'll post again when I finish rebuilding...
Finished rebuilding.
Build kernel with cross compile. *boom*. fails.
Build kernel native. *boom*. fails.
Notably the 3.99 kernel fails instantly.
The 2.0.2 kernel, both GENERIC and machine-specific, fail at the
same place later on in the boot.
Rebooting with command: genbsd202 -s
Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: genbsd202 -s
>> NetBSD/sparc Secondary Boot, Revision 1.14
>> (greywolf@rivendell.starwolf.com, Tue Oct 28 21:10:08 PST 2003)
Booting genbsd202
5483404+99396+328976 [209280+166136]=0x60f198
OBP version 3, revision 2.29 (plugin rev 2)
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
[a 3.99.x kernel fails RIGHT HERE]
NetBSD 2.0_STABLE (GENERIC) #0: Fri Apr 15 17:22:10 PDT 2005
root@lothlorien.starwolf.com:/export/src/sys/arch/sparc/compile/GENERIC
total memory = 255 MB
avail memory = 243 MB
bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@3,0
mainbus0 (root): SUNW,SPARCstation-5: hostid 808e6505
cpu0 at mainbus0: DVMA coherent : MB86907 @ 170 MHz, on-chip FPU
cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 512K external (32 b/l): cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08
timer0 at obio0 slot 0 offset 0xd00000: delay constant 82
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0: baud rate 1200
ms0 at zs1 channel 1: baud rate 1200
slavioconfig at obio0 slot 0 offset 0x800000 not configured
auxreg0 at obio0 slot 0 offset 0x900000
power0 at obio0 slot 0 offset 0x910000 level 2
Watchdog Reset
Type help for more information
ok
****
I will take the silence as meaning a) nobody can reproduce this or 2)
I'm beyond help given my outspoken stance in the apparently wrong
direction.
I'm doing one more test: building on a local disk on the Sun (which has
limited space) because I suspect the disk on the i386 might be giving
me some problems. But my i386 kernel built all right and runs fine.
any help on this is appreciated.
--*greywolf;
--
_________________________ _________________________
| NEW HAMPSHIRE | | NEW HAMPSHIRE |
| | | |
| # # ##### ##### ### | | # #### #### #### |
| ## # # # # # | | ## # # # # # |
| # # # ### # ## | | # # #### ### # # |
| # ## # # # | | ##### # # # # # |
| # AT&T### # ##### | | # #### #### #### |
| LIVE ^ FREE OR DIE | | LIVE FREE OR DIE |
`-------------------------' `-------------------------'