From nobody Sat Sep 13 16:40:17 2025 X-Original-To: bugs@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 4cPH8d6njvz67CZt for ; Sat, 13 Sep 2025 16:40:17 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cPH8d6LC4z3vpy for ; Sat, 13 Sep 2025 16:40:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757781617; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+PA02riGgR9hBEisbNmb9+Un3zizxuQPQhCAE/xDoB4=; b=QsRKDQESubx1/jb9ezk8irde/RW/IvwVIGibAh8q6j/M2Uav38ouBUb+7Ck3j2ewDz3mRd V0UO7UqUdLWU2fZX0fqqMlA5zJ1b12TEcVlPjBZMs7N/Mte6R1Jsa6ux7BqNojh5rEnP1k Ikd6WJCP8WWbE32ZJxg6mvUGiW2EjY8d3dcPHc91LiDRKQNucfVe62MD0skwC9wU7E74ny UUApyG9YazpDKboMRO0CphNsc8sdwbTB17zcUeiZbmBd64L14usUPbesxzl+yHW2rpmX5u 56Qi5FkxAEQ4yte4aYC1nCaRIVxbHfeJlYYKGJbqlFE3GC8WJ6bsO3b2o7/OGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757781617; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+PA02riGgR9hBEisbNmb9+Un3zizxuQPQhCAE/xDoB4=; b=AV5IAyPY9/by7xba58CgyAn3sJoaP8AdUpgeT2Im/wLSbXFt2BUfIKCtJq0IUeGJ8YSz7e Trse7HDRAokZsJca2SrI5LQbtfaKxc1pXINwUh0TSuhXdHoZ2pNaVJ+sdBdRKhndk1K4Y/ ETYeyfJzgHPRtsByhNAk5AKA3ca0Z3l1BzquaCTFeOQEY/SPDbO6m6ZEkzX6gPl3odwHgC YAU0GxCuJU36xpOJhborBulLmBI+MhHQPMADAVp4ByiD/IGqVKjzjcPyZQLjJKI2lBHYDO IUl60dzIInAHfXsey4kRoG8HNzSF7O4Ct9NcQpGFmYaiGyQlCbzqRskpGDy47Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757781617; a=rsa-sha256; cv=none; b=DmcSK49C943ILBLL9Yny20ITJNztgxMKbjJJxrHLfM8B+yK8onJruFyFdbGGrroE6OLflQ DMIIsnPd4MHQ5KOQuKwUIZ2rk1wZGZnANDeaSS4B4B2YkoBIX3VrEzHygys7RoP+CMjj4f vQ+jh52LW7JIsV9o0072GEuitMEUTIl0+xqf5pJ1AOfkvzY33BqTp0ryeK5htehSuJDBSj Vw0clOxJETpNsxrWutuCrQXsJI3HAY3oElnJSMwuJ8DdcF0pJ81XcU8JpdljF100PI6hmM D+p6hOO7xOqKX2bQ3pkKSsk23jDCUrlyEw9H+6WlEW1Wld57EAC7i6w2AIgiKw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cPH8d5SR8zmp7 for ; Sat, 13 Sep 2025 16:40:17 +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 58DGeHg8051796 for ; Sat, 13 Sep 2025 16:40:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58DGeH0m051795 for bugs@FreeBSD.org; Sat, 13 Sep 2025 16:40:17 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: bugs@FreeBSD.org Subject: [Bug 289092] Boot a FreeBSD 14.x system from a serial console work partially, unlike 13.x. Date: Sat, 13 Sep 2025 16:40:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pascal.fabbri@epfl.ch X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289092 --- Comment #3 from Pascal Fabbri --- ----------- System boot ----------- Loading kernel... /boot/kernel/kernel text=3D0x180078 text=3D0xd979c8 text=3D0x43a48b data=3D= 0x180+0xe80 data=3D0x1875d0+0x478a30 0x8+0x18e988+0x8+0x1b2b64 Loading configured modules... /etc/hostid size=3D0x25 /boot/kernel/cryptodev.ko size 0x7808 at 0x2142000 /boot/entropy size=3D0x1000 /boot/kernel/zfs.ko size 0x5e9328 at 0x214b000 /boot/kernel/amdtemp.ko size 0x7618 at 0x2735000 loading required module 'amdsmn' /boot/kernel/amdsmn.ko size 0x36e0 at 0x273d000 ---<>--- Copyright (c) 1992-2023 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.3-RELEASE-p2 GENERIC amd64 FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) VT(vga): resolution 640x480 CPU: AMD G-T40E Processor (1000.03-MHz K8-class CPU) Origin=3D"AuthenticAMD" Id=3D0x500f20 Family=3D0x14 Model=3D0x2 Stepp= ing=3D0 =20 Features=3D0x178bfbff Features2=3D0x802209 AMD Features=3D0x2e500800 AMD Features2=3D0x35ff SVM: NP,NRIP,NAsids=3D8 TSC: P-state invariant, performance statistics real memory =3D 4815060992 (4592 MB) avail memory =3D 4077740032 (3888 MB) Event timer "LAPIC" quality 100 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) random: unblocking device. ioapic0 irqs 0-23 Launching APs: 1 random: entropy device external interface kbd0 at kbdmux0 vtvga0: smbios0: at iomem 0xf2570-0x --------------- some more lines --------------- Root mount waiting for: usbus1 usb_msc_auto_quirk: UQ_MSC_NO_SYNC_CACHE set for USB mass storage device Western Digital My Passport 25E1 (0x1058:0x25e1) usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device Western Digital My Passport 25E1 (0x1058:0x25e1) usb_msc_auto_quirk: UQ_MSC_NO_TEST_UNIT_READY set for USB mass storage devi= ce Western Digital My Passport 25E1 (0x1058:0x25e1) usb_msc_auto_quirk: UQ_MSC_NO_START_STOP set for USB mass storage device Western Digital My Passport 25E1 (0x1058:0x25e1) ugen1.2: at usbus1 umass1 on uhub5 umass1: on usbus1 umass1: SCSI over Bulk-Only; quirks =3D 0xc005 umass1:7:1: Attached to scbus7 da1 at umass-sim1 bus 1 scbus7 target 0 lun 0 da1: Fixed Direct Access SPC-4 SCSI device da1: Serial Number 575854314141384E59503158 da1: 40.000MB/s transfers da1: 1907697MB (3906963456 512 byte sectors) da1: quirks=3D0x2 Root mount waiting for: usbus1 CAM da ses0 at umass-sim1 bus 1 scbus7 target 0 lun 1 ses0: Fixed Enclosure Services SPC-4 SCSI device ses0: Serial Number 575854314141384E59503158 ses0: 40.000MB/s transfers ses0: SES Device GEOM: da1: corrupt or invalid GPT detected. GEOM: da1: GPT rejected -- may not be recoverable. usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device Seagate Expansion (0x0bc2:0x231a) Root mount waiting for: usbus1 Root mount waiting for: usbus1 usb_msc_auto_quirk: UQ_MSC_NO_SYNC_CACHE set for USB mass storage device Seagate Expansion (0x0bc2:0x231a) usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device Seagate Expansion (0x0bc2:0x231a) usb_msc_auto_quirk: UQ_MSC_NO_TEST_UNIT_READY set for USB mass storage devi= ce Seagate Expansion (0x0bc2:0x231a) usb_msc_auto_quirk: UQ_MSC_NO_START_STOP set for USB mass storage device Seagate Expansion (0x0bc2:0x231a) ugen1.3: at usbus1 umass2 on uhub5 umass2: on usbus1 umass2: SCSI over Bulk-Only; quirks =3D 0xc005 umass2:8:2: Attached to scbus8 da2 at umass-sim2 bus 2 scbus8 target 0 lun 0 da2: Fixed Direct Access SPC-4 SCSI device da2: Serial Number NAAR6EBF da2: 40.000MB/s transfers da2: 1907729MB (3907029167 512 byte sectors) da2: quirks=3D0x2 GEOM: da2: the primary GPT table is corrupt or invalid. GEOM: da2: using the secondary instead -- recovery strongly advised. Dual Console: Serial Primary, Video Secondary intsmb0: at device 20.0 on pci0 smbus0: on intsmb0 re0: link state changed to UP re1: link state changed to DOWN re2: link state changed to DOWN lo0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP ----------------------------------------------- Up to this point the serial console works fine, but it stops working right here. Then, when I interrupt the system from an SSH session using the shutdown -p command, the messages resume on the console. ----------------------------------------------- All buffers synced. Uptime: 1m56s umass0: detached uhub1: detached ugen5.2: at usbus5 umass0 on uhub3 umass0: on usbus5 umass0: SCSI over Bulk-Only; quirks =3D 0x4001 umass0:6:0: Attached to scbus6 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00=20 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command, 3 more tries remain (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00=20 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command, 2 more tries remain (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00=20 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command, 1 more tries remain (da0:umass-sim0:0:0:0): got CAM status 0x40a (da0:umass-sim0:0:0:0): fatal error, failed to attach to device umass0: detached uhub3: detached uhub2: detached uhub6: detached uhub5: detached umass1: detached umass2: detached uhub4: detached usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device Western Digital My Passport 25E1 (0x1058:0x25e1) ugen0.2: at usbus0 umass0 on uhub0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x8000 umass0:6:0: Attached to scbus6 da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 da0: Fixed Direct Access SPC-4 SCSI device da0: Serial Number 575854314141384E59503158 da0: 1.000MB/s transfers da0: 1907697MB (3906963456 512 byte sectors) da0: quirks=3D0x2 ses0 at umass-sim0 bus 0 scbus6 target 0 lun 1 ses0: Fixed Enclosure Services SPC-4 SCSI device ses0: Serial Number 575854314141384E59503158 ses0: 1.000MB/s transfers ses0: SES Device usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device Seagate Expansion (0x0bc2:0x231a) ugen0.3: at usbus0 umass1 on uhub0 umass1: on usbus0 umass1: SCSI over Bulk-Only; quirks =3D 0x8000 umass1:7:1: Attached to scbus7 umass0: detached (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 01 83 00 fc 00=20 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command, 3 more tries remain (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 01 83 00 fc 00=20 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command, 2 more tries remain (da0:umass-sim1:1:0:0): got CAM status 0x40a (da0:umass-sim1:1:0:0): fatal error, failed to attach to device umass1: detached uhub0: detached re0: link state changed to DOWN re0: link state changed to UP acpi0: Powering system off ----------------------------------------------- Here are the last messages that appear on the serial console. ----------------------------------------------- - The hardware is an APU3: https://www.pcengines.ch/apu2.htm - I would like to point out that the serial console had been working at least since FreeBSD 8.0 and up to FreeBSD 13.5. Thank you very much for your help. --=20 You are receiving this mail because: You are the assignee for the bug.=