Showing posts with label acpi. Show all posts
Showing posts with label acpi. Show all posts

2011-06-15

Slitaz -- intel / i915




Ref: http://alanyih.blogspot.com/2011/03/slitaz-make-xconfig-qt4-support.html

1.
tux@slitaz:~$ tazpkg info linux-slitaz

Tazpkg information
================================================================================
Package    : linux-slitaz
Version    : 2.6.37
Category   : base-system
Short desc : Customized Linux Kernel
Maintainer : 
Depends    : depmod
Web site   : http://www.kernel.org
================================================================================

tux@slitaz:~$ tazpkg info xorg-xf86-video-intel

Tazpkg information
================================================================================
Package    : xorg-xf86-video-intel
Version    : 2.15.0
Category   : x-window
Short desc : Xorg server Intel driver.
Maintainer : pankso@slitaz.org
Depends    : xorg-server xorg-libXvMC mesa-dri-intel xcb-util
Build deps : xorg-server-dev xorg-libXvMC-dev xcb-util-dev
Web site   : http://www.x.org/
================================================================================

2.
tux@slitaz:~$ zcat /proc/config.gz | grep ACPI
# Power management and ACPI options
# CONFIG_ACPI is not set
# CONFIG_PNPACPI is not set

tux@slitaz:~$ zcat /proc/config.gz | grep -i i915
CONFIG_DRM_I915=m
CONFIG_DRM_I915_KMS=y

tux@slitaz:~$ zcat /proc/config.gz | grep [34]86
# Linux/i386 2.6.37 Kernel Configuration
CONFIG_OUTPUT_FORMAT="elf32-i386"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
CONFIG_M386=y
# CONFIG_M486 is not set
CONFIG_LP486E=m

3.
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #5 SMP Wed Jun 15 00:06:36 UTC 2011 i686 GNU/Linux

4.
tux@slitaz:~$ lsmod | tail -8
i915                  249930  2 
drm_kms_helper         18798  1 i915
drm                   111976  3 i915,drm_kms_helper
i2c_algo_bit            3479  1 i915
i2c_core               12176  4 i915,drm_kms_helper,drm,i2c_algo_bit
intel_agp               7908  1 i915
intel_gtt               9214  3 i915,intel_agp
agpgart                18221  3 drm,intel_agp,intel_gtt

tux@slitaz:~$ modinfo i915
filename:       /lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.gz
description:    Intel Graphics
author:         Tungsten Graphics, Inc.
license:        GPL and additional rights
license:        GPL and additional rights
vermagic:       2.6.37-slitaz SMP mod_unload 386 

tux@slitaz:~$ ls -lh  /lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.gz
-rw-r--r--    1 root     root      104.2K Jun 15 05:49 /lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.gz

5.
tux@slitaz:~$ lspci -v | head -18
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
        Subsystem: NEC Corporation Device 88f7
        Flags: bus master, fast devsel, latency 0
        Capabilities: 
        Kernel driver in use: agpgart-intel
        Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: NEC Corporation Device 88f4
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fe400000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at ec00 [size=8]
        Expansion ROM at  [disabled]
        Capabilities: 
        Kernel driver in use: i915
        Kernel modules: i915

6.
tux@slitaz:~$ cat /proc/cmdline 
root=/dev/null autologin enable_mtrr_cleanup mtrr_spare_reg_nr=1

7.
tux@slitaz:~$ dmesg | tail -28 | head -13
Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel G45/G43 Chipset
agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
agpgart-intel 0000:00:00.0: detected 32768K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
Console: switching to colour frame buffer device 210x65
fb0: inteldrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0

8.
tux@slitaz:~$ tazpkg list-files xorg-xf86-video-intel

Installed files with: xorg-xf86-video-intel
================================================================================
/usr/lib/libI810XvMC.so
/usr/lib/libI810XvMC.so.1
/usr/lib/libI810XvMC.so.1.0.0
/usr/lib/libIntelXvMC.so
/usr/lib/libIntelXvMC.so.1
/usr/lib/libIntelXvMC.so.1.0.0
/usr/lib/X11/modules/drivers/intel_drv.so
================================================================================
7 files installed with xorg-xf86-video-intel.

tux@slitaz:~$ cat /var/log/Xorg.0.log | head -126 | tail -13
[  1482.367] (II) LoadModule: "intel"
[  1482.367] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so
[  1482.367] (II) Module intel: vendor="X.Org Foundation"
[  1482.367]    compiled for 1.9.4, module version = 2.15.0
[  1482.367]    Module class: X.Org Video Driver
[  1482.367]    ABI class: X.Org Video Driver, version 8.0
[  1482.367] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
        Sandybridge, Sandybridge

9.
tux@slitaz:~$ cat /etc/X11/xorg.conf.d/60-Device.conf | grep Driver  
        ### Available Driver options are:-
        Driver      "intel"

tux@slitaz:~$ cat /etc/X11/xorg.conf.d/70-Screen.conf 
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1280x1024" "1024x768" 
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes   "1280x1024" "1024x768" 
        EndSubSection
EndSection

10.
tux@slitaz:~$ cat /var/log/tazpkg.log | cut -d ' ' -f 6-7
linux-slitaz (2.6.37)
xorg-server (1.9.5)
xorg-libXv (1.0.6)
xorg-libXvMC (1.0.6)
mesa (7.10.2)
mesa-dri (7.10.2)
libdrm-intel (2.4.25)
mesa-dri-intel (7.10.2)
xorg-xf86-video-intel (2.15.0)
libglu-mesa (7.10.2) 
glew (1.5.8) 
mesa-demos (8.0.1) 

11.
tux@slitaz:~$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) G45/G43  

2011-02-28

ACPI - DSDT

Extract from

在霧裡欣賞 BIOS 裡的 ACPI Description Table
http://fred-zone.blogspot.com/2008/10/bios-acpi-description-table.html

[..]
這意味著,ACPI 會依照不同作業系統而有不同的行為,可能有些功能在 Linux 下就會被關掉,亦或是因為會對記憶體位址做特殊存取,雖不會造成 Windows 任何影響,但卻可能剛好破壞掉 Linux Kernel 的運作,導致 boot/reboot 或 S3/S4 時會 hangs 或 crash。有時候缺少正確的 Return 值,也會造成 S3/S4 resume 的失敗。以下就是一個實際缺少 Return 導致 resume 不正常的例子,但我自行修正並補上正確的回傳值:

Method (_WAK, 1, NotSerialized)
{
...
...
Return(Package(0x02){0x00, 0x00})
}



如此遺漏而產生出來的 ACPI bugs 有非常多,在此也不便一一列舉,日後有時間再慢慢彙出來。不過,既然我們已經得到 DSDT,意味著只要有心,都可在此改寫並修正一些 ACPI 的問題。雖然我們並不能將修正過後的 DSDT 寫回 BIOS,但 Linux Kernel 編譯時若有開啟『CONFIG_ACPI_CUSTOM_DSDT』,就可以使用自定的 DSDT 取代原本機器上的 table,只要將檔案放到 /boot 下即可(在 Debian Lenny/Sid 上的 Kernel 似乎沒有開啟這項功能)。

將改好的 dsdt.dsl 重新 compile:

iasl -tc dsdt.dsl



此外若你是在 Ubuntu 下,請直接將編譯好的 dsdt.aml 放到 /etc/initramfs-tools 之下,再 update initrd:

sudo update-initramfs -c -k all



然後重開機後,便可使用自訂的 DSDT 來控制 ACPI 的行為。

[..]

2010-03-09

Slitaz -- iasl / acpi=ht / early_ioremap_debug -8


