Subject: port-acorn32/17054: Can't boot on an NC (data segment corruption)
To: None <gnats-bugs@gnats.netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: netbsd-bugs
Date: 05/26/2002 23:43:50
>Number:         17054
>Category:       port-acorn32
>Synopsis:       Can't boot on an NC (data segment corruption)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-acorn32-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 26 15:44:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ben Harris
>Release:        2002-05-26
>Organization:
>Environment:
Acorn NC, 32 MB RAM, Irlam Ethernet card.  Netbooting, obviously.
NB This bug also affects 1.6_BETA1

>Description:
Loading a standard 1.6_BETA1 NC_WSCONS kernel, using BtNetBSD 0.99a, I
get, while attaching sysbeep:

panic: config_attach

This seems to occur because something has overwritten sysbeep_vidc_ca.

Specifically, on a similar kernel (-current with DDB), I find that from
0xf01284a0 to 0xf012a04c has been overwritten with a copy of
0xf0120a50 to 0xf01225fc.  That's an offset of 0x7a50.  The .data section
starts at 0xf0120a50 and ends at 0xf01225fc.  i.e. the tail end of the
.data section has been overwritten with a copy of the start.  The bss
seems to be intact.

>How-To-Repeat:
Boot an NC over the network.
/!NFSBoot,feb contains:

| !NFSBoot
| for booting an Acorn NC
NFS
WimpSlot -next 8192k
LoadModeFile AKF60
WimpMode X640 Y480 C256
WimpTask !BtNetBSD.BtNetBSD netbsd

/!BtNetBSD/BtNetBSD is version 0.99a (rev 1.1.1.1)
/AKF60 is arch/acorn32/conf/monitors/AKF60 (rev 1.1)
/netbsd is a gunzipped copy of netbsd-NC_WSCONS.gz from the 200205250000
daily build.

>Fix:



>Release-Note:
>Audit-Trail:
>Unformatted: