On Mon, Dec 28, 2020 at 01:20:29PM -0500, Ian Darwin wrote: > Kernel is OpenBSD 6.8-current (GENERIC) #561: Sun Dec 27 18:29:43 MST 2020 > > Machine is a Wyse C90 - orignially sold as a "thin client" - tiny machine, no > serial port (ps and trace typed in). > HW Info at https://www.parkytowers.me.uk/thin/wyse/cx0/ > Was planning to use it as a wifi bridge, so tiny is fine. > > "Latest" BIOS (2012 edition). "BIOS reset" did not help. > cpu info: VIA Eden Processor 1000MHz ("CentaurHauls" 686-class) 1.01 GHz, > 06-0d-00 > RAM: 1GB (despite reported as 3/4 of that)
Long shot, but could you maybe show the output of "machine memory" for both boot/pxeboot? I'm curious if the memory map is reportedly differently between a working boot and a bad one. -Bryan. > Full dmesg below; full ACPI attached. > > Boot used Kernel From Result > pxeboot bsd.rd tftp OK > pxeboot bsd hd0a OK (via > tftpboot/etc/conf) > boot bsd hd0a panic > > I.e., Boots fine with pxeboot "set device hd0a", but booting exact same > kernel off same disk via /boot causes panic. > > It's an older machine so it's likely a buggy acpi, not worth massive > investment of time, just wonder if there's an easy workaround. > Presume it's getting something different in some AML, based on where boot > code loaded from, > or else pxeboot vs boot setting environment slightly differently? > > On screen after panic: > > bios0: WYSE C CLASS > acpi0 at bios0: ACPI 3.0 > acpi0: sleep states S0 S1 S3 s4 S5panic: pci_make_tag: bad request > Stopped at db_enter+0x4: popl %eb > > trace: > > db_enter(d0e5e189,d10f6704,2,0,0) at db_enter+0x4 > panic(d0c3d47d,1,d10f6750,d0854f11,0) at panic+0xd3 > pci_make_tag(0,0,11,0) at pci_make_tag+0x95 > acpi_gasio(d2b1b400,0,2,6e,11,1,1,d10f67d8) at acpi_gasio+0x1f1 > aml_opreg_pcicfg_handler(0,0,6e,11,1,d10f67d8) at > aml_opreg_pcicfg_handler+0x21 > aml_rwgen(d2b338c4,373,1,d2b3f304,0,1) at aml_rwgen+0x571 > aml_rwfield(d2b2bc04,0,1,d2b3f304,0) at aml_rwfield+0x37a > aml_eval(d2b40704,d2b2bc04,74,d10f692c,0) at aml_eval+0x17a > aml_parse(d2b40704,74,d2b2f804) at aml_parse+0x2b15 > aml_parse(d2b40704,69,38) at aml_parse+0x351 > aml_parse(d2b40704,54,9,d2b36518,d2b40704) at aml_parse+0x351 > aml_eval(0,d2b36544,74,0,0) at aml_eval+0x277 > aml_evalnode(d10f6b10,d2b36504,0,0,d10f6ac0) at aml_evalnode+0xae > aml_evalinteger(d1b1b400,d2b36a84,d0c17e38,0,0,d10f6b30) at > aml_evalinteger+0xae > acpi_foundprw(d2b36d04,d2b1b400) at acpi_foundprw+0x2f > aml_find_node(d2b36a84,d0b9299b,d0859b90,d2b1b400) at aml_find node+0x?2 > aml_find_node(d2b336c4,d0b9299b,d0859b90,d2b1b400) at aml_find node+0x9b > aml_find_node(d2b296c4,d0b9299b,d0859b90,d2b1b400) at aml_find node+0x9b > aml_find_node(d2b31484,d0b9299b,d0859b90,d2b1b400) at aml_find node+0x9b > aml_find_node(d0eba1a8,d0b9299b,d0859b90,d2b1b400) at aml_find_node+0x9b > acpi_init_gpes (d2b1b400) at acpi_init_gpes+0x195 > acpi_attach_common(d2b1b400,f67a0) at acpi_attach_common+0x355 > acpi_attach(d2b210c0,d2b1b400,d10f6db8) at acpi_attach+0xZc > config attach(d2b210c0,d0df60d4,d10f6db8,d0928b30) at config attach+0x18a > config_found_sm(d2b210c0,d10f6db8,d0928630,0) at config_found_sm+0x29 > biosattach(d2b21080, d2b210c0,d10f6eb8) at biosattach+0x19a > config attach (d2b21080, d0df 4c94,d10f6eb8, d02431f0) at config_attach+0x18a > config_found_sm(dZbZ1080, d10f beb8, d02431f0,0) at config_found_sm+0x29 > mainbus_attach(0,d2b21080,0) at mainbus attach_0x5c > config_attach(0,d0df 2614,0,0) at config_attach+0x18a > cpu_configure(lie340b7,10f 4000, 1103000, 10 7000,0) at cpu_configure+0x24 > main(0,0,0,0,0) at main+0x311 > ddb> > > ps: > TID PID UID PRFLAGS PFLAGS CPU COMMAND > * 0 0 0 0x10000 0x200 0 swapper > > Dmesg: > ssh wyse cat /var/run/dmesg.boot > OpenBSD 6.8-current (GENERIC) #561: Sun Dec 27 18:29:43 MST 2020 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > real mem = 803459072 (766MB) > avail mem = 772513792 (736MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: date 01/16/12, BIOS32 rev. 0 @ 0xfdd30, SMBIOS rev. 2.6 @ > 0x2fed8000 (48 entries) > bios0: vendor Phoenix Technologies version "1.0G" date 01/16/2012 > bios0: WYSE C CLASS > acpi0 at bios0: ACPI 3.0 > acpi0: sleep states S0 S1 S3 S4 S5 > acpi0: tables DSDT FACP SSDT APIC MCFG HPET > acpi0: wakeup devices PWRB(S4) PCI0(S5) PS2M(S3) PS2K(S3) USB1(S4) USB2(S4) > USB3(S4) USB4(S4) USB5(S4) HDAC(S5) SP2P(S5) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: VIA Eden Processor 1000MHz ("CentaurHauls" 686-class) 1.01 GHz, 06-0d-00 > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,SSE3,EST,TM2,xTPR,NXE > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: RNG AES AES-CTR SHA1 SHA256 RSA > cpu0: apic clock running at 100MHz > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 3, 24 pins > acpimcfg0 at acpi0 > acpimcfg0: addr 0xe0000000, bus 0-0 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (SP2P) > acpibtn0 at acpi0: PWRB > "PNP0A03" at acpi0 not configured > acpicmos0 at acpi0 > acpicpu0 at acpi0: !C3(@800 io@0x4015), !C2(@80 io@0x4014), C1(@1 halt!), PSS > acpitz0 at acpi0: critical temperature is 105 degC > acpivideo0 at acpi0: VGA_ > acpivout0 at acpivideo0: LCD_ > bios0: ROM list: 0xc0000/0xc200 0xcc800/0x2000 > cpu0: Enhanced SpeedStep 1001 MHz: speeds: 1000, 400 MHz > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 vendor "VIA", unknown product 0x0409 rev 0x03 > pchb1 at pci0 dev 0 function 1 vendor "VIA", unknown product 0x1409 rev 0x00 > pchb2 at pci0 dev 0 function 2 vendor "VIA", unknown product 0x2409 rev 0x00 > pchb3 at pci0 dev 0 function 3 vendor "VIA", unknown product 0x3409 rev 0x00 > pchb4 at pci0 dev 0 function 4 vendor "VIA", unknown product 0x4409 rev 0x00 > vendor "VIA", unknown product 0x5409 (class system subclass interrupt, rev > 0x00) at pci0 dev 0 function 5 not configured > pchb5 at pci0 dev 0 function 6 vendor "VIA", unknown product 0x6409 rev 0x00 > pchb6 at pci0 dev 0 function 7 vendor "VIA", unknown product 0x7409 rev 0x00 > vga1 at pci0 dev 1 function 0 vendor "VIA", unknown product 0x5122 rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > pciide0 at pci0 dev 15 function 0 "VIA VX855 IDE" rev 0x00: ATA133, channel 0 > configured to compatibility, channel 1 configured to compatibility > wd0 at pciide0 channel 0 drive 0: <2GB ATA Flash Disk> > wd0: 1-sector PIO, LBA, 1953MB, 4000752 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 > pciide0: channel 1 ignored (disabled) > uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0xa0: apic 1 int 20 > uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0xa0: apic 1 int 22 > uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0xa0: apic 1 int 21 > ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x90: apic 1 int 23 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "VIA EHCI root hub" rev 2.00/1.00 > addr 1 > viapm0 at pci0 dev 17 function 0 "VIA VX855 ISA" rev 0x00: SMI > iic0 at viapm0 > admtemp0 at iic0 addr 0x4c: g781 > spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5 SO-DIMM > pchb7 at pci0 dev 17 function 7 "VIA VX800 Host" rev 0x00 > ppb0 at pci0 dev 19 function 0 "VIA VX800" rev 0x00 > pci1 at ppb0 bus 1 > vge0 at pci1 dev 3 function 0 "VIA VT612x" rev 0x11: apic 1 int 16, address > 00:80:64:87:93:ad > ciphy0 at vge0 phy 1: CS8201 10/100/1000TX PHY, rev. 2 > azalia0 at pci0 dev 20 function 0 "VIA HD Audio" rev 0x20: apic 1 int 17 > azalia0: codecs: VIA VT1702 > audio0 at azalia0 > usb1 at uhci0: USB revision 1.0 > uhub1 at usb1 configuration 1 interface 0 "VIA UHCI root hub" rev 1.00/1.00 > addr 1 > usb2 at uhci1: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "VIA UHCI root hub" rev 1.00/1.00 > addr 1 > usb3 at uhci2: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "VIA UHCI root hub" rev 1.00/1.00 > addr 1 > isa0 at mainbus0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > vscsi0 at root > scsibus1 at vscsi0: 256 targets > softraid0 at root > scsibus2 at softraid0: 256 targets > root on wd0a (71279e1f58da9a16.a) swap on wd0b dump on wd0b > > ssh 192.168.42.245 doas fdisk wd0 > Disk: wd0 geometry: 992/64/63 [4000752 Sectors] > Offset: 0 Signature: 0xAA55 > Starting Ending LBA Info: > #: id C H S - C H S [ start: size ] > ------------------------------------------------------------------------------- > 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > > 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > > 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > > *3: A6 0 1 2 - 991 63 63 [ 64: 3999680 ] OpenBSD > > > ssh wyse doas disklabel wd0 > # /dev/rwd0c: > type: ESDI > disk: ESDI/IDE disk > label: 2GB ATA Flash Di > duid: 71279e1f58da9a16 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 64 > sectors/cylinder: 4032 > cylinders: 992 > total sectors: 4000752 > boundstart: 64 > boundend: 3999744 > drivedata: 0 > > 16 partitions: > # size offset fstype [fsize bsize cpg] > a: 3869376 64 4.2BSD 2048 16384 12960 # / > b: 130304 3869440 swap # none > c: 4000752 0 unused