From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoJXB-0001km-Jf for qemu-devel@nongnu.org; Mon, 30 Mar 2009 11:36:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoJX6-0001dz-Qm for qemu-devel@nongnu.org; Mon, 30 Mar 2009 11:36:21 -0400 Received: from [199.232.76.173] (port=45343 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoJX6-0001dh-Fj for qemu-devel@nongnu.org; Mon, 30 Mar 2009 11:36:16 -0400 Received: from the2masters.de ([213.146.113.64]:49772 helo=smtp.the2masters.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LoJX4-0005s6-JO for qemu-devel@nongnu.org; Mon, 30 Mar 2009 11:36:16 -0400 Message-ID: <49D0E6E6.4000302@the2masters.de> Date: Mon, 30 Mar 2009 17:36:06 +0200 From: Stefan Hellermann MIME-Version: 1.0 References: <49CBBCD4.3020207@the2masters.de> <20090327073600.GA31195@redhat.com> In-Reply-To: <20090327073600.GA31195@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: How to use -acpitable to add a SLIC-table? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: qemu-devel@nongnu.org Gleb Natapov schrieb: > On Thu, Mar 26, 2009 at 06:35:16PM +0100, Stefan Hellermann wrote: > >> Hello, >> >> how can I use the -acpitable parameter to add a SLIC-table to the >> qemu-bios dynamically? >> >> I think I need a file with the SLIC-data, but how can I extract this >> data out of my BIOS from my host-machine for example? >> >> The -acpitable parameter accepts a bunch of settings and a datafile, do >> I need to set all these settings? I think most of them should sit in the >> SLIC-file. >> >> > -acpitable parameter settings are field from common ACPI table header. > If you skip any of them default will be used. Table data that goes after > headers should be specified after data=. > > >> I tried using SLIC-Data-files downloaded from the web, but I'm unsure if >> they are formatted correctly. >> > It looks like they already contain ACPI header. > Okay, I did some new tries. On my own (real-)machine I did # acpidump -o acpidata # acpixtract -l dump | grep SLIC Signature Length OemId OemTableId OemRevision CompilerId CompilerRevision SLIC 374 "LENOVO" "TP-7O " 00002210 " LTP" 00000000 # acpixtract -sSLIC acpidata # qemu-system-x86_64 -acpitable sig=SLIC,rev=1,oem_id=LENOVO,oem_table_id=TP-70\ \ \ ,oem_rev=00002210,asl_compiler_id=\ LTP,asl_compiler_rev=00000000,data=SLIC.dat But this doesn't work either. I diffed the output of acpidump with the -acpitable parameter and without, the results are the same. I compared my own SLIC.dat file with the ones I downloaded from the web, the first bytes of the files look similar. I think they are in the same format. > >> -acpitable data=SLIC.aml or SLIC.bin doesn't throw an error, but the >> linux-kernel in the virtual machine doesn't detect new acpi-tables. I >> attached a hexdump from these two files. >> > How do you know they are not detected. Can you send acpidump output? > > I checked the start of dmesg-output, i think it lists (all?) acpi-tables. On my real-machine there is a line ACPI: SLIC 7F6CBE62, 0176 (r1 LENOVO TP-7O 2210 LTP 0) In the qemu-vm there is no such line. #qemu-system-x86_64 -help | head -n 1 QEMU PC emulator version 0.10.0 (kvm-devel), Copyright (c) 2003-2008 Fabrice Bellard in the virtual machine, linux kernel 2.6.29: #acpidump -o acpidata #acpixtrace -l acpidata Signature Length OemId OemTableId OemRevision CompilerId CompilerRevision DSDT 9536 "BXPC " "BXDSDT " 00000001 "INTL" 20061109 FACS 64 FACP 116 "QEMU " "QEMUFACP" 00000001 "QEMU" 00000001 APIC 224 "QEMU " "QEMUAPIC" 00000001 "QEMU" 00000001 RSDT 44 "QEMU " "QEMURSDT" 00000001 "QEMU" 00000001 RSDP "QEMU " Found 6 ACPI tables [20060324] # acpidump DSDT @ 0x1fff0100 0000: 44 53 44 54 40 25 00 00 01 da 42 58 50 43 00 00 DSDT@%....BXPC.. 0010: 42 58 44 53 44 54 00 00 01 00 00 00 49 4e 54 4c BXDSDT......INTL 0020: 09 11 06 20 10 49 75 5f 50 52 5f 5b 80 50 52 53 ... .Iu_PR_[.PRS 0030: 54 01 0b 00 af 0a 20 5b 81 0c 50 52 53 54 01 50 T..... [..PRST.P 0040: 52 53 5f 40 10 08 50 52 53 53 11 03 0a 20 08 53 RS_@..PRSS... .S 0050: 53 56 4c 00 14 38 43 52 53 54 01 a0 16 93 53 53 SVL..8CRST....SS 0060: 56 4c 00 70 50 52 53 5f 50 52 53 53 70 01 53 53 VL.pPRS_PRSSp.SS 0070: 56 4c 7a 68 0a 03 61 70 83 88 50 52 53 53 61 00 VLzh..ap..PRSSa. 0080: 62 a4 7b 62 79 01 7b 68 0a 07 00 00 00 5b 83 4e b.{by.{h.....[.N 0090: 05 43 50 55 30 00 10 b0 00 00 06 08 50 52 45 4e .CPU0.......PREN 00a0: 11 0b 0a 08 00 08 00 00 01 00 00 00 08 50 52 44 .............PRD 00b0: 53 11 0b 0a 08 00 08 00 00 00 00 00 00 14 19 5f S.............._ 00c0: 4d 41 54 00 a0 0b 43 52 53 54 00 a4 50 52 45 4e MAT...CRST..PREN 00d0: a1 06 a4 50 52 44 53 14 15 5f 53 54 41 00 a0 09 ...PRDS.._STA... 00e0: 43 52 53 54 00 a4 0a 0f a1 04 a4 0a 09 5b 83 4e CRST.........[.N 00f0: 05 43 50 55 31 01 10 b0 00 00 06 08 50 52 45 4e .CPU1.......PREN 0100: 11 0b 0a 08 00 08 01 01 01 00 00 00 08 50 52 44 .............PRD 0110: 53 11 0b 0a 08 00 08 01 01 00 00 00 00 14 19 5f S.............._ 0120: 4d 41 54 00 a0 0b 43 52 53 54 01 a4 50 52 45 4e MAT...CRST..PREN 0130: a1 06 a4 50 52 44 53 14 15 5f 53 54 41 00 a0 09 ...PRDS.._STA... 0140: 43 52 53 54 01 a4 0a 0f a1 04 a4 0a 09 5b 83 40 CRST.........[.@ 0150: 06 43 50 55 32 02 10 b0 00 00 06 08 50 52 45 4e .CPU2.......PREN 0160: 11 0b 0a 08 00 08 02 02 01 00 00 00 08 50 52 44 .............PRD 0170: 53 11 0b 0a 08 00 08 02 02 00 00 00 00 14 1a 5f S.............._ 0180: 4d 41 54 00 a0 0c 43 52 53 54 0a 02 a4 50 52 45 MAT...CRST...PRE 0190: 4e a1 06 a4 50 52 44 53 14 16 5f 53 54 41 00 a0 N...PRDS.._STA.. 01a0: 0a 43 52 53 54 0a 02 a4 0a 0f a1 04 a4 0a 09 5b .CRST..........[ 01b0: 83 40 06 43 50 55 33 03 10 b0 00 00 06 08 50 52 .@.CPU3.......PR 01c0: 45 4e 11 0b 0a 08 00 08 03 03 01 00 00 00 08 50 EN.............P 01d0: 52 44 53 11 0b 0a 08 00 08 03 03 00 00 00 00 14 RDS............. 01e0: 1a 5f 4d 41 54 00 a0 0c 43 52 53 54 0a 03 a4 50 ._MAT...CRST...P 01f0: 52 45 4e a1 06 a4 50 52 44 53 14 16 5f 53 54 41 REN...PRDS.._STA 0200: 00 a0 0a 43 52 53 54 0a 03 a4 0a 0f a1 04 a4 0a ...CRST......... 0210: 09 5b 83 40 06 43 50 55 34 04 10 b0 00 00 06 08 .[.@.CPU4....... 0220: 50 52 45 4e 11 0b 0a 08 00 08 04 04 01 00 00 00 PREN............ 0230: 08 50 52 44 53 11 0b 0a 08 00 08 04 04 00 00 00 .PRDS........... 0240: 00 14 1a 5f 4d 41 54 00 a0 0c 43 52 53 54 0a 04 ..._MAT...CRST.. 0250: a4 50 52 45 4e a1 06 a4 50 52 44 53 14 16 5f 53 .PREN...PRDS.._S 0260: 54 41 00 a0 0a 43 52 53 54 0a 04 a4 0a 0f a1 04 TA...CRST....... 0270: a4 0a 09 5b 83 40 06 43 50 55 35 05 10 b0 00 00 ...[.@.CPU5..... 0280: 06 08 50 52 45 4e 11 0b 0a 08 00 08 05 05 01 00 ..PREN.......... 0290: 00 00 08 50 52 44 53 11 0b 0a 08 00 08 05 05 00 ...PRDS......... 02a0: 00 00 00 14 1a 5f 4d 41 54 00 a0 0c 43 52 53 54 ....._MAT...CRST 02b0: 0a 05 a4 50 52 45 4e a1 06 a4 50 52 44 53 14 16 ...PREN...PRDS.. 02c0: 5f 53 54 41 00 a0 0a 43 52 53 54 0a 05 a4 0a 0f _STA...CRST..... 02d0: a1 04 a4 0a 09 5b 83 40 06 43 50 55 36 06 10 b0 .....[.@.CPU6... 02e0: 00 00 06 08 50 52 45 4e 11 0b 0a 08 00 08 06 06 ....PREN........ 02f0: 01 00 00 00 08 50 52 44 53 11 0b 0a 08 00 08 06 .....PRDS....... 0300: 06 00 00 00 00 14 1a 5f 4d 41 54 00 a0 0c 43 52 ......._MAT...CR 0310: 53 54 0a 06 a4 50 52 45 4e a1 06 a4 50 52 44 53 ST...PREN...PRDS 0320: 14 16 5f 53 54 41 00 a0 0a 43 52 53 54 0a 06 a4 .._STA...CRST... 0330: 0a 0f a1 04 a4 0a 09 5b 83 40 06 43 50 55 37 07 .......[.@.CPU7. 0340: 10 b0 00 00 06 08 50 52 45 4e 11 0b 0a 08 00 08 ......PREN...... 0350: 07 07 01 00 00 00 08 50 52 44 53 11 0b 0a 08 00 .......PRDS..... 0360: 08 07 07 00 00 00 00 14 1a 5f 4d 41 54 00 a0 0c ........._MAT... 0370: 43 52 53 54 0a 07 a4 50 52 45 4e a1 06 a4 50 52 CRST...PREN...PR 0380: 44 53 14 16 5f 53 54 41 00 a0 0a 43 52 53 54 0a DS.._STA...CRST. 0390: 07 a4 0a 0f a1 04 a4 0a 09 5b 83 40 06 43 50 55 .........[.@.CPU 03a0: 38 08 10 b0 00 00 06 08 50 52 45 4e 11 0b 0a 08 8.......PREN.... 03b0: 00 08 08 08 01 00 00 00 08 50 52 44 53 11 0b 0a .........PRDS... 03c0: 08 00 08 08 08 00 00 00 00 14 1a 5f 4d 41 54 00 ..........._MAT. 03d0: a0 0c 43 52 53 54 0a 08 a4 50 52 45 4e a1 06 a4 ..CRST...PREN... 03e0: 50 52 44 53 14 16 5f 53 54 41 00 a0 0a 43 52 53 PRDS.._STA...CRS 03f0: 54 0a 08 a4 0a 0f a1 04 a4 0a 09 5b 83 40 06 43 T..........[.@.C 0400: 50 55 39 09 10 b0 00 00 06 08 50 52 45 4e 11 0b PU9.......PREN.. 0410: 0a 08 00 08 09 09 01 00 00 00 08 50 52 44 53 11 ...........PRDS. 0420: 0b 0a 08 00 08 09 09 00 00 00 00 14 1a 5f 4d 41 ............._MA 0430: 54 00 a0 0c 43 52 53 54 0a 09 a4 50 52 45 4e a1 T...CRST...PREN. 0440: 06 a4 50 52 44 53 14 16 5f 53 54 41 00 a0 0a 43 ..PRDS.._STA...C 0450: 52 53 54 0a 09 a4 0a 0f a1 04 a4 0a 09 5b 83 40 RST..........[.@ 0460: 06 43 50 55 41 0a 10 b0 00 00 06 08 50 52 45 4e .CPUA.......PREN 0470: 11 0b 0a 08 00 08 0a 0a 01 00 00 00 08 50 52 44 .............PRD 0480: 53 11 0b 0a 08 00 08 0a 0a 00 00 00 00 14 1a 5f S.............._ 0490: 4d 41 54 00 a0 0c 43 52 53 54 0a 0a a4 50 52 45 MAT...CRST...PRE 04a0: 4e a1 06 a4 50 52 44 53 14 16 5f 53 54 41 00 a0 N...PRDS.._STA.. 04b0: 0a 43 52 53 54 0a 0a a4 0a 0f a1 04 a4 0a 09 5b .CRST..........[ 04c0: 83 40 06 43 50 55 42 0b 10 b0 00 00 06 08 50 52 .@.CPUB.......PR 04d0: 45 4e 11 0b 0a 08 00 08 0b 0b 01 00 00 00 08 50 EN.............P 04e0: 52 44 53 11 0b 0a 08 00 08 0b 0b 00 00 00 00 14 RDS............. 04f0: 1a 5f 4d 41 54 00 a0 0c 43 52 53 54 0a 0b a4 50 ._MAT...CRST...P 0500: 52 45 4e a1 06 a4 50 52 44 53 14 16 5f 53 54 41 REN...PRDS.._STA 0510: 00 a0 0a 43 52 53 54 0a 0b a4 0a 0f a1 04 a4 0a ...CRST......... 0520: 09 5b 83 40 06 43 50 55 43 0c 10 b0 00 00 06 08 .[.@.CPUC....... 0530: 50 52 45 4e 11 0b 0a 08 00 08 0c 0c 01 00 00 00 PREN............ 0540: 08 50 52 44 53 11 0b 0a 08 00 08 0c 0c 00 00 00 .PRDS........... 0550: 00 14 1a 5f 4d 41 54 00 a0 0c 43 52 53 54 0a 0c ..._MAT...CRST.. 0560: a4 50 52 45 4e a1 06 a4 50 52 44 53 14 16 5f 53 .PREN...PRDS.._S 0570: 54 41 00 a0 0a 43 52 53 54 0a 0c a4 0a 0f a1 04 TA...CRST....... 0580: a4 0a 09 5b 83 40 06 43 50 55 44 0d 10 b0 00 00 ...[.@.CPUD..... 0590: 06 08 50 52 45 4e 11 0b 0a 08 00 08 0d 0d 01 00 ..PREN.......... 05a0: 00 00 08 50 52 44 53 11 0b 0a 08 00 08 0d 0d 00 ...PRDS......... 05b0: 00 00 00 14 1a 5f 4d 41 54 00 a0 0c 43 52 53 54 ....._MAT...CRST 05c0: 0a 0d a4 50 52 45 4e a1 06 a4 50 52 44 53 14 16 ...PREN...PRDS.. 05d0: 5f 53 54 41 00 a0 0a 43 52 53 54 0a 0d a4 0a 0f _STA...CRST..... 05e0: a1 04 a4 0a 09 5b 83 40 06 43 50 55 45 0e 10 b0 .....[.@.CPUE... 05f0: 00 00 06 08 50 52 45 4e 11 0b 0a 08 00 08 0e 0e ....PREN........ 0600: 01 00 00 00 08 50 52 44 53 11 0b 0a 08 00 08 0e .....PRDS....... 0610: 0e 00 00 00 00 14 1a 5f 4d 41 54 00 a0 0c 43 52 ......._MAT...CR 0620: 53 54 0a 0e a4 50 52 45 4e a1 06 a4 50 52 44 53 ST...PREN...PRDS 0630: 14 16 5f 53 54 41 00 a0 0a 43 52 53 54 0a 0e a4 .._STA...CRST... 0640: 0a 0f a1 04 a4 0a 09 14 4b 0b 4e 54 46 59 02 a0 ........K.NTFY.. 0650: 0a 93 68 00 86 43 50 55 30 69 a0 0a 93 68 01 86 ..h..CPU0i...h.. 0660: 43 50 55 31 69 a0 0b 93 68 0a 02 86 43 50 55 32 CPU1i...h...CPU2 0670: 69 a0 0b 93 68 0a 03 86 43 50 55 33 69 a0 0b 93 i...h...CPU3i... 0680: 68 0a 04 86 43 50 55 34 69 a0 0b 93 68 0a 05 86 h...CPU4i...h... 0690: 43 50 55 35 69 a0 0b 93 68 0a 06 86 43 50 55 36 CPU5i...h...CPU6 06a0: 69 a0 0b 93 68 0a 07 86 43 50 55 37 69 a0 0b 93 i...h...CPU7i... 06b0: 68 0a 08 86 43 50 55 38 69 a0 0b 93 68 0a 09 86 h...CPU8i...h... 06c0: 43 50 55 39 69 a0 0b 93 68 0a 0a 86 43 50 55 41 CPU9i...h...CPUA 06d0: 69 a0 0b 93 68 0a 0b 86 43 50 55 42 69 a0 0b 93 i...h...CPUBi... 06e0: 68 0a 0c 86 43 50 55 43 69 a0 0b 93 68 0a 0d 86 h...CPUCi...h... 06f0: 43 50 55 44 69 a0 0b 93 68 0a 0e 86 43 50 55 45 CPUDi...h...CPUE 0700: 69 a4 01 14 3c 50 52 31 5f 03 7f 69 6a 60 79 68 i... bootmem [0000000000 - 001fff0000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] #1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000] #2 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000] #3 [0000100000 - 0000d5a614] TEXT DATA BSS ==> [0000100000 - 0000d5a614] #4 [0000d5b000 - 0000d60000] INIT_PG_TABLE ==> [0000d5b000 - 0000d60000] #5 [000009f000 - 0000100000] BIOS reserved ==> [000009f000 - 0000100000] #6 [0000010000 - 0000011000] PGTABLE ==> [0000010000 - 0000011000] #7 [0000011000 - 0000015000] BOOTMAP ==> [0000011000 - 0000015000] found SMP MP-table at [c00fbd10] 000fbd10 kvm-clock: cpu 0, msr 0:d03cc1, boot clock Zone PFN ranges: DMA 0x00000000 -> 0x00001000 Normal 0x00001000 -> 0x0001fff0 HighMem 0x0001fff0 -> 0x0001fff0 Movable zone start PFN for each node early_node_map[4] active PFN ranges 0: 0x00000000 -> 0x00000002 0: 0x00000006 -> 0x00000007 0: 0x00000010 -> 0x00000092 0: 0x00000100 -> 0x0001fff0 On node 0 totalpages: 130933 free_area_init_node: node 0, pgdat c0b967e0, node_mem_map c1000000 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 3941 pages, LIFO batch:0 Normal zone: 992 pages used for memmap Normal zone: 125968 pages, LIFO batch:31 ACPI: PM-Timer IO Port: 0xb008 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x04] disabled) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x05] disabled) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x06] disabled) ACPI: LAPIC (acpi_id[0x07] lapic_id[0x07] disabled) ACPI: LAPIC (acpi_id[0x08] lapic_id[0x08] disabled) ACPI: LAPIC (acpi_id[0x09] lapic_id[0x09] disabled) ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x0a] disabled) ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x0b] disabled) ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x0c] disabled) ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x0d] disabled) ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x0e] disabled) ACPI: LAPIC (acpi_id[0x0f] lapic_id[0x0f] disabled) ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) ACPI: IRQ5 used by override. ACPI: IRQ9 used by override. ACPI: IRQ10 used by override. ACPI: IRQ11 used by override. Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information 16 Processors exceeds NR_CPUS limit of 4 SMP: Allowing 4 CPUs, 3 hotplug CPUs nr_irqs_gsi: 24 Allocating PCI resources starting at 30000000 (gap: 20000000:dffbc000) NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1 PERCPU: Allocating 36864 bytes of per cpu data kvm-clock: cpu 0, msr 0:1407cc1, primary cpu clock Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129909 Kernel command line: usbcore.autosuspend=3 root=server:/srv/netboot ifdev=eth0 bridge BOOT_IMAGE=vmlinuz Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 2048 (order: 11, 8192 bytes) Detected 2094.484 MHz processor. Console: colour VGA+ 80x25 console [tty0] enabled Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 506224k/524224k available (7758k kernel code, 17352k reserved, 3196k data, 1312k init, 0k highmem) virtual kernel memory layout: fixmap : 0xfff83000 - 0xfffff000 ( 496 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xe07f0000 - 0xff7fe000 ( 496 MB) lowmem : 0xc0000000 - 0xdfff0000 ( 511 MB) .init : 0xc0bbd000 - 0xc0d05000 (1312 kB) .data : 0xc0893b0b - 0xc0bb2bf8 (3196 kB) .text : 0xc0100000 - 0xc0893b0b (7758 kB) Checking if this processor honours the WP bit even in supervisor mode...Ok. SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Calibrating delay loop (skipped) preset value.. 4188.96 BogoMIPS (lpj=20944840) Mount-cache hash table entries: 512 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. SMP alternatives: switching to UP code ACPI: Core revision 20081204 ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1 CPU0: Intel QEMU Virtual CPU version 0.10.0 stepping 03 Brought up 1 CPUs Total of 1 processors activated (4188.96 BogoMIPS). net_namespace: 500 bytes Booting paravirtualized kernel on KVM xor: automatically using best checksumming function: pIII_sse pIII_sse : 873.600 MB/sec xor: using function: pIII_sse (873.600 MB/sec) NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xfb510, last bus=0 PCI: Using configuration type 1 for base access bio: create slab at 0 ACPI: EC: Look up EC in DSDT ACPI: Interpreter enabled ACPI: (supports S0 S3 S5) ACPI: Using IOAPIC for interrupt routing ACPI: No dock devices found. ACPI: PCI Root Bridge [PCI0] (0000:00) pci 0000:00:01.1: reg 20 io port: [0xc000-0xc00f] pci 0000:00:01.2: reg 20 io port: [0xc020-0xc03f] pci 0000:00:01.3: quirk: region b000-b03f claimed by PIIX4 ACPI pci 0000:00:01.3: quirk: region b100-b10f claimed by PIIX4 SMB pci 0000:00:02.0: reg 10 32bit mmio: [0xe0000000-0xe0ffffff] pci 0000:00:03.0: reg 10 32bit mmio: [0xf0000000-0xf001ffff] pci 0000:00:03.0: reg 14 io port: [0xc040-0xc07f] pci 0000:00:04.0: reg 10 io port: [0xc400-0xc7ff] pci 0000:00:04.0: reg 14 io port: [0xc800-0xc8ff] pci 0000:00:05.0: reg 10 io port: [0xc900-0xc91f] pci_bus 0000:00: on NUMA node 0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) SCSI subsystem initialized libata version 3.00 loaded. usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ACPI: WMI: Mapper loaded PCI: Using ACPI for IRQ routing cfg80211: Using static regulatory domain info cfg80211: Regulatory domain: US (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: US pnp: PnP ACPI init ACPI: bus type pnp registered pnp: PnP ACPI: found 7 devices ACPI: ACPI bus type pnp unregistered PnPBIOS: Disabled Switched to high resolution mode on CPU 0 pci_bus 0000:00: resource 0 io: [0x00-0xffff] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff] NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 16384 (order: 5, 131072 bytes) TCP: Hash tables configured (established 16384 bind 16384) TCP reno registered NET: Registered protocol family 1 kvm: no hardware support has_svn: not amd kvm: no hardware support Machine check exception polling timer started. Scanning for low memory corruption every 60 seconds HugeTLB registered 4 MB page size, pre-allocated 0 pages VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) DLM (built Mar 30 2009 16:20:07) installed OCFS2 1.5.0 ocfs2: Registered cluster interface o2cb ocfs2: Registered cluster interface user OCFS2 Node Manager 1.5.0 OCFS2 DLM 1.5.0 OCFS2 DLMFS 1.5.0 OCFS2 User DLM kernel interface loaded msgmni has been set to 989 alg: No test for stdrng (krng) async_tx: api initialized (sync-only) io scheduler noop registered io scheduler cfq registered (default) pci 0000:00:00.0: Limiting direct PCI/PCI transfers pci 0000:00:01.0: PIIX3: Enabling Passive Release pci 0000:00:01.0: Activating ISA DMA hang workarounds pci 0000:00:02.0: Boot video device pci_hotplug: PCI Hot Plug PCI Core version: 0.5 ibmphpd: IBM Hot Plug PCI Controller Driver version: 0.6 pciehp: PCI Express Hot Plug Controller Driver version: 0.4 acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 acpiphp_glue: can't get bus number, assuming 0 decode_hpp: Could not get hotplug parameters. Use defaults acpiphp: Slot [1] registered acpiphp: Slot [2] registered acpiphp: Slot [3] registered acpiphp: Slot [4] registered acpiphp: Slot [5] registered acpiphp: Slot [6] registered acpiphp: Slot [7] registered acpiphp: Slot [8] registered acpiphp: Slot [9] registered acpiphp: Slot [10] registered acpiphp: Slot [11] registered acpiphp: Slot [12] registered acpiphp: Slot [13] registered acpiphp: Slot [14] registered acpiphp: Slot [15] registered acpiphp: Slot [16] registered acpiphp: Slot [17] registered acpiphp: Slot [18] registered acpiphp: Slot [19] registered acpiphp: Slot [20] registered acpiphp: Slot [21] registered acpiphp: Slot [22] registered acpiphp: Slot [23] registered acpiphp: Slot [24] registered acpiphp: Slot [25] registered acpiphp: Slot [26] registered acpiphp: Slot [27] registered acpiphp: Slot [28] registered acpiphp: Slot [29] registered acpiphp: Slot [30] registered acpiphp: Slot [31] registered acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 ACPI: Power Button (FF) [PWRF] processor ACPI_CPU:00: registered as cooling_device0 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Non-volatile memory driver v1.3 Linux agpgart interface v0.103 [drm] Initialized drm 1.1.0 20060810 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A parport_pc 00:05: reported by Plug and Play ACPI parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] FDC 0 is a S82078B loop: module loaded nbd: registered device at major 43 Intel(R) PRO/1000 Network Driver - version 7.3.21-k3-NAPI Copyright (c) 1999-2006 Intel Corporation. ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 e1000 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, high) -> IRQ 11 e1000: 0000:00:03.0: e1000_probe: (PCI:33MHz:32-bit) 52:54:00:12:34:56 e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.3-k6 e1000e: Copyright (c) 1999-2008 Intel Corporation. Atheros(R) L2 Ethernet Driver - version 2.2.3 Copyright (c) 2007 Atheros Corporation. jme: JMicron JMC250 gigabit ethernet driver version 1.0.3 NET3 PLIP version 2.4-parport gniibe@mri.co.jp plip0: Parallel port at 0x378, using IRQ 7. pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de e100: Intel(R) PRO/100 Network Driver, 3.5.23-k6-NAPI e100: Copyright(c) 1999-2006 Intel Corporation sky2 driver version 1.22 PPP generic driver version 2.4.2 PPP Deflate Compression module registered tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2k ipw2200: Copyright(c) 2003-2006 Intel Corporation ieee80211: 802.11 data/management/control stack, git-1.1.13 ieee80211: Copyright (C) 2004-2005 Intel Corporation Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ] Broadcom 43xx-legacy driver loaded [ Features: PLID, Firmware-ID: FW10 ] usbcore: registered new interface driver rtl8187 iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks iwlagn: Copyright(c) 2003-2008 Intel Corporation iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26ks iwl3945: Copyright(c) 2003-2008 Intel Corporation usbcore: registered new interface driver rt2500usb usbcore: registered new interface driver rt73usb ath9k: 0.1 Linux video capture interface: v2.00 saa7130/34: v4l2 driver version 0.2.14 loaded cx88/0: cx2388x v4l2 driver version 0.0.6 loaded cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded cx2388x alsa driver version 0.0.6 loaded cx88/2: cx2388x dvb driver version 0.0.6 loaded cx88/2: registering cx8802 driver, type: dvb access: shared cx23885 driver version 0.0.1 loaded saa7146: register extension 'budget dvb'. saa7146: register extension 'budget_av'. b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully Loading iSCSI transport class v2.0-870. iscsi: registered transport (tcp) Driver 'sd' needs updating - please use bus_type methods Driver 'sr' needs updating - please use bus_type methods ata_piix 0000:00:01.1: version 2.12 ata_piix 0000:00:01.1: setting latency timer to 64 scsi0 : ata_piix scsi1 : ata_piix ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14 ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15 ata2.01: NODEV after polling detection ata2.00: ATAPI: QEMU DVD-ROM, 0.10.0, max UDMA/100 ata2.00: configured for MWDMA2 scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM 0.10 PQ: 0 ANSI: 5 sr0: scsi3-mmc drive: 4x/4x xa/form2 tray Uniform CD-ROM driver Revision: 3.20 sr 1:0:0:0: Attached scsi CD-ROM sr0 sr 1:0:0:0: Attached scsi generic sg0 type 5 aoe: AoE v47 initialised. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver uhci_hcd: USB Universal Host Controller Interface driver ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10 uhci_hcd 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 10 (level, high) -> IRQ 10 uhci_hcd 0000:00:01.2: setting latency timer to 64 uhci_hcd 0000:00:01.2: UHCI Host Controller uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:01.2: irq 10, io base 0x0000c020 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver libusual usbcore: registered new interface driver usbserial usbserial: USB Serial Driver core USB Serial support registered for pl2303 usbcore: registered new interface driver pl2303 pl2303: Prolific PL2303 USB to serial adaptor driver PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1 input: PC Speaker as /devices/platform/pcspkr/input/input2 rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 rtc0: alarms up to one day, 114 bytes nvram piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0 input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3 md: linear personality registered for level -1 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 raid6: int32x1 303 MB/s raid6: int32x2 820 MB/s raid6: int32x4 663 MB/s raid6: int32x8 583 MB/s raid6: mmxx1 2299 MB/s raid6: mmxx2 2525 MB/s raid6: sse1x1 1648 MB/s raid6: sse1x2 2058 MB/s raid6: sse2x1 2722 MB/s raid6: sse2x2 3073 MB/s raid6: using algorithm sse2x2 (3073 MB/s) md: raid6 personality registered for level 6 md: raid5 personality registered for level 5 md: raid4 personality registered for level 4 device-mapper: uevent: version 1.0.3 device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com EDAC MC: Ver: 2.1.0 Mar 30 2009 cpuidle: using governor ladder cpuidle: using governor menu sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman ricoh-mmc: Ricoh MMC Controller disabling driver ricoh-mmc: Copyright(c) Philip Langdale wbsd: Winbond W83L51xD SD/MMC card interface driver wbsd: Copyright(c) Pierre Ossman No iBFT detected. usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10 virtio-pci 0000:00:05.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, high) -> IRQ 10 Advanced Linux Sound Architecture Driver Version 1.0.18a. sgalaxy: specify SB port isa ad1848.0: please specify port Intel ICH 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI 10 (level, high) -> IRQ 10 Intel ICH 0000:00:04.0: setting latency timer to 64 Control name 'Sigmatel Surround Phase Inversion Playback Switch' truncated to 'Sigmatel Surround Phase Inversion Playback ' intel8x0_measure_ac97_clock: measured 59909 usecs intel8x0: measured clock 109299 rejected intel8x0: clocking to 48000 ALSA device list: #0: Intel 82801AA-ICH with STAC9700,83,84 at irq 10 TCP cubic registered NET: Registered protocol family 10 NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. 802.1Q VLAN Support v1.8 Ben Greear All bugs added by David S. Miller SCTP: Hash tables configured (established 16384 bind 16384) lib80211: common routines for IEEE802.11 drivers lib80211_crypt: registered algorithm 'NULL' lib80211_crypt: registered algorithm 'WEP' lib80211_crypt: registered algorithm 'CCMP' lib80211_crypt: registered algorithm 'TKIP' Using IPI No-Shortcut mode saa7134 ALSA driver for DMA sound loaded saa7134 ALSA: no saa7134 cards found rtc_cmos 00:01: setting system clock to 2009-03-30 16:56:18 UTC (1238432178) BIOS EDD facility v0.16 2004-Jun-25, 0 devices found EDD information not available. Freeing unused kernel memory: 1312k freed >> I read the commit to qemu to add support for -acpitable (SVN 6650), but >> I don't know enough about qemu/pc-bios/programming to get any clue out >> of this. >> >> Thanks for your time! Your doing great work! >> >> >> $ hexdump -C SLIC.aml >> 00000000 53 4c 49 43 76 01 00 00 01 0a 48 50 51 4f 45 4d >> |SLICv.....HPQOEM| >> 00000010 53 4c 49 43 2d 4d 50 43 00 00 04 06 48 50 51 20 >> |SLIC-MPC....HPQ | >> 00000020 01 00 00 00 00 00 00 00 9c 00 00 00 06 02 00 00 >> |................| >> 00000030 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 >> |.$..RSA1........| >> 00000040 5b ab 60 56 bc 58 1e e8 c1 d2 a1 5c e5 4f bb fd >> |[.`V.X.....\.O..| >> 00000050 1d a9 8c 94 b4 ae 08 11 dc 13 59 d3 7f f6 3e 87 >> |..........Y...>.| >> 00000060 31 b9 95 74 10 da 3b a4 5b b5 19 82 7c 39 d7 0d >> |1..t..;.[...|9..| >> 00000070 7c 22 ac 1c 2a 84 e9 0a 88 6d fa b1 e2 d8 e8 21 >> ||"..*....m.....!| >> 00000080 96 e1 2e 68 9a bf 44 45 3e 3c 8e 99 90 de 37 38 >> |...h..DE><....78| >> 00000090 57 0b 92 15 bc de ff f2 07 7e b5 40 8c 51 3a c3 >> |W........~.@.Q:.| >> 000000a0 02 48 f6 13 12 72 fb 42 78 e6 47 88 54 c7 b0 f0 >> |.H...r.Bx.G.T...| >> 000000b0 93 9e fb 04 b7 b8 b8 90 de db ed 32 e1 fb 54 a6 >> |...........2..T.| >> 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> |................| >> * >> 00000170 00 00 00 00 00 00 |......| >> >> $ hexdump -C SLIC.bin >> 00000000 53 4c 49 43 76 01 00 00 01 47 4c 45 4e 4f 56 4f >> |SLICv....GLENOVO| >> 00000010 54 43 2d 32 50 20 20 20 00 00 00 00 20 4c 54 50 |TC-2P >> .... LTP| >> 00000020 00 00 00 00 00 00 00 00 9c 00 00 00 06 02 00 00 >> |................| >> 00000030 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 >> |.$..RSA1........| >> 00000040 69 16 4a 9f b1 4b 3a fb 80 20 aa af c4 f9 3e c1 |i.J..K:.. >> ....>.| >> 00000050 80 49 ee 6a 65 26 72 1e cd bf 5f 2f 96 d6 c0 0a >> |.I.je&r..._/....| >> 00000060 92 f5 06 b5 00 b2 3b 29 02 e2 4c 8d c2 f2 bc 41 >> |......;)..L....A| >> 00000070 77 9c 70 f0 f3 1b 09 d2 63 5a dc a8 83 f8 5e c9 >> |w.p.....cZ....^.| >> 00000080 15 95 f9 fa fd dc 05 b7 4d 67 7f 2d b3 84 33 20 >> |........Mg.-..3 | >> 00000090 e1 d1 79 2a a7 6a 77 d1 b6 20 2a 76 42 c5 d5 e9 |..y*.jw.. >> *vB...| >> 000000a0 b6 43 40 55 44 c3 c9 37 99 5f 41 97 70 f3 d1 f6 >> |.C@UD..7._A.p...| >> 000000b0 07 ec 7b 1a 29 a1 c1 f1 91 fd 48 86 6e 3e ce cb >> |..{.).....H.n>..| >> 000000c0 01 00 00 00 b6 00 00 00 00 00 02 00 4c 45 4e 4f >> |............LENO| >> 000000d0 56 4f 54 43 2d 32 50 20 20 20 57 49 4e 44 4f 57 |VOTC-2P >> WINDOW| >> 000000e0 53 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |S >> ..............| >> 000000f0 00 00 00 00 00 00 01 9a 77 4b aa 9b 50 7b 29 09 >> |........wK..P{).| >> 00000100 bb cd 70 71 1c b3 fd 90 a6 90 e1 af 8b 2a d5 70 >> |..pq.........*.p| >> 00000110 0f b1 41 cc 00 ee 58 ec 32 46 35 02 b1 b9 be bb >> |..A...X.2F5.....| >> 00000120 ce 71 eb 21 47 f2 a6 af f1 22 77 b9 dc 38 ae c4 >> |.q.!G...."w..8..| >> 00000130 aa 97 6f cb ec 70 6f d0 ed f1 42 d4 95 b9 0e f7 >> |..o..po...B.....| >> 00000140 67 ac 64 95 09 a6 d8 a0 51 54 3c 41 f4 b9 7e ef >> |g.d.....QT> 00000150 88 98 bc 9c f6 4e cf 96 23 44 35 4d 83 04 4c f2 >> |.....N..#D5M..L.| >> 00000160 83 6f 61 b0 b6 b0 d5 a8 b9 af 41 4e 25 42 e1 9a >> |.oa.......AN%B..| >> 00000170 79 82 31 00 88 18 |y.1...| >> >> >> > > -- > Gleb. > >