Bug 124708 - [panic] Kernel panic on USB KVM reattach
Summary: [panic] Kernel panic on USB KVM reattach
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 7.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 11:10 UTC by Gergely Czuczy
Modified: 2017-12-31 22:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gergely Czuczy 2008-06-18 11:10:01 UTC
We're using supermicro's blades, the KVM works like adding keyboard and mouse to selected blade over USB. when the KVM is changed from one blade to another, the USB devices are detached from one and attached to another.

When the re-attach is done after a few hours, a kernel panic occurs. After noticing all the devices, this is the text of the panic:

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address = 0x290
fault code = supervisor read data, page not present
instruction pointer = 0x8:0xffffffff803aa89d
stack pointer = 0x10:0xffffffffae161df0
frame pointer = 0x10:0xffffff000622ca80
code segment = base rx0, limit 0xfffff, type 0x1b
             = DLP 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 35 (usb3)
trap number = 12
panic: page fault
cpuid = 1
uptime: 18h26m26s

I guess something is paged out what shouldn't be.

# diff -u /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/WWWBLADE
-ident          GENERIC
+ident          WWWBLADE
-makeoptions    DEBUG=-g                # Build kernel with gdb(1) debug symbols
+#makeoptions   DEBUG=-g                # Build kernel with gdb(1) debug symbols
+#options       SCHED_ULE               # 4BSD scheduler
-options        INET6                   # IPv6 communications protocols
-options        SCTP                    # Stream Control Transmission Protocol
+#options       INET6                   # IPv6 communications protocols
+#options       SCTP                    # Stream Control Transmission Protocol
-options        COMPAT_FREEBSD4         # Compatible with FreeBSD4
-options        COMPAT_FREEBSD5         # Compatible with FreeBSD5
+#options       COMPAT_FREEBSD4         # Compatible with FreeBSD4
+#options       COMPAT_FREEBSD5         # Compatible with FreeBSD5
-device         cbb             # cardbus (yenta) bridge
-device         pccard          # PC Card (16-bit) bus
-device         cardbus         # CardBus (32-bit) bus
-device         ppc
-device         ppbus           # Parallel port bus (required)
-device         lpt             # Printer
-device         plip            # TCP/IP over parallel
-device         ppi             # Parallel port interface device
-#device                vpo             # Requires scbus and da
-device         wlan            # 802.11 support
-device         wlan_wep        # 802.11 WEP support
-device         wlan_ccmp       # 802.11 CCMP support
-device         wlan_tkip       # 802.11 TKIP support
-device         wlan_amrr       # AMRR transmit rate control algorithm
-device         wlan_scan_ap    # 802.11 AP mode scanning
-device         wlan_scan_sta   # 802.11 STA mode scanning
-device         an              # Aironet 4500/4800 802.11 wireless NICs.
-device         ath             # Atheros pci/cardbus NIC's
-device         ath_hal         # Atheros HAL (Hardware Access Layer)
-device         ath_rate_sample # SampleRate tx rate control for ath
-device         awi             # BayStack 660 and others
-device         ral             # Ralink Technology RT2500 wireless NICs.
-device         wi              # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
-device         sl              # Kernel SLIP
-device         ppp             # Kernel PPP
+#device                sl              # Kernel SLIP
+#device                ppp             # Kernel PPP
-device         gif             # IPv6 and IPv4 tunneling
-device         faith           # IPv6-to-IPv4 relaying (translation)
+#device                gif             # IPv6 and IPv4 tunneling
+#device                faith           # IPv6-to-IPv4 relaying (translation)
-device         ural            # Ralink Technology RT2500USB wireless NICs
-device         urio            # Diamond Rio 500 MP3 player
-device         uscanner        # Scanners
-# USB Ethernet, requires miibus
-device         aue             # ADMtek USB Ethernet
-device         axe             # ASIX Electronics USB Ethernet
-device         cdce            # Generic USB over Ethernet
-device         cue             # CATC USB Ethernet
-device         kue             # Kawasaki LSI USB Ethernet
-device         rue             # RealTek RTL8150 USB Ethernet
-device         firewire        # FireWire bus code
-device         sbp             # SCSI over FireWire (Requires scbus and da)
-device         fwe             # Ethernet over FireWire (non-standard!)
-device         fwip            # IP over FireWire (RFC 2734,3146)
-device         dcons           # Dumb console driver
-device         dcons_crom      # Configuration ROM for dcons
+device         if_bridge
+device         pf
+device         pflog

How-To-Repeat: Detach the USB KVM (keyboard/mouse, etc).
wait 10-15-18 hours.
reattach the USB KVM.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-06-18 18:18:33 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-usb

reclassify.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:52 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped