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-users

[Xen-devel] Please help: DomU creation problem

To: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Please help: DomU creation problem
From: Victor Ling <victor_ling12@xxxxxxxxx>
Date: Tue, 27 Sep 2011 16:19:40 -0700 (PDT)
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 27 Sep 2011 16:20:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1317165580; bh=S5jU86+eJACJz8EYVTkubCeuLA41+9vmyqkzO2un1UA=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type; b=FTaEgxFObsoiu2af97XYnSzEGbDOzT8Q+GnRE+e06C88dZY2lJ3+rTur62mb5AAJNzCn1YZyjmN5/i4adD1nOifpKV383UXG+AcfW8PCsBhGw6i3tmqsbaVAjbTOgQhuhN29svUh0psNhwz0GPfW8Z0zTGEmqnuS6MeEykkhfyI=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type; b=Pgm1kzl4Z4FCcGGPOxQSefAUfVQSNc0RZfiiSKhqhOCwZv7hYA0rHx0VamkQ8+Kf5xaijH90qn/mAITQWz7GgI/9PmY6SoMZlyHMc2sjwkc6onQsXXgGm95PrFQJ/XpcA3RjYuBnjKTImXdFTGNFRYSat3X5BumoMWjdB7dx3LA=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Victor Ling <victor_ling12@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Please help: I tried to create a DomU with PCI passthrough. I don't know hoe to proceed.
The last output is:
pcifront pci-0: Installing PCI frontend
pcifront pci-0: Creating PCI Frontend Bus 0000:00
pcifront pci-0: claiming resource 0000:00:00.0/0

I tried to login VM with
xm cosole 6 but nothing happened.

linux:~/Desktop # xm console 6


The following is the detail info.

Thanks.

Vic




I have config file:
-------------------------------------------------
kernel  = "/boot/vmlinuz-3.0.1.stk64"

#ramdisk = "/boot/initrd-xen"

memory = 512

vcpus = '2'

pci = ['02:00.0']
name = "xen-vm1"
root = '/dev/xvda1 ro'
disk = [
         'file:/home/domains/nvidia/XenGuest1.img,xvda1,w',
        ]





-----------------------------------------------------------
 after xm create -c nvidia.cfg

I can see
linux:~/Desktop # xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  3400     2     r-----    206.5
xen-vm1                                      6   512     2     -b----     15.4
linux:~/Desktop #
-----------------------------------------------------------------------------------------------------
I checked the log:

linux:/etc/xen # xm create -c nvidia.cfg
Using config file "./nvidia.cfg".
Started domain xen-vm1 (id=6)
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 3.0.1.stk64 (dfn@xxxxxxxxxxxxxxxxxxxxx) (gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) ) #1 SMP Sat Aug 13 12:53:46 EDT 2011
Command line: root=/dev/xvda1 ro
ACPI in unprivileged domain disabled
released 0 pages of unused memory
Set 0 page(s) to 1-1 mapping.
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 00000000000a0000 (usable)
 Xen: 00000000000a0000 - 0000000000100000 (reserved)
 Xen: 0000000000100000 - 0000000020800000 (usable)
NX (Execute Disable) protection: active
DMI not present or invalid.
No AGP bridge found
last_pfn = 0x20800 max_arch_pfn = 0x400000000
init_memory_mapping: 0000000000000000-0000000020800000
No NUMA configuration found
Faking a node at 0000000000000000-0000000020800000
Initmem setup node 0 0000000000000000-0000000020800000
  NODE_DATA [000000001ffec000 - 000000001fffffff]
Zone PFN ranges:
  DMA      0x00000010 -> 0x00001000
  DMA32    0x00001000 -> 0x00100000
  Normal   empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000010 -> 0x000000a0
    0: 0x00000100 -> 0x00020800
SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
SMP: Allowing 2 CPUs, 0 hotplug CPUs
No local APIC present
APIC: disable apic facility
APIC: switched to apic NOOP
PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
Allocating PCI resources starting at 20800000 (gap: 20800000:df800000)
Booting paravirtualized kernel on Xen
Xen version: 4.0.0_21091_04-0.2 (preserve-AD)
setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:2 nr_node_ids:1
PERCPU: Embedded 27 pages/cpu @ffff88001fe8d000 s78400 r8192 d24000 u110592
Built 1 zonelists in Node order, mobility grouping on.  Total pages: 131183
Policy zone: DMA32
Kernel command line: root=/dev/xvda1 ro
PID hash table entries: 4096 (order: 3, 32768 bytes)
Checking aperture...
No AGP bridge found
Memory: 502844k/532480k available (4501k kernel code, 448k absent, 29188k reserved, 2929k data, 920k init)
SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:16640 nr_irqs:288 16
Console: colour dummy device 80x25
console [tty0] enabled
console [hvc0] enabled
allocated 5242880 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
installing Xen timer for CPU 0
Detected 2926.084 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 5852.16 BogoMIPS (lpj=2926084)
pid_max: default: 32768 minimum: 301
Security Framework initialized
SELinux:  Initializing.
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount-cache hash table entries: 256
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
SMP alternatives: switching to UP code
ftrace: allocating 23941 entries in 94 pages
Performance Events: unsupported p6 CPU model 23 no PMU driver, software events only.
installing Xen timer for CPU 1
SMP alternatives: switching to SMP code
Brought up 2 CPUs
devtmpfs: initialized
Grant table initialized
print_constraints: dummy:
Time: 165:165:165  Date: 165/165/65
NET: Registered protocol family 16
PCI: setting up Xen PCI frontend stub
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
xen/balloon: Initialising balloon driver.
last_pfn = 0x20800 max_arch_pfn = 0x400000000
xen-balloon: Initialising balloon driver.
vgaarb: loaded
SCSI subsystem initialized
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
Switching to clocksource xen
Switched to NOHz mode on CPU #0
CE: xen increased min_delta_ns to 150000 nsec
CE: xen increased min_delta_ns to 225000 nsec
CE: xen increased min_delta_ns to 337500 nsec
CE: xen increased min_delta_ns to 506250 nsec
CE: xen increased min_delta_ns to 759375 nsec
CE: xen increased min_delta_ns to 1000000 nsec
CE: Reprogramming failure. Giving up
CE: Reprogramming failure. Giving up
hrtimer: interrupt took 4279 ns
Switched to NOHz mode on CPU #1
CE: xen increased min_delta_ns to 150000 nsec
CE: xen increased min_delta_ns to 225000 nsec
CE: xen increased min_delta_ns to 337500 nsec
CE: xen increased min_delta_ns to 506250 nsec
CE: xen increased min_delta_ns to 759375 nsec
CE: xen increased min_delta_ns to 1000000 nsec
CE: Reprogramming failure. Giving up
CE: Reprogramming failure. Giving up
CE: Reprogramming failure. Giving up
pnp: PnP ACPI: disabled
NET: Registered protocol family 2
IP route cache hash table entries: 8192 (order: 4, 65536 bytes)
TCP established hash table entries: 32768 (order: 7, 524288 bytes)
TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
TCP reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
CE: Reprogramming failure. Giving up
audit: initializing netlink socket (disabled)
type=2000 audit(1317138874.411:1): initialized
HugeTLB registered 2 MB page size, pre-allocated 0 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
msgmni has been set to 982
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
pcifront pci-0: Installing PCI frontend
pcifront pci-0: Creating PCI Frontend Bus 0000:00
pcifront pci-0: claiming resource 0000:00:00.0/0



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>