All of lore.kernel.org
 help / color / mirror / Atom feed
* xenolinux compilation error
@ 2004-04-01 11:36 Carlos Alberto Pereira Gomes
  2004-04-01 13:49 ` Ian Pratt
  2004-04-01 14:00 ` xenolinux compilation error Keir Fraser
  0 siblings, 2 replies; 8+ messages in thread
From: Carlos Alberto Pereira Gomes @ 2004-04-01 11:36 UTC (permalink / raw)
  To: xen-devel

Hi,
I've got some problems while compiling a linux-2.4.25 kernel patched
with xenolinux-2.4.25-sparse tree.

The command 'make dep bzImage' stops at:

....

mm/mm.o: In function `clear_page_tables':
mm/mm.o(.text+0x12b): undefined reference to `XEN_flush_page_update_queue'
mm/mm.o: In function `pte_alloc':
mm/mm.o(.text+0x17c3): undefined reference to `XEN_flush_page_update_queue'
mm/mm.o: In function `move_page_tables':
mm/mm.o(.text+0x80b6): undefined reference to `XEN_flush_page_update_queue'
mm/mm.o(.text+0x80df): undefined reference to `XEN_flush_page_update_queue'
mm/mm.o: In function `unuse_process':
mm/mm.o(.text+0xd630): undefined reference to `XEN_flush_page_update_queue'
fs/fs.o(.text+0x98eb): more undefined references to `XEN_flush_page_update_queue' follow
make: ** [vmlinux] Erro 1


Has anyone got this?
Any idea?
-- 
Carlos 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* Re: xenolinux compilation error
  2004-04-01 11:36 xenolinux compilation error Carlos Alberto Pereira Gomes
@ 2004-04-01 13:49 ` Ian Pratt
  2004-04-01 14:21   ` Carlos Alberto Pereira Gomes
  2004-04-01 22:02   ` A question on xen-1.2?? I RATTAN
  2004-04-01 14:00 ` xenolinux compilation error Keir Fraser
  1 sibling, 2 replies; 8+ messages in thread
From: Ian Pratt @ 2004-04-01 13:49 UTC (permalink / raw)
  To: Carlos Alberto Pereira Gomes; +Cc: xen-devel, Ian.Pratt

> Hi,
> I've got some problems while compiling a linux-2.4.25 kernel patched
> with xenolinux-2.4.25-sparse tree.

The auto build daemon successfully built both the 1.2 and
unstable trees last night, so I think it must be something odd
about how you're building it.

Are you using a vanilla linux-2.4.25 tree as the base?
Did you follow the instructions for running mkbuildtree correctly?
Have you modified any of the kernel configuration parameters?
Are you remembering to set ARCH=xen ?

I'd expect the appended sequence to work (from the xen-clone
script).

Ian


tar -zxf linux-2.4.25.tgz		# untar the vanilla build tree

cd xeno.bk/xenolinux-2.4.25-sparse	# cd into sparse tree in repo
./mkbuildtree ../../linux-2.4.25	# patch the vanilla tree
cd ../..
mv linux-2.4.25 xenolinux-2.4.25	# rename to reflect change

cd xenolinux-2.4.25

make ARCH=xen oldconfig			# use default config
make ARCH=xen dep			
make ARCH=xen bzImage			
make ARCH=xen modules			# build modules if required

# you may then find the 'install' or 'dist' targets useful.








-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* Re: xenolinux compilation error
  2004-04-01 11:36 xenolinux compilation error Carlos Alberto Pereira Gomes
  2004-04-01 13:49 ` Ian Pratt
@ 2004-04-01 14:00 ` Keir Fraser
  1 sibling, 0 replies; 8+ messages in thread
From: Keir Fraser @ 2004-04-01 14:00 UTC (permalink / raw)
  To: Carlos Alberto Pereira Gomes; +Cc: xen-devel


ARCH=xen make dep bzImage

 -- Keir

