https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289092

--- Comment #3 from Pascal Fabbri <[email protected]> ---
-----------
System boot
-----------

Loading kernel...
/boot/kernel/kernel text=0x180078 text=0xd979c8 text=0x43a48b data=0x180+0xe80
data=0x1875d0+0x478a30 0x8+0x18e988+0x8+0x1b2b64
Loading configured modules...
/etc/hostid size=0x25
/boot/kernel/cryptodev.ko size 0x7808 at 0x2142000
/boot/entropy size=0x1000
/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
---<<BOOT>>---
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="AuthenticAMD"  Id=0x500f20  Family=0x14  Model=0x2  Stepping=0
 
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802209<SSE3,MON,SSSE3,CX16,POPCNT>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD
Features2=0x35ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,IBS,SKINIT,WDT>
  SVM: NP,NRIP,NAsids=8
  TSC: P-state invariant, performance statistics
real memory  = 4815060992 (4592 MB)
avail memory = 4077740032 (3888 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <CORE   COREBOOT>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
random: unblocking device.
ioapic0 <Version 2.1> irqs 0-23
Launching APs: 1
random: entropy device external interface
kbd0 at kbdmux0
vtvga0: <VT VGA driver>
smbios0: <System Management BIOS> 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 device
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: <Western Digital My Passport 25E1> at usbus1
umass1 on uhub5
umass1: <Western Digital My Passport 25E1, class 0/0, rev 2.10/10.21, addr 2>
on usbus1
umass1:  SCSI over Bulk-Only; quirks = 0xc005
umass1:7:1: Attached to scbus7
da1 at umass-sim1 bus 1 scbus7 target 0 lun 0
da1: <WD My Passport 25E1 1021> Fixed Direct Access SPC-4 SCSI device
da1: Serial Number 575854314141384E59503158
da1: 40.000MB/s transfers
da1: 1907697MB (3906963456 512 byte sectors)
da1: quirks=0x2<NO_6_BYTE>
Root mount waiting for: usbus1 CAM da
ses0 at umass-sim1 bus 1 scbus7 target 0 lun 1
ses0: <WD SES Device 1021> 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 device
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: <Seagate Expansion> at usbus1
umass2 on uhub5
umass2: <Seagate Expansion, class 0/0, rev 2.10/7.10, addr 3> on usbus1
umass2:  SCSI over Bulk-Only; quirks = 0xc005
umass2:8:2: Attached to scbus8
da2 at umass-sim2 bus 2 scbus8 target 0 lun 0
da2: <Seagate Expansion 0710> Fixed Direct Access SPC-4 SCSI device
da2: Serial Number NAAR6EBF
da2: 40.000MB/s transfers
da2: 1907729MB (3907029167 512 byte sectors)
da2: quirks=0x2<NO_6_BYTE>
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: <AMD SB600/7xx/8xx/9xx SMBus Controller> at device 20.0 on pci0
smbus0: <System Management Bus> 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: <Generic Flash Card Reader/Writer> at usbus5
umass0 on uhub3
umass0: <Generic Flash Card Reader/Writer, class 0/0, rev 2.00/1.00, addr 2> on
usbus5
umass0:  SCSI over Bulk-Only; quirks = 0x4001
umass0:6:0: Attached to scbus6
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 
(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 
(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 
(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: <Western Digital My Passport 25E1> at usbus0
umass0 on uhub0
umass0: <Western Digital My Passport 25E1, class 0/0, rev 2.10/10.21, addr 2>
on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x8000
umass0:6:0: Attached to scbus6
da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
da0: <WD My Passport 25E1 1021> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number 575854314141384E59503158
da0: 1.000MB/s transfers
da0: 1907697MB (3906963456 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
ses0 at umass-sim0 bus 0 scbus6 target 0 lun 1
ses0: <WD SES Device 1021> 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: <Seagate Expansion> at usbus0
umass1 on uhub0
umass1: <Seagate Expansion, class 0/0, rev 2.10/7.10, addr 3> on usbus0
umass1:  SCSI over Bulk-Only; quirks = 0x8000
umass1:7:1: Attached to scbus7
umass0: detached
(probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 
(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 
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to