[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: Problem with ssci disk


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "David HUSSER" <paracyber@xxxxxxxxx>
  • Date: Fri, 8 Dec 2006 15:08:05 +0100
  • Delivery-date: Fri, 08 Dec 2006 06:08:18 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=LdbL86hysRPrUGGjeEVHswcwO44ZGKH/1lMk3e2Aq9v4sK8GgJWx79Y8mVHG3lfkjnNxUlTvu/m5llyJODDjdCineCoFA0qsBmg+Q6DPXiE49nEjfWd4dtadiIaljZ9t8rIz92VQThmXvjjEwgTunZFDaCEeCFxB5AQ2Ige2//k=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I think i find the solution. I forget the support for compressed rom in the kernel. Thx fedora to give us guest kernel without this "option" (especially when we need to charge scsi drivers at startup) :-( :-( :-( :-( :-(

On 12/8/06, David HUSSER <paracyber@xxxxxxxxx> wrote:
Hi all,
I have a problem during the lauching of my first virtual image.
First thing : domain 0 is on fedora core 6 (probably a xen package made in fedora :-S, sorry ...)
Second thing : the error is really traditional (i already had it with uml) but there i am blocking.
here my config file (for image on logical volume, swap too)
root = "/dev/sda1 ro"
[root@p-virtvip8 xen]# cat p-virtser9
kernel = "/boot/vmlinuz-2.6.18-1.2798.fc6xen"
initrd = "/boot/initrd- 2.6.18-1.2798.fc6xen.img"
memory = 100
name = "p-virtvip9"
vif = ['mac=00:16:3E:10:10:09, bridge=xenbr0', 'mac=00:16:3E:20:00:09, bridge=xenbr1']
disk = ['phy:VG1_XenBackend/RHEL4_root_vip9,sda1,w', 'phy:VG1_XenBackend/RHEL4_swap_vip9,sda2,w']
root = "/dev/sda1 ro"

The log is :
[root@p-virtvip8 linux-2.6.19]# xm create -c /etc/xen/p-virtser9
Using config file "/etc/xen/p-virtser9".
Started domain p-virtvip9
Linux version 2.6.18-1.2798.fc6xen (brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 15:11:19 EDT 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000006c00000 (usable)
0MB HIGHMEM available.
108MB LOWMEM available.
Using x86 segment limits to approximate NX protection
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 27648
Kernel command line:  root=/dev/sda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c078a000 soft=c076a000
PID hash table entries: 512 (order: 9, 2048 bytes)
Xen reported: 3200.112 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Software IO TLB disabled
vmalloc area: c7800000-f4ffe000, maxmem 2d7fe000
Memory: 96724k/110592k available (2097k kernel code, 5516k reserved, 840k data, 180k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 8005.11 BogoMIPS (lpj=16010227)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
Brought up 1 CPUs
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 4, 81920 bytes)
TCP bind hash table entries: 2048 (order: 3, 40960 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
audit: initializing netlink socket (disabled)
audit(1165580347.856:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 8BDC589434DBC709
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Xen virtual console successfully installed as xvc0
Linux version 2.6.18-1.2798.fc6xen ( brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 15:11:19 EDT 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000006c00000 (usable)
0MB HIGHMEM available.
108MB LOWMEM available.
Using x86 segment limits to approximate NX protection
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 27648
Kernel command line:  root=/dev/sda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c078a000 soft=c076a000
PID hash table entries: 512 (order: 9, 2048 bytes)
Xen reported: 3200.112 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Software IO TLB disabled
vmalloc area: c7800000-f4ffe000, maxmem 2d7fe000
Memory: 96724k/110592k available (2097k kernel code, 5516k reserved, 840k data, 180k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 8005.11 BogoMIPS (lpj=16010227)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
Brought up 1 CPUs
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 4, 81920 bytes)
TCP bind hash table entries: 2048 (order: 3, 40960 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
IA-32 Microcode Update Driver: v1.14-xen < tigran@xxxxxxxxxxx>
audit: initializing netlink socket (disabled)
audit(1165580347.856:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 8BDC589434DBC709
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Xen virtual console successfully installed as xvc0
Event-channel device installed.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide-floppy driver 0.99.newide
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2049
XENBUS: Device with no driver: device/vbd/2050
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/vif/1
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

The kernel is ok, it seems my sda hd was not detected. However I chroot my logical volume and create an initrd.
Here my lsmod of domain 0 :
 [root@p-virtvip8 linux-2.6.19]# lsmod
Module                  Size  Used by
xt_physdev              7121  0
bridge                 60381  1 xt_physdev
netloop                11073  0
netbk                  79845  0 [permanent]
blktap                386789  2 [permanent]
blkbk                  22753  0 [permanent]
autofs4                25413  2
hidp                   24129  2
rfcomm                 46041  0
l2cap                  31681  10 hidp,rfcomm
bluetooth              58917  5 hidp,rfcomm,l2cap
sunrpc                158332  1
dummy                   7237  0
ip_conntrack_netbios_ns     7105  0
ipt_REJECT              9665  1
xt_state                6337  2
ip_conntrack           56992  2 ip_conntrack_netbios_ns,xt_state
nfnetlink              11353  1 ip_conntrack
iptable_filter          7233  1
ip_tables              17669  1 iptable_filter
ip6t_REJECT             9537  1
xt_tcpudp               7361  9
ip6table_filter         7105  1
ip6_tables             18821  1 ip6table_filter
x_tables               18501  7 xt_physdev,ipt_REJECT,xt_state,ip_tables,ip6t_REJECT,xt_tcpudp,ip6_tables
ipv6                  267489  25 ip6t_REJECT
dm_mirror              33041  0
dm_multipath           22601  0
dm_mod                 61529  54 dm_mirror,dm_multipath
video                  21061  0
sbs                    20225  0
i2c_ec                  9281  1 sbs
i2c_core               25537  1 i2c_ec
button                 10961  0
battery                14405  0
asus_acpi              20697  0
ac                      9541  0
parport_pc             31205  1
lp                     17033  0
parport                40841  2 parport_pc,lp
floppy                 58725  0
snd_intel8x0           36445  0
snd_ac97_codec         95073  1 snd_intel8x0
snd_ac97_bus            6593  1 snd_ac97_codec
snd_seq_dummy           8133  0
snd_seq_oss            37185  0
snd_seq_midi_event     11841  1 snd_seq_oss
snd_seq                57137  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
sg                     38493  0
snd_seq_device         12621  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            46561  0
snd_mixer_oss          20545  1 snd_pcm_oss
snd_pcm                80453  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              27077  2 snd_seq,snd_pcm
snd                    57029  9 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,    snd_pcm,snd_timer
soundcore              14113  1 snd
snd_page_alloc         14409  2 snd_intel8x0,snd_pcm
e752x_edac             15173  0
edac_mc                27465  1 e752x_edac
ohci1394               38917  0
pcspkr                  7361  0
e1000                 124881  0
ieee1394              301593  1 ohci1394
serio_raw              11205  0
ide_cd                 42337  2
cdrom                  38625  1 ide_cd
ata_piix               18121  0
libata                103385  1 ata_piix
mptspi                 21321  2
mptscsih               27713  1 mptspi
mptbase                56673  2 mptspi,mptscsih
scsi_transport_spi     28993  1 mptspi
sd_mod                 24897  11
scsi_mod              138729  6 sg,libata,mptspi,mptscsih,scsi_transport_spi,sd_mod
ext3                  135369  1
jbd                    63209  1 ext3
ehci_hcd               35917  0
ohci_hcd               25437  0
uhci_hcd               27725  0

(it's a fresh install ...)

And the modprobe.conf of my image :
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias scsi_hostadapter2 ata_piix

The command i used to generate the inirtd (within chroot) :
mkinitrd /tmp/image 2.6.18-1.2798.fc6xen

Then exit and copy the image in /boot/initrd-2.6.18-1.2798.fc6xen.img

Thanks 4 any help.

Rgds,
David

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.