WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-fr

[Xen-fr] kernel panic suite

To: xen-fr@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-fr] kernel panic suite
From: philippe charlier <ph_charlier_be@xxxxxxxx>
Date: Mon, 10 Oct 2005 15:00:54 +0200 (CEST)
Delivery-date: Mon, 10 Oct 2005 12:58:15 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pTPs7NchEAZLMulAaHaZTayjsLla/DxqLQ3AQ5YOzL4R4lyYA2NHmfRAiERf/hBlfMLgG7LYCsXOIQwSTgd36p8XmlJD2l8Cj3zf2RwIgoe5BQgYxqna3+TjuKqZoyTGBWP90wC61Q1f8dpt8cv5ow9vPTVanYNMdpQtdB8ASR4= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-archive: <http://lists.xensource.com/archives/html/xen-fr>
List-help: <mailto:xen-fr-request@lists.xensource.com?subject=help>
List-id: xen-fr.lists.xensource.com
List-post: <mailto:xen-fr@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-fr>, <mailto:xen-fr-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-fr>, <mailto:xen-fr-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-fr@xxxxxxxxxxxxxxxxxxx
Sender: xen-fr-bounces@xxxxxxxxxxxxxxxxxxx
Bonjour a tous,

Toujours des problèmes avec XEN.

Avant tout, je suis sous SUSE 10.0 et j'ai installé le
pack de XEN qui est compris dans les cd de la
distribution.
Mon disque est un SATA

j'ai suivi la procédure décrite sur xenfr.org qui est
presque la meme que celle du site "officiel" de XEN.
J'ai donc decopié les fichiers d'installation dans un
"disque virtuel" que j'ai mis dans un répertoire
/stockage
Xen démarre bien et lorsque je lance xm create
/etc/xen/VM-Linux1, il me dit que le service est ok
mais, quand je demande la console, je vois qu'il y a
des erreurs.



==============================================
Voici la procedure que j'ai utilisé
-----------------------------------

linux:~ # dd if=/dev/zero of=/stockage/vm1disk bs=1k
seek=2048k count=1
1+0 records in
1+0 records out
1024 bytes (1.0 kB) copied, 7.2e-05 seconds, 14.2 MB/s
linux:~ #

------------
linux:~ # mkfs.reiserfs /stockage/vm1disk
mkfs.reiserfs 3.6.18 (2003 www.namesys.com)

A pair of credits:
Joshua Macdonald wrote the first draft of the
transaction manager. Yuri Rupasov
did testing  and benchmarking,  plus he invented the
r5 hash  (also used by the
dcache  code).  Yura  Rupasov,  Anatoly Pinchuk,  Igor
Krasheninnikov,  Grigory
Zaigralin,  Mikhail  Gilula,   Igor  Zagorovsky, 
Roman  Pozlevich,  Konstantin
Shvachko, and Joshua MacDonald are former contributors
to the project.

Lycos Europe  (www.lycos-europe.com)  had  a  support 
contract  with  us  that
consistently came in just when we would otherwise have
missed payroll, and that
they kept doubling every year. Much thanks to them.


/stockage/vm1disk is not a block special device
Use -f to force over
linux:~ #
-------------------------

linux:~ # mkfs.reiserfs /stockage/vm1disk -f
mkfs.reiserfs 3.6.18 (2003 www.namesys.com)

A pair of credits:
Lycos Europe  (www.lycos-europe.com)  had  a  support 
contract  with  us  that
consistently came in just when we would otherwise have
missed payroll, and that
they kept doubling every year. Much thanks to them.

BigStorage  (www.bigstorage.com)  contributes to our
general fund  every month,
and has done so for quite a long time.


/stockage/vm1disk is not a block special device
Continue (y/n):y
Guessing about desired format.. Kernel 2.6.13-8-smp is
running.
Format 3.6 with standard journal
Count of blocks on the device: 524288
Number of blocks consumed by mkreiserfs formatting
process: 8227
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: f8ab6562-1a87-4ab8-a4df-b74453fa61e4
Initializing journal -
0%....20%....40%....60%....80%....100%
Syncing..ok
ReiserFS is successfully created on /stockage/vm1disk.
linux:~ #     
-----------------------

linux:~ # mount -o loop /stockage/vm1disk /mnt
linux:~ #
-----------------------

linux:~ # cp -ax /{root,dev,var,etc,usr,bin,sbin,lib}
/mnt
-----------------------

