On Wed, 25 May 2011, Paul M wrote: >On 25/05/2011, at 4:48 AM, Dave Anderson wrote: > >> On Sat, 21 May 2011, Stuart Henderson wrote: >> >>> On 2011-05-21, Dave Anderson <d...@daveanderson.com> wrote: >>>> On Sat, 21 May 2011, Paul M wrote: >>>> >>>>> On 20/05/2011, at 12:27 PM, Dave Anderson wrote: >>>>> >>>>>> FWIW I've encountered several ASUS notebooks which panic during >>>>>> boot >>>>>> (in aml_parse or parse_aml, I can't remember which is correct); >>>>>> since >>>>> >>>>> aml_xparse >>>>> >>>>>> these are store demo machines I don't have any good way to capture >>>>>> the >>>>>> detailed information (I'm booting from a USB stick and saving the >>>>>> dmseg >>>>>> to the stick.) If there's some small amount of information that >>>>>> can be >>>>>> gotten without any additional hardware, etc, and would help >>>>>> diagnose >>>>>> these problems, I'll write it down and report it if someone tells >>>>>> me >>>>>> exactly how to get it. The panic info is long enough that some of >>>>>> it >>>>>> scrolls off the screen. >>>>> >>>>> 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. >>> >>> ACPI should not be disabled on modern machines, they are not >>> meant to work that way. >> >> Got a chance to try an ASUS system (k53e-xb1) and it did save the dmesg >> over the reboot -- so here's the info. I don't have the AML since >> there >> was no obvious way to list it from ddb and I was in a bit of a hurry >> and >> didn't think to try e.g. acpidump after the reboot with acpi disabled. >> If someone tells me the exact command to produce the needed AML info >> I'll make sure to try it next time. >> >> Dave >> >> OpenBSD 4.9-current (GENERIC) #65: Fri Apr 29 16:17:01 MDT 2011 >> t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC >> cpu0: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz ("GenuineIntel" >> 686-class) 2.30 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,PCLMUL,MWAIT,DS- >> CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE, >> AVX >> real mem = 2996805632 (2857MB) >> avail mem = 2937638912 (2801MB) >> mainbus0 at root >> bios0 at mainbus0: AT/286+ BIOS, date 12/03/10, SMBIOS rev. 2.6 @ >> 0xeb9b0 (79 entries) >> bios0: vendor American Megatrends Inc. version "K53E.206" date >> 02/22/2011 >> bios0: ASUSTeK Computer Inc. K53E >> acpi0 at bios0: rev 2 >> acpi0: sleep states S0 S3 S4 S5 >> acpi0: tables DSDT FACP APIC DBGP ECDT SLIC HPET MCFG SSDT SSDT ASF! >> acpi0: wakeup devices PEG0(S4) PEG1(S4) PEG2(S4) PEG3(S4) B0D4(S4) >> P0P1(S4) HDEF(S4) GLAN(S4) EHC1(S3) USB1(S3) USB2(S3) USB3(S3) >> USB4(S3) EHC2(S3) USB5(S3) USB6(S3) USB7(S3) RP01(S4) RP02(S4) >> WLAN(S3) RP03(S4) RP04(S4) XHCI(S3) RP05(S4) RP06(S4) GLAN(S4) >> RP07(S4) RP08(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 99MHz >> cpu at mainbus0: not configured >> cpu at mainbus0: not configured >> cpu at mainbus0: not configured >> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins >> acpiec0 at acpi0 >> acpihpet0 at acpi0: 14318179 Hz >> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63 >> acpiprt0 at acpi0: bus 0 (PCI0) >> acpiprt1 at acpi0: bus -1 (PEG0) >> acpiprt2 at acpi0: bus -1 (PEG1) >> acpiprt3 at acpi0: bus -1 (PEG2) >> acpiprt4 at acpi0: bus -1 (PEG3) >> acpiprt5 at acpi0: bus -1 (P0P1) >> acpiprt6 at acpi0: bus 1 (RP01) >> acpiprt7 at acpi0: bus 2 (RP02) >> acpiprt8 at acpi0: bus -1 (RP03) >> acpiprt9 at acpi0: bus -1 (RP04) >> acpiprt10 at acpi0: bus -1 (RP05) >> acpiprt11 at acpi0: bus 3 (RP06) >> acpiprt12 at acpi0: bus -1 (RP07) >> acpiprt13 at acpi0: bus -1 (RP08) >> acpicpu0 at acpi0: C3, 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 >> acpivout0 at acpivideo1: LCDD >> [\\_SB_.PCI0.SBRG.EC0_.PWAC] 0xd3bf5bc4 cnt:02 stk:00 buffer: 40 {33, >> 40, 4d, 5a, 67, 73, 80, 8d, a7, cd, ff, ff, ff, ff, ff, ff, 21, 2e, >> 3b, 48, 55, 61, 6e, 7b, 9a, c5, ff, ff, ff, ff, ff, ff, ff, ff, ff, >> ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, >> ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff} >> Index out of bounds 3818/64 >> >> 61b1 Called: \\_SB_.PCI0.GFX0.LCDD._BCL >> local0: 0xd3c0f3c4 cnt:01 stk:60 integer: 0 >> local3: 0xd3c11c44 cnt:02 stk:63 integer: eea >> local4: 0xd3c0fa84 cnt:01 stk:64 integer: ee0 >> 617e Called: \\_SB_.PCI0.GFX0.LCDD._BCL >> local0: 0xd3c0f3c4 cnt:01 stk:60 integer: 0 >> local3: 0xd3c11c44 cnt:02 stk:63 integer: eea >> local4: 0xd3c0fa84 cnt:01 stk:64 integer: ee0 >> panic: aml_die aml_parse:3562 >> Stopped at Debugger+0x4: popl %ebp >> Debugger(d08df1b4,d0ba46d4,d09b6ec5,d0ba46d4,d3c110c4) at Debugger+0x4 >> panic(d09b6ec5,d09b6c66,dea,0,d0ba4704) at panic+0x5d >> _aml_die(d09b6c66,dea,d09b71c0,eea,40) at _aml_die+0x135 >> aml_parse(d3c11b44,74,d09b720a,0,0) at aml_parse+0x1b52 >> aml_parse(d3c11b44,74,d09b7698,0,d3c11bc4) at aml_parse+0x1bb >> aml_parse(d3c13f04,54,d09b72ec,14,d0ba4917) at aml_parse+0x1bb >> aml_eval(0,d3bdbe04,74,0,0) at aml_eval+0x21c >> aml_evalnode(d3b89c00,d3bdbec4,0,0,d0ba4988) at aml_evalnode+0x68 >> acpivout_get_bcl(d3b8c600,d3b8c600,d0ba4a18,d03e4ebb,0) at >> acpivout_get_bcl+0x3d >> config_attach(d3c13c00,d09bfed8,d0ba4a18,d083e4d0,d3bd5284) at >> config_attach+0x140 >> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS >> PANIC! >> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! >> ddb> aml_die aml_parse:3562 >> ddb> Debugger(d08df1b4,d0ba46d4,d09b6ec5,d0ba46d4,d3c110c4) at >> Debugger+0x4 >> panic(d09b6ec5,d09b6c66,dea,0,d0ba4704) at panic+0x5d >> _aml_die(d09b6c66,dea,d09b71c0,eea,40) at _aml_die+0x135 >> aml_parse(d3c11b44,74,d09b720a,0,0) at aml_parse+0x1b52 >> aml_parse(d3c11b44,74,d09b7698,0,d3c11bc4) at aml_parse+0x1bb >> aml_parse(d3c13f04,54,d09b72ec,14,d0ba4917) at aml_parse+0x1bb >> aml_eval(0,d3bdbe04,74,0,0) at aml_eval+0x21c >> aml_evalnode(d3b89c00,d3bdbec4,0,0,d0ba4988) at aml_evalnode+0x68 >> acpivout_get_bcl(d3b8c600,d3b8c600,d0ba4a18,d03e4ebb,0) at >> acpivout_get_bcl+0x3d >> config_attach(d3c13c00,d09bfed8,d0ba4a18,d083e4d0,d3bd5284) at >> config_attach+0x140 >> acpi_foundvout(d3bdbec4,d3c13c00,d083e540,d3c13c00,0) at >> acpi_foundvout+0xb1 >> aml_find_node(d3bdb384,d09b8476,d083e540,d3c13c00,0) at >> aml_find_node+0x7d >> aml_find_node(d3bd5204,d09b8476,d083e540,d3c13c00,0) at >> aml_find_node+0x6e >> aml_find_node(d3bd5284,d09b8476,d083e540,d3c13c00,0) at >> aml_find_node+0x6e >> acpivideo_attach(d3b89c00,d3c13c00,d0ba4b50,d03e4ebb,0) at >> acpivideo_attach+0x9a >> config_attach(d3b89c00,d09bfeb4,d0ba4b50,d082cb00,0) at >> config_attach+0x140 >> acpi_foundvideo(d3bdbb84,d3b89c00,d082c2a0,d3b89c00,0) at >> acpi_foundvideo+0x51 >> aml_find_node(d3bd5204,d09b66d5,d082c2a0,d3b89c00,d0aee1a0) at >> aml_find_node+0x7d >> aml_find_node(d3bbd7c4,d09b66d5,d082c2a0,d3b89c00,0) at >> aml_find_node+0x6e >> aml_find_node(d3ba9884,d09b66d5,d082c2a0,d3b89c00,0) at >> aml_find_node+0x6e >> aml_find_node(d3b8be84,d09b66d5,d082c2a0,d3b89c00,d08b1f22) at >> aml_find_node+0x6e >> aml_find_node(d0aee1a0,d09b66d5,d082c2a0,d3b89c00,0) at >> aml_find_node+0x6e >> acpi_attach(d3b8bf80,d3b89c00,d0ba4d84,d03e4ebb,0) at acpi_attach+0x778 >> config_attach(d3b8bf80,d09bfc74,d0ba4d84,d0772f90,4f) at >> config_attach+0x140 >> biosattach(d3b8bfc0,d3b8bf80,d0ba4e5c,d03e4ebb,0) at biosattach+0x456 >> config_attach(d3b8bfc0,d09beabc,d0ba4e5c,d05a4ad0,10) at >> config_attach+0x140 >> mainbus_attach(0,d3b8bfc0,0,d09bc0d4,0) at mainbus_attach+0x4e >> config_attach(0,d09bc0d4,0,0,d0a301e0) at config_attach+0x140 >> config_rootfound(d08de1c6,0,0,d03d7081,0) at config_rootfound+0x46 >> cpu_configure(d0aecf00,1,1000,cff3f000,1) at cpu_configure+0x29 >> main(d02004ba,d02004c2,0,0,0) at main+0x3ea >> ddb> PID PPID PGRP UID S FLAGS WAIT COMMAND >> * 0 -1 0 0 7 0x80200 swapper >> ddb> rebooting... >> OpenBSD 4.9-current (GENERIC) #65: Fri Apr 29 16:17:01 MDT 2011 >> t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC >> cpu0: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz ("GenuineIntel" >> 686-class) 2.30 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,PCLMUL,MWAIT,DS- >> CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE, >> AVX >> real mem = 2996805632 (2857MB) >> avail mem = 2937638912 (2801MB) >> User Kernel Config >> UKC> disable acpi >> 477 acpi0 disabled >> UKC> exit >> Continuing... >> mainbus0 at root >> bios0 at mainbus0: AT/286+ BIOS, date 12/03/10, SMBIOS rev. 2.6 @ >> 0xeb9b0 (79 entries) >> bios0: vendor American Megatrends Inc. version "K53E.206" date >> 02/22/2011 >> bios0: ASUSTeK Computer Inc. K53E >> 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 99MHz >> 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 ISA >> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins >> pcibios at bios0 function 0x1a not configured >> bios0: ROM list: 0xc0000/0xf000 >> pci0 at mainbus0 bus 0: configuration mode 1 (bios) >> pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09 >> vga1 at pci0 dev 2 function 0 "Intel GT2 Video" rev 0x09 >> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >> wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >> intagp at vga1 not configured >> "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured >> ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 2 >> int 16 >> 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 6 Series HD Audio" rev 0x05: >> apic 2 int 22 >> azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269 >> audio0 at azalia0 >> ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: apic 2 >> int 16 >> pci1 at ppb0 bus 1 >> ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: apic 2 >> int 17 >> pci2 at ppb1 bus 2 >> athn0 at pci2 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 2 int 17 >> athn0: AR9285 rev 2 (1T1R), ROM rev 14, address e0:b9:a5:20:4a:d3 >> ppb2 at pci0 dev 28 function 5 "Intel 6 Series PCIE" rev 0xb5: apic 2 >> int 17 >> pci3 at ppb2 bus 3 >> "Attansic Technology L1D" rev 0xc0 at pci3 dev 0 function 0 not >> configured >> ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 2 >> int 23 >> usb1 at ehci1: USB revision 2.0 >> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 >> pcib0 at pci0 dev 31 function 0 "Intel HM65 LPC" rev 0x05 >> ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: apic 2 >> int 19, AHCI 1.3 >> scsibus0 at ahci0: 32 targets >> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD5000BEVT-8, 01.0> SCSI3 >> 0/direct fixed naa.50014ee600fdfd52 >> sd0: 476940MB, 512 bytes/sec, 976773168 sec total >> cd0 at scsibus0 targ 2 lun 0: <MATSHITA, DVD-RAM UJ8A0ASW, 1.01> ATAPI >> 5/cdrom removable >> ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: >> apic 2 int 18 >> iic0 at ichiic0 >> spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM >> spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM >> 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 product 0x0024" rev 2.00/0.00 addr 2 >> uvideo0 at uhub2 port 2 configuration 1 interface 0 "Azurewave USB 2.0 >> UVC VGA WebCam" rev 2.00/11.30 addr 3 >> video0 at uvideo0 >> uhub3 at uhub1 port 1 "Intel product 0x0024" rev 2.00/0.00 addr 2 >> umass0 at uhub3 port 3 configuration 1 interface 0 "HP v125w" rev >> 2.00/40.96 addr 3 >> umass0: using SCSI over Bulk-Only >> scsibus1 at umass0: 2 targets, initiator 0 >> sd1 at scsibus1 targ 1 lun 0: <hp, v125w, 4096> SCSI0 0/direct >> removable serial.03f03307104A00000902 >> sd1: 3864MB, 512 bytes/sec, 7913472 sec total >> vscsi0 at root >> scsibus2 at vscsi0: 256 targets >> softraid0 at root >> root on sd1a (b49dd4ca234422c3.a) swap on sd1b dump on sd1b >> >> -- >> Dave Anderson >> <d...@daveanderson.com> > >After the machine has booted with acpi disabled, 'acpidump -o k53f' >will give you a few files. >If sending by email, watch for linewrapping. > >I have supplied p...@irofti.net with the dump for the K52F. I would >assume that other dumps may also be usefull. Paul has given me a patch >to test, but suggests that the fix may not be trivial. > >paulm
Thanks. I should be able to get back to that machine and run acpidump sometime in the next couple of days, and I've located one other ASUS system that I can get to soon. Dave -- Dave Anderson <d...@daveanderson.com>