Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/dev/ic Apply patch, requested by gson in ticket #981:
details: https://anonhg.NetBSD.org/src/rev/177bfd8304ee
branches: netbsd-6
changeset: 776495:177bfd8304ee
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun Nov 17 18:14:47 2013 +0000
description:
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.
diffstat:
sys/dev/ic/esiop.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 19217b449059 -r 177bfd8304ee sys/dev/ic/esiop.c
--- a/sys/dev/ic/esiop.c Thu Nov 07 20:43:44 2013 +0000
+++ b/sys/dev/ic/esiop.c Sun Nov 17 18:14:47 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: esiop.c,v 1.55 2010/11/13 13:52:01 uebayasi Exp $ */
+/* $NetBSD: esiop.c,v 1.55.14.1 2013/11/17 18:14:47 bouyer Exp $ */
/*
* Copyright (c) 2002 Manuel Bouyer.
@@ -28,7 +28,7 @@
/* SYM53c7/8xx PCI-SCSI I/O Processors driver */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: esiop.c,v 1.55 2010/11/13 13:52:01 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: esiop.c,v 1.55.14.1 2013/11/17 18:14:47 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1100,8 +1100,12 @@
}
return 1;
}
- /* We just should't get there */
- panic("siop_intr: I shouldn't be there !");
+ /*
+ * We just should't get there, but on some KVM virtual hosts,
+ * we do - see PR 48277.
+ */
+ printf("esiop_intr: I shouldn't be there !\n");
+ return 1;
end:
/*
Home |
Main Index |
Thread Index |
Old Index