Date: Mon, 12 Mar 2018 21:07:26 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 226174] umass access results in kernel panic Message-ID: <bug-226174-17-RAya6UEIwm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-226174-17@https.bugs.freebsd.org/bugzilla/> References: <bug-226174-17@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=3D226174 --- Comment #2 from Rupert Stitzinger <stitzinger_rupert@web.de> --- 1. Installed the patch for scsi_da from below link (D14456) --> Same behaviour 2. messages when crashing (hope no typo): ----------------------- # // plug in usb stick umass1 on uhub0 . umass1: SCSI over bulk-only; quirks=3D0x4000 umass1:2:1: Attached to scbus2 da1 at umass-sim1 bus 1 scbus 2 target 0 lun 0 da1: < 1100> Removable Direct Access SPC-2 SCSI device . da1: 40.000MB/s transfers . da1: quirks=3D0x2<NO_6_BYTE> # # mount_msdosfs /dev/da1 /mnt/dos=20=20=20=20=20=20=20 panic: bq_remove: Remove buffer 0xfffffe0000e3ec40 from wrong queue cpuid=3D1 time=3D1520878478 KBD: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00004a0= 7a0 vpanic() at vpanic+0x18d/frame 0xfffffe00004a0800 vpanic() at vpanic/frame 0xfffffe00004a0800 bq_remove() at bq_remove+0x151/frame 0xfffffe00004a08a0 buf_recycle() at buf_recycle+0x1a6/frame 0xfffffe00004a0910 bufspace_demon() at bufspace_demon+0x9a/frame 0xfffffe00004a0970 fork_exit() at fork_exit+0x84/frame 0xfffffe00004a09b0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00004a09b0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KBD: enter: panic [thread pid 22 tid 1000072 ] Stopped at kbd_enter+0x3b: movq $0,kdb_why db> ------------------------------ // Added some debug printfs at various functions at head and at end for entering and leaving (only at the end of function) some functions // Before panic: ENTER dastart, LEAVE dastart, ENTER dadone, ENTER dastart, LEAVE dastart panic: ----------------------------- Might be of interest: Machine has microcode patches (for Meltdown / Spectre= ) in BIOS. --=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-226174-17-RAya6UEIwm>