tux@slitaz:~$ cat /proc/cmdline
root=/dev/sda1 acpi=ht early_ioremap_debug
tux@slitaz:~$ cat /var/log/dmesg.log
map+0x61/0x15b
[] early_ioremap+0xd/0xf
[] __acpi_map_table+0x14/0x16
[] acpi_os_map_memory+0x18/0x1a
[] acpi_tb_verify_table+0x20/0x49
[] acpi_get_table_with_size+0x53/0xa1
[] ? acpi_parse_mcfg+0x0/0xfa
[] ? generic_swap+0x0/0x27
[] acpi_table_parse+0x4a/0x6f
[] __pci_mmcfg_init+0x157/0x2e3
[] ? dmi_get_year+0x30/0x4e
[] ? pci_sanity_check+0x25/0x95
[] ? pci_arch_init+0x0/0x53
[] pci_mmcfg_early_init+0xd/0xf
[] pci_arch_init+0x19/0x53
[] do_one_initcall+0x4c/0x13a
[] kernel_init+0x106/0x157
[] ? kernel_init+0x0/0x157
[] kernel_thread_helper+0x7/0x10
00000400 + ffe00000
early_iounmap(ffe00400, 0000003c) [0]
Pid: 1, comm: swapper Not tainted 2.6.30.6-slitaz #1
Call Trace:
[] ? printk+0xf/0x11
[] early_iounmap+0x81/0x119
[] ? acpi_parse_mcfg+0x0/0xfa
[] ? generic_swap+0x0/0x27
[] __acpi_unmap_table+0x10/0x12
[] early_acpi_os_unmap_memory+0x11/0x13
[] acpi_table_parse+0x66/0x6f
[] __pci_mmcfg_init+0x157/0x2e3
[] ? dmi_get_year+0x30/0x4e
[] ? pci_sanity_check+0x25/0x95
[] ? pci_arch_init+0x0/0x53
[] pci_mmcfg_early_init+0xd/0xf
[] pci_arch_init+0x19/0x53
[] do_one_initcall+0x4c/0x13a
[] kernel_init+0x106/0x157
[] ? kernel_init+0x0/0x157
[] kernel_thread_helper+0x7/0x10
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
PCI: Not using MMCONFIG.
PCI: Using configuration type 1 for base access
bio: create slab at 0
ACPI: Interpreter disabled.
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
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
pci 0000:00:02.0: reg 10 64bit mmio: [0xfe400000-0xfe7fffff]
pci 0000:00:02.0: reg 18 64bit mmio: [0xd0000000-0xdfffffff]
pci 0000:00:02.0: reg 20 io port: [0xec00-0xec07]
pci 0000:00:1a.0: reg 20 io port: [0xe880-0xe89f]
pci 0000:00:1a.7: reg 10 32bit mmio: [0xfeafa000-0xfeafa3ff]
pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1a.7: PME# disabled
pci 0000:00:1b.0: reg 10 64bit mmio: [0xfeaf4000-0xfeaf7fff]
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.1: PME# disabled
pci 0000:00:1d.0: reg 20 io port: [0xe800-0xe81f]
pci 0000:00:1d.1: reg 20 io port: [0xe480-0xe49f]
pci 0000:00:1d.2: reg 20 io port: [0xe400-0xe41f]
pci 0000:00:1d.3: reg 20 io port: [0xe080-0xe09f]
pci 0000:00:1d.7: reg 10 32bit mmio: [0xfeaf8000-0xfeaf83ff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.2: reg 10 io port: [0xe000-0xe007]
pci 0000:00:1f.2: reg 14 io port: [0xdc00-0xdc03]
pci 0000:00:1f.2: reg 18 io port: [0xd880-0xd887]
pci 0000:00:1f.2: reg 1c io port: [0xd800-0xd803]
pci 0000:00:1f.2: reg 20 io port: [0xd480-0xd48f]
pci 0000:00:1f.2: reg 24 io port: [0xd400-0xd40f]
pci 0000:00:1f.3: reg 10 64bit mmio: [0xfeaf2000-0xfeaf20ff]
pci 0000:00:1f.3: reg 20 io port: [0x400-0x41f]
pci 0000:02:00.0: reg 10 64bit mmio: [0xfebf0000-0xfebfffff]
pci 0000:02:00.0: PME# supported from D3hot D3cold
pci 0000:02:00.0: PME# disabled
pci 0000:00:1c.1: bridge 32bit mmio: [0xfeb00000-0xfebfffff]
pci 0000:00:1e.0: transparent bridge
pci 0000:00:1f.0: PIIX/ICH IRQ router [8086:3a18]
pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 16
pci 0000:00:1a.0: PCI->APIC IRQ transform: INT A -> IRQ 16
pci 0000:00:1a.7: PCI->APIC IRQ transform: INT C -> IRQ 18
pci 0000:00:1b.0: PCI->APIC IRQ transform: INT A -> IRQ 22
pci 0000:00:1c.0: PCI->APIC IRQ transform: INT A -> IRQ 17
pci 0000:00:1c.1: PCI->APIC IRQ transform: INT B -> IRQ 16
pci 0000:00:1d.0: PCI->APIC IRQ transform: INT A -> IRQ 23
pci 0000:00:1d.1: PCI->APIC IRQ transform: INT B -> IRQ 19
pci 0000:00:1d.2: PCI->APIC IRQ transform: INT C -> IRQ 18
pci 0000:00:1d.3: PCI->APIC IRQ transform: INT D -> IRQ 16
pci 0000:00:1d.7: PCI->APIC IRQ transform: INT A -> IRQ 23
pci 0000:00:1f.2: PCI->APIC IRQ transform: INT B -> IRQ 19
pci 0000:00:1f.3: PCI->APIC IRQ transform: INT C -> IRQ 18
pci 0000:02:00.0: PCI->APIC IRQ transform: INT A -> IRQ 17
pnp: PnP ACPI: disabled
pci 0000:00:1c.0: PCI bridge, secondary bus 0000:01
pci 0000:00:1c.0: IO window: disabled
pci 0000:00:1c.0: MEM window: disabled
pci 0000:00:1c.0: PREFETCH window: disabled
pci 0000:00:1c.1: PCI bridge, secondary bus 0000:02
pci 0000:00:1c.1: IO window: disabled
pci 0000:00:1c.1: MEM window: 0xfeb00000-0xfebfffff
pci 0000:00:1c.1: PREFETCH window: disabled
pci 0000:00:1e.0: PCI bridge, secondary bus 0000:03
pci 0000:00:1e.0: IO window: disabled
pci 0000:00:1e.0: MEM window: disabled
pci 0000:00:1e.0: PREFETCH window: disabled
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1c.1: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
pci_bus 0000:00: resource 0 io: [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
pci_bus 0000:02: resource 1 mem: [0xfeb00000-0xfebfffff]
pci_bus 0000:03: resource 3 io: [0x00-0xffff]
pci_bus 0000:03: resource 4 mem: [0x000000-0xffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
highmem bounce pool size: 64 pages
fuse init (API version 7.11)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1731
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
pci 0000:00:02.0: Boot video device
Switched to NOHz mode on CPU #1
Switched to NOHz mode on CPU #0
pci 0000:00:1d.7: EHCI: BIOS handoff failed (BIOS bug?) 01010001
pcieport-driver 0000:00:1c.0: setting latency timer to 64
pcieport-driver 0000:00:1c.1: setting latency timer to 64
early_ioremap(7dd90390, 0000006c) [0] => Pid: 1, comm: swapper Not tainted 2.6.3 .6-slitaz #1
Call Trace:
[] ? printk+0xf/0x11
[] __early_ioremap+0x61/0x15b
[] ? kobject_put+0x37/0x3c
[] early_ioremap+0xd/0xf
[] __acpi_map_table+0x14/0x16
[] acpi_os_map_memory+0x18/0x1a
[] acpi_tb_verify_table+0x20/0x49
[] acpi_get_table_with_size+0x53/0xa1
[] acpi_get_table+0x10/0x15
[] acpi_processor_init+0x26/0xe3
[] ? acpi_processor_init+0x0/0xe3
[] do_one_initcall+0x4c/0x13a
[] kernel_init+0x106/0x157
[] ? kernel_init+0x0/0x157
[] kernel_thread_helper+0x7/0x10
00000390 + ffe00000
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Non-volatile memory driver v1.3
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legac ISA IDE ports
Probing IDE interface ide0...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
ide1 at 0x170-0x177,0x376 on irq 15
ide-gd driver 1.18
ide-cd driver 5.00
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
ata_piix 0000:00:1f.2: version 2.13
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ata_piix 0000:00:1f.2: setting latency timer to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0xe000 ctl 0xdc00 bmdma 0xd480 irq 19
ata2: SATA max UDMA/133 cmd 0xd880 ctl 0xd800 bmdma 0xd488 irq 19
e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.4-k4
e1000e: Copyright (c) 1999-2008 Intel Corporation.
pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
ThunderLAN driver v1.15a
TLAN: 0 devices installed, PCI: 0 EISA: 0
ns83820.c: National Semiconductor DP83820 10/100/1000 driver.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
winbond-840.c:v1.01-e (2.4 port) Sep-11-2006 Donald Becker
http://www.scyld.com/network/drivers.html
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1a.7: setting latency timer to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported
ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfeafa000
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfeaf8000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 8 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:1a.0: setting latency timer to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000e880
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000e800
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000e480
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000e400
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.3: setting latency timer to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000e080
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: No PS/2 controller found. Probing ports directly.
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: PC Speaker as /devices/platform/pcspkr/input/input0
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Using IPI No-Shortcut mode
------------[ cut here ]------------
WARNING: at arch/x86/mm/ioremap.c:603 check_early_ioremap_leak+0x48/0x5c()
Hardware name: ValueStar
Debug warning: early ioremap leak of 1 areas detected.
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.30.6-slitaz #1
Call Trace:
[] warn_slowpath_common+0x65/0x7c
[] ? check_early_ioremap_leak+0x48/0x5c
[] ? check_early_ioremap_leak+0x0/0x5c
[] warn_slowpath_fmt+0x24/0x27
[] check_early_ioremap_leak+0x48/0x5c
[] do_one_initcall+0x4c/0x13a
[] kernel_init+0x106/0x157
[] ? kernel_init+0x0/0x157
[] kernel_thread_helper+0x7/0x10
---[ end trace 426f01cc83ab8016 ]---
please boot with early_ioremap_debug and report the dmesg.
usb 4-1: new low speed USB device using uhci_hcd and address 2
usb 4-1: configuration #1 chosen from 1 choice
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1:1. /input/input1
logitech 0003:046D:C517.0001: input: USB HID v1.10 Keyboard [Logitech USB Receiv r] on usb-0000:00:1d.0-1/input0
logitech 0003:046D:C517.0002: fixing up Logitech keyboard report descriptor
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1:1. /input/input2
logitech 0003:046D:C517.0002: input,hiddev96: USB HID v1.10 Mouse [Logitech USB eceiver] on usb-0000:00:1d.0-1/input1
ata1.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.01: SATA link down (SStatus 0 SControl 300)
ata1.00: ATA-7: ST3320620AS, 3.AAK, max UDMA/133
ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA ST3320620AS 3.AA PQ: 0 ANSI: 5
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors: (320 GB/298 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3 < sda5 sda6 > sda4
sd 0:0:0:0: [sda] Attached SCSI disk
ata2.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.01: SATA link down (SStatus 0 SControl 300)
ata2.00: ATAPI: ATAPI iHAS324 Y, BL1X, max UDMA/100
ata2.00: configured for UDMA/100
scsi 1:0:0:0: CD-ROM ATAPI iHAS324 Y BL1X PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda 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 sg1 type 5
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with writeback data mode.
VFS: Mounted root (ext3 filesystem) readonly on device 8:1.
Freeing unused kernel memory: 328k freed
EXT3 FS on sda1, internal journal
tux@slitaz:~$

Slitaz -- iasl / acpi=ht -7


root=/dev/sda1 acpi=ht
please boot with early_ioremap_debug and report the dmesg.

/usr/src/linux-2.6.30.6-slitaz/arch/x86/mm/ioremap.c

[..]line#590
static int __init check_early_ioremap_leak(void)
{
int count = 0;
int i;

for (i = 0; i < FIX_BTMAPS_SLOTS; i++)
if (prev_map[i])
count++;

if (!count) return 0;
WARN(1, KERN_WARNING
"Debug warning: early ioremap leak of %d areas detected.\n",
count);
printk(KERN_WARNING
"please boot with early_ioremap_debug and report the dmesg.\n");

return 1;
}
late_initcall(check_early_ioremap_leak);
[..]


Extract From

http://ericxiao.cublog.cn/
linux引導分析
http://blog.chinaunix.net/u1/51562/showart_1018436.html

[.. #512]
Setup_arch() --à early_ioremap_init()代碼如下:

void __init early_ioremap_init(void)
{
pmd_t *pmd;

if (early_ioremap_debug)

printk(KERN_INFO "early_ioremap_init()\n");


pmd = early_ioremap_pmd(fix_to_virt(FIX_BTMAP_BEGIN));

/*在這裡會將FIX_BTMAP_BEGIN 段的頁面表固定使用bm_pte*/
memset(bm_pte, 0, sizeof(bm_pte));

pmd_populate_kernel(&init_mm, pmd, bm_pte);

/*

* The boot-ioremap range spans multiple pmds, for which
* we are not prepared:
*/

if (pmd != early_ioremap_pmd(fix_to_virt(FIX_BTMAP_END))) {
WARN_ON(1);

printk(KERN_WARNING "pmd %p != %p\n",

pmd, early_ioremap_pmd(fix_to_virt(FIX_BTMAP_END)));

printk(KERN_WARNING "fix_to_virt(FIX_BTMAP_BEGIN): %08lx\n",
fix_to_virt(FIX_BTMAP_BEGIN));

printk(KERN_WARNING "fix_to_virt(FIX_BTMAP_END): %08lx\n",
fix_to_virt(FIX_BTMAP_END));


printk(KERN_WARNING "FIX_BTMAP_END: %d\n", FIX_BTMAP_END);

printk(KERN_WARNING "FIX_BTMAP_BEGIN: %d\n",
FIX_BTMAP_BEGIN);
}
}
上面的這段代碼,使FIX_BTMAP_BEGIN為起始地址對應的一個PMD對應映射的地址區間.即固定映射到bm_pte.
細心的讀者可以發現了.從FIX_BTMAP_BEGIN開始的一個PMD映射區間對應就是永久內存映射的線性地址段.沒錯,就是它.
一般說來,永久內存映射地址段只在一個PMD範圍內.若有超出一個PMD.則打印出警告信息.
[..]

Slitaz -- iasl / acpi -6





dmidecode VS amideco

tux@slitaz:~/temp$ sudo flashrom -r ms7428vh.bin
flashrom v0.9.1-r873
No coreboot table found.
Found chipset "Intel ICH10", enabling flash write... OK.
This chipset supports the following protocols: FWH,SPI.
Calibrating delay loop... OK.
Found chip "Winbond W25x80" (1024 KB, SPI) at physical address 0xfff00000.
===
This flash part has status UNTESTED for operations: ERASE
Please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash part. Please include the flashrom
output with the additional -V option for all operations you tested (-V, -rV,
-wV, -EV), and mention which mainboard or programmer you tested. Thanks for your help!
===
Reading flash... done.
tux@slitaz:~/temp$ sudo amideco ms7428vh.bin -d -x

-=AmiBIOSDeco, version 0.31e (Linux)=-

FileLength : 100000 (1048576 bytes)
FileName : ms7428vh.bin

AMIBIOS information:
Version : 0800
Packed Data : 50000 (327680 bytes)
Start : A0014
Packed Offset : A0014
Offset : 0
Released : 17 November 2008
DirName : ms7428vh.---
Operation mkdir() is permitted
+------------------------------------------------------------------------------+
| Class.Instance (Name) Packed ---> Expanded Compression Offset |
+------------------------------------------------------------------------------+
WARNING: Ignoring unknown compression flag (0x90) for part id 11

Total Sections : 19
tux@slitaz:~/temp$ ls -l ms7428vh.---/
-rw-r--r-- 1 root root 35375 Mar 9 20:09 amibody.04
-rw-r--r-- 1 root root 2560 Mar 9 20:09 amibody.06
-rw-r--r-- 1 root root 2096 Mar 9 20:09 amibody.08
-rw-r--r-- 1 root root 8 Mar 9 20:09 amibody.0c
-rw-r--r-- 1 root root 25363 Mar 9 20:09 amibody.0e
-rw-r--r-- 1 root root 24106 Mar 9 20:09 amibody.10
-rw-r--r-- 1 root root 65535 Mar 9 20:09 amibody.11
-rw-r--r-- 1 root root 16965 Mar 9 20:09 amibody.18
-rw-r--r-- 1 root root 4868 Mar 9 20:09 amibody.19
-rw-r--r-- 1 root root 9890 Mar 9 20:09 amibody.1a
-rw-r--r-- 1 root root 413787 Mar 9 20:09 amibody.1b
-rw-r--r-- 1 root root 25471 Mar 9 20:09 amibody.21
-rw-r--r-- 1 root root 1360 Mar 9 20:09 amibody.2b
-rw-r--r-- 1 root root 104 Mar 9 20:09 amibody.80
-rw-r--r-- 1 root root 340 Mar 9 20:09 amibody.f0
-rw-r--r-- 1 root root 0 Mar 9 20:09 amipci_00.20
-rw-r--r-- 1 root root 65024 Mar 9 20:09 amipci_01.20
-rw-r--r-- 1 root root 56832 Mar 9 20:09 amipci_02.20
-rw-r--r-- 1 root root 65536 Mar 9 20:09 amipci_03.20
tux@slitaz:~/temp$ hexdump -C ms7428vh.---/amibody.06
00000000 5f 41 4d 49 44 4d 49 5f 03 02 01 01 00 b6 06 00 |_AMIDMI_........|
00000010 00 18 00 00 01 02 00 f0 03 0f 90 de 29 4d 00 00 |............)M..|
00000020 00 00 03 07 01 01 ff ff 4e 45 43 00 30 30 30 31 |........NEC.0001|
00000030 2f 34 36 36 41 30 30 30 32 00 31 31 2f 31 37 2f |/466A0002.11/17/|
00000040 32 30 30 38 00 00 01 1b 01 00 01 02 03 04 ff ff |2008............|
00000050 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 06 05 |................|
00000060 06 4e 45 43 00 56 61 6c 75 65 53 74 61 72 00 20 |.NEC.ValueStar. |
00000070 20 00 31 32 33 34 35 36 37 38 39 00 20 00 20 00 | .123456789. . .|
00000080 00 02 0f 02 00 01 02 03 04 05 09 06 03 00 0a 00 |................|
00000090 4e 45 43 00 4d 53 2d 37 34 32 38 56 48 00 56 48 |NEC.MS-7428VH.VH|
000000a0 00 20 00 20 00 20 00 00 03 15 03 00 01 0f 02 03 |. . . ..........|
000000b0 04 03 03 03 03 00 00 00 00 00 01 00 00 4e 45 43 |.............NEC|
000000c0 00 20 00 20 00 20 00 00 04 28 04 00 01 03 01 02 |. . . ...(......|
000000d0 00 00 00 00 00 00 00 00 03 8d 00 00 d0 07 00 00 |................|
000000e0 00 04 05 00 06 00 ff ff 04 05 06 00 00 00 00 00 |................|
000000f0 53 4f 43 4b 45 54 37 37 35 20 4d 2f 42 00 20 20 |SOCKET775 M/B. |
00000100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00 | .|
00000110 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
*
00000140 20 20 20 20 00 20 00 20 00 20 00 00 07 13 05 00 | . . . ......|
00000150 01 80 01 00 00 00 00 01 00 01 00 00 03 01 07 49 |...............I|
00000160 6e 74 65 72 6e 61 6c 00 00 07 13 06 00 01 81 01 |nternal.........|
00000170 00 00 00 00 01 00 01 00 00 05 05 07 49 6e 74 65 |............Inte|
00000180 72 6e 61 6c 00 00 05 18 07 00 03 04 03 03 0a 01 |rnal............|
00000190 00 00 05 02 04 08 00 09 00 0a 00 0b 00 04 00 00 |................|
000001a0 06 0c 08 00 01 01 3c 00 05 1d 1d 00 44 49 4d 4d |......<.....DIMM|
000001b0 31 20 4d 2f 42 00 00 06 0c 09 00 01 23 3c 00 05 |1 M/B.......#<..|
000001c0 1d 1d 00 44 49 4d 4d 32 20 4d 2f 42 00 00 06 0c |...DIMM2 M/B....|
000001d0 0a 00 01 45 3c 00 05 1d 1d 00 44 49 4d 4d 33 20 |...E<.....DIMM3 |
000001e0 4d 2f 42 00 00 06 0c 0b 00 01 67 3c 00 05 1d 1d |M/B.......g<....|
000001f0 00 44 49 4d 4d 34 20 4d 2f 42 00 00 08 09 0c 00 |.DIMM4 M/B......|
00000200 01 00 02 0f 0d 20 00 4b 65 79 62 6f 61 72 64 20 |..... .Keyboard |
00000210 00 00 08 09 0d 00 01 00 02 1f 1d 20 00 4d 69 63 |........... .Mic|
00000220 20 49 6e 20 00 00 08 09 0e 00 01 00 02 1f 1d 20 | In ........... |
00000230 00 4c 69 6e 65 20 49 6e 20 00 00 08 09 0f 00 01 |.Line In .......|
00000240 00 02 1f 1d 20 00 4c 69 6e 65 20 4f 75 74 20 00 |.... .Line Out .|
00000250 00 08 09 10 00 01 00 02 0b 1f 20 00 4e 65 74 77 |.......... .Netw|
00000260 6f 72 6b 20 00 00 08 09 11 00 01 00 02 12 10 20 |ork ........... |
00000270 00 50 6f 72 74 20 31 20 00 00 08 09 12 00 01 00 |.Port 1 ........|
00000280 02 12 10 20 00 50 6f 72 74 20 30 20 00 00 08 09 |... .Port 0 ....|
00000290 13 00 01 00 02 12 10 20 00 50 6f 72 74 20 32 20 |....... .Port 2 |
000002a0 00 00 08 09 14 00 01 00 02 12 10 20 00 50 6f 72 |........... .Por|
000002b0 74 20 33 20 00 00 08 09 15 00 01 00 02 12 10 20 |t 3 ........... |
000002c0 00 50 6f 72 74 20 34 20 00 00 08 09 16 00 01 00 |.Port 4 ........|
000002d0 02 12 10 20 00 50 6f 72 74 20 35 20 00 00 08 09 |... .Port 5 ....|
000002e0 17 00 01 ff 02 12 10 4a 55 53 42 31 20 4d 2f 42 |.......JUSB1 M/B|
000002f0 20 00 50 6f 72 74 20 31 31 20 00 00 08 09 18 00 | .Port 11 ......|
00000300 01 ff 02 12 10 4a 55 53 42 31 20 4d 2f 42 20 00 |.....JUSB1 M/B .|
00000310 50 6f 72 74 20 31 30 20 00 00 08 09 19 00 01 ff |Port 10 ........|
00000320 02 00 00 4a 55 53 42 32 20 4d 2f 42 20 00 50 6f |...JUSB2 M/B .Po|
00000330 72 74 20 39 20 00 00 08 09 1a 00 01 00 02 07 1c |rt 9 ...........|
00000340 20 00 4d 6f 6e 69 74 6f 72 20 00 00 08 09 1b 00 | .Monitor ......|
00000350 01 ff 02 00 ff 53 41 54 41 31 20 4d 2f 42 20 00 |.....SATA1 M/B .|
00000360 20 00 00 08 09 1c 00 01 ff 02 00 ff 53 41 54 41 | ...........SATA|
00000370 32 20 4d 2f 42 20 00 20 00 00 09 0d 1d 00 01 06 |2 M/B . ........|
00000380 05 03 03 01 00 06 01 50 43 49 31 00 00 09 0d 1e |.......PCI1.....|
00000390 00 01 06 05 03 03 02 00 06 01 50 43 49 32 00 00 |..........PCI2..|
000003a0 09 0d 1f 00 01 a5 0d 03 03 03 00 04 04 50 43 49 |.............PCI|
000003b0 5f 45 31 00 00 09 0d 20 00 01 a5 08 03 03 04 00 |_E1.... ........|
000003c0 04 04 50 43 49 5f 45 32 00 00 0a 06 21 00 85 01 |..PCI_E2....!...|
000003d0 42 72 6f 61 64 63 6f 6d 20 35 37 38 34 00 00 0b |Broadcom 5784...|
000003e0 05 22 00 05 20 00 20 00 24 42 49 4f 53 45 30 31 |.".. . .$BIOSE01|
000003f0 30 30 31 30 31 30 30 31 31 30 32 31 30 33 31 31 |0010100110210311|
00000400 31 00 20 00 20 00 00 10 0f 23 00 03 03 03 00 00 |1. . ....#......|
00000410 40 00 fe ff 04 00 00 00 13 0f 24 00 00 00 00 00 |@.........$.....|
00000420 00 00 00 00 23 00 00 00 00 11 1b 25 00 23 00 fe |....#......%.#..|
00000430 ff ff ff ff ff ff ff 09 ff 01 02 13 44 00 20 03 |............D. .|
00000440 03 04 05 06 44 49 4d 4d 31 20 4d 2f 42 00 20 00 |....DIMM1 M/B. .|
00000450 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20 | . |
00000460 20 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 | . |
00000470 20 20 20 20 20 20 00 20 20 20 20 20 20 20 20 20 | . |
00000480 20 20 20 20 20 20 20 20 20 20 20 00 00 14 13 26 | ....&|
00000490 00 00 00 00 00 00 00 00 00 25 00 24 00 01 00 00 |.........%.$....|
000004a0 00 00 11 1b 27 00 23 00 fe ff ff ff ff ff ff ff |....'.#.........|
000004b0 09 ff 01 02 13 44 00 20 03 03 04 05 06 44 49 4d |.....D. .....DIM|
000004c0 4d 32 20 4d 2f 42 00 20 00 20 20 20 20 20 20 20 |M2 M/B. . |
000004d0 20 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 | . |
000004e0 20 20 00 20 20 20 20 20 20 20 20 20 20 20 20 00 | . .|
000004f0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000500 20 20 20 20 00 00 14 13 28 00 00 00 00 00 00 00 | ....(.......|
00000510 00 00 27 00 24 00 01 00 00 00 00 11 1b 29 00 23 |..'.$........).#|
00000520 00 fe ff ff ff ff ff ff ff 09 ff 01 02 13 44 00 |..............D.|
00000530 20 03 03 04 05 06 44 49 4d 4d 33 20 4d 2f 42 00 | .....DIMM3 M/B.|
00000540 20 00 20 20 20 20 20 20 20 20 20 20 20 20 00 20 | . . |
00000550 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20 20 | . |
00000560 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20 | . |
00000570 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 14 | ...|
00000580 13 2a 00 00 00 00 00 00 00 00 00 29 00 24 00 01 |.*.........).$..|
00000590 00 00 00 00 11 1b 2b 00 23 00 fe ff ff ff ff ff |......+.#.......|
000005a0 ff ff 09 ff 01 02 13 44 00 20 03 03 04 05 06 44 |.......D. .....D|
000005b0 49 4d 4d 34 20 4d 2f 42 00 20 00 20 20 20 20 20 |IMM4 M/B. . |
000005c0 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20 20 | . |
000005d0 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20 | . |
000005e0 20 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | . |
000005f0 20 20 20 20 20 20 00 00 14 13 2c 00 00 00 00 00 | ....,.....|
00000600 00 00 00 00 2b 00 24 00 01 00 00 00 00 10 0f 2d |....+.$........-|
00000610 00 03 05 03 00 04 00 00 fe ff 01 00 00 00 13 0f |................|
00000620 2e 00 00 00 00 00 ff 03 00 00 2d 00 01 00 00 11 |..........-.....|
00000630 1b 2f 00 2d 00 fe ff 08 00 08 00 00 84 01 00 01 |./.-............|
00000640 02 09 00 10 21 00 03 04 05 06 42 49 4f 53 31 20 |....!.....BIOS1 |
00000650 4d 2f 42 00 20 00 20 20 20 20 20 20 20 20 20 20 |M/B. . |
00000660 20 20 00 20 00 20 00 20 20 20 20 20 20 20 20 20 | . . . |
00000670 20 20 20 20 20 20 20 20 20 20 20 00 00 14 13 30 | ....0|
00000680 00 00 00 00 00 ff 03 00 00 2f 00 2e 00 01 00 00 |........./......|
00000690 00 00 20 14 31 00 00 00 00 00 00 00 00 00 00 00 |.. .1...........|
000006a0 00 00 00 00 00 00 00 00 88 06 00 00 5a 5a 00 00 |............ZZ..|
000006b0 7f 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000006c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000a00
tux@slitaz:~/temp$


tux@slitaz:~/temp$ sudo dmidecode --dump-bin dmidump.bin
# dmidecode 2.10
SMBIOS 2.4 present.
# Writing 1702 bytes to dmidump.bin.
# Writing 31 bytes to dmidump.bin.
tux@slitaz:~/temp$ ls -l dmidump.bin
-rw-r--r-- 1 root root 1734 Mar 9 19:59 dmidump.bin
tux@slitaz:~/temp$ hexdump -C dmidump.bin
00000000 5f 53 4d 5f f9 1f 02 04 84 00 00 00 00 00 00 00 |_SM_............|
00000010 5f 44 4d 49 5f 44 a6 06 20 00 00 00 34 00 24 00 |_DMI_D.. ...4.$.|
00000020 00 18 00 00 01 02 00 f0 03 0f 90 de 29 4d 00 00 |............)M..|
00000030 00 00 03 07 01 01 ff ff 4e 45 43 00 30 30 30 31 |........NEC.0001|
00000040 2f 34 36 36 41 30 30 30 32 00 31 31 2f 31 37 2f |/466A0002.11/17/|
00000050 32 30 30 38 00 00 01 1b 01 00 01 02 03 04 ff ff |2008............|
00000060 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 01 05 |................|
00000070 06 4e 45 43 00 56 61 6c 75 65 53 74 61 72 00 20 |.NEC.ValueStar. |
00000080 20 00 31 32 33 34 35 36 37 38 39 00 20 00 20 00 | .123456789. . .|
00000090 00 02 0f 02 00 01 02 03 04 05 09 06 03 00 0a 00 |................|
000000a0 4e 45 43 00 4d 53 2d 37 34 32 38 56 48 00 56 48 |NEC.MS-7428VH.VH|
000000b0 00 20 00 20 00 20 00 00 03 15 03 00 01 0f 02 03 |. . . ..........|
000000c0 04 03 03 03 03 00 00 00 00 00 01 00 00 4e 45 43 |.............NEC|
000000d0 00 20 00 20 00 20 00 00 04 28 04 00 01 03 02 02 |. . . ...(......|
000000e0 7a 06 01 00 ff fb eb bf 03 8d 0b 01 f0 0a f0 0a |z...............|
000000f0 41 01 05 00 06 00 ff ff 04 05 06 02 02 02 04 00 |A...............|
00000100 53 4f 43 4b 45 54 37 37 35 20 4d 2f 42 00 49 6e |SOCKET775 M/B.In|
00000110 74 65 6c 20 20 20 20 20 20 20 20 20 20 20 20 00 |tel .|
00000120 50 65 6e 74 69 75 6d 28 52 29 20 44 75 61 6c 2d |Pentium(R) Dual-|
00000130 43 6f 72 65 20 20 43 50 55 20 20 20 20 20 20 45 |Core CPU E|
00000140 36 33 30 30 20 20 40 20 32 2e 38 30 47 48 7a 20 |6300 @ 2.80GHz |
00000150 20 20 20 20 00 20 00 20 00 20 00 00 07 13 05 00 | . . . ......|
00000160 01 80 01 40 00 40 00 01 00 01 00 00 04 04 07 49 |...@.@.........I|
00000170 6e 74 65 72 6e 61 6c 00 00 07 13 06 00 01 81 01 |nternal.........|
00000180 00 08 00 08 01 00 01 00 00 05 05 07 49 6e 74 65 |............Inte|
00000190 72 6e 61 6c 00 00 05 18 07 00 03 04 03 03 0a 01 |rnal............|
000001a0 00 00 05 02 04 08 00 09 00 0a 00 0b 00 04 00 00 |................|
000001b0 06 0c 08 00 01 01 00 00 05 8b 8b 00 44 49 4d 4d |............DIMM|
000001c0 31 20 4d 2f 42 00 00 06 0c 09 00 01 23 00 00 05 |1 M/B.......#...|
000001d0 7f 7f 00 44 49 4d 4d 32 20 4d 2f 42 00 00 06 0c |...DIMM2 M/B....|
000001e0 0a 00 01 45 00 00 05 7f 7f 00 44 49 4d 4d 33 20 |...E......DIMM3 |
000001f0 4d 2f 42 00 00 06 0c 0b 00 01 67 00 00 05 7f 7f |M/B.......g.....|
00000200 00 44 49 4d 4d 34 20 4d 2f 42 00 00 08 09 0c 00 |.DIMM4 M/B......|
00000210 01 00 02 0f 0d 20 00 4b 65 79 62 6f 61 72 64 20 |..... .Keyboard |
00000220 00 00 08 09 0d 00 01 00 02 1f 1d 20 00 4d 69 63 |........... .Mic|
00000230 20 49 6e 20 00 00 08 09 0e 00 01 00 02 1f 1d 20 | In ........... |
00000240 00 4c 69 6e 65 20 49 6e 20 00 00 08 09 0f 00 01 |.Line In .......|
00000250 00 02 1f 1d 20 00 4c 69 6e 65 20 4f 75 74 20 00 |.... .Line Out .|
00000260 00 08 09 10 00 01 00 02 0b 1f 20 00 4e 65 74 77 |.......... .Netw|
00000270 6f 72 6b 20 00 00 08 09 11 00 01 00 02 12 10 20 |ork ........... |
00000280 00 50 6f 72 74 20 31 20 00 00 08 09 12 00 01 00 |.Port 1 ........|
00000290 02 12 10 20 00 50 6f 72 74 20 30 20 00 00 08 09 |... .Port 0 ....|
000002a0 13 00 01 00 02 12 10 20 00 50 6f 72 74 20 32 20 |....... .Port 2 |
000002b0 00 00 08 09 14 00 01 00 02 12 10 20 00 50 6f 72 |........... .Por|
000002c0 74 20 33 20 00 00 08 09 15 00 01 00 02 12 10 20 |t 3 ........... |
000002d0 00 50 6f 72 74 20 34 20 00 00 08 09 16 00 01 00 |.Port 4 ........|
000002e0 02 12 10 20 00 50 6f 72 74 20 35 20 00 00 08 09 |... .Port 5 ....|
000002f0 17 00 01 ff 02 12 10 4a 55 53 42 31 20 4d 2f 42 |.......JUSB1 M/B|
00000300 20 00 50 6f 72 74 20 31 31 20 00 00 08 09 18 00 | .Port 11 ......|
00000310 01 ff 02 12 10 4a 55 53 42 31 20 4d 2f 42 20 00 |.....JUSB1 M/B .|
00000320 50 6f 72 74 20 31 30 20 00 00 08 09 19 00 01 ff |Port 10 ........|
00000330 02 00 00 4a 55 53 42 32 20 4d 2f 42 20 00 50 6f |...JUSB2 M/B .Po|
00000340 72 74 20 39 20 00 00 08 09 1a 00 01 00 02 07 1c |rt 9 ...........|
00000350 20 00 4d 6f 6e 69 74 6f 72 20 00 00 08 09 1b 00 | .Monitor ......|
00000360 01 ff 02 00 ff 53 41 54 41 31 20 4d 2f 42 20 00 |.....SATA1 M/B .|
00000370 20 00 00 08 09 1c 00 01 ff 02 00 ff 53 41 54 41 | ...........SATA|
00000380 32 20 4d 2f 42 20 00 20 00 00 09 0d 1d 00 01 06 |2 M/B . ........|
00000390 05 03 03 01 00 06 01 50 43 49 31 00 00 09 0d 1e |.......PCI1.....|
000003a0 00 01 06 05 03 03 02 00 06 01 50 43 49 32 00 00 |..........PCI2..|
000003b0 09 0d 1f 00 01 a5 0d 03 03 03 00 04 04 50 43 49 |.............PCI|
000003c0 5f 45 31 00 00 09 0d 20 00 01 a5 08 03 03 04 00 |_E1.... ........|
000003d0 04 04 50 43 49 5f 45 32 00 00 0a 06 21 00 85 01 |..PCI_E2....!...|
000003e0 42 72 6f 61 64 63 6f 6d 20 35 37 38 34 00 00 0b |Broadcom 5784...|
000003f0 05 22 00 05 20 00 20 00 24 42 49 4f 53 45 30 31 |.".. . .$BIOSE01|
00000400 30 30 31 30 31 30 30 31 31 30 32 31 30 33 31 31 |0010100110210311|
00000410 31 00 20 00 20 00 00 10 0f 23 00 03 03 03 00 00 |1. . ....#......|
00000420 40 00 fe ff 04 00 00 00 13 0f 24 00 00 00 00 00 |@.........$.....|
00000430 ff ff 1f 00 23 00 01 00 00 11 1b 25 00 23 00 fe |....#......%.#..|
00000440 ff 40 00 40 00 00 08 09 00 01 02 01 80 00 2a 04 |.@.@..........*.|
00000450 03 04 05 06 44 49 4d 4d 31 20 4d 2f 42 00 20 00 |....DIMM1 M/B. .|
00000460 20 20 20 20 20 20 20 20 20 20 20 20 00 31 34 43 | .14C|
00000470 43 35 44 45 35 20 20 20 20 00 55 6e 6b 6e 6f 77 |C5DE5 .Unknow|
00000480 6e 20 20 20 20 20 00 39 39 30 35 34 30 33 2d 30 |n .9905403-0|
00000490 31 31 2e 41 30 33 4c 46 20 20 20 00 00 14 13 26 |11.A03LF ....&|
000004a0 00 00 00 00 00 ff ff 1f 00 25 00 24 00 01 00 00 |.........%.$....|
000004b0 00 00 11 1b 27 00 23 00 fe ff ff ff ff ff 00 00 |....'.#.........|
000004c0 09 00 01 02 13 04 00 00 00 03 04 05 06 44 49 4d |.............DIM|
000004d0 4d 32 20 4d 2f 42 00 20 00 20 20 20 20 20 20 20 |M2 M/B. . |
000004e0 20 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 | . |
000004f0 20 20 00 20 20 20 20 20 20 20 20 20 20 20 20 00 | . .|
00000500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000510 20 20 20 20 00 00 14 13 28 00 00 00 00 00 00 00 | ....(.......|
00000520 00 00 27 00 24 00 01 00 00 00 00 11 1b 29 00 23 |..'.$........).#|
00000530 00 fe ff ff ff ff ff 00 00 09 00 01 02 13 04 00 |................|
00000540 00 00 03 04 05 06 44 49 4d 4d 33 20 4d 2f 42 00 |......DIMM3 M/B.|
00000550 20 00 20 20 20 20 20 20 20 20 20 20 20 20 00 20 | . . |
00000560 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20 20 | . |
00000570 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20 | . |
00000580 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 14 | ...|
00000590 13 2a 00 00 00 00 00 00 00 00 00 29 00 24 00 01 |.*.........).$..|
000005a0 00 00 00 00 11 1b 2b 00 23 00 fe ff ff ff ff ff |......+.#.......|
000005b0 00 00 09 00 01 02 13 04 00 00 00 03 04 05 06 44 |...............D|
000005c0 49 4d 4d 34 20 4d 2f 42 00 20 00 20 20 20 20 20 |IMM4 M/B. . |
000005d0 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20 20 | . |
000005e0 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20 | . |
000005f0 20 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | . |
00000600 20 20 20 20 20 20 00 00 14 13 2c 00 00 00 00 00 | ....,.....|
00000610 00 00 00 00 2b 00 24 00 01 00 00 00 00 10 0f 2d |....+.$........-|
00000620 00 03 05 03 00 04 00 00 fe ff 01 00 00 00 13 0f |................|
00000630 2e 00 00 00 00 00 ff 03 00 00 2d 00 01 00 00 11 |..........-.....|
00000640 1b 2f 00 2d 00 fe ff 08 00 08 00 00 84 0a 00 01 |./.-............|
00000650 02 09 00 10 21 00 03 04 05 06 42 49 4f 53 31 20 |....!.....BIOS1 |
00000660 4d 2f 42 00 20 00 57 4f 49 4e 42 4f 4e 44 20 20 |M/B. .WOINBOND |
00000670 20 20 00 20 00 20 00 57 32 35 58 38 30 20 20 20 | . . .W25X80 |
00000680 20 20 20 20 20 20 20 20 20 20 20 00 00 14 13 30 | ....0|
00000690 00 00 00 00 00 ff 03 00 00 2f 00 2e 00 01 00 00 |........./......|
000006a0 00 00 20 14 31 00 00 00 00 00 00 00 00 00 00 00 |.. .1...........|
000006b0 00 00 00 00 00 00 00 00 88 06 32 00 5a 5a 00 00 |..........2.ZZ..|
000006c0 7f 04 33 00 00 00 |..3...|
000006c6
tux@slitaz:~/temp$

Slitaz -- iasl / acpi -5


root=/dev/sda1 acpi=ht
please boot with early_ioremap_debug and report the dmesg.

root@slitaz:~# cat /proc/cmdline
root=/dev/sda1 acpi=ht
root@slitaz:~# cat /proc/iomem | grep ACPI
7dd90000-7dd9dfff : ACPI Tables
7dd9e000-7dddffff : ACPI Non-volatile Storage
root@slitaz:~# cat /proc/iomem | grep APIC
fec00000-fec00fff : IOAPIC 0
fee00000-fee00fff : Local APIC
root@slitaz:~# cat /proc/ioports | grep ACPI
0800-0803 : ACPI PM1a_EVT_BLK
0804-0805 : ACPI PM1a_CNT_BLK
0808-080b : ACPI PM_TMR
0820-082f : ACPI GPE0_BLK
0850-0850 : ACPI PM2_CNT_BLK
root@slitaz:~# cat /proc/interrupts | grep APIC
0: 119 0 IO-APIC-edge timer
1: 1 1 IO-APIC-edge i8042
12: 2 2 IO-APIC-edge i8042
16: 0 0 IO-APIC-fasteoi uhci_hcd:usb3, uhci_hcd:usb7
17: 3 4 IO-APIC-fasteoi eth1
18: 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb6
19: 20574 20534 IO-APIC-fasteoi ata_piix, uhci_hcd:usb5
22: 102 102 IO-APIC-fasteoi HDA Intel
23: 19107 19148 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb4
root@slitaz:~#
root@slitaz:~# dmesg | grep ACPI
ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
ACPI: Interpreter disabled.
pnp: PnP ACPI: disabled
root@slitaz:~# dmesg | grep APIC
Booting processor 1 APIC 0x1 ip 0x6000
pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 16
pci 0000:00:1a.0: PCI->APIC IRQ transform: INT A -> IRQ 16
pci 0000:00:1a.7: PCI->APIC IRQ transform: INT C -> IRQ 18
pci 0000:00:1b.0: PCI->APIC IRQ transform: INT A -> IRQ 22
pci 0000:00:1c.0: PCI->APIC IRQ transform: INT A -> IRQ 17
pci 0000:00:1c.1: PCI->APIC IRQ transform: INT B -> IRQ 16
pci 0000:00:1d.0: PCI->APIC IRQ transform: INT A -> IRQ 23
pci 0000:00:1d.1: PCI->APIC IRQ transform: INT B -> IRQ 19
pci 0000:00:1d.2: PCI->APIC IRQ transform: INT C -> IRQ 18
pci 0000:00:1d.3: PCI->APIC IRQ transform: INT D -> IRQ 16
pci 0000:00:1d.7: PCI->APIC IRQ transform: INT A -> IRQ 23
pci 0000:00:1f.2: PCI->APIC IRQ transform: INT B -> IRQ 19
pci 0000:00:1f.3: PCI->APIC IRQ transform: INT C -> IRQ 18
pci 0000:02:00.0: PCI->APIC IRQ transform: INT A -> IRQ 17

root@slitaz:~# dmesg
[..]
virtual kernel memory layout:
fixmap : 0xfff4d000 - 0xfffff000 ( 712 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB)
lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB)
.init : 0xc0595000 - 0xc05e7000 ( 328 kB)
.data : 0xc041b514 - 0xc058b17c (1471 kB)
.text : 0xc0100000 - 0xc041b514 (3181 kB)
[..]
ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
PCI: Not using MMCONFIG.
PCI: Using configuration type 1 for base access
bio: create slab at 0
ACPI: Interpreter disabled.
[..]
------------[ cut here ]------------
WARNING: at arch/x86/mm/ioremap.c:603 check_early_ioremap_leak+0x48/0x5c()
Hardware name: ValueStar
Debug warning: early ioremap leak of 1 areas detected.
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.30.6-slitaz #1
Call Trace:
[] warn_slowpath_common+0x65/0x7c
[] ? check_early_ioremap_leak+0x48/0x5c
[] ? check_early_ioremap_leak+0x0/0x5c
[] warn_slowpath_fmt+0x24/0x27
[] check_early_ioremap_leak+0x48/0x5c
[] do_one_initcall+0x4c/0x13a
[] kernel_init+0x106/0x157
[] ? kernel_init+0x0/0x157
[] kernel_thread_helper+0x7/0x10
---[ end trace 22af55ae483f38e6 ]---
please boot with early_ioremap_debug and report the dmesg.
[..]

/var/log/messages
[..]
Mar 9 09:02:03 (none) user.warn kernel: ------------[ cut here ]------------
Mar 9 09:02:03 (none) user.warn kernel: WARNING: at arch/x86/mm/ioremap.c:603 check_early_ioremap_leak+0x48/0x5c()
Mar 9 09:02:03 (none) user.warn kernel: Hardware name: ValueStar
Mar 9 09:02:03 (none) user.warn kernel: Debug warning: early ioremap leak of 1 areas detected.
Mar 9 09:02:03 (none) user.warn kernel: Modules linked in:
Mar 9 09:02:03 (none) user.warn kernel: Pid: 1, comm: swapper Not tainted 2.6.30.6-slitaz #1
Mar 9 09:02:03 (none) user.warn kernel: Call Trace:
Mar 9 09:02:03 (none) user.warn kernel: [] warn_slowpath_common+0x65/0x7c
Mar 9 09:02:03 (none) user.warn kernel: [] ? check_early_ioremap_leak+0x48/0x5c
Mar 9 09:02:03 (none) user.warn kernel: [] ? check_early_ioremap_leak+0x0/0x5c
Mar 9 09:02:03 (none) user.warn kernel: [] warn_slowpath_fmt+0x24/0x27
Mar 9 09:02:03 (none) user.warn kernel: [] check_early_ioremap_leak+0x48/0x5c
Mar 9 09:02:03 (none) user.warn kernel: [] do_one_initcall+0x4c/0x13a
Mar 9 09:02:03 (none) user.warn kernel: [] kernel_init+0x106/0x157
Mar 9 09:02:03 (none) user.warn kernel: [] ? kernel_init+0x0/0x157
Mar 9 09:02:03 (none) user.warn kernel: [] kernel_thread_helper+0x7/0x10
Mar 9 09:02:03 (none) user.warn kernel: ---[ end trace 426f01cc83ab8016 ]---
[..]

2010-03-05

Slitaz -- iasl / acpi / amideco - 4


root@slitaz:/tmp# tazpkg info amideco

Tazpkg information
================================================================================
Package : amideco
Version : 0.31e-3.1
Category : misc
Short desc : Decompress flashfiles equipped with an AMI BIOS
Maintainer : nobody@slitaz.org
Web site : http://packages.debian.org/search?keywords=amideco
================================================================================

root@slitaz:/tmp# amideco --help

-=AmiBIOSDeco, version 0.31e (Linux)=-
(C) Anton Borisov, 2000, 2002-2003, 2006. Portions (C) 1999-2000

Usage: AmiBIOSDeco [Options]
Options:
"-l" List Bios Structure
"-x" eXtract Bios Modules
"-d" create Directory
"-h" Help statistics

*Bug-reports direct to Anton Borisov, anton.borisov@gmail.com*

root@slitaz:/tmp# ls -l
-rw-r--r-- 1 root root 1048576 Mar 5 13:18 0305.rom
-rw-r--r-- 1 root root 1048576 Mar 5 15:31 20100305.rom
-rwx------ 1 root root 1048576 Mar 4 12:21 7428-VH.ROM
-rw-r--r-- 1 root root 1048576 Mar 5 15:15 990305.rom
srw------- 1 root root 0 Mar 5 12:01 alsaplayer_root_0
-r-xr-xr-x 1 root root 524288 Aug 15 2005 W3V0602A.ROM
root@slitaz:/tmp# amideco 990305.rom -l

-=AmiBIOSDeco, version 0.31e (Linux)=-

FileLength : 100000 (1048576 bytes)
FileName : 990305.rom

AMIBIOS information:
Version : 0800
Packed Data : 50000 (327680 bytes)
Start : A0014
Packed Offset : A0014
Offset : 0
Released : 17 November 2008
DirName : 990305.---
+------------------------------------------------------------------------------+
| Class.Instance (Name) Packed ---> Expanded Compression Offset |
+------------------------------------------------------------------------------+

11 01 ( P6 Microcode) 0FFFF ( 65535) => 0FFFF ( 65535) A0014h
20 02 ( PCI AddOn ROM) 00000 ( 00000) => 00000 ( 00000) BC830h
08 03 ( Interface) 00830 ( 02096) => 00830 ( 02096) CC844h
F0 04 ( User-Defined ;)) 00154 ( 00340) => 00154 ( 00340) CD088h
0C 05 ( ROM-ID) 00008 ( 00008) => 00008 ( 00008) CD1F0h
1B 06 ( SLAB) 2E30F (189199) => 6505B (413787) + 00010h
20 07 ( PCI AddOn ROM) 09D11 ( 40209) => 0FE00 ( 65024) + 2E334h
20 08 ( PCI AddOn ROM) 08AFB ( 35579) => 0DE00 ( 56832) + 3805Ch
20 09 ( PCI AddOn ROM) 083CF ( 33743) => 10000 ( 65536) + 40B6Ch
04 10 ( Setup Client) 0556E ( 21870) => 08A2F ( 35375) + 48F50h
21 11 ( Multilanguage) 02A8A ( 10890) => 0637F ( 25471) + CD20Ch
10 12 ( ACPI AML) 024BD ( 09405) => 05E2A ( 24106) + 4E4D4h
0E 13 ( OEM Logo) 019DC ( 06620) => 06313 ( 25363) + 509A8h
18 14 (ADM (Display MGR)) 017FD ( 06141) => 04245 ( 16965) + 52398h
19 15 ( ADM Font) 0059C ( 01436) => 01304 ( 04868) + 53BACh
1A 16 ( Small Logo) 00532 ( 01330) => 026A2 ( 09890) + 5415Ch
2B 17 ( PXE Code) 00347 ( 00839) => 00550 ( 01360) + 546A4h
06 18 ( DMI Data) 002DB ( 00731) => 00A00 ( 02560) + CFCACh
80 19 ( User-Defined ;)) 00068 ( 00104) => 00068 ( 00104) 54A00h
Total Sections : 19
root@slitaz:/tmp#


root@slitaz:/tmp# amideco 990305.rom -d -x

-=AmiBIOSDeco, version 0.31e (Linux)=-

FileLength : 100000 (1048576 bytes)
FileName : 990305.rom

AMIBIOS information:
Version : 0800
Packed Data : 50000 (327680 bytes)
Start : A0014
Packed Offset : A0014
Offset : 0
Released : 17 November 2008
DirName : 990305.---
Operation mkdir() is permitted
+------------------------------------------------------------------------------+
| Class.Instance (Name) Packed ---> Expanded Compression Offset |
+------------------------------------------------------------------------------+
WARNING: Ignoring unknown compression flag (0x90) for part id 11

Total Sections : 19

root@slitaz:/tmp# ls -l 990305.---/
-rw-r--r-- 1 root root 35375 Mar 5 16:02 amibody.04
-rw-r--r-- 1 root root 2560 Mar 5 16:02 amibody.06
-rw-r--r-- 1 root root 2096 Mar 5 16:02 amibody.08
-rw-r--r-- 1 root root 8 Mar 5 16:02 amibody.0c
-rw-r--r-- 1 root root 25363 Mar 5 16:02 amibody.0e
-rw-r--r-- 1 root root 24106 Mar 5 16:02 amibody.10
-rw-r--r-- 1 root root 65535 Mar 5 16:02 amibody.11
-rw-r--r-- 1 root root 16965 Mar 5 16:02 amibody.18
-rw-r--r-- 1 root root 4868 Mar 5 16:02 amibody.19
-rw-r--r-- 1 root root 9890 Mar 5 16:02 amibody.1a
-rw-r--r-- 1 root root 413787 Mar 5 16:02 amibody.1b
-rw-r--r-- 1 root root 25471 Mar 5 16:02 amibody.21
-rw-r--r-- 1 root root 1360 Mar 5 16:02 amibody.2b
-rw-r--r-- 1 root root 104 Mar 5 16:02 amibody.80
-rw-r--r-- 1 root root 340 Mar 5 16:02 amibody.f0
-rw-r--r-- 1 root root 0 Mar 5 16:02 amipci_00.20
-rw-r--r-- 1 root root 65024 Mar 5 16:02 amipci_01.20
-rw-r--r-- 1 root root 56832 Mar 5 16:02 amipci_02.20
-rw-r--r-- 1 root root 65536 Mar 5 16:02 amipci_03.20
root@slitaz:/tmp# iasl -d 990305.---/amibody.10

Intel ACPI Component Architecture
AML Disassembler version 20061109 [May 18 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file 990305.---/amibody.10
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Parsing completed
Disassembly completed, written to "amibody.dsl"

root@slitaz:/tmp# head -18 amibody.dsl
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20061109
*
* Disassembly of 990305.---/amibody.10, Fri Mar 5 16:10:29 2010
*
*
* Original Table Header:
* Signature "DSDT"
* Length 0x00005E2A (24106)
* Revision 0x01
* OEM ID "1AAAA"
* OEM Table ID "1AAAA001"
* OEM Revision 0x00000001 (1)
* Creator ID "INTL"
* Creator Revision 0x20051117 (537202967)
*/
DefinitionBlock ("990305.---/amibody.aml", "DSDT", 1, "1AAAA", "1AAAA001", 0x00000001)

root@slitaz:/tmp# iasl -tc amibody.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [May 18 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

amibody.dsl 130: Name (_T_0, Zero)
Error 4081 - ^ Use of reserved word (_T_0)

amibody.dsl 2837: Acquire (MUT0, 0x0FFF)
Warning 1103 - Possible operator timeout is ignored ^

amibody.dsl 5738: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored

amibody.dsl 5752: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored

amibody.dsl 5767: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored

amibody.dsl 5782: Acquire (MUTE, 0x0FFF)
Warning 1103 - ^ Possible operator timeout is ignored

amibody.dsl 5796: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored

amibody.dsl 5811: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored

amibody.dsl 5826: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored

ASL Input: amibody.dsl - 6935 lines, 217894 bytes, 2917 keywords
Compilation complete. 1 Errors, 8 Warnings, 0 Remarks, 66 Optimizations
root@slitaz:/tmp#

2010-03-04

Slitaz -- iasl / acpi / flashrom - 3


Segmentation fault
Error parsing layout file.

root@slitaz:~/Desktop# tazpkg info flashrom

Tazpkg information
================================================================================
Package : flashrom
Version : 0.0+r3397-1
Category : misc
Short desc : Universal BIOS/ROM/flash programming utility
Maintainer : nobody@slitaz.org
Web site : http://packages.debian.org/search?keywords=flashrom
================================================================================

----
root@slitaz:~/Desktop# ./flashrom -r 0305.rom
flashrom v0.9.1-r710
No coreboot table found.
Found chipset "Intel ICH10", enabling flash write... OK.
This chipset supports the following protocols: LPC,FWH,SPI.
Calibrating delay loop... OK.
Found chip "Winbond W25x80" (1024 KB, SPI) at physical address 0xfff00000.
Reading flash... done.
root@slitaz:~/Desktop# dmidecode -t 17 | tail -20

Handle 0x002F, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002D
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 1024 kB
Form Factor: TSOP
Set: None
Locator: BIOS1 M/B
Bank Locator:
Type: Flash
Type Detail: Non-Volatile
Speed: 33 MHz
Manufacturer: WOINBOND
Serial Number:
Asset Tag:
Part Number: W25X80

root@slitaz:~/Desktop# ./flashrom -l 0305.rom
flashrom v0.9.1-r710
Error parsing layout file.

root@slitaz:~/Desktop# ./flashrom -l 990305.rom
flashrom v0.9.1-r873
Error parsing layout file.
root@slitaz:~/Desktop# ls -l *.rom
-rw-r--r-- 1 root root 1048576 Mar 5 13:18 0305.rom
-rw-r--r-- 1 root root 1048576 Mar 5 15:15 990305.rom
-r-xr-xr-x 1 root root 1048576 Mar 4 14:49 NEC-0001466A0002.rom
root@slitaz:~/Desktop#

----

root@slitaz:~/Desktop# flashrom -r ms-7428.rom
Calibrating delay loop... OK.
No coreboot table found.
WARNING: No chipset found. Flash detection will most likely fail.
No EEPROM/flash device found.
If you know which flash chip you have, and if this version of flashrom
supports a similar flash chip, you can try to force read your chip. Run:
flashrom -f -r -c similar_supported_flash_chip filename

Note: flashrom can never write when the flash chip isn't found automatically.
root@slitaz:~/Desktop# flashrom -l W3V0602A.ROM
Segmentation fault
root@slitaz:~/Desktop# dmesg | tail -5
flashrom[3517]: segfault at 0 ip b7f5d6aa sp bf857c60 error 4 in libc-2.10.1.so[b7f2e000+15f000]
flashrom[3564]: segfault at 0 ip b7daa6aa sp bf9cb710 error 4 in libc-2.10.1.so[b7d7b000+15f000]
flashrom[3600]: segfault at bfb82000 ip b7def876 sp bfb81078 error 6 in libc-2.10.1.so[b7d9f000+15f000]
flashrom[5367]: segfault at bfa96000 ip b7f9e876 sp bfa94718 error 6 in libc-2.10.1.so[b7f4e000+15f000]
flashrom[5488]: segfault at bf8e8000 ip b7fa0876 sp bf8e7668 error 6 in libc-2.10.1.so[b7f50000+15f000]

root@slitaz:~/Desktop# /lib/libc-2.10.1.so
GNU C Library stable release version 2.10.1, by Roland McGrath et al.
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.4.1.
Compiled on a Linux >>2.6.25.5-slitaz<< system on 2009-09-20.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
For bug reporting instructions, please see:
http://www.gnu.org/software/libc/bugs.html

2010-03-03

BIOS






[..]

BIOS MODULES
------------

--------------------------------------------------------------------------------
BIOS Version: 0800 BIOS Date: 08/11/05
BIOS Tag : A0074000 BIOS Size: 512 KB
--------------------------------------------------------------------------------
ModuleID/ModuleName RomLoc SourceSize SizeInROM %% RunLoc
--------------------------------------------------------------------------------
08 Interface 5000:7BFC 0798(01944) 0798(01944) 00.00 Dynamic
04 Setup Client 0000:C4B8 73C5(29637) 46F0(18160) 38.73 Dynamic
0C ROMID 0000:C2DC 0008(00008) 0008(00008) 00.00 Dynamic
0E OEM Logo E000:F8A8 125C0(75200) 1AE0(06880) 90.85 Dynamic
1A Small Logo(s) E000:9EE0 26A2(09890) 0534(01332) 86.53 Dynamic
18 Display Manager D000:1208 4019(16409) 1744(05956) 63.70 Dynamic
19 Font Module C000:B158 1304(04868) 059C(01436) 70.50 Dynamic
1B Single Link Arch BIOS F000:1FA0 53EB7(343735) 2AE24(175652) 48.90 Dynamic
21 Multi Language B000:72C8 79FA(31226) 3744(14148) 54.69 0004:5553
20 PCI Option ROM 2000:5B1C F800(63488) 88D8(35032) 44.82 4320:11AB
20 PCI Option ROM 8000:024C F000(61440) 9BBC(39868) 35.11 3150:1002
30 User Defined 7000:FD84 0034(00052) 0034(00052) 00.00 Dynamic
15 Memory Sizing 1000:9504 606C(24684) 606C(24684) 00.00 Dynamic
11 P6 Micro Code 8000:02E4 900C(36876) 900C(36876) 00.00 Dynamic
33 User Defined 4000:5144 108EB(67819) 378C(14220) 79.03 Dynamic
06 DMI 4000:263C 0800(02048) 0274(00628) 69.34 Dynamic
80 Image Information 4000:2020 0044(00068) 0044(00068) 00.00 Dynamic
--------------------------------------------------------------------------------

[..]
.

2010-03-01

Slitaz -- iasl / acpi - 2

[..]

dsdt.dsl 198: LNKA,
Error 4062 - ^ Object does not exist (LNKA)
[..]
ASL Input: dsdt.dsl - 5855 lines, 194229 bytes, 2161 keywords
Compilation complete. 37 Errors, 2 Warnings, 0 Remarks, 583 Optimizations

tux@alanyih:~$ head -20 dsdt.hex
/*
*
* Intel ACPI Component Architecture
* ASL Optimizing Compiler version 20061109 [May 18 2007]
* Copyright (C) 2000 - 2006 Intel Corporation
* Supports ACPI Specification Revision 3.0a
*
* Compilation of "dsdt.dsl" - Mon Mar 1 18:27:16 2010
*
* C source code output
*
*/
unsigned char AmlCode[] =
{
0x44,0x53,0x44,0x54,0x95,0x49,0x00,0x00, /* 00000000 "DSDT.I.." */
0x01,0xC4,0x41,0x30,0x30,0x37,0x34,0x00, /* 00000008 "..A0074." */
0x41,0x30,0x30,0x37,0x34,0x30,0x30,0x30, /* 00000010 "A0074000" */
0x00,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
0x09,0x11,0x06,0x20,0x08,0x49,0x52,0x49, /* 00000020 "... .IRI" */
0x44,0x0C,0x4D,0xA3,0xF0,0x11,0x08,0x49, /* 00000028 "D.M....I" */

tux@alanyih:~$ head -41 dsdt.dsl
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20061109
*
* Disassembly of dsdt.aml, Mon Mar 1 17:14:39 2010
*
*
* Original Table Header:
* Signature "DSDT"
* Length 0x000059FB (23035)
* Revision 0x01
* OEM ID "A0074"
* OEM Table ID "A0074000"
* OEM Revision 0x00000000 (0)
* Creator ID "INTL"
* Creator Revision 0x02002026 (33562662)
*/
DefinitionBlock ("dsdt.aml", "DSDT", 1, "A0074", "A0074000", 0x00000000)
{
Name (IRID, 0x11F0A34D)
Name (IO1B, 0x06C0)
Name (IO1L, 0x10)
Name (ACPH, 0xDE)
Name (PMBS, 0x0800)
Name (FHDC, 0xD9)
Name (PMLN, 0x80)
Name (GPBS, 0x0480)
Name (GPLN, 0x40)
Name (SMBS, 0x0400)
Name (SMBL, 0x20)
Name (PM30, 0x0830)
Name (SUSW, 0xFF)
Name (APIC, 0x01)
Name (SPIO, 0x2E)
Name (P0CT, 0x82)
Name (P1CT, 0x83)
Name (P2CT, 0x84)
Name (PCIB, 0xE0000000)
Name (PCIL, 0x10000000)
Name (NCPU, 0x02)
OperationRegion (BIOS, SystemMemory, 0x7FFB0064, 0xFF)

tux@alanyih:~$ head -225 dsdt.dsl | tail -36
Scope (\_SB)
{
Name (PR00, Package (0x13)
{
Package (0x04)
{
0x0001FFFF,
0x00,
LNKA,
0x00
},

Package (0x04)
{
0x0001FFFF,
0x01,
LNKB,
0x00
},

Package (0x04)
{
0x0001FFFF,
0x02,
LNKC,
0x00
},

Package (0x04)
{
0x0001FFFF,
0x03,
LNKD,
0x00
},

tux@alanyih:~$

tux@alanyih:~$ sudo iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [May 18 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 198: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 206: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 214: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 222: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 230: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 238: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 246: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 254: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 262: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 270: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 278: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 286: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 294: LNKE,
Error 4062 - ^ Object does not exist (LNKE)

dsdt.dsl 302: LNKH,
Error 4062 - ^ Object does not exist (LNKH)

dsdt.dsl 310: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 318: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 326: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 334: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 342: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 506: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 514: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 522: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 530: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 574: LNKE,
Error 4062 - ^ Object does not exist (LNKE)

dsdt.dsl 582: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 590: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 598: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 606: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 614: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 622: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 1825: Acquire (MUT0, 0x0FFF)
Warning 1103 - Possible operator timeout is ignored ^

dsdt.dsl 2669: Store (\_SB.PCI0.IDE0.PAMD, Local0)
Error 4062 - Object does not exist ^ (\_SB.PCI0.IDE0.PAMD)

dsdt.dsl 2676: Store (\_SB.PCI0.IDE1.SAMD, Local0)
Error 4062 - Object does not exist ^ (\_SB.PCI0.IDE1.SAMD)

dsdt.dsl 5165: If (LNot (And (\_SB.PCI0.HFZF, Local2)))
Error 4062 - Object does not exist ^ (\_SB.PCI0.HFZF)

dsdt.dsl 5169: Or (\_SB.PCI0.HFZF, Local2, \_SB.PCI0.HFZF)
Error 4062 - Object does not exist ^ (\_SB.PCI0.HFZF)

dsdt.dsl 5169: Or (\_SB.PCI0.HFZF, Local2, \_SB.PCI0.HFZF)
Error 4062 - Object does not exist ^ (\_SB.PCI0.HFZF)

dsdt.dsl 5310: Method (WFZF, 1, NotSerialized)
Warning 1086 - ^ Not all control paths return a value (WFZF)

dsdt.dsl 5323: Return (While (Local1)
Error 4094 - ^ syntax error, unexpected PARSEOP_WHILE

dsdt.dsl 5337: })
Error 4094 - ^ syntax error, unexpected ')'

ASL Input: dsdt.dsl - 5855 lines, 194229 bytes, 2161 keywords
Compilation complete. 37 Errors, 2 Warnings, 0 Remarks, 583 Optimizations
tux@alanyih:~$

http://www.columbia.edu/~ariel/acpi/acpi_howto.txt
[..]
14.2.2. How do I check my DSDT?

There are three quick ways you can check your DSDT. First, you can look at
linux-laptops.net (or acpi4linux) at the list of laptops and see what they
say about yours.

Second, you can use acpidump to extract your dsdt. See [190]Extracting ACPI
tables with pmtools for information about getting and building acpidump. To
get at the dsdt table, do the following:
acpidump > mytables.all
cat mytables.all | ./acpixtract DSDT > mydsdt.bin

Now you have the DSDT table in binary form. To disassemble it, get iasl (see
[191]ASL compiler / AML disassembler iasl for how to do this), build it, and
then do
iasl -d mydsdt.bn

and it will create the output in mydsdt.dsl

Alternatively you can cat /proc/acpi/dsdt into a file, then and then run
iasl on that file.

To see if your DSDT is broken, you recompile it: iasl -tc mydsdt.dsl

You'll get output like this:
Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20050624 [Aug 11 2
005]
Copyright (C) 2000 - 2005 Intel Corporation
Supports ACPI Specification Revision 3.0

dell-xpsgen2-dsdt.dsl 496: Method (\_WAK, 1, NotSerialized)
Warning 2026 - ^ Reserved method must r
eturn a value (_WAK)

dell-xpsgen2-dsdt.dsl 1262: Method (_S0D, 0, NotSeri
alized)
Warning 2033 - Unknown reserved name ^ (_S0D)

Warnings can generally be ignored; errors must be fixed.
_________________________________________________________________

14.2.3. How do I fix my DSDT?

Look at the resources in [192]ACPI on Linux laptops to see if your errors
are documented. If not, check the [193]ACPI specification. Edit the
disassembled file, run iasl on it again and see if you have eliminated the
errors. An example: [FIXME put one!]
_________________________________________________________________
[..]

19.2. ACPI on Linux laptops

Linux on Laptops ([208]http://www.linux-laptop.net/) entries for specific
laptops often contain ACPI related configuration information. This is a
great place to start.

TuxMobil ([209]http://tuxmobil.org/mylaptops.html) collects Linux
installation reports which also have great information.

Ubuntu has a good list of test results for suspend for various laptops at
[210]https://wiki.ubuntu.com//HoaryPMResults.

If you are looking for a fix for your laptop's DSDT, please check the
ACPI4Linux DSDT repository at
[211]http://acpi.sourceforge.net/dsdt/view.php. If you don't see it there,
and you add fixes yourself, please add the new DSDT to the repository so
others can use it.
[..]

.

2010-02-27

Slitaz -- dmidecode


tux@alanyih:~$ tazpkg info dmidecode

Tazpkg information
================================================================================
Package : dmidecode
Version : 2.10
Category : system-tools
Short desc : SMBIOS/DMI reports.
Maintainer : erjo@slitaz.org
Web site : http://www.nongnu.org/dmidecode/
================================================================================

tux@alanyih:~$ sudo dmidecode --type 0
# dmidecode 2.10
SMBIOS 2.4 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: NEC
Version: 0001/466A0002
Release Date: 11/17/2008
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 1024 kB
Characteristics:
ISA is supported
PCI is supported
PNP is supported
APM is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
EDD is supported
Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
BIOS Revision: 1.1

tux@alanyih:~$

All DMI types you need to use with dmidecode --type {Number}:
# Type Short Description
0 BIOS
1 System
2 Base Board
3 Chassis
4 Processor
5 Memory Controller
6 Memory Module
7 Cache
8 Port Connector
9 System Slots
10 On Board Devices
11 OEM Strings
12 System Configuration Options
13 BIOS Language
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-bit Memory Error
19 Memory Array Mapped Address
20 Memory Device Mapped Address
21 Built-in Pointing Device
22 Portable Battery
23 System Reset
24 Hardware Security
25 System Power Controls
26 Voltage Probe
27 Cooling Device
28 Temperature Probe
29 Electrical Current Probe
30 Out-of-band Remote Access
31 Boot Integrity Services
32 System Boot
33 64-bit Memory Error
34 Management Device
35 Management Device Component
36 Management Device Threshold Data
37 Memory Channel
38 IPMI Device
39 Power Supply

.

2010-02-26

Slitaz -- iasl / ACPI

Package: iasl (20061109-0.1)
Intel ASL compiler/decompiler

iASL compiles ASL (ACPI Source Language) into AML (ACPI Machine Language). This AML is suitable for inclusion as a DSDT in sytem firmware. It also can disassemble AML, for debugging purposes.

root@slitaz:~# tazpkg info iasl

Tazpkg information
================================================================================
Package : iasl
Version : 20061109-0.1
Category : misc
Short desc : Intel ASL compiler/decompiler
Maintainer : nobody@slitaz.org
Web site : http://packages.debian.org/search?keywords=iasl
================================================================================

root@slitaz:~# ls -l /sys/firmware/acpi/tables/DSDT
-r--r--r-- 1 root root 0 Feb 26 20:51 /sys/firmware/acpi/tables/DSDT
root@slitaz:~# cat /sys/firmware/acpi/tables/DSDT > dsdt.aml
root@slitaz:~# iasl -d dsdt.aml

Intel ACPI Component Architecture
AML Disassembler version 20061109 [May 18 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file dsdt.aml
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
...............................................................................................................................................................................................................................................................................................................................................................................................................................................
Parsing completed
Disassembly completed, written to "dsdt.dsl"
root@slitaz:~#

root@slitaz:~# head -20 dsdt.dsl
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20061109
*
* Disassembly of dsdt.aml, Fri Feb 26 21:54:17 2010
*
*
* Original Table Header:
* Signature "DSDT"
* Length 0x000059FB (23035)
* Revision 0x01
* OEM ID "A0074"
* OEM Table ID "A0074000"
* OEM Revision 0x00000000 (0)
* Creator ID "INTL"
* Creator Revision 0x02002026 (33562662)
*/
DefinitionBlock ("dsdt.aml", "DSDT", 1, "A0074", "A0074000", 0x00000000)
{
Name (IRID, 0x11F0A34D)
root@slitaz:~#

----
EVEREST v5.02.1789 Beta/tw

[ APIC: Multiple APIC Description Table ]

ACPI 表內容:
ACPI 簽署 APIC
表描述 Multiple APIC Description Table
記憶體位址 7FFA0390h
表長度 112 位元組
OEM ID A M I
OEM Table ID OEMAPIC
OEM Revision 08000511h
Creator ID MSFT
Creator Revision 00000097h
Local APIC Address FEE00000h

[ DSDT: Differentiated System Description Table ]

ACPI 表內容:
ACPI 簽署 DSDT
表描述 Differentiated System Description Table
記憶體位址 7FFA0400h
表長度 23035 位元組
OEM ID A0074
OEM Table ID A0074000
OEM Revision 00000000h
Creator ID INTL
Creator Revision 02002026h

.

2010-02-25

Slitaz -- hexdump / dd



tux@alanyih:~$ sudo dd if=/dev/sda of=pt.img skip=446 bs=1 count=64
64+0 records in
64+0 records out
tux@alanyih:~$ ls -l *.img
-rw-r--r-- 1 root root 446 Feb 25 16:24 mbr.img
-rw-r--r-- 1 root root 512 Feb 25 18:31 mbr-pb.img
-rw-r--r-- 1 root root 32256 Feb 25 18:46 partition.img
-rw-r--r-- 1 root root 64 Feb 25 18:54 pt.img

tux@alanyih:~$ hexdump -C pt.img | cut -d ' ' -f 2-20
00 01 01 00 83 fe ff 95 3f 00 00 00 d7 07 e1 00
80 00 c1 96 07 fe ff ff 16 08 e1 00 6e 67 26 04
00 00 c1 ff 07 fe ff ff bf fa 3f 06 02 dc 02 1f
00 fe ff ff 83 fe ff ff 84 6f 07 05 3b 8b 38 01

tux@alanyih:~$

tux@alanyih:~$ sudo cfdisk -P r /dev/sda | tail -6
0x1B0: 00 00 00 00 00 00 00 00 B0 EB B1 F0 00 00 00 01
0x1C0: 01 00 83 FE FF 95 3F 00 00 00 D7 07 E1 00 80 00
0x1D0: C1 96 07 FE FF FF 16 08 E1 00 6E 67 26 04 00 FE
0x1E0: FF FF 07 FE FF FF BF FA 3F 06 02 DC 02 1F 00 FE
0x1F0: FF FF 83 FE FF FF 84 6F 07 05 3B 8B 38 01 55 AA

tux@alanyih:~$ sudo cfdisk -P t /dev/sda
Partition Table for /dev/sda

---Starting---- ----Ending----- Start Number of
# Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors
-- ----- ---- ---- ----- ---- ---- ---- ----- ----------- -----------
1 0x00 1 1 0 0x83 254 63 917 63 14747607
2 0x80 0 1 918 0x07 254 63 5251 14747670 69625710
3 0x00 0 1 6527 0x07 254 63 38912 104856255 520281090
4 0x00 0 1 5252 0x83 254 63 6526 84373380 20482875
tux@alanyih:~$ sudo cfdisk -P s /dev/sda
Partition Table for /dev/sda

First Last
# Type Sector Sector Offset Length Filesystem Type (ID) Flag
-- ------- ----------- ----------- ------ ----------- -------------------- ----
1 Primary 0 14747669 63 14747670 Linux (83) None
2 Primary 14747670 84373379 0 69625710 HPFS/NTFS (07) Boot
4 Primary 84373380 104856254 0 20482875 Linux (83) None
3 Primary 104856255 625137344 0 520281090 HPFS/NTFS (07) None

.