> Hi,
> I've got some problems while compiling a linux-2.4.25 kernel patched
> with xenolinux-2.4.25-sparse tree.
> 
> The command 'make dep bzImage' stops at:
> 
> ....
> 
> mm/mm.o: In function `clear_page_tables':
> mm/mm.o(.text+0x12b): undefined reference to `XEN_flush_page_update_queue'
> mm/mm.o: In function `pte_alloc':
> mm/mm.o(.text+0x17c3): undefined reference to `XEN_flush_page_update_queue'
> mm/mm.o: In function `move_page_tables':
> mm/mm.o(.text+0x80b6): undefined reference to `XEN_flush_page_update_queue'
> mm/mm.o(.text+0x80df): undefined reference to `XEN_flush_page_update_queue'
> mm/mm.o: In function `unuse_process':
> mm/mm.o(.text+0xd630): undefined reference to `XEN_flush_page_update_queue'
> fs/fs.o(.text+0x98eb): more undefined references to `XEN_flush_page_update_queue' follow
> make: ** [vmlinux] Erro 1
> 
> 
> Has anyone got this?
> Any idea?
> -- 
> Carlos 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* Re: xenolinux compilation error
  2004-04-01 13:49 ` Ian Pratt
@ 2004-04-01 14:21   ` Carlos Alberto Pereira Gomes
  2004-04-01 22:02   ` A question on xen-1.2?? I RATTAN
  1 sibling, 0 replies; 8+ messages in thread
From: Carlos Alberto Pereira Gomes @ 2004-04-01 14:21 UTC (permalink / raw)
  To: xen-devel

* Ian Pratt <Ian.Pratt@cl.cam.ac.uk> [01-04-2004 10:53]:
Sorry,
here is my mistake,
> make ARCH=xen oldconfig			# use default config
       ^^^^^^^^
Thanks,

-- 
Carlos 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* A question on xen-1.2??
  2004-04-01 13:49 ` Ian Pratt
  2004-04-01 14:21   ` Carlos Alberto Pereira Gomes
@ 2004-04-01 22:02   ` I RATTAN
  2004-04-01 22:21     ` Ian Pratt
  1 sibling, 1 reply; 8+ messages in thread
From: I RATTAN @ 2004-04-01 22:02 UTC (permalink / raw)
  To: xen-devel


I have been able to compile and boot xeno-linux-2.4.24-xeno (used
linux-2.4.25 generics sources this time).

I see two messages at boot, parts of dmesg shown:
---
Linux version 2.4.25-xeno (root@pe-dyn221.cps.cmich.edu) (gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)) #1 Thu Apr 1 15:39:11 EST 2004
On node 0 totalpages: 32768
...
---> first one starts
RAMDISK: ext2 filesystem found at block 0
RAMDISK: image too big! (8000/4096 blocks)
Freeing initrd memory: 8000k freed
root_device_name = hda1
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 60k freed
EXT3 FS 2.4-0.9.19, 19 August 2002 on hd(3,1), internal journal

---> second one follows
Adding Swap: 262072k swap-space (priority -1)
ioctl 00005386 not supported by xl_block
-------------

Also, if the box is rebooted then there is a message
...
Syncing hardware clock to system time modeprobe: Can't locate module \
char-major-10-135

What module is that?

And the machine needs a hardware reset to reboot (as ti just sits there!)

This a Celeron based PC with Fedora-core-1 underlying system.

-ishwar



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* Re: A question on xen-1.2??
  2004-04-01 22:02   ` A question on xen-1.2?? I RATTAN
@ 2004-04-01 22:21     ` Ian Pratt
  2004-04-02  1:26       ` I RATTAN
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Pratt @ 2004-04-01 22:21 UTC (permalink / raw)
  To: I RATTAN; +Cc: xen-devel, Ian.Pratt

> 
> I have been able to compile and boot xeno-linux-2.4.24-xeno (used
> linux-2.4.25 generics sources this time).
> 
> I see two messages at boot, parts of dmesg shown:
> ---
> Linux version 2.4.25-xeno (root@pe-dyn221.cps.cmich.edu) (gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)) #1 Thu Apr 1 15:39:11 EST 2004
> On node 0 totalpages: 32768
> ...
> ---> first one starts
> RAMDISK: ext2 filesystem found at block 0
> RAMDISK: image too big! (8000/4096 blocks)
> Freeing initrd memory: 8000k freed

Are you intentionally trying to use an initrd ram disk?  If so,
what's in it?  Why is it so big? (this is a linux issue, not a
Xen one)

