Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XEN and Raid
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Wed Sep 09, 2009 8:28 pm    Post subject: XEN and Raid Reply with quote

I've installed a new Gentoo server and am having a bad time trying to configure XEN using RAID1.

RAID 1 is already working on my server, and XEN is also installed.
The problem is when I try to start a domU it wont find the md devices,
causing a kernel panic: Unable to mount VFS....

I'm running xen-sources 2.6.18 and kernel is working fine.
The only problem is that the image cant find the md raid device.

Any idea?

Thanks in advance.
Rafael
Back to top
View user's profile Send private message
anello
Guru
Guru


Joined: 17 Jul 2005
Posts: 557
Location: EU -> DE -> Stuttgart

PostPosted: Wed Sep 09, 2009 8:53 pm    Post subject: Reply with quote

You have to post more info on your domU. Like the config file ...
_________________
Antonino Catinello | http://catinello.eu
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Wed Sep 09, 2009 9:02 pm    Post subject: Reply with quote

This is the config file:

# SCRIPT PARA DOMINIO VIRTUALIZADO
kernel = "/home/virtual/xen-kernel/kernel-2.6.18-xen"
memory = 1024
#builder='hvm'
name = "garopa"
disk = ['file:/home/virtual/xen-images/garopa.img,md4,w']
root = "/dev/md4 ro"

vif = [ 'ip=X.X.X.X, vifname=eth5', " mac=00:16:3e:06:60:20, bridge=xenbr0 "]
vcpus = '1'

The /home/virtual is my sda4 -- as raid: md4. It is mounted and working.
I cant get domU to boot because it wont find the root partition.

Thanks!


Last edited by raffus on Fri Sep 11, 2009 2:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
aceFruchtsaft
Guru
Guru


Joined: 16 May 2004
Posts: 438
Location: Vienna, Austria

PostPosted: Wed Sep 09, 2009 10:02 pm    Post subject: Reply with quote

Why don't you expose the image file as sda1 (or sda, if you want to partition it). I don't see any benefit in telling the domU to use it as md4.

Quote:

The /home/virtual is my sda4 -- as raid: md4.

This does not really make sense. Either it's not on a RAID, then it's sda4.. or it's on a RAID, then it may be md4. But not both.
From the domU's point of view it does not matter anyway, as you are using an image as its filesystem.

Update:

Coming to thing about, it probably does not matter much what you call the block device in domU. However, assuming that you have a paravirtualized domU running Linux, you have to make sure that the xenblk kernel module is in your initrd. Without this driver, the domU will not be able to see those block devices.
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Fri Sep 11, 2009 1:25 pm    Post subject: Reply with quote

Thanks for helping Ace!

What I have is my /dev/sda4 mounted as RAID (so it became /dev/md4).
This is a partition where I intend to store all the domU images, so if I want to add 10 or more images to the disk I can just create another .img file.

The main problem is that domU is not recognizing the disk. I've tried this:
Code:

disk = ['file:/home/virtual/xen-images/garopa.img,md4,w']
root = "/dev/md4 ro"


And also this:
Code:

disk = ['file:/home/virtual/xen-images/garopa.img,sda4,w']
root = "/dev/sda4 ro"


And this is my raid mounted:
/dev/md4 622G 31G 592G 5% /home/virtual

But in both cases domU wont find the disk and keeps giving me Kernel Panic: Unable to load VFS...

Any idea?

Thanks in advance.


Last edited by raffus on Fri Sep 11, 2009 2:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Fri Sep 11, 2009 1:37 pm    Post subject: Reply with quote

This is my Kernel [xen] config:

Code:

[ ] Privileged Guest (domain 0)
<*> Backend driver support
<*>   Block-device backend driver
<*>   Block-device tap backend driver
<*>   Network-device backend driver
[*]     Pipelined transmitter (DANGEROUS)
<M>     Network-device loopback driver
< >   TPM-device backend driver
<M>   SCSI backend driver (NEW)
<*> Block-device frontend driver
<*> Network-device frontend driver
<M>   Network-device frontend driver acceleration for Solarflare NICs (NEW)
<M> SCSI frontend driver (NEW)
< > User-space granted page access driver (NEW)
[*] Scrub memory before freeing it to Xen
[*] Disable serial port drivers
<*> Export Xen attributes in sysfs
    Xen version compatibility (3.0.2 and later)  ---> 


Is there anything wrong?

Thanks!
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Fri Sep 11, 2009 1:50 pm    Post subject: Reply with quote

This is what I get when I try to start the domU:

Code:
xm create -c /etc/xen/auto/garopa
Using config file "/etc/xen/auto/garopa".
Started domain garopa (id=2)
Bootdata ok (command line is root=/dev/md4 ro )
Linux version 2.6.18-xen-r12 (root@draco) (gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) ) #1 SMP Fri Sep 11 21:41:31 BRT 2009
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000040800000 (usable)
Built 1 zonelists.  Total pages: 260580
Kernel command line: root=/dev/md4 ro
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2493.754 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Software IO TLB disabled
Memory: 1023452k/1056768k available (2348k kernel code, 24832k reserved, 1075k data, 152k init)
Calibrating delay using timer specific routine.. 4989.57 BogoMIPS (lpj=9979147)
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 2
SMP alternatives: switching to UP code
Freeing SMP alternatives: 36k freed
Brought up 1 CPUs
migration_cost=0
NET: Registered protocol family 16
Brought up 1 CPUs
suspend: event channel 6
xen_mem: Initialising balloon driver.
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
rtc: IRQ 8 is not free.
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?)
Failed to obtain physical IRQ 6
floppy0: Unable to grab DMA2 for the floppy driver
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
netconsole: not configured, aborting
Xen virtual console successfully installed as xvc0
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
xen-vbd: registered block device major 8
blkfront: sda4: barriers enabled
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: raid1 personality registered for level 1
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
xenoprofile_init: ret 0, events 2, xenoprof_is_primary 0
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
XENBUS: Device with no driver: device/console/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Insert root floppy and press ENTER


I've also tried to create the ramdisk by doing this:
Code:

mkinitrd /boot/initrd-2.6.18-xen 2.6.18-xen-r12


Adding it to the config file:
Code:

ramdisk = "/boot/initrd-2.6.18-xen"


Still not working...

Any help would be very appreciated.

Thanks.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1799
Location: Oranienburg/Germany

PostPosted: Fri Sep 11, 2009 2:33 pm    Post subject: Reply with quote

It should look more like this:

Code:

disk = ['file:/home/virtual/xen-images/garopa.img,sda1,w']
root = "/dev/sda1 ro"


And you should have /dev/sda1 in your fstab for the root filesystem in the DomU. Also make sure, you dont have this when booting your DomU in your dmesg of the DomU:

Code:

Kernel command line: root=/dev/md4 ro


It must look like this then:

Code:

Kernel command line: root=/dev/sda1 ro


bb
_________________
1st: i5-7400, 16GB, 2TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 32GB, 14.5TB
4th: i5-3210M, 8GB, 512GB
5th: i5-3210M, 8GB, 120GB
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Fri Sep 11, 2009 2:39 pm    Post subject: Reply with quote

Thanks bb!

We're getting closer!

Now, I guess there is another problem.

Code:
Using config file "/etc/xen/auto/garopa".
Started domain garopa (id=6)
Bootdata ok (command line is root=/dev/sda1 ro )
Linux version 2.6.18-xen-r12 (root@draco) (gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) ) #1 SMP Fri Sep 11 21:41:31 BRT 2009
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000040800000 (usable)
Built 1 zonelists.  Total pages: 260580
Kernel command line: root=/dev/sda1 ro
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2493.748 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Software IO TLB disabled
Memory: 1023452k/1056768k available (2348k kernel code, 24832k reserved, 1075k data, 152k init)
Calibrating delay using timer specific routine.. 4989.49 BogoMIPS (lpj=9978980)
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 3
SMP alternatives: switching to UP code
Freeing SMP alternatives: 36k freed
Brought up 1 CPUs
migration_cost=0
NET: Registered protocol family 16
Brought up 1 CPUs
suspend: event channel 6
xen_mem: Initialising balloon driver.
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
rtc: IRQ 8 is not free.
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?)
Failed to obtain physical IRQ 6
floppy0: Unable to grab DMA2 for the floppy driver
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
netconsole: not configured, aborting
Xen virtual console successfully installed as xvc0
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
xen-vbd: registered block device major 8
blkfront: sda1: barriers enabled
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: raid1 personality registered for level 1
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
xenoprofile_init: ret 0, events 2, xenoprof_is_primary 0
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
XENBUS: Device with no driver: device/console/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k freed


