Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2017 05:39:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224330] head -r326347 breaks USB on rpi2 and pine64 (and likely more)
Message-ID:  <bug-224330-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224330

            Bug ID: 224330
           Summary: head -r326347 breaks USB on rpi2 and pine64 (and
                    likely more)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: markmi@dsl-only.net

[This may be related to bugzilla 224080 that is also for
-r326347 problems.]

See Emmanuel Vadot's pine64 USB-breakage report at:

https://lists.freebsd.org/pipermail/svn-src-head/2017-December/106954.html

He writes in part:

 This seems to break USB (EHCI and OHCI) on Pine64 (arm64)
 The board just hang when plugin usb device



In my case I saw this as a boot problem because I use
a USB SSD on a powered hub for the root file system.
(And I did not know about the above report yet.)

See my list messages for the rpi2 example:

https://lists.freebsd.org/pipermail/freebsd-current/2017-December/067771.ht=
ml
https://lists.freebsd.org/pipermail/freebsd-current/2017-December/067799.ht=
ml
https://lists.freebsd.org/pipermail/freebsd-current/2017-December/067807.ht=
ml
https://lists.freebsd.org/pipermail/freebsd-current/2017-December/067811.ht=
ml

My reports have some material from db> prompt
commands (but I'm no expert at what to pick
to show for this).

In my case I did a bisect sequence to find the
-r326346-and-before good / -r325347-and-later bad
boundary: I had jumped from -r326192 to -r326726
but had the problem.

Some db> material is from -r326726 before the
bisect and other material is from -r326347 .

The kernel thread (100001) involves:

. . .
uma_zcreate() at uma_zcreate+0x10c
         pc =3D 0xc052b024  lr =3D 0xc050cc90 (ffs_mount+0x80)
         sp =3D 0xd42a5858  fp =3D 0xd42a5980
         r4 =3D 0xd7844000  r5 =3D 0x00000000
         r6 =3D 0x00000003  r7 =3D 0xc09a99c0
         r8 =3D 0x00000000  r9 =3D 0xd429f000
        r10 =3D 0xd828c400
ffs_mount() at ffs_mount+0x80
         pc =3D 0xc050cc90  lr =3D 0xc032e1d4 (vfs_donmount+0xeec)
         sp =3D 0xd42a5988  fp =3D 0xd42a5b38
         r4 =3D 0xffffffff  r5 =3D 0xd74ec120
         r6 =3D 0xd429f000  r7 =3D 0x00000000
         r8 =3D 0x00000000  r9 =3D 0xc425acd0
        r10 =3D 0xd828c400
. . .

The uma thread involves:

. . .
uma_reclaim_locked() at uma_reclaim_locked+0x200
         pc =3D 0xc052d9f8  lr =3D 0xc052de70 (uma_reclaim_worker+0x4c)
         sp =3D 0xd87dadf0  fp =3D 0xd87dae20
         r4 =3D 0xc09a9c68  r5 =3D 0xc4242d80
         r6 =3D 0xc06df86e  r7 =3D 0x00000000
         r8 =3D 0x00000100  r9 =3D 0xc09b3d08
        r10 =3D 0xc09a9c7c
uma_reclaim_worker() at uma_reclaim_worker+0x4c
         pc =3D 0xc052de70  lr =3D 0xc0230f10 (fork_exit+0xa0)
         sp =3D 0xd87dae28  fp =3D 0xd87dae40
         r4 =3D 0xd7ad8740  r5 =3D 0xd70ce000
         r6 =3D 0xc052de24  r7 =3D 0x00000000
         r8 =3D 0xd87dae48  r9 =3D 0xd7ada3a0
        r10 =3D 0xc0824e8c
. . .

--=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-224330-8>