List Info

Thread: NetBSD -CURRENT with Xen3.0.3: grub failed with Error3 and Error 13




NetBSD -CURRENT with Xen3.0.3: grub failed with Error3 and Error 13
user name
2006-11-04 23:30:38
Well, the problem could be the same cause i use a single
140GB partition 
too.
Does this mean i have to reinstall NetBSD? No, please 

Mike Sun schrieb:

> I had the same problem and it seems like Manuel's
suggestion per
> http://mail-index.netbsd.org/port-xen/2006/10/17/0009.
html solves the
> problem.
>
> On 11/4/06, Pavel Cahyna <pavel.cahynamatfyz.cz> wrote:
>
>> On Sat, Nov 04, 2006 at 09:36:44PM +0100, Rainer
Brinkmöller wrote:
>> > Hi,
>> >
>> > after i did install NetBSD 3.0.1 on my new
Hardware and did update 
>> it to
>> > -CURRENT
>> > on this way: http://www.netbsd.org/Documentation/current/#updating
>> > i did install grub, xentools30, xenkernel30
and xentools-hvm
>> >
>> > Then configured grub. Reboot and .. failure
... remember ... sure, 
>> the kernel
>> > file is to big
>> > So, gzip the kernel file and reboot. Failure
again.
>> >
>> > First Error when want to start by using kernel
xen.gz and 
>> netbsd-XEN0.gz as
>> > module:
>> >
>> > kernel (hd0,a)/xen.gz dom0_mem=131072
>> >      [Multiboot-elf,
<0x100000:0x7e5d8:0x47a28>
>> >
>> > Error 3: Bad or corrupt data while
decompressing file
>> >
>> > Maybe something wrong with the xen.gz kernel
file?
>> > The second Error i've got when want to start
by using kernel 
>> netbsd-GENERIC.gz
>> > as module:
>> >
>> > root (hd0,a)
>> >     Filesystem type is ffs, partition type
0xa9
>> > kernel --type=netbsd /netbsd-GENERIC.gz
>> >      [Multiboot-elf,
<0x100000:0x9ddfc0:0x0>
>>
>> Don't use --type=netbsd if the kernel is Multiboot,
I think.
>>
>> Pavel
>>
>

NetBSD -CURRENT with Xen3.0.3: grub failed with Error3 and Error 13
user name
2006-11-05 19:21:38
On Sun, Nov 05, 2006 at 12:30:38AM +0100, Rainer
Brinkmoeller wrote:
> Well, the problem could be the same cause i use a
single 140GB partition 
> too.
> Does this mean i have to reinstall NetBSD? No, please


Well, I fear you'll have to. I've come in this issue twice
with large
partition, and did never see it with small ones. I suspect
grub is, in fact,
not 64bits safe. When you install the xen + netbsd-XENx_DOM0
kernels just 
after the netbsd install, it's likely to end up physically
near the start
of the partition. But after some time of filesystem
activity, files
copyed to / ends up past some limit (maybe 8G ?) and grub
can't load them.
It's not a matter of kernel size; just moving these files to
a smaller 
partition made grub able to load them.
I think it's mandatory to create a small / partition for Xen
installs. I'll try
to add a note about this in the FAQ.

-- 
Manuel Bouyer <bouyerantioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la
difference
--
NetBSD -CURRENT with Xen3.0.3: grub failed with Error3 and Error 13
user name
2006-11-05 21:22:19
On Sun, Nov 05, 2006 at 08:21:38PM +0100, Manuel Bouyer
wrote:
> On Sun, Nov 05, 2006 at 12:30:38AM +0100, Rainer
Brinkmoeller wrote:
> > Well, the problem could be the same cause i use a
single 140GB partition 
> > too.
> > Does this mean i have to reinstall NetBSD? No,
please 
> 
> Well, I fear you'll have to. I've come in this issue
twice with large
> partition, and did never see it with small ones. I
suspect grub is, in fact,
> not 64bits safe. When you install the xen +
netbsd-XENx_DOM0 kernels just 
> after the netbsd install, it's likely to end up
physically near the start
> of the partition. But after some time of filesystem
activity, files
> copyed to / ends up past some limit (maybe 8G ?) and
grub can't load them.
> It's not a matter of kernel size; just moving these
files to a smaller 
> partition made grub able to load them.
> I think it's mandatory to create a small / partition
for Xen installs. I'll try
> to add a note about this in the FAQ.

Isn't it better to make a small /boot (or /stand) partition
which would
hold only the kernels, like Linux does if the bios does have
disk size
limit?

Small / can be inconvenient.

Rainer, can't you steal some space from swap partition to
create such
small partition?

Pavel
NetBSD -CURRENT with Xen3.0.3: grub failed with Error3 and Error 13
user name
2006-11-05 22:49:53
Manuel Bouyer schrieb:

>Well, I fear you'll have to. I've come in this issue
twice with large
>partition, and did never see it with small ones. I
suspect grub is, in fact,
>not 64bits safe. When you install the xen +
netbsd-XENx_DOM0 kernels just 
>after the netbsd install, it's likely to end up
physically near the start
>of the partition. But after some time of filesystem
activity, files
>copyed to / ends up past some limit (maybe 8G ?) and
grub can't load them.
>It's not a matter of kernel size; just moving these
files to a smaller 
>partition made grub able to load them.
>I think it's mandatory to create a small / partition for
Xen installs. I'll try
>to add a note about this in the FAQ.
>
FAQ, which? Or do you mean the NetBSD/Xen howto?

Do you think it make sence to add a note about where the
file 
xen-3.0.3_0-install-x86_32.tgz could be downloaded
(e.g. http://www.xensource.com/xen/downloads/dl_303tarballs.
html) 
because this is a different to Xen 2 too.

By the way, i updated the howto's cause at the url 
http://www.cl.cam.ac.uk/research/srg/netos/xen/down
loads.html
is no link anymore to download xen-2.0.x-install.tgz.
There is a http download side 
(http://www.cl.cam.ac.uk/research/srg/netos/xen/download
s/) but the new 
file names
are xen-2.0.x-install-x86_32.tgz

It is not commited yet, but i think it will be in the next
days.

regards,
Rainer

NetBSD -CURRENT with Xen3.0.3: grub failed with Error3 and Error 13
user name
2006-11-07 10:37:36
On Sun, Nov 05, 2006 at 11:49:53PM +0100, Rainer
Brinkmoeller wrote:
> Manuel Bouyer schrieb:
> 
> >Well, I fear you'll have to. I've come in this
issue twice with large
> >partition, and did never see it with small ones. I
suspect grub is, in 
> >fact,
> >not 64bits safe. When you install the xen +
netbsd-XENx_DOM0 kernels just 
> >after the netbsd install, it's likely to end up
physically near the start
> >of the partition. But after some time of filesystem
activity, files
> >copyed to / ends up past some limit (maybe 8G ?)
and grub can't load them.
> >It's not a matter of kernel size; just moving these
files to a smaller 
> >partition made grub able to load them.
> >I think it's mandatory to create a small /
partition for Xen installs. 
> >I'll try
> >to add a note about this in the FAQ.
> >
> FAQ, which? Or do you mean the NetBSD/Xen howto?

Yes, I was talking about the howto

> 
> Do you think it make sence to add a note about where
the file 
> xen-3.0.3_0-install-x86_32.tgz could be downloaded
> (e.g. http://www.xensource.com/xen/downloads/dl_303tarballs.
html) 
> because this is a different to Xen 2 too.

Maybe we should just tell users to use the xenkernel package


-- 
Manuel Bouyer <bouyerantioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la
difference
--
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )