All of lore.kernel.org
 help / color / mirror / Atom feed
* FreeBSD relocator crash
@ 2011-02-09 13:45 Colin Watson
  2011-02-10 21:15 ` Robert Millan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Colin Watson @ 2011-02-09 13:45 UTC (permalink / raw)
  To: grub-devel

While working on Debian bug #612128 in a KVM instance, I found that any
call to kfreebsd_module_elf seems to crash GRUB (1.99~rc1).  I
reproduced this with both FreeBSD 7.2 + acpi.ko and FreeBSD 8.1 +
ufs.ko.  This sequence of commands:

  kfreebsd /boot/kfreebsd-8.1-1-686.gz
  set debug=all
  kfreebsd_module_elf /lib/modules/8.1-1-686/ufs.ko

... results in this sequence of debug messages just before hanging:

  kern/disk.c:245: Opening `hd0,msdos1'...
  partmap/msdos.c:140: partition 0: flag 0x80, type 0xa5, start 0x3f, len 0x13fff71
  kern/fs.c:54: Detecting ufs2...
  lib/relocator.c:1211: min_addr = 0xec6fec, max_addr = 0xffffffff, target = 0xec7000
  lib/relocator.c:424: trying to allocate in 0xec7000-0xffffffff aligned 0x1 size 0x43ab8

Does anyone know what's wrong here, or my best strategy for gathering
more information if it isn't obvious?

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-24 11:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-09 13:45 FreeBSD relocator crash Colin Watson
2011-02-10 21:15 ` Robert Millan
2011-02-10 21:31   ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-02-10 21:32 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-03-24 11:29 ` Vladimir 'φ-coder/phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.