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

* Re: FreeBSD relocator crash
  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
  2 siblings, 1 reply; 5+ messages in thread
From: Robert Millan @ 2011-02-10 21:15 UTC (permalink / raw)
  To: The development of GNU GRUB

2011/2/9 Colin Watson <cjwatson@ubuntu.com>:
> 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:

I suggest a regression search. The following combination is
widely tested and known to work:

- GRUB 1.98+20100804-14
- kfreebsd /boot/kfreebsd-8.1-1-amd64.gz
- kfreebsd_module_elf /lib/modules/8.1-1-amd64/opensolaris.ko
- kfreebsd_module_elf /lib/modules/8.1-1-amd64/zfs.ko

-- 
Robert Millan


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

* Re: FreeBSD relocator crash
  2011-02-10 21:15 ` Robert Millan
@ 2011-02-10 21:31   ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 0 replies; 5+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-02-10 21:31 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 971 bytes --]

On 02/11/2011 12:15 AM, Robert Millan wrote:
> 2011/2/9 Colin Watson <cjwatson@ubuntu.com>:
>   
>> 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:
>>     
> I suggest a regression search. The following combination is
> widely tested and known to work:
>
> - GRUB 1.98+20100804-14
> - kfreebsd /boot/kfreebsd-8.1-1-amd64.gz
> - kfreebsd_module_elf /lib/modules/8.1-1-amd64/opensolaris.ko
> - kfreebsd_module_elf /lib/modules/8.1-1-amd64/zfs.ko
>
>   
Switch to relocator postdates 20100804 AFAIR.


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: FreeBSD relocator crash
  2011-02-09 13:45 FreeBSD relocator crash Colin Watson
  2011-02-10 21:15 ` Robert Millan
@ 2011-02-10 21:32 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2011-03-24 11:29 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2 siblings, 0 replies; 5+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-02-10 21:32 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

On 02/09/2011 04:45 PM, Colin Watson wrote:
> 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?
>
>   
Could you supply a minimal ISO and exact kvm configuration which
recreates the problem?
> Thanks,
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: FreeBSD relocator crash
  2011-02-09 13:45 FreeBSD relocator crash Colin Watson
  2011-02-10 21:15 ` Robert Millan
  2011-02-10 21:32 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2011-03-24 11:29 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2 siblings, 0 replies; 5+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-03-24 11:29 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

Fixed
On 09.02.2011 14:45, Colin Watson wrote:
> 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,
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

^ 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.