Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD vs Linux
Some updates:
I managed it to get the whole thing working. I've been using this config:
kernel = "/vmlinux-2.6.30"
ramdisk = "/initrd.img-2.6.30"
memory = 156
name = "debian"
disk = [ 'phy:/dev/wd0g,xvda,w' ]
vif = [ 'bridge=bridge0' ]
root = "/dev/xvda"
pci = [ '0000:03:00.0']
#extra = "xencons=tty1"
extra = "1"
"vmlinux-2.6.30" is a fresh compiled (uncompressed) Linux image. Since I
was able to boot Linux, that wasn't difficult at all. For some reasons
the boot process hangs when I boot in runlevel 2 (thats why I use
extra="1"). That issue has to be investigated too.
You might have noticed the "pci=" line in my config which should be a
PCI passthrough to my domU. dmesg tells me:
$ dmesg | grep -e "PCI" -e "pci"
[ 0.000000] Allocating PCI resources starting at 10000000 (gap:
9c00000:f6400000)
[ 0.005111] PCI: Fatal: No config space access function found
[ 0.012608] PCI: System does not support PCI
[ 0.012615] PCI: System does not support PCI
[ 0.051897] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.052676] pciehp: PCI Express Hot Plug Controller Driver
version: 0.4
[ 0.052683] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.052696] cpcihp_zt5550: ZT5550 CompactPCI Hot Plug Driver
version: 0.2
[ 0.052702] cpcihp_generic: Generic port I/O CompactPCI Hot Plug
Driver version: 0.1
[ 0.052709] cpcihp_generic: not configured, disabling.
[ 0.052761] shpchp: Standard Hot Plug PCI Controller Driver
version: 0.4
[ 0.164017] XENBUS: Device with no driver: device/pci/0
... and lspci shows me nothing:
$ lspci
$
Ok. I thought that might be general Xen 3.x issue till I used
"vmlinuz-2.6.18-xen" as kernel:
kernel = "/vmlinuz-2.6.18-xen"
ramdisk = "/initrd.img-2.6.30"
memory = 156
name = "debian"
disk = [ 'phy:/dev/wd0g,xvda,w' ]
...
dmesg shows:
$ dmesg | grep -e pci -e PCI
PCI: setting up Xen PCI frontend stub
PCI: System does not support PCI
PCI: System does not support PCI
pcifront pci-0: Installing PCI frontend
pcifront pci-0: Creating PCI Frontend Bus 0000:03
lspci:
$ lspci
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG
or AGN [Kedron] Network Connection (rev 61)
$
There has to be an easy way how to use your own kernel and export
devices to your domU's.
--
Victor Dorneanu
Home |
Main Index |
Thread Index |
Old Index