Thanks for the suggestions!
I did manage to get a working stick; the first couple of tries I did from m
MacBook Pro; finally I moved the stick to a physical FreeBSD box. Maybe the Mac
somehow "repaired" the GPT/MBR on the stick, making it invisible to
the FreeBSD kernel? But then at least da0 should have shown up. Maybe I just got
lucky.
If anyone is interested, I can try re-creating the issues for a week or two
while I still have the APU in a lab setting.
Stefan
> Am 08.07.2018 um 18:02 schrieb Stefan Bethke <stb at lassitu.de>:
>
> I'm stumped by a weird error: loader loads the kernel, and the kernel
probes the USB stick successfully, but da0 never shows up. I?ve tried with
FreeBSD-11.1-RELEASE-amd64-memstick.img and
FreeBSD-11.2-RELEASE-amd64-memstick.img.
>
> While at the mount root prompt, unplugging and replugging the USB stick and
entering . repeatedly will show the kernel messages, but "da0 at
umass0" never shows up.
>
> I?ve added a couple entries to /boot/loader.conf:
> # cat /mnt/boot/loader.conf
> vfs.mountroot.timeout="10"
> beastie_disable="YES"
> comconsole_speed="115200"
> console="comconsole"
> autoboot_delay="1"
>
>
> Here?s the console output from 11.1:
> Consoles: internal video/keyboard ce+0x67
> BIOS drive C: is disk0 t vpanic+0x177
> BIOS drive D: is disk1 t panic+0x43
> BIOS 638kB/3668660kB available memory +0x1d95
> 4 0xffffffff80a93b68 at start_init+0x48
> FreeBSD/x86 bootstrap loader, Revision 1.1
> (Fri Jul 21 02:03:08 UTC 2017 root at releng2.nyi.freebsd.org)
> Loading /boot/defaults/loader.conf
> //boot/kernel/kernel text=0x14972f8 data=0x1384c0+0x4c15e8
syms=[0x8+0x15e8b0+0x8+0x178422]ild 20170228
> /080 MB ECC DRAM
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [/boot/kernel/kernel]...
> Copyright (c) 1992-2017 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 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017
> root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
> FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM
4.0.0)
> VT(vga): resolution 640x480
> CPU: AMD GX-412TC SOC (998.15-MHz K8-class
CPU)
> Origin="AuthenticAMD" Id=0x730f01 Family=0x16 Model=0x30
Stepping=1
>
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=0x3ed8220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>
> AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
> AMD
Features2=0x1d4037ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,Topology,PNXC,DBE,PTSC,PL2I>
> Structured Extended Features=0x8<BMI1>
> XSAVE Features=0x1<XSAVEOPT>
> SVM: NP,NRIP,AFlush,DAssist,NAsids=8
> TSC: P-state invariant, performance statistics
> real memory = 4815060992 (4592 MB)
> avail memory = 4087992320 (3898 MB)
> Event timer "LAPIC" quality 100
> ACPI APIC Table: <CORE COREBOOT>
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> FreeBSD/SMP: 1 package(s) x 4 core(s)
> ioapic1: Changing APIC ID to 5
> ioapic0 <Version 2.1> irqs 0-23 on motherboard
> ioapic1 <Version 2.1> irqs 24-55 on motherboard
> SMP: AP CPU #1 Launched!
> SMP: AP CPU #2 Launched!
> SMP: AP CPU #3 Launched!
> Timecounter "TSC" frequency 998148849 Hz quality 1000
> random: entropy device external interface
> kbd0 at kbdmux0
> netmap: loaded module
> module_register_init: MOD_LOAD (vesa, 0xffffffff80f5b220, 0) error 19
> nexus0
> vtvga0: <VT VGA driver> on motherboard
> cryptosoft0: <software crypto> on motherboard
> acpi0: <CORE COREBOOT> on motherboard
> acpi0: Power Button (fixed)
> cpu0: <ACPI CPU> on acpi0
> cpu1: <ACPI CPU> on acpi0
> cpu2: <ACPI CPU> on acpi0
> cpu3: <ACPI CPU> on acpi0
> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> Event timer "RTC" frequency 32768 Hz quality 0
> attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
> Timecounter "i8254" frequency 1193182 Hz quality 0
> Event timer "i8254" frequency 1193182 Hz quality 100
> Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x818-0x81b on acpi0
> hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
acpi0
> Timecounter "HPET" frequency 14318180 Hz quality 950
> acpi_button0: <Power Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> at device 2.2 on pci0
> pcib1: failed to allocate initial I/O port window: 0x1000-0x1fff
> pci1: <ACPI PCI bus> on pcib1
> igb0: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> mem
0xfe600000-0xfe61ffff,0xfe620000-0xfe623fff at device 0.0 on pci1
> igb0: Using MSIX interrupts with 5 vectors
> igb0: Ethernet address: 00:0d:b9:4b:e2:cc
> igb0: Bound queue 0 to cpu 0
> igb0: Bound queue 1 to cpu 1
> igb0: Bound queue 2 to cpu 2
> igb0: Bound queue 3 to cpu 3
> igb0: netmap queues/slots: TX 4/1024, RX 4/1024
> pcib2: <ACPI PCI-PCI bridge> at device 2.3 on pci0
> pci2: <ACPI PCI bus> on pcib2
> igb1: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port
0x2000-0x201f mem 0xfe700000-0xfe71ffff,0xfe720000-0xfe723fff at device 0.0 on
pci2
> igb1: Using MSIX interrupts with 5 vectors
> igb1: Ethernet address: 00:0d:b9:4b:e2:cd
> igb1: Bound queue 0 to cpu 0
> igb1: Bound queue 1 to cpu 1
> igb1: Bound queue 2 to cpu 2
> igb1: Bound queue 3 to cpu 3
> igb1: netmap queues/slots: TX 4/1024, RX 4/1024
> pcib3: <ACPI PCI-PCI bridge> at device 2.4 on pci0
> pci3: <ACPI PCI bus> on pcib3
> igb2: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port
0x3000-0x301f mem 0xfe800000-0xfe81ffff,0xfe820000-0xfe823fff at device 0.0 on
pci3
> igb2: Using MSIX interrupts with 5 vectors
> igb2: Ethernet address: 00:0d:b9:4b:e2:ce
> igb2: Bound queue 0 to cpu 0
> igb2: Bound queue 1 to cpu 1
> igb2: Bound queue 2 to cpu 2
> igb2: Bound queue 3 to cpu 3
> igb2: netmap queues/slots: TX 4/1024, RX 4/1024
> pci0: <encrypt/decrypt> at device 8.0 (no driver attached)
> xhci0: <AMD FCH USB 3.0 controller> mem 0xfeb22000-0xfeb23fff at
device 16.0 on pci0
> xhci0: 32 bytes context size, 64-bit DMA
> xhci0: Unable to map MSI-X table
> usbus0 on xhci0
> usbus0: 5.0Gbps Super Speed USB v3.0
> ahci0: <AMD Hudson-2 AHCI SATA controller> port
0x4010-0x4017,0x4020-0x4023,0x4018-0x401f,0x4024-0x4027,0x4000-0x400f mem
0xfeb25000-0xfeb253ff at device 17.0 on pci0
> ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier supported with FBS
> ahcich0: <AHCI channel> at channel 0 on ahci0
> ahcich1: <AHCI channel> at channel 1 on ahci0
> ehci0: <AMD FCH USB 2.0 controller> mem 0xfeb25400-0xfeb254ff at
device 19.0 on pci0
> usbus1: EHCI version 1.0
> usbus1 on ehci0
> usbus1: 480Mbps High Speed USB v2.0
> isab0: <PCI-ISA bridge> at device 20.3 on pci0
> isa0: <ISA bus> on isab0
> sdhci_pci0: <Generic SD HCI> mem 0xfeb25500-0xfeb255ff at device 20.7
on pci0
> sdhci_pci0: 1 slot(s) allocated
> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
> uart0: console (115200,n,8,1)
> orm0: <ISA Option ROM> at iomem 0xef000-0xeffff on isa0
> ppc0: cannot reserve I/O port range
> uart1: <16550 or compatible> at port 0x2f8 irq 3 on isa0
> hwpstate0: <Cool`n'Quiet 2.0> on cpu0
> Timecounters tick every 1.000 msec
> nvme cam probe device init
> ugen1.1: <AMD EHCI root HUB> at usbus1
> ugen0.1: <0x1022 XHCI root HUB> at usbus0
> uhub0: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
usbus1
> uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on
usbus0
> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
> ada0: <SATA SSD SBFM01.1> ACS-4 ATA SATA 3.x device
> ada0: Serial Number A4620782148900312898
> ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
> ada0: Command Queueing enabled
> ada0: 15272MB (31277232 512 byte sectors)
> Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]...
> Root mount waiting for: usbus1 usbus0
> uhub1: 4 ports with 4 removable, self powered
> uhub0: 2 ports with 2 removable, self powered
> Root mount waiting for: usbus1 usbus0
> ugen1.2: <vendor 0x0438 product 0x7900> at usbus1
> uhub2 on uhub0
> uhub2: <vendor 0x0438 product 0x7900, class 9/0, rev 2.00/0.18, addr
2> on usbus1
> Root mount waiting for: usbus1 usbus0
> ugen0.2: <Kingston DataTraveler G3> at usbus0
> umass0 on uhub1
> umass0: <Kingston DataTraveler G3, class 0/0, rev 2.00/1.00, addr 1>
on usbus0
> umass0: SCSI over Bulk-Only; quirks = 0x8100
> umass0:2:0: Attached to scbus2
> uhub2: 4 ports with 4 removable, self powered
> mountroot: waiting for device /dev/ufs/FreeBSD_Install...
> Mounting from ufs:/dev/ufs/FreeBSD_Install failed with error 19.
>
> Loader variables:
> vfs.root.mountfrom=ufs:/dev/ufs/FreeBSD_Install
> vfs.root.mountfrom.options=ro,noatime
>
> Manual root filesystem specification:
> <fstype>:<device> [options]
> Mount <device> using filesystem <fstype>
> and with the specified (optional) option list.
>
> eg. ufs:/dev/da0s1a
> zfs:tank
> cd9660:/dev/cd0 ro
> (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
>
> ? List valid disk boot devices
> . Yield 1 second (for background tasks)
> <empty line> Abort manual input
>
> mountroot> ?
>
> List of GEOM managed disk devices:
> diskid/DISK-A4620782148900312898 ada0
>
> mountroot> .
>
> mountroot> ?
>
> List of GEOM managed disk devices:
> diskid/DISK-A4620782148900312898 ada0
>
> --
> Stefan Bethke <stb at lassitu.de> Fon +49 151 14070811
>
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at
freebsd.org"
--
Stefan Bethke <stb at lassitu.de> Fon +49 151 14070811
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL:
<http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20180709/a1a550b0/attachment.sig>