Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-28 Thread Philip Prindeville
to insmod in the call trace). http://www.faqs.org/docs/Linux-HOWTO/Kernel-HOWTO.html#systemmap That URL goes on the explain the System.map and why things like modules aren't in it. So...now I'm stuck. On 2/27/12 11:11 PM, Philip Prindeville wrote: You should be able to get a stack trace

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-28 Thread Philip Prindeville
As it turns out you only need 2-3 commands... you can almost script it with macros. On 2/28/12 2:17 PM, Adam Gensler wrote: Unfortunately I have zero experience with gdb. It would probably take longer to learn how to use that than to refresh to the kernel patches on 3.2 to support 3.2.7 so

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-03-02 Thread Philip Prindeville
for the correct terminology. If you have a sample / example I'd certainly take a look at doing it. On 2/28/12 5:12 PM, Philip Prindeville wrote: As it turns out you only need 2-3 commands... you can almost script it with macros. On 2/28/12 2:17 PM, Adam Gensler wrote: Unfortunately I have zero

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-03-02 Thread Philip Prindeville
Sorry, cut and paste error. The first gdb command should have read: (gdb) cd build_dir/linux-x86_alix2/linux-3.2.2 On 3/2/12 12:26 PM, Philip Prindeville wrote: This should be on a Wiki page if it's not already... Haven't had time to look. On your build host, you would start gdb on your

[OpenWrt-Devel] Busybox modinfo and needing modules.dep

2012-03-04 Thread Philip Prindeville
I'm trying to write some scripts to help out with debugging kernel traces, etc. for people who aren't used to doing such, trying to automate everything as much as possible. I've identified a need to use modinfo, but just selecting CONFIG_BUSYBOX_CONFIG_MODINFO=y doesn't do it since we don't

Re: [OpenWrt-Devel] Busybox modinfo and needing modules.dep

2012-03-04 Thread Philip Prindeville
On 3/4/12 2:15 PM, Felix Fietkau wrote: On 2012-03-04 10:00 PM, Philip Prindeville wrote: I'm trying to write some scripts to help out with debugging kernel traces, etc. for people who aren't used to doing such, trying to automate everything as much as possible. I've identified a need

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-03-04 Thread Philip Prindeville
On 3/4/12 5:45 PM, Felix Fietkau wrote: On 2012-03-05 1:19 AM, Felix Fietkau wrote: On 2012-03-04 11:31 PM, Felix Fietkau wrote: On 2012-03-01 5:18 AM, Adam Gensler wrote: For what its worth I spent some time this evening putting together a Fedora Core 16 virtual machine to test with. I

Re: [OpenWrt-Devel] [OpenWrt-Commits] r30858 - in packages/utils/dosfstools: . files patches

2012-03-09 Thread Philip Prindeville
Can we avoid whitespace-only changes? They increase effort to keeping up with what's been committed without adding any value, and I find it takes twice as long to search them to find out what, if anything, they functionally change. I literally have to read it a second time to figure out that

Re: [OpenWrt-Devel] [OpenWrt-Commits] r30859 - packages/utils/fowsr

2012-03-09 Thread Philip Prindeville
Is this a regression? You previously didn't copy fowsr.sh and pwsweather.sh ... is this a new script? You're deleting 3 lines but adding a combined copy of 5... 3 of which were previously there. -Philip On 3/8/12 9:24 PM, openwrt-comm...@openwrt.org wrote: Author: swalker Date: 2012-03-09

Re: [OpenWrt-Devel] [PATCH] Add usb_modeswitch to preinit

2012-03-12 Thread Philip Prindeville
Comments inline. On 3/12/12 2:22 PM, Cezary Jackiewicz wrote: Some 3G modem requires switch from storage to modem before use it as extroot. This enhance block-mount. Tested on Huawei E173/E353 Signed-off-by: Cezary Jackiewicz cezary.jackiew...@gmail.com Index:

[OpenWrt-Devel] Build broken in uclibc++

2012-03-15 Thread Philip Prindeville
I've been seeing the following for a few days now. make[6]: Entering directory `/home/philipp/openwrt-alix/build_dir/target-i386_eglibc-2.13/uClibc++-0.2.2/src/abi/libsupc' i486-openwrt-linux-gnu-ar x

Re: [OpenWrt-Devel] Build broken in uclibc++

2012-03-16 Thread Philip Prindeville
On 3/16/12 3:54 AM, Florian Fainelli wrote: Le 03/16/12 03:07, Philip Prindeville a écrit : I've been seeing the following for a few days now. make[6]: Entering directory `/home/philipp/openwrt-alix/build_dir/target-i386_eglibc-2.13/uClibc++-0.2.2/src/abi/libsupc' i486-openwrt-linux-gnu-ar

Re: [OpenWrt-Devel] [OpenWrt-Commits] r30966 - trunk/target/linux/x86

