On Feb 04 09:49:59, [email protected] wrote: > On Jan 11 12:48:09, [email protected] wrote: > > Continuing http://marc.info/?t=140429789900005&r=1&w=2 > > with current/amd64. > > > > On Jul 02 12:43:58, [email protected] wrote: > > > So I got me this Asus board with an integrated Celeron > > > http://www.asus.com/Motherboards/J1800IC/specifications/ > > > and put 2G of Crucial RAM in it. > > > > On Jul 02 12:56:22, [email protected] wrote: > > > http://archives.neohapsis.com/archives/openbsd/2014-05/1637.html > > > > Thanks for the pointer. > > It can boot a kernel built with the following diff: > > > > > > Index: arch/amd64/amd64/lapic.c > > =================================================================== > > RCS file: /cvs/src/sys/arch/amd64/amd64/lapic.c,v > > retrieving revision 1.37 > > diff -u -p -r1.37 lapic.c > > --- arch/amd64/amd64/lapic.c 6 Jan 2015 12:50:47 -0000 1.37 > > +++ arch/amd64/amd64/lapic.c 11 Jan 2015 11:12:13 -0000 > > @@ -190,7 +190,7 @@ lapic_set_lvt(void) > > || mpi->cpu_id == ci->ci_apicid)) { > > #ifdef DIAGNOSTIC > > if (mpi->ioapic_pin > 1) > > - panic("lapic_set_lvt: bad pin value %d", > > + printf("lapic_set_lvt: bad pin value %d\n", > > mpi->ioapic_pin); > > #endif > > if (mpi->ioapic_pin == 0) > > > > With the above diff, I can run OpnBSD on that board (dmesg below). > The default installation still panics during boot though: > http://stare.cz/dmesg/asus-J1800IC-lapic-panic.jpg > http://stare.cz/dmesg/asus-J1800IC-lapic-trace.jpg > > Can anyone please elaborate on what exactly is wrong with that board? > What's a "pin value" and what does make 72 bad?
With the last amd64 snapshot (dmesg below) it boots OK. Thank you! Edited highlights of the diff to previous dmesg follow, previous dmesgs at http://stare.cz/dmesg/ (asus-J1800IC.*) (1) I don't know if it's related to the change that made the panic go away, but among what seems to be garbage in the dmesg(1) output, this comes right before th OpenBSD line: NJ1800IC.CAPWARNING! BIOS Recovery mode has been detected, Please put the file "" into HDD or a removable USB media device, And then reset your computer. You can also insert ASUS Support CD to your CD-ROM and reset your computer, If you have done these, Please wait a (2) -acpi0: tables DSDT FACP APIC FPDT MCFG LPIT HPET SSDT SSDT SSDT UEFI +acpi0: tables DSDT FACP APIC FPDT MCFG LPIT HPET SSDT SSDT SSDT UEFI SSDT Does that mean another ACPI table is now being detected? (3) +acpimadt0: bogus nmi for apid 0 I suppose this is another piece of ACPI information being gathered. (4) -lapic_set_lvt: bad pin value 72 Oh yeah. Still, how is that pin value not bad anymore? Please let me know what I can do to further test/debug this not-entirely-non-problematic HW. Thanks again! Jan OpenBSD 5.7-beta (GENERIC.MP) #856: Tue Feb 17 12:43:12 MST 2015 [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 912130048 (869MB) avail mem = 883990528 (843MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xebd60 (43 entries) bios0: vendor American Megatrends Inc. version "0604" date 06/10/2014 bios0: ASUS All Series acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT MCFG LPIT HPET SSDT SSDT SSDT UEFI SSDT acpi0: wakeup devices UAR5(S4) UAR8(S4) PS2K(S4) PS2M(S4) UAR1(S4) URIR(S4) XHC1(S4) EHC1(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) PWRB(S0) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz, 2417.21 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS cpu0: 1MB 64b/line 16-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 83MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz, 2416.67 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS cpu1: 1MB 64b/line 16-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 87 pins acpimadt0: bogus nmi for apid 0 acpimadt0: bogus nmi for apid 2 acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus 2 (RP02) acpiprt3 at acpi0: bus 3 (RP03) acpiprt4 at acpi0: bus 4 (RP04) acpiec0 at acpi0: not present acpicpu0 at acpi0: C1, PSS acpicpu1 at acpi0: C1, PSS acpipwrres0 at acpi0: PLPE acpipwrres1 at acpi0: PLPE acpipwrres2 at acpi0: USBC, resource for EHC1, OTG1 acpipwrres3 at acpi0: FN00, resource for FAN0 acpitz0 at acpi0: critical temperature is 90 degC acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: Enhanced SpeedStep 2417 MHz: speeds: 2408, 2407, 2324, 2241, 2158, 2075, 1992, 1909, 1826, 1743, 1660, 1577, 1494, 1411, 1328 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Bay Trail Host" rev 0x0c vga1 at pci0 dev 2 function 0 "Intel Bay Trail Video" rev 0x0c intagp at vga1 not configured wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ahci0 at pci0 dev 19 function 0 "Intel Bay Trail AHCI" rev 0x0c: msi, AHCI 1.3 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, SAMSUNG HM251JJ, 2AA0> SCSI3 0/direct fixed naa.50f0000003105140 sd0: 238475MB, 512 bytes/sector, 488397168 sectors sd1 at scsibus1 targ 1 lun 0: <ATA, WDC WD10TPVT-00H, 01.0> SCSI3 0/direct fixed naa.50014ee2aed8deca sd1: 953869MB, 512 bytes/sector, 1953525168 sectors xhci0 at pci0 dev 20 function 0 "Intel Bay Trail xHCI" rev 0x0c: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel Bay Trail TXE" rev 0x0c at pci0 dev 26 function 0 not configured azalia0 at pci0 dev 27 function 0 "Intel Bay Trail HD Audio" rev 0x0c: msi azalia0: codecs: Realtek/0x0887, Intel/0x2882, using Realtek/0x0887 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel Bay Trail PCIE" rev 0x0c: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 1 "Intel Bay Trail PCIE" rev 0x0c: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G (0x4c00), msi, address e0:3f:49:6f:f3:1c rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0 ppb2 at pci0 dev 28 function 2 "Intel Bay Trail PCIE" rev 0x0c: msi pci3 at ppb2 bus 3 ppb3 at pci0 dev 28 function 3 "Intel Bay Trail PCIE" rev 0x0c: msi pci4 at ppb3 bus 4 pcib0 at pci0 dev 31 function 0 "Intel Bay Trail LPC" rev 0x0c ichiic0 at pci0 dev 31 function 3 "Intel Bay Trail SMBus" rev 0x0c: apic 1 int 18 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR3 SDRAM PC3-10600 SO-DIMM isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 uhub1 at uhub0 port 4 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 2 uhidev0 at uhub1 port 2 configuration 1 interface 0 "Genius Optical Mouse" rev 1.10/1.00 addr 3 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 umidi0 at uhub1 port 3 configuration 1 interface 1 "M-Audio USB Uno MIDI Interface" rev 1.00/1.25 addr 4 umidi0: (genuine USB-MIDI) umidi0: out=1, in=1 midi0 at umidi0: <USB MIDI I/F> ugen0 at uhub1 port 3 configuration 1 "M-Audio USB Uno MIDI Interface" rev 1.00/1.25 addr 4 uplcom0 at uhub1 port 4 "Prolific Technology Inc. USB-Serial Controller" rev 1.10/3.00 addr 5 ucom0 at uplcom0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (b6c0cad145f7170f.a) swap on sd0b dump on sd0b

