Hi
I'm having a small problem getting Linuxbios to run on an epia 5000.
Everything appears to work fine, and I can load my payload of either
Etherboot or Filo, but once it gets to actually booting my kernel, the
output on the serial console stops at :
Jumping to entry point...
Is this a problem with my kernel ( the same kernel boots fine with the
standard epia bios ) ? I've tried booting both a standard kernel and an
elf image of the kernel, with the same outcome. The full output from
Linuxbios is below, I hope someone can help with this problem. Thanks in
advance
Matt
LinuxBIOS-1.0.0 Mon Mar 15 12:50:20 GMT 2004 starting...
Enabled first bank of RAM: 0x04000000 bytes
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
LinuxBIOS-1.0.0 Mon Mar 15 12:50:20 GMT 2004 booting...
Finding PCI configuration type.
PCI: Using configuration type 1
Scanning PCI bus...PCI: pci_scan_bus for bus 0
PCI: 00:00.0 [1106/0601]
PCI: 00:01.0 [1106/8601]
PCI: 00:11.0 [1106/8231]
PCI: 00:11.1 [1106/0571]
PCI: 00:11.2 [1106/3038]
PCI: 00:11.3 [1106/3038]
PCI: 00:11.4 [1106/8235]
PCI: 00:11.5 [1106/3058]
PCI: 00:11.6 [1106/3068]
PCI: 00:12.0 [1106/3065]
PCI: pci_scan_bus for bus 1
PCI: pci_scan_bus returning with max=01
PCI: pci_scan_bus returning with max=01
done
Allocating PCI resources...
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
ASSIGN RESOURCES, bus 0
PCI: 00:01.0 1c <- [0x00001000 - 0x00000fff] bus 1 io
PCI: 00:01.0 24 <- [0xfeb00000 - 0xfeafffff] bus 1 prefmem
PCI: 00:01.0 20 <- [0xfeb00000 - 0xfeafffff] bus 1 mem
PCI: 00:11.1 20 <- [0x00001c40 - 0x00001c4f] io
PCI: 00:11.2 20 <- [0x00001c00 - 0x00001c1f] io
PCI: 00:11.3 20 <- [0x00001c20 - 0x00001c3f] io
PCI: 00:11.5 10 <- [0x00001000 - 0x000010ff] io
PCI: 00:11.5 14 <- [0x00001c50 - 0x00001c53] io
PCI: 00:11.5 18 <- [0x00001c60 - 0x00001c63] io
PCI: 00:11.6 10 <- [0x00001400 - 0x000014ff] io
PCI: 00:12.0 10 <- [0x00001800 - 0x000018ff] io
PCI: 00:12.0 14 <- [0xfeb00000 - 0xfeb000ff] mem
ASSIGNED RESOURCES, bus 0
done.
Enabling PCI resourcess...PCI: 00:00.0 cmd <- 06
PCI: 00:01.0 cmd <- 07
PCI: 00:11.0 cmd <- 87
PCI: 00:11.1 cmd <- 81
PCI: 00:11.2 cmd <- 01
PCI: 00:11.3 cmd <- 01
PCI: 00:11.4 cmd <- 00
PCI: 00:11.5 cmd <- 01
PCI: 00:11.6 cmd <- 01
PCI: 00:12.0 cmd <- 83
done.
Initializing PCI devices...
PCI devices initialized
Disable Cache
Bank2 64MB (MA type 0x8)
bank 4 MA 0x0: 0 bytes
bank 4 MA 0x8: 0 bytes
bank 4 MA 0xe: 0 bytes
Enable Cache
Total 64MB + frame buffer 0MB
Enabling shadow DRAM at 0xC0000-0xFFFFF: done
totalram: 64M
Initializing CPU #0
Enabling cache...
Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) type: WB
Setting fixed MTRRs(24-88) type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base: 0MB, range: 64MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's
call intel_enable_fixed_mtrr()
call intel_enable_var_mtrr()
Leave setup_mtrrs
done.
Max cpuid index : 1
Vendor ID : CentaurHauls
Processor Type : 0x00
Processor Family : 0x06
Processor Model : 0x07
Processor Mask : 0x00
Processor Stepping : 0x03
Feature flags : 0x00803035
MTRR check
Fixed MTRRs : Enabled
Variable MTRRs: Enabled
Disabling local apic...done.
CPU #0 Initialized
Mainboard fixup
IDE enable in reg. 50 is 0x7
set IDE reg. 50 to 0x7
IRQs in reg. 4c are 0x4
setting reg. 4c to 0x4
enables in reg 0x40 0x8
enables in reg 0x40 read back as 0xb
enables in reg 0x9 0x8f
enables in reg 0x9 read back as 0x8a
command in reg 0x4 0x81
command in reg 0x4 reads back as 0x7
Ethernet fixup
Configuring VIA LAN
0
LinuxBIOS-1.0.0 Mon Mar 15 12:58:49 GMT 2004 starting...
Enabled first bank of RAM: 0x04000000 bytes
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
LinuxBIOS-1.0.0 Mon Mar 15 12:58:49 GMT 2004 booting...
Finding PCI configuration type.
PCI: Using configuration type 1
Scanning PCI bus...PCI: pci_scan_bus for bus 0
PCI: 00:00.0 [1106/0601]
PCI: 00:01.0 [1106/8601]
PCI: 00:11.0 [1106/8231]
PCI: 00:11.1 [1106/0571]
PCI: 00:11.2 [1106/3038]
PCI: 00:11.3 [1106/3038]
PCI: 00:11.4 [1106/8235]
PCI: 00:11.5 [1106/3058]
PCI: 00:11.6 [1106/3068]
PCI: 00:12.0 [1106/3065]
PCI: pci_scan_bus for bus 1
PCI: pci_scan_bus returning with max=01
PCI: pci_scan_bus returning with max=01
done
Allocating PCI resources...
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
ASSIGN RESOURCES, bus 0
PCI: 00:01.0 1c <- [0x00001000 - 0x00000fff] bus 1 io
PCI: 00:01.0 24 <- [0xfeb00000 - 0xfeafffff] bus 1 prefmem
PCI: 00:01.0 20 <- [0xfeb00000 - 0xfeafffff] bus 1 mem
PCI: 00:11.1 20 <- [0x00001c40 - 0x00001c4f] io
PCI: 00:11.2 20 <- [0x00001c00 - 0x00001c1f] io
PCI: 00:11.3 20 <- [0x00001c20 - 0x00001c3f] io
PCI: 00:11.5 10 <- [0x00001000 - 0x000010ff] io
PCI: 00:11.5 14 <- [0x00001c50 - 0x00001c53] io
PCI: 00:11.5 18 <- [0x00001c60 - 0x00001c63] io
PCI: 00:11.6 10 <- [0x00001400 - 0x000014ff] io
PCI: 00:12.0 10 <- [0x00001800 - 0x000018ff] io
PCI: 00:12.0 14 <- [0xfeb00000 - 0xfeb000ff] mem
ASSIGNED RESOURCES, bus 0
done.
Enabling PCI resourcess...PCI: 00:00.0 cmd <- 06
PCI: 00:01.0 cmd <- 07
PCI: 00:11.0 cmd <- 87
PCI: 00:11.1 cmd <- 81
PCI: 00:11.2 cmd <- 01
PCI: 00:11.3 cmd <- 01
PCI: 00:11.4 cmd <- 00
PCI: 00:11.5 cmd <- 01
PCI: 00:11.6 cmd <- 01
PCI: 00:12.0 cmd <- 83
done.
Initializing PCI devices...
PCI devices initialized
Disable Cache
Bank2 64MB (MA type 0x8)
bank 4 MA 0x0: 0 bytes
bank 4 MA 0x8: 0 bytes
bank 4 MA 0xe: 0 bytes
Enable Cache
Total 64MB + frame buffer 0MB
Enabling shadow DRAM at 0xC0000-0xFFFFF: done
totalram: 64M
Initializing CPU #0
Enabling cache...
Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) type: WB
Setting fixed MTRRs(24-88) type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base: 0MB, range: 64MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's
call intel_enable_fixed_mtrr()
call intel_enable_var_mtrr()
Leave setup_mtrrs
done.
Max cpuid index : 1
Vendor ID : CentaurHauls
Processor Type : 0x00
Processor Family : 0x06
Processor Model : 0x07
Processor Mask : 0x00
Processor Stepping : 0x03
Feature flags : 0x00803035
MTRR check
Fixed MTRRs : Enabled
Variable MTRRs: Enabled
Disabling local apic...done.
CPU #0 Initialized
Mainboard fixup
IDE enable in reg. 50 is 0x7
set IDE reg. 50 to 0x7
IRQs in reg. 4c are 0x4
setting reg. 4c to 0x4
enables in reg 0x40 0x8
enables in reg 0x40 read back as 0xb
enables in reg 0x9 0x8f
enables in reg 0x9 read back as 0x8a
command in reg 0x4 0x81
command in reg 0x4 reads back as 0x7
Ethernet fixup
Configuring VIA LAN
RTC Init
RTC: Checksum invalid zeroing cmos
Invalid CMOS LB checksum
Final mainboard fixup
Southbridge fixup
IDE enable in reg. 50 is 0x7
set IDE reg. 50 to 0x7
IRQs in reg. 4c are 0x4
setting reg. 4c to 0x4
enables in reg 0x40 0xb
enables in reg 0x40 read back as 0xb
enables in reg 0x9 0x8a
enables in reg 0x9 read back as 0x8a
command in reg 0x4 0x7
command in reg 0x4 reads back as 0x7
Ethernet fixup
Configuring VIA LAN
RTC Init
Invalid CMOS LB checksum
setting southbridge
Assigning IRQ 12 to 0:11.2
Readback = 12
Assigning IRQ 12 to 0:11.3
Readback = 12
Assigning IRQ 10 to 0:11.5
Readback = 10
Assigning IRQ 10 to 0:11.6
Readback = 10
setting ethernet
Assigning IRQ 11 to 0:12.0
Readback = 11
setting pci slot
Checking IRQ routing tables...
/home/matt/freebios/src/arch/i386/lib/pirq_routing.c:
30:check_pirq_routing_table() - irq_routing_table located at: 0x00009a20
done.
Copying IRQ routing tables to 0xf0000...done.
Verifing priq routing tables copy at 0xf0000...succeed
Wrote linuxbios table at: 00000500 - 000006a0 checksum 7bb5
Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
Version 1.2
37:init_bytes() - zkernel_start:0xfff00000 zkernel_mask:0x0000ffff
Found ELF candiate at offset 0
New segment addr 0x100000 size 0x25f20 offset 0xc0 filesize 0xbea8
(cleaned up) New segment addr 0x100000 size 0x25f20 offset 0xc0 filesize
0xbea8
New segment addr 0x125f20 size 0x48 offset 0xbf80 filesize 0x48
(cleaned up) New segment addr 0x125f20 size 0x48 offset 0xbf80 filesize
0x48
Dropping non PT_LOAD segment
Dropping non PT_LOAD segment
Loading Segment: addr: 0x0000000000100000 memsz: 0x0000000000025f20
filesz: 0x000000000000bea8
Clearing Segment: addr: 0x000000000010bea8 memsz: 0x000000000001a078
Loading Segment: addr: 0x0000000000125f20 memsz: 0x0000000000000048
filesz: 0x0000000000000048
Jumping to boot code at 0x1088dc
FILO version 0.4.1 (root(a)fedora.rolec.ltd.uk) Mon Mar 15 12:57:54 GMT
2004
collect_sys_info: boot eax = 0xe1fb007
collect_sys_info: boot ebx = 0x3fb9df4
collect_sys_info: boot arg = 0x3fb9df4
malloc_diag: alloc: 0 bytes (0 blocks), free: 16376 bytes (1 blocks)
malloc_diag: alloc: 24 bytes (1 blocks), free: 16352 bytes (1 blocks)
collect_elfboot_info: Bootloader: elfboot
collect_elfboot_info: Version: 1.2
malloc_diag: alloc: 40 bytes (2 blocks), free: 16336 bytes (1 blocks)
collect_linuxbios_info: Searching for LinuxBIOS tables...
find_lb_table: Found canidate at: 00000500
find_lb_table: header checksum o.k.
find_lb_table: table checksum o.k.
find_lb_table: record count o.k.
collect_linuxbios_info: Found LinuxBIOS table at: 00000500
malloc_diag: alloc: 128 bytes (3 blocks), free: 16248 bytes (1 blocks)
convert_memmap: 0x00000000000000 0x00000000000700 16
convert_memmap: 0x00000000000700 0x0000000009f900 1
convert_memmap: 0x000000000c0000 0x00000000030000 1
convert_memmap: 0x000000000f0000 0x00000000000400 16
convert_memmap: 0x000000000f0400 0x00000003f0fc00 1
collect_sys_info: 0000000000000700-00000000000a0000
collect_sys_info: 00000000000c0000-00000000000f0000
collect_sys_info: 00000000000f0400-0000000004000000
collect_sys_info: RAM 64 MB
relocate: Current location: 0x100000-0x125f67
relocate: Relocating to 0x3fda090-0x3fffff7... ok
setup_timers: CPU 533 MHz
pci_init: Scanning PCI: found 10 devices
malloc_diag: alloc: 256 bytes (4 blocks), free: 16120 bytes (1 blocks)
pci_init: 00:00.0 1106:0601 0600 00
pci_init: 00:01.0 1106:8601 0604 00
pci_init: 00:11.0 1106:8231 0601 00
pci_init: 00:11.1 1106:0571 0101 8a
pci_init: 00:11.2 1106:3038 0c03 00
pci_init: 00:11.3 1106:3038 0c03 00
pci_init: 00:11.4 1106:8235 0000 00
pci_init: 00:11.5 1106:3058 0401 00
pci_init: 00:11.6 1106:3068 0780 00
pci_init: 00:12.0 1106:3065 0200 00
Press <Enter> for default boot, or <Esc> for boot prompt... timed out
boot: hda1:/boot/rolecsplash console=tty0 console=ttyS0,115200
malloc_diag: alloc: 328 bytes (5 blocks), free: 16048 bytes (1 blocks)
malloc_diag: alloc: 344 bytes (6 blocks), free: 16032 bytes (1 blocks)
file_open: dev=hda1, path=/boot/rolecsplash
find_ide_controller: found PCI IDE controller 1106:0571 prog_if=0x8a
find_ide_controller: primary channel: compatibility mode
find_ide_controller: cmd_base=0x1f0 ctrl_base=0x3f4
ide_software_reset: Waiting for ide0 to become ready for reset... ok
init_drive: Testing for hda
init_drive: Probing for hda
init_drive: LBA mode, sectors=39102336
init_drive: Init device params... ok
hda: LBA 20GB: ST320014A
devopen: Partition 1 start 32 length 3127264
Mounted ext2fs
malloc_diag: alloc: 328 bytes (5 blocks), free: 16048 bytes (1 blocks)
elf_load: Not a bootable ELF image
malloc_diag: alloc: 344 bytes (6 blocks), free: 16032 bytes (1 blocks)
file_open: dev=hda1, path=/boot/rolecsplash
devopen: already open
malloc_diag: alloc: 328 bytes (5 blocks), free: 16048 bytes (1 blocks)
Found Linux version 2.4.24splash (root@rolec) #5 Thu Jan 15 12:13:33 GMT
2004 (protocol 0x203) (loadflags 0x1) bzImage.
init_linux_params: Setting up paramters at 0x90000
set_memory_size: 0000000000000700 - 00000000000a0000
set_memory_size: 00000000000c0000 - 00000000000f0000
set_memory_size: 00000000000f0400 - 0000000004000000
set_memory_size: ramtop=0x4000000
set_memory_size: ext_mem_k=64512, alt_mem_k=64512
parse_command_line: original command line: "console=tty0
console=ttyS0,115200"
parse_command_line: kernel command line at 0x91000
parse_command_line: kernel command line (33 bytes): "console=tty0
console=ttyS0,115200"
load_linux_kernel: offset=0x1600 addr=0x100000 size=0xe667d
Loading kernel... ok
start_linux: eip=0x100000
Jumping to entry point...