NetBSD Problem Report #31308

From rpaulo@neutron.internal.fnop.net  Tue Sep 13 18:14:34 2005
Return-Path: <rpaulo@neutron.internal.fnop.net>
Received: from neutron.internal.fnop.net (unknown [83.144.140.111])
	by narn.netbsd.org (Postfix) with ESMTP id 9434E63B877
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Sep 2005 18:14:33 +0000 (UTC)
Message-Id: <20050913173750.789FA614B@neutron.internal.fnop.net>
Date: Tue, 13 Sep 2005 18:37:50 +0100 (WEST)
From: rpaulo@NetBSD.org
Reply-To: rpaulo@NetBSD.org
To: gnats-bugs@netbsd.org
Subject: panic netbooting 2.1_RC3
X-Send-Pr-Version: 3.95

>Number:         31308
>Category:       port-sparc
>Synopsis:       panic netbooting 2.1_RC3
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sparc-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 13 18:15:00 +0000 2005
>Closed-Date:    Wed Sep 14 02:05:22 +0000 2005
>Last-Modified:  Wed Sep 14 02:05:22 +0000 2005
>Originator:     Rui Paulo
>Release:        NetBSD 2.1_RC3
>Organization:
>Environment:


System: NetBSD neutron.internal.fnop.net 2.1_RC3 NetBSD 2.1_RC3 (GENERIC.MP) #0: Sat Sep 3 22:59:28 UTC 2005 builds@works.netbsd.org:/home/builds/ab/netbsd-2/sparc/200509020000Z-obj/home/builds/ab/netbsd-2/src/sys/arch/sparc/compile/GENERIC.MP sparc
Architecture: sparc
Machine: sparc
>Description:

netbooting NetBSD/sparc 2.1_RC3 triggers an alignment fault.
Here's the dmesg:
<#0> ok boot net-tpe
Boot device: /iommu/sbus/ledma@f,400010:tpe/le@f,c00000  File and args: 
13a00 
>> NetBSD/sparc Secondary Boot, Revision 1.14
>> (builds@works.netbsd.org, Thu Sep  1 21:06:41 UTC 2005)
Booting netbsd
Trying BOOTP protocol... net_open: client addr: 10.0.1.4
net_open: subnet mask: 255.255.255.224
net_open: net gateway: 10.0.1.1
net_open: server addr: 10.0.1.3
net_open: server path: /srv/nfs/netboot/sparc
ip address: 10.0.1.4, netmask: 255.255.255.224, gateway: 10.0.1.1
root addr=10.0.1.3 path=/srv/nfs/netboot/sparc
3064664+99404+329184 [189872+164425]=0x3bb7e4
OBP version 3, revision 2.19 (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.

NetBSD 2.1_RC3 (GENERIC) #0: Thu Sep  1 21:28:17 UTC 2005
        builds@works.netbsd.org:/home/builds/ab/netbsd-2-1-RC3/sparc/200508312123Z-obj/home/builds/ab/netbsd-2-1-RC3/src/sys/arch/sparc/compile/GENERIC
total memory = 127 MB
avail memory = 120 MB
bootpath: /iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010:t/le@f,c00000
mainbus0 (root): SUNW,SPARCstation-20: hostid 7272a6fa
cpu0 at mainbus0: mid 8: TMS390Z50 v0 or TMS390Z55 @ 50 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l): cache enabled
cpu at mainbus0 not configured
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08
timer0 at obio0 slot 0 offset 0x300000: delay constant 23
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
fdc0 at obio0 slot 0 offset 0x700000 level 11: no drives attached
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range 64MB
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: DMA rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: DMA rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:72:a6:fa
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): DMA rev 2
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
dma1 at sbus0 slot 0 offset 0x81000: DMA rev esc
esp1 at dma1 slot 0 offset 0x80000 level 3 (ipl 5): ESP200, 40MHz, SCSI ID 7
scsibus1 at esp1: 8 targets, 8 luns per target
lebuffer0 at sbus0 slot 0 offset 0x40000: 128K memory
le1 at lebuffer0 slot 0 offset 0x60000 level 4 (ipl 7): address 08:00:20:72:a6:fa
le1: 64 receive buffers, 16 transmit buffers
cgsix0 at sbus0 slot 2 offset 0x0 level 9: SUNW,501-1672, 1152 x 900, rev 8
cgsix0: attached to /dev/fb
eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <IBM, DORS32160SUN2.1G, WA7A> disk fixed
sd0: 2063 MB, 6703 cyl, 5 head, 126 sec, 512 bytes/sect x 4226725 sectors
sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
root on le0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 10.0.1.3
nfs_boot: my_name=neutron.internal.fnop.net
nfs_boot: my_domain=internal.fnop.net
nfs_boot: my_addr=10.0.1.4
nfs_boot: my_mask=255.255.255.224
nfs_boot: gateway=10.0.1.1
trap type 0x7: pc=0xf01bdf48 npc=0xf01bdf4c psr=400001c5<S,PS>
panic: alignment fault
syncing disks... done
Frame pointer is at 0xf0307ad8
Call traceback:
  pc = 0xf027b08c  args = (0xf035db50, 0x5, 0x0, 0x0, 0xf0307bf8, 0x1, 0xf0307b40) fp = 0xf0307b40
  pc = 0xf01a4b34  args = (0x100, 0x0, 0x0, 0x0, 0x0, 0x3f, 0xf0307bb0) fp = 0xf0307bb0
  pc = 0xf0288a20  args = (0xf02ee5d8, 0x7, 0xf01bdf48, 0xf01bdf4c, 0xf035fc00, 0x100, 0xf0307c18) fp = 0xf0307c18
  pc = 0xf0008694  args = (0x7, 0x400001c5, 0xf01bdf48, 0xf0307d50, 0x48c, 0xf0330360, 0xf0307cf0) fp = 0xf0307cf0
  pc = 0xf01bebe4  args = (0x0, 0x118, 0x0, 0x64, 0x0, 0xf035db50, 0xf0307da0) fp = 0xf0307da0
  pc = 0xf00f8b4c  args = (0xf06d8000, 0x0, 0xf0307e88, 0xf0645300, 0x0, 0x10000, 0xf0307e18) fp = 0xf0307e18
  pc = 0xf00f5b68  args = (0x0, 0xf0645500, 0x0, 0xf0645100, 0xf00f5938, 0xf0307f1c, 0xf0307eb0) fp = 0xf0307eb0
  pc = 0xf00f58c8  args = (0x0, 0x186a0, 0x2, 0x3, 0xf0307f94, 0x0, 0xf0307f30) fp = 0xf0307f30
  pc = 0xf00f8ee8  args = (0xf06d5858, 0x186a5, 0x3, 0x11, 0xf06d585a, 0xf0365800, 0xf0307fa0) fp = 0xf0307fa0
  pc = 0xf00f8dd4  args = (0xf06d5858, 0xf06d5871, 0xf06d5810, 0x0, 0x803, 0xf06d5858, 0xf0308010) fp = 0xf0308010
