Hammer boot cannot load modules anymore

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sat Jan 10 10:03:48 PST 2009


Michael Neumann wrote:
Simon 'corecode' Schubert schrieb:
Michael Neumann wrote:
Hi,

I'm using the pure Hammer bootloader.

At first it worked, but now, after using the system for a while I 
cannot load modules at boot time anymore. So I always have to disable 
acpi, otherwise it will hang shortly after showing some progress 
trying to load the module (it just shows a few "/", "|", backslash, 
"-" characters, then it hangs).
can you ctrl-alt-del the machine at that point or is it locked?
Yes that works.

The kernel itself boots just fine. I am using the GENERIC kernel.
I'm not sure how to debug this...  If your file system is small 
enough, you could put it up somewhere for me to have a look.  
Alternatively you can build a standalone hammer reader from the boot 
source in lib/libstand/hammerread.c and try to debug why it can't load 
the modules.  I guess it has something to do with the btree layout.
I have problems compiling hammerread:

  cd lib/libstand
  make -DTESTING -DDEBUG=3 hammerread
/usr/libexec/binutils217/elf/ld: errno: TLS definition in 
/usr/lib/libc.so section .tbss mismatches non-TLS reference in 
/tmp//ccVzucFt.o
/usr/lib/libc.so: could not read symbols: Bad value

What am I doing wrong?
use cc:

cc -DTESTING -DDEBUG=3 hammerread.c

cheers
  simon
--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low €€€ NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \





More information about the Bugs mailing list