[CentOS-virt] Can't get PCI card visible in guest

Kenneth Tanzer ktanzer at desc.org
Thu Oct 30 23:12:52 UTC 2008


>
> So remove:
>
> bootloader='/usr/bin/pygrub'
>
> and add
>
> kernel='/boot/vmlinuz-<your dom0 xen kernel version>' (found in /boot)
> ramdisk='/boot/initrd-<your dom0 xen ramdisk version>' (found in /boot)
>   
I tried this a couple of ways.  If I add just the kernel file, and not 
the parameters, like so:

kernel="/boot/vmlinuz-2.6.18-92.1.13.el5xen"
ramdisk="/boot/initrd-2.6.18-92.1.13.el5xen.img"

It starts booting, but then dies with:

Kernel panic - not syncing: Attempted to kill init!

If I add the "ro root=/dev/VolGroup00/LogVol00" to the kernel line, I 
either get a kernel not found message (if the parameteres are inside the 
quotation marks), or an invalid parameter message (if outside the 
quotes).  I tried adding:

root="/dev/VolGroup00/LogVol00"

(with and without a "ro" at the end), and it still boots the kernel but 
then panics.  Which is what I'm starting to do! :)

Thanks again.  Full console output from a boot below, in case it helps.

Ken

[root at xenhost xen]# xm create anow_15b_pv ; xm console anow_15b_pv
Using config file "./anow_15b_pv".
Started domain anow_15b_pv
Linux version 2.6.18-92.1.13.el5xen (mockbuild at builder16.centos.org) 
(gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Wed Sep 24 
20:44:26 EDT 2008
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000020800000 (usable)
0MB HIGHMEM available.
520MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 133120
Kernel command line:  root=/dev/VolGroup00/LogVol00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c073c000 soft=c071c000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 2999.996 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Software IO TLB disabled
vmalloc area: e1000000-f4ffe000, maxmem 2d7fe000
Memory: 506496k/532480k available (2099k kernel code, 17432k reserved, 
870k data, 176k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 7503.65 BogoMIPS 
(lpj=15007302)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
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: 2048K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 6916k freed
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06EAAA0 could 
not acquire Mutex [2] [20060707]
No dock devices found.
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06EAAA0 could 
not acquire Mutex [2] [20060707]
Brought up 1 CPUs
PCI: Fatal: No PCI config space access function found
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: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1225408235.766:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 20B65DCA289A0EEF
- User ID: CentOS (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.
Console: switching to colour frame buffer device 100x37
input: Xen Virtual Keyboard/Mouse as /class/input/input0
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 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/768
XENBUS: Device with no driver: device/vif/0
Freeing unused kernel memory: 176k freed
Write protecting the kernel read-only data: 379k
USB Universal Host Controller Interface driver v3.0
SCSI subsystem initialized
3ware 9000 Storage Controller device driver for Linux v2.26.02.008.
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: 
dm-devel at redhat.com
Kernel panic - not syncing: Attempted to kill init!



More information about the CentOS-virt mailing list