On 21/05/2011, at 8:01 PM, Stuart Henderson wrote:
I've tried such a laptop, booting from usb stick does indeed fail as
you describe, however booting from the install cd (4.9 release) works
just fine.
Disabling acpi will allow the system to boot from the usb stick.
Thanks for the info. I'll try disabling ACPI the next time I
encounter
one of these.
You need the information in the panic message and trace.
If you want to help get the problems with those machines tracked
down, you need to get that information, maybe take a photo and
type it in from there.
If the panic message itself has scrolled off "show panic"
should show it again.
The only way disabling ACPI is helpful, is if the machine saves the
dmesg buffer between boots, then you may be able to get the panic,
boot -c, disable acpi, and save the information.
Turns out it does, so here it is:
The machine is an Asus K52F, looks like it could be quite a nice
openbsd laptop otherwise.
I ran 'show panic' at the ddb prompt first, then 'trace', then 'ps',
then rebooted.
I've also posted the output online at:
http://www.no-tek.com/dmesg_K52F_panic
to thwart reformatting in the email client.
Happy to do more if I've screwed something up or if there's more I
can do.
(ps. I tried the 'mach ddbcpu <#>' refered to in the panic output, but
only got error messages. I'm not familiar with this so I dont know what
I'm doing. The ddb man page wasn't helpful.)
OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar 2 07:19:02 MST 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz ("GenuineIntel"
686-class) 2.40 GHz
cpu0:
FPU,V86,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,SBF,SSE3,MWAIT,DS-
CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
real mem = 3133505536 (2988MB)
avail mem = 3072098304 (2929MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/30/09, SMBIOS rev. 2.6 @
0xec3d0 (77 entries)
bios0: vendor American Megatrends Inc. version "K52F.212" date
11/01/2010
bios0: ASUSTeK Computer Inc. K52F
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC DBGP ECDT SLIC MCFG HPET SSDT
acpi0: wakeup devices PEG4(S4) PEG5(S4) PEG6(S4) P0P1(S4) EHC1(S3)
USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC2(S3) USB5(S3) USB6(S3) USB7(S3)
HDEF(S4) RP01(S4) RP02(S4) WLAN(S3) RP04(S4) RP05(S4) RP06(S4) GLAN(S4)
RP07(S4) RP08(S4) GLAN(S4) RP03(S4) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz ("GenuineIntel"
686-class) 2.40 GHz
cpu1:
FPU,V86,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,SBF,SSE3,MWAIT,DS-
CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz ("GenuineIntel"
686-class) 2.40 GHz
cpu2:
FPU,V86,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,SBF,SSE3,MWAIT,DS-
CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz ("GenuineIntel"
686-class) 2.40 GHz
cpu3:
FPU,V86,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,SBF,SSE3,MWAIT,DS-
CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG1)
acpiprt2 at acpi0: bus -1 (PEG3)
acpiprt3 at acpi0: bus -1 (PEG5)
acpiprt4 at acpi0: bus 5 (P0P1)
acpiprt5 at acpi0: bus 1 (RP01)
acpiprt6 at acpi0: bus 2 (RP02)
acpiprt7 at acpi0: bus -1 (RP04)
acpiprt8 at acpi0: bus -1 (RP05)
acpiprt9 at acpi0: bus 4 (RP06)
acpiprt10 at acpi0: bus -1 (RP07)
acpiprt11 at acpi0: bus -1 (RP08)
acpiprt12 at acpi0: bus 3 (RP03)
acpicpu0 at acpi0: C1, PSS
acpicpu1 at acpi0: C1, PSS
acpicpu2 at acpi0: C1, PSS
acpicpu3 at acpi0: C1, PSS
acpitz0 at acpi0acpitz0: THRM: failed to read _CRT
: no critical temperature defined
acpiac0 at acpi0: AC unit in unknown state
acpibat0 at acpi0: BAT0 not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
acpivideo1 at acpi0: GFX0
acpivideo2 at acpi0: GFX0
acpivout0 at acpivideo2: LCDD
[\\_SB_.PCI0.SBRG.EC0_.PWAC] 0xd3f296c4 cnt:02 stk:00 buffer: 40 {0d,
1c, 2c, 3b, 4a, 5a, 69, 78, 88, 97, a7, b8, ca, dc, ee, ff, 1a, 29, 39,
48, 57, 67, 76, 85, 95, a4, b3, c3, d2, e1, f1, ff, 21, 31, 40, 50, 5f,
6e, 7d, 8d, 9c, ac, bb, ca, da, e7, f3, ff, 33, 40, 4d, 5a, 67, 73, 80,
8d, 9a, a7, b3, c3, d2, e2, f1, ff}
Index out of bounds 3823/64
82dc Called: \\_SB_.PCI0.GFX0.LCDD._BCL
local0: 0xd3f45b44 cnt:01 stk:60 integer: 0
local3: 0xd3f40904 cnt:02 stk:63 integer: eef
local4: 0xd3f46e84 cnt:01 stk:64 integer: ee0
82a9 Called: \\_SB_.PCI0.GFX0.LCDD._BCL
local0: 0xd3f45b44 cnt:01 stk:60 integer: 0
local3: 0xd3f40904 cnt:02 stk:63 integer: eef
local4: 0xd3f46e84 cnt:01 stk:64 integer: ee0
panic: aml_die aml_xparse:3562
Stopped at Debugger+0x4: popl %ebp
Debugger(d08e1866,d0ba6694,d09b783a,d0ba6694,d3f45704) at Debugger+0x4
panic(d09b783a,d09b75d2,dea,0,d0ba66c4) at panic+0x5d
_aml_die(d09b75d2,dea,d09b7b35,eef,40) at _aml_die+0x135
aml_xparse(d3f40244,74,d09b7b7f,0,0) at aml_xparse+0x1b52
aml_xparse(d3f40244,74,d09b800d,0,d3f46384) at aml_xparse+0x1bb
aml_xparse(d3f46e44,54,d09b7c61,14,d0ba68d7) at aml_xparse+0x1bb
aml_xeval(0,d3f0f544,74,0,0) at aml_xeval+0x21c
aml_evalnode(d3ea7c00,d3f0f044,0,0,d0ba6948) at aml_evalnode+0x68
acpivout_get_bcl(d3eaa500,d3eaa500,d0ba6a10,d03e5f5b,0) at
acpivout_get_bcl+0x3d
config_attach(d3f3f2c0,d09bfed8,d0ba6a10,d0840bc0,d0ba69dc,d0ba69dc,d3db
bdf0,0,8,0,0,0,0,0,0,0,0,0,0,0,d09b8de4,0,1,0,d3f0f644,0,400) at
config_attach+0x140
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS
PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS,
TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> ddb{0}> ddb{0}> ddb{0}> ddb{0}> aml_die aml_xparse:3562
ddb{0}> Debugger(d08e1866,d0ba6694,d09b783a,d0ba6694,d3f45704) at
Debugger+0x4
panic(d09b783a,d09b75d2,dea,0,d0ba66c4) at panic+0x5d
_aml_die(d09b75d2,dea,d09b7b35,eef,40) at _aml_die+0x135
aml_xparse(d3f40244,74,d09b7b7f,0,0) at aml_xparse+0x1b52
aml_xparse(d3f40244,74,d09b800d,0,d3f46384) at aml_xparse+0x1bb
aml_xparse(d3f46e44,54,d09b7c61,14,d0ba68d7) at aml_xparse+0x1bb
aml_xeval(0,d3f0f544,74,0,0) at aml_xeval+0x21c
aml_evalnode(d3ea7c00,d3f0f044,0,0,d0ba6948) at aml_evalnode+0x68
acpivout_get_bcl(d3eaa500,d3eaa500,d0ba6a10,d03e5f5b,0) at
acpivout_get_bcl+0x3d
config_attach(d3f3f2c0,d09bfed8,d0ba6a10,d0840bc0,d0ba69dc,d0ba69dc,d3db
bdf0,0,8,0,0,0,0,0,0,0,0,0,0,0,d09b8de4,0,1,0,d3f0f644,0,400) at
config_attach+0x140
acpi_foundvout(d3f0f244,d3f3f2c0,d0840cb0,d3f3f2c0,4) at
acpi_foundvout+0x11e
aml_find_node(d3f0f444,d09b8ded,d0840cb0,d3f3f2c0,0) at
aml_find_node+0x7d
aml_find_node(d3f0a884,d09b8ded,d0840cb0,d3f3f2c0,0) at
aml_find_node+0x6e
aml_find_node(d3f0a984,d09b8ded,d0840cb0,d3f3f2c0,0) at
aml_find_node+0x6e
acpivideo_attach(d3ea7c00,d3f3f2c0,d0ba6b50,d03e5f5b,0) at
acpivideo_attach+0xa2
config_attach(d3ea7c00,d09bfeb4,d0ba6b50,d082f1d0,0) at
config_attach+0x140
acpi_foundvideo(d3f0f304,d3ea7c00,d082e900,d3ea7c00,0) at
acpi_foundvideo+0x51
aml_find_node(d3f0a884,d09b7042,d082e900,d3ea7c00,d0aef7a0) at
aml_find_node+0x7d
aml_find_node(d3ee94c4,d09b7042,d082e900,d3ea7c00,0) at
aml_find_node+0x6e
aml_find_node(d3ec6d04,d09b7042,d082e900,d3ea7c00,0) at
aml_find_node+0x6e
aml_find_node(d3ea9e84,d09b7042,d082e900,d3ea7c00,d08b4782) at
aml_find_node+0x6e
aml_find_node(d0aef7a0,d09b7042,d082e900,d3ea7c00,0) at
aml_find_node+0x6e
acpi_attach(d3ea9f80,d3ea7c00,d0ba6d84,d03e5f5b,0) at acpi_attach+0x778
config_attach(d3ea9f80,d09bfc74,d0ba6d84,d0775290,4d) at
config_attach+0x140
biosattach(d3ea9fc0,d3ea9f80,d0ba6e5c,d03e5f5b,0) at biosattach+0x456
config_attach(d3ea9fc0,d09bea98,d0ba6e5c,d05a72f0,10) at
config_attach+0x140
mainbus_attach(0,d3ea9fc0,0,d09bc0b0,0) at mainbus_attach+0x4e
config_attach(0,d09bc0b0,0,0,d0a318a0) at config_attach+0x140
config_rootfound(d08e0846,0,0,d03d7591,0) at config_rootfound+0x46
cpu_configure(d0aee4e0,1,1000,cff3f000,1) at cpu_configure+0x29
main(d02004ba,d02004c2,0,0,0) at main+0x40a
ddb{0}> PID PPID PGRP UID S FLAGS WAIT
COMMAND
* 0 -1 0 0 7 0x80200 swapper
ddb{0}> rebooting...
OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar 2 07:19:02 MST 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz ("GenuineIntel"
686-class) 2.40 GHz
cpu0:
FPU,V86,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,SBF,SSE3,MWAIT,DS-
CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
real mem = 3133505536 (2988MB)
avail mem = 3072098304 (2929MB)
User Kernel Config
UKC> disable acpi
477 acpi0 disabled
UKC> exit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/30/09, SMBIOS rev. 2.6 @
0xec3d0 (77 entries)
bios0: vendor American Megatrends Inc. version "K52F.212" date
11/01/2010
bios0: ASUSTeK Computer Inc. K52F
acpi at bios0 function 0x0 not configured
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
mpbios0: bus 0 is type PCI
mpbios0: bus 1 is type PCI
mpbios0: bus 2 is type PCI
mpbios0: bus 3 is type PCI
mpbios0: bus 4 is type PCI
mpbios0: bus 5 is type PCI
mpbios0: bus 6 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc0000/0xfc00!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x18
vga1 at pci0 dev 2 function 0 "Intel Mobile HD graphics" rev 0x18
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
"Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 2 int
16 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: apic
2 int 22 (irq 5)
azalia0: codecs: Conexant/0x5069, Intel/0x2804, using Conexant/0x5069
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: apic 2 int
16 (irq 11)
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 3400 PCIE" rev 0x06: apic 2 int
17 (irq 3)
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 2 int 17
(irq 3)
athn0: AR9285 rev 2 (1T1R), ROM rev 13, address 48:5d:60:65:7a:19
ppb2 at pci0 dev 28 function 2 "Intel 3400 PCIE" rev 0x06: apic 2 int
18 (irq 4)
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x06: apic 2 int
17 (irq 3)
pci4 at ppb3 bus 4
"JMicron SD/MMC" rev 0x80 at pci4 dev 0 function 0 not configured
sdhc0 at pci4 dev 0 function 2 "JMicron SD Host Controller" rev 0x80:
apic 2 int 18 (irq 4)
sdmmc0 at sdhc0
"JMicron Memory Stick" rev 0x80 at pci4 dev 0 function 3 not configured
"JMicron xD" rev 0x80 at pci4 dev 0 function 4 not configured
jme0 at pci4 dev 0 function 5 "JMicron JMC250" rev 0x03: apic 2 int 17
(irq 3), address 20:cf:30:d3:68:72
jmphy0 at jme0 phy 1: JMP211 10/100/1000 PHY, rev. 1
ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 2 int
23 (irq 10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xa6
pci5 at ppb4 bus 5
pcib0 at pci0 dev 31 function 0 "Intel HM55 LPC" rev 0x06
ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: apic 2 int
19 (irq 10), AHCI 1.3
ahci0: PHY offline on port 4
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, ST9500325AS, 0003> SCSI3 0/direct
fixed
sd0: 476940MB, 512 bytes/sec, 976773168 sec total
cd0 at scsibus0 targ 1 lun 0: <HL-DT-ST, DVDRAM GT32N, AS01> ATAPI
5/cdrom removable
ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 2
int 18 (irq 4)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
itherm0 at pci0 dev 31 function 6 "Intel 3400 Thermal" rev 0x06
isa0 at pcib0
isadma0 at isa0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uvideo0 at uhub2 port 2 configuration 1 interface 0 "Sonix Technology
Co., Ltd. USB 2.0 Camera" rev 2.00/12.11 addr 3
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
umass0 at uhub3 port 3 configuration 1 interface 0 " USB FLASH DRIVE"
rev 2.00/1.00 addr 3
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <, USB FLASH DRIVE, 34CH> SCSI0 0/direct
removable
sd1: 492MB, 512 bytes/sec, 1007616 sec total
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
root on sd1a swap on sd1b dump on sd1b
jme0: watchdog timeout (missed link)