Bug#557169: kernel-package: standard build makes unbootable image
Manoj Srivastava
srivasta at acm.org
Fri Nov 20 03:13:42 UTC 2009
On Thu, Nov 19 2009, Arthur Marsh wrote:
> Manoj Srivastava wrote, on 2009-11-20 11:50:
>> reassign 557169 grub-pc
>> severity 557169 normal
>> thanks
>>
>> Hi,
>> On Thu, Nov 19 2009, Arthur Marsh wrote:
>>
>>> Hi, I tried building again using:
>>>
>>> CONCURRENCY_LEVEL=32 DEB_HOST_ARCH=i386 MAKEFLAGS="CC=gcc-4.4" \
>>> make-kpkg --initrd --config menuconfig linux-image
>
> Sorry, I posted the wrong command line. The line I used was:
>
> CONCURRENCY_LEVEL=32 MAKEFLAGS="CC=gcc-4.4" make-kpkg --initrd \
> --config menuconfig kernel-image
>
> I was not trying to build any kind of xen image - config options were
> as in the attached file, very similar to the regular Debian AMD64
> kernel with tuning for athlon64, pre-emptable kernel, and asynch scsi
> scanning disabled.
Hmm. That is not what the config file says.
> CONFIG_XEN=y
> CONFIG_XEN_MAX_DOMAIN_MEMORY=32
> CONFIG_XEN_SAVE_RESTORE=y
> CONFIG_XEN_BLKDEV_FRONTEND=m
> CONFIG_NETXEN_NIC=m
> CONFIG_XEN_NETDEV_FRONTEND=m
> CONFIG_XEN_KBDDEV_FRONTEND=y
> CONFIG_HVC_XEN=y
> CONFIG_XEN_FBDEV_FRONTEND=y
> CONFIG_XEN_BALLOON=y
> CONFIG_XEN_SCRUB_PAGES=y
> CONFIG_XEN_DEV_EVTCHN=m
> CONFIG_XENFS=m
> CONFIG_XEN_COMPAT_XENFS=y
> CONFIG_XEN_SYS_HYPERVISOR=y
As far as I can tell, this is a XEN hypervisor. And that brings
up an unfortunate missing feature in grub2 -- first, it looks at the
vmlinux uncompressed image, and does not support the hypervisor.
I'll see if not installing the vmlinux helps, recent Xen seems
to deal ok with compressed images.
manoj
--
Whoever dies with the most toys wins.
Manoj Srivastava <srivasta at acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
More information about the Pkg-grub-devel
mailing list