Date: Wed, 20 May 2020 14:43:18 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 246280] ciss driver causes immediate system crash&reboot if external SAS cable unplugged Message-ID: <bug-246280-227-CTm1tUpXm2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246280-227@https.bugs.freebsd.org/bugzilla/> References: <bug-246280-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246280 --- Comment #2 from Peter Eriksson <pen@lysator.liu.se> --- It doesn't happen all the time, but I managed to provoke it finally by unplugging and the reconnecting it while having some I/O active: ciss0: *** Hot-plug drive inserted, Port=3D1E Box=3D2 Bay=3D3 SN=3D = 5PGTTP6C ciss0: *** Hot-plug drive inserted, Port=3D1E Box=3D2 Bay=3D2 SN=3D = 5PGU1RZC ciss0: *** Hot-plug drive inserted, Port=3D1E Box=3D2 Bay=3D1 SN=3D = 5PGTSWAC ciss0: *** Expander Link Up, Port=3D2E Box=3D1 Exp=3D1 Phy=3D44 Port on mod= ule=3D255 ciss0: *** Expander Link Up, Port=3D2E Box=3D1 Exp=3D1 Phy=3D45 Port on mod= ule=3D255 ciss0: *** Expander Link Up, Port=3D2E Box=3D1 Exp=3D1 Phy=3D46 Port on mod= ule=3D255 ciss0: *** Expander Link Up, Port=3D2E Box=3D1 Exp=3D1 Phy=3D47 Port on mod= ule=3D255 ciss0: *** Enclosure added, Port=3D2E, storage system 2 - 7CE952P09P ciss0: Unknown hotplug event 6 ciss0: *** Hot-plug drive inserted, Port=3D2E Box=3D2 Bay=3D35 SN=3D=20=20= =20=20=20=20=20=20=20=20=20 5PGLBRRE Fatal trap 18: integer divide fault while in kernel mode cpuid =3D 12; apic id =3D 14 instruction pointer =3D 0x20:0xffffffff805c692a stack pointer =3D 0x28:0xfffffe01fa4f1b60 frame pointer =3D 0x28:0xfffffe01fa4f1bb0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 25 (ciss_notify0) trap number =3D 18 panic: integer divide fault cpuid =3D 12 time =3D 1589905482 KDB: stack backtrace: #0 0xffffffff80c1ce67 at kdb_backtrace+0x67 #1 0xffffffff80bcff4d at vpanic+0x19d #2 0xffffffff80bcfda3 at panic+0x43 #3 0xffffffff810aabbc at trap_fatal+0x39c #4 0xffffffff810aa00a at trap+0x6a #5 0xffffffff810832cc at calltrap+0x8 #6 0xffffffff80b901e3 at fork_exit+0x83 #7 0xffffffff8108431e at fork_trampoline+0xe I'm guessing this happens in sys/dev/ciss/ciss.c:ciss_notify_thread(): cr =3D ciss_dequeue_notify(sc); if (cr =3D=3D NULL) panic("cr null"); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246280-227-CTm1tUpXm2>