It freezes after mounting the partition.

Any idea?
Thanks!
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1799
Location: Oranienburg/Germany

PostPosted: Fri Sep 11, 2009 2:57 pm    Post subject: Reply with quote

Add this to your config and try again:

Code:

extra = 'xencons=xvc0 console=xvc0'


bb
_________________
1st: i5-7400, 16GB, 2TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 32GB, 14.5TB
4th: i5-3210M, 8GB, 512GB
5th: i5-3210M, 8GB, 120GB
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Fri Sep 11, 2009 3:21 pm    Post subject: Reply with quote

Thanks BB!! Almost there!!!

Now it is still freezing, but got better:
Code:
Gentoo Linux; http://www.gentoo.org/
 Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2

Press I to enter interactive boot mode

 * Mounting proc at /proc ...                                             [ ok ]
 * Mounting sysfs at /sys ...                                             [ ok ]
 * You need at least Linux kernel 2.6.22 for reliable operation of udev.
 * Mounting /dev ...                                                      [ ok ]
 * Starting udevd ...                                                     [ ok ]
 * Populating /dev with existing devices through uevents ...              [ ok ]
 * Waiting for uevents to be processed ...                                [ ok ]
 * Mounting devpts at /dev/pts ...                                        [ ok ]
 * Checking root filesystem .../dev/sda1: clean, 192856/1966080 files, 531760/7864320 blocks
                                           [ ok ]
 * Remounting root filesystem read/write ...                              [ ok ]
FATAL: Could not load /lib/modules/2.6.18-xen-r12/modules.dep: No such file or directory
 * Checking all filesystems ...                                           [ ok ]
 * Mounting local filesystems ...                                         [ ok ]
 * Activating (possible) swap ...swapon: /proc/swaps: unexpected file format
                                         [ ok ]
 * Setting system clock using the hardware clock [xen] ...                [ ok ]
 * Configuring kernel parameters ...                                      [ ok ]
 * Updating environment ...                                               [ ok ]
 * Cleaning /var/lock, /var/run ...                                       [ ok ]
 * Wiping /tmp directory ...                                              [ ok ]
 * Device initiated services: udev-postmount
 * Setting hostname to localhost ...                                      [ ok ]
 * Loading key mappings ...                                               [ ok ]
 * Setting user font ...                                                  [ ok ]
 * Starting lo
 *   Bringing up lo
 *     127.0.0.1/8
                                                                          [ ok ]
 *   Adding routes
 *     127.0.0.0/8 ...                                                    [ ok ]
 * Initializing random number generator ...                               [ ok ]
INIT: Entering runlevel: 3
 * Mounting network filesystems ...                                       [ ok ]
 * Starting local ...                                                     [ ok ]


If freezes at "Starting local"...

Anything else I should add to the config file?

Thanks!
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1799
Location: Oranienburg/Germany

PostPosted: Fri Sep 11, 2009 3:59 pm    Post subject: Reply with quote

first, you should downgrade the udev version or upgrade the xen-kernel as suggested in the log you posted. Check for a newer kernel right here: https://forums.gentoo.org/viewtopic-t-709908.html

andylyon provides new kernels with xen-patches. I wasnt able to get every version running, but it seems a lot of other users were able to get it running.

bb

EDIT: you could try disabling local as well, but your udev issue will stay.
_________________
1st: i5-7400, 16GB, 2TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 32GB, 14.5TB
4th: i5-3210M, 8GB, 512GB
5th: i5-3210M, 8GB, 120GB
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Fri Sep 11, 2009 6:58 pm    Post subject: Reply with quote

Hi BB,

