**** BEGIN LOGGING AT Thu Aug 20 02:59:57 2009 Aug 20 05:05:16 xMff: :( everything seems to be working on my new box _except_ asterisk. .. which possibly works, but trying to get at a console causes a segfault Aug 20 08:59:07 http://openwrt.pastebin.com/d426aacde - any idea? Aug 20 09:12:42 http://openwrt.pastebin.com/d27345be3 - after wget2nand :( Aug 20 09:20:38 @Dogge_: have you formatted the flash memory from RedBoot menu first? Aug 20 09:21:27 no Aug 20 09:21:35 will try this Aug 20 09:56:51 frogonwheels: strace? Aug 20 09:58:41 have you looked at fonstate yet, xMff? Aug 20 09:58:54 no Aug 20 10:00:22 :( Aug 20 10:52:37 acoul seems to be hanging at: setting up elf image... Aug 20 10:55:29 acoul do you have an build that definitely works? Aug 20 11:17:35 ok. if booting from nand the rb433uah hangs at setting up elf image... :( Aug 20 11:18:50 http://openwrt.pastebin.com/d27c7ab01 Aug 20 11:24:52 any hint? Aug 20 11:26:10 @Dogge_: my build images are too wifi specific ... they are trimmed down. lacking bridge functionality etc. to serve as bare point2point routers on a trusted backbone network, but for testing you can use this: http://wifi.ozo.com/airo/openwrt/firmware/kamikaze/2.6/ar71xx/17062/ Aug 20 11:26:52 ok. will give it a try Aug 20 11:27:18 but any idea why it hangs there? Aug 20 11:28:41 I only have access to RB411 & RB433 hw and haven't play with them lately. BTW, I use gcc-4.4.1 Aug 20 11:29:18 make sure you always issue a make distclean Aug 20 11:29:22 from time to time Aug 20 11:30:04 even building between elf and tgz image? Aug 20 11:30:46 trunk introduces many changes, if you want to play it safe, make distclean is a must Aug 20 11:31:10 okie Aug 20 11:50:26 xMff: Duh. hadn't even thought to do an strace. I usually suggest that mysefl. Aug 20 11:52:36 http://pastebin.com/d5ae9706d Aug 20 11:55:14 argh, when I don't pipe it, there's an extra line .. ioctl(1, TIOCGWINSZ, {ws_row=25, ws_col=80, ws_xpixel=0, ws_ypixel=0}) =0 Aug 20 12:28:43 frogonwheels: I assume you have quite some space on your target? The you might want to build a native gdb as well Aug 20 12:38:52 frogonwheels: I can't open the paste btw Aug 20 13:51:55 hello, how do i get support for an openwrt package which does not compile ? Aug 20 13:54:54 <[florian]> delaitt: post the output of the compilation failure at openwrt.pastebin.com and I will see how I can nhelp Aug 20 14:04:42 nbd * r17325 /trunk/include/package-ipkg.mk: fix multiple ipkg builds of the same arch but with different targets in the same checkout Aug 20 14:18:44 posted (m420d3e2a) Aug 20 14:59:57 nbd * r17326 /trunk/package/mac80211/ (6 files in 2 dirs): upgrade mac80211 to 2008-08-20 and clean up some unnecessary patching to config.mk, which frequently causes rejects on new versions Aug 20 15:00:02 nbd * r17327 /trunk/package/mac80211/ (5 files in 2 dirs): remove support for compat-wireless-old Aug 20 15:09:06 nbd * r17328 /trunk/package/mac80211/patches/201-ath5k-WAR-for-AR71xx-PCI-bug.patch: Aug 20 15:09:06 mac80211: fix ath5k dma size workaround for ar71xx Aug 20 15:09:06 Atheros legacy hardware does not perform well on ar71xx unless both TXCFG and RXCFG are forced to 4 bytes. Aug 20 15:09:06 The previous patch only changed RXCFG. The OpenWrt Madwifi HAL also sets both RXCFG and TXCFG Aug 20 15:31:19 nbd * r17329 /trunk/rules.mk: move the package dir to bin/packages/$(BOARD)_$(LIBC)-$(LIBCV) to prevent multiple configs with the same arch from deleting each others' packages Aug 20 15:31:24 nbd * r17330 /trunk/package/base-files/Makefile: now that each target has its own package directory, remove the base-files package renaming hack Aug 20 15:41:21 nbd * r17331 /trunk/package/mac80211/Makefile: mac80211: add missing config override Aug 20 15:48:43 nbd * r17332 /trunk/include/package-ipkg.mk: merge the control file and the .ipk file targets into one to prevent them from going out of sync Aug 20 15:58:57 nbd * r17333 /trunk/package/wpa_supplicant/Makefile: wpa_supplicant: fix madwifi related config change handling Aug 20 16:06:24 acoul no luck. my selfcompiled images haning at "setting up elf image" :( Aug 20 16:07:23 nbd do you have any idea? Aug 20 16:08:43 http://openwrt.pastebin.com/d751eafee Aug 20 16:08:53 florian * r17334 /trunk/tools/mpfr/ (Makefile patches/001-no_tests.patch): [tools] update mpfr to 2.4.1 Aug 20 16:11:51 @Dogge_: does this image: http://wifi.ozo.com/airo/openwrt/firmware/kamikaze/2.6/ar71xx/17062/ work for you? Aug 20 16:12:24 i'll give it a try now. but it's way to old Aug 20 16:12:39 it's 2.6.30.4 kernel Aug 20 16:12:58 ok Aug 20 16:19:43 acoul with your image even wget2nand does not work Aug 20 16:20:07 which does with my image Aug 20 16:20:08 http://openwrt.pastebin.com/d37285e45 Aug 20 16:21:04 ah ok Aug 20 16:23:53 ok. no idea how to get networking running with your image Aug 20 16:29:06 @Dogge_: I told you it's a trimed down image. does it read the partitions without errors? Aug 20 16:30:06 the bad eraseblocks was gone after formatting the nand flash Aug 20 16:30:44 so what is the problem? Aug 20 16:31:37 the problem now is this: http://openwrt.pastebin.com/d21b7c2d7 Aug 20 16:31:42 hangs there forever Aug 20 16:32:21 netbooting an image works but not from nand. Aug 20 16:32:46 can you put it on nand manually? Aug 20 16:33:03 i used wget2nand Aug 20 16:33:19 will not try it manually Aug 20 16:36:29 do a netboot Aug 20 16:36:43 the cat /dev/mtd Aug 20 16:36:59 find the partition that the kernel resides Aug 20 16:37:26 then mount /dev/mtdblock <-- the number that the kernel is Aug 20 16:37:44 then see if there is a kernel image in that partition Aug 20 16:37:57 if not you can put one by wget Aug 20 16:38:45 the setps from this howto are similar: http://rb1xx.ozo.com/doku.php#quick_howto Aug 20 16:43:05 a kernel is there Aug 20 16:43:07 nbd: im pretty sure that madwifi update just broke atheros builds Aug 20 16:44:09 itll build, you can flash it, but nothing happens when it reboots, no dhcp, no wireless Aug 20 16:44:18 tested dlink and ubiquiti Aug 20 16:44:34 acoul kernel and rootfs are in their partitions Aug 20 16:46:26 i have a Cellvision NFS-101u, i built the newest svn version with correct platform, endinanness and profile - but how can i put the resulting image on the box (and where is the resulting image) Aug 20 16:51:40 @Dogge_: what is the size of the kernel there? Aug 20 16:52:48 nbd * r17335 /trunk/package/mac80211/ (4 files in 2 dirs): mac80211: speed up build by reducing the makefile shell calls, fix forced disable of rfkill Aug 20 16:52:51 @Dogge_: you can try to put an uncompressed kernel there Aug 20 16:56:38 nbd * r17336 /trunk/package/mac80211/patches/010-b43_disable_lpphy.patch: mac80211: disable b43 lp-phy support for now Aug 20 17:03:50 i'm out of ideas Aug 20 17:04:53 <[florian]> Dogge_: did you try putting an uncompressed kernel as suggested by acoul? Aug 20 17:06:53 nbd * r17337 /trunk/package/mac80211/patches/001-speedup_build.patch: fix a typo in the compat-wireless build speedup patch Aug 20 17:07:45 [florian] which file should i use? Aug 20 17:08:17 <[florian]> Dogge_: the one which ends with vmlinux.elf Aug 20 17:08:53 i already use openwrt-ar71xx-vmlinux.elf all the time Aug 20 17:09:35 florian * r17338 /packages/utils/rdiff-backup/Makefile: [package] update rdiff-backup to 1.2.8, add missing openssl-util dependency (#5682) Aug 20 17:25:35 nbd * r17339 /trunk/package/mac80211/patches/011-move_ar9170_usb_compat_code.patch: mac80211: reorganize compat code to make cfg80211 load without usb Aug 20 17:32:53 nbd * r17340 /trunk/package/mac80211/ (3 files in 2 dirs): b43: disable pio and pcmcia support Aug 20 18:49:14 nbd * r17341 /trunk/package/mac80211/patches/100-cfg80211_fix_scan_check_again.patch: mac80211: fix a race condition in the cfg80211 scanning code (thx, johill) Aug 20 19:28:45 nbd http://openwrt.pastebin.com/d108768d6 Aug 20 19:36:46 <[florian]> Dogge_: Cannot write to `/tmp/wget2nand-kernel/kernel' (No space left on device). !! Aug 20 19:36:58 <[florian]> Dogge_: the kernel on your nand is fucked up Aug 20 19:37:26 <[florian]> Dogge_: actually you are running out of space on the /tmpfs Aug 20 19:38:27 <[florian]> Dogge_: it erase the files in /tmp/wget2nand-rootfs/ to make sure there is space, can you check the size of your kernel? Aug 20 19:40:55 [florian] ls -a /tmp/wget2nand-kernel/lost+found shows no files Aug 20 19:41:05 df -h reports there is space used Aug 20 19:41:12 but no files are shown :( Aug 20 19:42:17 root@OpenWrt:/# ls -ahl /tmp/wget2nand-kernel/kernel Aug 20 19:42:17 -rwxr-xr-x 1 root root 1.5M Jan 1 00:22 /tmp/wget2nand-kernel/kernel Aug 20 19:42:30 sux Aug 20 19:42:34 <[florian]> Dogge_: I see the problem, but I do not understand why /tmp/wget2nand-rootfs/lost+found cannot be removed Aug 20 19:42:42 <[florian]> Dogge_: can you mount /dev/mtdblock1 manually Aug 20 19:42:48 <[florian]> Dogge_: and remove everything inside? Aug 20 19:43:22 already mounted manually and then i run rm -rf /tmp/wget2nand-kernel/* Aug 20 19:43:37 then it says it can't remove lost+found dir because it's not empty :( Aug 20 19:43:44 <[florian]> ok, then empty it Aug 20 19:44:08 there are no files in lost+found. ls does not return any Aug 20 19:44:28 <[florian]> there are hidden files for sure Aug 20 19:44:46 maybe. but how can i see the hidden ones? Aug 20 19:45:15 <[florian]> ls -al Aug 20 19:46:17 [florian] http://openwrt.pastebin.com/d7bc30afc Aug 20 19:46:23 there is nothing Aug 20 19:46:44 hm, i managed to flash a fresh openwrt build to my cellvision nfs-101u device and the kernel boots properly even the rootfs could be mounted - but the kernel panics with: Please be patient, while OpenWrt loads ... Kernel panic - not syncing: Attempted to kill init! Aug 20 19:47:39 <[florian]> Dogge_: ok, try that: find lost+found -name "*" | xargs rm -rf Aug 20 19:48:25 root@OpenWrt:/tmp/wget2nand-kernel# find lost+found -name "*" | xargs rm -rf Aug 20 19:48:25 rm: cannot remove 'lost+found': Directory not empty Aug 20 19:48:48 <[florian]> crap Aug 20 19:48:58 <[florian]> then ask routerboot to erase the nand for you Aug 20 19:49:37 :( Aug 20 19:50:44 but thanks for your help Aug 20 19:51:42 <[florian]> right now this is the only solution you have Aug 20 19:51:45 <[florian]> you are welcome Aug 20 19:51:56 <[florian]> this can be a bug in yaffs2 Aug 20 19:52:16 o_O Aug 20 23:34:09 does anyone have a openocd capable usb-jtag device to recommend? **** ENDING LOGGING AT Fri Aug 21 02:59:56 2009