public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION] 2.6.24-rc1 fails to boot on a 486
@ 2007-10-29  0:05 Mikael Pettersson
  2007-10-29  4:33 ` H. Peter Anvin
  2007-10-29  4:34 ` H. Peter Anvin
  0 siblings, 2 replies; 11+ messages in thread
From: Mikael Pettersson @ 2007-10-29  0:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: hpa, mingo, tglx

My old 486 fails to boot with the 2.6.24-rc1 kernel.
Grub loads it, 4 lines of text appear but not the kernel's
"Linux version <blah> greet", and the machine reboots.
Double-checked with a serial console: nothing appears
before it reboots.

All 2.6 kernels up to 2.6.23 worked fine on this machine.

Config is at http://user.it.uu.se/~mikpe/linux/tmp/486-config-2.6.24-rc1.
The kernel is unpatched 2.6.24-rc1 compiled with gcc-4.2.2.

/Mikael

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [REGRESSION] 2.6.24-rc1 fails to boot on a 486
  2007-10-29  0:05 [REGRESSION] 2.6.24-rc1 fails to boot on a 486 Mikael Pettersson
@ 2007-10-29  4:33 ` H. Peter Anvin
  2007-10-29  4:34 ` H. Peter Anvin
  1 sibling, 0 replies; 11+ messages in thread
From: H. Peter Anvin @ 2007-10-29  4:33 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: linux-kernel, mingo, tglx

Mikael Pettersson wrote:
> My old 486 fails to boot with the 2.6.24-rc1 kernel.
> Grub loads it, 4 lines of text appear but not the kernel's
> "Linux version <blah> greet", and the machine reboots.
> Double-checked with a serial console: nothing appears
> before it reboots.

What four lines of text?

	-hpa

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [REGRESSION] 2.6.24-rc1 fails to boot on a 486
  2007-10-29  0:05 [REGRESSION] 2.6.24-rc1 fails to boot on a 486 Mikael Pettersson
  2007-10-29  4:33 ` H. Peter Anvin
@ 2007-10-29  4:34 ` H. Peter Anvin
  1 sibling, 0 replies; 11+ messages in thread
From: H. Peter Anvin @ 2007-10-29  4:34 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: linux-kernel, mingo, tglx

Mikael Pettersson wrote:
> My old 486 fails to boot with the 2.6.24-rc1 kernel.
> Grub loads it, 4 lines of text appear but not the kernel's
> "Linux version <blah> greet", and the machine reboots.
> Double-checked with a serial console: nothing appears
> before it reboots.
> 
> All 2.6 kernels up to 2.6.23 worked fine on this machine.
> 
> Config is at http://user.it.uu.se/~mikpe/linux/tmp/486-config-2.6.24-rc1.
> The kernel is unpatched 2.6.24-rc1 compiled with gcc-4.2.2.
> 

Any chance you could bisect this problem?

	-hpa

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [REGRESSION] 2.6.24-rc1 fails to boot on a 486
@ 2007-10-29  6:28 Mikael Pettersson
  2007-10-29 11:37 ` Ingo Molnar
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Mikael Pettersson @ 2007-10-29  6:28 UTC (permalink / raw)
  To: hpa, mikpe; +Cc: linux-kernel, mingo, tglx

On Sun, 28 Oct 2007 21:33:02 -0700, H. Peter Anvin wrote:
> Mikael Pettersson wrote:
> > My old 486 fails to boot with the 2.6.24-rc1 kernel.
> > Grub loads it, 4 lines of text appear but not the kernel's
> > "Linux version <blah> greet", and the machine reboots.
> > Double-checked with a serial console: nothing appears
> > before it reboots.
> 
> What four lines of text?

They're impossible to capture because they're only visible
on the VGA screen for like 0.2 seconds before the machine
reboots and the screen is blanked; they don't show up on
the serial console.

They look like paths to the vmlinuz and initrd surrounded
by [ ] brackets, so I guess they come from grub.

/Mikael

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [REGRESSION] 2.6.24-rc1 fails to boot on a 486
@ 2007-10-29  6:31 Mikael Pettersson
  0 siblings, 0 replies; 11+ messages in thread
From: Mikael Pettersson @ 2007-10-29  6:31 UTC (permalink / raw)
  To: hpa, mikpe; +Cc: linux-kernel, mingo, tglx

On Sun, 28 Oct 2007 21:34:58 -0700, H. Peter Anvin wrote:
> Mikael Pettersson wrote:
> > My old 486 fails to boot with the 2.6.24-rc1 kernel.
> > Grub loads it, 4 lines of text appear but not the kernel's
> > "Linux version <blah> greet", and the machine reboots.
> > Double-checked with a serial console: nothing appears
> > before it reboots.
> > 
> > All 2.6 kernels up to 2.6.23 worked fine on this machine.
> > 
> > Config is at http://user.it.uu.se/~mikpe/linux/tmp/486-config-2.6.24-rc1.
> > The kernel is unpatched 2.6.24-rc1 compiled with gcc-4.2.2.
> > 
> 
> Any chance you could bisect this problem?

I can try, but it will have to wait until next weekend.

/Mikael

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [REGRESSION] 2.6.24-rc1 fails to boot on a 486
  2007-10-29  6:28 Mikael Pettersson
@ 2007-10-29 11:37 ` Ingo Molnar
  2007-10-29 12:42 ` Gabriel C
  2007-10-29 13:47 ` Thomas Gleixner
  2 siblings, 0 replies; 11+ messages in thread
From: Ingo Molnar @ 2007-10-29 11:37 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: hpa, linux-kernel, mingo, tglx


* Mikael Pettersson <mikpe@it.uu.se> wrote:

> On Sun, 28 Oct 2007 21:33:02 -0700, H. Peter Anvin wrote:
> > Mikael Pettersson wrote:
> > > My old 486 fails to boot with the 2.6.24-rc1 kernel.
> > > Grub loads it, 4 lines of text appear but not the kernel's
> > > "Linux version <blah> greet", and the machine reboots.
> > > Double-checked with a serial console: nothing appears
> > > before it reboots.
> > 
> > What four lines of text?
> 
> They're impossible to capture because they're only visible on the VGA 
> screen for like 0.2 seconds before the machine reboots and the screen 
> is blanked; they don't show up on the serial console.

the way i debug these is to take a digital camera and make a movie of 
the bootup, then check the movie frame for frame.

admittedly it's a pretty sick method.

	Ingo

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [REGRESSION] 2.6.24-rc1 fails to boot on a 486
  2007-10-29  6:28 Mikael Pettersson
  2007-10-29 11:37 ` Ingo Molnar
@ 2007-10-29 12:42 ` Gabriel C
  2007-10-29 13:47 ` Thomas Gleixner
  2 siblings, 0 replies; 11+ messages in thread
From: Gabriel C @ 2007-10-29 12:42 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: hpa, linux-kernel, mingo, tglx

Mikael Pettersson wrote:
> On Sun, 28 Oct 2007 21:33:02 -0700, H. Peter Anvin wrote:
>> Mikael Pettersson wrote:
>>> My old 486 fails to boot with the 2.6.24-rc1 kernel.
>>> Grub loads it, 4 lines of text appear but not the kernel's
>>> "Linux version <blah> greet", and the machine reboots.
>>> Double-checked with a serial console: nothing appears
>>> before it reboots.
>> What four lines of text?
> 
> They're impossible to capture because they're only visible
> on the VGA screen for like 0.2 seconds before the machine
> reboots and the screen is blanked; they don't show up on
> the serial console.

Maybe try to set CONFIG_BOOT_PRINTK_DELAY and boot with boot_delay=N ?

> 
> They look like paths to the vmlinuz and initrd surrounded
> by [ ] brackets, so I guess they come from grub.
> 
> /Mikael


Regards,

Gabriel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [REGRESSION] 2.6.24-rc1 fails to boot on a 486
  2007-10-29  6:28 Mikael Pettersson
  2007-10-29 11:37 ` Ingo Molnar
  2007-10-29 12:42 ` Gabriel C
@ 2007-10-29 13:47 ` Thomas Gleixner
  2007-10-29 15:57   ` H. Peter Anvin
  2 siblings, 1 reply; 11+ messages in thread
From: Thomas Gleixner @ 2007-10-29 13:47 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: hpa, linux-kernel, mingo

On Mon, 29 Oct 2007, Mikael Pettersson wrote:

> On Sun, 28 Oct 2007 21:33:02 -0700, H. Peter Anvin wrote:
> > Mikael Pettersson wrote:
> > > My old 486 fails to boot with the 2.6.24-rc1 kernel.
> > > Grub loads it, 4 lines of text appear but not the kernel's
> > > "Linux version <blah> greet", and the machine reboots.
> > > Double-checked with a serial console: nothing appears
> > > before it reboots.
> > 
> > What four lines of text?
> 
> They're impossible to capture because they're only visible
> on the VGA screen for like 0.2 seconds before the machine
> reboots and the screen is blanked; they don't show up on
> the serial console.
> 
> They look like paths to the vmlinuz and initrd surrounded
> by [ ] brackets, so I guess they come from grub.

Any chance to use serial console ?

Enable CONFIG_EARLY_PRINTK and add
 
earlyprintk=serial,ttyS0,115200,keep

to the kernel command line.

Can you please provide your .config file ?

I tested on my i386 box and Linus latest git boots fine:
# uname -a
Linux museum386 2.6.24-rc1-2a397e82 #1 PREEMPT Mon Oct 29 13:39:29 CET 2007 i386 unknown
# cat /proc/cpuinfo
processor       : 0
vendor_id       : unknown
cpu family      : 3
model           : 0
model name      : 386
stepping        : unknown
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : no
fpu_exception   : no
cpuid level     : -1
wp              : no
flags           :
bogomips        : 6.93
clflush size    : 32

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [REGRESSION] 2.6.24-rc1 fails to boot on a 486
  2007-10-29 13:47 ` Thomas Gleixner
@ 2007-10-29 15:57   ` H. Peter Anvin
  2007-10-29 16:13     ` Thomas Gleixner
  0 siblings, 1 reply; 11+ messages in thread
