NetBSD Problem Report #48277
From gson@gson.org Sat Oct 5 15:45:32 2013
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9D02A71FC6
for <gnats-bugs@gnats.NetBSD.org>; Sat, 5 Oct 2013 15:45:32 +0000 (UTC)
Message-Id: <20131005154526.7EBC075FD5@guava.gson.org>
Date: Sat, 5 Oct 2013 18:45:26 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@gnats.NetBSD.org
Subject: Booting under KVM yields panic: siop_intr: I shouldn't be there !
X-Send-Pr-Version: 3.95
>Number: 48277
>Category: kern
>Synopsis: Booting under KVM yields panic: siop_intr: I shouldn't be there !
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 05 15:50:00 +0000 2013
>Closed-Date: Sun Nov 17 18:22:22 +0000 2013
>Last-Modified: Sun Nov 17 18:22:22 +0000 2013
>Originator: Andreas Gustafsson
>Release: NetBSD 6.1.2 + patch (see below)
>Organization:
>Environment:
System: NetBSD 6.1.2
Architecture: x86_64
Machine: amd64
>Description:
I am attempting to install NetBSD on a virtual server hosted
by edis.at and based on the Linux KVM virtualization technology.
I am now trying NetBSD 6.1.2 plus a patch to force PCI configuration
mode 1 as in src/sys/arch/x86/pci/pci_machdep.c 1.61, to work around
PR 45671.
With this, I am able to boot the install media and install using
sysinst. However, when booting the installed system, the kernel
panics (messages manually transcribed):
acpicpu0 at cpu0: ACPI CPU
panic: siop_intr: I shouldn't be there !
fatal breakpoint trap in supervisor mode
trap typ 1 code 0 rip ffffffff80252edd cs 8 rflags 246 cr2 0 cpl 6 rsp ffffffff80fc2c48
Stopped in pid 0.1 (system) at netbs:breakpoint+0x5: leave
db{0}>
>How-To-Repeat:
Order a KVM VPS from edis.at. Ask them to configure a custom install
ISO with the download link
http://www.gson.org/netbsd/iso/NetBSD-6.1.2-pcimode1-amd64.iso .
Install. Boot.
>Fix:
>Release-Note:
>Audit-Trail:
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/48277: Booting under KVM yields panic: siop_intr: I shouldn't be there !
Date: Sat, 5 Oct 2013 23:05:42 +0300
A bit more information... The dmesg contains
esiop0 at pci0 dev 4 function 0: Symbios Logic 53c895a (ultra2-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at ioapic0 pin 11
scsibus0 at esiop0: 16 targets, 8 luns per target
so presumably the panic is from the esiop driver, not the siop one.
The VPS is configured to emulate an IDE disk, not a SCSI one, so there
are no emulated SCSI targets.
As a work-around, a kernel built with the following configuration
(I call it SIOPLESS) boots successfully:
include "arch/amd64/conf/GENERIC"
no siop
no esiop
--
Andreas Gustafsson, gson@gson.org
From: David Holland <dholland-gnats@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/48277: Booting under KVM yields panic: siop_intr: I
shouldn't be there !
Date: Sat, 5 Oct 2013 20:30:23 +0000
On Sat, Oct 05, 2013 at 03:50:00PM +0000, Andreas Gustafsson wrote:
> panic: siop_intr: I shouldn't be there !
It looks like building with SIOP_DEBUG_INTR might provide some further
information. FWIW. And if you're going to go to the trouble there also
appears to be SIOP_DEBUG.
(also it looks like the message in esiop.c should be changed to say
esiop_intr)
--
David A. Holland
dholland@netbsd.org
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/48277: Booting under KVM yields panic: siop_intr: I
shouldn't be there !
Date: Sun, 6 Oct 2013 12:44:44 +0300
David Holland wrote:
> It looks like building with SIOP_DEBUG_INTR might provide some further
> information. FWIW. And if you're going to go to the trouble there also
> appears to be SIOP_DEBUG.
I enabled SIOP_DEBUG_INTR and SIOP_DEBUG in esiop.c, and to simplify
the extraction of the kernel messages, I also changed the panic() into
a printf() followed by "return 1;". The full dmesg output follows.
--
Andreas Gustafsson, gson@gson.org
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012
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 6.1.2 (GENERIC) #1: Sun Oct 6 12:28:46 EEST 2013
gson@guido.araneus.fi:/bracket/prod2/6.1.2-RELEASE/obj/sys/arch/amd64/compile/GENERIC
total memory = 1023 MB
avail memory = 978 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Bochs Bochs
mainbus0 (root)
forcing PCI mode 1 for QEMU
cpu0 at mainbus0 apid 0: QEMU Virtual CPU version 1.0, id 0x623
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <BOCHS ,BXPCRSDT,00000001>, AslId <BXPC,00000001>
LNKS: ACPI: Found matching pin for 0.1.INTA at func 3: 9
LNKD: ACPI: Found matching pin for 0.1.INTD at func 2: 11
LNKC: ACPI: Found matching pin for 0.3.INTA at func 0: 11
LNKD: ACPI: Found matching pin for 0.4.INTA at func 0: 11
LNKB: ACPI: Found matching pin for 0.6.INTA at func 0: 10
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 100000000 Hz quality 2000
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
FDC0 (PNP0700) at acpi0 not configured
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x1237 (rev. 0x02)
pcib0 at pci0 dev 1 function 0: vendor 0x8086 product 0x7000 (rev. 0x00)
piixide0 at pci0 dev 1 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 1 function 2: vendor 0x8086 product 0x7020 (rev. 0x01)
uhci0: interrupting at ioapic0 pin 11
usb0 at uhci0: USB revision 1.0
piixpm0 at pci0 dev 1 function 3: vendor 0x8086 product 0x7113 (rev. 0x03)
timecounter: Timecounter "piixpm0" frequency 3579545 Hz quality 1000
piixpm0: 24-bit timer
piixpm0: LNKS: _SRS failed: AE_NOT_FOUND
interrupting at ioapic0 pin 9
iic0 at piixpm0: I2C bus
vga0 at pci0 dev 2 function 0: vendor 0x1013 product 0x00b8 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
virtio0 at pci0 dev 3 function 0
virtio0: Virtio Network Device (rev. 0x00)
vioif0 at virtio0: Ethernet address 52:54:00:f8:0c:5e
virtio0: allocated 20480 byte for virtqueue 0 for rx, size 256
virtio0: using 8192 byte (512 entries) indirect descriptors
virtio0: allocated 81920 byte for virtqueue 1 for tx, size 256
virtio0: using 69632 byte (4352 entries) indirect descriptors
virtio0: allocated 8192 byte for virtqueue 2 for control, size 64
virtio0: interrupting at ioapic0 pin 11
esiop0 at pci0 dev 4 function 0: Symbios Logic 53c895a (ultra2-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at ioapic0 pin 11
esiop0: alloc new tag DSA table at PHY addr 0x2f68000
esiop0: target table offset 724 free offset 740
scsibus0 at esiop0: 16 targets, 8 luns per target
virtio1 at pci0 dev 6 function 0
virtio1: Virtio Memory Balloon Device (rev. 0x00)
viomb0 at virtio1
virtio1: allocated 8192 byte for virtqueue 0 for inflate, size 128
virtio1: allocated 8192 byte for virtqueue 1 for deflate, size 128
virtio1: interrupting at ioapic0 pin 10
isa0 at pcib0
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
attimer0: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat 0 us, pow 0 mW
interrupt, istat=0x1 tflags=0x0 DSA=0x0 DSP=0x50
siop_intr: I shouldn't be there !
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
scsibus0: waiting 2 seconds for devices to settle...
uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
esiop0 grow resources (0)
tables[0]: in=0x31e9010 out=0x31e9000 status=0x31e9020
tables[1]: in=0x31e9100 out=0x31e90f0 status=0x31e9110
tables[2]: in=0x31e91f0 out=0x31e91e0 status=0x31e9200
tables[3]: in=0x31e92e0 out=0x31e92d0 status=0x31e92f0
tables[4]: in=0x31e93d0 out=0x31e93c0 status=0x31e93e0
tables[5]: in=0x31e94c0 out=0x31e94b0 status=0x31e94d0
tables[6]: in=0x31e95b0 out=0x31e95a0 status=0x31e95c0
tables[7]: in=0x31e96a0 out=0x31e9690 status=0x31e96b0
tables[8]: in=0x31e9790 out=0x31e9780 status=0x31e97a0
tables[9]: in=0x31e9880 out=0x31e9870 status=0x31e9890
tables[10]: in=0x31e9970 out=0x31e9960 status=0x31e9980
tables[11]: in=0x31e9a60 out=0x31e9a50 status=0x31e9a70
tables[12]: in=0x31e9b50 out=0x31e9b40 status=0x31e9b60
tables[13]: in=0x31e9c40 out=0x31e9c30 status=0x31e9c50
tables[14]: in=0x31e9d30 out=0x31e9d20 status=0x31e9d40
tables[15]: in=0x31e9e20 out=0x31e9e10 status=0x31e9e30
tables[16]: in=0x31e9f10 out=0x31e9f00 status=0x31e9f20
esiop0: alloc siop_target for target 0
esiop0: lun table for target 0 offset 740 free offset 758
interrupt, istat=0x2 tflags=0x3 DSA=0x31e9000 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9000 DSP=0x3d0
esiop_intr end: status 255
esiop0:0:0: free lun sw entry
esiop0: alloc siop_target for target 1
esiop0: lun table for target 1 offset 758 free offset 776
cd0 at scsibus0 target 1 lun 0: <QEMU, QEMU CD-ROM, 1.0> cdrom removable
interrupt, istat=0x1 tflags=0x103 DSA=0x31e92d0 DSP=0x270
script interrupt 0xff00
done, DSA=0x31e92d0 target id 0x7010000 last msg in=0x0 status=0x2
esiop_intr end: status 2
interrupt, istat=0x2 tflags=0x10b DSA=0x31e93c0 DSP=0x5b8
scsi interrupt, sist=0x80 sstat1=0x3 DSA=0x31e93c0 DSP=0x5b8
interrupt, istat=0x1 tflags=0x103 DSA=0x31e94b0 DSP=0x270
script interrupt 0xff00
done, DSA=0x31e94b0 target id 0x7010000 last msg in=0x0 status=0x2
esiop_intr end: status 2
interrupt, istat=0x2 tflags=0x10b DSA=0x31e95a0 DSP=0x5b8
scsi interrupt, sist=0x80 sstat1=0x3 DSA=0x31e95a0 DSP=0x5b8
esiop0: alloc siop_target for target 2
esiop0: lun table for target 2 offset 776 free offset 794
interrupt, istat=0x2 tflags=0x203 DSA=0x31e9690 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9690 DSP=0x3d0
esiop_intr end: status 255
esiop0:2:0: free lun sw entry
esiop0: alloc siop_target for target 3
esiop0: lun table for target 3 offset 794 free offset 812
interrupt, istat=0x2 tflags=0x303 DSA=0x31e9780 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9780 DSP=0x3d0
esiop_intr end: status 255
esiop0:3:0: free lun sw entry
esiop0: alloc siop_target for target 4
esiop0: lun table for target 4 offset 812 free offset 830
interrupt, istat=0x2 tflags=0x403 DSA=0x31e9870 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9870 DSP=0x3d0
esiop_intr end: status 255
esiop0:4:0: free lun sw entry
esiop0: alloc siop_target for target 5
esiop0: lun table for target 5 offset 830 free offset 848
interrupt, istat=0x2 tflags=0x503 DSA=0x31e9960 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9960 DSP=0x3d0
esiop_intr end: status 255
esiop0:5:0: free lun sw entry
esiop0: alloc siop_target for target 6
esiop0: lun table for target 6 offset 848 free offset 866
interrupt, istat=0x2 tflags=0x603 DSA=0x31e9a50 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9a50 DSP=0x3d0
esiop_intr end: status 255
esiop0:6:0: free lun sw entry
esiop0: alloc siop_target for target 8
esiop0: lun table for target 8 offset 866 free offset 884
interrupt, istat=0x2 tflags=0x803 DSA=0x31e9b40 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9b40 DSP=0x3d0
esiop_intr end: status 255
esiop0:8:0: free lun sw entry
esiop0: alloc siop_target for target 9
esiop0: lun table for target 9 offset 884 free offset 902
interrupt, istat=0x2 tflags=0x903 DSA=0x31e9c30 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9c30 DSP=0x3d0
esiop_intr end: status 255
esiop0:9:0: free lun sw entry
esiop0: alloc siop_target for target 10
esiop0: lun table for target 10 offset 902 free offset 920
interrupt, istat=0x2 tflags=0xa03 DSA=0x31e9d20 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9d20 DSP=0x3d0
esiop_intr end: status 255
esiop0:10:0: free lun sw entry
esiop0: alloc siop_target for target 11
esiop0: lun table for target 11 offset 920 free offset 938
interrupt, istat=0x2 tflags=0xb03 DSA=0x31e9e10 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9e10 DSP=0x3d0
esiop_intr end: status 255
esiop0:11:0: free lun sw entry
esiop0: alloc siop_target for target 12
esiop0: lun table for target 12 offset 938 free offset 956
interrupt, istat=0x2 tflags=0xc03 DSA=0x31e9f00 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9f00 DSP=0x3d0
esiop_intr end: status 255
esiop0:12:0: free lun sw entry
esiop0: alloc siop_target for target 13
esiop0: lun table for target 13 offset 956 free offset 974
interrupt, istat=0x2 tflags=0xd03 DSA=0x31e9000 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e9000 DSP=0x3d0
esiop_intr end: status 255
esiop0:13:0: free lun sw entry
esiop0: alloc siop_target for target 14
esiop0: lun table for target 14 offset 974 free offset 992
interrupt, istat=0x2 tflags=0xe03 DSA=0x31e90f0 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e90f0 DSP=0x3d0
esiop_intr end: status 255
esiop0:14:0: free lun sw entry
esiop0: alloc siop_target for target 15
esiop0: lun table for target 15 offset 992 free offset 1010
interrupt, istat=0x2 tflags=0xf03 DSA=0x31e91e0 DSP=0x3d0
scsi interrupt, sist=0x400 sstat1=0x0 DSA=0x31e91e0 DSP=0x3d0
esiop_intr end: status 255
esiop0:15:0: free lun sw entry
wd0 at atabus0 drive 0
wd0: <QEMU HARDDISK>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 12288 MB, 24966 cyl, 16 head, 63 sec, 512 bytes/sect x 25165824 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, DMA mode 2 (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/48277: Booting under KVM yields panic: siop_intr: I shouldn't be there !
Date: Sun, 6 Oct 2013 22:58:15 +0200
The printf should be conditionalized on SIOP_DEBUG_INTR and the return
should be "return retval;" - otherwise the change looks good enough to
go in.
A panic is very unfriendly here, even if the interrupt status reported
does not match the remainder of the hardware status here.
Martin
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
Andreas Gustafsson <gson@gson.org>
Subject: Re: kern/48277: Booting under KVM yields panic: siop_intr: I
shouldn't be there !
Date: Sun, 6 Oct 2013 23:31:35 +0200
On Sun, Oct 06, 2013 at 09:00:01PM +0000, Martin Husemann wrote:
> The following reply was made to PR kern/48277; it has been noted by GNATS.
>
> From: Martin Husemann <martin@duskware.de>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: kern/48277: Booting under KVM yields panic: siop_intr: I shouldn't be there !
> Date: Sun, 6 Oct 2013 22:58:15 +0200
>
> The printf should be conditionalized on SIOP_DEBUG_INTR and the return
> should be "return retval;" - otherwise the change looks good enough to
> go in.
>
> A panic is very unfriendly here, even if the interrupt status reported
> does not match the remainder of the hardware status here.
No, if you want to remove the panic the printf should stay
inconditionally.
I you get in this situation while running on real hardware, at best the
hardware is not recoverable, at worse it can misbehave bad enough to damage
some other memory region. A message on the console is mandadory, and a panic
looks appropriate to me in this case.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org
Cc: David Holland <dholland-gnats@netbsd.org>
Subject: Re: kern/48277: Booting under KVM yields panic: siop_intr: I
shouldn't be there !
Date: Wed, 30 Oct 2013 10:46:11 +0200
David Holland wrote:
> > panic: siop_intr: I shouldn't be there !
[...]
> (also it looks like the message in esiop.c should be changed to say
> esiop_intr)
I just fixed the message, along with several other panic messages
in siop.c and esiop.c that referenced the wrong functions. Next
thing would be to fix the panic...
--
Andreas Gustafsson, gson@gson.org
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org, Martin Husemann <martin@duskware.de>, Manuel Bouyer <bouyer@antioche.eu.org>
Cc: kern-bug-people@netbsd.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/48277: Booting under KVM yields panic: siop_intr: I shouldn't be there !
Date: Wed, 30 Oct 2013 10:56:05 +0200
Martin Husemann wrote:
> The printf should be conditionalized on SIOP_DEBUG_INTR and the return
> should be "return retval;" - otherwise the change looks good enough to
> go in.
And Manuel Bouyer replied:
> No, if you want to remove the panic the printf should stay
> inconditionally.
I concur with Manuel. Furthermore, I don't see the point in changing
the "return 1;" to "return retval;", because retval will always be 1
at that point in the code, and other return statements in the vicinity
already say "return 1;", so "return 1;" seems simpler, clearer, and
more consistent with the existing code.
Unless there are other objections, I will change the panic into an
unconditional printf followed by "return 1;".
--
Andreas Gustafsson, gson@gson.org
From: "Andreas Gustafsson" <gson@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48277 CVS commit: src/sys/dev/ic
Date: Sat, 2 Nov 2013 13:59:14 +0000
Module Name: src
Committed By: gson
Date: Sat Nov 2 13:59:14 UTC 2013
Modified Files:
src/sys/dev/ic: esiop.c siop.c
Log Message:
Turn the "esiop_intr: I shouldn't be there !" panic into a printf
followed by a return from the interrupt handler. The condition is
triggered on some KVM virtual hosts, apparently harmlessly, and not
panicing makes it possible to boot a NetBSD GENERIC kernel on those
hosts. Also make the same change to siop to minimize divergence
between siop and esiop. Fixes PR kern/48277.
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/ic/esiop.c
cvs rdiff -u -r1.99 -r1.100 src/sys/dev/ic/siop.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->pending-pullups
State-Changed-By: gson@NetBSD.org
State-Changed-When: Wed, 06 Nov 2013 20:28:45 +0000
State-Changed-Why:
Pullup request submitted.
From: "Manuel Bouyer" <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48277 CVS commit: [netbsd-6] src/sys/dev/ic
Date: Sun, 17 Nov 2013 18:14:47 +0000
Module Name: src
Committed By: bouyer
Date: Sun Nov 17 18:14:47 UTC 2013
Modified Files:
src/sys/dev/ic [netbsd-6]: esiop.c
Log Message:
Apply patch, requested by gson in ticket #981:
sys/dev/ic/esiop.c 1.57 via patch
Turn the "siop_intr: I shouldn't be there !" panic message in the
esiop driver into a printf followed by a return from the interrupt
handler. The condition is triggered on some KVM virtual hosts,
apparently harmlessly, and not panicing makes it possible to boot a
NetBSD GENERIC kernel on those hosts. Fixes PR kern/48277.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.55.14.1 src/sys/dev/ic/esiop.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: pending-pullups->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 17 Nov 2013 18:22:22 +0000
State-Changed-Why:
pulled up, thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.