2012-03-18 Thread Philip Prindeville
Why is this going into x86 and not x86/generic? On 3/17/12 3:32 PM, openwrt-comm...@openwrt.org wrote: Author: ryd Date: 2012-03-17 22:32:08 +0100 (Sat, 17 Mar 2012) New Revision: 30966 Modified: trunk/target/linux/x86/config-default Log: Enable keyboard for x86 This is required

Re: [OpenWrt-Devel] patch to enable building of uuencode applet for busybox

2012-03-18 Thread Philip Prindeville
Why is voicemail encoding using uuencode and not base64??? On 3/18/12 3:23 PM, i iordanov wrote: Hello, The package luci-app-pbx-voicemail needs uuencode which is unavailable in busybox. I need it in order to encode binary attachments (voicemail) to send by email. Including uuencode will

[OpenWrt-Devel] DHCP support for SRV records

2012-03-20 Thread Philip Prindeville
Could we add the following? config 'srv' option service $1 option proto$2 option port $3 option class$4 option priority $5 option host $6 would generate: srv-host=$1.$2.mydomain,$6,$3,$4,$5 This is really useful for configuring

Re: [OpenWrt-Devel] finding module dependencies.

2012-03-20 Thread Philip Prindeville
On 3/20/12 5:56 PM, abhinav narain wrote: hi, I am modifying mac80211. but when I reboot the router, I get a set of erros which is due to module dependencies. lsmod shows : ath9k as the only dependency and I am removing the module before inserting the modified mac80211 module. The

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: add keywords for SRV RR class/weight

2012-03-20 Thread Philip Prindeville
The SRV record also requires the class and weight fields... Currently you can overload the port keyword as: option port ,class,weight but this is counter-intuitive. Here we fix this. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: package/dnsmasq/files

[OpenWrt-Devel] [PATCH v2 1/1] dnsmasq: add keywords for SRV RR class/weight

2012-03-20 Thread Philip Prindeville
The SRV record also requires the class and weight fields... Currently you can overload the port keyword as: option port ,class,weight but this is counter-intuitive. Here we fix this. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: package/dnsmasq/files

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: add mx record support

2012-03-20 Thread Philip Prindeville
Adding the following syntax support: config mxhost option domain mydomain.com option relay svr10.ironport.com option pref 50 and this will generate an MX record for mydomain.com pointing at the relay with a given preference. Signed-off-by: Philip Prindeville phil

[OpenWrt-Devel] [PATCH v3 1/1] dnsmasq: add keywords for SRV RR class/weight

2012-03-21 Thread Philip Prindeville
The SRV record also requires the class and weight fields... Currently you can overload the port keyword as: option port ,class,weight but this is counter-intuitive. Here we fix this. Redux: make the port required. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com

[OpenWrt-Devel] [PATCH v2 1/1] dnsmasq: add mx record support

2012-03-21 Thread Philip Prindeville
. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: package/dnsmasq/files/dnsmasq.init === --- package/dnsmasq/files/dnsmasq.init (revision 30690) +++ package/dnsmasq/files/dnsmasq.init (working copy) @@ -367,6

[OpenWrt-Devel] [PATCH v3 1/1] dnsmasq: add mx record support

2012-03-21 Thread Philip Prindeville
. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: package/dnsmasq/files/dnsmasq.init === --- package/dnsmasq/files/dnsmasq.init (revision 30690) +++ package/dnsmasq/files/dnsmasq.init (working copy) @@ -367,6

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: configure dnsmasq via flat config file and not command-line args

2012-03-23 Thread Philip Prindeville
-by: Philip Prindeville phil...@redfish-solutions.com Index: package/dnsmasq/files/dnsmasq.init === --- package/dnsmasq/files/dnsmasq.init (revision 31059) +++ package/dnsmasq/files/dnsmasq.init (working copy) @@ -8,6 +8,14 @@ DNS_SERVERS

Re: [OpenWrt-Devel] [PATCH] Patch to add uClibc configuration

2012-03-24 Thread Philip Prindeville
Hauke is correct. Looking at the message headers: References: 4bd91cfa.4070...@alumnux.com x2ze0a985521004290400w37416261ye676bfcc953eb...@mail.gmail.com 4bd97759.9010...@alumnux.com h2qe0a985521004291028xec1b26dcn876a4f06730a7...@mail.gmail.com

[OpenWrt-Devel] [PATCH 1/1] geos: Add 'tc' and kmod-sched for bonding

2012-03-26 Thread Philip Prindeville
The Geos2 includes 2 ADSL+ interfaces, and as such it needs to have the TEQL scheduler for bonding. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: target/linux/x86/geos/target.mk === --- target/linux/x86/geos

[OpenWrt-Devel] [PATCH 1/1] ppp: Fix high softirq utilization with pppoa

2012-03-26 Thread Philip Prindeville
Users of the Geos platform are reporting high CPU utilization. This seems to be rooted in a problem with the TX queue restart in PPP. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: target/linux/generic/patches-3.2/120-ppp_txqueue_restart.patch

