Port-arm archive

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

Re: Unable to boot NetBSD on Linksys NSLU2 (armbe / armv5tel)



My slug is broken too. Here is a dmesg using a usb drive and a kernel
from http://nyftp.netbsd.org. I have built kernels going back 2 years
and I get similar results. I used a ramdisk.fs in an install kernel
and it data aborts too.

Loaded initial symtab at 0xc04ce1c4, strtab at 0xc04fc6e4, # entries 11134
pmap_postinit: Allocated 9 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
    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 7.99.6 (NSLU2.201503110820Z) #0: Wed Mar 11 09:43:49 UTC 2015
        builds%b41.netbsd.org@localhost:/home/builds/ab/HEAD/evbarm-armeb/201503110820Z-ob
j/home/source/ab/HEAD/src/sys/arch/evbarm/compile/NSLU2
total memory = 32768 KB
avail memory = 26604 KB
sysctl_createv: sysctl_create(machine_arch) returned 17
mainbus0 (root)
cpu0 at mainbus0 core 0: IXP425 266MHz rev 1 (XScale V5TE core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB/32B 32-way L1 VIVT Instruction cache
cpu0: 32KB/32B 32-way write-back-locking L1 VIVT Data cache
ixpsip0 at mainbus0
com0 at ixpsip0 addr 0xc8000000-0xc8000fff: ns16550a, working fifo
com0: console
ixp425_intr_establish(irq=15, ipl=7, func=c027fbf8, arg=c10cd788)
ixpclk0 at ixpsip0 addr 0xc8005000-0xc800502f
ixpclk0: IXP425 Interval Timer
ixpdog0 at ixpsip0: Watchdog Timer
slugiic0 at ixpsip0: I2C bus
slugbutt0 at ixpsip0: Power and Reset buttons
slugled0 at ixpsip0: LED support
ixpio0 at mainbus0
ixpio0: configuring PCI bus
pci0 at ixpio0 bus 0
ohci0 at pci0 dev 1 function 0: vendor 1033 product 0035 (rev. 0x43)
csr: 02100146
ixp425_intr_establish(irq=28, ipl=6, func=c0286d94, arg=c1136008)
ohci0: interrupting at PCIA
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 1 function 1: vendor 1033 product 0035 (rev. 0x43)
csr: 02100146
ixp425_intr_establish(irq=27, ipl=6, func=c0286d94, arg=c1138008)
ohci1: interrupting at PCIB
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 1 function 2: vendor 1033 product 00e0 (rev. 0x04)
ixp425_intr_establish(irq=26, ipl=6, func=c028c058, arg=c113a808)
ehci0: interrupting at PCIC
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
ixme0 at mainbus0: IXP4xx MicroEngine Support
ixp425_intr_establish(irq=3, ipl=5, func=c041db30, arg=c10e3000)
ixp425_intr_establish(irq=4, ipl=5, func=c041db30, arg=c10e3000)
ixpnpe0 at ixme0 NPE-B
ixp425_intr_establish(irq=1, ipl=5, func=c041f274, arg=c113df68)
npe0 at ixpnpe0: Ethernet co-processor
ixpnpe0: imageId 0x01000201 not found in image library header
npe0: Failed to activate NPE (missing microcode?)
clock: hz=100 stathz=0 profhz=0
ixp425_intr_establish(irq=5, ipl=6, func=c041ce80, arg=00000000)
iic0 at slugiic0: I2C bus
xrtc0 at iic0 addr 0x6f: Xicor X1226 Real-time Clock/NVRAM
ixp425_intr_establish(irq=22, ipl=5, func=c04237b4, arg=c1128038)
ixp425_intr_establish(irq=29, ipl=5, func=c042373c, arg=c1128038)
ixp425_intr_establish(irq=28, ipl=5, func=c0423e2c, arg=c1131790)
ixp425_intr_establish(irq=27, ipl=5, func=c0423d84, arg=c1131790)
ixp425_intr_establish(irq=26, ipl=5, func=c0423cdc, arg=c1131790)
ixp425_intr_establish(irq=5, ipl=6, func=c0423c08, arg=00000000)
uhub0 at usb1: vendor 1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb2: vendor 1033 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2 at usb0: vendor 1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Lexar USB Flash Drive, rev 2.00/1.02, addr 2
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Lexar, USB Flash Drive, 8.07> disk removable
sd0: fabricating a geometry
sd0: 7646 MB, 7646 cyl, 64 head, 32 sec, 512 bytes/sect x 15659008 sectors
boot device: <unknown>
root device: sd0a
dump device (default sd0b):
file system (default generic):
root on sd0a dumps on sd0b
sd0: fabricating a geometry
mountroot: trying ffs...
root file system type: ffs
kern.module.path=/stand/evbarm/7.99.6/modules
init path (default /sbin/init):
init: copying out path `/sbin/init' 11
data_abort_handler: data_aborts fsr=0x406 far=0xbfffeff5
data_abort_handler: data_aborts fsr=0x406 far=0xbfffeff5
Fatal kernel mode data abort: 'External Linefetch Abort (P)'
trapframe: 0xc40ebe78
FSR=00000406, FAR=Invalid,  spsr=60000053
r0 =bfffefe8, r1 =00000000, r2 =c40ea000, r3 =c03c99cc
r4 =c046ec48, r5 =bfffeff5, r6 =bfffefe8, r7 =00000000
r8 =00000001, r9 =00000000, r10=c053b16c, r11=c40ebfac
r12=00000003, ssp=c40ebecc, slr=c02f8080, pc =c03c9a28

Stopped in pid 1.1 (init) at    netbsd:fusubailout+0x4c:        andeq   r0, r0,
r
0
db> t
0xc40ebfac: netbsd:start_init+0xc
db>
 CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.5    | VT102 |      Offline



On Thu, Mar 5, 2015 at 3:15 AM, Nick Hudson <skrll%netbsd.org@localhost> wrote:
> On 03/04/15 21:31, Eddy Petrișor wrote:
>>
>> I retried building an older version and encountered a somewhat
>> different problem (entire boot log is attached):
>>
>> xrtc0 at iic0 addr 0x6f: Xicor X1226 Real-time Clock/NVRAM
>> ixp425_intr_establish(irq=22, ipl=5, func=c0410070, arg=c1134008)
>> ixp425_intr_establish(irq=29, ipl=5, func=c040fff8, arg=c1134008)
>> ixp425_intr_establish(irq=28, ipl=5, func=c04103fc, arg=c1130790)
>> ixp425_intr_establish(irq=27, ipl=5, func=c0410354, arg=c1130790)
>> ixp425_intr_establish(irq=26, ipl=5, func=c04102ac, arg=c1130790)
>> ixp425_intr_establish(irq=5, ipl=6, func=c04101d8, arg=00000000)
>> uhub0 at usb1: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr
>> 1
>> uhub1 at usb2: vendor 0x1033 EHCI root hub, class 9/0, rev 2.00/1.00, addr
>> 1
>> uhub2 at usb0: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr
>> 1
>> cprng sysctl: WARNING insufficient entropy at creation.
>> boot device: <unknown>
>> root on npe0
>> nfs_boot: trying DHCP/BOOTP
>> nfs_boot: DHCP next-server: 192.168.77.250
>> nfs_boot: my_name=kinder
>> nfs_boot: my_domain=eddyp.homeunix.net
>> nfs_boot: my_addr=192.168.77.251
>> nfs_boot: my_mask=255.255.255.0
>> nfs_boot: gateway=192.168.77.1
>> root on 192.168.77.250:/export/netbsd-nslu2/root
>> root time: 0x54f77695
>> init: copying out path `/sbin/init' 11
>> Process (pid 1) got sig 11
>> Process (pid 1) got sig 11
>> Process (pid 1) got sig 11
>> Process (pid 1) got sig 11
>> Process (pid 1) got sig 11
>> [...]
>
>
> Hi,
>
> Can you post full dmesg, please? Could you be mixing ABIs?
>
> Thanks,
> Nick


Home | Main Index | Thread Index | Old Index