From nobody Fri Sep 19 01:14:15 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cSZKd5kFMz68KfM for ; Fri, 19 Sep 2025 01:14:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cSZKd1Z8Pz46TG for ; Fri, 19 Sep 2025 01:14:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-323266d6f57so1642102a91.0 for ; Thu, 18 Sep 2025 18:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1758244467; x=1758849267; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ox/bNdCGnKJ8YIQQ4H+6alIH7Y+lrkj69rRNcKLxA2w=; b=2R0wvI/0rgtJVx6OFtdPgyxOdiT0UkJe0vR2d/pYKHBfcfpaNGwR7W9jh5fMJFfn32 PY/+lZmSt2QpXIQAZLSijU4kIGDiQSqTqhFtf8+zLMCaG/4oyDCLQ947r+MDcJJ0CoQm oX2k0biwZtwd9B7xj1iKgBYOzZrC5nnQkgZi6/VxPON9KfP1gNwoC3tmGp0Px3Y9dDCd dCA55msiauEJS20vfilvYNPXCPdozKvlpM/K15QJZ86So47JhbeabB9Dn6kywf5EXv7L 936C/eUtKpiUZ/GgIgbiUWpPnQITSU/vXSy7USeDxbgH6XYt/VghvK1r1h7tQe3Q4eyL T3ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758244467; x=1758849267; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ox/bNdCGnKJ8YIQQ4H+6alIH7Y+lrkj69rRNcKLxA2w=; b=ZlB3d8QCtFGB+fAu/zG00woxvlyqYpuKsPUL65JeT4/D0mNKdStyeoX234N96M02t0 BHJkS3Ne7Ung+zwx68YdSUDn1O2WuYcWb1DevgI66ykQ82IeUQRKgATVbvHE0X9FL51V Q+nDh1imt15MO2sxU6eiqJ7FVv8o2b+OtfU7HEcZID4IKzCQAqoUXYJXCuFnaZt7D9QW jTJOpJeeJsij/W9/4nEaT3O6uLm5KFGzV+Do5LK5f9HDNgyrV5zO3WRA6w6VXQEZ+Koz J++8gGjwjdKnp810UqW6l6TxADGJzMcM8CZtGTvVscJTurSLswJutPFuhYV0KC0E7sjM 3bjA== X-Gm-Message-State: AOJu0Ywp3d50/gpMyy64kJEUU46H90OwAx3j8oIThXsACn3yr268FJP9 QHKWxy4tguaP5PlaLWT4z0EU/IY5vGowZGIvWsWP08FCEewwrmQ5Tltz7hCmO/jr0W+bDqO/zbq Ak1jWI6oHhuNTGRiHre9ltah25TfD1xzi4gUgh2iMJxiU9h9B3Fd0 X-Gm-Gg: ASbGncvtxy5UClcj5buOC/EoW14w+YPVdre97F+nHB4YWAjig6wA9+twnbctOokScGT 41zuxPHUdipyijqHgcVtsT4trxKxVnIpq6U20saBGBV+HWGlS3dfiRJx9+j+JwMqFl4ebiRidcM IF5eUX349Fu2KTbYxPo8oEZZPSHTxviqi06KjmiEB+iOagv97++9myyFYdUEXGSk6qjxJsKw194 02sjwr+c/isxfQyhw6h2pRfjzB9fK4eMkv+zUAFbt4stqFCf8zeUavQLt+urFXwuSM9U7Nk X-Google-Smtp-Source: AGHT+IGVRJKbR+iQE/+mY+SvtkjxgWeHhVxjQjJolE7dPhX/wX5Asrir0RHZODwUc5+QazNL8V11pvnGmgMPaZZ15RA= X-Received: by 2002:a17:90b:48:b0:32e:3e2c:8ad8 with SMTP id 98e67ed59e1d1-330983448d9mr1997144a91.20.1758244466919; Thu, 18 Sep 2025 18:14:26 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Thu, 18 Sep 2025 19:14:15 -0600 X-Gm-Features: AS18NWBLMG_jcWhN5TCScsyqJSIVDL30dZEV8Y33HwYGcVYLoCNgnmYgH9GiYSY Message-ID: Subject: Re: Hang when loading the xhci driver To: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Cc: freebsd-current Content-Type: multipart/alternative; boundary="000000000000e11afb063f1d3051" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cSZKd1Z8Pz46TG --000000000000e11afb063f1d3051 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Sep 18, 2025, 5:57=E2=80=AFPM Olivier Cochard-Labb=C3=A9 wrote: > Hi, > I am testing an HP Zbook (Strix Halo) and it boots correctly using the > latest 16 kernel, but only when booting from the USB install media. > Once installed and booting from disk, using the exact same kernel (and > loader.conf), it seems to hang at the xHCI driver loading state. > > Extract of the dmesg while booting from USB (working): > > pcib7: at device 8.3 on pci0 > pcib5: on pcib7 > xhci1:=E2=80=AF mem 0xd43000... > xhci1: 64 bytes context size, 64-bit DMA > > And when booting from disk, it displays the pcib5 line, but hangs here. > > What kind of debug feature could I enable here (verbose and safe doesn=E2= =80=99t > help) ? Setting hw.usb.xhci.debug=3D1 in the /boot/loader.conf didn=E2=80= =99t display > more detail. > Do earlier kernels boot? Can you net boot? Does that work? Warner > --000000000000e11afb063f1d3051 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Sep 18, 2025, 5:= 57=E2=80=AFPM Olivier Cochard-Labb=C3=A9 <olivier@freebsd.org> wrote:
Hi,
I am testing an HP Zbook (Strix Halo) and it= boots correctly using the latest 16 kernel, but only when booting from the= USB install media.
Once installed and booting from disk, using the exac= t same kernel (and loader.conf), it seems to hang=C2=A0at the xHCI driver= =C2=A0loading state.

Extract of the dmesg while booting from USB= (working):

pcib7: <API PCI-PCI bridge> at device 8.3 on p= ci0
pcib5: <ACPI PCI bus> on pcib7
xhci1:=E2=80=AF<XHCI (gen= eric) USB 3.0 controller> mem 0xd43000...
xhci1: 64 bytes context siz= e, 64-bit DMA

And when booting from disk, it displays the pcib5 = line, but hangs here.

What kind of debug feature could I enable = here (verbose and safe doesn=E2=80=99t help) ? Setting=C2=A0hw.usb.xhci.deb= ug=3D1 in the /boot/loader.conf didn=E2=80=99t display more detail.

Do ear= lier kernels boot?

Can y= ou net boot? Does that work?

Warner=C2=A0
--000000000000e11afb063f1d3051--