openwrtv3/target/linux
Gabor Juhos ad0f03d250 ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev
Trying to do that causes a NULL pointer dereference:

CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000000 00000000 00000001
$ 4   : 00000000 802e6390 ffff8f45 00000001
$ 8   : 804b5360 ffffff80 802f93bc 00000000
$12   : 802f93e8 00000000 00000000 00000000
$16   : 8381aba0 8381aba0 00000000 00000000
$20   : 8295eff0 00000032 80000000 004101b8
$24   : 00000000 777265b0
$28   : 82936000 82937cf0 00420000 801d18d4
Hi    : 00000000
Lo    : 00000001
epc   : 801d170c ar7240sw_reset+0x1c/0x19c
    Tainted: G           O
ra    : 801d18d4 ag71xx_ar7240_start+0x28/0xc0
Status: 1100fc03    KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId  : 00019750 (MIPS 74Kc)
Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp
 ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab
les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c
ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash
crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button
_hotplug(O)
Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750)
Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000
        8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0
        8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c
        8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c
        8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348
        ...
Call Trace:
[<801d170c>] ar7240sw_reset+0x1c/0x19c
[<801d18d4>] ag71xx_ar7240_start+0x28/0xc0
[<801cf900>] ag71xx_open+0x1d0/0x258
[<801ec08c>] __dev_open+0xcc/0x130
[<801ec348>] __dev_change_flags+0xc0/0x160
[<801ec490>] dev_change_flags+0x20/0x6c
[<801ec5c8>] dev_ifsioc+0xec/0x348
[<801ecdb8>] dev_ioctl+0x594/0x67c
[<800ec00c>] do_vfs_ioctl+0x598/0x5ec
[<800ec0b0>] sys_ioctl+0x50/0x90
[<8006a3c4>] stack_done+0x20/0x40
Code: afbf0024  afb40020  afb10014 <8c910000> 00809021  24100104 24130704  8e440000  02002821

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34848
2012-12-22 12:12:40 +00:00
..
adm5120 Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh) 2012-12-19 16:07:50 +00:00
adm8668 create Linksys WRTU54G-TM profile 2012-12-07 18:02:31 +00:00
amazon remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
ar7 use a default kernel command-line to mount squashfs and jffs2 2012-11-29 21:42:53 +00:00
ar71xx ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev 2012-12-22 12:12:40 +00:00
at91 target: refresh all target configs with kconfig.pl 2012-10-29 10:11:05 +00:00
atheros Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh) 2012-12-19 16:07:50 +00:00
au1000 remove common symbols from 3.6 configs 2012-11-29 15:21:41 +00:00
avr32 remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
brcm47xx Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh) 2012-12-19 16:07:50 +00:00
brcm63xx Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh) 2012-12-19 16:07:50 +00:00
brcm2708 remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
cns3xxx kernel: add missing USB configuration symbols after r34501 2012-12-07 11:01:53 +00:00
cns21xx cns21xx: add support for 3.7 2012-12-20 14:51:17 +00:00
cobalt remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
coldfire target: refresh all target configs with kconfig.pl 2012-10-29 10:11:05 +00:00
ep93xx merge /lib/functions/boot.sh and /lib/functions.sh 2012-12-19 16:07:53 +00:00
gemini remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
generic generic: ar8316: allow to configure port 6 via platform data on AR8327 2012-12-22 12:12:37 +00:00
imx21 linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
iop32x kernel: add missing USB configuration symbols after r34501 2012-12-07 11:01:53 +00:00
ixp4xx kernel: add missing USB configuration symbols after r34501 2012-12-07 11:01:53 +00:00
kirkwood kernel: add missing USB configuration symbols after r34501 2012-12-07 11:01:53 +00:00
lantiq ar9 did not load atm driver properly 2012-12-22 10:16:52 +00:00
leon move patches to patches-2.6.36 2012-11-16 16:32:55 +00:00
malta kernel: update linux 3.6 to 3.6.11 2012-12-18 14:41:16 +00:00
mcs814x do not call clk_put() on the timer clock 2012-11-27 18:42:36 +00:00
mpc52xx remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
mpc83xx remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
mpc85xx remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
octeon move i2c driver to target modules.mk 2012-07-25 15:50:13 +00:00
omap4 kernel: add missing USB configuration symbols after r34501 2012-12-07 11:01:53 +00:00
omap24xx remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
omap35xx target: refresh all target configs with kconfig.pl 2012-10-29 10:11:05 +00:00
orion kernel: add missing USB configuration symbols after r34501 2012-12-07 11:01:53 +00:00
ppc40x ppc40x: add support for 3.7 2012-12-20 14:51:16 +00:00
ppc44x ppc44x: add support for 3.7 2012-12-20 18:11:22 +00:00
pxa remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
ramips ramips: add support for 3.7 2012-12-22 12:11:13 +00:00
rb532 rb532: add support for 3.7 2012-12-20 19:25:43 +00:00
realview remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
sibyte remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
sparc kernel: update linux 3.6 to 3.6.11 2012-12-18 14:41:16 +00:00
uml kernel: update linux 3.6 to 3.6.11 2012-12-18 14:41:16 +00:00
x86 merge /lib/functions/boot.sh and /lib/functions.sh 2012-12-19 16:07:53 +00:00
xburst kernel: add missing USB configuration symbols after r34501 2012-12-07 11:01:53 +00:00
Makefile Add kernel_nconfig make target 2010-08-06 21:36:35 +00:00