rebooting

Resetting ... 




>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:
From: Rui Paulo <rpaulo@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc/31308: panic netbooting 2.1_RC3
Date: Tue, 13 Sep 2005 19:57:49 +0100

 --jousvV0MzM2p6OtC
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 The kernel is GENERIC, so DDB is not active. The machine seems to be
 trying to dump core like Christos told me.
 The call trace:
 % foreach i (f027b08c f01a4b34 f0288a20  f01bebe4 f01bebe4 f00f8b4c f00f5b6=
 8 f00f58c8 f00f8ee8 f00f8dd4)=20
 foreach? grep ^$i disasm
 foreach? end
 f027b08c:       40 00 00 4d     call  f027b1c0 <dumpsys>
 f01a4b34:       40 03 58 e5     call  f027aec8 <cpu_reboot>
 f0288a20:       7f fc 70 0b     call  f01a4a4c <panic>
 f01bebe4:       40 00 04 d5     call  f01bff38 <sbwait>
 f01bebe4:       40 00 04 d5     call  f01bff38 <sbwait>
 f00f8b4c:       9f c0 80 00     call  %g2
 f00f5b68:       40 00 0b bb     call  f00f8a54 <nfs_boot_sendrecv>
 f00f58c8:       40 00 00 39     call  f00f59ac <krpc_call>
 f00f8ee8:       7f ff f2 60     call  f00f5868 <krpc_portmap>
 f00f8dd4:       40 00 00 36     call  f00f8eac <md_mount>


 		-- Rui Paulo

 --jousvV0MzM2p6OtC
 Content-Type: application/pgp-signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (NetBSD)

 iD8DBQFDJyEtZPqyxs9FH4QRAoSkAKCp4WN5Xx17wrjig7Xukqs2o0Jx5QCff/zt
 ZYCje2l8gONqlnpa8Y/I4Ro=
 =sXul
 -----END PGP SIGNATURE-----

 --jousvV0MzM2p6OtC--

From: Jeff Rizzo <riz@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/31308 CVS commit: [netbsd-2] src/doc
Date: Tue, 13 Sep 2005 23:25:31 +0000 (UTC)

 Module Name:	src
 Committed By:	riz
 Date:		Tue Sep 13 23:25:31 UTC 2005

 Modified Files:
 	src/doc [netbsd-2]: CHANGES-2.1

 Log Message:
 Ticket #5598 was backed out - was causing netboot problems for sparc.
 Fixes PR#31308.


 To generate a diff of this commit:
 cvs rdiff -r1.1.2.188 -r1.1.2.189 src/doc/CHANGES-2.1

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: rpaulo@netbsd.org
State-Changed-When: Wed, 14 Sep 2005 02:05:22 +0000
State-Changed-Why:
Problem found && fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.