> root_device_name = hda1
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 60k freed
> EXT3 FS 2.4-0.9.19, 19 August 2002 on hd(3,1), internal journal
> 
> ---> second one follows
> Adding Swap: 262072k swap-space (priority -1)
> ioctl 00005386 not supported by xl_block
> -------------

I'll bet this is some random ioctl to do with audio on a
CDROM. We should figure out which one it is and add it to the
list that we ignore without grumbling about (or add support if it
might be useful). Stuff like this will go away in the new IO
world anyhow.

> Also, if the box is rebooted then there is a message
> ...
> Syncing hardware clock to system time modeprobe: Can't locate module \
> char-major-10-135
> 
> What module is that?

Probably the RTC driver. You don't want to use it with Xen
anyhow, so just disable it. (either remove the line from the rc
scripts, or you may be able to alias it to null in your modules.conf).
 
> And the machine needs a hardware reset to reboot (as ti just sits there!)

Odd. Are you booting with 'noreboot' on the Xen command line?

Ian


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* Re: A question on xen-1.2??
  2004-04-01 22:21     ` Ian Pratt
@ 2004-04-02  1:26       ` I RATTAN
  2004-04-02  8:39         ` Ian Pratt
  0 siblings, 1 reply; 8+ messages in thread
From: I RATTAN @ 2004-04-02  1:26 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel



On Thu, 1 Apr 2004, Ian Pratt wrote:

> >
> > I have been able to compile and boot xeno-linux-2.4.24-xeno (used
> > linux-2.4.25 generics sources this time).
> >
> > I see two messages at boot, parts of dmesg shown:
> > ---
> > Linux version 2.4.25-xeno (root@pe-dyn221.cps.cmich.edu) (gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)) #1 Thu Apr 1 15:39:11 EST 2004
> > On node 0 totalpages: 32768
> > ...
> > ---> first one starts
> > RAMDISK: ext2 filesystem found at block 0
> > RAMDISK: image too big! (8000/4096 blocks)
> > Freeing initrd memory: 8000k freed
>
> Are you intentionally trying to use an initrd ram disk?  If so,
> what's in it?  Why is it so big? (this is a linux issue, not a
> Xen one)

Interestingly it only 98K initrd..
In linux domain initrd of 1600K are working (initrd-2.4.22-1.2115,nptl.img
for uniprocessor kernel under Fedora).

> Odd. Are you booting with 'noreboot' on the Xen command line?
Yes, I am.

Thanks for the responses.
-ishwar


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* Re: A question on xen-1.2??
  2004-04-02  1:26       ` I RATTAN
@ 2004-04-02  8:39         ` Ian Pratt
  0 siblings, 0 replies; 8+ messages in thread
From: Ian Pratt @ 2004-04-02  8:39 UTC (permalink / raw)
  To: I RATTAN; +Cc: Ian Pratt, xen-devel

> > > RAMDISK: ext2 filesystem found at block 0
> > > RAMDISK: image too big! (8000/4096 blocks)
> > > Freeing initrd memory: 8000k freed
> >
> > Are you intentionally trying to use an initrd ram disk?  If so,
> > what's in it?  Why is it so big? (this is a linux issue, not a
> > Xen one)
> 
> Interestingly it only 98K initrd..
> In linux domain initrd of 1600K are working (initrd-2.4.22-1.2115,nptl.img
> for uniprocessor kernel under Fedora).

It looks like Linux is seeing it as a huge initrd. 

What version of Xen/Xenolinux are you using? Can you reproduce
the problem using binaries from either the CD or the nightly
builds?  (the boot messages suggested that you were building your
own). Is this a domain 0 boot or another domain?

Ian



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

end of thread, other threads:[~2004-04-02  8:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-01 11:36 xenolinux compilation error Carlos Alberto Pereira Gomes
2004-04-01 13:49 ` Ian Pratt
2004-04-01 14:21   ` Carlos Alberto Pereira Gomes
2004-04-01 22:02   ` A question on xen-1.2?? I RATTAN
2004-04-01 22:21     ` Ian Pratt
2004-04-02  1:26       ` I RATTAN
2004-04-02  8:39         ` Ian Pratt
2004-04-01 14:00 ` xenolinux compilation error Keir Fraser

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.