I installed a fresh copy of ubuntu 8.10 on my Tyan s2881 board and tried to boot with coreboot bios and am facing problems in the IDE driver. I didn't have problem in the previous distro 8.04. The FILO successfully opens the hda1:/boot/grub/menu.lst and displays the GRUB menu. When I select any of the options, I get read error: dev=(NULL), path=/boot/memtest86+.bin read_sector: device not open Couldn't read sector.
But the IDE dev was already open and the menu.lst is read successfully. For filo config, I tried poll delays from 0 - 10. For '0' delay, the drive doesn't get accessed at all.
Here is the log from start of FILO.
elfboot: Attempting to load payload. rom_stream: 0xfffc0000 - 0xfffdffff Found ELF candidate at offset 0 header_offset is 0 Try to load at offset 0x0 New segment addr 0x100000 size 0x39a4d0 offset 0xe0 filesize 0x12d20 (cleaned up) New segment addr 0x100000 size 0x39a4d0 offset 0xe0 filesize 0x12d2 0 New segment addr 0x49a4e0 size 0x48 offset 0x12e00 filesize 0x48 (cleaned up) New segment addr 0x49a4e0 size 0x48 offset 0x12e00 filesize 0x48 Dropping non PT_LOAD segment Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x000000000039a4d0 filesz: 0x00 00000000012d20 Clearing Segment: addr: 0x0000000000112d20 memsz: 0x00000000003877b0 Loading Segment: addr: 0x000000000049a4e0 memsz: 0x0000000000000048 filesz: 0x00 00000000000048 Jumping to boot code at 0x10007c FILO version 0.6.0rc1 (root@pondy) Wed Jan 21 20:22:57 CST 2009 boot eax = 0x2badb002 boot ebx = 0xf0400 boot arg = 0xf0400 ERROR: No such CMOS option (boot_devices) Press <Enter> for default menu.lst (hda1:/boot/grub/menu.lst), or <Esc> for prompt...
menu: hda1:/boot/grub/menu.lst dev=hda1, path=/boot/grub/default init_controller: drive 0 Waiting for ide0 to become ready for reset... ok Resetting ide0... ok Testing for hda Probing for hda LBA mode, sectors=78125000 Init device params... ok hda: LBA 40GB: WDC WD400BB-75DEA0 MASTER CHECK: master yes /* slave */ -- drive is 0Partition 1 start 63 length 74862837 Mounted EXT2 filesystem dev=hda1, path=/boot/grub/menu.lst Partition 1 start 63 length 74862837 Mounted EXT2 filesystem dev=hda1, path=/boot/grub/default init_controller: drive 0 Waiting for ide0 to become ready for reset... ok Resetting ide0... ok Testing for hda Probing for hda LBA mode, sectors=78125000 Init device params... ok hda: LBA 40GB: WDC WD400BB-75DEA0 MASTER CHECK: master yes /* slave */ -- drive is 0 Partition 1 start 63 length 74862837 Mounted EXT2 filesystem dev=hda1, path=/boot/grub/menu.lst Partition 1 start 63 length 74862837 Mounted EXT2 filesystem FILO 0.6.0rc1
=================================== Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, 'a' to modify the kernel arguments before booting, or 'c' for a command-line. ================================ Ubuntu 8.10, kernel 2.6.27-9-generic Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode) Ubuntu 8.10, kernel 2.6.27-7-generic Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode) Ubuntu 8.10, memtest86+ The highlighted entry will be booted automatically in 15 seconds. ............. The highlighted entry will be booted automatically in 1 seconds. Booting 'Ubuntu 8.10, kernel 2.6.27-9-generic' kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=f2fb5830-a8c9-4c22-aa22-2762fcfa0ad9 ro console=ttyS0,115200n8 console=tty0 dev=(NULL), path=/boot/vmlinuz-2.6.27-9-generic read_sector: device not open Couldn't read sector. File not found. Error 15: File not found Press any key to continue... FILO 0.6.0rc1
Booting 'Ubuntu 8.10, memtest86+' kernel /boot/memtest86+.bin dev=(NULL), path=/boot/memtest86+.bin read_sector: device not open Couldn't read sector. File not found.
Baski wrote:
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=f2fb5830-a8c9-4c22-aa22-2762fcfa0ad9 ro console=ttyS0,115200n8 console=tty0
Please change this line in menu.lst to include hda1: before /boot:
kernel hda1:/boot/vmlinuz-2.6.27-9-generic root=UUID=f2fb5830-a8c9-4c22-aa22-2762fcfa0ad9 ro console=ttyS0,115200n8 console=tty0
dev=(NULL), path=/boot/vmlinuz-2.6.27-9-generic
As it stands, FILO does not know which device the kernel is on.
FILO finds menu.lst because the path (and device) for that file was compiled in and still remains in your boot flash.
//Peter