Re: [OpenWrt-Devel] [OpenWrt-Commits] r31085 - trunk/package/hostapd/files

2012-03-27 Thread Philip Prindeville
Minor comment... On 3/27/12 7:29 AM, openwrt-comm...@openwrt.org wrote: Author: nbd Date: 2012-03-27 15:29:41 +0200 (Tue, 27 Mar 2012) New Revision: 31085 Modified: trunk/package/hostapd/files/wpa_supplicant.sh Log: wpa_supplicant: modify wpa_supplicant.sh in order to support

[OpenWrt-Devel] [PATCH v2 1/1] ppp: Fix high softirq utilization with pppoa

2012-03-27 Thread Philip Prindeville
Users of the Geos platform are reporting high CPU utilization. This seems to be rooted in a problem with the TX queue restart in PPP. Redux: Add 3.3 version. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: target/linux/generic/patches-3.2/120-ppp_txqueue_restart.patch

[OpenWrt-Devel] DHCP capability

2012-03-28 Thread Philip Prindeville
Jo-Philipp, We started to talk about the following: config host option ip '192.168.1.25' option mac 'd0:27:88:59:38:e8' option name 'gwtest' option tag 'client' list dhcp_option 'option:domain-name,acme.net' config global option tag 'client'

Re: [OpenWrt-Devel] [PATCH] Updated patch to check multiple instances in subfolders in local repository

2012-04-03 Thread Philip Prindeville
Inline... On 4/2/12 6:06 AM, Tathagata Das wrote: Hi, I have modified the patch as John suggested. This patch will only copy a single file from local repository. If more than one instance of the same file exists in the subfolders then it will throw an error. I have used latest trunk

Re: [OpenWrt-Devel] [PATCH] Updated patch to check multiple instances in subfolders in local repository

2012-04-04 Thread Philip Prindeville
More comments... On 4/4/12 3:37 AM, Tathagata Das wrote: Hi, I have updated the patch as Philip and Jo-Philipp suggested. Thanks Philip and Jo-Philipp for your feedback. Signed-off-by: Tathagata Das tathag...@alumnux.com --- diff -Naur a/scripts/download.pl b/scripts/download.pl

Re: [OpenWrt-Devel] [PATCH] Updated patch to check multiple instances in subfolders in local repository

2012-04-04 Thread Philip Prindeville
On 4/4/12 12:47 PM, Jo-Philipp Wich wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Philipp, in principle I aggree but I've seen Perl distributions without Digest::MD5 available by default, so shelling out to call md5sum sounds ok to me. ~ Jow Your call. I'm just trying to

Re: [OpenWrt-Devel] Sysupgrade x86 bounty

2012-04-10 Thread Philip Prindeville
Just a reminder that this bounty is still unclaimed. On 2/10/12 3:11 PM, Philip Prindeville wrote: Sysupgrade currently doesn't allow updating software in place without clobbering the existing config (stored on the ext4 overlay filesystem that immediately follows the jffs2 filesystem

Re: [OpenWrt-Devel] Sysupgrade x86 bounty

2012-04-21 Thread Philip Prindeville
entries. Presumably once this infrastructure is in place it should be possible to mount the upgraded rootfs and extract the sysupgrade backup tarball onto it. That's just a theory though, I haven't gotten that far. Thoughts? Adam On 4/10/12 6:24 PM, Philip Prindeville wrote: Just

Re: [OpenWrt-Devel] Generic x86 target still on 2.6.39?

2012-04-21 Thread Philip Prindeville
As far as I can tell, it's because Kaloz owns the x86 architecture as a whole, but he's not particularly active. -Philip On 4/19/12 6:21 AM, Adam Gensler wrote: I see that a number of targets were recently bumped up to kernel 3.2.15, including the x86 subtargets like the alix and geos.

Re: [OpenWrt-Devel] [PATCH] base-files: implement new config root_readonly (RESENT)

2012-04-23 Thread Philip Prindeville
Don't use format=flowed. Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; Format=flowed On 4/21/12 6:50 PM, ching wrote: sorry again, the previous email subject is wrong I don't know why my attachment is detected as binary, i reposted it here as plain text

Re: [OpenWrt-Devel] DHCP capability

2012-04-28 Thread Philip Prindeville
No one seems to have disagreed with this, so I'll interpret that as consent. I'll also note that currently we currently don't support list dhcp_option for host configs. We should. It seems to be a trivial change to make. Can we make this change? Thanks, -Philip On 3/28/12 10:29 AM, Philip

[OpenWrt-Devel] natpmp: broken config file

2012-05-04 Thread Philip Prindeville
I built and installed the natpmp package for my Alix box, but /etc/config/natpmp was installed as: config natpmp option outbound_interface vlan0 option inbound_interfaces br-lan eth1 option iptables_chain natpmp which doesn't really make sense.

Re: [OpenWrt-Devel] [PATCH 2/2] Comprehensive ipv4 and ipv6 unaligned access patch for ar71xx

2012-05-04 Thread Philip Prindeville
On 4/30/12 12:34 PM, Felix Fietkau wrote: On 2012-04-30 8:11 PM, Dave Taht wrote: On Mon, Apr 30, 2012 at 10:26 AM, Felix Fietkau n...@openwrt.org wrote: I agree it would blow up the dcache and be worse than what exists by a lot. So, out of this conversation: 1) It would be nice to not

Re: [OpenWrt-Devel] [OpenWrt-Commits] r31561 - in packages/net/xl2tpd: . files patches

2012-05-04 Thread Philip Prindeville
A little bit after the fact... I missed the original posting, but here are some comments. On 5/2/12 1:28 PM, openwrt-comm...@openwrt.org wrote: Author: juhosg Date: 2012-05-02 21:28:10 +0200 (Wed, 02 May 2012) New Revision: 31561 Added: packages/net/xl2tpd/files/l2tp.sh

Re: [OpenWrt-Devel] [OpenWrt-Commits] r31565 - in trunk/package/pptp: . files

2012-05-04 Thread Philip Prindeville
Comments inline... On 5/3/12 3:39 AM, openwrt-comm...@openwrt.org wrote: Author: juhosg Date: 2012-05-03 11:39:01 +0200 (Thu, 03 May 2012) New Revision: 31565 Modified: trunk/package/pptp/Makefile trunk/package/pptp/files/pptp.sh Log: Fix pptp handling of routes to server. The

Re: [OpenWrt-Devel] Working with patches

2012-05-05 Thread Philip Prindeville
Try 'refresh' instead. On 5/5/12 2:29 AM, Peter Lawler wrote: Hi! I'm working on submitting a patch for the appweb package by following the Wiki page http://wiki.openwrt.org/doc/devel/patches#edit.an.existing.patch The specific patch I'm working on is this one for appweb

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: add support for set: and tag: pairs

2012-05-05 Thread Philip Prindeville
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options. For example: config host option name 'client' option mac '00:01:02:03:04:05' option ip '192.168.1.20' option tag 'acme' config

Re: [OpenWrt-Devel] [PATCH] daemonlogger package Makefile

2012-05-05 Thread Philip Prindeville
Comments... On 5/5/12 8:02 PM, Robert Vineyard wrote: Daemonlogger is a packet logger and soft tap developed by Martin Roesch. This patch adds a Makefile to build it as an OpenWRT ipk package. Note: the patch is against trunk, but it also builds cleanly on Backfire. Signed-off-by: Robert

[OpenWrt-Devel] [PATCH v2 1/1] dnsmasq: add support for set: and tag: pairs

2012-05-06 Thread Philip Prindeville
-search:acme.com,redfish-solutions.com This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com ___ openwrt-devel mailing list

[OpenWrt-Devel] [PATCH v3 1/1] dnsmasq: add support for set: and tag: pairs

2012-05-06 Thread Philip Prindeville
-search:acme.com,redfish-solutions.com This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: trunk/package/dnsmasq/files/dnsmasq.init

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: allow forcing options

2012-05-07 Thread Philip Prindeville
The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config. This is useful for forcing options to be sent back to a client (even options it didn't ask for). Signed-off-by: Philip Prindeville phil...@redfish-solutions.com --- trunk/package/dnsmasq

[OpenWrt-Devel] [PATCH 1/1] linuxigd2: derivative version of linuxigd that supports v2 of UPnP IGD schemas

2012-05-07 Thread Philip Prindeville
The original linuxigd has pretty much been unchanged for about 4 years. Some folks at France Telecom did a rewrite to support the IGDv2 schemas which includes better IPv6 support, and means to avoid clashing when dynamically allocating an unused external port. Signed-off-by: Philip Prindeville

[OpenWrt-Devel] Old retired versions of 2.6.x soon to include x86?

2012-05-12 Thread Philip Prindeville
Gabor is retiring old versions of 2.6.x regularly (thanks, Gabor!). Alas, he's one step away from retiring 2.6.39.4 which is what x86 is currently at. Does anyone else find it troubling that x86 has been as stagnant as it is? I use about 7 different Geode/x86-based boxes for infrastructure

Re: [OpenWrt-Devel] Old retired versions of 2.6.x soon to include x86?

2012-05-13 Thread Philip Prindeville
On 5/13/12 7:44 PM, David Woodhouse wrote: On Sat, 2012-05-12 at 14:17 -0600, Philip Prindeville wrote: Gabor is retiring old versions of 2.6.x regularly (thanks, Gabor!). Alas, he's one step away from retiring 2.6.39.4 which is what x86 is currently at. Does anyone else find it troubling

Re: [OpenWrt-Devel] Old retired versions of 2.6.x soon to include x86?

2012-05-13 Thread Philip Prindeville
On 5/13/12 3:12 PM, Michael Markstaller wrote: Does anyone else find it troubling that x86 has been as stagnant as it is? +1 I'm just about changing some Alix.1D to OpenWRT What is required? maybe I can contribute (though admidettly I wouldn't know what to change to get 3.3.5 instead of

[OpenWrt-Devel] [PATCH v3 1/1] linuxigd2: derivative version of linuxigd that supports v2 of UPnP IGD schemas

2012-05-18 Thread Philip Prindeville
The original linuxigd has pretty much been unchanged for about 4 years. Some folks at France Telecom did a rewrite to support the IGDv2 schemas which includes better IPv6 support, and means to avoid clashing when dynamically allocating an unused external port. Signed-off-by: Philip Prindeville

Re: [OpenWrt-Devel] [PATCH] base-files-network: Avoid ifconfig down if the macaddr is not going to change

2012-05-19 Thread Philip Prindeville
For what it's worth, getting the mac address with iproute is trivial. ip -o link show dev $iface | awk '{print $13;}' On 5/19/12 4:18 AM, Tobias Diedrich wrote: Avoid ifconfig down if the macaddr is not going to change. For wireless interfaces, downing the interface after hostapd has been

[OpenWrt-Devel] Revisited: [PROPOSAL] growing OpenWrt devel team

2012-05-19 Thread Philip Prindeville
We talked about how this could be improved... we're more than a year down the road, and I'm not seeing much difference. Maybe we need to talk about this more? Or try harder? On 3/24/11 2:17 PM, Luka Perkov wrote: Dear OpenWrt developers and other openwrt-devel readers, first I would like

Re: [OpenWrt-Devel] [PROPOSAL] growing OpenWrt devel team

2012-05-19 Thread Philip Prindeville
On 3/28/11 2:51 PM, Florian Fainelli wrote: The answer I would give you now is: your contributions on ramips (and other) are more than welcome, and wait a bit more until you have proven to be a trustworthy contributor (I have no doubt you are) and you might get commit access. Probably

[OpenWrt-Devel] Eglibc or autoconf regression in trunk?

2012-06-22 Thread Philip Prindeville
After a few days, I'm still seeing breakage in building eglibc in trunk. From what I can tell, it has to do with gcc being invoked with the broken option '-std' (i.e. with no trailing value like '=c99', etc): configure:3005: i486-openwrt-linux-gnu-gcc -std -c -march=geode -Os -mmmx -m3dnow

[OpenWrt-Devel] [PATCH 1/1] curl: add librt dependency when compiling with eglibc

2012-06-22 Thread Philip Prindeville
librt as a separate dependency in eglibc and must be called out explicitly. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: trunk/feeds/packages/libs/curl/Makefile === --- trunk/feeds/packages/libs/curl

[OpenWrt-Devel] [PATCH v2 1/1] lsof: add LDFLAGS so that -lrpc is included

2012-06-23 Thread Philip Prindeville
/false. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: trunk/feeds/packages/utils/lsof/patches/003-lsof_selinux.patch === --- trunk/feeds/packages/utils/lsof/patches/003-lsof_selinux.patch (revision 32484

[OpenWrt-Devel] [PATCH 1/1]: eglibc: add librt dependencies to various packages

2012-06-23 Thread Philip Prindeville
Building eglibc on x86 requires various packages explicitly call out librt. Add these dependencies. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: feeds/packages/devel/diffutils/Makefile === --- feeds

[OpenWrt-Devel] [PATCH 1/1] lsof: fix broken patch

2012-06-25 Thread Philip Prindeville
The line: if 1 -eq 0 is missing the 'test' command. Alternatively, if /bin/false would have worked too. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: trunk/feeds/packages/utils/lsof/patches/003-lsof_selinux.patch

[OpenWrt-Devel] [PATCH v3 1/1] lsof: add LDFLAGS so that -lrpc is included

2012-06-25 Thread Philip Prindeville
Eglibc doesn't bundle librpc, therefore -lrpc must be passed through LDFLAGS. Alas, lsof doesn't take LDFLAGS out-of-the-box. Patch the Makefile to do so. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: trunk/feeds/packages/utils/lsof/patches/010-lsof_ldflags.patch

[OpenWrt-Devel] gdbserver no longer builds with eglibc

2012-06-25 Thread Philip Prindeville
Not sure why this wasn't detected a lot sooner, but building x86/alix2 with eglibc 2.14 or 2.15 breaks: ... Package gdbserver is missing dependencies for the following libraries: libthread_db.so.1 make[3]: *** [/home/philipp/openwrt-alix/bin/x86/packages/gdbserver_6.8a-4_x86.ipk] Error 1

Re: [OpenWrt-Devel] [OpenWrt-Commits] r32505 - trunk/package/broadcom-wl/files/etc/hotplug.d/net

2012-06-26 Thread Philip Prindeville
Inline... On 6/26/12 9:43 AM, openwrt-comm...@openwrt.org wrote: Author: jow Date: 2012-06-26 17:43:09 +0200 (Tue, 26 Jun 2012) New Revision: 32505 Modified: trunk/package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds Log: [package] broadcom-wl: fix WDS hotplug for multiple

Re: [OpenWrt-Devel] Bridged interface MAC address changes during DHCP client transaction wtih netifd

2012-06-26 Thread Philip Prindeville
On 6/26/12 11:02 AM, Jo-Philipp Wich wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ultimately, it may just be a bad idea to have a bridge's MAC address change once established, at least as long as the bridge still contains an underlying interface that owns the MAC address it's

Re: [OpenWrt-Devel] [PATCH v2 1/1] lsof: add LDFLAGS so that -lrpc is included

2012-06-27 Thread Philip Prindeville
On 6/23/12 10:35 PM, John Crispin wrote: On 23/06/12 22:56, Philip Prindeville wrote: Eglibc doesn't bundle librpc, therefore -lrpc must be passed through LDFLAGS. Alas, lsof doesn't take LDFLAGS out-of-the-box. Patch the Makefile to do so. Also, patch a previous patch which was broken

[OpenWrt-Devel] [PATCH 1/1] lsof: use environment variables correctly to prime Configure

2012-06-28 Thread Philip Prindeville
Rewrite of the configure and compile stages as per the suggestions in the packages 00XCONFIG instructions. Note that this is required to get eglibc working, as eglibc doesn't include the RPC functions as part of libc. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: feeds

[OpenWrt-Devel] Build problems with Eglibc and curl

2012-07-11 Thread Philip Prindeville
Travis Felix: I can't get Curl to build with eglibc 2.14 (and if I remember, 2.15): OpenWrt-libtool: compile: i486-openwrt-linux-gnu-gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -isystem

Re: [OpenWrt-Devel] [PATCH 1/1]: eglibc: add librt dependencies to various packages

2012-07-31 Thread Philip Prindeville
On 7/30/12 7:36 AM, Florian Fainelli wrote: Hello, On Saturday 23 June 2012 17:22:35 Philip Prindeville wrote: Building eglibc on x86 requires various packages explicitly call out librt. Add these dependencies. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com The proper

[OpenWrt-Devel] [PATCH 1/1] ntpd: trivial fix for eglibc builds

2012-08-27 Thread Philip Prindeville
When building against eglibc, libc doesn't include librt therefore it must be explicitly included. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: trunk/feeds/packages/net/ntpd/Makefile === --- trunk/feeds

[OpenWrt-Devel] [PATCH] DHCP clients requiring broadcast responses, add 'broadcast' option bool

2013-08-20 Thread Philip Prindeville
to be sent as an Ethernet broadcast and not as a unicast. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com --- dhcp-broadcast.patch Description: Binary data ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

[OpenWrt-Devel] [PATCH 1/1] flashrom: revert to 0.9.1, and patch for proper MSR dev path

2011-03-29 Thread Philip Prindeville
Flashrom looks for the MSR as /dev/cpu/%d/msr on an SMP box, but most embedded applications are UP. Patch the path accordingly. Also, 0.9.3 introduced a regression in how certain devices are erased. Revert to 0.9.1. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com --- Index

[OpenWrt-Devel] [PATCH 1/1] flashrom: use msr path compatible w/ hotplug2

2011-03-30 Thread Philip Prindeville
-by: Philip Prindeville phil...@redfish-solutions.com --- Index: feeds/packages/utils/flashrom/patches/001-msr_dev_path.patch === --- feeds/packages/utils/flashrom/patches/001-msr_dev_path.patch (revision 0) +++ feeds/packages/utils

Re: [OpenWrt-Devel] [PATCH 1/1] flashrom: use msr path compatible w/ hotplug2

2011-03-30 Thread Philip Prindeville
On 3/30/11 2:12 PM, Florian Fainelli wrote: On Wednesday 30 March 2011 08:21:05 Philip Prindeville wrote: The issue wasn't that flashrom-0.9.3 was broken, but that the incompatible device path put the box into a funky state that couldn't be reverted. This fix causes it to use the hotplug2

[OpenWrt-Devel] Bad patch for usb-serial.c in 2.6.38

2011-04-01 Thread Philip Prindeville
Seeing the following when building 2.6.38 on x86/geos platform: patching file drivers/usb/serial/usb-serial.c Hunk #2 FAILED at 913. Hunk #3 succeeded at 1393 (offset 1 line). 1 out of 3 hunks FAILED -- saving rejects to file drivers/usb/serial/usb-serial.c.rej Patch failed! Please fix

Re: [OpenWrt-Devel] Bad patch for usb-serial.c in 2.6.38

2011-04-01 Thread Philip Prindeville
Actually, this patch doesn't apply to 2.6.38. Please delete: target/linux/generic/patches-2.6.38/801-usb_serial_endpoint_size.patch On 4/1/11 1:20 PM, Philip Prindeville wrote: Seeing the following when building 2.6.38 on x86/geos platform: patching file drivers/usb/serial/usb-serial.c

[OpenWrt-Devel] Breakage when building vim?

2011-04-01 Thread Philip Prindeville
Seeing: ... generating help tags make[5]: Entering directory `/home/philipp/openwrt2/build_dir/target-i386_uClibc-0.9.32/vim73/runtime/doc' /home/philipp/openwrt2/build_dir/target-i386_uClibc-0.9.32/vim73/ipkg-install/usr/bin/vim -u NONE -esX -c helptags ++t . -c quit /bin/sh:

[OpenWrt-Devel] [PATCH 1/1] x86/geos: KERNEL_PATCHVER requires lazy evaluation

2011-04-01 Thread Philip Prindeville
We $(PLATFORM_SUBDIR)/target.mk gets included, include/kernel-version.mk hasn't yet been included... therefore KERNEL_PATCHVER hasn't yet been defined. Ergo, we need to use a deferred definition of GEOS_GPIO (and can't use ifeq/endif). Signed-off-by: Philip Prindeville phil...@openwrt.org

[OpenWrt-Devel] [PATCH 1/1] geos: redux of cs5535 version

2011-04-03 Thread Philip Prindeville
The previous technique didn't work with make defconfig correctly. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: target/linux/x86/geos/target.mk === --- target/linux/x86/geos/target.mk (revision 26456

[OpenWrt-Devel] [PATCH 1/1] x86: move to linux 2.6.37.6

2011-04-03 Thread Philip Prindeville
I built 2.6.37.6 for both geos and net5501 and it builds fine. Index: target/linux/x86/Makefile === --- target/linux/x86/Makefile (revision 26456) +++ target/linux/x86/Makefile (working copy) @@ -12,7 +12,7 @@ FEATURES:=squashfs

[OpenWrt-Devel] [PATCH 1/1] solos: various upstreamed solos patches

2011-04-04 Thread Philip Prindeville
freeing it. + +Also include the size, vpi, and vci in the debug as is done on +receive. + +Use port consistently instead of device intermittently. + +Signed-off-by: Philip Prindeville phil...@redfish-solutions.com +Signed-off-by: David S. Miller da...@davemloft.net

[OpenWrt-Devel] [PATCH 1/1] netfilter: add xt_TRACE to list of ipt-core modules if configured in kernel

2011-04-06 Thread Philip Prindeville
-by: Philip Prindeville phil...@redfish-solutions.com Index: include/netfilter.mk === --- include/netfilter.mk(revision 26460) +++ include/netfilter.mk(working copy) @@ -42,6 +42,7 @@ $(eval $(call nf_add,IPT_CORE

[OpenWrt-Devel] Building with persistent overlay for CF-based x86 platforms

2011-04-06 Thread Philip Prindeville
I was going through the wiki where most of the extroot directions seem to be oriented to a machine with a small amount of flash and an external USB root. For x86 architectures, we're typically using 1GB CF's or larger, and it's not uncommon to have a persistent overlay with several megs of

[OpenWrt-Devel] [PATCH 1/1] x86: bump kernel version to 2.6.37.6

2011-04-06 Thread Philip Prindeville
Generic, Geos and net5501 all build fine. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: target/linux/x86/Makefile === --- target/linux/x86/Makefile (revision 26456) +++ target/linux/x86/Makefile (working

[OpenWrt-Devel] [PATCH 1/1] ipt-debug: create bundle of netfilter modules for debugging

2011-04-07 Thread Philip Prindeville
Add a bundle for including commonly useful modules for IPtables debugging and development. For now, it just contains xt_TRACE.ko Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: include/netfilter.mk

[OpenWrt-Devel] [PATCH v2 1/1] solos: various upstreamed solos patches

2011-04-07 Thread Philip Prindeville
it. + +Also include the size, vpi, and vci in the debug as is done on +receive. + +Use port consistently instead of device intermittently. + +Signed-off-by: Philip Prindeville phil...@redfish-solutions.com +Signed-off-by: David S. Miller da...@davemloft.net +--- + drivers/atm

[OpenWrt-Devel] [PATCH v2 1/1] ipt-debug: create bundle of netfilter modules for debugging

2011-04-07 Thread Philip Prindeville
Add a bundle for including commonly useful modules for IPtables debugging and development. For now, it just contains xt_TRACE.ko Respun with DEFAULT:=n Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: include/netfilter.mk

[OpenWrt-Devel] [PATCH 1/1] net/appletalk: missing symbols for Appletalk on 2.6.37 and later

2011-04-08 Thread Philip Prindeville
CONFIG_COPS needs to be defined. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: target/linux/generic/config-2.6.32 === --- target/linux/generic/config-2.6.32 (revision 26531) +++ target/linux/generic/config

[OpenWrt-Devel] [PATCH 1/1] linux-atm: allow including 'atmdiag' and 'atmdump' in fat version of atm-tools

2011-04-08 Thread Philip Prindeville
by default. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: package/linux-atm/Makefile === --- package/linux-atm/Makefile (revision 26505) +++ package/linux-atm/Makefile (working copy) @@ -43,6 +43,17

[OpenWrt-Devel] [PATCH 1/1] linux-atm: package atm-diagnostics with atmdump, atmdiag, etc.

2011-04-08 Thread Philip Prindeville
If your ISP is pushing their own DSL equipment (which many do to contain support costs), they won't be forthcoming with your various settings: encapsulation, VPI/VCI, etc. These you might have to discover yourself. The easiest way to do this is with atmdiag and atmdump. Signed-off-by: Philip

Re: [OpenWrt-Devel] [PATCH 1/1] linux-atm: package atm-diagnostics with atmdump, atmdiag, etc.

2011-04-09 Thread Philip Prindeville
On 4/9/11 6:06 AM, Hauke Mehrtens wrote: On 04/09/2011 04:20 AM, Philip Prindeville wrote: If your ISP is pushing their own DSL equipment (which many do to contain support costs), they won't be forthcoming with your various settings: encapsulation, VPI/VCI, etc. These you might have

Re: [OpenWrt-Devel] [PATCH 1/1] linux-atm: allow including 'atmdiag' and 'atmdump' in fat version of atm-tools

2011-04-09 Thread Philip Prindeville
On 4/9/11 6:07 AM, Hauke Mehrtens wrote: On 04/09/2011 02:38 AM, Philip Prindeville wrote: If your ISP is pushing their own DSL equipment (which many do to contain support costs), they won't be forthcoming with your various settings: encapsulation, VPI/VCI, etc. These you might have

[OpenWrt-Devel] [PATCH 1/1] firewall: allow local redirection of ports

2011-04-09 Thread Philip Prindeville
your firewall, but still want to allow firewall access from outside. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index: include/netfilter.mk === --- include/netfilter.mk(revision 26567) +++ include

[OpenWrt-Devel] Retaining WAN IP addresses across reboots

2011-04-10 Thread Philip Prindeville
I note that the file /tmp/state/network contains the interface, ip address, and expiration time of the WAN DHCP lease... I'm wondering what's involved in writing that information into somewhere persistent where it can be reused on reboot? If, for instance, a previous boot acquired a lease for

Re: [OpenWrt-Devel] Retaining WAN IP addresses across reboots

2011-04-13 Thread Philip Prindeville
All of the platforms I have use a CMOS NVRAM with RTC built-in. On 4/12/11 5:02 PM, Nuno Gonçalves wrote: Please also note that the real time clock is important for knowing if the DHCP lease is still valid. Since most routers don't have a hardware RTC, there is no way to know it the DHCP

Re: [OpenWrt-Devel] Retaining WAN IP addresses across reboots

2011-04-13 Thread Philip Prindeville
On 4/13/11 1:16 PM, edgar.sol...@web.de wrote: On 13.04.2011 19:18, Philip Prindeville wrote: All of the platforms I have use a CMOS NVRAM with RTC built-in. do they have names? ;) ..ede Alix, net5501, Geos... and a couple of others that haven't yet been publicly announced

Re: [OpenWrt-Devel] Retaining WAN IP addresses across reboots

2011-04-13 Thread Philip Prindeville
I was thinking about this some more... if we simply took the leased IP address and stuffed it up into: config 'wan' option ipaddr x.x.x.x in network, the /lib/network/config.sh script would then try to request that address the next time the box rebooted. If the address was in use,

Re: [OpenWrt-Devel] [PATCH] /etc/config/wireless - 'powersave' setting optional

2011-04-13 Thread Philip Prindeville
On 4/13/11 3:10 PM, Larry Vaden wrote: On Wed, Apr 13, 2011 at 2:59 PM, Felix Fietkau n...@openwrt.org wrote: On 2011-04-12 2:18 PM, Jan Čapek wrote: - this configuration option seems to be undocumented. Unfortunately, it tries to disable powersaving by default for all mac80211 based

Re: [OpenWrt-Devel] [OpenWrt-Commits] r26654 - packages/utils/hdparm

2011-04-13 Thread Philip Prindeville
I actually think the older description was a lot more informative. The -f, -t, -T, and -z flags don't get or set parameters, for example... and these are amongst the handiest arguments to the command. On 4/13/11 4:20 PM, openwrt-comm...@openwrt.org wrote: Author: luka Date: 2011-04-14

[OpenWrt-Devel] [PATCH] x86: missing kernel symbols

2011-04-13 Thread Philip Prindeville
Please include these two missing kernel CONFIG_ symbols. Index: target/linux/x86/config-default === --- target/linux/x86/config-default (revision 26655) +++ target/linux/x86/config-default (working copy) @@ -382,6 +382,7 @@

[OpenWrt-Devel] [PATCH] geos: Add PC speaker to kernel definitions

2011-04-14 Thread Philip Prindeville
Add the PC speaker back to the Geos platform. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com --- Index: target/linux/x86/geos/config-default === --- target/linux/x86/geos/config-default(revision 26677) +++ target

  1   2   3   4   5   6   7   8   >