OpenWrt Forum Archive

Topic: Backfire on WL700gE

The content of this topic has been archived between 26 Apr 2018 and 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

@ hcc23 : thank for the reply :-)

This backfire for our device is a hard one...

Hi Everyone,

I have backfire running om my WL700gE now:

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.15.3 (2011-11-24 04:30:44 CET) 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
 Backfire (10.03.1, r29592) ------------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua 
  * 1/3 shot Bailey's  on the bottom, then Bailey's, 
  * 1/3 shot Vodka     then Vodka.
 ---------------------------------------------------
root@OpenWrt:/# uname -a
Linux OpenWrt 2.6.32.27 #5 Wed Dec 21 05:56:26 CET 2011 mips GNU/Linux
root@OpenWrt:/# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                  768       768         0 100% /mnt/openwrt/rom
tmpfs                    31060      1528     29532   5% /tmp
tmpfs                      512         0       512   0% /dev
root                     31060         4     31056   0% /tmp/root
mini_fo:/tmp/root          768       768         0 100% /mnt/openwrt
/dev/hda1               482214     13313    444002   3% /

I made a new image and included the init.rd script (below). Inspired by this article: http://www.rooot.net/en/geek-stuff/open … nwrt.html). Nobody has found a way to fit cfdisk and mkfs.ext3 in the image. So it is still a hassle to partition and format your drive after the first flash: download and install the packages in /tmp.

Let me know if anyone fancies this image. Then I will put it up somewhere.

#!/bin/sh /etc/rc.common

START=40

start () {
    echo "checking for alternative boot device"
    EXTERNAL_PARTITION=$(nvram get boot_dev)

    echo "loading USB and ext3 modules"
    for module in usbcore usb-ohci uhci ehci-hcd scsi_mod sd_mod usb-storage jbd ext3; do
    insmod $module
    done
    sleep 2s

    [ "$FAILSAFE" != "true" ] && [ -b $EXTERNAL_PARTITION ] && {
        mount $EXTERNAL_PARTITION /mnt/root
        [ -x /mnt/root/sbin/init ] && {
            mount -o move /proc /mnt/root/proc && \
            pivot_root /mnt/root /mnt/root/mnt/openwrt && {
                mount -o move /mnt/openwrt/dev /dev
                mount -o move /mnt/openwrt/tmp /tmp
                }
            }
        }
    }

(Last edited by 14skywalker on 28 Jan 2012, 13:13)

14skywalker wrote:

Hi Everyone,
I have backfire running om my WL700gE now:

This is really great news smile

If you wouldn't mind, can you post your .config file? Then we all can rebuild our own images and keep up with upcoming developments in trunk.

Hi Everyone, I did nothing special to the basic setup of ImageBuilder. This is my WL700GE.mk file:

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

define Profile/WL700GE
  NAME:=ASUS WL700GE
  PACKAGES:=-ppp -ppp-mod-pppoe -kmod-ipt-nathelper -iptables -dnsmasq -bridge kmod-ide-core kmod-ide-aec62xx kmod-fs-ext3 -firewall -wpad-mini
endef

define Profile/WL700GE/Description
    used the packages from 2.4 and also excluded -firewall and -wpad-mini
endef
$(eval $(call Profile,WL700GE))

I will try to get the config file downloadable somewhere.

Please, upload image and write a tutorial step by step how to flash.

I will try to get the config file downloadable somewhere.

Hi 14skywalker

For enthusiastic reasons I just bought myself a WL700gE. It would really be nice if you could upload your .config file.
Thanks in advance.

Fixed it! big_smile

BusyBox v1.15.3 (2012-03-06 15:52:41 CET) 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
 Backfire (10.03.1, r30807) ------------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua 
  * 1/3 shot Bailey's  on the bottom, then Bailey's, 
  * 1/3 shot Vodka     then Vodka.
 ---------------------------------------------------
root@OpenWrt:/# uname -a
Linux OpenWrt 2.6.32.27 #2 Tue Mar 6 16:37:36 CET 2012 mips GNU/Linux
root@OpenWrt:/#

Used kexec for the squashfs image (r27227) and followed some of the links below.
https://forum.openwrt.org/viewtopic.php?id=23901
http://code.google.com/p/wl-700ge/

