[OpenWrt-Devel] EP93xx compile problem
Folks, Not sure how to resolve this: while compiling mklibs, got the following: make[7]: Entering directory `/var/storage/src/trunk-arm/build_dir/host/mklibs/src/mklibs-readelf' x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -O2 -I/var/storage/src/trunk-arm/staging_dir/host/include -I/var/storage/src/trunk-arm/tools/mklibs/include -g -O2 -MT elf.o -MD -MP -MF .deps/elf.Tpo -c -o elf.o elf.cpp elf.cpp: In static member function 'static Elf::file* Elf::file::open(const char*)': elf.cpp:68:5: error: '::close' has not been declared make[7]: *** [elf.o] Error 1 any ideas how to fix? Thanx, David A. Bandel -- Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe. -- Albert Einstein Visit my web page at: http://david.bandel.us/ ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] WRAP board (x86-generic-pcengines wrap) boot problems
On Mon, Nov 2, 2009 at 18:18, Florian Fainelli flor...@openwrt.org wrote: Hi David, 2009/11/3, David A. Bandel david.ban...@gmail.com: On Mon, Nov 2, 2009 at 12:44, Jo-Philipp Wich x...@subsignal.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure whether same config is supposed to work. At least the rootfs partition name changed recently, my Wrap Board here works fine with an ext2 image and CONFIG_X86_GRUB_ROOTPART=/dev/sda2 . OK, tried again -- make distclean, then make package/symlinks (did a minimal config), make menuconfig (added packages and I see the /dev/sda2 entry vice /dev/hda2), build went well, but I still have: ata1.00: failed to IDENTIFY (device reports invalid type, err_mask=0x0) block2mtd: error: cannot open device /dev/sda2 It will not work because of those two lines before. Could you paste the message that is shown before the failed to IDENTIFY? Are you using some broken medium ? scsi0 : sc1200 scsi1 : sc1200 ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xfc00 irq 14 ata2: DUMMY ata1.00: failed to IDENTIFY (device reports invalid type, err_mask=0x0) Clocksource tsc unstable (delta = -474635714 ns) ata1.00: failed to IDENTIFY (device reports invalid type, err_mask=0x0) block2mtd: error: cannot open device /dev/sda2 Whether the medium is broken or not, I can't say, it's a Sharp 16Mb CF disk that works fine if I load r-16637. Ciao, David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto Visit my blog at: http://www.pananix.com/cgi-bin/blosxom ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] WRAP board (x86-generic-pcengines wrap) boot problems
Folks, OK, not sure what the problem is. I've previously (cerca r-16637) built the wrap image and all went well. I've tried with a more recent svn, but using the same .config from r-16637. Unfortunately, it won't boot. Here's the last few lines during boot: scsi0 : sc1200 scsi1 : sc1200 ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xfc00 irq 14 ata2: DUMMY ata1.00: failed to IDENTIFY (device reports invalid type, err_mask=0x0) Clocksource tsc unstable (delta = -478254592 ns) ata1.00: failed to IDENTIFY (device reports invalid type, err_mask=0x0) block2mtd: error: cannot open device /dev/hda2 PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice enabling scx200 high-res timer (1 MHz +0 ppm) TCP westwood registered NET: Registered protocol family 17 Bridge firewalling registered 802.1Q VLAN Support v1.8 Ben Greear gree...@candelatech.com All bugs added by David S. Miller da...@redhat.com Using IPI Shortcut mode VFS: Cannot open root device mtdblock0 or unknown-block(0,0) Please append a correct root= boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Pid: 1, comm: swapper Not tainted 2.6.31.5 #1 Call Trace: [c101f6c7] ? panic+0x47/0xf0 [c12bbab0] ? mount_block_root+0x1d0/0x270 [c1002930] ? do_notify_resume+0x3f0/0x910 [c12bbb97] ? mount_root+0x47/0x60 [c12bbce5] ? prepare_namespace+0x135/0x170 [c106765f] ? sys_access+0x1f/0x30 [c12bb552] ? kernel_init+0xd2/0xe0 [c12bb480] ? kernel_init+0x0/0xe0 [c1003813] ? kernel_thread_helper+0x7/0x14 Again, identical configs, last one that boot was 16637, current version 18261. Not sure what happened here. TIA, David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto Visit my blog at: http://www.pananix.com/cgi-bin/blosxom ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] WRAP board (x86-generic-pcengines wrap) boot problems
On Mon, Nov 2, 2009 at 12:44, Jo-Philipp Wich x...@subsignal.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure whether same config is supposed to work. At least the rootfs partition name changed recently, my Wrap Board here works fine with an ext2 image and CONFIG_X86_GRUB_ROOTPART=/dev/sda2 . OK, tried again -- make distclean, then make package/symlinks (did a minimal config), make menuconfig (added packages and I see the /dev/sda2 entry vice /dev/hda2), build went well, but I still have: ata1.00: failed to IDENTIFY (device reports invalid type, err_mask=0x0) block2mtd: error: cannot open device /dev/sda2 PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice enabling scx200 high-res timer (1 MHz +0 ppm) TCP westwood registered NET: Registered protocol family 17 Bridge firewalling registered 802.1Q VLAN Support v1.8 Ben Greear gree...@candelatech.com All bugs added by David S. Miller da...@redhat.com Using IPI Shortcut mode VFS: Cannot open root device mtdblock0 or unknown-block(0,0) Please append a correct root= boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Pid: 1, comm: swapper Not tainted 2.6.31.5 #1 Call Trace: [c101f6c7] ? panic+0x47/0xf0 [c12baab0] ? mount_block_root+0x1d0/0x270 [c1002930] ? do_notify_resume+0x3f0/0x910 [c12bab97] ? mount_root+0x47/0x60 [c12bace5] ? prepare_namespace+0x135/0x170 [c106764f] ? sys_access+0x1f/0x30 [c12ba552] ? kernel_init+0xd2/0xe0 [c12ba480] ? kernel_init+0x0/0xe0 [c1003813] ? kernel_thread_helper+0x7/0x14 This is after starting from scratch. Something is still broken. David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto Visit my blog at: http://www.pananix.com/cgi-bin/blosxom ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] WDS and broadcast/multicast?
On Sat, Aug 1, 2009 at 19:49, Jeremy Kerrj...@ozlabs.org wrote: Hi all, [sending this to -devel, as I haven't had any response on -users, hope this is okay] I've recently set up WDS between two WRT54Gs (one v2 and one v4). However, with WDS enabled it seems that wireless clients aren't receiving broadcast or multicast packets. Have you reviewed the /proc filesystem? Check the wireless interfaces for /proc/sys/net/ipv4/conf/wireless_interface/mc_forwarding nad /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts Ciao, David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto Visit my blog at: http://www.pananix.com/cgi-bin/blosxom signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] routerstation and madwifi
On Tue, Jun 30, 2009 at 05:34, Dennis Bartschdennis_bart...@hotmail.com wrote: Hello, the solution is as simple as it was discussed here. By compiling madwifi without compression capabilities the routerstation booted nicely with 2 atheros cards. I assume that the hardware compression engine doesn't work together with 4byte DMA transactions which had to be comfigured to get the old a/b/g atheros chips on AR71xx Turning off compression didn't work. And if this patch fixes whatever changed in the madwifi makefile from 15947 to 15948, then we're good to go -- but I will try the patch. David- -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] routerstation and madwifi
On Tue, Jun 30, 2009 at 05:34, Dennis Bartschdennis_bart...@hotmail.com wrote: Hello, the solution is as simple as it was discussed here. By compiling madwifi without compression capabilities the routerstation booted nicely with 2 atheros cards. I assume that the hardware compression engine doesn't work together with 4byte DMA transactions which had to be comfigured to get the old a/b/g atheros chips on AR71xx hmm. missed this discussion (not surprising) I attached a patch which makes compression an optional parameter in menuconfig. This patch does work. Pls commit. Thanx, David- -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] routerstation and madwifi
On Mon, Jun 29, 2009 at 06:42, Vasilis Tsiligiannisb_tsiligian...@silverton.gr wrote: On Sunday 28 June 2009 19:08:10 David A. Bandel wrote: Vasilis, Well, in 16603 neither compression off nor backing out 434 works (or so it seems). I'm open to more suggestions. David- Hi David, Trying backing out r15949 patch. Btw, do you have access to the serial console? That's the big problem, I don't. I may be able to build a cable -- the board has UART pins. I have no jtag for a mips board either. Working this purely from ethernet. If syslog is alive, perhaps I can grab some snippets before it locks up. Will try 15949. David- -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] routerstation and madwifi
On Sun, Jun 28, 2009 at 03:51, Vasilis Tsiligiannisb_tsiligian...@silverton.gr wrote: On Sunday 28 June 2009 05:06:29 david.ban...@gmail.com wrote: Folks, Not long ago, I posted about a problem w/ the Ubiquity routerstation board and madwifi. I have narrowed things down a little more. svn version 15940 works as it should. if I svn up -r 15950, compile, load the exact same configuration file, the board locks ups solid 7 seconds after the network is enabled (about the time the madwifi drivers come up). I will note that I am running versions higher than this on other boards (one Alix board is running 16520). So this _only_ affects the routerstation board. Removing the atheros cards and no lockup (but not much good as the system is slated to be an AP). So I'm stuck at 15940 on the routerstation. Ciao, David A. Bandel Hello David, have you tested latest svn revision? This may be some instability related to compression. Compression is enabled by default on madwifi, if compiled with this capability enabled. There is a fix for this in r16421. P.S. You can also try an earlier revision and disable compression with 'option compression 0'. Vasilis, Built 16603 and installed. Same problem. Removed the cards and made sure compression was off (0). No dice, still becomes unreachable. 15940 works. 15950 doesn't. In 15950, patch 434-name-alloc-fix was introduced. I can try a build w/ 15949 to see if it works or not, but first will try to back out patch 434 to see if the problem remains. David- -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] routerstation and madwifi
On Sun, Jun 28, 2009 at 03:51, Vasilis Tsiligiannisb_tsiligian...@silverton.gr wrote: On Sunday 28 June 2009 05:06:29 david.ban...@gmail.com wrote: Folks, Not long ago, I posted about a problem w/ the Ubiquity routerstation board and madwifi. I have narrowed things down a little more. svn version 15940 works as it should. if I svn up -r 15950, compile, load the exact same configuration file, the board locks ups solid 7 seconds after the network is enabled (about the time the madwifi drivers come up). I will note that I am running versions higher than this on other boards (one Alix board is running 16520). So this _only_ affects the routerstation board. Removing the atheros cards and no lockup (but not much good as the system is slated to be an AP). So I'm stuck at 15940 on the routerstation. Ciao, David A. Bandel Hello David, have you tested latest svn revision? This may be some instability related to compression. Compression is enabled by default on madwifi, if compiled with this capability enabled. There is a fix for this in r16421. P.S. You can also try an earlier revision and disable compression with 'option compression 0'. Vasilis, Well, in 16603 neither compression off nor backing out 434 works (or so it seems). I'm open to more suggestions. David- -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Routerstation and madwifi
Folks, I have recently rebuilt openwrt for several of my architectures (among them WRAP, ALIX, Gateworks 2348, and the Routerstation). All seem to work fine except the routerstation. The routerstation works fine until Atheros cards are put in, and the cards activate. I am using the madwifi drivers. I have no JTAG cable (no serial cable either). During boot, I ping the system. The network activates, and I get about 7-9 pong packets, then all activity ceases. The routerstation boards are fine as long as the Atheros cards aren't turned on (but also not much good either as these are supposed to be APs). Older versions I built (pre-May 19) work. All newer versions since exhibit this behavior only on the routerstations. Can the author of the madwifi svn changes pls review? Thanx, David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] New OpenWrt Community Wiki
On Thu, Jun 18, 2009 at 2:34 PM, Matthias Buecher / Germany m...@maddes.net wrote: Hi Kloschi, doesn't work for me: #1 http://wiki.openwrt.org/DropbearPublicKeyAuthenticationHowto should result in http://oldwiki.openwrt.org/DropbearPublicKeyAuthenticationHowto.html so .html is missing #2 slashes have to be converted to (2f) Maddes Folks, Been following this link, and for kicks read the above DropbearPublicKeyAuth... doc. Didn't see an author link, and would like to correct the section Disable password login. Best not to change the startup script, but change the /etc/config/dropbear option PasswordAuth 'on' from on to off and restart dropbear. Ciao, David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Same config, different architectures
Folks, I've built and installed a routerstation. Great. Now what I want/need to do is change just the target architecture, but not the package list. I know this part must be simple, but it is eluding me. I copy the .config out (also copy the dl directory out), make distclean, make package/symlinks package/symlinks-install, copy in the .config. When I run make config, I see everything as I want it, but as soon as I change the architecture, _everything_ changes (all the package choices are undone). Is there a way to change just the target architecture and _not_ change what packages are included/built as packages? Thanx, David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] uClibc build failure
On Tue, May 12, 2009 at 5:13 AM, Nico n...@openwrt.org wrote: Hi Josh, You have to remove the whole toolchain and rebuild it: make toolchain/clean toolchain/install (If the below is answered in the docs, excuse the questions. Not having much luck building the docs.) OK, this particular step (and may be the reason for a package file build failure I just had) is necessary when? When changing between architectures only (arm/mips/x86 in target system menu) or anytime you change target profile? If this is necessary between builds of the same target system/target profile, something is broken (as it was when I reported it a few days ago). I've been using make clean or make dirclean (which as I read the Makefile do the same thing) when changing target profiles or target systems. I hadn't noticed the toolchain/clean toolchain/install targets in the Makefile (probably because they're included from the toolchain directory). Will try again to build the docs. Ciao, David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] ndisc6 compile failure w/ xscale
Folks, got an error compiling ndisc6 for xscale -- seems ppoll is defined twice: ndisc6-0.9.8/doc' Making all in compat make[6]: Entering directory `/usr/src/trunk/build_dir/target-armeb_uClibc-0.9.29/ndisc6-0.9.8/compat' armeb-openwrt-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/src/trunk/staging_dir/target-armeb_uClibc-0.9.29/usr/include -I/usr/src/trunk/staging_dir/target-armeb_uClibc-0.9.29/include -Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float -std=c99 -MT ppoll.o -MD -MP -MF .deps/ppoll.Tpo -c -o ppoll.o ppoll.c In file included from /usr/src/trunk/staging_dir/toolchain-armeb_gcc-4.1.2_uClibc-0.9.29/usr/lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.1.2/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/poll.h:1, from ppoll.c:30: /usr/src/trunk/staging_dir/toolchain-armeb_gcc-4.1.2_uClibc-0.9.29/usr/lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.1.2/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/sys/poll.h:71: error: conflicting types for 'ppoll' ../compat/fixups.h:60: error: previous declaration of 'ppoll' was here perhaps fixups.h shouldn't be included in the xscale build ?? Ciao, David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] uClibc build failure
Folks, 2 days ago I built a x86-WRAP package. Build went well (works just fine). Today, I did an `svn up` (silly me), changed a few packages from M to *, and performed a rebuild. Build crashes with: i486-openwrt-linux-uclibc-ld: /usr/src/trunk/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.29/usr/lib/gcc/i486-openwrt-linux-uclibc/4.1.2/libgcc_initial.a: No such file: No such file or directory There is a libgcc.a, but nowhere is there a libgcc_initial.a Any ideas, anyone? TIA, David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel