NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/47336: evbarm Dockstar panics at init with -current after Aug 31, 2012



>Number:         47336
>Category:       kern
>Synopsis:       evbarm Dockstar panics at init with -current after Aug 31, 2012
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 16 13:45:00 +0000 2012
>Originator:     Andy Ruhl
>Release:        NetBSD 6.99.15 (DOCKSTAR.DEC15_2012) #0: Sat Dec 15 08:31:25 
>MST 2012
>Organization:
>Environment:
Can't, it panics, but this is the output from an earlier kernel:
root@dockstar-16gb:~ # uname -a
NetBSD dockstar-16gb 6.99.10 NetBSD 6.99.10 (DOCKSTAR.AUG23_2012) #0: Wed Aug 
22 21:55:29 MST 2012  
root@virtualnetbsd-r6:/usr/obj-evbarm/sys/arch/evbarm/compile/DOCKSTAR.AUG23_2012
 evbarm
>Description:
With -current after Aug 31, 2012, my Seagate Dockstar machine (evbarm) panics 
at init every time. I have worked with people who develop evbarm but so far no 
success.

This machine is quite cheap, and it makes a good low power server so it would 
be nice to have it working.

Here is some output:

sd0 at scsibus0 target 0 lun 0: <PNY, USB 2.0 FD, 8192> disk removable
sd0: 7728 MB, 15744 cyl, 16 head, 63 sec, 512 bytes/sect x 15826944 sectors
cprng sysctl: WARNING insufficient entropy at creation.
boot device: <unknown>
root on sd0a dumps on sd0b
WARNING: clock lost 4733 days
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
warning: no /dev/console
init: copying out path `/sbin/init' 11
data_abort_handler: data_aborts fsr=0x1 far=0x28207697
Fatal kernel mode data abort: 'Alignment Fault 1'
trapframe: 0xc7efed00
FSR=00000001, FAR=28207697, spsr=20000013
r0 =00000004, r1 =00000000, r2 =c207d010, r3 =00000000
r4 =28207665, r5 =00000000, r6 =00000000, r7 =c207d010
r8 =c04b3f3c, r9 =00000000, r10=00000000, r11=c7efed88
r12=00000001, ssp=c7efed50, slr=c02bdb4c, pc =c02bdbd8

Stopped in pid 2.1 (sh) at      netbsd:uvm_pagealloc_pgfl+0xbc: ldrh    r3, [r4,
 #0x32]
db> bt
netbsd:uvm_pagealloc_pgfl+0x10
        scp=0xc02bdb2c rlv=0xc02bee64 (netbsd:uvm_pagealloc_strat+0x1fc)
        rsp=0xc7efed8c rfp=0xc7efedd0
        r10=0x04000000 r9=0xc04b49e0
        r8=0x00000000 r7=0xbfffd000 r6=0x00000000 r5=0xc04b3e04
        r4=0xc263e8e0
netbsd:uvm_pagealloc_strat+0x10
        scp=0xc02bec78 rlv=0xc02aefa4 (netbsd:uvmfault_promote+0x138)
        rsp=0xc7efedd4 rfp=0xc7efee10
        r10=0x00000000 r9=0xc7efeee8
        r8=0xc263e8a0 r7=0xc7efeef0 r6=0xc263cc60 r5=0xc263e8e0
        r4=0xc229f258
netbsd:uvmfault_promote+0x10
        scp=0xc02aee7c rlv=0xc02b0814 (netbsd:uvm_fault_internal+0x116c)
        rsp=0xc7efee14 rfp=0xc7efef3c
        r10=0xc7efee90 r9=0xc7efeed0
        r8=0x00000000 r7=0x00000000 r6=0xc7efeee8 r5=0x000000b5
        r4=0xc263e8a0
netbsd:uvm_fault_internal+0x10
        scp=0xc02af6b8 rlv=0xc006a3f0 (netbsd:data_abort_handler+0x2e0)
        rsp=0xc7efef40 rfp=0xc7efefac
        r10=0x00000002 r9=0xbfffd000
        r8=0xc7efd000 r7=0x00000001 r6=0xc25df000 r5=0x00000000
        r4=0xc7efefb0
netbsd:data_abort_handler+0x10
        scp=0xc006a120 rlv=0xc005b8a0 (netbsd:address_exception_entry+0x50)
        rsp=0xc7efefb0 rfp=0xbfffdb00
        r10=0x201a511c r9=0x00031100
        r8=0x2020f400 r7=0x00000010 r6=0x00000019 r5=0x000023fc
        r4=0xc03a32a8
db>

I have ident output from the last working kernel and the first broken one, and 
I did diff on them:

$ diff netbsd.ident.AUG31 netbsd.ident.SEP1.broken
1c1
< /usr/obj-evbarm/sys/arch/evbarm/compile/DOCKSTAR.AUG31/netbsd:
---
> /usr/obj-evbarm/sys/arch/evbarm/compile/DOCKSTAR.SEP1/netbsd:
5c5
<      $NetBSD: files.marvell,v 1.1 2010/10/02 06:15:52 kiyohara Exp $
---
>      $NetBSD: files.marvell,v 1.2 2012/09/01 00:20:49 matt Exp $
7c7
<      $NetBSD: files.pic,v 1.3 2011/03/11 03:16:14 bsh Exp $
---
>      $NetBSD: files.pic,v 1.4 2012/09/01 00:00:42 matt Exp $
13,14c13,17
<      $NetBSD: arm32_machdep.c,v 1.82 2012/08/16 18:22:39 matt Exp $
<      $NetBSD: arm_machdep.c,v 1.35 2012/08/29 23:10:31 matt Exp $
---
>      $NetBSD: arm32_boot.c,v 1.1 2012/08/31 23:59:51 matt Exp $
>      $NetBSD: arm32_kvminit.c,v 1.1 2012/08/31 23:59:51 matt Exp $
>      $NetBSD: arm32_machdep.c,v 1.83 2012/08/31 23:59:51 matt Exp $
>      $NetBSD: arm32_reboot.c,v 1.1 2012/08/31 23:59:51 matt Exp $
>      $NetBSD: arm_machdep.c,v 1.36 2012/08/31 23:59:51 matt Exp $
60c63
<      $NetBSD: cpuswitch.S,v 1.68 2012/08/29 16:45:34 matt Exp $
---
>      $NetBSD: cpuswitch.S,v 1.69 2012/08/31 11:45:38 skrll Exp $
78,79c81,82
<      $NetBSD: db_machdep.c,v 1.13 2012/02/16 02:33:37 christos Exp $
<      $NetBSD: db_output.c,v 1.31 2011/07/17 20:54:50 joerg Exp $
---
>      $NetBSD: db_machdep.c,v 1.14 2012/08/31 11:52:39 skrll Exp $
>      $NetBSD: db_output.c,v 1.33 2012/09/01 01:13:51 matt Exp $
240c243
<      $NetBSD: kern_cpu.c,v 1.57 2012/08/29 17:13:21 drochner Exp $
---
>      $NetBSD: kern_cpu.c,v 1.58 2012/09/01 00:24:43 matt Exp $
250c253
<      $NetBSD: kern_kthread.c,v 1.38 2011/11/01 15:39:37 jym Exp $
---
>      $NetBSD: kern_kthread.c,v 1.39 2012/09/01 00:26:37 matt Exp $
351c354
<      $NetBSD: marvell_machdep.c,v 1.16 2012/08/23 10:48:19 kiyohara Exp $
---
>      $NetBSD: marvell_machdep.c,v 1.17 2012/09/01 00:20:49 matt Exp $
399,400c402,403
<      $NetBSD: pic.c,v 1.12 2012/07/20 21:53:57 matt Exp $
<      $NetBSD: pic_splfuncs.c,v 1.3 2012/07/14 07:52:53 matt Exp $
---
>      $NetBSD: pic.c,v 1.14 2012/09/01 01:44:16 matt Exp $
>      $NetBSD: pic_splfuncs.c,v 1.4 2012/09/01 00:00:42 matt Exp $
638c641
<      $NetBSD: uvm_glue.c,v 1.159 2012/04/08 11:27:45 martin Exp $
---
>      $NetBSD: uvm_glue.c,v 1.160 2012/09/01 00:26:37 matt Exp $




>How-To-Repeat:
Build a kernel for the Dockstar with -current source after Aug 31, 2012.

The config starts with SHEEVAPLUG and needs to be modified slightly using 
instructions here:

http://mail-index.netbsd.org/port-arm/2011/06/14/msg001217.html
>Fix:
Not known.



Home | Main Index | Thread Index | Old Index