Port-i386 archive

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

change "panic: i82489_icr_wait: busy" when entering DDB to warning



I get an annoying recursive "panic: i82489_icr_wait: busy" when invoking
DDB from the console on my Dell PE1400SC machines. C.f. the console log at
the end.

Would anyone object if I changed the panic to a warning?  This panic
triggers only under options DIAGNOSTIC which was enabled in GENERIC
sometinme after netbsd-5 was branched.  With this disabled DDB works fine
and we ignore the condition in non-DIAGNOSTIC kernels for forever anyway.

--chris

Index: lapic.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/x86/lapic.c,v
retrieving revision 1.51
diff -u -r1.51 lapic.c
--- lapic.c	27 Jul 2015 15:45:20 -0000	1.51
+++ lapic.c	27 Oct 2015 15:29:54 -0000
@@ -480,8 +480,10 @@
 		x86_pause();
 #ifdef DIAGNOSTIC
 		j--;
-		if (j == 0)
-			panic("i82489_icr_wait: busy");
+		if (j == 0) {
+			printf("i82489_icr_wait: busy\n");
+			break;
+		}
 #endif /* DIAGNOSTIC */
 	}
 }


15862376+592492+445492 [729824+759664]=0x118b7cc
WARNING: couldn't open /var/db/entropy-file
Loading /stand/i386/7.99.21/modules/cd9660/cd9660.kmod
WARNING: 1 module failed to load
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
    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 7.99.21 (GENERIC.201509092000Z) #0: Wed Sep  9 22:37:35 UTC 2015
        builds%b46.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201509092000Z-obj/home/source/ab/HEAD/src/sys/arch/i386/compile/GENERIC
total memory = 1023 MB
avail memory = 989 MB
mainbus0 (root)
ACPI: RSDP 0x00000000000FDCD0 000014 (v00 DELL  )
ACPI: RSDT 0x00000000000FDCE4 00002C (v01 DELL   PE1400   00000002 MSFT 0100000A)
ACPI: FACP 0x00000000000FDD10 000074 (v01 DELL   PE1400   00000002 MSFT 0100000A)
ACPI: DSDT 0x00000000FFFF4800 00257C (v01 DELL   PE1400   00000002 MSFT 0100000A)
ACPI: FACS 0x000000003FFFE000 000040
ACPI: APIC 0x00000000000FDD84 000060 (v01 DELL   PE1400   00000002 MSFT 0100000A)
ACPI: All ACPI Tables successfully acquired
ioapic0 at mainbus0 apid 1
ioapic1 at mainbus0 apid 2
cpu0 at mainbus0 apid 0
cpu0: Intel 686-class, 860MHz, id 0x686
acpi0 at mainbus0: Intel ACPICA 20150717
FPU (PNP0C04) at acpi0 not configured
pcppi1 at acpi0 (SPK, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x5f irq 0
FDC (PNP0700) at acpi0 not configured
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
COMA (PNP0501) at acpi0 not configured
COMB (PNP0501) at acpi0 not configured
PRT (PNP0401) at acpi0 not configured
MBIO (PNP0C01) at acpi0 not configured
MEM (PNP0C01) at acpi0 not configured
apm0 at acpi0: Power Management spec V1.2
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20150717/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20150717/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20150717/hwxface-646)
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: vendor 1166 product 0009 (rev. 0x06)
pchb1 at pci0 dev 0 function 1: vendor 1166 product 0009 (rev. 0x06)
pci1 at pchb1 bus 1
ahc1 at pci1 dev 2 function 0: Adaptec aic7899 Ultra160 SCSI adapter
ahc1: interrupting at ioapic1 pin 14
ahc1: aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
ahc2 at pci1 dev 2 function 1: Adaptec aic7899 Ultra160 SCSI adapter
ahc2: interrupting at ioapic1 pin 15
ahc2: aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc2: 16 targets, 8 luns per target
fxp0 at pci0 dev 2 function 0: i82559 Ethernet (rev. 0x08)
fxp0: interrupting at ioapic1 pin 0
fxp0: Ethernet address 00:b0:d0:ab:0d:73
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vga0 at pci0 dev 14 function 0: vendor 1002 product 4752 (rev. 0x27)
wsdisplay0 at vga0 kbdmux 1
drm at vga0 not configured
piixpm0 at pci0 dev 15 function 0: vendor 1166 product 0200 (rev. 0x50)
piixpm0: interrupting at SMI, polling
iic0 at piixpm0: I2C bus
rccide0 at pci0 dev 15 function 1: ServerWorks OSB4 IDE Controller (rev. 0x00)
rccide0: primary channel interrupting at ioapic0 pin 14
atabus0 at rccide0 channel 0
rccide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at rccide0 channel 1
ohci0 at pci0 dev 15 function 2: vendor 1166 product 0220 (rev. 0x04)
ohci0: interrupting at ioapic0 pin 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
isa0 at mainbus0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
acpicpu0 at cpu0: ACPI CPU
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: vendor 1166 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
sd0 at scsibus0 target 0 lun 0: <FUJITSU, MAP3735NP, 5207> disk fixed
sd0: 70103 MB, 47996 cyl, 4 head, 747 sec, 512 bytes/sect x 143571316 sectors
sd0: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <FUJITSU, MAP3735NP, 5207> disk fixed
sd1: 70103 MB, 47996 cyl, 4 head, 747 sec, 512 bytes/sect x 143571316 sectors
sd1: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers, tagged queueing
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <CRD-8482B, , 1.05> cdrom removable
boot device: cd0
cd0(rccide0:0:0):  Check Condition on CDB: 0x46 00 00 00 00 00 00 00 08 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Invalid Command Operation Code

wdc_atapi_intr: bad data phase DATAOUT
rccide0:0:0: reset failed
rccide0:0:0: unbusy timed out
rccide0:0:0: reset failed
rccide0:0:0: unbusy timed out
rccide0:0:0: reset failed
rccide0:0:0: unbusy timed out
~fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 202 cr2 0 ilevel 8 esp d9c74f6c
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c74da0
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c74bf0
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c74a40
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_waitbusy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c74890
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c746e0
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c74530
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c74380
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c741d0
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c74020
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c73e70
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c73cc0
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c73b10
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c73960
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c737b0
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c73600
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c73450
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 0 ilevel 8 esp d9c732a0
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
fatal double fault in supervisor mode
trap type 13 code 80000000 eip c08b75fc cs 8 eflags 10297 cr2 d9c72ffc ilevel 8 esp d9c73000
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
kernel: supervisor trap double fault, code=0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 4046 cr2 d9c72ffc ilevel 8 esp d9c78e38
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c78c88
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c78ad8
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c78928
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c78778
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c785c8
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c78418
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c78268
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c780b8
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c77f08
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c77d58
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c77ba8
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c779f8
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c77848
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c77698
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c774e8
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c77338
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c77188
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c76fd8
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c76e28
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c76c78
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c76ac8
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c76918
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c76768
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c765b8
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c76408
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0
Skipping crash dump on recursive panic
panic: i82489_icr_wait: busy
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e424 cs 8 eflags 246 cr2 d9c72ffc ilevel 8 esp d9c76258
curlwp 0xc278a800 pid 0 lid 22 lowest kstack 0xda0be2c0

< system reboots >


Home | Main Index | Thread Index | Old Index