file descriptor 5 in bb 1.5.0?

01flipstar at web.de 01flipstar at web.de
Mon Apr 30 17:43:15 UTC 2007


Hi,

I found a nother strange thing in the NAS WebGUI when using the 1.5 bb.
On field that usualy displayes the path now shows
{TAG_homePath}

So maybe the real problem is a locale issue, locale support is enabled and when I compile
the LANG var is set to "en_US.ISO-8859-15".

What else to I have to set to get locale support?

thanks
Philipp

> -----Ursprüngliche Nachricht-----
> Von: 01flipstar at web.de
> Gesendet: 29.04.07 19:23:10
> An:  Denis Vlasenko <vda.linux at googlemail.com>
> Betreff: Re: file descriptor 5 in bb 1.5.0?


> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Denis Vlasenko <vda.linux at googlemail.com>
> > Gesendet: 29.04.07 13:51:48
> > An: busybox at busybox.net
> > Betreff: Re: file descriptor 5 in bb 1.5.0?
> 
> 
> > 
> > On Saturday 28 April 2007 19:41, 01flipstar at web.de wrote:
> > > Hello,
> > > 
> > > IŽm trying to update the firmware of an arm-based NAS (NAS-2000 raidsonic).
> > > The problem IŽm facing now is that one of the constructor programms is not working
> > > when I change busybox from v.1.0 to 1.5.
> > > I used strace to figure out the differences between the two versions:
> > 
> > What is the "constructor program"?
> 
> The "constructor program" is usualy a sausalito handler that calls this program (user_handler) but for debugging I directly executed the user_handler prog.
> The user_handler prog connects to a local socket and "talks" to a deamon.
> If anybody is interested in more infos about cobalt sausalito there is a nice pdf
> that explains how it works:
> 
> ftp://ftp.cobalt.com/pub/developer/TechNotes/SSDK.pdf
> 
> 
> 
> > 
> > > busybox 1.0
> > > 
> > > .....
> > > read(5, 0xbefffcd4, 16)                 = -1 EAGAIN (Resource temporarily unavailable)
> > > fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(204, 40), ...}) = 0
> > > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 opost isig icanon echo ...}) = 0
> > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3fc4d000
> > > write(1, "construct_admin.c System adminis"..., 71) = 71
> > > write(5, "CREATE \"User\" \"createDir\" = \"1\" "..., 117) = 117
> > > poll([{fd=5, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}], 1, 1000) = 0
> > > poll([{fd=5, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}], 1, 1000) = 0
> > > poll([{fd=5, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}], 1, 1000) = 0
> > > poll([{fd=5, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}], 1, 1000) = 0
> > > poll([{fd=5, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}], 1, 1000) = 0
> > > poll([{fd=5, events=POLLIN|POLLERR|POLLHUP|POLLNVAL, revents=POLLIN}], 1, 1000) = 1
> > > fcntl64(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> > > read(5, "104 OBJECT ", 16)              = 11
> > > .....
> > > 
> > > busybox-1.5.0
> > > 
> > > .....
> > > read(3, 0xbefffce4, 16)                 = -1 EAGAIN (Resource temporarily unavailable)
> > > fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(204, 40), ...}) = 0
> > > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 opost isig icanon echo ...}) = 0
> > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3fc4d000
> > > write(1, "construct_admin.c System adminis"..., 71) = 71
> > > write(3, "CREATE \"User\" \"createDir\" = \"1\" "..., 117) = 117
> > > poll([{fd=3, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}], 1, 1000) = 0
> > > poll([{fd=3, events=POLLIN|POLLERR|POLLHUP|POLLNVAL, revents=POLLIN}], 1, 1000) = 1
> > > fcntl64(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> > > read(3, "401 FAIL ", 16)                = 9
> > > .....
> > > 
> > > As far as I can see busybox 1.0 is using fd5 so my question is, is there a way to force busybox-1.5 to
> > > use fd5 as well?
> > 
> > It's not clear to me what command you are stracing.
> > 
> > --
> > vda
> > 
> @Tito thanks for your hint IŽll try it tonight.
> 
> thanks
> philipp
> 
> 
> 
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
> 
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
> 


_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192




More information about the busybox mailing list