Re: Invalid gzip magic error

2007-06-07 Thread walter harms
hi all, perhaps it helps if the message will say: I see no GZIP file something like that. obviously the current message points users in to wrong direction. my 2 cent, wh Nikolay Yevik wrote: This problem has been resolved. The problem stemmed from the version of rpmbuild utility I used on

Re: Color support for ncurses?

2007-06-10 Thread walter harms
hi Tarmo, 1. yes it is possible see: man color and http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ 2. This is the busybox mailing list it has nothing to do with ncurses or friends Busybox does not even use ncurses 3. What you can do with your terminal is a question for your terminal (echo

Re: Problem with test applet

2007-06-11 Thread walter harms
coreutils have a big testbed. It is only a questions what NOT to test. The problem is there is no real interests to make a test suite. re, wh Bernhard Fischer wrote: On Mon, Jun 11, 2007 at 05:39:16PM +0200, Bernhard Fischer wrote: On Mon, Jun 11, 2007 at 03:31:24PM +0200, Milos Wimmer

missing coreutils: join

2007-06-14 Thread walter harms
hi list, can it be that the coreutils is missing 'join' ? maybe an accident ? i could not find a trace of it. re, wh ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: cross-compilation failed

2007-06-18 Thread walter harms
free/lstat/... etc are libc functions. So your environment is not correctly set. please try a ''arm-linux-gcc hello.c'' to check your environment. re, wh Alex Kums wrote: Hi. I tried to compile 1.6 version of busybox for ARM system, but failed. I tried to compile static version of busybox,

Re: wget support for no_proxy env var

2007-06-21 Thread walter harms
hi Dan, gnu libc supports argz (GNU extension) for mapping lists line a,b,c,d into arrays and back unfortunately there is no official man page but you can use my from http://www.freiburg.linux.de/projekte/manpages/man/argz/ when you have problems getting it to work i have some examples around

ARRAY_SIZE

2007-06-21 Thread walter harms
Hi list, the kernel janitor were removing different versions of ARRAY_SIZE() from the kernel tree. i used the check to look for the same phenomena in busybox. Since this is not exactly about saving space more about maintaining, will such a patch accepted ? re, wh use to check: grep -Er sizeof

Re: wget support for no_proxy env var

2007-06-21 Thread walter harms
Bernhard Fischer wrote: On Thu, Jun 21, 2007 at 09:08:58AM +0200, walter harms wrote: hi Dan, gnu libc supports argz (GNU extension) for mapping lists line a,b,c,d into arrays and back unfortunately there is no official man page but you can use my from http://www.freiburg.linux.de

Re: ARRAY_SIZE

2007-06-22 Thread walter harms
Denis Vlasenko wrote: On Thursday 21 June 2007 15:50, walter harms wrote: Hi list, the kernel janitor were removing different versions of ARRAY_SIZE() from the kernel tree. i used the check to look for the same phenomena in busybox. Since this is not exactly about saving space more about

Re: Ethernet Problems:ifconfig error

2007-06-23 Thread walter harms
can you please check agains an older version ? re, wh Michael Sprauve wrote: Hi, I am running Busybox 1.6.0 and when I run ifconfig I get the following error ifconfig: error: no inet socket available: Function not implemented Not sure what is not configured correctly, but my

Re: [rfc] xioctl()

2007-06-24 Thread walter harms
perhaps this can be fixed using a macro like: #define xioctl(fd,req,...) bb_ioctl(#req,fd,req,__VA_ARGS__) static int bb_ioctl(const char *estr, int fd, int request, void *argp, ...) ... xioctl(get_console_fd(), VT_DISALLOCATE, (void *)num); will now call a modified

Re: [rfc] xioctl()

2007-06-24 Thread walter harms
Tito wrote: On Sunday 24 June 2007 14:59:42 walter harms wrote: perhaps this can be fixed using a macro like: #define xioctl(fd,req,...) bb_ioctl(#req,fd,req,__VA_ARGS__) static int bb_ioctl(const char *estr, int fd, int request, void *argp, ...) ... xioctl(get_console_fd

Re: Busybox 1.6.0 .config puzzle

2007-06-30 Thread walter harms
what is about /sbin/halt aka /sbin/shutdown ? the exact behavier depends on the archtecture but on my pc /sbin/halt shuts down the whole pc. re, wh Joe Lau wrote: Hello, Does anyone know how to turn off the poweroff feature on Busybox 1.6.0? That is I do not want the

Re: screen manager terminal emulation

2007-07-03 Thread walter harms
hi, from the reaction is seems clear that the init is broken somehow. Either it is not called at all or the stored structures are overwritten. ntl check where the terminfo stuff gets loaded (perhaps with strace) and print some important variables and see when/if they change. perhaps the people

Re: How to change the Timezone

2007-07-11 Thread walter harms
perhaps this Question Answer should go the the FAQ ? re, wh Denis Vlasenko wrote: On Friday 06 July 2007 14:20, Alberto Donato wrote: Hi, to have system-wide timezone configuration you need zoneinfo files from libc. They are usually installed under /usr/share/zoneinfo. You can create

Re: How to change the Timezone

2007-07-12 Thread walter harms
Mike Frysinger wrote: On Wednesday 11 July 2007, walter harms wrote: perhaps this Question Answer should go the the FAQ ? it isnt a busybox thing -mike this is true, ntl the problem will show up every time when someone is using 'date' in BB, so he will ask the bb ML. And it becomes

Re: How to change the Timezone

2007-07-13 Thread walter harms
Natanael Copa wrote: On Thu, 2007-07-12 at 19:54 -0400, Mike Frysinger wrote: On Thursday 12 July 2007, walter harms wrote: Mike Frysinger wrote: On Wednesday 11 July 2007, walter harms wrote: perhaps this Question Answer should go the the FAQ ? it isnt a busybox thing this is true, ntl

Re: FW: Link Applet against ncurses

2007-07-16 Thread walter harms
with make V=1 you can get the verbose mode for make. please check for linking bb. does the lib appear at all ? re, wh Farnik Stefan wrote: walter harms wrote: try: LDLIBS += -lncurses sorry, this was a typo in my mail it was `-lncurses' Stefan

Re: Monitor black after 10 Minutes

2007-07-27 Thread walter harms
Paul Fox wrote: As another post said - nothing to do with BusyBox. But it's the kernel that's doing this. I compiled ncurses, then setterm from util-linux and used the command 'setterm -blank 0'. This is the heavy handed way of doing things. yes, that's a lot of work :-), since

Re: busybox-1.6.1 Clear screen

2007-07-29 Thread walter harms
clear screen is a command send to your terminal (see man console_codes for more codes that the Linux console knows about) It is possible that your terminal does not understand the sequence you send. please check your console type. re, wh Sync ma wrote: Hi, all: I have problems on

Re: readhead.c error

2007-07-30 Thread walter harms
hi Emiliano, this is known bug. see man 2 readahead it depends on LFS. please try a newer version of BB or disable readahead. re, wh Emiliano Lopez wrote: Hi, I am trying to compile busybox 1.4.1 using buildroot as a toolchain. I did make defconfig and then make. After a few minutes of

Re: Remove common patterns

2007-10-06 Thread walter harms
Denys Vlasenko wrote: On Sunday 30 September 2007 15:28, Loïc Grenié wrote: I've tried to remove common patterns in the code. First try: s/printf(%s, /puts(/ and s/fprintf(fp, %s, \(.*\))/fputs(\1, fp)/ Patch attached. - printf(%s, error_message(ctx-errcode)); +

Re: Busybox-1.7.2 Spurious Bus error

2007-10-25 Thread walter harms
bus-errors point mots time to hardware bugs: man 7 signal: SIGBUS 10,7,10 CoreBus error (bad memory access) alternatively you have a problem with you toolchain. re, wh [EMAIL PROTECTED] wrote: Hi; I am using busybox-1.7.2 with uclibc-gcc version 3.4.4 cross-compiler

ash idle timeout ?

2007-11-06 Thread walter harms
hi list, does the ash have an idle timeout ? (if not it would be a nice enhancement :) re, wh ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: internal compiler error when compile busybox 1.1.3 using buildroot in cygwin

2007-11-13 Thread walter harms
hi, i am sorry you have that problem, personally i would ask on the gcc (i guess you are using gcc) mailing list. This is not a busybox problem. re, wh ?? wrote: hi , when I try to compile the busybox 1.1.3 using buildroot in cygwin. an internal compiler error happens. Could any one

Re: tar segfaults (busybox 1.8.1)

2007-11-17 Thread walter harms
Ralf Friedl wrote: Denys Vlasenko wrote: It means that you built your glibc with some weird debugging mode, and it converts strcpy(array, string); into some sort of strcpy_with_overrun_check(array, sizeof(array), string); In this case, it blew up despite code was correct. It

Re: busybox hexdump -R hack

2007-11-18 Thread walter harms
Denys Vlasenko wrote: On Saturday 17 November 2007 06:41, Pascal Bellard wrote: Hello, Please find attached a patch to add 'hexdump -R' a non-standard switch. It does the reverse of 'hexdump -Cv' ie : $ hexdump -Cv file.bin file.ascii $ hexdump -R file.ascii file.bin Well, this is

Re: Fwd: Re: [PATCH] add IP check functionality to udhcpc

2007-11-22 Thread walter harms
hi bryan, imho the following solution is the easiest one. start you phone application an store data in a log phone log then use tail -f log to see log in realtime. advantage: you can run your application without thinking about telnet and still see your log in real time. In case you do not

Re: [patch] cope with buggy dhcp servers

2007-11-24 Thread walter harms
Cristian Ionescu-Idbohrn wrote: On Sat, 24 Nov 2007, Cristian Ionescu-Idbohrn wrote: On Fri, 23 Nov 2007, Cristian Ionescu-Idbohrn wrote: Still... This tweak is needed _only_ if the dhcp-server is brain dead, problem which most clients don't suffer of. hi Cristian, a few comments on

Re: where are we/you going?

2007-11-25 Thread walter harms
Denys Vlasenko wrote: I just reran testsuite/runtest. Compared to 1.2.2, two more failures. :( -PASS: pidof -o %PPID +FAIL: pidof -o %PPID -PASS: which-uses-default-path +FAIL: which-uses-default-path Will look into it. hi all, the missing testsuite is a real problem. I have posted

Re: [solved?] Re: vi segfaults (bb 1.8.2)

2007-12-05 Thread walter harms
hi Cristian, BUFSIZ is used in stdio.h #ifndef BUFSIZ # define BUFSIZ _IO_BUFSIZ #endif so the proper is to use ulibc size and calculate everything depending on that value. This is obviously not done. the easy way is to s/BUFSIZ/BBBUFSIZ/g and thats it. ntl: nice work re, wh Cristian

Re: Busybox Init

2007-12-05 Thread walter harms
Rajeev Bansal wrote: Hello Walter, So according to them , its init responsibility to mount the real root you an it does so by calling *a script* that does the actual work. E.g on my desktop its called boot.localfs on your system it can be called totally different to mirror different

Re: Busybox Init

2007-12-05 Thread walter harms
Rajeev Bansal wrote: Hi Mike, Thanks for replying the query. I am not sure about this but don't you think when you run the command switchroot in init script, then its Init's job to remount the previous mounted root with read-write options. Thanks -Rajeev hi Rajeev, from 'man

new applets: lpr, lpq

2008-01-10 Thread walter harms
hi list, some time ago i had already posted an lpr/lpq applet. Since the original problem vanished i did not port that patch to newer bb releases. how ever i have again need for a printing utility on my embedded system so here is a updated version again. it is mostly rewritten and ported to BB

Re: ps and username size

2008-01-10 Thread walter harms
Tito wrote: Cheers, Isn't there a maximum lenght for usernames on unix/linux? Would it make sense to set the width of this field to that value? I ask this because on my system (Ubuntu 7.10 - more or less) adduser fails with usernames longer than 32 chars. Adding user

Re: mount NFS error: Bad directory

2008-01-10 Thread walter harms
zishen yan wrote: Hello, Whenever I mount a NFS filesystem, I get error 'Bad directory'. Anyone came to the same problem before? Thanks. I'm using linux kernel v2.4.2 w/ busybox 0.6 i am sorry you have that problem, but NTL you are using a very ancient BusyBox Version. There is a

Re: busybox-1.9.0 / fdisk -l segfaults

2008-01-22 Thread walter harms
i did a quick check on my desktop (glibc). and it works as expected does only fdisk -l segfault or also fdisk -l /dev/xxx ? re, wh Christian MICHON wrote: Hi, I'm maintaining a x86 linux distro based on uclibc-0.9.29 and busybox. It's called DetaolB for obvious reasons :) I recently

Re: busybox-1.9.0 / fdisk -l segfaults

2008-01-23 Thread walter harms
obviously it is not a general fault, please describe you environment busybox 1.9.0 (from busybox.net i guess ?) gcc version ? (others, perhaps details like crosscompile, private linker etc) Processor ? libc version ? re, wh Christian MICHON wrote: On 1/22/08, walter harms [EMAIL PROTECTED

Re: busybox-1.9.0 / fdisk -l segfaults

2008-01-23 Thread walter harms
Christian MICHON wrote: On Jan 23, 2008 10:48 AM, walter harms [EMAIL PROTECTED] wrote: obviously it is not a general fault, please describe you environment busybox 1.9.0 (from busybox.net i guess ?) gcc version ? (others, perhaps details like crosscompile, private linker etc) Processor

Re: busybox-1.9.0 / fdisk -l segfaults

2008-01-23 Thread walter harms
, walter harms [EMAIL PROTECTED] wrote: obviously it is not a general fault, please describe you environment busybox 1.9.0 (from busybox.net i guess ?) gcc version ? (others, perhaps details like crosscompile, private linker etc) Processor ? libc version ? sure. :) busybox-1.9.0 from

Re: busybox-1.9.0 / fdisk -l segfaults

2008-01-24 Thread walter harms
Joakim Tjernlund wrote: On Wed, 2008-01-23 at 18:41 +0100, Christian MICHON wrote: On Jan 23, 2008 3:00 PM, Christian MICHON [EMAIL PROTECTED] wrote: Thanks! I missed that part (was browsing the whole busybox mailing list archives without realizing it could be do..while(0) ) That was

Re: logger.c:30: error with incompatible re-declaration of 'prioritynames'

2008-01-26 Thread walter harms
Bernhard Fischer wrote: Hi, make clean defconfig all make clean make CROSS=xyz-whatever-uclibc -f scripts/Makefile.IMA yields (with uClibc): [snip] -Wl,--start-group -lcrypt -lm -Wl,--end-group In file included from sysklogd/syslogd.c:24:

Re: find / rm corrupting memory

2008-01-26 Thread walter harms
Roy Marples wrote: Hi List. I'm trying to track down a memory corruption when using the following /tmp/bb $ touch a b /tmp/bb $ find . -type f -exec rm -rf -- {} \; /tmp/bb $ touch a b c /tmp/bb $ find . -type f -exec rm -rf -- {} \; rm: invalid option -- BusyBox v1.9.0 (2008-01-25

Re: ps and username size

2008-02-02 Thread walter harms
Denis Vlasenko wrote: On Thursday 10 January 2008 22:07, Tito wrote: On Thursday 10 January 2008 22:40:26 Cristian Ionescu-Idbohrn wrote: On Thu, 10 Jan 2008, Tito wrote: Isn't there a maximum lenght for usernames on unix/linux? Would it make sense to set the width of this field to that

Re: init scripts

2008-02-03 Thread walter harms
Vista Linux, I am not sure if it's a modified version. Max walter harms [EMAIL PROTECTED] wrote: hi max, i am sorry you have that problem, you are using a very ancient BusyBox Version. There is a good change that things have changed to the better since the last releases. please try a newer

Re: od -t

2008-02-03 Thread walter harms
please try ENABLE_DESKTOP od.c says: #if ENABLE_DESKTOP /* This one provides -t (busybox's own build script needs it) */ please report results, i guess this should be added to the documentations. re, wh Thomas Lundquist wrote: Hi. I'm trying to build busybox within buildroot and then

Re: splash image during boot - new applet?

2008-02-04 Thread walter harms
aehm there is one thing that troubles me, nothing against eyecandy ... but the whole point of bb is putting as much in so few (C-)byts as possible. but maybe its ok if we open a section with eyecandy (i am voting for fortune to include !) re, wh Michele Sanges wrote: Roberto, the

Re: Busybox is my Router

2008-02-04 Thread walter harms
Gaurish Sharma wrote: Hi list, My router D-link GLB 502T runs on BusyBox v0.61.pre (2006.06.30-13:40+). I wanted to know is there any way by which i could disconnect connect the router from internet via telnet, as this would enable me to use a script automate the task of downloading

Re: Question about 'ps' and pipe

2008-02-07 Thread walter harms
[EMAIL PROTECTED] wrote: Hi, I am using busybox-1.9.0 and have encountered some issues that I would be grateful for someone to cast some light on. The ps command seems to have changed and doesn't seem to support the '-ef' option anymore. I know that at one stage it did because the

new applets lpr,lpq (update)

2008-02-10 Thread walter harms
hi list, some time ago i had already posted an lpr/lpq applet. The applets now share some code. The diff apply against bb-1.9.0. I think these commands are important because bb will become a full replacement for the current commands, and who does not want to print ? Please apply BTW to have a

Re: compile failure in 1.9.1

2008-02-17 Thread walter harms
this is caused by a feature called CONFIG_MONOTONIC_SYSCALL Busybox Settings ---Busybox Library Tuning --- Use clock_gettime(CLOCK_MONOTONIC) syscall Can someone please add this to the FAQ ? re, wh Thomas Lundquist wrote: This log is from a buildroot based devkit with uClibc 0.9.28

Re: makefile.flags: do not use -O with -g

2008-02-18 Thread walter harms
Mike Frysinger wrote: On Sunday 17 February 2008, walter harms wrote: i had a situation where the -Os option confused my debugger. This little patch disables the -Os when -g is used. fix your debugger or dont build with -Os. if you need to debug something, you shouldnt be enabling any

PATCH: new applet lpq,lpr (next round)

2008-02-18 Thread walter harms
hi list, i have incorporated a bunch of improvement (thanks to vda). -lpr still has a verbose mode what can be used to locate trouble spots -lpr still generates a controlfile in the localdir (will be fixed soon) re, wh print3.tgz Description: application/compressed-tar

Re: ash r21030 broken?

2008-02-20 Thread walter harms
Ralf Friedl wrote: Cristian Ionescu-Idbohrn wrote: On Wed, 20 Feb 2008, Denys Vlasenko wrote: And if it still fails, make both alloc() functions zero out allocated block: static void * ckmalloc(size_t nbytes) { - return ckrealloc(NULL, nbytes); + return

Re: patch: Make dhcpd and dhcpc more configurable

2008-02-21 Thread walter harms
Denys Vlasenko wrote: On Wednesday 20 February 2008 12:28, walter harms wrote: Hi list, this patch makes the hardcoded paths for lease file (udhcpd) and default script (udhcpc) and conifg option. There are no size changes. The patch function is only to make bb more config friendly

documentation: find memory leak with glibc mtrace()

2008-02-21 Thread walter harms
Hi list, we had recently a discussion about mem-bugs in ash. Because i am a heavy ash user i tried to take a look into the problem. Not everyone is aware of all the possibilities that lurk inside his system here is a short summary how to check with the glibc mtrace() facility. please add this to

Re: ?????: LPR: code cleanup+ +

2008-02-21 Thread walter harms
Vladimir Dronnikov wrote: That IMHO IS the question: is typical BB lpr application is, say, automated printing to the usually available printer (say, cheque printer) and in this case pdq's approach rules, or to print interactively to a lpd queue? -- Vladimir In my case i need spooling

Re: LPR applet

2008-02-21 Thread walter harms
[EMAIL PROTECTED] wrote: Hi! Next iteration comes. Those who wanna print from BB should try it out! Do we _have to_ specify the length of data file? RFC 1179 states: -- 6.3 03 - Receive data file ++---++--++ | 03 | Count | SP | Name | LF |

rewrite: watch.c

2008-02-22 Thread walter harms
hi list, this simplifies the coding of the watch utility. I does not save much bytes but it thing it is easier to read now. I have changed the date time display as the old one eat to much space. Note: perhaps it even make sense to make the time display dynamic if someone is bored ,,, re, wh

rewrite: watch.c next round

2008-02-23 Thread walter harms
hi list, tito pointed out some small improvements also i moved char *header into the if-block i was also playing with a reversed color header to improve readability but dropped that idea again. please apply re, wh ps: i like asprint if somebody know someone from the standard committee: that

xgethostname()

2008-02-23 Thread walter harms
Tito wrote: On Saturday 23 February 2008 02:50:11 Clem Taylor wrote: I'm trying to switch from an old busybox 1.5.0.svn (2007-11-19) to busybox 1.9.1 and syslogd segfaults on startup: #0 0x2ab609cc in strcpy () from /lib/libc.so.0 #1 0x2ab6376c in gethostname () from /lib/libc.so.0 #2

Re: rewrite: watch.c

2008-02-24 Thread walter harms
/* maximum as in procps 3.2.7 */ period = xatou_range(str, 1, 9); argv += optind; -1 causes an error 'invalid number' And 0? and 9/(3600*24*365)=31 but 2036 (when time() ends :) - 2008 = 28 so no need to worry about if someone likes to type long

Re: xgethostname()

2008-02-24 Thread walter harms
Tito wrote: On Saturday 23 February 2008 18:16:27 walter harms wrote: Tito wrote: On Saturday 23 February 2008 02:50:11 Clem Taylor wrote: I'm trying to switch from an old busybox 1.5.0.svn (2007-11-19) to busybox 1.9.1 and syslogd segfaults on startup: #0 0x2ab609cc in strcpy () from

rewrite: watch.c (last turn i hope)

2008-02-24 Thread walter harms
As tito pointed out the xasprintf() alloced everytime so it needs a free() or you system will leak memory with every step. i realy hope this is the last version. re, wh /* vi: set sw=4 ts=4: */ /* * Mini watch implementation for busybox * * Copyright (C) 2001 by Michael Habermann [EMAIL

Re: LPD applet

2008-02-25 Thread walter harms
[EMAIL PROTECTED] wrote: Hi! Cosmetic changes to lpr. New applet: tiny lpd. Seems to be working with lp[rq] applets :) Needs to be tested on real printing device and I do not have any... Need feedback, people! Do we want any queueing? Do we need some pre- and postprocessing,

Re: Open HTML File

2008-02-25 Thread walter harms
Bastien DEBLAIS wrote: Hi, I'm new with BusyBox (that I use with Asterisk telephony server, BusyBox V1.0). I want to make a command line to open a HTML file; how can I do It? /I tried 'wget' (wget -q http://admin:[EMAIL PROTECTED]/Set.cmd?CMD=SetPower+P60=0)/ Cordialy, Bastien

Re: Automatic time change problem

2008-02-27 Thread walter harms
Frederic Kwiatkowski wrote: Hi all I'm actually using busybox on an arm9 based device and I wondering something important about time-changes (ie adding 1hour at 30 March in France) When my device is running, automatic time switch occurs between summer/winter seasons. So everything goes

(PATCH) latest-snapshot: ‘DEBUG’ undeclared

2008-03-04 Thread walter harms
libbb/getpty.c: In function ‘getpty’: libbb/getpty.c:43: error: ‘DEBUG’ undeclared (first use in this function) libbb/getpty.c:43: error: (Each undeclared identifier is reported only once libbb/getpty.c:43: error: for each function it appears in.) make[1]: *** [libbb/getpty.o] Fehler 1 ---

Re: http with cgi

2008-03-10 Thread walter harms
there is nothing special about CGI and busybox HTTPD you need to have your cgi-script in /BASEDIR/cgi-bin/ thats it, re, wh Inuk You wrote: Hello I apologize for the prior mail (hard to read it). Please delete it (same title with [EMAIL PROTECTED]) if possible. I'd like to run some

Re: [EMAIL PROTECTED]

2008-03-13 Thread walter harms
hi Thorsten, did you clear your FS before installing the old busybox ? if not you may have a dangling link somewhere that is used now and causes the system to error while booting. re, wh Thorsten Hirsch wrote: Hi, today I wanted to update the busybox version on my nas device, which is a

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

2008-04-04 Thread walter harms
please do not forget to inform the ld maintainer if the problem persists. re, wh EXTERNAL Tetz Torsten (Praktikant; ST-FIR/ENG1) wrote: Hello Denys, Version of ld is: GNU ld version 2.16.1 This can be a problem. Either upgrade your ld to newest version, or go to scripts/trylink and

Re: Busybox not working with uClibc

2008-04-09 Thread walter harms
Nikesh Gawande wrote: Hi , I am quiet new in the Linux world. I working on the system having AT91SAM9261 chip all the kernel related issues have been solved. Now I am trying to create the RFS with busybox and uClibc. I have built both of them with cross toolchain for ARM926.

Re: busybox Digest, Vol 33, Issue 16

2008-04-09 Thread walter harms
this looks completely different. You installation is missing a shared library. perhaps you can compile you code with -static-libgcc ? note: this is a layer-7 error not a busybox problem re, wh Nikesh Gawande wrote: Hi Everybody, I am trying to use uClibc-0.9.29_rc1.tar.bz2

Re: [PATCH] More ash test conditions.

2008-04-09 Thread walter harms
Mike Frysinger wrote: On Tuesday 08 April 2008, James Simmons wrote: Index: shell/ash.c === --- shell/ash.c(revision 21673) +++ shell/ash.c(working copy) @@ -12878,12 +12878,21 @@ /* longest must be first */

Re: [PATCH] Fix ioctl() wrappers for 64-bit systems

2008-04-12 Thread walter harms
Denys Vlasenko wrote: I'd hazard to guess that ppc64's libc has ioctl declared as int ioctl(int d, ...); /* request is a vararg too!!! */ and you need to explicitly cast 2nd parameter to long for correct operation. In your testcase: this seems very wired, perhaps a typo. NTL there is

Re: additional applets available as ash builtins?

2008-04-14 Thread walter harms
Cristian Ionescu-Idbohrn wrote: On Sun, 13 Apr 2008, Denys Vlasenko wrote: tac cannot be NOFORK as written because it uses xrealloc: I should probably read the code before asking stupid questions. never mind, there are no stupid questions only stupid answers :) re, wh In order

Re: Unable to Upload File using POST Method -httpd-busybox-busybox-1.00-pre10

2008-04-15 Thread walter harms
hi Prakhar Vig, i am sorry you have that problem You are using a very ancient BusyBox Version. There is a good change that things have changed to the better since the last releases. please try a newer release so we can be sure that the problem is not already fixed. re, wh Prakhar Vig wrote:

Re: Can't compile NSF mounts

2008-04-15 Thread walter harms
did you try -o nolock,noatime ? 1. prevent locking can be an issue 2. noatime speeds up file access re, wh Guillaume Dargaud wrote: mount.c:(.text.singlemount+0xf14): undefined reference to `clnt_sperror' [...] The solution was a simple rm -rf toolchain_build_powerpc when compiling

PATCH: save a few bytes in arping

2008-04-17 Thread walter harms
hi list, we save a few bits in arping. I know some people dislike gnu functions. the cp_step() function can be replace with mempcpy(). the size reduction is not that big but busybox/busybox/networking size arping.o textdata bss dec hex filename 2741 0 0

Re: PATCH: save a few bytes in arping

2008-04-17 Thread walter harms
some how i added an 'n' to the name, no clue how re, wh Denys Vlasenko wrote: On Thursday 17 April 2008 17:18, walter harms wrote: hi list, we save a few bits in arping. I know some people dislike gnu functions. the cp_step() function can be replace with mempcpy(). the size reduction

Re: svn commit: trunk/busybox/networking

2008-04-21 Thread walter harms
Bernhard Fischer wrote: On Sun, Apr 20, 2008 at 07:21:46PM -0700, [EMAIL PROTECTED] wrote: Author: vda Date: 2008-04-20 19:21:45 -0700 (Sun, 20 Apr 2008) New Revision: 21786 Log: *: s/IF_NAMESIZE/IFNAMSIZ/, regularize its use a bit. function

Re: resend:PATCH: save a few bytes in arping

2008-04-25 Thread walter harms
Denys Vlasenko wrote: On Friday 25 April 2008 09:11, walter harms wrote: +static void *cp_step(void *_dst,void *_src, size_t n) +{ + memcpy(_dst, _src, n); Indentation is inconsistent with the rest of the file. + + return _dst += n; Incrementing the pointer of type void

Re: just another one of my rumblings

2008-05-01 Thread walter harms
Mike Frysinger wrote: On Saturday 26 April 2008, Denys Vlasenko wrote: On Saturday 26 April 2008 05:26, Mike Frysinger wrote: [ -n $var ] is clear. [ $var ] is not. it's exactly analogous to if (foo != 0) vs. if (foo). it's all subjective. i'd probably have to look up -n. :-) i

Re: [patch] testsuite/testing.sh: removes obvious bashisms

2008-05-02 Thread walter harms
Cristian Ionescu-Idbohrn wrote: t. The two major examples I gave are 'echo' and 'printf'. echo usage in the test-scripts: - the '-e' options is _not_ posix - use of the '-e' option may lead to several tests failing if the default shell (dash on several distributions) does not

Re: improved last

2008-06-01 Thread walter harms
Cristian Ionescu-Idbohrn wrote: On Thu, 22 May 2008, Denys Vlasenko wrote: static void show_entry(struct utmp *ut, int state, long lout) { long dur_secs; long ms, hs, ds; char duration[32]; char login_time[32]; char logout_time[32];

Re: [patch] coreutils/printf.c

2008-06-02 Thread walter harms
Denys Vlasenko wrote: On Sunday 01 June 2008 21:31, Gilles Espinasse wrote: - Original Message - From: Denys Vlasenko [EMAIL PROTECTED] To: busybox@busybox.net Sent: Sunday, June 01, 2008 4:33 PM Subject: Re: [patch] coreutils/printf.c Do not replace return EXIT_SUCCESS; with

Re: [patch] Makefile.flags: would this make more sense?

2008-06-03 Thread walter harms
yes it makes no sense i would even drop -O0 (see my patch some weeks ago :) re, wh Cristian Ionescu-Idbohrn wrote: When using gdb, one would expect to have the source compiled with '-g -O0', and not '-g -Os'. Index: Makefile.flags

Re: mdev race conditions

2008-06-04 Thread walter harms
maybe this explanation is helpful http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00145.html re, wh Denys Vlasenko wrote: On Tuesday 03 June 2008 18:43, Mike Frysinger wrote: Can you chime me in how to build PIE / how it is different from normal executable? I guess there are some

Re: [patch] Makefile.flags: would this make more sense?

2008-06-05 Thread walter harms
Denys Vlasenko wrote: On Tuesday 03 June 2008 22:06, Cristian Ionescu-Idbohrn wrote: When using gdb, one would expect to have the source compiled with '-g -O0', and not '-g -Os'. There were people who disagree (they say debug what you ship). I see only one way to leave BOTH camps happy.

Re: [patch] include/usage.h

2008-06-08 Thread walter harms
Denys Vlasenko wrote: On Thursday 05 June 2008 20:18, Cristian Ionescu-Idbohrn wrote: Wouldn't this be more in line with the code? Not really. Only last six X's are required and subsequently replaced by random chars. -- just for the books, ... this is not what my desktop version

Re: just seen a warning I didn't notice before

2008-06-08 Thread walter harms
does the same apply to the original kernel zconf version ? re, wh Cristian Ionescu-Idbohrn wrote: Showing up with 'make {menu,old}config': HOSTCC scripts/kconfig/zconf.tab.o scripts/kconfig/lex.zconf.c:1609: warning: 'input' defined but not used HOSTLD scripts/kconfig/conf Have

using -fPIE (was Re: mdev race conditions)

2008-06-10 Thread walter harms
Denys Vlasenko wrote: On Wednesday 04 June 2008 14:20, walter harms wrote: maybe this explanation is helpful http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00145.html Well, it explains what PIE is, but does not explain in which situations PIE bring some substantial benefits. We need

Re: Busybox-1.10.3: ENABLE_FEATURE_TASKSET_FANCY - cpu_set_t undefined

2008-06-17 Thread walter harms
[EMAIL PROTECTED] wrote: Hi; I turn on ENABLE_FEATURE_TASKSET_FANCY and cpu_set_t is undefined. Linux kernel source has cpumask_t defined in include/linux/cpumask.h. Please advise. cpumask_t is not defined in older kernels. re, wh ___

Re: snapshot-20080618 'ls' inverted return status

2008-06-18 Thread walter harms
George Boudreau wrote: Hi, While building busybox-20080618, with defconfig, I stumbled upon a problem with 'ls'. ./busybox ls; echo $? 1 ./busybox ls qwert; echo $? 0 Looks like the status logic is inverted. if (ENABLE_FEATURE_CLEAN_UP) dfree(dnp, nfiles);

vi.c coredump

2008-06-19 Thread walter harms
hi list, i can produce a nasty bug in vi. I noticed it first with 10.3 but it seems to be present in earlier versions. I can produce the bug this way: start vi goto insert mode select a screenfull of data with Xcursor clip data into vi crash Your mileage may vary; picking only a few data will

Re: vi.c coredump

2008-06-19 Thread walter harms
ps: i am sorry i forget to add the backtrace last mail walter harms wrote: hi list, i can produce a nasty bug in vi. I noticed it first with 10.3 but it seems to be present in earlier versions. I can produce the bug this way: start vi goto insert mode select a screenfull of data

Re: vi.c coredump

2008-06-19 Thread walter harms
I looked into the other place where stupid_insert() and it guess they will break also. re wh walter harms wrote: Hi list, some news about the bug: It is present at least in 1.9.1 maybe earlier It happens in insert_char when ENABLE_FEATURE_VI_SETOPTS is set p

[PATCH]: allow serverroot setting in configfile

2008-06-20 Thread walter harms
hi list, i had the local request to add the serverroot setting into the configfile to allow configuration in one place, for more easy deployment. re, wh --- networking/httpd.c.org 2008-06-20 17:17:42.0 +0200 +++ networking/httpd.c 2008-06-20 17:16:22.0 +0200 @@ -37,6

Re: RTC and date command

2008-06-21 Thread walter harms
Midhun A wrote: Hi All, I am working on Freescale's i.MX21 RTC. I have a driver which does the basic initialization of the RTC and sets and reads time from the RTC. The RTC is working perfectly fine. When I use the date command of busybox, it seems that busybox picks up the date and time

Re: [PATCH]: Create vim - vi alias

2008-06-21 Thread walter harms
actually i did not try it but was is wrong with: alias vim=vi re, wh [EMAIL PROTECTED] wrote: On Jun 20 2008, Denys Vlasenko wrote: On Friday 20 June 2008 19:10, [EMAIL PROTECTED] wrote: On Jun 20 2008, Bernhard Fischer wrote: On Fri, Jun 20, 2008 at 11:55:17AM -0500, [EMAIL

  1   2   3   4   5   6   7   >