Hello.
I have a GX1+CS5530A+PC97317 board that I would like LinuxBIOS to work (properly) on. I have managed to compile LinuxBIOSv2 for this configuration using FILO as payload and burned the bios flash with it. To my relief it began outputting data to the serial port so it seemed like everything was working. It said it found ram and the hardware and all was fine. After seeing that I have connected a hard drive and tried to boot a kernel. FILO said it finds the file and seemed to load it to memory,but... Once FILO jumped to the kernel no more output was transmitted nor to the com port nor the screen. I have also patched this kernel with a patch by Juergen Beisert juergen@kreuzholzen.de to add support for the CS5530's IRQ router. The kernel I have used has build in support for standard UART, and from using another (same kind) board with this kernel I can guarantee the COM port works.
What is wrong? Why doesn't the kernel boot?
Attached is the output log from the COM port.
Thank you very much EyalC
Eyal Cohen wrote:
FILO version 0.4.2 (eyal@mainmachine) Sun Jul 1 06:26:04 IDT 2007 Press <Enter> for default boot, or <Esc> for boot prompt... timed out boot: hda1:/vmlinuz root=/dev/hda1 console=tty0 console=ttyS0,115200 hda: LBA 40GB: ST340810A Mounted ext2fs Found Linux version 2.6.21.5 (eyal@mainmachine) #5 PREEMPT Thu Jul 5 11:50:44 ID T 2007 bzImage. Loading kernel... ok Jumping to entry point...
It looks like your kernel may not be compiled with serial console support. The best check I know of is to boot the system up with the stock bios, then interrupt grub, edit the kernel options to include "console=tty0 console=ttyS0,115200", and then see what happens on your serial terminal. If that can't be easily done, check your kernel config file, and make sure serial support is compiled in (no modules, unless you want to load an initrd), along with serial console, etc, etc.
Also, make sure you allow the kernel some time to load, it does take a bit. If you're interested in speeding it up, look for Peter Stuge's FILO IDE Speedup patch in the archives, which is for filo-0.5 (which can be grabbed with svn co svn://openbios.org/filo/trunk/filo-0.5)
hope this helps -Corey
two other things. First, you can interrupt file with ESC and pass in those console args by hand. Second, earlyprintk is a lifesaver.
earlyprint=ttyS0,115200,keep
VERY handy.
ron
Doesn't help. Output:
--------------------- FILO version 0.4.2 (eyal@mainmachine) Sun Jul 1 06:26:04 IDT 2007 Press <Enter> for default boot, or <Esc> for boot prompt... boot: hda1:/vmlinuz console=ttyS0,115200 earlyprint=ttyS0,115200,keep irqpoll hda: LBA 40GB: ST340810A Mounted ext2fs Found Linux version 2.6.21.5 (eyal@mainmachine) #5 PREEMPT Thu Jul 5 11:50:44 I. Loading kernel... ok Jumping to entry point... ---------------------
Same goes without the irqpoll
On Sat, 2007-08-04 at 10:33 -0700, ron minnich wrote:
two other things. First, you can interrupt file with ESC and pass in those console args by hand. Second, earlyprintk is a lifesaver.
earlyprint=ttyS0,115200,keep
VERY handy.
ron
On 8/4/07, Eyal Cohen eyal@cohenim.net wrote:
Doesn't help. Output:
FILO version 0.4.2 (eyal@mainmachine) Sun Jul 1 06:26:04 IDT 2007 Press <Enter> for default boot, or <Esc> for boot prompt... boot: hda1:/vmlinuz console=ttyS0,115200 earlyprint=ttyS0,115200,keep
that's supposed to be earlyprintk not earlyprint
does that help?
ron
Using the original BIOS and the same kernel with "console=ttyS0,115200" works.
On Sat, 2007-08-04 at 04:40 -0400, Corey Osgood wrote:
Eyal Cohen wrote:
FILO version 0.4.2 (eyal@mainmachine) Sun Jul 1 06:26:04 IDT 2007 Press <Enter> for default boot, or <Esc> for boot prompt... timed out boot: hda1:/vmlinuz root=/dev/hda1 console=tty0 console=ttyS0,115200 hda: LBA 40GB: ST340810A Mounted ext2fs Found Linux version 2.6.21.5 (eyal@mainmachine) #5 PREEMPT Thu Jul 5 11:50:44 ID T 2007 bzImage. Loading kernel... ok Jumping to entry point...
It looks like your kernel may not be compiled with serial console support. The best check I know of is to boot the system up with the stock bios, then interrupt grub, edit the kernel options to include "console=tty0 console=ttyS0,115200", and then see what happens on your serial terminal. If that can't be easily done, check your kernel config file, and make sure serial support is compiled in (no modules, unless you want to load an initrd), along with serial console, etc, etc.
Also, make sure you allow the kernel some time to load, it does take a bit. If you're interested in speeding it up, look for Peter Stuge's FILO IDE Speedup patch in the archives, which is for filo-0.5 (which can be grabbed with svn co svn://openbios.org/filo/trunk/filo-0.5)
hope this helps -Corey
I have resolved the issue by using FILO 0.5 instead of 0.4.2. Thank you all.
On Sun, 2007-08-05 at 03:35 +0300, Eyal Cohen wrote:
Using the original BIOS and the same kernel with "console=ttyS0,115200" works.
On Sat, 2007-08-04 at 04:40 -0400, Corey Osgood wrote:
Eyal Cohen wrote:
FILO version 0.4.2 (eyal@mainmachine) Sun Jul 1 06:26:04 IDT 2007 Press <Enter> for default boot, or <Esc> for boot prompt... timed out boot: hda1:/vmlinuz root=/dev/hda1 console=tty0 console=ttyS0,115200 hda: LBA 40GB: ST340810A Mounted ext2fs Found Linux version 2.6.21.5 (eyal@mainmachine) #5 PREEMPT Thu Jul 5 11:50:44 ID T 2007 bzImage. Loading kernel... ok Jumping to entry point...
It looks like your kernel may not be compiled with serial console support. The best check I know of is to boot the system up with the stock bios, then interrupt grub, edit the kernel options to include "console=tty0 console=ttyS0,115200", and then see what happens on your serial terminal. If that can't be easily done, check your kernel config file, and make sure serial support is compiled in (no modules, unless you want to load an initrd), along with serial console, etc, etc.
Also, make sure you allow the kernel some time to load, it does take a bit. If you're interested in speeding it up, look for Peter Stuge's FILO IDE Speedup patch in the archives, which is for filo-0.5 (which can be grabbed with svn co svn://openbios.org/filo/trunk/filo-0.5)
hope this helps -Corey
Eyal Cohen wrote:
I have resolved the issue by using FILO 0.5 instead of 0.4.2. Thank you all.
Good to hear! Thought that might help, but I wasn't sure. And sorry about my previous email, after reading about Jurgen's patch my mind wandered, and I went straight to the log.
-Corey
On Sun, 2007-08-05 at 03:35 +0300, Eyal Cohen wrote:
Using the original BIOS and the same kernel with "console=ttyS0,115200" works.
On Sat, 2007-08-04 at 04:40 -0400, Corey Osgood wrote:
Eyal Cohen wrote:
FILO version 0.4.2 (eyal@mainmachine) Sun Jul 1 06:26:04 IDT 2007 Press <Enter> for default boot, or <Esc> for boot prompt... timed out boot: hda1:/vmlinuz root=/dev/hda1 console=tty0 console=ttyS0,115200 hda: LBA 40GB: ST340810A Mounted ext2fs Found Linux version 2.6.21.5 (eyal@mainmachine) #5 PREEMPT Thu Jul 5 11:50:44 ID T 2007 bzImage. Loading kernel... ok Jumping to entry point...
It looks like your kernel may not be compiled with serial console support. The best check I know of is to boot the system up with the stock bios, then interrupt grub, edit the kernel options to include "console=tty0 console=ttyS0,115200", and then see what happens on your serial terminal. If that can't be easily done, check your kernel config file, and make sure serial support is compiled in (no modules, unless you want to load an initrd), along with serial console, etc, etc.
Also, make sure you allow the kernel some time to load, it does take a bit. If you're interested in speeding it up, look for Peter Stuge's FILO IDE Speedup patch in the archives, which is for filo-0.5 (which can be grabbed with svn co svn://openbios.org/filo/trunk/filo-0.5)
hope this helps -Corey