(Last edited by larmoe on 11 Mar 2012, 21:23)

14skywalker wrote:

Hi Everyone,

I have backfire running om my WL700gE now:

Let me know if anyone fancies this image. Then I will put it up somewhere.

Far out! I stopped checking this thread a couple of months ago.

Now I see an offer of a working image! 

I would very much like that image please and bit of a guide of what to do after flashing to get basic router functions.

Thank you.

Here is a brief description on how to run backfire with the 2.6 kernel on the ASUS WL700gE. In the belief that this was a simple task, I recently bought this piece of hardware as a replacement for a slowly dying WL500gE. To my knowledge the WL700gE is the only 3 USB port, < 20watt, HDD-router, printer-, scanner-, http-, samba-, and UPnP-server available. Trying to squeeze all these expectations in to 1,8MB of flash was therefore a rather disappointing experience.

After trawling the internet for a while I went for the kexec approach. In short this implies compiling a small flash image (kexec kernel), that basically preforms the same tasks as a bios. Once installed the router can boot a second kernel from a USB/HDD drive, and you never need to change the flash image.

This guide describes how to build a kexec image and load a second kernel image from a ext2 formatted USB flash drive. It may also be possible to load a second image form the hard drive, but since I want my disk to spin down for long periods of time, I choose to place my root and swap partition on a USB drive.

Use this HOWTO at your own risk!

Prerequisites
    - A working build system (I use Ubuntu 11.10) see http://wiki.openwrt.org/doc/howto/buildroot.exigence       
    - 3-4 GB of available hard disk space to build (i.e. cross-compile) OpenWrt.
    - Basic knowledge on how to build the linux kernel.
    - USB flash drive
   
1. Build the kexec image
(if you just want the image get it here)
Create build DIR and download source revision 27227 (the current revision produces to large an image)

mkdir ~/openwrt
cd openwrt
svn checkout --revision=27227 svn://svn.openwrt.org/openwrt/branches/backfire/ ./r27227
cd r27227

Check dependencies, get a working config file and run make (this will take some time).

make defconfig
wget http://www.fileden.com/files/2012/3/21/3281530/config_kexec
mv config_kexec .config
make menuconfig

Add extra functions to your kexec image if required (extra functions take up space you don't have). If you want to boot a second image from the harddrive, disable all the USB modules, and add: "Kernel modules" -> "Block devices" -> "*kmod-ide-core", "*kmod-ide-aec62xx". (not tested). Else do nothing, save and exit.

make V=99 world
make kernel_menuconfig

Select -> "Kernel type" -> "*kexec system call", and select "General setup" ? "* Support initial ramdisks compressed using LZMA and Built-in initramfs compression mode" –> "*LZMA", save and exit.
Now you have to

 nano -w build_dir/linux-brcm47xx/linux-2.6.32.27/arch/mips/kernel/machine_kexec.c

Modify line 55
from: "kexec_start_address = image->start;"
into: "kexec_start_address = (unsigned long) phys_to_virt(image->start);"

The kexec image will need to know where to find the second kernel image. This is specified in the /etc/rc.local, but since we can't modify files once in flash, the file must be modified now. The rc.local file supplied will load a second initramfs kernel image named "openwrt-brcm47xx-vmlinux.elf" from the root of a usb drive (ext2 formatted). The rc.local file must go in ~/openwrt/r27227/files/etc/ before "make".

mkdir files && cd files/ && mkdir etc && cd etc
wget http://www.fileden.com/files/2012/3/21/3281530/rc.local
cd ~/openwrt/r27227/
make V=99

You should now have a 1,77MB .trx image in "~/openwrt/r27227/bin/brcm47xx/".
If you want to boot the second kernel from the HDD, change rc.local accordingly before make.

If you don't want to spend time compiling your own kexec image just:

wget http://www.fileden.com/files/2012/3/21/3281530/openwrt-brcm47xx-squashfs.trx

and flash.

2. Flash the image to the router

Connect your PC to a LAN port of the router. Power up the router while holding the ez-setup button until the "Ready light" stops flashing. The router now runs a tfpd server, IP: 192.168.1.1.
In order to connect to the router you must give your PC a static IP. On a Linux PC this is done by disabling Networkmanager and:

sudo /sbin/ifconfig eth0 192.168.1.2
sudo /sbin/route add -host 192.168.1.2 dev eth0

Try to ping the router's IP to see if you are good to go.
Get "tftp" (if you don't have it already), CD into the directory of the kexec trx image and flash:

tftp 192.168.1.1
tftp> bin
tftp> put openwrt-brcm47xx-squashfs.trx

Wait for 2 minutes and press the "reset" button on the router. When the "Ready" light goes out you should be able to connect to the router by:

telnet 192.168.1.1

To-do next: Build a initramfs image to load from USB.

(Last edited by larmoe on 25 Dec 2012, 21:28)

larmoe,  these instructions look brilliant, I think even a noob like me could this working.  I especially like your succinct description of the kexec approach, it hadn't dawned on me that you would never need to change the flash image again.  And having the second kernel on usb instead of hdd - even better!

Now get this, a couple of days ago I noticed repeated hard drive activity from my WL700, I couldn't get to the web interface.  Turns out it was stuck in a cycle of constant reboots.  I cycled the power a few times, didn't help, pressed reset button, nope.  I reflashed it with the Asus firmware restoration tool with the kfurge modified asus firmware and it still kept rebooting same as before.  Flashed again with stock asus 1.7.8 and it seemed to be OK, so I upgraded to kfurge firmware via web interface and it went back to the same reboot loop.  Then flashed the stock asus again and left it alone, it seemed OK.  Next morning there were no lights on, it looked like it was powered off.  I hoped maybe someone had accidentally pressed the power button.  I restarted it, but in the afternoon it was off again.  Flashed it a few more times, but now it always goes back to infinite reboot loop.

I have checked the power supply while the device is operating (booting) and it is producing 12 volts (and 5 volts to hdd).  I have tried a different hard drive.  I can't seem to get the device into tftp mode.  I have tried all sorts of combinations of holding down buttons and powering on.  The ready light will flash 5 (or is it 6 times? - I should know by now) and then go out, but I can never ping or tftp the device.  I'm pretty much out of ideas.  It could still be the power supply, maybe my digital meter samples too slow to detect voltage changes that might cause a reboot, having said that I think the reboots occurr at the same regular interval not a random times, so maybe not power supply.  I dont know if there are some pins on the board somewhere I could short to cause a reset, whether that would be any different than pressing the reset button.  I think the serial console is beyond me.  I have just about given up, I'll wait a couple of days to get used to the idea and then move on, unless I get some inspiration before then.  I'll download your image just in case.  I hope others benefit from your work.  Thank you again for taking the time to supply this information.
Martin.

If you can't ping the router after pressing the ez-button during power-up, check your PC's network settings. Especially remember to disable Networkmanager (if you run Linux). Sounds like a hardware problem though.

/larmoe

I've had some success.  Lazy me I was trying to tftp in windows (it had worked before a long time ago).  I was able to get tftp to work in Ubuntu.

I flashed to the 2.4 pivot root image from https://forum.openwrt.org/viewtopic.php … 28#p113428 and then followed bluegold's instructions in the first post of this thread to partition the drive and copy rom to hdd. 

Took me a while but I have my WL700ge running again and seems to be stable so far.  In trying to get LuCI running I thought I must have to set passwd - so I locked myself out because I hadn't installed dropbear yet. So I had to flash again.  I then learned about /etc/init.d uhttpd enable tongue .  I don't use the device as a router, its an access point/NAS/UPnP server, etc behind the main all in one modem router, took me while to get the network config right for AP mode.  I thought am I gonna screw the network config and lock myself out again.  Samba took me a while too because I mistakenly installed some samba 2 package (samba-server) over the top of samba3, thinking samba-server was needed for netBIOS name browsing in windows.  Once I got the samba3 config files in place things started looking up.  I now have UPnP working and hdparm spinning the disc down.  I'm fairly happy now.

But dont let that stop you from posting part 2 of your guide: Build a initramfs image to load from USB.  wink

Cheers,
Martin.

Hi larmoe,
i'm happy to hear your compilled firmware.
building the image is nice, but i'm not 100% in it :-).
Would you be so kind to compile a firm using HDD (with 3 partition like mentioned before) instead of USB?
it would help me a lot.
thanks
bonym

Larmoe,

Thanks once again.

1) I have got it working now for some weeks, compiled the primary kernel straight from your .config and the secondary as an initramfs in accordance with https://forum.openwrt.org/viewtopic.php?id=23901. One problem persists: When I do a cold reboot (after a power-off) the system boots the primary kernel (firmware) but remains in a loop on this error:

=============
....
Freeing unused kernel memory: 136k freed
Please be patient, while OpenWrt loads ...
irq 3: nobody cared (try booting with the "irqpoll" option)
Call Trace:[<8000a2fc>] 0x8000a2fc
[<8000a2fc>] 0x8000a2fc
[<80059f00>] 0x80059f00
[<8005a0d4>] 0x8005a0d4
[<8005a8d8>] 0x8005a8d8
[<8004e008>] 0x8004e008
.....
.....
handlers:
[<8015dd3c>]
Disabling IRQ #3
irq 3: nobody cared (try booting with the "irqpoll" option)
Call Trace:[<8000a2fc>] 0x8000a2fc
....
etc
=================

After a second (hot) reboot using the reset button, the system starts up normally

In a country with many power outages, that is not very handy. Any idea how to solve this? Indeed use the irqpoll option? Do you have similar experiences? Or could it be a consequence of having not enough NVRAM available for the JFFS? (need to look up that error report).

2) Still need to figure out why the system won't boot when a second USB-device (an external HD) is attached. I think that there I need to do some tweeking of the rc.local and use labels and/or UUID of the USB-boot stick and the external HD to tell the system from where to boot.

