#684: kernel oops under xscale BE 2.4.x rev > madwifi-ng-r-1451
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: defect | Status: closed
Priority: major | Milestone: version 0.9.3
Component: madwifi: driver | Version: v0.9.0
Resolution: fixed | Keywords: xscale kernel oops
Patch_attached: 1 |
-------------------------------------+--------------------------------------
Comment (by [EMAIL PROTECTED]):
I get an kernel oops similar as [EMAIL PROTECTED] has. The build is the
latest(r1885)
I am running uclinux 2.4.31-uc0 @IXP425 BE
# insmod /lib/modules/2.4.31-uc0/net/ath_hal.o
Using /lib/modules/2.4.31-uc0/net/ath_hal.o
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413,
REGOP
S_FUNC)
# insmod /lib/modules/2.4.31-uc0/net/wlan.o
Using /lib/modules/2.4.31-uc0/net/wlan.o
wlan: 0.8.4.2 (svn r1885)
# echo 8 > /proc/sys/kernel/printk
# cat /proc/oops
cat: /proc/oops: No such file or directory
# insmod /lib/modules/2.4.31-uc0/net/ath_pci.o
Using /lib/modules/2.4.31-uc0/net/ath_pci.o
# insmod /lib/modules/2.4.31-uc0/net/ath_rate_sample.o
Using /lib/modules/2.4.31-uc0/net/ath_rate_sample.o
ath_rate_sample: 1.2 (svn r1885)
# insmod /lib/modules/2.4.31-uc0/net/ath_pci.o
Using /lib/modules/2.4.31-uc0/net/ath_pci.o
ath_pci: 0.9.4.5 (svn r1885)
Unable to handle kernel paging request at virtual address 4bff8004
pgd = c0b94000
[4bff8004] *pgd=00000000, *pmd = 00000000
Internal error: Oops: f5
CPU: 0
pc : [<c590c230>] lr : [<00008004>] Not tainted
sp : c0b99dc4 ip : 00000000 fp : c0b99de8
r10: c0c58000 r9 : 4bff0000 r8 : c0c59794
r7 : c0b99e8c r6 : 00004004 r5 : 00000023 r4 : c0340000
r3 : 4bff0000 r2 : ff00c020 r1 : 00008004 r0 : c0340000
Flags: nzCv IRQs on FIQs on Mode SVC_32 Segment user
Control: 39FF Table: 00B94000 DAC: 00000015
Process insmod (pid: 33, stack limit = 0xc0b98368)
Stack: (0xc0b99dc4 to 0xc0b9a000)
9dc0: 00000014 c0340000 c591f91c 00000000 c0340000 00000001
c0b99e04
9de0: c0b99dec c591fa38 c591f888 c0c598ec c0340000 c0340000 c0b99e3c
c0b99e08
9e00: c591c47c c591fa0c c0b99e8c 00000001 c00cd3fc c0c598ec 00000013
00000000
9e20: 00000013 c0c59794 4bff0000 c0c58000 c0b99e50 c0b99e40 c590c6cc
c591c448
9e40: c0b99e8c c0c58160 c0b99e54 c590c07c c590c604 c0b99e8c c596819c
c0b99e8c
9e60: 01c20001 c0b99e84 0000002f 00000001 c004e41c c004e41c 02900346
c0b99e9e
9e80: c02f7000 00000001 00000000 0000001c c03486a0 c596a308 c0c58000
c0c58160
9ea0: c02f7000 00000013 4bff0000 4bff0000 c597d000 c597aa74 c5977ce0
c0c58000
9ec0: 00000000 00000008 c597aa74 c597ac3c c02f7000 00000000 c03486e0
00000007
9ee0: c597d000 00000007 c00d96f0 c02f7000 c597ac3c c01a48f4 00000000
c00d975c
9f00: ffffffea c5968000 c019f3f8 0007e2f0 c5978014 c0054290 c0a1d000
c0a1d000
9f20: c0a1f000 00000060 c5964000 c5968060 000131dc 00000000 00000000
00000000
9f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
9f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
9f80: 00000000 00000050 0004f868 0007e2f0 00000080 c0046684 c0b98000
000131dc
9fa0: 00000000 c00464c0 0004f868 0007e2f0 00900080 0004f66c 0007e2f0
00000000
9fc0: 00000050 0004f868 0007e2f0 c5968000 0004f66c 00000002 000131dc
00047d74
9fe0: bfffdbc8 bfffdbbc 00034f6c 40154010 60000010 00900080 315f6164
645f7363
Backtrace:
Function entered at [<c591f87c>] from [<c591fa38>]
r6 = 00000001 r5 = C0340000 r4 = 00000000
Function entered at [<c591fa00>] from [<c591c47c>]
r6 = C0340000 r5 = C0340000 r4 = C0C598EC
Function entered at [<c591c43c>] from [<c590c6cc>]
Function entered at [<c590c5f8>] from [<c590c07c>]
Backtrace aborted due to bad frame pointer <c0c58160>
Code: e3530a01 25903014 e24dd004 e1a0e001 (27930001)
APP: ath_pci = 0xc5968060 init=0xc5977ff0
APP: ath_rate_sample = 0xc5964060 init=0xc5965d08
APP: wlan = 0xc593e060 init=0xc595a3b8
APP: ath_hal = 0xc590c060 init=0xc590c388
APP: ixp400 = 0xc587f060 init=0xc587f060
APP: = 0xc019f458 init=0x00000000
Segmentation fault
ksysmoops shows this:
wcs:/home/jwang/work/snapgear-3.3.0/romfs # ksymoops -k /tmp/ksymoops -l
/proc/
modules -o lib/modules/2.4.31-uc0/ -m ../linux-2.4.x/System.map
...
>>EIP; c590c230 <[ath_hal]ath_hal_reg_read+18/84> <=====
>>sp; c0b99dc4 <_end+9c3dfc/56a9098>
>>fp; c0b99de8 <_end+9c3e20/56a9098>
i>>r10; c0c58000 <_end+a82038/56a9098>
n>>r8; c0c59794 <_end+a837cc/56a9098>
i>>r7; c0b99e8c <_end+9c3ec4/56a9098>
>>r4; c0340000 <_end+16a038/56a9098>
t>>r0; c0340000 <_end+16a038/56a9098>
=
Trace; c591f87c <[ath_hal]zz016d9d41+30/1b4>
0Trace; c591fa38 <[ath_hal]zz016e1251+38/6c>
>>r5; c0340000 <_end+16a038/56a9098>
Trace; c591fa00 <[ath_hal]zz016e1251+0/6c>
xcTrace; c591c47c <[ath_hal]zz0005b6b2+40/760>
>>r6; c0340000 <_end+16a038/56a9098>
5>>r5; c0340000 <_end+16a038/56a9098>
>>r4; c0c598ec <_end+a83924/56a9098>
Trace; c591c43c <[ath_hal]zz0005b6b2+0/760>
9Trace; c590c6cc <[ath_hal]ath_hal_attach+d4/18c>
Trace; c590c5f8 <[ath_hal]ath_hal_attach+0/18c>
Trace; c590c07c <[ath_hal]_ath_hal_attach+1c/60>
5Code; c590c220 <[ath_hal]ath_hal_reg_read+8/84>
00000000 <_EIP>:
Code; c590c220 <[ath_hal]ath_hal_reg_read+8/84>
0: 01 0a add %ecx,(%edx)
Code; c590c222 <[ath_hal]ath_hal_reg_read+a/84>
2: 53 push %ebx
Code; c590c223 <[ath_hal]ath_hal_reg_read+b/84>
3: e3 14 jecxz 19 <_EIP+0x19>
Code; c590c225 <[ath_hal]ath_hal_reg_read+d/84>
5: 30 90 25 04 d0 4d xor %dl,0x4dd00425(%eax)
aCode; c590c22b <[ath_hal]ath_hal_reg_read+13/84>
b: e2 01 loop e <_EIP+0xe>
Code; c590c22d <[ath_hal]ath_hal_reg_read+15/84>
d: e0 a0 loopne ffffffaf <_EIP+0xffffffaf>
Code; c590c22f <[ath_hal]ath_hal_reg_read+17/84> <=====
f: e1 01 loope 12 <_EIP+0x12> <=====
Code; c590c231 <[ath_hal]ath_hal_reg_read+19/84>
11: 00 93 27 00 00 00 add %dl,0x27(%ebx)
3b8
APP: ath_hal = 0xc590c060 init=0xc590c388
APP: ixp400 = 0xc587f060 init=0xc587f060
APP: = 0xc019f458 init=0x00000000
I did get warnings below when I compile, then I remove Werror.
ah_os.c: In function `ath_hal_reg_write':
ah_os.c:331: warning: passing arg 2 of `__writel' makes integer from
pointer without a cast
ah_os.c: In function `ath_hal_reg_read':
ah_os.c:340: warning: passing arg 1 of `__readl' makes integer from
pointer without a cast
My board is able to run madwifi-old without any problem, but when I move
to madwifi-ng, haven't get any luck with mulitple revisions. Any help is
highly appreciated.
Thanks!
--
Ticket URL: <http://madwifi.org/ticket/684>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets