Modify

Opened 11 years ago

Closed 10 years ago

Last modified 4 years ago

#2056 closed defect (worksforme)

r7903; ar7-atm modules does not load present firmware on insmod

Reported by: nabcore Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: ar7 ar7-atm DG834G Cc:

Description

root@OpenWrt:/lib/firmware# dmesg
Linux version 2.6.21.5 (user@host) (gcc version 4.1.2) #2 Mon Jul 9 23:54:11 BST 2007
CPU revision is: 00018448
Determined physical RAM map:
 memory: 01000000 @ 14000000 (usable)
On node 0 totalpages: 4096
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 0 pages used for memmap
Built 1 zonelists.  Total pages: 4064
Kernel command line: init=/etc/preinit rootfstype=squashfs,jffs2, console=ttyS0,115200n8r
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 64 (order: 6, 256 bytes)
Using 75.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13480k/16388k available (2066k kernel code, 180k reserved, 433k data, 112k init)
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
vlynq0: regs 0x08611800, irq 29, mem 0x04000000
vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
vlynq0: linked
vlynq-pci: attaching device TI ACX111 at vlynq0
registering PCI controller with io_map_base unset
Generic PHY: Registered new driver
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
ar7_wdt: disabling watchdog timer
ar7_wdt: timer margin 59 seconds (prescale 65535, change 57180, freq 62500000)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a TI-AR7
serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a TI-AR7
Fixed PHY: Registered new driver
cpmac-mii: probed
cpmac: device eth0 (regs: 08612800, irq: 41, phy: fixed@100:1, mac: 00:0f:b5:db:f6:8d)
cpmac: device eth1 (regs: 08610000, irq: 27, phy: 0:1f, mac: 00:0f:b5:db:f6:8c)
physmap platform flash device: 00400000 at 10000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Parsing AR7 partition map...
4 ar7part partitions found on MTD device physmap-flash.0
Creating 4 MTD partitions on "physmap-flash.0":
0x00000000-0x00010000 : "loader"
0x003f0000-0x00400000 : "config"
0x00020000-0x003f0000 : "linux"
0x000e95bd-0x003f0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x001f0000-0x003f0000 : "rootfs_data"
Registered led device: ar7:status
nf_conntrack version 0.5.0 (128 buckets, 1024 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 112k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
PHY: fixed@100:1 - Link is Up - 10/Half
NET: Registered protocol family 8
NET: Registered protocol family 20
PPP generic driver version 2.4.2
registered device TI Avalanche SAR
Sangam detected
requesting firmware image "ar0700xx.bin"
avsar: Firmware not available
avsar firmware released
DSL start failed. Error Code (5)
Failed to init DSL.
Error : Failed to Initialize the DSL subsystem !!.
root@OpenWrt:/lib/firmware# ls -l
-rw-r--r--    1 root     root       374774 Jul  9  2007 ar0700xx.bin
root@OpenWrt:/lib/firmware# md5sum ar0700xx.bin
97deb886e33027da91a10d89609c8a2f  ar0700xx.bin

Attachments (0)

Change History (12)

comment:1 follow-up: Changed 11 years ago by nabcore

The last tested change set that this worked on was r7624

comment:2 Changed 11 years ago by nabcore

Using the error messages, I've managed to trace this route taken through the ar7-atm code:

tn7dsl.c:  if((retVal  = dslhal_api_dslStartup(&pIhw)) !=0 )
^
|	(DSLHAL_ERROR_NO_FIRMWARE_IMAGE == 5)

dsl_hal_api.c:  rc=shim_osLoadFWImage(ptidsl->fwimage);

^
|
tn7dsl.c:       if(request_firmware(&fw_entry, "ar0700xx.bin", &avsar)) {

^
|
build_mipsel/linux-2.6-ar7/linux-2.6.21.5/drivers/base/firmware_class.c: _request_firmware()



Hence, something may be going wrong with _request_firmware() ?

comment:3 in reply to: ↑ 1 Changed 11 years ago by Wodin

Replying to nabcore:

The last tested change set that this worked on was r7624

I'm having the same problem with r7899.

(Not on a DG834G, though. An unbranded AR7.)

comment:4 Changed 11 years ago by Wodin

Here's my dmesg output, uname -a and /etc/banner.

Trying to insmod tiatm again failed immediately. Doing it again caused the box to hang. The serial console was hung too.

root@OpenWrt:~# dmesg
Linux version 2.6.21.5 (michael@marmite) (gcc version 4.1.2) #1 Mon Jul 9 17:54:52 SAST 2007
CPU revision is: 00018448
Determined physical RAM map:
 memory: 01000000 @ 14000000 (usable)
On node 0 totalpages: 4096
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 0 pages used for memmap
Built 1 zonelists.  Total pages: 4064
Kernel command line: init=/etc/preinit rootfstype=squashfs,jffs2, netconsole=6665@10.10.10.254/eth0,6666@10.10.10.49/00:1a:92:08:87:db
netconsole: local port 6665
netconsole: local IP 10.10.10.254
netconsole: interface eth0
netconsole: remote port 6666
netconsole: remote IP 10.10.10.49
netconsole: remote ethernet address 00:1a:92:08:87:db
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 64 (order: 6, 256 bytes)
Using 75.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13472k/16388k available (2075k kernel code, 180k reserved, 433k data, 112k init)
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
vlynq0: regs 0x08611800, irq 29, mem 0x04000000
vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
vlynq0: linked
vlynq-pci: attaching device TI ACX111 at vlynq0
registering PCI controller with io_map_base unset
Generic PHY: Registered new driver
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
ar7_wdt: disabling watchdog timer
ar7_wdt: timer margin 59 seconds (prescale 65535, change 57180, freq 62500000)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a TI-AR7
serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a TI-AR7
Fixed PHY: Registered new driver
cpmac-mii: probed
cpmac: device eth0 (regs: 08612800, irq: 41, phy: fixed@100:1, mac: 00:73:06:04:72:7a)
cpmac: device eth1 (regs: 08610000, irq: 27, phy: 0:1f, mac: 00:73:06:04:72:7a)
netconsole: eth0 doesn't support polling, aborting.
physmap platform flash device: 00400000 at 10000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Parsing AR7 partition map...
4 ar7part partitions found on MTD device physmap-flash.0
Creating 4 MTD partitions on "physmap-flash.0":
0x00000000-0x00010000 : "loader"
0x00010000-0x00020000 : "config"
0x00020000-0x00400000 : "linux"
0x000ea0e6-0x00400000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x00250000-0x00400000 : "rootfs_data"
Registered led device: ar7:status
nf_conntrack version 0.5.0 (128 buckets, 1024 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 112k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
PHY: fixed@100:1 - Link is Up - 10/Half
NET: Registered protocol family 8
NET: Registered protocol family 20
PPP generic driver version 2.4.2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
registered device TI Avalanche SAR
Sangam detected
requesting firmware image "ar0700xx.bin"
avsar: Firmware not available
avsar firmware released
DSL start failed. Error Code (5)
Failed to init DSL.
Error : Failed to Initialize the DSL subsystem !!.
root@OpenWrt:~# uname -a
Linux OpenWrt 2.6.21.5 #1 Mon Jul 9 17:54:52 SAST 2007 mips unknown
root@OpenWrt:~# cat /etc/banner
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r7899) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:~# lsmod
Module                  Size  Used by    Not tainted
pppoatm                 4448  0
tun                     8672  0
ppp_async              11616  0
ppp_generic            26880  2 pppoatm,ppp_async
slhc                    6176  1 ppp_generic
crc_ccitt               1472  1 ppp_async
br2684                  7312  0
atm                    48528  2 pppoatm,br2684
root@OpenWrt:~# cd /lib/modules/2.6.21.5/
root@OpenWrt:/lib/modules/2.6.21.5# ls
atm.ko          ppp_async.ko    pppoe.ko        tiatm.ko
br2684.ko       ppp_generic.ko  pppox.ko        tun.ko
crc-ccitt.ko    pppoatm.ko      slhc.ko
root@OpenWrt:/lib/modules/2.6.21.5# insmod tiatm
insmod: cannot insert '/lib/modules/2.6.21.5/tiatm.ko': Invalid parameters (19): Invalid argument
root@OpenWrt:/lib/modules/2.6.21.5# insmod tiatm

It hung at this point.

comment:5 follow-up: Changed 11 years ago by Wodin

Reverting package/hotplug2/files/hotplug2.rules to r7891 fixes the firmware load problem.

comment:6 in reply to: ↑ 5 Changed 11 years ago by nabcore

Replying to Wodin:

Reverting package/hotplug2/files/hotplug2.rules to r7891 fixes the firmware load problem.

In which revision did the hotplug2.rules change to cause this problem?

comment:7 Changed 11 years ago by nabcore

Perhaps, https://dev.openwrt.org/browser/trunk/package/base-files/files/etc/hotplug2-init.rules needs a FIRMWARE entry?

FIRMWARE is set {
        exec /sbin/hotplug-call firmware;
        next
}

comment:8 Changed 11 years ago by nabcore

I've just tested the above and it actually fixes the problem.

comment:9 Changed 11 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fix added in [7955]

comment:10 Changed 10 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

Using a recent version of Kamikaze (r9067) the same problem manifests itself. I checked out, compiled and installed r7955 with the same (as far as the eye can tell) settings in make menuconfig. (The installation has to be minimalistic because the DSL-300T that I'm using has very limited ROM and RAM.) The following is copied from my telnet session:

bash-3.1$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------

BusyBox v1.4.2 (2007-09-29 22:28:39 BST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r7955) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# dmesg
Linux version 2.6.21.5 (user@cetus) (gcc version 4.1.2) #2 Sat Sep 29 22:39:47 BST 2007
CPU revision is: 00018448
Determined physical RAM map:
 memory: 00800000 @ 14000000 (usable)
On node 0 totalpages: 2048
  DMA zone: 16 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 2032 pages, LIFO batch:0
  Normal zone: 0 pages used for memmap
Built 1 zonelists.  Total pages: 2032
Kernel command line: init=/etc/preinit rootfstype=squashfs,jffs2, console=ttyS0,38400n8r
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 32 (order: 5, 128 bytes)
Using 75.000 MHz high precision timer.
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 5356k/8196k available (2066k kernel code, 112k reserved, 433k data, 112k init)
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
vlynq0: regs 0x08611800, irq 29, mem 0x04000000
vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
registering PCI controller with io_map_base unset
Generic PHY: Registered new driver
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
ar7_wdt: disabling watchdog timer
ar7_wdt: timer margin 59 seconds (prescale 65535, change 57180, freq 62500000)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a TI-AR7
serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a TI-AR7
Fixed PHY: Registered new driver
cpmac-mii: probed
cpmac: no PHY present
cpmac: device eth0 (regs: 08610000, irq: 27, phy: 0:1f, mac: 00:11:95:b7:eb:a3)
physmap platform flash device: 00400000 at 10000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
physmap-flash.0: Found an alias at 0x200000 for the chip at 0x0
 Amd/Fujitsu Extended Query Table at 0x0041
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Parsing AR7 partition map...
4 ar7part partitions found on MTD device physmap-flash.0
Creating 4 MTD partitions on "physmap-flash.0":
0x00000000-0x00010000 : "loader"
0x001f0000-0x00200000 : "config"
0x00010000-0x001f0000 : "linux"
0x000d9587-0x001f0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x00190000-0x001f0000 : "rootfs_data"
Registered led device: ar7:status
nf_conntrack version 0.5.0 (64 buckets, 512 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 112k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
NET: Registered protocol family 8
NET: Registered protocol family 20
PHY: 0:1f - Link is Up - 100/Full
registered device TI Avalanche SAR
Sangam detected
requesting firmware image "ar0700xx.bin"
avsar: Firmware not available
DSL start failed. Error Code (5)
Failed to init DSL.
Error : Failed to Initialize the DSL subsystem !!.
CPU 0 Unable to handle kernel paging request at virtual address c00c2378, epc == 94203bb0, ra == 94203c2c
Oops[#1]:
Cpu 0
$ 0   : 00000000 10008400 00020000 00020000
$ 4   : 94330000 94202a84 940053e4 946f7760
$ 8   : 00000000 80000010 941764d0 fffffff0
$12   : 00000200 00000100 00000400 00000007
$16   : c00c2378 94202a84 94016220 9461743c
$20   : 00000000 00000002 004ea3dc 00000001
$24   : 00000002 9423d12c                  
$28   : 94658000 94659e68 ffffffff 94203c2c
Hi    : 000003a3
Lo    : 00035865
epc   : 94203bb0 kref_put+0x90/0x124     Not tainted
ra    : 94203c2c kref_put+0x10c/0x124
Status: 10008403    KERNEL EXL IE 
Cause : 10800008
BadVA : c00c2378
PrId  : 00018448
Modules linked in: br2684 atm
Process hotplug-call (pid: 350, threadinfo=94658000, task=940333f8)
Stack : 946ec880 00000001 94710e80 94202a84 94710e80 94202a84 94203c2c 00000000
        940333f8 00030002 00000000 00000000 9440162c 94733000 941bfea0 94659ea4
        94659ea4 94164428 00000000 00000000 9461dbb0 946f7760 94178168 94178148
        00000001 00000001 941bffd0 94208b10 946f7760 00000000 94026ec0 ffffffff
        94174ce4 004ea710 fffffff7 00494934 943c6720 94177d0c 94026ec0 946f7760
        ...
Call Trace:
[<94203bb0>] kref_put+0x90/0x124
[<94203c2c>] kref_put+0x10c/0x124
[<941bfea0>] release+0x30/0x58
[<94178168>] __fput+0x64/0x1c4
[<94174ce4>] filp_close+0x74/0x90
[<94176560>] sys_close+0x90/0xd4
[<9410b9e0>] stack_done+0x20/0x3c

Code: 00431024  10400009  00000000 <c2020000> 2444ffff  e2040000  10800056  00000000  2444ffff 
root@OpenWrt:/# lsmod
Module                  Size  Used by    Not tainted
br2684                  7312  0 
atm                    48528  1 br2684
root@OpenWrt:/# rmmod br2684
root@OpenWrt:/# lsmod
Module                  Size  Used by    Not tainted
atm                    48528  0 
root@OpenWrt:/# insmod tiatm

... at which point the system hangs.

The problem appears to be with the atm module. From a fresh boot, and using udevtrigger --verbose as a diagnostic the following occured:

root@OpenWrt:/# udevtrigger --verbose
/block/mtdblock0
/block/mtdblock1
/block/mtdblock2
/block/mtdblock3
/block/mtdblock4
/class/atm/avsar0
Segmentation fault

(now looking at the end of dmesg shows)

Code: 00431024  10400009  00000000 <c2020000> 2444ffff  e2040000  10800056  00000000  2444ffff 
CPU 0 Unable to handle kernel paging request at virtual address c00bb0f4, epc == 94206480, ra == 94207970
Oops[#2]:
Cpu 0
$ 0   : 00000000 00000073 00000000 c00bb0f4
$ 4   : c00bb0f4 fffffffe ffffffff 945b3dfc
$ 8   : 945b3dfc ffffffff 0000001a 000007b1
$12   : 9438ed60 00000001 946f7460 f3bec5da
$16   : 945b3dfc 945b5854 c00bb0f4 ffffffff
$20   : 00000000 945b6000 945b584f 000007b1
$24   : 00000001 94237d40                  
$28   : 945b2000 945b3d68 c0073ca8 94207970
Hi    : 00000000
Lo    : 00000000
epc   : 94206480 strnlen+0x14/0x2c     Not tainted
ra    : 94207970 vsnprintf+0x38c/0x658
Status: 10008403    KERNEL EXL IE 
Cause : 10800008
BadVA : c00bb0f4
PrId  : 00018448
Modules linked in: br2684 atm
Process udevtrigger (pid: 430, threadinfo=945b2000, task=943cc3f8)
Stack : 9466fa88 94016ea0 942217f0 942217d0 94488ec8 00000101 00000001 00000000
        00000001 945b3e0c 945b3e08 000007b1 945b584f 945b3e3c 945b3e38 945b5800
        942035dc 00002002 00000000 946f7460 c0073c72 945c4000 945b3dfc 945b3ea8
        94401798 000007b1 94401798 0000001a c00723f8 94178608 10008401 945fe0c0
        ffffff9c 945c4000 000007b1 945b3e0c c0073c6c c00bb0f4 00000000 9464f268
        ...
Call Trace:
[<94206480>] strnlen+0x14/0x2c
[<94207970>] vsnprintf+0x38c/0x658
[<942035dc>] add_uevent_var+0x84/0xcc
[<c00723f8>] atm_dev_deregister+0x2dc/0x314 [atm]

Code: 24a5ffff  10a60005  00000000 <80620000> 1440fffb  24630001  2463ffff  03e00008  00641023 

Finally, to demonstrate the it's the interaction between atm and tiatm I removed all the modules and tried to reinsert tiatm. This is what happens:

root@OpenWrt:/etc# lsmod
Module                  Size  Used by    Not tainted
root@OpenWrt:/etc# insmod tiatm
insmod: cannot insert '/lib/modules/2.6.21.5/tiatm.ko': Invalid parameters (2): Invalid argument

(and from the end of dmesg)

tiatm: Unknown symbol atm_dev_deregister
tiatm: Unknown symbol atm_dev_register
tiatm: Unknown symbol atm_charge

These problems don't seem to affect other D-Link routers on the hardware pages. Could this be specific to the DSL-300T?

comment:11 Changed 10 years ago by ejka

  • Resolution set to worksforme
  • Status changed from reopened to closed

most likely you're running out of ram. and we don't support 8mb ram devices.

comment:12 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.