From owner-freebsd-arm@freebsd.org Fri Mar 12 05:54:33 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0538D56EE32 for ; Fri, 12 Mar 2021 05:54:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DxZlD6c9Tz4rBc for ; Fri, 12 Mar 2021 05:54:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D163F12939 for ; Fri, 12 Mar 2021 05:54:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12C5sWL7006544 for ; Fri, 12 Mar 2021 05:54:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12C5sWfr006543 for freebsd-arm@FreeBSD.org; Fri, 12 Mar 2021 05:54:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 254229] Kernel pcanic when connect USB mass storage on Raspberry Pi 4 Date: Fri, 12 Mar 2021 05:54:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: nrgmilk@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2021 05:54:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254229 Bug ID: 254229 Summary: Kernel pcanic when connect USB mass storage on Raspberry Pi 4 Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: nrgmilk@gmail.com I used snapshot of FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210311-15565e0a217-257277.img.xz My RPI4 is 8GB model. I tested all USB ports and some devices. ---- ugen0.5: at usbus0 umass0 on uhub0 umass0: = on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x0100 umass0:0:0: Attached to scbus0 opanic: malloc(M_WAITOK) with sleeping prohibited cpuid =3D 0 time =3D 1615452946 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x30 vpanic() at vpanic+0x184 panic() at panic+0x44 malloc_dbg() at malloc_dbg+0xf8 malloc() at malloc+0x30 disk_alloc() at disk_alloc+0x1c daregister() at daregister+0x3b8 cam_periph_alloc() at cam_periph_alloc+0x528 daasync() at daasync+0x260 xpt_async_process_dev() at xpt_async_process_dev+0x194 xpt_async_process() at xpt_async_process+0x3a0 xpt_done_process() at xpt_done_process+0x314 xpt_done_td() at xpt_done_td+0xd8 fork_exit() at fork_exit+0x74 fork_trampoline() at fork_trampoline+0x14 KDB: enter: panic [ thread pid 7 tid 100044 ] Stopped at kdb_enter+0x44: undefined f902811f --- --- ugen0.3: at usbus0 umass0 on uhub1 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x4000 umass0:0:0: Attached to scbus0 panic: malloc(M_WAITOK) with sleeping prohibited cpuid =3D 2 time =3D 1615455121 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x30 vpanic() at vpanic+0x184 panic() at panic+0x44 malloc_dbg() at malloc_dbg+0xf8 malloc() at malloc+0x30 disk_alloc() at disk_alloc+0x1c daregister() at daregister+0x3b8 cam_periph_alloc() at cam_periph_alloc+0x528 daasync() at daasync+0x260 xpt_async_process_dev() at xpt_async_process_dev+0x194 xpt_async_process() at xpt_async_process+0x3a0 xpt_done_process() at xpt_done_process+0x314 xpt_done_td() at xpt_done_td+0xd8 fork_exit() at fork_exit+0x74 fork_trampoline() at fork_trampoline+0x14 KDB: enter: panic [ thread pid 7 tid 100044 ] Stopped at kdb_enter+0x44: undefined f902811f --- --=20 You are receiving this mail because: You are the assignee for the bug.=