rendered paste body#grub in dom0
cat /boot/grub/menu.lst
default 0
timeout 15
serial --unit=0 --speed=57600
terminal --timeout=15 console serial
title Xen 2.6.16.26
root (hd0,0)
kernel /xen.gz
module /boot/vmlinuz-2.6.16.26-xen0 root=/dev/hda3 vga=791 pciback.hide=(0000:01:06.0)
#domU config -- its using an older kernel till i upgrade it but it works!
cat /etc/xen/blueblue
# general
name = "blueblue";
memory = 128;
# booting
kernel = "/xen/vmlinuz-2.6.16.18.xen0";
builder = "linux";
# virtual harddisk
disk = [ 'phy:nodes1/blueblue,hda,w' ];
root = "/dev/hda1 ro";
# virtual network -- commited to make sure pci was working
#vif = [ 'mac=aa:00:18:e8:49:8e' ];
#dhcp = "dhcp";
pci=['01:06.0']
#dmesg in dom0
xen3 ~ # dmesg |grep pci
ACPI: bus type pci registered
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
pciback: wants to seize 0000:01:06.0
pciback 0000:00:00.0: probing...
pciback 0000:00:00.1: probing...
pciback 0000:00:00.2: probing...
pciback 0000:00:00.3: probing...
pciback 0000:00:00.4: probing...
pciback 0000:00:00.5: probing...
pciback 0000:00:01.0: probing...
pciback 0000:00:01.1: probing...
pciback 0000:00:02.0: probing...
pciback 0000:00:02.1: probing...
pciback 0000:00:02.2: probing...
pciback 0000:00:04.0: probing...
pciback 0000:00:06.0: probing...
pciback 0000:00:08.0: probing...
pciback 0000:00:09.0: probing...
pciback 0000:00:1e.0: probing...
pciback 0000:01:06.0: probing...
pciback 0000:01:06.0: seizing device
pciback 0000:01:06.0: pcistub_device_alloc
pciback 0000:01:06.0: deferring initialization
pciback 0000:01:07.0: probing...
pciback 0000:02:00.0: probing...
pciback: pcistub_init_devices_late
pciback 0000:01:06.0: initializing...
pciback 0000:01:06.0: initializing config
pciback 0000:01:06.0: enabling device
pciback 0000:01:06.0: reset device
#dmesg in domU
dmesg |grep pci
pcifront pci-0: Allocated pdev @ 0xc06d7b60 pdev->sh_info @ 0xc00da000
pcifront pci-0: publishing successful!
pcifront pci-0: Installing PCI frontend
pcifront pci-0: Creating PCI Frontend Bus 0000:01
pcifront pci-0: claiming resource 0000:01:06.0/0
pcifront pci-0: claiming resource 0000:01:06.0/1
pciback 0000:01:06.0: probing...
pciback: pcistub_init_devices_late
#lspci in dom0
lspci
00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 0 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:06.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
01:07.0 RAID bus controller: Silicon Image, Inc. PCI0680 Ultra ATA-133 Host Controller (rev 02)
02:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR] (rev b2)
#lspci in domU -- drivers for this care are compiled staticly thats partly way i chose this card but modules should work #just fine
lspci
pcilib: Cannot open /sys/bus/pci/devices
0000:01:06.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
#ifconfig in dom0 proving its working
ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:4B:0D:45:AE
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5579 (5.4 KiB) TX bytes:2753 (2.6 KiB)
Interrupt:16 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:653 (653.0 b) TX bytes:653 (653.0 b)
#ping domU -- more proof
ping google.com
PING google.com (64.233.187.99) 56(84) bytes of data.
64 bytes from 64.233.187.99: icmp_seq=1 ttl=244 time=35.6 ms
64 bytes from 64.233.187.99: icmp_seq=2 ttl=244 time=34.4 ms
--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 34.434/35.064/35.694/0.630 ms