From: H. Peter Anvin @ 2007-10-29 15:57 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Mikael Pettersson, linux-kernel, mingo

Thomas Gleixner wrote:
>>
>> They look like paths to the vmlinuz and initrd surrounded
>> by [ ] brackets, so I guess they come from grub.
> 
> Any chance to use serial console ?
> 
> Enable CONFIG_EARLY_PRINTK and add
>  
> earlyprintk=serial,ttyS0,115200,keep
> 
> to the kernel command line.
> 
> Can you please provide your .config file ?
> 

I doubt he's getting far enough that he's actually getting early printk. 
  I could be wrong, of course.

> I tested on my i386 box and Linus latest git boots fine:
> # uname -a
> Linux museum386 2.6.24-rc1-2a397e82 #1 PREEMPT Mon Oct 29 13:39:29 CET 2007 i386 unknown
> # cat /proc/cpuinfo
> clflush size    : 32

Hm.  This probably shouldn't be displayed when clflush isn't available...

	-hpa

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [REGRESSION] 2.6.24-rc1 fails to boot on a 486
  2007-10-29 15:57   ` H. Peter Anvin
@ 2007-10-29 16:13     ` Thomas Gleixner
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Gleixner @ 2007-10-29 16:13 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Mikael Pettersson, linux-kernel, mingo

On Mon, 29 Oct 2007, H. Peter Anvin wrote:
> Thomas Gleixner wrote:
> > > 
> > > They look like paths to the vmlinuz and initrd surrounded
> > > by [ ] brackets, so I guess they come from grub.
> > 
> > Any chance to use serial console ?
> > 
> > Enable CONFIG_EARLY_PRINTK and add
> >  earlyprintk=serial,ttyS0,115200,keep
> > 
> > to the kernel command line.
> > 
> > Can you please provide your .config file ?
> > 
> 
> I doubt he's getting far enough that he's actually getting early printk.  I
> could be wrong, of course.
> 
> > I tested on my i386 box and Linus latest git boots fine:
> > # uname -a
> > Linux museum386 2.6.24-rc1-2a397e82 #1 PREEMPT Mon Oct 29 13:39:29 CET 2007
> > i386 unknown
> > # cat /proc/cpuinfo
> > clflush size    : 32
> 
> Hm.  This probably shouldn't be displayed when clflush isn't available...

Yup, I noticed as well :)

     tglx

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [REGRESSION] 2.6.24-rc1 fails to boot on a 486
@ 2007-10-30 14:07 Mikael Pettersson
  0 siblings, 0 replies; 11+ messages in thread
From: Mikael Pettersson @ 2007-10-30 14:07 UTC (permalink / raw)
  To: mikpe, tglx; +Cc: hpa, linux-kernel, mingo

On Mon, 29 Oct 2007 14:47:49 +0100 (CET), Thomas Gleixner wrote:
> On Mon, 29 Oct 2007, Mikael Pettersson wrote:
> 
> > On Sun, 28 Oct 2007 21:33:02 -0700, H. Peter Anvin wrote:
> > > Mikael Pettersson wrote:
> > > > My old 486 fails to boot with the 2.6.24-rc1 kernel.
> > > > Grub loads it, 4 lines of text appear but not the kernel's
> > > > "Linux version <blah> greet", and the machine reboots.
> > > > Double-checked with a serial console: nothing appears
> > > > before it reboots.
> > > 
> > > What four lines of text?
> > 
> > They're impossible to capture because they're only visible
> > on the VGA screen for like 0.2 seconds before the machine
> > reboots and the screen is blanked; they don't show up on
> > the serial console.
> > 
> > They look like paths to the vmlinuz and initrd surrounded
> > by [ ] brackets, so I guess they come from grub.
> 
> Any chance to use serial console ?
> 
> Enable CONFIG_EARLY_PRINTK and add
>  
> earlyprintk=serial,ttyS0,115200,keep
> 
> to the kernel command line.

As I mentioned in my first message, I did hook up
a serial console except I used the console=ttyS0,115200
boot parameter, but the kernel rebooted before any
output appeared. I can try the earlyprintk= version
above next time I'm near the 486 if you think it will
make any difference.

> Can you please provide your .config file ?

I posted a link to it in my first message:

>Config is at http://user.it.uu.se/~mikpe/linux/tmp/486-config-2.6.24-rc1.
>The kernel is unpatched 2.6.24-rc1 compiled with gcc-4.2.2.

/Mikael

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-10-30 14:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29  0:05 [REGRESSION] 2.6.24-rc1 fails to boot on a 486 Mikael Pettersson
2007-10-29  4:33 ` H. Peter Anvin
2007-10-29  4:34 ` H. Peter Anvin
  -- strict thread matches above, loose matches on Subject: below --
2007-10-29  6:28 Mikael Pettersson
2007-10-29 11:37 ` Ingo Molnar
2007-10-29 12:42 ` Gabriel C
2007-10-29 13:47 ` Thomas Gleixner
2007-10-29 15:57   ` H. Peter Anvin
2007-10-29 16:13     ` Thomas Gleixner
2007-10-29  6:31 Mikael Pettersson
2007-10-30 14:07 Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox