NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-evbmips/41650: NetBSD/evbmips -current on MERAKI/Atheros 2315 WiSoC crashes
>Number: 41650
>Category: port-evbmips
>Synopsis: NetBSD/evbmips -current on MERAKI/Atheros 2315 WiSoC crashes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-evbmips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 30 07:15:00 +0000 2009
>Originator: Fredrik Pettai
>Release: 5.99.14
>Organization:
NORDUnet A/S
>Environment:
NetBSD 5.99.14 (MERAKI) #2: Mon Jun 29 23:45:54 CEST 2009
root%netbsd5.99.11@localhost:/usr/obj/sys/arch/evbmips/compile/MERAKI
>Description:
NetBSD/evbmips 5.99.14 MERAKI on Atheros 2315 WiSoC crashes during boot on a
FON2100 (La Fonera). The hardware is almost identical to the MERAKI, just a few
things are added to the kernel to support this H/W platform.
Add Atheros 5312 support and hal_debug + com baud speed 9600 to the MERAKI
kernel conf
options ATHHAL_DEBUG
options ATHHAL_AR5312
options COM_ARBUS_BAUD=9600
Crosscompile the kernel for evbmips
Load the kernel on your FON2100 (ap51), and boot.
RedBoot> go
MIPS32/64 params: cpu arch: 32
MIPS32/64 params: TLB entries: 16
MIPS32/64 params: Icache: line = 16, total = 16384, ways = 4
sets = 256
MIPS32/64 params: Dcache: line = 16, total = 16384, ways = 4
sets = 256
picache_stride = 4096
picache_loopcount = 4
pdcache_stride = 4096
pdcache_loopcount = 4
Memory size: 0x01000000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009
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 5.99.14 (MERAKI) #2: Mon Jun 29 23:45:54 CEST 2009
root%netbsd5.99.11@localhost:/usr/obj/sys/arch/evbmips/compile/MERAKI
Atheros AR2315
total memory = 16384 KB
avail memory = 12996 KB
mainbus0 (root)
cpu0 at mainbus0: 184.00MHz (hz cycles = 920000, delay divisor = 92)
cpu0: MIPS 4KEc (Rev 2) (0x19064) Rev. 100 with software emulated floating point
cpu0: 16KB/16B 4-way set-associative L1 Instruction cache, 16 TLB entries
cpu0: 16KB/16B 4-way set-associative write-back L1 Data cache
wdog0 at mainbus0: 5 second period
arbus0 at mainbus0
com0 at arbus0 addr 0x11100000 cpu irq 0 misc irq 0: ns16550a, working fifo
com0: console
ae0 at arbus0 addr 0x10500000 cpu irq 2: Atheros AR531X 10/100 Ethernet
ae0: Ethernet address 00:18:84:1b:65:10
ukphy0 at ae0 phy 0: Generic IEEE 802.3u media interface
ukphy0: AC101L 10/100 media interface (OUI 0x0010a9, model 0x0012), rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ae0: WARNING: powerhook_establish is deprecated
ath0 at arbus0 addr 0x10000000 cpu irq 1: Atheros 2315 WiSoC
trap: address error (load or I-fetch) in kernel mode
status=0x2, cause=0x50008010, epc=0x1bb958f6, vaddr=0x1bb958f6
pid=0 cmd=system usp=0x0 ksp=0x802feb60
Stopped in pid 0.1 (system) at 0x1bb958f6: invalid address.
db>
More info & background in this thread as well:
http://mail-index.netbsd.org/port-evbmips/2009/06/28/msg000061.html
>How-To-Repeat:
Crosscompile tools for evbmips:
# ./build.sh -m evbmips-eb tools
Add Atheros 5312 support + com baud speed 9600 to the MERAKI kernel conf
--- /usr/src/sys/external/isc/atheros_hal/conf/std.ath_hal.orig 2009-06-30
08:56:37.000000000 +0200
+++ /usr/src/sys/external/isc/atheros_hal/conf/std.ath_hal 2009-06-29
23:43:35.000000000 +0200
@@ -1,5 +1,5 @@
#options ATHHAL_ASSERT
-#options ATHHAL_DEBUG
+options ATHHAL_DEBUG
#options ATHHAL_DEBUG_ALQ
# Atheros HAL Chipset Support
@@ -8,10 +8,10 @@
options ATHHAL_AR5211
options ATHHAL_AR5212
options ATHHAL_AR5311
-#options ATHHAL_AR5312
+options ATHHAL_AR5312
#options ATHHAL_AR2316
#options ATHHAL_AR2317
--- /usr/src/sys/arch/evbmips/conf/MERAKI.orig 2009-03-06
21:31:48.000000000 +0100
+++ /usr/src/sys/arch/evbmips/conf/MERAKI 2009-06-29 05:27:38.000000000
+0200
@@ -15,6 +15,7 @@
options NOFPU # No FPU
options SOFTFLOAT # emulate FPU insn
options WISOC_AR5315 # WiSoc select
+options COM_ARBUS_BAUD=9600
# Options for necessary to use MD
#options MEMORY_DISK_HOOKS
Crosscompile the kernel for evbmips:
# ./build.sh -m evbmips-eb kernel=MERAKI
Load the kernel on your FON2100, and boot.
You will see the same output as described above.
>Fix:
Home |
Main Index |
Thread Index |
Old Index