Re: Initial Path - Question...

2008-11-04 Thread Bernhard Reutner-Fischer
On Tue, Nov 04, 2008 at 11:44:27PM +1000, Michael D. Setzer II wrote: >I've just added to the .bash_profile >export PATH=/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin > >That seems to work... Let me point out that you would normally have a stanza like the one below in your /etc/pro

Re: setfont/kbd_mode - which console?

2008-11-04 Thread Roy Marples
On Tuesday 04 November 2008 14:58:30 Roy Marples wrote: > So, in an attempt yet again to get OpenRC to boot cleanly using busybox > here's a patch that enables -C device for kbd_mode and setfont. The patch > is done so extending similar support for other console tools is fairly > trivial. I forgot

setfont/kbd_mode - which console?

2008-11-04 Thread Roy Marples
Hi List Sometime ago I submitted patches for busybox setfont and kbd_mode to support the -C device option, which specified the console device to take action upon. Either they didn't get accepted for whatever reason, or lost somewhere in the ether. Either way, the old patches no longer apply. So

Re: setfont/kbd_mode - which console?

2008-11-04 Thread Bernhard Reutner-Fischer
On Tue, Nov 04, 2008 at 03:03:39PM +, Roy Marples wrote: >On Tuesday 04 November 2008 14:58:30 Roy Marples wrote: >> So, in an attempt yet again to get OpenRC to boot cleanly using busybox >> here's a patch that enables -C device for kbd_mode and setfont. The patch >> is done so extending simil

Re: Initial Path - Question...

2008-11-04 Thread Michael D. Setzer II
On 4 Nov 2008 at 15:59, Bernhard Reutner-Fischer wrote: Date sent: Tue, 4 Nov 2008 15:59:51 +0100 From: Bernhard Reutner-Fischer <[EMAIL PROTECTED]> To: "Michael D. Setzer II" <[EMAIL PROTECTED]> Copies to: walter harms <[EMAIL PROTEC

Re: setfont/kbd_mode - which console?

2008-11-04 Thread Roy Marples
On Tuesday 04 November 2008 15:46:56 Bernhard Reutner-Fischer wrote: > Given these stats you should add a > get_console_fd_from_name_or_die(const char *dev) instead of adding > penalties for the NULL arg everywhere. That saves a futher 30 bytes. uberlaptop busybox-1.12.1 # ./scripts/bloat-o-meter

Re: setfont/kbd_mode - which console?

2008-11-04 Thread Bernhard Reutner-Fischer
On Tue, Nov 04, 2008 at 04:52:42PM +, Roy Marples wrote: >On Tuesday 04 November 2008 15:46:56 Bernhard Reutner-Fischer wrote: >> Given these stats you should add a >> get_console_fd_from_name_or_die(const char *dev) instead of adding >> penalties for the NULL arg everywhere. > >That saves a fu

Re: Invalid options segfault?

2008-11-04 Thread Rob Landley
On Tuesday 04 November 2008 02:48:37 Denys Vlasenko wrote: > On Tuesday 04 November 2008 08:09, Vladimir Dronnikov wrote: > > So did 'uname -X' when I used ./configure under mini-native. > > Doesn't happen here, but I still build against old-ish > static uclibc here. What is mini-native? It's buil

RE: inetd bug

2008-11-04 Thread Cathey, Jim
We've been using BB, and found that when we had an /etc/inetd.conf file with only one service in it, said service being commented in and out as it was enabled/disabled by the system (along with a HUP to inetd), that the lone service could not re-enable. I tracked it down to a bug where the maxsock

Re: Invalid options segfault?

2008-11-04 Thread Denys Vlasenko
On Tuesday 04 November 2008 08:09, Vladimir Dronnikov wrote: > So did 'uname -X' when I used ./configure under mini-native. Doesn't happen here, but I still build against old-ish static uclibc here. What is mini-native? -- vda ___ busybox mailing list bu

Re: Initial Path - Question...

2008-11-04 Thread walter harms
Denys Vlasenko schrieb: > On Monday 03 November 2008 22:33, Michael D. Setzer II wrote: I added an export to command to the .bash_profile to fix the issue, but was wondering if there is a better way, or if this is how things are suppose to be. Not sure where the PATH value is set.

RE: inetd bug

2008-11-04 Thread Cathey, Jim
I _believe_ (and this was done some time ago, so my memory is spotty) that it was when the value of maxsock was -1 (zero services in table), that when casted to an rlim_t it turned into a very large positive number, which meant the conditional passed when it shouldn't. My solution, for us using MI

Re: Initial Path - Question...

2008-11-04 Thread Michael D. Setzer II
On 4 Nov 2008 at 9:20, walter harms wrote: Date sent: Tue, 04 Nov 2008 09:20:16 +0100 From: walter harms <[EMAIL PROTECTED]> Send reply to: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Copies to: busybox@busybox.net Subject:

[PATCH] fix typo in comment in id.c

2008-11-04 Thread Tito
Hi, please apply. Ciao, Tito --- coreutils/id_orig.c 2008-11-04 22:03:37.0 +0100 +++ coreutils/id.c 2008-11-04 22:10:07.0 +0100 @@ -133,7 +133,7 @@ } /* JUST_ALL_GROUPS ignores -r PRINT_REAL flag even if man page for */ /* id says: print the real ID in

Re: Invalid options segfault?

2008-11-04 Thread Vladimir Dronnikov
> What is mini-native? mini-native is Rob's toolchain from his FirmWare Linux project. I finally decided to leave my rather outdated toolchain (0.9.29, 2.6.22, gcc/g++ + many libraries I completely forgot the way I compiled them) in favor of clean and maintainable one. My point is to have modern

Re: Invalid options segfault?

2008-11-04 Thread Rob Landley
On Tuesday 04 November 2008 03:48:12 Vladimir Dronnikov wrote: > > What is mini-native? > > mini-native is Rob's toolchain from his FirmWare Linux project. I finally > decided to leave my rather outdated toolchain (0.9.29, 2.6.22, gcc/g++ + > many libraries I completely forgot the way I compiled th

Re: inetd bug

2008-11-04 Thread walter harms
Cathey, Jim schrieb: > We've been using BB, and found that when we had an /etc/inetd.conf > file with only one service in it, said service being commented in > and out as it was enabled/disabled by the system (along with a HUP > to inetd), that the lone service could not re-enable. I tracked it

Re: Invalid options segfault?

2008-11-04 Thread Rob Landley
On Tuesday 04 November 2008 12:00:33 Vladimir Dronnikov wrote: > One more issue: when compiling sqlite I started to get the error: > BUILDsqlite > awk: ./mkopcodeh.awk:117: Math support is not compiled in That's because Denys removed CONFIG_FEATURE_AWK_LIBM from defconfig, which broke this.

Re: Invalid options segfault?

2008-11-04 Thread Roberto A. Foglietta
2008/11/4 Rob Landley <[EMAIL PROTECTED]>: > $ cat -c hello.cpp > cat: invalid option -- c > cat[248]: segfault at 0 ip 0804829d sp bf95f70c error 4 in > busybox[8048000+a9000] > > Anybody other than me notice this? It's in last night's snapshot... > I saw some segfaults in busybox 1.11.3 cross

[PATCH] fix type in id.c

2008-11-04 Thread Tito
Hi, please apply. Ciao, Tito --- coreutils/id_orig.c 2008-11-04 22:03:37.0 +0100 +++ coreutils/id.c 2008-11-05 00:17:04.0 +0100 @@ -60,7 +60,7 @@ return print_common(id, bb_getgrgid, prefix); } -static int print_user(gid_t id, const char *prefix) +static int print_u

Config questions.

2008-11-04 Thread Rob Landley
On Tuesday 04 November 2008 16:22:45 Rob Landley wrote: > It would be nice if busybox still had such a .config. Maybe I can start > with allyesconfig and just switch off a lot _more_... So I'm making my own deltaconfig I can feed into "make allyesconfig KCONFIG_ALLCONFIG=deltaconfig", to switch

make saneconfig

2008-11-04 Thread Rob Landley
On Tuesday 04 November 2008 16:22:45 Rob Landley wrote: > It would be nice if busybox still had such a .config. Maybe I can start > with allyesconfig and just switch off a lot _more_... Ok, here's how to get a "maximum sane configuration", switching off all the things that break if you're not se

getty/login problem

2008-11-04 Thread lord_fleg
hi all, when logging on via the serial port (ttyS1) i get prompted for the username when i enter it and hit return it gets echoed back to me on the line below, and then when i enter the password nothing happens and it eventually times out. on entering the username/password a second time all is