I did download the xen-sources from Google (http://code.google.com/p/gentoo-xen-kernel/downloads/detail?name=xen-sources-2.6.29-r4.ebuild&can=2&q=)

I'm now working with kernel 2.6.29 and still got the same error.

It freezes after local load.
Code:
Press I to enter interactive boot mode

 * Mounting proc at /proc ...                                             [ ok ]
 * Mounting sysfs at /sys ...                                             [ ok ]
 * Mounting /dev ...                                                      [ ok ]
 * Starting udevd ...                                                     [ ok ]
 * Populating /dev with existing devices through uevents ...              [ ok ]
 * Waiting for uevents to be processed ...                                [ ok ]
 * Mounting devpts at /dev/pts ...                                        [ ok ]
 * Checking root filesystem .../dev/sda1: clean, 194589/1966080 files, 537498/7864320 blocks
                                           [ ok ]
 * Remounting root filesystem read/write ...                              [ ok ]
FATAL: Could not load /lib/modules/2.6.29-xen-r4/modules.dep: No such file or directory
 * Checking all filesystems ...                                           [ ok ]
 * Mounting local filesystems ...                                         [ ok ]
 * Activating (possible) swap ...swapon: cannot stat /swap.img: No such file or directory
                                         [ !! ]
 * Setting system clock using the hardware clock [xen] ...                [ ok ]
 * Configuring kernel parameters ...                                      [ ok ]
 * Updating environment ...                                               [ ok ]
 * Cleaning /var/lock, /var/run ...                                       [ ok ]
 * Wiping /tmp directory ...                                              [ ok ]
 * Device initiated services: udev-postmount
 * Setting hostname to localhost ...                                      [ ok ]
 * Loading key mappings ...                                               [ ok ]
 * Setting user font ...                                                  [ ok ]
 * Starting lo
 *   Bringing up lo
 *     127.0.0.1/8
                                                                          [ ok ]
 *   Adding routes
 *     127.0.0.0/8 ...                                                    [ ok ]
 * Initializing random number generator ...                               [ ok ]
INIT: Entering runlevel: 3
 * Mounting network filesystems ...                                       [ ok ]
 * Starting local ...                                                     [ ok ]


I'm running udev 151-r1.

Also, I've booted using interactive-mode and skipped the local load and also got frozen.
Code:
About to start the service netmount
1) Start service          3) Continue boot process
2) Skip service           4) Exit to shell
Enter your selection: 1
 * Mounting network filesystems ...                                       [ ok ]

About to start the service local
1) Start service          3) Continue boot process
2) Skip service           4) Exit to shell
Enter your selection: 2




any idea?

Thanks!
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Fri Sep 11, 2009 8:20 pm    Post subject: Reply with quote

The problem seems to be at the login screen.
I think it freezes when the system is ready to ask login information.

Any idea?
thanks.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1799
Location: Oranienburg/Germany

PostPosted: Fri Sep 11, 2009 11:00 pm    Post subject: Reply with quote

Maybe the tty settings in your inittab of the DomU are incorrect. Or you need one more option in your cfg-file for the DomU. Ill check this later. It too late for me now. Need some sleep.

If you are able to understand/read german, you should checkout this: http://www.pug.org/mediawiki/index.php/Xen-Installation

bb
_________________
1st: i5-7400, 16GB, 2TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 32GB, 14.5TB
4th: i5-3210M, 8GB, 512GB
5th: i5-3210M, 8GB, 120GB
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Sat Sep 12, 2009 1:10 pm    Post subject: Reply with quote

Wow BB.
German is too advanced for me! :)
I'm just a Brazilian!

Anyway I'll wait for further instructions.
I really have to replace a bugging server for this one and I'm having a bad time.

Thanks a lot!
Rafael
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1799
Location: Oranienburg/Germany

PostPosted: Sat Sep 12, 2009 1:14 pm    Post subject: Reply with quote

You could check out these prebuild xen images. They should all boot out of the box: http://stacklet.com/

bb
_________________
1st: i5-7400, 16GB, 2TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 32GB, 14.5TB
4th: i5-3210M, 8GB, 512GB
5th: i5-3210M, 8GB, 120GB
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Sat Sep 12, 2009 3:06 pm    Post subject: Reply with quote

Hi BB!

