2010-03-09

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

.

Slitaz -- sqlite


tux@alanyih:~$ tazpkg info sqlite

Tazpkg information
================================================================================
Package : sqlite
Version : 3.6.16
Category : office
Short desc : Small SQL database engine.
Maintainer : pankso@slitaz.org
Web site : http://www.sqlite.org/
================================================================================

tux@alanyih:~$ ls ~/.mozilla/firefox/7kdi32oc.default/*.sqlite
/home/tux/.mozilla/firefox/7kdi32oc.default/content-prefs.sqlite
/home/tux/.mozilla/firefox/7kdi32oc.default/cookies.sqlite
/home/tux/.mozilla/firefox/7kdi32oc.default/downloads.sqlite
/home/tux/.mozilla/firefox/7kdi32oc.default/formhistory.sqlite
/home/tux/.mozilla/firefox/7kdi32oc.default/permissions.sqlite
/home/tux/.mozilla/firefox/7kdi32oc.default/places.sqlite
/home/tux/.mozilla/firefox/7kdi32oc.default/search.sqlite
/home/tux/.mozilla/firefox/7kdi32oc.default/signons.sqlite
/home/tux/.mozilla/firefox/7kdi32oc.default/urlclassifier3.sqlite
tux@alanyih:~$

Add-ons for Firefox
SQLite Manager 0.5.11
by Tarakant Tripathy, Mrinal Kant
https://addons.mozilla.org/en-US/firefox/addon/5817?from=%2Fzh-TW%2Ffirefox%2Faddon%2F5817

More about this add-on

Manage any SQLite database on your computer. An intuitive heirarchical tree showing database objects. Helpful dialogs to manage tables, indexes, views and triggers. You can browse and search the tables, as well as add, edit, delete and duplicate the records. Facility to execute any sql query. The views can be searched too. A dropdown menu helps with the sql syntax thus making writing sql easier. Easy access to common operations through menu, toolbars, buttons and context-menu. Export tables/views/database in csv/xml/sql format. Import from csv/xml/sql (both UTF-8 and UTF-16). Possible to execute multiple sql statements in Execute tab. You can save the queries. Support for ADS on Windows.

New issues, bugs, request for enhancements can be entered at:
http://code.google.com/p/sqlite-manager/issues/list.
.

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

.

Slitaz -- curlftpfs

tux@alanyih:~$ tazpkg info curlftpfs

Tazpkg information
================================================================================
Package : curlftpfs
Version : 0.9.2
Category : system-tools
Short desc : Using FUSE to access FTP servers.
Maintainer : erjo@slitaz.org
Depends : fuse curl glib zlib
Build deps : fuse fuse-dev curl curl-dev glib-dev
Web site : http://curlftpfs.sourceforge.net/
================================================================================

tux@alanyih:~$ ls -l ftpfs
drwxrwxr-x 7 root root 18 Feb 20 17:38 boot/
lrwxrwxrwx 1 root root 17 Dec 19 01:20 cgi-bin -> /var/www/cgi-bin/
drwxrwxr-x 3 root root 5 Nov 25 12:42 css/
drwxrwxr-x 2 root root 28 Feb 25 22:36 floppies/
drwxrwxr-x 7 root root 9 Dec 27 22:32 iso/
-rw-rw-r-- 1 root root 534 Oct 13 11:38 mirrors
drwxrwxr-x 7 root root 9 Oct 26 10:30 packages/
drwxrwxr-x 7 root root 23 Dec 27 22:37 pxe/
-rw-rw-r-- 1 root root 1512 Jul 24 2009 README
drwxrwxr-x 15 root root 16 Jan 17 18:04 sources/
tux@alanyih:~$ ls -l ftpfs/iso
drwxrwxr-x 3 root root 9 Jul 24 2009 1.0/
drwxrwxr-x 3 root root 8 Oct 10 07:57 2.0/
drwxrwxr-x 3 root root 10 Feb 21 19:51 cooking/
drwxrwxr-x 2 root root 13 Dec 29 00:19 cooking-snow/
lrwxrwxrwx 1 root root 5 Dec 18 01:20 stable -> ./2.0/
drwxrwxr-x 2 root root 5 Dec 24 17:25 undigest/
tux@alanyih:~$
.

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

.

2010-02-24

Slitaz -- chroot


tux@alanyih:~$ sudo /root/chroot.sh
Chrooting into /media/Slitaz...
root@alanyih:/# tazpkg | head -2
SliTaz package manager - Version: 3.1

root@alanyih:/# ls -l /
drwxr-xr-x 2 root root 4096 Dec 8 05:42 Recycled
drwxr-xr-x 2 root root 4096 Dec 2 16:01 bin
drwxr-xr-x 4 root root 4096 Feb 24 07:27 boot
drwxr-xr-x 13 root root 12288 Feb 24 15:37 dev
drwxr-xr-x 37 root root 4096 Feb 24 07:11 etc
drwxr-xr-x 6 root root 4096 Jan 29 08:23 home
-rwxr-xr-x 1 root root 735 Dec 2 00:48 init
drwxr-xr-x 6 root root 4096 Feb 5 11:14 lib
drwx------ 2 root root 4096 Dec 2 00:47 lost+found
drwxr-xr-x 6 root root 4096 Feb 24 07:56 media
drwxr-xr-x 6 root root 4096 Jan 29 10:27 mnt
dr-xr-xr-x 94 root root 0 Feb 25 06:55 proc
drwxr-x--- 23 root root 4096 Feb 24 15:37 root
drwxr-xr-x 2 root root 4096 Feb 24 07:11 sbin
drwxr-xr-x 12 root root 0 Feb 25 06:55 sys
drwxrwxrwt 5 root root 4096 Feb 25 13:57 tmp
drwxr-xr-x 10 root root 4096 Feb 24 14:45 usr
drwxr-xr-x 12 root root 4096 Feb 5 17:07 var
root@alanyih:/# exit
Exiting /media/Slitaz chroot environment...

tux@alanyih:~$ tazpkg | head -2
SliTaz package manager - Version: 3.2.1

tux@alanyih:~$ ls -l /
drwxr-xr-x 2 root root 4096 Feb 24 16:22 bin/
drwxr-xr-x 4 root root 4096 Feb 24 18:12 boot/
drwxr-xr-x 12 root root 4096 Feb 25 06:55 dev/
drwxr-xr-x 23 root root 4096 Feb 25 09:29 etc/
drwxr-xr-x 3 root root 4096 Feb 24 16:31 home/
-rwxr-xr-x 1 root root 3162 Feb 24 16:22 init
drwxr-xr-x 5 root root 4096 Feb 24 16:22 lib/
drwx------ 2 root root 16384 Feb 24 16:22 lost+found/
drwxr-xr-x 6 root root 4096 Feb 25 13:02 media/
drwxr-xr-x 5 root root 4096 Feb 24 16:44 mnt/
dr-xr-xr-x 92 root root 0 Feb 25 06:55 proc/
drwxr-xr-x 8 tux tux 4096 Feb 25 13:04 root/
drwxr-xr-x 2 root root 4096 Feb 24 16:34 sbin/
drwxr-xr-x 12 root root 0 Feb 25 06:55 sys/
drwxrwxrwt 5 root root 4096 Feb 25 14:16 tmp/
drwxr-xr-x 9 root root 4096 Feb 25 14:07 usr/
drwxr-xr-x 10 root root 4096 Feb 24 16:22 var/
tux@alanyih:~$

checklist

ImportError: /usr/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so: undefined symbol: gtk_entry_set_icon_from_icon_name

AttributeError: 'module' object has no attribute 'inotify'

1.
tux@alanyih:~$ python
Python 2.5.1 (r251:54863, Jan 17 2010, 07:02:56)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>>

2.
>>> help('modules')

3.
tux@alanyih:~$ nm -D /usr/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so | grep gtk_entry_set_icon_from_icon_name
U gtk_entry_set_icon_from_icon_name

tux@alanyih:~$ nm --help | tail -3

nm: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 efi-bsdrv-ia32 efi-rtdrv-ia32 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core
Report bugs to .

tux@alanyih:~$
.

Slitaz -- bootchart


20100306 http://doc.slitaz.org/en:guides:boottime
/etc/rcS.conf :
FAST_BOOT_X="yes"

Env:
SliTaz GNU/Linux cooking-firefox-20100221 (29 Mb) - slitaz-cooking-firefox.iso

root@alanyih:~# uname -a
Linux alanyih 2.6.30.6-slitaz #1 SMP Sun Jan 3 20:16:03 CET 2010 i686 unknown
root@alanyih:~# ls -l /var/log | head -2
-rw-r--r-- 1 root root 80894 Feb 24 17:03 bootchart.png
-rw-r--r-- 1 root root 9770 Feb 24 17:03 bootchart.tgz
root@alanyih:~# tar tzvf /var/log/bootchart.tgz
-rw-r--r-- 0/0 354 2010-02-24 17:03:17 header
-rw-r--r-- 0/0 13022 2010-02-24 17:03:15 proc_diskstats.log
-rw-r--r-- 0/0 257499 2010-02-24 17:03:15 proc_ps.log
-rw-r--r-- 0/0 12143 2010-02-24 17:03:15 proc_stat.log

root@alanyih:~# tazpkg info pybootchartgui

Tazpkg information
================================================================================
Package : pybootchartgui
Version : r124
Category : misc
Short desc : bootchart GUI in python
Maintainer : jozee@slitaz.org
Depends : python pygtk bootchart
Web site : http://pybootchartgui.googlecode.com/
================================================================================

root@alanyih:~# tazpkg info bootchart

Tazpkg information
================================================================================
Package : bootchart
Version : 0.9
Category : misc
Short desc : boot process performance analyzer (add init=/sbin/bootchartd to boot options)
Maintainer : jozee@slitaz.org
Suggested : pybootchartgui
Web site : http://www.bootchart.org/
================================================================================

root@alanyih:~# head -24 /sbin/bootchartd
#!/bin/sh
#
# Bootchart logger script
# Ziga Mahkovec
#
# This script is used for data collection for the bootchart
# boot performance visualization tool (http://www.bootchart.org).
#
# To profile the boot process, bootchartd should be called instead of
# /sbin/init. Modify the kernel command line to include:
# init=/sbin/bootchartd
#
# bootchartd will then start itself in background and exec /sbin/init
# (or an alternative init process if specified using bootchart_init=)
#
# To profile a running system, run:
# $ /sbin/bootchartd start; sleep 30; /sbin/bootchartd stop
#

PATH="/sbin:/bin:/usr/sbin:/usr/bin:$PATH"
VERSION="0.8"

# Read configuration.
CONF="/etc/bootchartd.conf"
root@alanyih:~# pybootchartgui /var/log
warning: no parent for pid '2' with ppid '0'
Merged 30 logger processes
Pruned 39 processes
Pruned 0 exploders
Pruned 101 threads
Pruned 1 runs

2010-02-23

Slitaz -- google-chrome


root@slitaz:~# tazpkg info google-chrome-unstable

Tazpkg information
================================================================================
Package : google-chrome-unstable
Version : 5.0.322.2-r38810
Category : non-free
Short desc : The web browser from Google.
Maintainer :
Depends : gtk+ GConf lzma flash-plugin
Web site : http://www.google.com/chrome/
================================================================================

root@slitaz:~# head /usr/bin/google-chrome
#!/bin/bash
#
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Let the wrapped binary know that it has been run through the wrapper
export CHROME_WRAPPER="`readlink -f "$0"`"

PROGDIR="`dirname "$CHROME_WRAPPER"`"
root@slitaz:~#

.

2010-02-21

Slitaz -- tazpkg-web


root@slitaz:~# tail -5 /var/log/lighttpd/alanyih.org-access.log
10.0.2.15 www.alanyih.org - [21/Feb/2010:22:06:43 +0000] "GET /cooking/development.html HTTP/1.1" 200 429024 "http://www.alanyih.org/cooking/x-window.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090926 Firefox/3.5 (SliTaz GNU/Linux)"
10.0.2.15 www.alanyih.org - [21/Feb/2010:22:07:23 +0000] "GET /cooking/misc.html HTTP/1.1" 200 43727 "http://www.alanyih.org/cooking/development.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090926 Firefox/3.5 (SliTaz GNU/Linux)"
10.0.2.15 www.alanyih.org - [21/Feb/2010:22:07:28 +0000] "GET /cooking/non-free.html HTTP/1.1" 200 17516 "http://www.alanyih.org/cooking/misc.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090926 Firefox/3.5 (SliTaz GNU/Linux)"
10.0.2.15 www.alanyih.org - [21/Feb/2010:22:07:53 +0000] "GET /cooking/multimedia.html HTTP/1.1" 200 85275 "http://www.alanyih.org/cooking/non-free.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090926 Firefox/3.5 (SliTaz GNU/Linux)"
10.0.2.15 www.alanyih.org - [21/Feb/2010:22:08:00 +0000] "GET /cooking/office.html HTTP/1.1" 200 32689 "http://www.alanyih.org/cooking/multimedia.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090926 Firefox/3.5 (SliTaz GNU/Linux)"
root@slitaz:~#

1. COOKING="/home/slitaz/cooking" ===> COOKING="/home/slitaz"
root@slitaz:~# head -13 /etc/slitaz/tazpkg-web.conf
# tazpkg-web.conf: SliTaz packages Web interface configuration file.
#

# Path to the Web interface.
WEB_INTERFACE="/var/www/vhosts/pkgs"

# Path to xHTML and XML templates.
LIB_DIR="/var/lib/tazpkg-web"

# Path to each version.
STABLE="/home/slitaz/stable"
#COOKING="/home/slitaz/cooking"
COOKING="/home/slitaz"

root@slitaz:~# ls -l /home/slitaz
lrwxrwxrwx 1 root root 16 Feb 21 07:56 src -> /media/cdrom/src
lrwxrwxrwx 1 root root 16 Feb 21 07:56 wok -> /media/cdrom/wok
root@slitaz:~#

2. /etc/lighttpd/lighttpd.conf
line 146
server.document-root = "/var/www/vhosts/pkgs" <====
# server.document-root = "/var/www/vhost/example.com/html"
.

2010-02-19

Slitaz -- xarchive / slitaz-warp.sh

http://hg.slitaz.org/wok/file/a93b9fa277ad/xarchive/stuff/slitaz-wrap.sh

wok
view xarchive/stuff/slitaz-wrap.sh @ 4955:a93b9fa277ad
xarchive: fix lrzip suffix
author Pascal Bellard
date Wed Feb 17 17:30:41 2010 +0100 (2 days ago)
parents ac195e0fe6bf
children
line source
1 #!/bin/sh
2 #
3 # slitaz-wrap.sh - slitaz core wrapper for xarchive frontend
4 # Copyright (C) 2005 Lee Bigelow
5 # Copyright (C) 2010 Pascal Bellard
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
21 UNSUPPORTED=65
22
23 GZIP_EXTS="tar.gz tgz cpio.gz"
24 LZMA_EXTS="tar.lz tar.lzma tlz"
25 BZIP2_EXTS="tar.bz tbz tar.bz2 tbz2"
26 COMPRESS_EXTS="tar.z tar.Z"
27 TAR_EXTS="tar tar.gz tgz $LZMA_EXTS $BZIP2_EXTS $COMPRESS_EXTS"
28 XZ_EXTS="tar.xz txz"
29 LRZIP_EXTS="tar.lrz tlrz"
30 IPK_EXTS="ipk"
31 CPIO_EXTS="cpio cpio.gz"
32 CPIOXZ_EXTS="cpio.xz"
33 CPIOLRZIP_EXTS="cpio.lrz"
34 ZIP_EXTS="zip cbz jar"
35 RPM_EXTS="rpm"
36 DEB_EXTS="deb udeb"
37 TAZPKG_EXTS="tazpkg spkg"
38 ISO_EXTS="iso"
39 SQUASHFS_EXTS="sfs sqfs squashfs"
40 CROMFS_EXTS="cfs cromfs"
41 FS_EXTS="ext2 ext3 dos fat vfat xfs fd fs loop"
42 CLOOP_EXTS="cloop"
43 RAR_EXTS="rar cbr"
44 LHA_EXTS="lha lzh lzs"
45 LZO_EXTS="lzo"
46 ARJ_EXTS="arj pak arc j uc2 zoo"
47 _7Z_EXTS="7z bcj bcj2"
48
....

2010-02-12

Slitaz -- tazpack

http://spicytunalabs.dyndns.org/wiki/slitaz/
....

Extract files from tazpack file:

$ tazpack extract (packfile)


$ file=(pack name)-pack-(ver).tazpack
$ dd if=$file of=info.txt bs=1 count=2048
$ dd if=$file of=archive.tar.gz bs=2048 skip=1
$ sed -i '/^$/d' info.txt


root@slitaz:/tmp# head -17 /usr/bin/tazpack
#! /bin/sh
#
# tazpack - SliTaz group package management system
#
# author: hottunalabs@gmail.com

VERSION="0.1.1"

# default urls & dirs
#
checksum1_url="http://spicytunalabs.dyndns.org/slitaz/tazpack/sha1sum/"
checksum2_url=""
pack_dir=/var/lib/tazpack/
pack_url="http://greencomputing.sakuraweb.com/slitaz/tazpack/"
cache=/var/cache/tazpack/
config=/etc/tazpack.conf
pkglist="installed_pkglist.txt"

root@slitaz:/tmp# tazpack list-mirror

List of available packs on the mirror
--------------------------------------------------------------------------------
audio 2.2 multimedia
banshee 2.3 multimedia
extra-fonts 2.0 x-window
extra-locale 2.0 i18n
google-chrome 0.1 non-free
gstreamer 2.4 multimedia
mono 2.2 development
mplayer 2.4 multimedia
nvidia-driver-kver2.6.30.6-r190.53 2.0 non-free
opengl 2.2 x-window
printing 0.1 document
python2.6 2.0 development
python2.6-binding 2.1 development
qt 2.1 x-window
qt-dev 2.0 development
screensaver 2.1 x-window
video-codecs 2.2 multimedia
viewer 2.0 document
--------------------------------------------------------------------------------
18 available packs

root@slitaz:/tmp# tazpack get-install extra-locale
SliTaz unofficial group package manager - Version: 0.1.1

Usage: tazpack [command] [package1 package2 ...] [option]

Commands:
check Verify SHA1 checksums of a pack.
clean-cache Clean all packs downloaded in cache directory.
extract Extract a (*.tazpack) pack into a directory.
get Download a pack into the current directory.
get-install Download and install a pack from the mirror.
info Print information about a pack.
install Install a pack (--forced ignores SHA1 check).
list List installed packs on the system by category or all.
list-mirror List all available packs on the mirror.
reinstall Reinstall a pack (--forced ignores SHA1 check).
remove Remove the specified pack and all installed packages.
show-pkglist List of the packages in a pack.
show-installed-pkglist
List of the installed packages in a pack.
update Update list of available packs
usage Print this short usage.

root@slitaz:/tmp# tazpack get extra-locale

Connecting to greencomputing.sakuraweb.com (219.94.163.231:80)
extra-locale-2.0.taz 100% |*******************************| 4984k 00:00:00 ETA

root@slitaz:/tmp# dd if=extra-locale-2.0.tazpack of=info.txt bs=1 count=2048
2048+0 records in
2048+0 records out
root@slitaz:/tmp# dd if=extra-locale-2.0.tazpack of=extra-locale.tar.gz bs=2048
skip=1
2491+1 records in
2491+1 records out
root@slitaz:/tmp# ls -l
-rw-r--r-- 1 root root 5104107 Feb 11 09:55 extra-locale-2.0.tazpack
-rw-r--r-- 1 root root 5102059 Feb 11 11:47 extra-locale.tar.gz
-rw-r--r-- 1 root root 2048 Feb 11 11:45 info.txt
drwx------ 2 root root 60 Feb 11 08:56 keyring-SX6FZV
-rw-r--r-- 1 root root 667385 Feb 11 09:21 list
drwx------ 2 root root 100 Feb 11 08:56 orbit-root

====
http://spicytunalabs.dyndns.org/wiki/slitaz/#TOOL%3A%3Atazpack

TOOL::tazpack
YourName, 5 March 2010 (created 27 January 2010)

* not tagging

* tags:
* SliTaz flavor

tazpkg is a official package manager. tazpack is a unofficial group package manager.

Tazpack group package system
Tazpack package system is a unoffcial package system which is solved complicated
dependencies. Using tazpack is much easier than using tazpkg.

1. Install tazpack
Note: tazpack is included in latest asimo flavor.

* Download tazpack
* Extract and cpoy to /usr/bin: cp tazpack /usr/bin


2. Basic usage

tazpack usage Short help
tazpack update Update
tazpack clean-cache Clean cache
tazpack list-mirror Available packs
tazpack list Installed packs
tazpack install pack1 pack2 Install pack
tazpack install pack1.tazpack... Install pack(local files)
tazpack remove pack1 pack2... Uninstall pack


3. Tazpack archives
4. About Tazpack System

Tazpack List

* Tazpack List

closeclose othersviewmorefieldssyncingpermalinkreferencesjump
Tazpack List
YourName, 25 March 2010 (created 4 March 2010)

* not tagging

* no tags

* audio pack - sound drivers and simple client(ncmpc, ncmpcpp, sonata) & audio server(mpd)
* audio tools pack - Various audio tools
* banshee pack - multimedia player
* Chrome pack - Google Chrome pack; download Chrome and the related packages
* extra local pack - over 50 extra UTF-8 locales
* extra fonts pack - TTF font pack: CJK, Thai, Tibetan, Indic, Arabic, farsi, Amharic and many more
* GNU commands & others - Replace busybox commands
* gstreamer & ffmpeg pack - ffmpeg, gsteramer and the plugins
* mplayer pack - video player(mplayer and smplayer)
* OpenGL pack - Mesa OpenGL modules and utilities
* mono pack - mono and the bindings
* nvidia driver pack - Linux-2.26.30.6 nvidia proprietary dirver
* printing pack - cups server
* Python2.6 & bindings pack - Python-2.6 and the bindings
* qt pack & qt devel pack - qt runtime modules and development
* screensaver pack - Xscreensaver and rss-glx
* Science, Mathematics and Graphics pack - clisp, maxima, structuresynth, stellarium and graphviz
* video codecs pack - video codecs and related files
* viewer pack - evince viewer and ghostscript
* xorg patch pack - Mesa related patch



closeclose othersviewmorefieldssyncingpermalinkreferencesjump
tazpack system
YourName, 11 February 2010 (created 14 November 2009)

* not tagging

* no tags

Structure of tazpack file
First part(2kB) is tazpack info data and the latter part is a tar archive.

structure of pack file
start content end
0Byte -------- info.txt ----------- 2048 (2048B)
2049 -------- tar archive -------- EOF


Directory tree

(pack name)/pkgs/_control
/pkgs/_control/select.txt
/pkgs/_control/filelist.txt
/pkgs/_control/info.txt
/pkgs/_control/install.sh
/pkgs/_control/configure.sh
/pkgs/_control/uninstall.sh
/pkgs/_control/pkglist.txt
/pkgs/(tazpkg files)


Extract files from tazpack file:

$ tazpack extract (packfile)


$ file=(pack name)-pack-(ver).tazpack
$ dd if=$file of=info.txt bs=1 count=2048
$ dd if=$file of=archive.tar.gz bs=2048 skip=1
$ sed -i '/^$/d' info.txt