Subject: Re: Newer snapshot than 19980525 ?
To: None <port-sparc@netbsd.org>
From: Andreas Eltrich <elchy@dahoam.de>
List: port-sparc
Date: 10/27/1998 10:34:11
I (Andreas Eltrich) wrote:
> I've tried to get a -current running on my Sparc Classic X. I started with
> the 19980525 snapshot, but this kernel fails to netboot. After probing esp0
> there is a "panic: trap".
>
> Next I installed 1.3.2, which works fine. But doing a "make build" with
> current sources just seems to be not possible - at least for me ;) The
> system ran into a very poor state, after the new libc was installed...
In the meantime I've managed to compile a custom kernel from Oct 17th
sources, but this kernel seems to have the same problem with netbooting as
the kernel from the 19980525 snapshot.
Please have a look at my console output:
SPARCclassic X Information
Rom Rev: 2.12
Memory: 16 MB
Ethernet address: 8:0:20:19:bf:52
>> NetBSD/sparc Secondary Boot, Revision 1.7
>> (elchy@xnetbsd.tlk.com, Fri Oct 16 19:59:36 CEST 1998)
boot: client IP address: 194.97.84.59
boot: client name: xnetbsd
root addr=194.97.84.25 path=/scratch/NetBSD
Booting netbsd @ 0x4000
1286144+123976+135840+[80280+95951]=0x1a8757
pmap_bootstrap: installing kernel page tables...done.
[ preserving 176236 bytes of netbsd symbol table ]
console is ttya
Copyright (c) 1996, 1997, 1998
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.3H (XNETBSD) #0: Mon Oct 26 07:59:05 PST 1998
elchy@xnetbsd.tlk.com:/usr/src/sys/arch/sparc/compile/XNETBSD
real mem = 16613376
avail mem = 13283328
using 202 buffers containing 827392 bytes of memory
bootpath: /iommu@0,10000000/sbus@0,10001000/ledma@4,8400010/le@4,8c00000
mainbus0 (root): SUNW,SPARCclassic-X
cpu0 at mainbus0: TMS390S10 @ 50 MHz, on-chip FPU
cpu0: physical 4K instruction (32 b/l), 2K data (16 b/l): cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08 (eeprom)
timer0 at obio0 slot 0 offset 0xd00000 delay constant 23
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0
ms0 at zs1 channel 1
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
fdc0 at obio0 slot 0 offset 0x400000 level 11 softpri 4: chip 82077
iommu0 at mainbus0 addr 0x10000000: version 0x1/0x4, page-size 4096, range 64MB
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 4 offset 0x8800000: rev unknown (0x70000000)
esp0 at dma0 slot 4 offset 0x8400000data fault: pc=0xf00f7d94 addr=0x0 sfsr=126<PERR=0,LVL=1,AT=1,FT=1,FAV,OW>
panic: kernel fault
Stopped in at _Debugger+0x4: jmpl [%o7 + 0x8], %g0
db> trace
_mem_access_fault4m(0x9, 0x126, 0x0, 0xf01455b8, 0x2, 0xfe027000) at _mem_access_fault4m+0x308
memfault_sun4m(0xf00f7c00, 0x0, 0x8400000, 0x40, 0x2, 0x0) at memfault_sun4m+0x14c
_espattach_dma(0xf0281900, 0xf027d000, 0xf01457c0, 0xf00f7cb0, 0x0, 0xc) at _espattach_dma+0xbc
_config_attach(0xf027d000, 0xf0147100, 0xf01457c0, 0x0, 0x1ffffff, 0x8000000) at _config_attach+0x314
_config_found_sm(0xf0281900, 0xf01457c0, 0xf00f6f88, 0x0, 0x0, 0xf01457c0) at _config_found_sm+0x24
_dmaattach_sbus(0xf0281a00, 0xf0282f40, 0xf00f6c00, 0xf00f705c, 0x0, 0xc) at _dmaattach_sbus+0x248
_config_attach(0xf0281900, 0xf0147100, 0xf0145940, 0x0, 0xf0145964, 0x8000000) at _config_attach+0x314
_config_found_sm(0xf0281a00, 0xf0145940, 0xf00f81bc, 0x0, 0xf01798a8, 0xf0145940) at _config_found_sm+0x24
_sbus_attach_common(0xf0281a00, 0xf016c3d8, 0x0, 0xf01798a8, 0x0, 0xfe025000) at _sbus_attach_common+0x210
_sbus_attach_iommu(0xf027fe40, 0xf0281a00, 0xf0145b30, 0xf00f83fc, 0x0, 0x1) at _sbus_attach_iommu+0x110
_config_attach(0xf0281a00, 0xf0147100, 0xf0145b30, 0x0, 0xffffffff, 0xc) at _config_attach+0x314
_config_found_sm(0xf027fe40, 0xf0145b30, 0xf00ee134, 0x0, 0xf0145b40, 0xf0158ed8) at _config_found_sm+0x24
_iommu_attach(0xf027ffc0, 0xf027fe40, 0xf0145ce0, 0xf00ee274, 0x0, 0xf) at _iommu_attach+0x400
_config_attach(0xf027fe40, 0xf0147100, 0xf0145ce0, 0x0, 0xf0145c30, 0x17) at _config_attach+0x314
_config_found_sm(0xf027ffc0, 0xf0145ce0, 0xf0110738, 0x0, 0x0, 0x1) at _config_found_sm+0x24
_mainbus_attach(0x0, 0xf027ffc0, 0x0, 0xf0110970, 0x0, 0x1) at _mainbus_attach+0x3d4
_config_attach(0xf027ffc0, 0xf0147100, 0x0, 0x0, 0x0, 0x0) at _config_attach+0x314
_config_rootfound(0xf0110528, 0x0, 0xf011065c, 0xffef080c, 0x0, 0xca) at _config_rootfound+0x3c
_configure(0x87654321, 0xf016c800, 0xca000, 0x80000, 0x0, 0x0) at _configure+0x3c
_cpu_startup(0xf0148800, 0x1, 0x71e103e, 0xf0145f1c, 0xf0145f18, 0x2ff860) at _cpu_startup+0x308
_main(0x0, 0xfffffff8, 0xf0002198, 0xf01468e3, 0x2ffd38, 0x2c) at _main+0x5c
startmap_done(0x1, 0xffd2488c, 0x304e10, 0x1, 0xffffffff, 0x10) at startmap_done+0x138
db>
Can anyoune tell me what is going on here? Unfortunately I can't save a
dump at this time...
Here ist the kernel config file I used to build the custom kernel:
include "arch/sparc/conf/std.sparc"
maxusers 32
options SUN4M
options RASTERCONSOLE
config netbsd root on ? type ?
options KTRACE
options SYSVMSG
options SYSVSEM
options SYSVSHM
options NFS_BOOT_BOOTPARAM
options DDB
options DDB_HISTORY_SIZE=100
options DDB_ONPANIC=1
makeoptions DEBUG="-g"
options DIAGNOSTIC
options DEBUG
options SCSIVERBOSE
options UCONSOLE
options COMPAT_43
options COMPAT_10
options COMPAT_11
options COMPAT_12
options COMPAT_13
options COMPAT_SUNOS
options COMPAT_SVR4
options EXEC_ELF32
file-system FFS
file-system NFS
file-system KERNFS
file-system NULLFS
file-system MFS
file-system FDESC
file-system UMAPFS
file-system LFS
file-system PORTAL
file-system PROCFS
file-system CD9660
file-system UNION
file-system MSDOSFS
options NFSSERVER
options INET
options TCP_COMPAT_42
options NTP
mainbus0 at root
cpu0 at mainbus0
obio0 at mainbus0
iommu0 at mainbus0
sbus0 at iommu0
auxreg0 at obio0
power0 at obio0
clock0 at obio0
memreg0 at obio0
timer0 at obio0
zs0 at obio0
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1
zs1 at obio0
kbd0 at zs1 channel 0
ms0 at zs1 channel 1
dma0 at sbus0 slot ? offset ?
esp0 at dma0 flags 0x0000
dma* at sbus? slot ? offset ?
esp* at sbus? slot ? offset ? flags 0x0000
esp* at dma? flags 0x0000
scsibus* at esp?
sd* at scsibus? target ? lun ?
st* at scsibus? target ? lun ?
cd* at scsibus? target ? lun ?
ss* at scsibus? target ? lun ?
uk* at scsibus? target ? lun ?
fdc0 at obio0
fd* at fdc0
ledma0 at sbus0 slot ? offset ?
le0 at ledma0
audioamd0 at sbus0 slot ? offset ?
audio* at audioamd0
bwtwo0 at sbus0 slot ? offset ?
bwtwo* at sbus? slot ? offset ?
cgthree0 at sbus? slot ? offset ?
cgthree* at sbus? slot ? offset ?
pseudo-device vnd 4
pseudo-device ccd 4
pseudo-device loop
pseudo-device bpfilter 8
pseudo-device pty 32
Perhaps I should mention, that there is no SCSI disk connected at the
moment. The SCSI plug inside is empty.
Any hints are appreciated.
Bye, Elchy
--
Andreas Eltrich ( ( ) ( ) ) Mail: elchy@dahoam.de
Munich, Germany `-^-^-@@-^-^-' http://www.dahoam.de/
Tel: +49-89-54379757 (..) Fax/Modem: +49-89-54379758