Port-xen archive

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

Re: "Hard" crash with -current XEN3_DOM0 kernel



Jean-Yves Migeon wrote:
Manuel Bouyer wrote:
No problems on a Dell 755, but I'm using serial console, it doesn't have
a real pckbc port (it's a usb-only box). A pckbc is attached though
(I guess the Intel chipset still provides a pckbc, even if it's not wired
to an external connector):
pckbc0 at isa0 port 0x60-0x64
pckbdprobe: reset error 5
pmsprobe: reset error 5
I identified the issue, this patch causes some trouble on my laptop:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/pckbc.c.diff?r1=1.44&r2=1.45

I will give tech-kern a try.
Hmm, slight correction.

Relating to this patch, increasing <s> value (from 100 to 1000 for example) and decreasing the delay() value accordingly makes the dom0 boot again.

Any hint what could cause such an issue? Looks like Xen is at fault there, booting with GENERIC is fine.

Attached is the dmesg output from this laptop.

Cheers,

--
Jean-Yves Migeon
jean-yves.migeon%espci.fr@localhost

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    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 4.99.65 (XEN3_DOM0) #: Thu Jun 19 00:04:59 CEST 2008
        root@portable-current:/usr/obj/sys/arch/i386/compile/XEN3_DOM0
total memory = 512 MB
avail memory = 491 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.1
vcpu0 at hypervisor0: Intel 686-class, 1993MHz, id 0x6d6
vcpu0: 64 page colors
VIRQ_DEBUG interrupt using event channel 1
xencons0 at hypervisor0: Xen Virtual Console Driver
xenbus0 at hypervisor0: Xen Virtual Bus Interface
npx0 at hypervisor0: using exception 16
acpi0 at hypervisor0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <DELL  , CPi R  ,27d40a08>, 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
LNKC: ACPI: Found matching pin for 2.1.INTB at func 1: 11
LNKB: ACPI: Found matching pin for 2.1.INTC at func 2: 11
LNKB: BIOS IRQ 11 for 2.1.INTC is invalid
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 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 5 attached to isa0 irq 5 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 8 attached to isa0 irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 9 attached to isa0 irq 9 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 10 attached to isa0 irq 10 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 11 attached to isa0 irq 11 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 12 attached to isa0 irq 12 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 13 attached to isa0 irq 13 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 14 attached to isa0 irq 14 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 15 attached to isa0 irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
linkdev LNKA attached to pci0 device 31 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 31 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 31 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci0 device 31 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci0 device 29 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci0 device 29 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 29 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKH attached to pci0 device 29 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci0 device 1 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 1 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci1 device 0 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci2 device 1 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci2 device 1 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci2 device 1 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci2 device 3 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci2 device 3 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci2 device 0 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=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)
acpibat0: battery info: SMP, LION, DELL D55514 30646
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
THM (ACPI Object Type 'Thermal' [0x0d]) at acpi0 not configured
pci0 at hypervisor0 bus 0: configuration mode 1hypervisor0: added to list as 
bus 0

pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82855PM MCH Host Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xe8000000, size 0x8000000
ppb0 at pci0 dev 1 function 0: Intel 82855PM Host-AGP Bridge (rev. 0x03)
pci1 at ppb0 bus 1ppb0: added to list as bus 1

pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: ATI Technologies Radeon Mobility 9600/9700 
(M10/11) NP (rev. 0x00)
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 2ppb1: added to list as bus 2

pci2: i/o space, memory space enabled
bce0 at pci2 dev 0 function 0: Broadcom BCM4401-B0 10/100 Ethernet
linkdev LNKC returned ACPI global irq 11, line 11
bce0: interrupting at irq 11, event channel 3
bmtphy0 at bce0 phy 1: BCM4401 10/100 media interface, rev. 0
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bce0: Ethernet address 00:11:43:65:5d:37
Ricoh 5C476 PCI-CardBus bridge (CardBus bridge, revision 0xb3) at pci2 dev 1 
function 0 not configured
fwohci0 at pci2 dev 1 function 1: Ricoh 5C552 PCI-CardBus bridge/Firewire (rev. 
0x08)
linkdev LNKC 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 39:4f:c0:00:20:ef:30:30
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
Ricoh 5C822 PCI-CardBus bridge/MS/SD/MMC/SC (SD Host Controller system, 
interface 0x01, revision 0x17) at pci2 dev 1 function 2 not configured
iwi0 at pci2 dev 3 function 0: Intel PRO/Wireless LAN 2200BG 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 9, event channel 2
iwi0: 802.11 address 00:0e:35:aa:94:a7
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801DB ISA Bridge (rev. 0x01)
piixide0 at pci0 dev 31 function 1
piixide0: 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 605<AC97_22,AMAP,SPDIF,VRA>
Intel 82801DB AC97 Modem Controller (modem communications, revision 0x01) at 
pci0 dev 31 function 6 not configured
isa0 at pcib0
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     4  5 7 polarity 1 trigger 0

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

Link Device LNKD:
Index  IRQ  Rtd  Ref  IRQs
    0   11   Y     4  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)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Xen clock: using event channel 8
timecounter: Timecounter "xen_system_time" frequency 1000000000 Hz quality 10000
acpiacad0: AC adapter online.
xenbus0: using event channel 9
auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
audio0 at auich0: full duplex, 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
ehci0: handing over full speed device on port 3 to uhci1
ubt0 at uhub1 port 1
ubt0: Dell BC02 Bluetooth USB Adapter, rev 2.00/12.66, addr 2
wd0 at atabus0 drive 0: <IC25N080ATMR04-0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 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: <_NEC DVD+/-RW ND-6500A, , 202C> 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)
raidattach: Asked for 8 units
Kernelized RAIDframe activated
Searching for RAID components...
boot device: wd0
root on wd0f dumps on wd0b
dump_misc_init: max_paddr = 0x20000000
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
wsdisplay0: screen 4 added (80x25, vt100 emulation)
bthub0 at ubt0 local-bdaddr 00:10:c6:57:18:54


Home | Main Index | Thread Index | Old Index