All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: RAMDISK: Image too big
@ 2005-03-13 10:02 Ian Pratt
  2005-03-14 10:31 ` Marcus Hardt
  0 siblings, 1 reply; 14+ messages in thread
From: Ian Pratt @ 2005-03-13 10:02 UTC (permalink / raw)
  To: Marcus Hardt, xen-devel; +Cc: ian.pratt

> The 2.6.10-xen0 kernel makes it a bit further. hda is recognized, but
> unfortunately the root fs cannot be mounted. The last Lines here are:
> 
> RAMDISK: Image too big1     (some size info skipped)
> panic: unable to mount root fs on unknown block(1,0)

It sounds like you're trying to load some random ramdisk with the xen0
kernel, which is a recipe for disaster.

Do you actually need anything in the ramdisk? Our xen0 kernel has most
useful stuff compiled in.

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

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

* Re: RAMDISK: Image too big
  2005-03-13 10:02 RAMDISK: Image too big Ian Pratt
@ 2005-03-14 10:31 ` Marcus Hardt
  0 siblings, 0 replies; 14+ messages in thread
From: Marcus Hardt @ 2005-03-14 10:31 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel, ian.pratt

Quoting Ian Pratt
> > The 2.6.10-xen0 kernel makes it a bit further. hda is recognized, but
> > unfortunately the root fs cannot be mounted. The last Lines here are:
> >
> > RAMDISK: Image too big1     (some size info skipped)
> > panic: unable to mount root fs on unknown block(1,0)
>
> It sounds like you're trying to load some random ramdisk with the xen0
> kernel, which is a recipe for disaster.

Just tried without: Ramdisk too big message vanished. Still getting a 
kernel-panic as above, i.e. unable to mount root fs.

I have plain IDE, with ext3 formatted partitions. HDA gets properly detected 
while booting.

Why does the kernel reboot automatically btw? I'd love to read more about the 
error messages, but I forgot my digicam today.

> Do you actually need anything in the ramdisk? Our xen0 kernel has most
> useful stuff compiled in.

Reasonable. Will check what the original ramdisk is doing.... Maybe right 
after installing 2.0.5.

-- 
Marcus


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: RAMDISK: Image too big
  2005-03-17 20:12 Ian Pratt
@ 2005-03-18  8:46 ` Marcus Hardt
  0 siblings, 0 replies; 14+ messages in thread
From: Marcus Hardt @ 2005-03-18  8:46 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel, ian.pratt

Quoting Ian Pratt
>  > Well. I don't see more. I hope it's not due to that I changed
> >
> > printk before
> > "make world" and not before "make dist".
>
> Are you sure the printk change is still there? 'make world' blows away
> and reconstructs the kernel trees.

Yes, it's still there. I'm not sure if I misunderstood: I didn't activate the 
serial console to check for messages. I assumed that console_io refers to any 
console.

I don't want to drive your patience too far. I can arrange myself with 2.4 not 
working on this machine. However, if I can help you finding that bug, I'd be 
happy to do so.
-- 
Marcus


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* RE: RAMDISK: Image too big
@ 2005-03-17 20:12 Ian Pratt
  2005-03-18  8:46 ` Marcus Hardt
  0 siblings, 1 reply; 14+ messages in thread
From: Ian Pratt @ 2005-03-17 20:12 UTC (permalink / raw)
  To: Marcus Hardt; +Cc: xen-devel, ian.pratt

 > Well. I don't see more. I hope it's not due to that I changed 
> printk before 
> "make world" and not before "make dist".

Are you sure the printk change is still there? 'make world' blows away
and reconstructs the kernel trees.

Ian 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

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

* Re: RAMDISK: Image too big
  2005-03-16  0:59 Ian Pratt
@ 2005-03-17 15:07 ` Marcus Hardt
  0 siblings, 0 replies; 14+ messages in thread
From: Marcus Hardt @ 2005-03-17 15:07 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel, ian.pratt

Quoting Ian Pratt
> > > This is pretty odd. Are you able to build from source?
> >
> > Yes.
>
> Build from src by adding Linux-2.4 to the KERNELS line in the top-level
> Makefile, then 'make DEBUG=y world'.
>
> Next, add an early printk hack to linux 2.4 by edditing
> linux-2.4.29-xen0/kernel/printk.c to add the following call after the
> va_end:
>
>  HYPERVISOR_console_io(CONSOLEIO_write, sizeof(printk_buf), printk_buf)
>
> Then, 'make dist'.
>
> When you boot the kernel you should see kernel output much earlier on.

Well. I don't see more. I hope it's not due to that I changed printk before 
"make world" and not before "make dist".

I haven't seen anything on the serial console either.

I think I'd rather go on with the 2.6 kernel. Or any more hints?
-- 
Marcus


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* RE: RAMDISK: Image too big
@ 2005-03-16  0:59 Ian Pratt
  2005-03-17 15:07 ` Marcus Hardt
  0 siblings, 1 reply; 14+ messages in thread
From: Ian Pratt @ 2005-03-16  0:59 UTC (permalink / raw)
  To: Marcus Hardt; +Cc: xen-devel, ian.pratt

> > This is pretty odd. Are you able to build from source? 
> 
> Yes.

Build from src by adding Linux-2.4 to the KERNELS line in the top-level
Makefile, then 'make DEBUG=y world'.

Next, add an early printk hack to linux 2.4 by edditing
linux-2.4.29-xen0/kernel/printk.c to add the following call after the
va_end:

 HYPERVISOR_console_io(CONSOLEIO_write, sizeof(printk_buf), printk_buf)

Then, 'make dist'.

When you boot the kernel you should see kernel output much earlier on.

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

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

* Re: RAMDISK: Image too big
  2005-03-14 13:47 Ian Pratt
  2005-03-14 13:52 ` Marcus Hardt
@ 2005-03-14 17:46 ` Marcus Hardt
  1 sibling, 0 replies; 14+ messages in thread
From: Marcus Hardt @ 2005-03-14 17:46 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel, ian.pratt

Quoting Ian Pratt
> > I've just happily booted 2.6.10-Xen0. Unfortunately I'm using
> > an oldish
> > distribution, that doesn't ship yet the newer modutils. So,
> > trying the
> > 2.4.29-xen0 kernel, I don't get hardly as far as with 2.6:
> >
> > (XEN) Scrubbing Free RAM: ..........done.
> > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to
> > switch input to
> > Xen).
> >
> > Is there anything I can do about this?
>
> This is pretty odd. Are you able to build from source? 

Building from scratch didn't help at all. Everything the same as before

> Could you get a 
> serial line on the machine?

I can get one, but rather on Thursday or Friday.

Another issue with 2.6.10-xen0: mounting the root partition fails, because it 
is already mounted. I can't get post the mount step when booting. Didn't find 
anything in the docs. This would be a distribution related bug, if it didn't 
disapper when booting the normal kernel.

-- 
Marcus


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: RAMDISK: Image too big
  2005-03-14 13:47 Ian Pratt
@ 2005-03-14 13:52 ` Marcus Hardt
  2005-03-14 17:46 ` Marcus Hardt
  1 sibling, 0 replies; 14+ messages in thread
From: Marcus Hardt @ 2005-03-14 13:52 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel, ian.pratt

Quoting Ian Pratt
> > I've just happily booted 2.6.10-Xen0. Unfortunately I'm using
> > an oldish
> > distribution, that doesn't ship yet the newer modutils. So,
> > trying the
> > 2.4.29-xen0 kernel, I don't get hardly as far as with 2.6:
> >
> > (XEN) Scrubbing Free RAM: ..........done.
> > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to
> > switch input to
> > Xen).
> >
> > Is there anything I can do about this?
>
> This is pretty odd. Are you able to build from source? 

Yes.

> Could you get a 
> serial line on the machine?

Puh, never done this.

-- 
Marcus


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* RE: RAMDISK: Image too big
@ 2005-03-14 13:47 Ian Pratt
  2005-03-14 13:52 ` Marcus Hardt
  2005-03-14 17:46 ` Marcus Hardt
  0 siblings, 2 replies; 14+ messages in thread
From: Ian Pratt @ 2005-03-14 13:47 UTC (permalink / raw)
  To: Marcus Hardt; +Cc: xen-devel, ian.pratt

 > 
> I've just happily booted 2.6.10-Xen0. Unfortunately I'm using 
> an oldish 
> distribution, that doesn't ship yet the newer modutils. So, 
> trying the 
> 2.4.29-xen0 kernel, I don't get hardly as far as with 2.6:
> 
> (XEN) Scrubbing Free RAM: ..........done.
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to 
> switch input to 
> Xen).
> 
> Is there anything I can do about this?

This is pretty odd. Are you able to build from source? Could you get a
serial line on the machine?

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

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

* Re: RAMDISK: Image too big
  2005-03-14 13:14 Ian Pratt
@ 2005-03-14 13:25 ` Marcus Hardt
  0 siblings, 0 replies; 14+ messages in thread
From: Marcus Hardt @ 2005-03-14 13:25 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel, ian.pratt

Quoting Ian Pratt
> > However, no delight yet. Please tell me, is it a problem,
> > that there are three
> > dead links in /boot?
> >
> > roots -> ../../../xeno-roots/roots
> > usr -> ../../../xeno-roots/usr
> > xenoboot.sh -> /usr/groups/srgboot/iap10/xenoboot.sh
> >
> > Meanwhile, I'll find the syntax for explicitly specifying the
> > root device.
>
> These dead links are a harmless (if slightly embarassing) dropping from
> the install tar ball build process, though it does tell me that you're
> not using the latest 2.0.5 release, from which they've been removed...

Upgraded...

I've just happily booted 2.6.10-Xen0. Unfortunately I'm using an oldish 
distribution, that doesn't ship yet the newer modutils. So, trying the 
2.4.29-xen0 kernel, I don't get hardly as far as with 2.6:

(XEN) Scrubbing Free RAM: ..........done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen).

Is there anything I can do about this?
-- 
Marcus


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* RE: RAMDISK: Image too big
@ 2005-03-14 13:14 Ian Pratt
  2005-03-14 13:25 ` Marcus Hardt
  0 siblings, 1 reply; 14+ messages in thread
