* busybox does not like 2.4.8, or the other way around?
@ 2001-09-21 1:21 Jun Sun
2001-09-21 2:02 ` Bradley D. LaRonde
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Jun Sun @ 2001-09-21 1:21 UTC (permalink / raw)
To: linux-mips
I have a small busybox userland that works fine with 2.4.2 kernel, but failed
with the latest 2.4.8 kernel. The symptom is that it is stuck at the
following prompt:
================
....
Kernel command line: console=ttyS0,115200 ip=bootp
....
Freeing unused kernel memory: 4k freed
Algorithmics/MIPS FPU Emulator v1.4
serial console detected. Disabling virtual terminals.
init started: BusyBox v0.51 (2001.07.18-06:43+0000) multi-call binary
Please press Enter to activate this console.
================
A simple test shows the console is still working, i.e., pressing a key *does*
generate an interrupt and ISR *does* read the correct char value.
I really cannot think of anything else that might make busybox stuck here.
Any clue? Anybody else is using busybox with more recent kernels?
Jun
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: busybox does not like 2.4.8, or the other way around?
2001-09-21 1:21 Jun Sun
@ 2001-09-21 2:02 ` Bradley D. LaRonde
2001-09-21 2:02 ` Bradley D. LaRonde
2001-09-21 3:56 ` Ralf Baechle
2001-09-21 5:30 ` Karsten Merker
2 siblings, 1 reply; 10+ messages in thread
From: Bradley D. LaRonde @ 2001-09-21 2:02 UTC (permalink / raw)
To: Jun Sun, linux-mips
I'm using busybox 0.60.1 with the latest oss kernel with success. No clue
on why your busybox is stuck though.
Regards,
Brad
----- Original Message -----
From: "Jun Sun" <jsun@mvista.com>
To: <linux-mips@oss.sgi.com>
Sent: Thursday, September 20, 2001 9:21 PM
Subject: busybox does not like 2.4.8, or the other way around?
>
> I have a small busybox userland that works fine with 2.4.2 kernel, but
failed
> with the latest 2.4.8 kernel. The symptom is that it is stuck at the
> following prompt:
>
> ================
> ....
> Kernel command line: console=ttyS0,115200 ip=bootp
> ....
> Freeing unused kernel memory: 4k freed
> Algorithmics/MIPS FPU Emulator v1.4
> serial console detected. Disabling virtual terminals.
> init started: BusyBox v0.51 (2001.07.18-06:43+0000) multi-call binary
>
> Please press Enter to activate this console.
> ================
>
> A simple test shows the console is still working, i.e., pressing a key
*does*
> generate an interrupt and ISR *does* read the correct char value.
>
> I really cannot think of anything else that might make busybox stuck here.
> Any clue? Anybody else is using busybox with more recent kernels?
>
> Jun
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: busybox does not like 2.4.8, or the other way around?
2001-09-21 2:02 ` Bradley D. LaRonde
@ 2001-09-21 2:02 ` Bradley D. LaRonde
0 siblings, 0 replies; 10+ messages in thread
From: Bradley D. LaRonde @ 2001-09-21 2:02 UTC (permalink / raw)
To: Jun Sun, linux-mips
I'm using busybox 0.60.1 with the latest oss kernel with success. No clue
on why your busybox is stuck though.
Regards,
Brad
----- Original Message -----
From: "Jun Sun" <jsun@mvista.com>
To: <linux-mips@oss.sgi.com>
Sent: Thursday, September 20, 2001 9:21 PM
Subject: busybox does not like 2.4.8, or the other way around?
>
> I have a small busybox userland that works fine with 2.4.2 kernel, but
failed
> with the latest 2.4.8 kernel. The symptom is that it is stuck at the
> following prompt:
>
> ================
> ....
> Kernel command line: console=ttyS0,115200 ip=bootp
> ....
> Freeing unused kernel memory: 4k freed
> Algorithmics/MIPS FPU Emulator v1.4
> serial console detected. Disabling virtual terminals.
> init started: BusyBox v0.51 (2001.07.18-06:43+0000) multi-call binary
>
> Please press Enter to activate this console.
> ================
>
> A simple test shows the console is still working, i.e., pressing a key
*does*
> generate an interrupt and ISR *does* read the correct char value.
>
> I really cannot think of anything else that might make busybox stuck here.
> Any clue? Anybody else is using busybox with more recent kernels?
>
> Jun
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: busybox does not like 2.4.8, or the other way around?
2001-09-21 1:21 Jun Sun
2001-09-21 2:02 ` Bradley D. LaRonde
@ 2001-09-21 3:56 ` Ralf Baechle
2001-09-21 5:30 ` Karsten Merker
2 siblings, 0 replies; 10+ messages in thread
From: Ralf Baechle @ 2001-09-21 3:56 UTC (permalink / raw)
To: Jun Sun; +Cc: linux-mips
On Thu, Sep 20, 2001 at 06:21:49PM -0700, Jun Sun wrote:
> I have a small busybox userland that works fine with 2.4.2 kernel, but failed
> with the latest 2.4.8 kernel. The symptom is that it is stuck at the
> following prompt:
There was a change in 2.4.3 which also broke certain gettys that don't
set CLOCAL.
Ralf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: busybox does not like 2.4.8, or the other way around?
2001-09-21 1:21 Jun Sun
2001-09-21 2:02 ` Bradley D. LaRonde
2001-09-21 3:56 ` Ralf Baechle
@ 2001-09-21 5:30 ` Karsten Merker
2 siblings, 0 replies; 10+ messages in thread
From: Karsten Merker @ 2001-09-21 5:30 UTC (permalink / raw)
To: Jun Sun; +Cc: linux-mips
On Thu, Sep 20, 2001 at 06:21:49PM -0700, Jun Sun wrote:
> I have a small busybox userland that works fine with 2.4.2 kernel, but failed
> with the latest 2.4.8 kernel. The symptom is that it is stuck at the
> following prompt:
[busybox waiting for keypress]
> A simple test shows the console is still working, i.e., pressing a key *does*
> generate an interrupt and ISR *does* read the correct char value.
>
> I really cannot think of anything else that might make busybox stuck here.
> Any clue? Anybody else is using busybox with more recent kernels?
I have a smilar problem on my DECstation. Using 2.4.8 with the Debian
boot-floppies (based on busybox), the machine hangs when waiting for
the first keypress after the splash screen.
When booting 2.4.8 with my "normal" installation into single user mode,
I get a shell prompt, but cannot enter anything. I first thought of
a problem with the DECstation keyboard driver, but the same happens
on serial console. I have tested various kernel version with regard
to this - the last one working for me is 2.4.5.
When booting my "normal" installation with 2.4.8 into multiuser mode,
the machine crashes somewhere in the init scripts.
Is your box little or big endian?
Greetings,
Karsten
--
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: busybox does not like 2.4.8, or the other way around?
@ 2001-09-26 15:53 Marc Karasek
2001-09-26 16:47 ` Karsten Merker
2001-09-26 17:26 ` Jun Sun
0 siblings, 2 replies; 10+ messages in thread
From: Marc Karasek @ 2001-09-26 15:53 UTC (permalink / raw)
To: 'Karsten Merker', Jun Sun; +Cc: linux-mips
[-- Attachment #1: Type: text/plain, Size: 1908 bytes --]
Yes, there was a bug in busybox that caused this. I helped track it down a
few months ago and it should be fixed in the latest one. I have attached an
email about the bug. What version(s) of busybox are you using?
-----Original Message-----
From: Karsten Merker [mailto:karsten@excalibur.cologne.de]
Sent: Friday, September 21, 2001 1:30 AM
To: Jun Sun
Cc: linux-mips@oss.sgi.com
Subject: Re: busybox does not like 2.4.8, or the other way around?
On Thu, Sep 20, 2001 at 06:21:49PM -0700, Jun Sun wrote:
> I have a small busybox userland that works fine with 2.4.2 kernel, but
failed
> with the latest 2.4.8 kernel. The symptom is that it is stuck at the
> following prompt:
[busybox waiting for keypress]
> A simple test shows the console is still working, i.e., pressing a key
*does*
> generate an interrupt and ISR *does* read the correct char value.
>
> I really cannot think of anything else that might make busybox stuck here.
> Any clue? Anybody else is using busybox with more recent kernels?
I have a smilar problem on my DECstation. Using 2.4.8 with the Debian
boot-floppies (based on busybox), the machine hangs when waiting for
the first keypress after the splash screen.
When booting 2.4.8 with my "normal" installation into single user mode,
I get a shell prompt, but cannot enter anything. I first thought of
a problem with the DECstation keyboard driver, but the same happens
on serial console. I have tested various kernel version with regard
to this - the last one working for me is 2.4.5.
When booting my "normal" installation with 2.4.8 into multiuser mode,
the machine crashes somewhere in the init scripts.
Is your box little or big endian?
Greetings,
Karsten
--
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der
Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.
[-- Attachment #2: Re: Bug in serial.c --]
[-- Type: message/rfc822, Size: 2020 bytes --]
From: Fabrice Gautier <gautier@email.enst.fr>
To: Marc Karasek <marc_karasek@ivivity.com>
Cc: kanoj@sgi.com
Subject: Re: Bug in serial.c
Date: Sat, 21 Apr 2001 11:54:03 -0400
Message-ID: <20010421173401.DAB9.GAUTIER@email.enst.fr>
Hi Marc and Kanoj
This is definitely a busybox bug for me. Busybox (0.50pre) init didn't
set CREAD in c_cflag:
--- init.c.orig Sat Apr 21 17:46:57 2001
+++ init.c Sat Apr 21 17:46:31 2001
@@ -276,7 +276,7 @@
/* Make it be sane */
tty.c_cflag &= CBAUD|CBAUDEX|CSIZE|CSTOPB|PARENB|PARODD;
- tty.c_cflag |= HUPCL|CLOCAL;
+ tty.c_cflag |= CREAD|HUPCL|CLOCAL;
/* input modes */
tty.c_iflag = ICRNL | IXON | IXOFF;
Guess this is the same problem for other inits.
The sample init code Richard B. Johnson posted on lkml does have CREAD,
that's why he didn't noticed anything.
Thanks,
On Fri, 20 Apr 2001 23:01:50 -0400
Marc Karasek <marc_karasek@ivivity.com> wrote:
> I got in touch with Kanoj (his email was the last one in the comments of
> serial.c)
>
> He recommended I make the below change to serial.c. It worked for me and
I
> got my serial console port back :-)
>
>
> Okay. In change_speed(), comment out the two lines
>
> if ((cflag & CREAD) == 0)
> info->ignore_status_mask |= UART_LSR_DR;
>
> This might get you back up. If you can track back to how the serial
> port needs to be opened, or some extra ioctls need to be made, let
> me know.
>
> Kanoj
>
>
> -----Original Message-----
> From: Fabrice Gautier
> To: marc_karasek@ivivity.com
> Cc: linux-kernel@vger.kernel.org
> Sent: 4/20/01 12:31 PM
> Subject: Re: Bug in serial.c
>
> Same thing for me.
>
> I'm using busybox as init/getty/shell.
>
> Everything works fine with 2.4.2.
> With 2.4.3 console output is fine but not input.
>
> Thanks
>
> --
> Fabrice Gautier <gautier@email.enstfr>
--
Fabrice Gautier <gautier@email.enstfr>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: busybox does not like 2.4.8, or the other way around?
2001-09-26 15:53 busybox does not like 2.4.8, or the other way around? Marc Karasek
@ 2001-09-26 16:47 ` Karsten Merker
2001-09-26 17:26 ` Jun Sun
1 sibling, 0 replies; 10+ messages in thread
From: Karsten Merker @ 2001-09-26 16:47 UTC (permalink / raw)
To: Marc Karasek; +Cc: Jun Sun, linux-mips
On Wed, Sep 26, 2001 at 11:53:39AM -0400, Marc Karasek wrote:
[busybox does not react to a keypress]
> Yes, there was a bug in busybox that caused this. I helped track it down a
> few months ago and it should be fixed in the latest one. I have attached an
> email about the bug. What version(s) of busybox are you using?
busybox 0.60.1-2 (current version from Debian/Sid)
> > I'm using busybox as init/getty/shell.
> >
> > Everything works fine with 2.4.2.
> > With 2.4.3 console output is fine but not input.
Hm, this seems to be another problem - 2.4.3 and 2.4.5 work fine for me,
anything newer than 2.4.5 does not. I suppose we have a kernel problem
after 2.4.5 as kernels newer than 2.4.5 completely crash on a DECstation
sooner or later during bootup.
Greetings,
Karsten
--
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: busybox does not like 2.4.8, or the other way around?
2001-09-26 15:53 busybox does not like 2.4.8, or the other way around? Marc Karasek
2001-09-26 16:47 ` Karsten Merker
@ 2001-09-26 17:26 ` Jun Sun
2001-09-26 21:56 ` Geoffrey Espin
1 sibling, 1 reply; 10+ messages in thread
From: Jun Sun @ 2001-09-26 17:26 UTC (permalink / raw)
To: Marc Karasek; +Cc: 'Karsten Merker', linux-mips
Marc Karasek wrote:
>
> Yes, there was a bug in busybox that caused this. I helped track it down a
> few months ago and it should be fixed in the latest one. I have attached an
> email about the bug. What version(s) of busybox are you using?
>
It is 0.51. Looks like the same busybox bug to me. Time to update busybox.
I'd appreciate if someone has already updated my little busybox ramdisk at
http://linux.junsun.net and send me a copy ...
Jun
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: busybox does not like 2.4.8, or the other way around?
2001-09-26 17:26 ` Jun Sun
@ 2001-09-26 21:56 ` Geoffrey Espin
2001-09-27 17:21 ` Jun Sun
0 siblings, 1 reply; 10+ messages in thread
From: Geoffrey Espin @ 2001-09-26 21:56 UTC (permalink / raw)
To: Jun Sun; +Cc: Marc Karasek, 'Karsten Merker', linux-mips
Jun,
> I'd appreciate if someone has already updated my little busybox ramdisk at
> http://linux.junsun.net and send me a copy ...
I couldn't get yours to work either.
I've put my ramdisk.o (ext2 fs) (you know where it goes :-)) with
busybox 60.1 tested on 2.4.9+SF on Markham/Korva:
http://www.idiom.com/~espin/linux
I'll put my whole userland & ramdisk build scheme up soon...
mostly "souped up" VRLinux scheme with Lineo stuff.
Made with my own "gcc version 3.0 20010422 (prerelease)" as
ftp.mvista.com still down, eh.
BTW, your nec_candy.c driver didn't work for me (MII/PHY probs?)...
my old 2.4.0 candy.c version works. Also, put up for you
consideration are small korva/{prom.c,setup.c} tweaks.
Geoff
--
Geoffrey Espin espin@idiom.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: busybox does not like 2.4.8, or the other way around?
2001-09-26 21:56 ` Geoffrey Espin
@ 2001-09-27 17:21 ` Jun Sun
0 siblings, 0 replies; 10+ messages in thread
From: Jun Sun @ 2001-09-27 17:21 UTC (permalink / raw)
To: Geoffrey Espin; +Cc: Marc Karasek, 'Karsten Merker', linux-mips
Geoffrey Espin wrote:
>
> Jun,
>
> BTW, your nec_candy.c driver didn't work for me (MII/PHY probs?)...
> my old 2.4.0 candy.c version works.
The setup for the driver is changed. Did you add the driver setup code? Look
for arch/mips/korva/candy_setup.c.
> Also, put up for you
> consideration are small korva/{prom.c,setup.c} tweaks.
>
Can you post them in patch format? (use diff -u)
Jun
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-09-27 17:30 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-26 15:53 busybox does not like 2.4.8, or the other way around? Marc Karasek
2001-09-26 16:47 ` Karsten Merker
2001-09-26 17:26 ` Jun Sun
2001-09-26 21:56 ` Geoffrey Espin
2001-09-27 17:21 ` Jun Sun
-- strict thread matches above, loose matches on Subject: below --
2001-09-21 1:21 Jun Sun
2001-09-21 2:02 ` Bradley D. LaRonde
2001-09-21 2:02 ` Bradley D. LaRonde
2001-09-21 3:56 ` Ralf Baechle
2001-09-21 5:30 ` Karsten Merker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox