Skip to contentSkip to conversation

2.6.24-rc1 fails to boot on a 486

REGRESSION Mikael Pettersson 5 participants 6 messages Oct 29, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · H. Peter Anvin
Quoted 5 lines · Mikael Pettersson

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

#1 lore raw
Quoted 8 lines · Mikael Pettersson
Quoted 7 lines · H. Peter Anvin
Quoted 5 lines · Mikael Pettersson

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.

Quoted 5 lines
Quoted 1 line

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

#2 lore raw
In reply to Mikael Pettersson
Quoted 7 lines · Mikael Pettersson
Quoted 6 lines · H. Peter Anvin
Quoted 5 lines · Mikael Pettersson

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.

Quoted 6 lines
Quoted 1 line

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 ?

Quoted 5 lines

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

/Mikael

Regards,

Gabriel

#3 lore raw
In reply to Mikael Pettersson
Quoted 10 lines · Mikael Pettersson
Quoted 8 lines · H. Peter Anvin
Quoted 5 lines · Mikael Pettersson

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?

Quoted 7 lines

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

#4 lore raw
Quoted 6 lines · Thomas Gleixner
Quoted 3 lines

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 ?

Quoted 8 lines

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.

Quoted 5 lines

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

#5 lore raw
Quoted 18 lines · H. Peter Anvin
Quoted 4 lines · Thomas Gleixner
Quoted 3 lines

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

Quoted 9 lines

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.

Quoted 8 lines
Quoted 6 lines

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