Re: ported busybox 1.10.0 segmentation fault

2008-03-31 Thread Gery
Denys Vlasenko wrote: On Monday 31 March 2008 22:50, Gery wrote: Please, help with the issue :) I made port of bb 1.10.0 on ppc 405 with montavista tools export ARCH=ppc.405 make CROSS_COMPILE=ppc_405- make CROSS_COMPILE=ppc_405- install now from my target with nfs mount did cd /mnt/flash/ st

Re: AW: segfaults with ver 1.10.0 on sh3 based board

2008-03-31 Thread Denys Vlasenko
On Monday 31 March 2008 17:58, EXTERNAL Tetz Torsten (Praktikant; ST-FIR/ENG1) wrote: > Hello, > > I tested and found out that even "true" and "false" cause segfaults > on my sh3 based board. > > But now I have build a 1.10.0 with the CONFIG_STATIC=y option > and that one is working with no seg

[patch] tcpudp.c (with linux-2.6.25-rc7)

2008-03-31 Thread George Boudreau
Sorry, gremlins played with the patch. This one actually does something useful. George busybox-1.10.0-tcpudp.patch Description: Binary data ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: [PATCH] init.c, halt command not working

2008-03-31 Thread Denys Vlasenko
On Monday 31 March 2008 21:59, Harald Küthe wrote: > > The sequence of events is: > > SIGUSR1 is received > > halt_reboot_pwoff(SIGUSR1) calls > > kill_all_processes() calls > > run_actions(SHUTDOWN): > > if (a->action_type & (SYSINIT | WAIT | > CTRLALTDEL | SHUTDOWN | R

Re: cat and nonblocking

2008-03-31 Thread Denys Vlasenko
On Monday 31 March 2008 17:05, James Simmons wrote: > > > On Monday 31 March 2008 16:40, James Simmons wrote: > > > > > > > # { echo TEST; sleep 1; } | { ./nonblocking; cat; ./blocking; } >result > > > > cat: read error: Resource temporarily unavailable > > > > > > > > and file "result" contains

Re: [patch] tcpudp.c (with linux-2.6.25-rc7)

2008-03-31 Thread Denys Vlasenko
On Monday 31 March 2008 21:20, George Boudreau wrote: > Hi. > It seems the worker bees in the kernel tower have been doing some > spring cleaning. There has been some rearranging of the header files > and tcpupd.c will no longer compile. The attached patch allows > tcpudp.c to compile against linux

Re: [PATCH] init.c, halt command not working

2008-03-31 Thread Harald Küthe
Hello, > On Sunday 30 March 2008 22:46, Harald Küthe wrote: > > Hello list, > > > > (at least) the halt command is no longer working on our system (ppc32, > > linux-2.4.36) > > Following patch makes it work again. > > --- busybox-1.10.0-orig/init/init.c2008-03-22 02:31:51.0 +0100 > >

Re: [patch] tcpudp.c (with linux-2.6.25-rc7)

2008-03-31 Thread Robert P. J. Day
On Mon, 31 Mar 2008, George Boudreau wrote: > A side note for those you would like to visit the edge, kernel > building now requires 'perl'. (microperl works fine if you do not > want to install its big brother) really? what part of the build needs perl now? i know there are some *optional* thi

[patch] tcpudp.c (with linux-2.6.25-rc7)

2008-03-31 Thread George Boudreau
Hi. It seems the worker bees in the kernel tower have been doing some spring cleaning. There has been some rearranging of the header files and tcpupd.c will no longer compile. The attached patch allows tcpudp.c to compile against linux-2.6.25-rc7. The patch does not seem to have any detrimental imp

AW: segfaults with ver 1.10.0 on sh3 based board

2008-03-31 Thread EXTERNAL Tetz Torsten (Praktikant; ST-FIR/ENG1)
Hello, I tested and found out that even "true" and "false" cause segfaults on my sh3 based board. But now I have build a 1.10.0 with the CONFIG_STATIC=y option and that one is working with no segfaults at all. So the problem here seems to be something with the shared libraries. I made sure that

Re: cat and nonblocking

2008-03-31 Thread James Simmons
> On Monday 31 March 2008 16:40, James Simmons wrote: > > > > > # { echo TEST; sleep 1; } | { ./nonblocking; cat; ./blocking; } >result > > > cat: read error: Resource temporarily unavailable > > > > > > and file "result" contains "TEST", as expected. -- vda > > > > For my case I have ` cat /va

Re: segfaults with ver 1.10.0 on sh3 based board

2008-03-31 Thread Denys Vlasenko
On Monday 31 March 2008 11:23, walter harms wrote: > hi, > there is know issue with some gcc version and the bb handling of globals. > example this construct from httpd.c: (it is used to support non-mmu systems). > > > #define INIT_G() do { \ > SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ >

Re: [BusyBox] Query regarding HTTPD File Uploading

2008-03-31 Thread conn intel
Thanks a Lot ..Its amazing. When I used your script as an executable cgi, I can get the big tar file to upload in just couple of seconds. Thus got some relief. I am using cgic and started debugging their code but invain. I even forward my query to them. According to them cgic is perfectly working,

Re: cat and nonblocking

2008-03-31 Thread Denys Vlasenko
On Monday 31 March 2008 16:40, James Simmons wrote: > > > # { echo TEST; sleep 1; } | { ./nonblocking; cat; ./blocking; } >result > > cat: read error: Resource temporarily unavailable > > > > and file "result" contains "TEST", as expected. -- vda > > For my case I have ` cat /var/log/test | more

Re: ported busybox 1.10.0 segmentation fault

2008-03-31 Thread Denys Vlasenko
On Monday 31 March 2008 22:50, Gery wrote: > Please, help with the issue :) > > I made port of bb 1.10.0 on ppc 405 with montavista tools > > export ARCH=ppc.405 > make CROSS_COMPILE=ppc_405- > make CROSS_COMPILE=ppc_405- install > > now from my target with nfs mount did > cd /mnt/flash/ > strac

Re: cat and nonblocking

2008-03-31 Thread James Simmons
> # { echo TEST; sleep 1; } | { ./nonblocking; cat; ./blocking; } >result > cat: read error: Resource temporarily unavailable > > and file "result" contains "TEST", as expected. -- vda For my case I have ` cat /var/log/test | more ` where the test log is a ring buffer. Without the patch cat wil

ported busybox 1.10.0 segmentation fault

2008-03-31 Thread Gery
Please, help with the issue :) I made port of bb 1.10.0 on ppc 405 with montavista tools export ARCH=ppc.405 make CROSS_COMPILE=ppc_405- make CROSS_COMPILE=ppc_405- install now from my target with nfs mount did cd /mnt/flash/ strace ./ls and got follow: execve("./ls", ["./ls"], [/* 10 vars */]

Re:

2008-03-31 Thread Denys Vlasenko
On Monday 31 March 2008 09:57, Anjali Gajendrgadkar wrote: > I am using BusyBox version 1.00 rc1 > Does it have IPV6 support for Dhcp Client? No, both DHCP client and server in busybox have no support for IPv6. > If yes then how to configure it? > and If no then how can i add the support? You'll

Re: segfaults with ver 1.10.0 on sh3 based board

2008-03-31 Thread walter harms
hi, there is know issue with some gcc version and the bb handling of globals. example this construct from httpd.c: (it is used to support non-mmu systems). #define INIT_G() do { \ SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ USE_FEATURE_HTTPD_BASIC_AUTH(g_realm = "Web Server Authent

[no subject]

2008-03-31 Thread Anjali Gajendrgadkar
I am using BusyBox version 1.00 rc1 Does it have IPV6 support for Dhcp Client? If yes then how to configure it? and If no then how can i add the support? I want light weight DHCP V6 Client Regards Anjali ___ busybox mailing list busybox@busybox.net htt