Regards,
Maarten

Hi Maarten

I have the same problem. The router gets stuck in the kexec image after a cold boot, and the usb image doesn't load. I think that it's a memory/hardware problem since the router boots normally, when the "halt" command is issued before the power is disconnected.
Unfortunately this doesn't help in case of sudden power cut.   

Regards
Lars

Really nice to see such great info here and at http://wl700ge.hezik.nl/10.03.1 :-)

Would it be possible to use the USB image, put the "second" image to USB, boot with USB, then do a rsync from USB to HDD, then do the final flash with a "final" HDD image ?

Also, am I right that after that I can update directly on the router (with opkg update ; opkg upgrade) ?

Thanks you very much !!!

Gregoire wrote:

Would it be possible to use the USB image, put the "second" image to USB, boot with USB, then do a rsync from USB to HDD, then do the final flash with a "final" HDD image ?

I don't get the point. If you want to free the front USB port, you can use one of the ports on the rear, or solder an extra port internally in the device. 

Gregoire wrote:

Also, am I right that after that I can update directly on the router (with opkg update ; opkg upgrade)

Yes.

/larmoe

(Last edited by larmoe on 29 Oct 2012, 21:01)

The point is to avoid removing the internal HDD, having to put it into a PC, copy the files to it, then put it back into the router which isn't really easy for everyone.
Afterthat we got a working router without usb needed at all (I don't need any usb on it as I use the internal hdd).

I get unaligned access when starting openvpn. How to fix it?
root@Lieta:/# /etc/init.d/openvpn start
root@Lieta:/# Unhandled kernel unaligned access[#1]:
Cpu 0
$ 0   : 00000000 1000dc00 81060000 00010000
$ 4   : 82556242 000000fa 8255623c 00000000
$ 8   : 838ad710 83308560 838ad6c0 00000000
$12   : ffffffff 8263a388 8263a390 00000001
$16   : 83308560 838ad6c0 00000000 82554ac0
$20   : 00000001 838ad774 810751a4 00000000
$24   : 00000000 8255623c
$28   : 838f0000 838f1c00 00010000 801a0534
Hi    : 00000000
Lo    : 000005e0
epc   : 801a05d8 0x801a05d8
    Not tainted
ra    : 801a0534 0x801a0534
Status: 1000dc03    KERNEL EXL IE
Cause : 00800010
BadVA : 82556242
PrId  : 00029006 (Broadcom BCM3302)
Modules linked in: tun usb_storage usbserial usbnet uhci_hcd ohci_hcd xt_IMQ imq nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_MARK ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn xt_DSCP xt_dscp xt_string xt_layer7 ipt_MASQUERADE iptable_nat nf_nat xt_CONNMARK xt_recent xt_helper xt_conntrack xt_connmark xt_connbytes xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd sd_mod pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ide_gd_mod bonding ext2 ext3 jbd ppp_async ppp_generic slhc aec62xx xfs vfat fat ntfs ext4 jbd2 b43legacy b43 mac80211 usbcore ts_fsm ts_bm ts_kmp scsi_mod nls_base ipv6 ide_core mbcache exportfs crc16 crc_ccitt cfg80211 compat arc4 aes_generic deflate ecb cbc switch_robo switch_core diag
Process openvpn (pid: 1695, threadinfo=838f0000, task=80d4a948, tls=00000000)
Stack : 82554ac0 801a1fcc 7ffd75e0 83302380 838ad6c0 00000000 838ad6c0 8022c79c
        00000008 0047ccd7 838f1d04 838f1e78 00000001 838f1c80 00000002 8385ed80
        80280000 83302380 82556200 838ad6c0 83302380 8022cab8 80d4a948 1000dc00
        80d4add0 80d4a948 800a61cc 0000001f 00000000 80d4a948 00000000 83302380
        838ad6c0 8028ac9c 82d51400 801acd00 838f1c68 800a6368 00100100 00200200
        ...
Call Trace:[<801a1fcc>] 0x801a1fcc
[<8022c79c>] 0x8022c79c
[<8022cab8>] 0x8022cab8
[<800a61cc>] 0x800a61cc
[<801acd00>] 0x801acd00
[<800a6368>] 0x800a6368
[<801acfa0>] 0x801acfa0
[<8001d66c>] 0x8001d66c
[<8009d874>] 0x8009d874
[<801ad778>] 0x801ad778
[<8001d7d4>] 0x8001d7d4
[<8002bb98>] 0x8002bb98
[<80220cec>] 0x80220cec
[<8002bcb0>] 0x8002bcb0
[<801ad94c>] 0x801ad94c
[<82d02638>] 0x82d02638
[<80093460>] 0x80093460
[<8003e0c4>] 0x8003e0c4
[<800940e8>] 0x800940e8
[<800942ac>] 0x800942ac
[<80003230>] 0x80003230
[<8002ae60>] 0x8002ae60


Code: 00641824  10600008  8e2400a4 <c0820000> 24420001  e0820000  10400021  00000000  08068193
Disabling lock debugging due to kernel taint
Kernel panic - not syncing: Fatal exception in interrupt
Rebooting in 3 seconds..
Please stand by while rebooting the system...

You probably forced installing an incompatible kmod-tun.

Thanks. I rebuilt everything from latest trunk. Another problem popped up. When I put the router under heavy load, e.g. download a torrent file with speed of some MB/s, it crashes.

root@Lieta:~# uname -a
Linux Lieta 3.6.11 #3 Fri Jan 18 22:59:23 UTC 2013 mips GNU/Linux
root@Lieta:/# [ 1064.912000] [sched_delayed] sched: RT throttling activated
[ 1123.212000] Unhandled kernel unaligned access[#1]:
[ 1123.212000] Cpu 0
[ 1123.212000] $ 0   : 00000000 1000dc00 b54e6225 b54e6235
[ 1123.212000] $ 4   : 00010000 00010000 8108220c 00000024
[ 1123.212000] $ 8   : 00000020 81080000 00000004 00000001
[ 1123.212000] $12   : 82c11f90 00000000 00000000 0000003c
[ 1123.212000] $16   : 82d81bc0 00000001 802acc10 802e0000
[ 1123.212000] $20   : 00000006 00000008 808e0000 808e0000
[ 1123.212000] $24   : 00000000 801f5e6c
[ 1123.212000] $28   : 82fa4000 82fa5ca0 00208140 801baa1c
[ 1123.212000] Hi    : 00000000
[ 1123.212000] Lo    : 00000000
[ 1123.212000] epc   : 8006c140 put_page+0x34/0xbc
[ 1123.212000]     Tainted: G           O
[ 1123.212000] ra    : 801baa1c skb_release_data+0xf8/0x178
[ 1123.212000] Status: 1000dc03    KERNEL EXL IE
[ 1123.212000] Cause : 00800010
[ 1123.212000] BadVA : b54e6235
[ 1123.212000] PrId  : 00029006 (Broadcom BMIPS3300)
[ 1123.212000] Modules linked in: ide_gd_mod aec62xx ide_core usb_storage ohci_hcd 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 sd_mod pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables tun ppp_async ppp_generic slhc ext4 jbd2 mbcache b43legacy(O) b43(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc16 crc_ccitt cfg80211(O) compat(O) ssb_hcd bcma_hcd arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_robo(O) switch_core(O) b44 diag(O)
[ 1123.212000] Process irq/6-b43 (pid: 941, threadinfo=82fa4000, task=82c031b8, tls=00000000)
[ 1123.212000] Stack : 82d10bc8 00000000 00000040 838c8560 82d81bc0 82d81bc0 82c29460 801baab8
        802d0000 801c487c 838c8560 82d81bc0 82d81bc0 801c3a60 82fa5cd8 82fa5cd8
        808e1204 00000007 00000001 808e1208 00000003 00000002 00000100 800204d0
        00ff0000 8005826c 802d0000 00010000 fffffffe 802d0000 1000dc00 82d74000
        00ff0000 8005826c 802d0000 00010000 fffffffe 802d0000 80060000 80020760
        ...
[ 1123.212000] Call Trace:
[ 1123.212000] [<8006c140>] put_page+0x34/0xbc
[ 1123.212000] [<801baa1c>] skb_release_data+0xf8/0x178
[ 1123.212000] [<801baab8>] __kfree_skb+0x1c/0x1b8
[ 1123.212000] [<801c3a60>] net_tx_action+0xa0/0x1e0
[ 1123.212000] [<800204d0>] __do_softirq+0xc8/0x1b4
[ 1123.212000] [<80020760>] do_softirq+0x5c/0x94
[ 1123.212000] [<80020994>] irq_exit+0x4c/0x7c
[ 1123.212000] [<80005744>] ret_from_irq+0x0/0x4
[ 1123.212000] [<8025992c>] mutex_unlock+0x18/0xa0
[ 1123.212000] [<82f07a24>] b43_controller_restart+0x860/0xa3c [b43]
[ 1123.212000] [<801a3f24>] ssb_pci_write32+0x0/0x94
[ 1123.212000]
[ 1123.212000]
Code: 00a42024  10800008  00000000 <c0640000> 2485ffff  e0650000  10a0fffc  00000000  0801b06c
[ 1123.472000] ---[ end trace 562f8b910bfe7f02 ]---
[ 1123.484000] Kernel panic - not syncing: Fatal exception in interrupt
[ 1123.484000] Rebooting in 3 seconds..

pure-ftpd requires argp-standalone
No idea where to get it. Not available on http://downloads.openwrt.org/snapshots/ … /packages/ and make menuconfig as well.
root@Lieta:~# opkg install pure-ftpd
Installing pure-ftpd (1.0.32-3) to root...
Downloading http://downloads.openwrt.org/snapshots/ … m47xx.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for pure-ftpd:
*     argp-standalone *
* opkg_install_cmd: Cannot install package pure-ftpd.

Hello!

To: larmoe

larmoe wrote:

To-do next: Build a initramfs image to load from USB.

I have a asus wl700ge router with 2mb rom. I took a USB-Flash Image from here (http://wl700ge.hezik.nl/node/116) and upload it in a router. Firmware is working, but how can I move it to a USB-Flash? Instruction from here (http://wl700ge.hezik.nl/content/30-change-root-hddusb) is not suitable. Can you tell me, step by step, how to do it, since it is not described anywhere else for cropped version of OpenWRT sad

fxvale wrote:

Firmware is working, but how can I move it to a USB-Flash?.

The Flash image is only for the routers internal "Flash". Use the "Basic 2nd Image" to put on your USB memory or compile your own kernel.

The discussion might have continued from here.