[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bsd ELF symbol table not valid: i386 bootcd



Hello,

I get the follwoing error message:
  [ bsd ELF symbol table not valid: symtab unaligned ]
  kernel: page fault trap,code=0
  Stopped at 0xd018dc3c: movl 0(%edi),%eax

I have made a bootable OpenBSD CD.  I get this error messege only when I
use the GENERIC-Kernel with a some changes.  If I use the RAMDSIK_CD
Kernel all works fine, also if I include:
  include "../../../conf/GENERIC"

The strange thing is it was workling for some time with the GENERIC, but
sice the ELF change it dosn't work anymore.

I have check all changes to the kernel config files but I can't find any
option to disable, so that I can boot.


I know there is no support for other kernels then GENERIC, but I realy
need some hint to solve this Problem.

Changes to GENERIC:
  20c20
  < option                USER_LDT        # user-settable LDT; see
  i386_set_ldt(2)
  ---
  > #option               USER_LDT        # user-settable LDT; see
  > i386_set_ldt(2)
  38c38,40
  < config                bsd     swap generic
  ---
  > option          RAMDISK_HOOKS
  > option          MINIROOTSIZE=3560
  > config                bsd     root on cd0a


I have try it with the option USER_LDT and with out, but thats the only
option that has change, since it dosn't run.



Maik

Some more infos: send to misc, a month ago
----- Forwarded message from Maik Kuendig <openbsd-lists@maik.li> -----

From: Maik Kuendig <openbsd-lists@maik.li>
To: misc@openbsd.org
Subject: bsd ELF symbol table not valid:  on i386 bootcd (selfmade)
Date: Wed, 28 May 2003 12:26:23 +0200
Message-ID: <20030528102623.GA16629@mail.maik.li>
User-Agent: Mutt/1.4i

Hello,

I have made a bootable CD form OpenBSD, it hase worked with OpenBSD 3.2,
also with current until this ELF change.  I get the following kernel
panic:
  Boot from ATAPI Cd-ROM :
    1.FD 2.88MB System Type-(00)
  reading boot ....
  prboing pc0 com0 com1 apm mem[639K 286M a20=on]
  disk: fd0 fd1 hd0*
  >> OpenBSD/i386 BOOT 2.00
  boot>
  booting fd0a:bsd: 6186452+835772=0x6b2848
  entry point at 0x100120

  [ bsd ELF symbol table not valid: symtab unaligned ]
  kernel: page fault trap,code=0
  Stopped at 0xd018dc3c: movl 0(%edi),%eax


Steps I used to create the CD:
  1) patch GENERIC:
        38c38,41
	< config		bsd	swap generic
	---
	> option          RAMDISK_HOOKS
	> option          MINIROOTSIZE=3560
	> 
	> config          bsd     root on cd0c swap on rd0b and wd0b and
	> sd0b
	542a546
	> pseudo-device rd      1               # ramdisk

  2) Create a bootimage 2.88MB

  3) Create the Cd Filesystem from the RELEASEDIR files

  4) Create CD-Image.


Can someone give me a hint to debugg this kind of problem?  Or better
what I'm doing wrong?

how can I save the output from ddb, at this point?


Some ddb output, not all I have to type it by hand ;)
  ddb> ps   //returns only the headers, no line

  ddb> show all procs  //nothing, smae then ps

  ddb> trace
    (null)(1b8,d07b27b0,d07b2986,d043e840,d0700f58) at 0xd018dc3c
    (null)(1b8,d07b27b0,d07b2986,d043e840) at 0xd0191581
    (null)(d07b3010,7b300,7ba000,0,0) at 0xd0190e68
    (null)(7ba000) at 0xd02cd556


I now that  customer kernels are not supportet, but can some one give me
a hint what hase changed since this elf thing in the boot process?


Maik

----- End forwarded message -----

-- 
Fressen@maik:
  http://www.grillsportverein.de/sf.jpg