linux:~ # mkdir /mnt/{proc,sys,home,tmp}
linux:~ #
-----------------------

linux:~ # umount /mnt



=============================================

---------------------
autre type erreur au démarrage
---------------------

linux:/etc/init.d # xm list
Name              Id  Mem(MB)  CPU VCPU(s)  State 
Time(s)
Domain-0           0      170    0      1   r----    
44.0
Linux2             1       64    1      1   r----    
74.3

----------
linux:/etc/init.d # xm console Linux2
Linux version 2.6.13-8-xen (geeko@buildhost) (gcc
version 4.0.2 20050901 (prerelease) (SUSE Linux)) #1
Tue Sep 6 12:59:22 UTC 2005
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000004000000 (usable)
0MB HIGHMEM available.
64MB LOWMEM available.
ACPI in unprivileged domain disabled
IRQ lockup detection disabled
Allocating PCI resources starting at 04000000 (gap:
04000000:fc000000)
Built 1 zonelists
Kernel command line:  ip=dhcp:1.2.3.4::::eth0:off
root=/dev/sda1 ro
Initializing CPU#0
PID hash table entries: 512 (order: 9, 8192 bytes)
Xen reported: 2792.996 MHz processor.
Dentry cache hash table entries: 16384 (order: 4,
65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768
bytes)
vmalloc area: c4800000-fb7fe000, maxmem 34000000
Memory: 60928k/65536k available (2255k kernel code,
4488k reserved, 706k data, 156k init, 0k highmem)
Checking if this processor honours the WP bit even in
supervisor mode... Ok.
Calibrating delay using timer specific routine..
5586.17 BogoMIPS (lpj=27930872)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... disabled
NET: Registered protocol family 16
store_evtchn = 2
ACPI: Subsystem revision 20050408
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If
it helps, post a report
PCI: System does not support PCI
PCI: System does not support PCI
TC classifier action (bugs to netdev@xxxxxxxxxxxxxxx
cc hadi@xxxxxxxxxx)
Grant table initialized
audit: initializing netlink socket (disabled)
audit(1128944562.270:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
Initializing Cryptographic API
vesafb: cannot reserve video memory at 0x0
vesafb: abort, cannot ioremap video memory 0x0 @ 0x0
Trying to free nonexistent resource
<00000000-ffffffff>
vesafb: probe of vesafb.0 failed with error -5
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 64000K
size 1024 blocksize
loop: loaded (max 8 devices)
Xen virtual console successfully installed as tty1
Event-channel device installed.
Neither TPM-BE Domain nor INIT domain!
xen_blk: Initialising virtual block device driver
Registering block device major 8
xen_net: Initialising virtual ethernet driver.
xen_net: Using grant tables.
xen_tpm_fr: Initialising the vTPM driver.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.2 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 3.38
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0,
4096 bytes)
TCP established hash table entries: 4096 (order: 3,
32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384
bytes)
TCP: Hash tables configured (established 4096 bind
4096)
TCP reno registered
NET: Registered protocol family 1
NET: Registered protocol family 8
NET: Registered protocol family 20
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Kernel panic - not syncing: VFS: Unable to mount root
fs on unknown-block(8,1)

-----------------------------


========================================

Mes fichers de config
---------------------
fstab dom0
----------
/dev/sda1            /                    reiserfs  
acl,user_xattr        1 1
/dev/sda3            /boot                ext2      
acl,user_xattr        1 2
/dev/sda4            /usr                 reiserfs  
acl,user_xattr        1 2
/dev/sda2            swap                 swap      
defaults              0 0
proc                 /proc                proc      
defaults              0 0
sysfs                /sys                 sysfs     
noauto                0 0
usbfs                /proc/bus/usb        usbfs     
noauto                0 0
devpts               /dev/pts             devpts    
mode=0620,gid=5       0 0
/dev/dvd             /media/dvd           subfs     
noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8
0 0
/dev/fd0             /media/floppy        subfs     
noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0


Grub
-------
# Modified by YaST2. Last modification on mar oct  4
08:46:05 UTC 2005

color white/blue black/light-gray
default 0
timeout 12
gfxmenu (hd0,2)/message

###Don't change this comment - YaST2 identifier:
Original name: linux###
title SUSE LINUX 10.0
    root (hd0,2)
    kernel /vmlinuz root=/dev/sda1 vga=0x317 selinux=0
 resume=/dev/sda2  splash=silent showopts
    initrd /initrd

