Subject: ahd problems in dom0 with Xen3 with dmesg
To: None <port-xen@NetBSD.org>
From: John R. Shannon <john@johnrshannon.com>
List: port-xen
Date: 07/09/2006 06:27:00
This is a multi-part message in MIME format.
--------------030803080100030807060704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

dom0 goes into a loop, on boot, where it dumps the SCSI controller
state. Computer has dual Xeon processors and dual SCSI drives.

dmesg output is attached.

The kernel is the same as XEN3_DOM0 except that ipsec and tmpfs are enable.
-- 
John R. Shannon, CISSP
john@johnrshannon.com
jshannon@dsci-usa.com
john.r.shannon@us.army.mil
shannonjr@NetBSD.org



--------------030803080100030807060704
Content-Type: text/plain;
 name="xen3dmesg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="xen3dmesg.txt"

NetBSD 3.99.21 (MYXEN3_DOM0) #0: Sun Jul  9 05:47:10 MDT 2006
        build@colleen.internal.johnrshannon.com:/usr/obj/import/CURRENT/src/sys/arch/i386/compile/MYXEN3_DOM0
total memory = 1536 MB
avail memory = 1497 MB
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Xeon (686-class), 2799.21 MHz, id 0xf25
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu0: L2 cache 512 KB 64B/line 8-way
cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: 16 page colors
hypervisor0 at mainbus0
debug virtual interrupt using event channel 1
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: console major 143, unit 0
xencons0: using event channel 2
npx0 at hypervisor0: using exception 16
pci0 at hypervisor0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel E7505 MCH Host (rev. 0x03)
agp0 at pchb0: using generic initialization for Intel AGP
agp0: aperture at 0xd4000000, size 0x4000000
Intel E7505 MCH RAS Controller (undefined subclass 0x00, revision 0x03) at pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 1 function 0: Intel E7505 MCH Host-AGP Bridge (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: NVIDIA product 0x00f5 (rev. 0xa2)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (80x25, vt100 emulation)
ppb1 at pci0 dev 2 function 0: Intel E7505 MCH HI_B PCI-PCI Bridge (rev. 0x03)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
Intel 82870P2 P64H2 IOxAPIC (interrupt system, interface 0x20, revision 0x04) at pci2 dev 28 function 0 not configured
ppb2 at pci2 dev 29 function 0: Intel 82870P2 P64H2 PCI-PCI Bridge (rev. 0x04)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
wm0 at pci3 dev 3 function 0: Intel i82545EM 1000BASE-T Ethernet, rev. 1
wm0: interrupting at irq 11, event channel 3
wm0: 64-bit 133MHz PCIX bus
wm0: 256 word (8 address bits) MicroWire EEPROM
wm0: Ethernet address 00:30:48:70:bb:f0
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
Intel 82870P2 P64H2 IOxAPIC (interrupt system, interface 0x20, revision 0x04) at pci2 dev 30 function 0 not configured
ppb3 at pci2 dev 31 function 0: Intel 82870P2 P64H2 PCI-PCI Bridge (rev. 0x04)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
ahd0 at pci4 dev 3 function 0
ahd0: interrupting at irq 11, event channel 3
ahd0: Manual Primary Termination
ahd0: Manual Secondary Termination
ahd0: Primary High byte termination Enabled
ahd0: Primary Low byte termination Enabled
ahd0: Secondary High byte termination Disabled
ahd0: Secondary Low byte termination Disabled
ahd0: Downloading Sequencer Program... 656 instructions downloaded
ahd0: Features 0x1c101, Bugs 0x700002, Flags 0x43f1
ahd0: aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133 MHz, 512 SCBs
scsibus0 at ahd0: 16 targets, 8 luns per target
ahd1 at pci4 dev 3 function 1
ahd1: interrupting at irq 11, event channel 3
ahd1: Manual Primary Termination
ahd1: Manual Secondary Termination
ahd1: Primary High byte termination Enabled
ahd1: Primary Low byte termination Enabled
ahd1: Secondary High byte termination Disabled
ahd1: Secondary Low byte termination Disabled
ahd1: Downloading Sequencer Program... 656 instructions downloaded
ahd1: Features 0x1c101, Bugs 0x700002, Flags 0x43f0
ahd1: aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133 MHz, 512 SCBs
scsibus1 at ahd1: 16 targets, 8 luns per target
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller (rev. 0x02)
uhci0: interrupting at irq 11, event channel 3
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller (rev. 0x02)
uhci1: interrupting at irq 10, event channel 4
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller (rev. 0x02)
uhci2: interrupting at irq 5, event channel 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller (rev. 0x02)
ehci0: interrupting at irq 11, event channel 3
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb4 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x82)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled
eap0 at pci5 dev 1 function 0: Ensoniq CT5880 CT5880-E (rev. 0x04)
eap0: interrupting at irq 11, event channel 3
eap0: ac97: EMC40 codec; 18 bit DAC, 18 bit ADC, no 3D stereo
eap0: ac97: ext id 280<AMAP,SDAC>
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801DB LPC Interface Bridge (rev. 0x02)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DB IDE Controller (ICH4) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel using event channel 6 for irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel using event channel 7 for irq 15
atabus1 at piixide0 channel 1
Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
auich0: interrupting at irq 11, event channel 3
auich0: ac97: Avance Logic ALC650 codec; 20 bit DAC, 18 bit ADC, Realtek 3D
auich0: ac97: ext id 5c7<AC97_22,LDAC,SDAC,CDAC,SPDIF,DRA,VRA>
isa0 at pcib0
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 mux 1
wskbd0: connecting to wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
Xen clock: using event channel 12
auich0: measured ac97 link rate at 22629 Hz, will use 48000 Hz
audio1 at auich0: full duplex, mmap, independent
crypto: assign driver 0, flags 2
crypto: driver 0 registers alg 1 flags 0 maxoplen 0
crypto: driver 0 registers alg 2 flags 0 maxoplen 0
crypto: driver 0 registers alg 3 flags 0 maxoplen 0
crypto: driver 0 registers alg 4 flags 0 maxoplen 0
crypto: driver 0 registers alg 5 flags 0 maxoplen 0
crypto: driver 0 registers alg 17 flags 0 maxoplen 0
crypto: driver 0 registers alg 6 flags 0 maxoplen 0
crypto: driver 0 registers alg 7 flags 0 maxoplen 0
crypto: driver 0 registers alg 15 flags 0 maxoplen 0
crypto: driver 0 registers alg 8 flags 0 maxoplen 0
crypto: driver 0 registers alg 16 flags 0 maxoplen 0
crypto: driver 0 registers alg 9 flags 0 maxoplen 0
crypto: driver 0 registers alg 10 flags 0 maxoplen 0
crypto: driver 0 registers alg 13 flags 0 maxoplen 0
crypto: driver 0 registers alg 14 flags 0 maxoplen 0
crypto: driver 0 registers alg 11 flags 0 maxoplen 0
crypto: driver 0 registers alg 18 flags 0 maxoplen 0
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
xenbus0: using event channel 13
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <SONY    CD-RW  CRX225E, , QYB2> cdrom removable
cd0: 32-bit data port
piixide0:1:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
cd0: drive supports PIO mode 4, DMA mode 2piixide0:1:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
ahd0: ahd_timeout
ahd0: Timedout SCB already complete. Interrupts may not be functioning.
ahd0: ahd_timeout
ahd0: Timedout SCB already complete. Interrupts may not be functioning.
ahd0: ahd_timeout
ahd0: Timedout SCB already complete. Interrupts may not be functioning.
sd0 at scsibus0 target 1 lun 0: <SEAGATE, ST373453LW, 0006> disk fixed
ahd0: ahd_timeout
ahd0:SCB 0xf - timed out
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahd0: Dumping Card State at program address 0x4 Mode 0x22
Card was paused
HS_MAILBOX[0x0] INTCTL[0x80] SEQINTSTAT[0x0] SAVED_MODE[0x11]
DFFSTAT[0x33] SCSISIGI[0x0] SCSIPHASE[0x0] SCSIBUS[0x0]
LASTPHASE[0x1] SCSISEQ0[0x0] SCSISEQ1[0x12] SEQCTL0[0x0]
SEQINTCTL[0x0] SEQ_FLAGS[0xc0] SEQ_FLAGS2[0x0] SSTAT0[0x0]
SSTAT1[0x8] SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0]
SIMODE1[0xa4] LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0]
LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x0]

SCB Count = 16 CMDS_PENDING = 0 LASTSCB 0xffff CURRSCB 0xf NEXTSCB 0x0
qinstart = 0x4 qinfifonext = 0x5
 0xf
WAITING_TID_QUEUES:
Pending list:
 15 FIFO_USE[0xf] SCB_CONTROL[0x48] SCB_SCSIID[0x17]
Total 1
Kernel Free SCB list: 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Sequencer Complete DMA-inprog list:
Sequencer Complete list:
Sequencer DMA-Up and Complete list:

ahd0: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0
SEQIMODE[0x3f] SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]
SG_CACHE_SHADOW[0x2] SG_STATE[0x0] DFFSXFRCTL[0x0]
SOFFCNT[0x0] MDFFSTAT[0x5]
SHADDR = 0x00, SHCNT = 0x0 HADDR = 0x00, HCNT = 0x0
CCSGCTL[0x10]
ahd0: FIFO1 Free, LONGJMP == 0x8063, SCB 0xf
SEQIMODE[0x3f] SEQINTSRC[0x0] DFCNTRL[0x4] DFSTATUS[0x89]
SG_CACHE_SHADOW[0x2] SG_STATE[0x0] DFFSXFRCTL[0x0]
SOFFCNT[0x0] MDFFSTAT[0x5]
SHADDR = 0x00, SHCNT = 0x0 HADDR = 0x00, HCNT = 0x0
CCSGCTL[0x10]
LQIN: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
ahd0: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x52
ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x0
SIMODE0[0xc]
ahd0: REG0 == 0xf, SINDEX = 0x11a, DINDEX = 0xe1
ahd0: SCBPTR == 0xf, SCB_NEXT == 0xff00, SCB_NEXT2 == 0xffc9
CDB 0 0 0 0 0 0
STACK: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>


--------------030803080100030807060704--