Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2021 23:19:36 -0500
From:      Daniel Morante via freebsd-arm <freebsd-arm@freebsd.org>
To:        freebsd-arm@freebsd.org
Subject:   Re: 14-CURRENT Kernel Panic due to USB hub?
Message-ID:  <5accc09d-e79a-4deb-cf84-7cde29a15d97@morante.net>
In-Reply-To: <fbfa2dcc-ae3f-230b-2f56-3b940b025342@morante.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Looks like setting "hw.usb.disable_enumeration=1" stops the USB hub 
detaching/reattaching and stabilizes things.

On 11/11/2021 6:43 PM, Daniel Morante via freebsd-arm wrote:
> I'm trying a new install using 
> FreeBSD-14.0-CURRENT-arm64-aarch64-20211104-7ac82c96fe7-250453-bootonly.iso. 
> The process is rough, but after a few attempts it eventually completes.
>
> Here are the steps taken:
>
>  * First boot: system is able to start properly and I proceed with
>    bsdinstall. See serial console output
> (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/serialconsole-boot-successful.txt)
>  * Setup the interface to use DHCP, it gets an address
>  * Select the ftp mirror, setup partitioning (auto UFS, GPT, etc...)
>  * The system panics while "connecting to server".  See serial console
>    output
> (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/panic1.txt)
>  * Reset the system and start over.
>  * Now get 'DHCP leased acquisition failed".  Nothing is printed on
>    serial console.
>  * Retry, gets an address
>  * Installation goes on to fetch distribution files.
>  * Hangs at about 60% and then panics.  See serial console output
> (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/panic2.txt)
>  * Restart the process again.  Panics at around 30%.  See serial
>    console output
> (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/panic3.txt).
>  * Reset the system, boot fails with panic.  See serial console output
> (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/serialconsole-boot-fail.txt)
>  * Try again, no panic, install succeeds.
>  * Boot into new system
>
> At this point it seems like everything is fine, but:
>
>  * After a few minutes of using the system, it just locks up.
>  * I reboot, get dropped to single use, run fsck, exit, resume startup.
>  * The system halts (no kernel panic) with an error "RAS CONTROLLER:
>    SYSTEM HALTED...".  See serial console output
> (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/ras-controller-error.txt)
>  * Reboot, system works.
>  * After a few minutes of using the system, it just locks up.
>
> Throughout the entire process I am seeing a kernel message about a USB 
> hub being disconnected and reattached.  Even after booting into the 
> installed system:
>
> ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
> uhub5: at uhub0, port 1, addr 1 (disconnected)
> uhub5: detached
> ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
> uhub5 numa-domain 0 on uhub0
> uhub5: <Interrupt In Interface> on usbus0
> uhub5: 4 ports with 4 removable, self powered
>
> I suspect these problems are caused by the above detaching/reattaching.
>
> There are no external or add-on USB hubs connected to this system.  
> Running other operating systems such as Ubuntu and VMWare ESXi for 
> arm64 do not present these problems.
>

[-- Attachment #2 --]
0	*H
010
	`He0	*H
000
	*H
010	UUS10UFlorida10
UNaples1)0'U
 The Daniel Morante Company, Inc.10UPacy World, LLC10UPacy World Root CA0
180707173531Z
280704173531Z010	UUS10UFlorida1)0'U
 The Daniel Morante Company, Inc.10UPacy World, LLC1#0!UPacy World Intermediate CA0"0
	*H
0
4,?6sK?-A\8z鹘̞y,'W!m${R
x뗹ЃQ rMUM݆j
56%,ҭO!]D GV'VzAc^e^h't@Q)K8Le{/a-*& ʃ0V5*rn]/"/,GS(ya<OgnbG<*~KReq1s?B۶Li9r
x^38-@.fpn*ǬG0TPpaMv e"wSAvmY2@;y}h"0LMPGR6IGׂ<D^|}ӔgM+Ȉ`($u7IѾavG>w5hpbfs[]yx'N_![4 HENϤDZ\%R|3>9"SjC3׶i_`Xd4a3f0d0U|r6)A
]Dz)U0U#0zF;ߢl'+hH=v]0U00U0
	*H
,O(r|AQQMlTFo۪+X:}|pNH
uzmg1jcHWi/oʢ"'s!
9&Y1yP-Hiu(s"/>B%g[6gdrKiS(xcBKkⅳP&G7dBoB{hLџ9c2jfWgv{Ȕ5	NQPdnH/Jv$4W <SVhUwvΦ
ayMa!}ڲN{}X<OoKpQLŲI.19HEFa(
;.dNNƈZc33.
MPNBU<brI^+7@Rl]
g>$0?P;Cj_~"!?%IZ֜o@l<"Ҍ!wYqB{5"zZ
$~500y0
	*H
010	UUS10UFlorida1)0'U
 The Daniel Morante Company, Inc.10UPacy World, LLC1#0!UPacy World Intermediate CA0
210329042746Z
310327042746Z010	UUS10UFlorida10
UNaples1&0$U
Personal Identity Certificate10UHome PC10UDaniel Morante1!0	*H
	daniel@morante.net0"0
	*H
0
4Y$im)ۧ䟊?W*:;BZav{x)e4=AcW:|~g]ϼ%ۆVx:>45Ofn
Y1KoP4KK
n['ߵ*Qg
AF0qFbߗ:wN2%[}a^6zʆ)dk__(G]!~44.lLJ- |ӿTz
]40 d_(.
zdzS:˂H|ZDj"zw,qhJ*":?n.47Z9I9s4ÐCu}Ph\+$Ev8uϾaJlebX\BxKn/Ch<adZoiIb(Vy;L`ZЦlR\Yf"K1̉X%"paD/Sa2I*!K9%;#O%c/]%ʝ0B#lS7^00	U00U0Uc`7ynuR3cO30U#0|r6)A
]Dz)U0U0daniel@morante.net0'U% 0+++0;+/0-0++0http://www.pacyworld.com/ca.php0
	*H
fjV<
qL4kR<,ev3.BHwb֌=+ꣽG9en3_,3%n,,
^(TFِ}a񬩖n_>!K+@u2a~`d#
B~@&NYc6Q*Y*+xcJ7JeoG0_NL&}'>⍙	R3.&*ִ&?℟Ÿ'xQ$Br=#'iǜt3=fBQ7Q,͔
U4o-vWmY? U݋Xlv׶s;n2ժXa&:쓹(C6KQόD2J12k$V@S;k*1$h1}ڂ-s;MPϴ}#wЗG&`|,XTz#~KVU9i n}Xs%=100010	UUS10UFlorida1)0'U
 The Daniel Morante Company, Inc.10UPacy World, LLC1#0!UPacy World Intermediate CA0
	`HeA0	*H
	1	*H
0	*H
	1
211112041936Z0O	*H
	1B@^_f+28t[4kmIx')@z4Tr;wk߮6j%M2\xMȶY0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UUS10UFlorida1)0'U
 The Daniel Morante Company, Inc.10UPacy World, LLC1#0!UPacy World Intermediate CA0*H
	1010	UUS10UFlorida1)0'U
 The Daniel Morante Company, Inc.10UPacy World, LLC1#0!UPacy World Intermediate CA0
	*H
PwxPxY羂Qд3lڴVsʋ7qEΚOdZ銩N!wP.BWeNfwP1on)+h?mlyn4N	hUZNnjOuWڛr_>?s8y',EG揃Ϝ=GgJ.+|'CqEm2Gm]},H+$4Ј3 zXrsjZ[w3ȥLj
nFiژH
fqٔ;Lv 5N@^|p'	'[Kc3yO_C\_Y?D"@"Ɏ$/LAyc^~
GQOQܥWqޗ[M>Fx6P}v#,ƈh"ըMJJ5t\
%xE(ۓ9mc (c
ⶴM5r$v_	^
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5accc09d-e79a-4deb-cf84-7cde29a15d97>