overflowed source buffer ... segment exceeding memory

Bill Rugolsky Jr. brugolsky at telemetry-investments.com
Wed Nov 13 11:22:26 CET 2002


I'm still trying to get LinuxBIOS booting on my Tyan S2462 board,
and encountering some problems.

This is with mkelfImage-1.17, binutils 2.13.90.0.2, etherboot-5.1.0.eb1,
and LinuxBIOS from CVS.

[ Building the LinuxBIOS CVS tree requires:
  perl -ni -e 'print if !/secondary\.inc/' src/mainboard/tyan/guiness/Config
  perl -pi -e 's/w832627hf/w83627hf/' src/mainboard/tyan/guiness/mainboard.c
]

What I've done is produce a "normal" and a "fallback" romimage, catenated
them together, and written the whole 512kB to the flash chip. 
[ At first glance I couldn't grok the whole fallback logic. ]

Normal:

option USE_FALLBACK_IMAGE=0
option ROM_SIZE=524288
option ROM_IMAGE_SIZE=65536

Fallback:

option USE_FALLBACK_IMAGE=1
option ROM_SIZE=524288
option ROM_IMAGE_SIZE=45056

I tried several kernels with/without ramdisk; same results.
At this point the sun was coming up and it was time to go to work. :-/

The boot log follows.

Regards,

	Bill Rugolsky

====

LinuxBIOS-1.0.0 Wed Nov 13 00:17:27 EST 2002 starting...
LinuxBIOS-1.0.0 Wed Nov 13 00:17:27 EST 2002 booting...
Finding PCI configuration type.
handle_superio  port 0x0, defaultport 0x2e
handle_superio  Using port 0x2e
Scanning PCI bus...done
Allocating PCI resources...done.
Enabling PCI resourcess...done.
Initializing PCI devices...
PCI devices initialized
totalram: 1024M
Initializing CPU #1
Enabling cache...done.
Setting up local apic...done.
CPU #1 Initialized
clocks_per_usec: 1152
Initializing CPU #0
handle_superio  port 0x2e, defaultport 0x2e
handle_superio  Using port 0x2e
Enabling cache...done.
Setting up local apic...done.
CPU #0 Initialized
handle_superio  port 0x2e, defaultport 0x2e
handle_superio  Using port 0x2e

Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
Version 1.2

Searching for 16 byte tags
    63:rom_read_bytes() - overflowed source buffer. max_block = 0
init_bytes found 0 tags
ROM segment 0x0000 length 0x0000 reloc 0x9400
clocks_per_tick = 753184
Etherboot 5.1.0.eb1 (GPL) ELF (Multiboot) for [3C90X]
Boot from (N)etwork or from (L)ocal? N
Found 3Com980-Cyclone at 0x1C00, ROM address 0x0000
Probing...[3C90X]
The PCI BIOS has not enabled this device!
Updating PCI command 0003->0007. pci_bus 0000 pci_device_fn 0078


3C90X Driver 2.00 Copyright 1999 LightSys Technology Services, Inc.
Portions Copyright 1999 Steve Smith
Provided with ABSOLUTELY NO WARRANTY.
-------------------------------------------------------------------------------
MAC Address = 00:E0:81:03:4A:31
Connectors present: 10Base-T / 100Base-TX.
Searching for server (DHCP)...
-\Me: 192.168.0.251, Server: 192.168.0.1, Gateway 192.168.0.1
Loading 192.168.0.1:kernel |/-(ELF)... No base memory found assuming 640K
segment exceeding memory
Unable to load file.
<sleep>
<abort>
Issuing RESET:
Boot from (N)etwork or from (L)ocal? N
Found 3Com980-Cyclone at 0x1C00, ROM address 0x0000
Probing...[3C90X]

3C90X Driver 2.00 Copyright 1999 LightSys Technology Services, Inc.
Portions Copyright 1999 Steve Smith
Provided with ABSOLUTELY NO WARRANTY.
-------------------------------------------------------------------------------
MAC Address = 00:E0:81:03:4A:31
Connectors present: 10Base-T / 100Base-TX.
Searching for server (DHCP)...
\|/-\|/Me: 192.168.0.251, Server: 192.168.0.1, Gateway 192.168.0.1
Loading 192.168.0.1:kernel -\|/(ELF)... segment exceeding memory
Unable to load file.
<sleep>
<abort>
Issuing RESET:
Boot from (N)etwork or from (L)ocal? N
Found 3Com980-Cyclone at 0x1C00, ROM address 0x0000
Probing...[3C90X]




More information about the coreboot mailing list