Thanks again.

I worked with the downloaded image.

Also I've noticed that my image works on SSH, but it wont show the login screen.

Look what I got in my message log file:


Code:
Sep 13 01:59:13 garopa shutdown[3888]: shutting down for system reboot
Sep 13 01:59:36 garopa ------------[ cut here ]------------
Sep 13 01:59:36 garopa WARNING: at /usr/src/linux-2.6.29-xen-r4/drivers/firmware/dmi_scan.c:425 dmi_matches+0x2a/0x76()
Sep 13 01:59:36 garopa dmi check: not initialized yet.
Sep 13 01:59:36 garopa Modules linked in:
Sep 13 01:59:36 garopa Pid: 0, comm: swapper Not tainted 2.6.29-xen-r4 #2
Sep 13 01:59:36 garopa Call Trace:
Sep 13 01:59:36 garopa [<ffffffff8022b279>] warn_slowpath+0xd8/0x112
Sep 13 01:59:36 garopa [<ffffffff804b370d>] printk+0x4e/0x56
Sep 13 01:59:36 garopa [<ffffffff8064c7b7>] reserve_early+0x13/0x28
Sep 13 01:59:36 garopa [<ffffffff80400010>] dmi_matches+0x2a/0x76
Sep 13 01:59:36 garopa [<ffffffff80400098>] dmi_check_system+0x15/0x41
Sep 13 01:59:36 garopa [<ffffffff8064ae6a>] setup_arch+0x21a/0xb8a
Sep 13 01:59:36 garopa [<ffffffff806476d5>] start_kernel+0x93/0x32e
Sep 13 01:59:36 garopa [<ffffffff806471c1>] x86_64_start_kernel+0xaf/0xb5
Sep 13 01:59:36 garopa ---[ end trace 4eaa2a86a8e2da22 ]---
Sep 13 01:59:36 garopa ------------[ cut here ]------------
Sep 13 01:59:36 garopa WARNING: at /usr/src/linux-2.6.29-xen-r4/drivers/firmware/dmi_scan.c:425 dmi_matches+0x2a/0x76()
Sep 13 01:59:36 garopa dmi check: not initialized yet.
Sep 13 01:59:36 garopa Modules linked in:
Sep 13 01:59:36 garopa Pid: 0, comm: swapper Tainted: G        W  2.6.29-xen-r4 #2
Sep 13 01:59:36 garopa Call Trace:
Sep 13 01:59:36 garopa [<ffffffff8022b279>] warn_slowpath+0xd8/0x112
Sep 13 01:59:36 garopa [<ffffffff804b370d>] printk+0x4e/0x56
Sep 13 01:59:36 garopa [<ffffffff8064c7b7>] reserve_early+0x13/0x28
Sep 13 01:59:36 garopa [<ffffffff80400010>] dmi_matches+0x2a/0x76
Sep 13 01:59:36 garopa [<ffffffff80400098>] dmi_check_system+0x15/0x41
Sep 13 01:59:36 garopa [<ffffffff8064ae6a>] setup_arch+0x21a/0xb8a
Sep 13 01:59:36 garopa [<ffffffff806476d5>] start_kernel+0x93/0x32e
Sep 13 01:59:36 garopa [<ffffffff806471c1>] x86_64_start_kernel+0xaf/0xb5
Sep 13 01:59:36 garopa ---[ end trace 4eaa2a86a8e2da23 ]---
Sep 13 01:59:36 garopa ------------[ cut here ]------------
Sep 13 01:59:36 garopa WARNING: at /usr/src/linux-2.6.29-xen-r4/drivers/firmware/dmi_scan.c:425 dmi_matches+0x2a/0x76()
Sep 13 01:59:36 garopa dmi check: not initialized yet.
Sep 13 01:59:36 garopa Modules linked in:
Sep 13 01:59:36 garopa Pid: 0, comm: swapper Tainted: G        W  2.6.29-xen-r4 #2
Sep 13 01:59:36 garopa Call Trace:
Sep 13 01:59:36 garopa [<ffffffff8022b279>] warn_slowpath+0xd8/0x112
Sep 13 01:59:36 garopa [<ffffffff804b370d>] printk+0x4e/0x56
Sep 13 01:59:36 garopa [<ffffffff8064c7b7>] reserve_early+0x13/0x28
Sep 13 01:59:36 garopa [<ffffffff806471c1>] x86_64_start_kernel+0xaf/0xb5
Sep 13 01:59:36 garopa [<ffffffff80400010>] dmi_matches+0x2a/0x76
Sep 13 01:59:36 garopa [<ffffffff80400098>] dmi_check_system+0x15/0x41
Sep 13 01:59:36 garopa [<ffffffff8064ae6a>] setup_arch+0x21a/0xb8a
Sep 13 01:59:36 garopa [<ffffffff806476d5>] start_kernel+0x93/0x32e
Sep 13 01:59:36 garopa [<ffffffff806471c1>] x86_64_start_kernel+0xaf/0xb5
Sep 13 01:59:36 garopa ---[ end trace 4eaa2a86a8e2da24 ]---
Sep 13 01:59:36 garopa (3 early reservations) ==> bootmem [0000000000 - 0040000000]
Sep 13 01:59:36 garopa #0 [0000200000 - 0000757c6c]    TEXT DATA BSS ==> [0000200000 - 0000757c6c]
Sep 13 01:59:36 garopa #1 [0000758000 - 0000964000]     Xen provided ==> [0000758000 - 0000964000]
Sep 13 01:59:36 garopa #2 [0000964000 - 0000b6b000]          PGTABLE ==> [0000964000 - 0000b6b000]
Sep 13 01:59:36 garopa Zone PFN ranges:
Sep 13 01:59:36 garopa DMA      0x00000000 -> 0x00001000
Sep 13 01:59:36 garopa DMA32    0x00001000 -> 0x00100000