###Don't change this comment - YaST2 identifier:
Original name: xen###
###demarre mais panic kernel mounting root
/dev/hda1###

title XEN
    root (hd0,2)
    kernel /boot/xen-3.0_6610-2.gz dom0_mem=180000


#   kernel /boot/xen.gz dom0_mem=180000
    module /boot/vmlinuz-2.6.13-8-xen root=/dev/sda1
ro vga=0x317 selinux=0 console=tty0 nics=1
resume=/dev/sda2 splash=silent showopts
    module /boot/initrd-xen

###Don't change this comment - YaST2 identifier:
Original name: floppy###
title Disquette
    chainloader (fd0)+1

###Don't change this comment - YaST2 identifier:
Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
    root (hd0,2)
    kernel /vmlinuz root=/dev/sda1 vga=normal showopts
ide=nodma apm=off acpi=off noresume selinux=0 nosmp
noapic maxcpus=0 edd=off 3
    initrd /initrd




le fichier de config de la machine virtuelle
/etc/xen/VM-Linux1

#----------------------------------------------------------------------------
# Kernel image file.
kernel = "/boot/vmlinuz-2.6.13-8-xen"
#kernel = "usr/lib/xen/boot/vmxloader"

# Optional ramdisk.
#ramdisk = "/boot/initrd-2.6.13-8-xen"

# The domain build function. Default is 'linux'.
#builder='linux'

# Initial memory allocation (in megabytes) for the new
domain.
memory = 64

# A name for your domain. All domains must have
different names.
name = "Linux2"

# Which CPU to start domain on? 
#cpu = -1   # leave to Xen to pick

#----------------------------------------------------------------------------
# Define network interfaces.

# Number of network interfaces. Default is 1.
nics=1

# Optionally define mac and/or bridge for the network
interfaces.
# Random MACs are assigned if not given.
#vif = [ 'mac=aa:cc:00:00:00:%02x, bridge=xenbr0' %
vmid ]

#----------------------------------------------------------------------------
# Define the disk devices you want the domain to have
access to, and
# what you want them accessible as.
# Each disk entry is of the form phy:UNAME,DEV,MODE
# where UNAME is the device, DEV is the device name
the domain will see,
# and MODE is r for read-only, w for read-write.

#disk = [ 'file:/usr/local/rescue%i,hde1,w' % (vmid) ]
#disk = [ 'file:/stockage/vm1disk,sda1,w' ]
disk = [ 'file:/stockage/vm1disk,sda1,w' ]


#'file:/stockage/swap1disk,sda2,w' ]
#disk = [ 'phy:hda1,hda1,r' ]
#disk = [ 'phy:VGsystem/LVxen%i,hda1,w' % (vmid) ]
#disk = [ 'phy:sda%d,sda1,w' % (7+vmid),
#         'phy:sda6,sda6,r' ]

#----------------------------------------------------------------------------
# Set the kernel command line for the new domain.
# You only need to define the IP parameters and
hostname if the domain's
# IP config doesn't, e.g. in ifcfg-eth0 or via DHCP.
# You can use 'extra' to set the runlevel and custom
environment
# variables used by custom rc scripts (e.g. VMID=,
usr= ).

# Set if you want dhcp to allocate the IP address.
#dhcp ='dhcp'
ip='dhcp'

# Set ip
#ip = "192.168.222.%i/27" % (8+vmid)
# Set netmask.
#netmask = "255.255.255.192"
# Set default gateway.
#gateway = "192.168.222.1"
# Set the hostname.
#hostname= "rescue%d" % vmid

# Set root device, see disk def above.
root = '/dev/sda1 ro'

# Root device for nfs.
# root = "/dev/nfs"
# The nfs server.
#nfs_server = '169.254.1.0'  
# Root directory on the nfs server.
#nfs_root   = '/full/path/to/root/directory'

# Sets runlevel 3.
#extra = "3"

#----------------------------------------------------------------------------
# Set according to whether you want the domain
restarted when it exits.
# The default is 'onreboot', which restarts the domain
when it shuts down
# with exit code reboot.
# Other values are 'always', and 'never'.

#restart = 'onreboot'

#============================================================================


Si quelqu'un a une idée "du pourquoi"  du message
d'erreur dans mon démarrage ......

Par avance un grand merci


        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

_______________________________________________
Xen-fr mailing list
Xen-fr@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-fr

<Prev in Thread] Current Thread [Next in Thread>