From: Ian Pratt @ 2005-03-14 13:14 UTC (permalink / raw)
  To: Marcus Hardt; +Cc: xen-devel, ian.pratt

 

> However, no delight yet. Please tell me, is it a problem, 
> that there are three 
> dead links in /boot?
> 
> roots -> ../../../xeno-roots/roots
> usr -> ../../../xeno-roots/usr
> xenoboot.sh -> /usr/groups/srgboot/iap10/xenoboot.sh
> 
> Meanwhile, I'll find the syntax for explicitly specifying the 
> root device.

These dead links are a harmless (if slightly embarassing) dropping from
the install tar ball build process, though it does tell me that you're
not using the latest 2.0.5 release, from which they've been removed...

Ian 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

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

* Re: RAMDISK: Image too big
  2005-03-14 10:37 Ian Pratt
@ 2005-03-14 12:23 ` Marcus Hardt
  0 siblings, 0 replies; 14+ messages in thread
From: Marcus Hardt @ 2005-03-14 12:23 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel, ian.pratt

Quoting Ian Pratt
> > I have plain IDE, with ext3 formatted partitions. HDA gets
> > properly detected
> > while booting.
> >
> > Why does the kernel reboot automatically btw? I'd love to
> > read more about the
> > error messages, but I forgot my digicam today.
>
> Put 'noreboot' on the Xen command line.

Much better: thanks!

However, no delight yet. Please tell me, is it a problem, that there are three 
dead links in /boot?

roots -> ../../../xeno-roots/roots
usr -> ../../../xeno-roots/usr
xenoboot.sh -> /usr/groups/srgboot/iap10/xenoboot.sh

Meanwhile, I'll find the syntax for explicitly specifying the root device.

--
Marcus


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* RE: RAMDISK: Image too big
@ 2005-03-14 10:37 Ian Pratt
  2005-03-14 12:23 ` Marcus Hardt
  0 siblings, 1 reply; 14+ messages in thread
From: Ian Pratt @ 2005-03-14 10:37 UTC (permalink / raw)
  To: Marcus Hardt; +Cc: xen-devel, ian.pratt

 
> I have plain IDE, with ext3 formatted partitions. HDA gets 
> properly detected 
> while booting.
> 
> Why does the kernel reboot automatically btw? I'd love to 
> read more about the 
> error messages, but I forgot my digicam today.

Put 'noreboot' on the Xen command line.

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

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

* RAMDISK: Image too big
@ 2005-03-11 16:06 Marcus Hardt
  0 siblings, 0 replies; 14+ messages in thread
From: Marcus Hardt @ 2005-03-11 16:06 UTC (permalink / raw)
  To: xen-devel

Hi!

I'm trying xen-2.0.4 on a scientific-linux-3.0.4 dual PIII --
unsuccessfully.

I installed from the tarball 'xen-2.0.4-install.tgz'

The 2.4.29-xen0 kernel reboots after scrubbing some ram (sorry, I forgot
which one). Last line I see is:

 Serial Input -> DOM0 (type 'Ctrl-a' three times to switch input to Xen)

which does not change anything, if I press Ctrl-a however often.


The 2.6.10-xen0 kernel makes it a bit further. hda is recognized, but
unfortunately the root fs cannot be mounted. The last Lines here are:

RAMDISK: Image too big1     (some size info skipped)
panic: unable to mount root fs on unknown block(1,0)



I really don't care if I use 2.4 or 2.6, but one of both should work.

Help greatly appreciated.

Marcus.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

end of thread, other threads:[~2005-03-18  8:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-13 10:02 RAMDISK: Image too big Ian Pratt
2005-03-14 10:31 ` Marcus Hardt
  -- strict thread matches above, loose matches on Subject: below --
2005-03-17 20:12 Ian Pratt
2005-03-18  8:46 ` Marcus Hardt
2005-03-16  0:59 Ian Pratt
2005-03-17 15:07 ` Marcus Hardt
2005-03-14 13:47 Ian Pratt
2005-03-14 13:52 ` Marcus Hardt
2005-03-14 17:46 ` Marcus Hardt
2005-03-14 13:14 Ian Pratt
2005-03-14 13:25 ` Marcus Hardt
2005-03-14 10:37 Ian Pratt
2005-03-14 12:23 ` Marcus Hardt
2005-03-11 16:06 Marcus Hardt

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.