Sep 13 01:59:36 garopa WARNING: at /usr/src/linux-2.6.29-xen-r4/drivers/firmware/dmi_scan.c:425 dmi_matches+0x2a/0x76()
Sep 13 01:59:36 garopa dmi check: not initialized yet.
Sep 13 01:59:36 garopa Modules linked in:
Sep 13 01:59:36 garopa Pid: 1, comm: swapper Tainted: G        W  2.6.29-xen-r4 #2
Sep 13 01:59:36 garopa Call Trace:
Sep 13 01:59:36 garopa [<ffffffff8022b279>] warn_slowpath+0xd8/0x112
Sep 13 01:59:36 garopa [<ffffffff804b462f>] schedule_timeout+0x1e/0xc9
Sep 13 01:59:36 garopa [<ffffffff8023e456>] autoremove_wake_function+0x9/0x2e
Sep 13 01:59:36 garopa [<ffffffff80220563>] __wake_up_common+0x44/0x73
Sep 13 01:59:36 garopa [<ffffffff80220cbf>] __wake_up+0x30/0x44
Sep 13 01:59:36 garopa [<ffffffff80281e86>] kfree+0x46/0x192
Sep 13 01:59:36 garopa [<ffffffff80365b69>] kobject_uevent_env+0x389/0x3b0
Sep 13 01:59:36 garopa [<ffffffff802312cb>] sysctl_set_parent+0x23/0x37
Sep 13 01:59:36 garopa [<ffffffff802312cb>] sysctl_set_parent+0x23/0x37
Sep 13 01:59:36 garopa [<ffffffff802327c9>] __register_sysctl_paths+0x1ca/0x28a
Sep 13 01:59:36 garopa [<ffffffff80400010>] dmi_matches+0x2a/0x76
Sep 13 01:59:36 garopa [<ffffffff8065b642>] i8042_init+0x0/0xe5
Sep 13 01:59:36 garopa [<ffffffff80400098>] dmi_check_system+0x15/0x41
Sep 13 01:59:36 garopa [<ffffffff8065b671>] i8042_init+0x2f/0xe5
Sep 13 01:59:36 garopa [<ffffffff80208051>] _stext+0x51/0x159
Sep 13 01:59:36 garopa [<ffffffff802c62d4>] create_proc_entry+0x7d/0x92
Sep 13 01:59:36 garopa [<ffffffff80252586>] register_irq_proc+0x94/0xac
Sep 13 01:59:36 garopa [<ffffffff806473b0>] kernel_init+0x12b/0x183
Sep 13 01:59:36 garopa [<ffffffff8020b3ea>] child_rip+0xa/0x20
Sep 13 01:59:36 garopa [<ffffffff80647285>] kernel_init+0x0/0x183
Sep 13 01:59:36 garopa [<ffffffff8020b3e0>] child_rip+0x0/0x20
Sep 13 01:59:36 garopa ---[ end trace 4eaa2a86a8e2da2b ]---
Sep 13 01:59:36 garopa ------------[ cut here ]------------
Sep 13 01:59:36 garopa md: raid1 personality registered for level 1
Sep 13 01:59:36 garopa xenoprofile_init: ret 0, events 2, xenoprof_is_primary 0
Sep 13 01:59:36 garopa TCP cubic registered
Sep 13 01:59:36 garopa NET: Registered protocol family 10
Sep 13 01:59:36 garopa IPv6 over IPv4 tunneling driver
Sep 13 01:59:36 garopa NET: Registered protocol family 17
Sep 13 01:59:36 garopa RPC: Registered udp transport module.
Sep 13 01:59:36 garopa RPC: Registered tcp transport module.
Sep 13 01:59:36 garopa XENBUS: Device with no driver: device/console/0
Sep 13 01:59:36 garopa md: Waiting for all devices to be available before autodetect
Sep 13 01:59:36 garopa md: If you don't use raid, use raid=noautodetect
Sep 13 01:59:36 garopa md: Autodetecting RAID arrays.
Sep 13 01:59:36 garopa md: Scanned 0 and added 0 devices.
Sep 13 01:59:36 garopa md: autorun ...
Sep 13 01:59:36 garopa md: ... autorun DONE.
Sep 13 01:59:36 garopa ReiserFS: sda1: found reiserfs format "3.6" with standard journal
Sep 13 01:59:36 garopa ReiserFS: sda1: using ordered data mode
Sep 13 01:59:36 garopa ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
Sep 13 01:59:36 garopa ReiserFS: sda1: checking transaction log (sda1)
Sep 13 01:59:36 garopa ReiserFS: sda1: Using r5 hash to sort names
Sep 13 01:59:36 garopa VFS: Mounted root (reiserfs filesystem) readonly on device 8:1.
Sep 13 01:59:36 garopa Freeing unused kernel memory: 232k freed
Sep 13 01:59:36 garopa udev: starting version 141
Sep 13 01:59:36 garopa Adding 1023992k swap on /swap.img.  Priority:-1 extents:33 across:1085668k SS
Sep 13 01:59:37 garopa sshd[3735]: Server listening on 0.0.0.0 port 22.
Sep 13 01:59:37 garopa sshd[3735]: Server listening on :: port 22.
Sep 13 01:59:37 garopa cron[3792]: (CRON) STARTUP (V5.0)
Sep 13 01:59:43 garopa eth0: no IPv6 routers present
Sep 13 01:59:54 garopa sshd[3875]: Accepted keyboard-interactive/pam for root from 10.0.1.203 port 53206 ssh2
Sep 13 01:59:54 garopa sshd[3875]: pam_unix(sshd:session): session opened for user root by (uid=0)


But this also happened on the downloaded image.

Any idea?

I just installed the domU by downloading this files:
http://www.las.ic.unicamp.br/pub/gentoo/releases/snapshots/2008.0/portage-2008.0.tar.bz2
http://www.las.ic.unicamp.br/pub/gentoo/releases/amd64/2008.0/stages/stage3-amd64-2008.0.tar.bz2

These files were used to install the dom0 box.

What may be the cause of this error?

Thank you for your help and patience.

Rafael
Back to top
View user's profile Send private message
raffus
n00b
n00b


Joined: 20 Aug 2009
Posts: 15

PostPosted: Sat Sep 12, 2009 3:36 pm    Post subject: Reply with quote

Hey BB!

I got it working!!!!

I had to change the extra parameter in config file to:
extra = 'console=hvc0 xencons=tty'

It worked. Now its asking for login information.

Thanks a lot for your help!!!
Rafael
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum