Port-xen archive

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

Re: NetBSD 5.99.22 Dom0 + xentools33 + pci export + linux domu



On 12/22/2009 08:27 PM, Jean-Yves Migeon wrote:
On 12/22/09 15:01, Juraj Hercek wrote:
...

Any enlightenment idea what goes wrong during domu shutdown?

Never looked in details for PCI passthru, but is it really safe to
shutdown the "PCI privileged" domain once the associated device has
been set up? I am not so sure that domU will play nice during shutdown.

I think that exporting pci device to domu is quite dangerous (read: don't do it it if you don't have to), because of possible access violation through hardware.

Could you please post your dmesg when booting without enabling the PCI
passthru? Thanks

Sure, no problem, see attached file.

-- Juraj

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.22 (XEN3PAE_DOM0_CUSTOM) #0: Sat Dec 12 15:49:05 CET 2009
        
builder@dump:/os/netbsd/build-netbsd-i386/obj/sys/arch/i386/compile/XEN3PAE_DOM0_CUSTOM
total memory = 512 MB
avail memory = 489 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
mainbus0: scanning 0x9f000 to 0x9f3f0 for MP signature
mainbus0: scanning 0x9ec00 to 0x9eff0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
cpu0 at mainbus0: (uniprocessor)
hypervisor0 at mainbus0: Xen version 3.3
vcpu0 at hypervisor0: Intel 686-class, 598MHz, id 0x6d6
vcpu0: Enhanced SpeedStep UnderVolting default voltages (mV): 1340 1292 1244 
1196 1148 1100 1052 988
debug virtual interrupt using event channel 1
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
npx0 at hypervisor0: using exception 16
acpi0 at hypervisor0: Intel ACPICA 20090730
acpi0: X/RSDT: OemId <DELL  , CPi R  ,27d5061e>, AslId <ASL ,00000061>
mpacpi: found root PCI bus 0 at level 1
mpacpi: found subordinate bus 1 at level 2
mpacpi: found subordinate bus 2 at level 2
mpacpi: 3 PCI busses
mpacpi: configuring PCI bus 0 int routing
LNKA: ACPI: Found matching pin for 0.31.INTA at func 1: 0
LNKB: ACPI: Found matching pin for 0.31.INTB at func 5: 11
LNKB: BIOS IRQ 11 for 0.31.INTB is invalid
LNKA: ACPI: Found matching pin for 0.29.INTA at func 0: 11
LNKD: ACPI: Found matching pin for 0.29.INTB at func 1: 11
LNKC: ACPI: Found matching pin for 0.29.INTC at func 2: 11
LNKH: ACPI: Found matching pin for 0.29.INTD at func 7: 11
mpacpi: configuring PCI bus 1 int routing
LNKA: ACPI: Found matching pin for 1.0.INTA at func 0: 11
mpacpi: configuring PCI bus 2 int routing
LNKD: ACPI: Found matching pin for 2.1.INTA at func 0: 11
LNKB: ACPI: Found matching pin for 2.3.INTA at func 0: 11
LNKB: BIOS IRQ 11 for 2.3.INTA is invalid
LNKC: ACPI: Found matching pin for 2.0.INTA at func 0: 11
pic0: pin 0 attached to isa0 irq 0 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 1 attached to isa0 irq 1 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 3 attached to isa0 irq 3 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 4 attached to isa0 irq 4 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 5 attached to isa0 irq 5 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 6 attached to isa0 irq 6 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 7 attached to isa0 irq 7 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 8 attached to isa0 irq 8 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 9 attached to isa0 irq 9 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 10 attached to isa0 irq 10 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 11 attached to isa0 irq 11 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 12 attached to isa0 irq 12 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 13 attached to isa0 irq 13 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 14 attached to isa0 irq 14 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
pic0: pin 15 attached to isa0 irq 15 (type 0x0<type=0x0> flags 
0x0<pol=0x0,trig=0x0>)
linkdev LNKA attached to pci0 device 31 INT_A (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKB attached to pci0 device 31 INT_B (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKC attached to pci0 device 31 INT_C (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKD attached to pci0 device 31 INT_D (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKA attached to pci0 device 29 INT_A (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKD attached to pci0 device 29 INT_B (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKC attached to pci0 device 29 INT_C (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKH attached to pci0 device 29 INT_D (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKA attached to pci0 device 1 INT_A (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKB attached to pci0 device 1 INT_B (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKA attached to pci1 device 0 INT_A (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKD attached to pci2 device 1 INT_A (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKD attached to pci2 device 1 INT_B (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKB attached to pci2 device 3 INT_A (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKD attached to pci2 device 3 INT_B (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKC attached to pci2 device 0 INT_A (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKB attached to pci2 device 8 INT_A (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
linkdev LNKB attached to pci2 device 8 INT_B (type 0x0<type=0x0> flags 
0xf<pol=0x3=Act Lo,trig=0x3=Level>)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 24-bit timer
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery (Control Method)
ACPI Warning for \_SB_.BAT0._BIF: Converted Buffer to expected String at index 
9 (20090730/nsrepair-215)
ACPI Warning for \_SB_.BAT0._BIF: Converted Buffer to expected String at index 
10 (20090730/nsrepair-215)
ACPI Warning for \_SB_.BAT0._BIF: Converted Buffer to expected String at index 
11 (20090730/nsrepair-215)
ACPI Warning for \_SB_.BAT0._BIF: Converted Buffer to expected String at index 
12 (20090730/nsrepair-215)
acpibat0: battery info: SMP, LION, DELL  Y1635 1179
acpibat1 at acpi0 (BAT1, PNP0C0A-2): ACPI Battery (Control Method)
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PBTN, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SBTN, PNP0C0E): ACPI Sleep Button
PS2M (PNP0F13) [PS/2 Port for PS/2-style Mice] at acpi0 not configured
KBC (PNP0303) [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not 
configured
TMR (PNP0100) [AT Timer] at acpi0 not configured
SPKR (PNP0800) [AT-style speaker sound] at acpi0 not configured
COPR (PNP0C04) [Math Coprocessor] at acpi0 not configured
UAR1 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
ECP (PNP0401) [ECP printer port] at acpi0 not configured
IRDA (SMCF010) at acpi0 not configured
THM (ACPI Object Type 'Thermal' [0x0d]) at acpi0 not configured
pci0 at hypervisor0 bus 0: configuration mode 1
hypervisor0: added to list as bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0: Intel 82855PM MCH Host Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xe0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0: Intel 82855PM Host-AGP Bridge (rev. 0x03)
pci1 at ppb0 bus 1
ppb0: added to list as bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: NVIDIA product 0x034c (rev. 0xa1)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1-3 added (80x25, vt100 emulation)
drm at vga0 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller (rev. 0x01)
linkdev LNKA returned ACPI global irq 11, line 11
uhci0: interrupting at irq 11, event channel 3
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller (rev. 0x01)
linkdev LNKD returned ACPI global irq 11, line 11
uhci1: interrupting at irq 11, event channel 3
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller (rev. 0x01)
linkdev LNKC returned ACPI global irq 11, line 11
uhci2: interrupting at irq 11, event channel 3
usb2 at uhci2: USB revision 1.0
ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller (rev. 0x01)
linkdev LNKH returned ACPI global irq 11, line 11
ehci0: interrupting at irq 11, event channel 3
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0x81)
pci2 at ppb1 bus 2
ppb1: added to list as bus 2
pci2: i/o space, memory space enabled
bge0 at pci2 dev 0 function 0: Broadcom BCM5705M Gigabit Ethernet
linkdev LNKC returned ACPI global irq 11, line 11
bge0: interrupting at irq 11, event channel 3
bge0: ASIC BCM5705 A1 (0x3001), Ethernet address 00:01:02:03:04:05
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5705 1000BASE-T media interface, rev. 1
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
Texas Instruments PCI7510 PCI-CardBus Bridge w/ IEEE 1394 Host Controller 
(CardBus bridge, revision 0x01) at pci2 dev 1 function 0 not configured
Texas Instruments PCI7610 PCI-CardBus Bridge (Smart Card Mode) (CardBus bridge, 
revision 0x01) at pci2 dev 1 function 1 not configured
fwohci0 at pci2 dev 1 function 2: Texas Instruments PCI7[4-6]10 IEEE 1394 Host 
Controller w/ PCI-CardBus Bridge (rev. 0x00)
linkdev LNKD returned ACPI global irq 11, line 11
fwohci0: interrupting at irq 11, event channel 3
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 01:02:03:04:05:06:07:08
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
Texas Instruments product 0x8204 (miscellaneous system) at pci2 dev 1 function 
3 not configured
iwi0 at pci2 dev 3 function 0: Intel PRO/Wireless LAN 2915ABG Mini-PCI Adapter 
(rev. 0x05)
LNKB: Picked IRQ 9 with weight 0
linkdev LNKB returned ACPI global irq 9, line 9
iwi0: interrupting at irq 11, event channel 3
iwi0: 802.11 address 02:03:04:05:06:07
iwi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
ichlpcib0 at pci0 dev 31 function 0: Intel 82801DB ISA Bridge (rev. 0x01)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
ichlpcib0: SpeedStep enabled
piixide0 at pci0 dev 31 function 1: Intel 82801DBM IDE Controller (ICH4-M) 
(rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at irq 14, event channel 4
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at irq 15, event channel 5
atabus1 at piixide0 channel 1
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
linkdev LNKB returned ACPI global irq 9, line 9
auich0: interrupting at irq 9, event channel 2
auich0: ac97: SigmaTel STAC9750/51 codec; headphone, 20 bit DAC, 20 bit ADC, 
SigmaTel 3D
auich0: ac97: ext id 0x605<AC97_22,AMAP,SPDIF,VRA>
Intel 82801DB AC97 Modem Controller (modem communications, revision 0x01) at 
pci0 dev 31 function 6 not configured
isa0 at ichlpcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
Link Device LNKA:
Index  IRQ  Rtd  Ref  IRQs
    0   11   Y     4  9 10 11 polarity 1 trigger 0

Link Device LNKB:
Index  IRQ  Rtd  Ref  IRQs
    0    9   Y     5  5 7 polarity 1 trigger 0

Link Device LNKC:
Index  IRQ  Rtd  Ref  IRQs
    0   11   Y     3  9 10 11 polarity 1 trigger 0

Link Device LNKD:
Index  IRQ  Rtd  Ref  IRQs
    0   11   Y     5  5 7 9 10 11 polarity 1 trigger 0

Link Device LNKH:
Index  IRQ  Rtd  Ref  IRQs
    0   11   Y     1  3 4 5 6 7 9 10 11 12 14 15 polarity 1 trigger 0

fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
Initializing SSP:4d89e053 a283c6b4 d4af8ef5 c42b27f6 6b940b18 9e025266 eedae21a 
e7d32341 
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Xen clock: using event channel 10
timecounter: Timecounter "xen_system_time" frequency 1000000000 Hz quality 10000
acpiacad0: AC adapter online.
xenbus0: using event channel 11
auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
audio0 at auich0: full duplex, playback, capture, mmap, independent
uhub0 at usb0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
IPsec: Initialized Security Association Processing.
mos0 at uhub3 port 3
mos0: Moschip Semiconductor USB-MAC Controller, rev 2.00/1.00, addr 2
mos0: MCS7830, address 03:04:05:06:07:08
ukphy0 at mos0 phy 1: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
mos1 at uhub3 port 4
mos1: Moschip Semiconductor USB-MAC Controller, rev 2.00/1.00, addr 3
mos1: MCS7830, address 04:05:06:07:08:09
ukphy1 at mos1 phy 1: OUI 0x000000, model 0x0000, rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wd0 at atabus0 drive 0: <SAMSUNG HM160HC>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVD+RW GCA-4040N, , C110> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying smbfs...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying msdos...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
wsdisplay0: screen 4 added (80x25, vt100 emulation)


Home | Main Index | Thread Index | Old Index