NetBSD Problem Report #49164

From www@NetBSD.org  Fri Aug 29 21:44:48 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 79F96B72D5
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 29 Aug 2014 21:44:48 +0000 (UTC)
Message-Id: <20140829214446.B836AB7306@mollari.NetBSD.org>
Date: Fri, 29 Aug 2014 21:44:46 +0000 (UTC)
From: jun@soum.co.jp
Reply-To: jun@soum.co.jp
To: gnats-bugs@NetBSD.org
Subject: hpcarm boot fail in wsconscfg with Fatal kernel mode data abort: 'Alignment Fault 3'
X-Send-Pr-Version: www-1.0

>Number:         49164
>Category:       port-arm
>Synopsis:       hpcarm boot fail in wsconscfg with Fatal kernel mode data abort: 'Alignment Fault 3'
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-arm-maintainer
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 29 21:45:00 +0000 2014
>Closed-Date:    
>Last-Modified:  Sun May 15 20:50:01 +0000 2022
>Originator:     Jun Ebihara
>Release:        NetBSD-7.99.1-hpcarm-201408280030Z from nyftp
>Organization:
SOUM Corporation
>Environment:
NetBSD  7.99.1 NetBSD 7.99.1 (WZERO3.201408280030Z) #0: Thu Aug 28 02:55:18 UTC 2014  builds@b44.netbsd.org:/home/builds/ab/HEAD/hpcarm/201408280030Z-obj/home/source/ab/HEAD/src/sys/arch/hpcarm/compile/ZERO3 hpcarm
>Description:
hpcearm on PXA270 boot failed on wsconscfg.

Adding interface aliases:.
Waiting for DAD completion for statically configured addresses...
Starting dhcpcd.
Building databases: dev,utmp,utmpx, services.
data_about_handler: data_aborts fsr=0x13 far=0xd
Fatal kernel mode data abort: 'Alignment Fault 3'
trapframe: 0xc7825b40
FSR=00000013, FAR=0000000d, spsr=20000013
r0 =00000001, r1 =00000080, r2 =c163bc10, r3 =c0388f64
r4 =c139b610, r5 =c163bc10, r6 =00000000, r7 =c05b3638
r8 =00000000, r9 =c139b610, r10=0000000c, r11=c7825bb4
r12=c7825bb8, ssp=c7825b94, slr=c0388f88, pc =c049c628
Stopped in pid 556.1 (wsconscfg) at netbsd:wsfont_map_unichar+0x4: ldr r12,[r0, #0x00c]
db> bt
0xc7825bb4: netbsd:rasops_mapchar+0xc
0xc7825bd4: netbsd:vt100_initchartables+0x34
0xc7825c04: netbsd:wsemul_vt100_attach+0xbc
0xc7825c3c: netbsd:wsscreen_attach+0x12c
0xc7825c9c: netbsd:wsdisplay_addscreen.part.0+0xa4
0xc7825cec: netbsd:wsdisplay_cfg_ioctl+0x1fc
0xc7825d14: netbsd:cdev_ioctl+0x84
0xc7825d3c: netbsd:spec_ioctl+0x9c
0xc7825d6c: netbsd:VOP_IOCTL+0x40
0xc7825e3c: netbsd:vn_ioctl+0xb0
0xc7825f04: netbsd:sys_ioctl+0xc0
0xc7825f74: netbsd:syscall+0x8c
0xc7825fac: netbsd:swi_handler+0x9c
db>
>How-To-Repeat:
1. Make image for hpcarm from NetBSD-7.99.1-hpcarm-201408280030Z.iso
https://github.com/ebijun/NetBSD/blob/master/hpcarm/Image/Makefile

2. Boot from SHARP WS011SH with hpcboot.

clean bootlog on 6.99.30 (hpcoarm):
https://github.com/ebijun/NetBSD/blob/master/dmesg/hpcarm/WS011SH

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
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 6.99.30 (WZERO3) #1: Fri Jan 31 11:34:23 JST 2014
jun@amivb.soum.co.jp:/usr/obj/hpcarm.hpcarm/sys/arch/hpcarm/compile/WZERO3
total memory = 128 MB
avail memory = 118 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0 core 0: PXA27x rev 7 (XScale V5TE core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB/32B 32-way L1 Instruction cache
cpu0: 32KB/32B 32-way write-back-locking L1 Data cache
pxaip0 at mainbus0: Onchip Peripheral Bus
pxaip0: CPU clock = 520.004 MHz
pxaip0: kernel is configured for PXA270, cpu type is PXA270
pxaintc0 at pxaip0 addr 0x40d00000-0x40d0001f: Interrupt Controller
pxagpio0 at pxaip0 addr 0x40e00000-0x40e0014f: GPIO Controller
com0 at pxaip0 addr 0x40100000-0x4010001f intr 22: ns16550a, working fifo
ohci0 at pxaip0 addr 0x4c000000-0x4c00006f intr 3
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
saost0 at pxaip0 addr 0x40a00000-0x40a0001f
saost0: SA-11x0 OS Timer
lcd0 at pxaip0: PXA2x0 LCD controller
lcd0: console
wsdisplay0 at lcd0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
pxadmac0 at pxaip0 addr 0x40000000-0x400002ff intr 25: DMA Controller
pxartc0 at pxaip0 addr 0x40900000-0x4090003b: Real-time Clock
pxartc0: using wristwatch register
pxamci0 at pxaip0 addr 0x41100000-0x41100047: MMC/SD Controller
pxamci0: using DMA transfer
sdmmc0 at pxamci0
wzero3ssp0 at pxaip0
wzero3kbd0 at pxaip0: keyboard
hpckbd0 at wzero3kbd0
wskbd0 at hpckbd0: console keyboard, using wsdisplay0
wzero3keypad0 at pxaip0: keypad
wskbd1 at wzero3keypad0 mux 1
wskbd1: connecting to wsdisplay0
wzero3tp0 at pxaip0: touch panel
wsmouse0 at wzero3tp0 mux 0
wzero3usb0 at pxaip0: USB Mode detection
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
clock: hz=100 stathz=64
timecounter: Timecounter "saost_count" frequency 3250000 Hz quality 100
uhub0 at usb0: PXA27x OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ld0 at sdmmc0: <0x1b:0x534d:00000:0x10:0x732466b9:0x0a2>
ld0: 3884 MB, 1972 cyl, 64 head, 63 sec, 512 bytes/sect x 7954432 sectors
ld0: 4-bit width, bus clock 19.500 MHz
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Sun, 15 May 2022 19:57:44 +0000
State-Changed-Why:
Is this still a problem?


From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@netbsd.org
Cc: skrll@NetBSD.org, tsutsui@ceres.dti.ne.jp
Subject: Re: port-arm/49164 (hpcarm boot fail in wsconscfg with Fatal kernel
	 mode data abort: 'Alignment Fault 3')
Date: Mon, 16 May 2022 05:45:52 +0900

 > Synopsis: hpcarm boot fail in wsconscfg with Fatal kernel mode data abort: 'Alignment Fault 3'
  :
 > State-Changed-Why:
 > Is this still a problem?

 Maybe fixed (found on zaurus independently) in NetBSD 9.0:
  https://mail-index.netbsd.org/port-zaurus/2019/10/31/msg000079.html
  https://mail-index.netbsd.org/source-changes/2019/11/02/msg110512.html

 ---
 Izumi Tsutsui

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.