Disassembling

Contemplating flashing my bios, but much anxiety about this. Still it is an advantage of working with a machine you are willing to lose…
Found the /boot/mbr_backup
dd if=/boot/backup_mbr of=/var/mbr.bin bs=512 count=1
then hexdump /var/mbr.bin to get this:
0000000 48eb d090 00bc fb7c 0750 1f50 befc 7c1b
0000010 1bbf 5006 b957 01e5 a4f3 bdcb 07be 04b1
0000020 6e38 7c00 7509 8313 10c5 f4e2 18cd f58b
0000030 c683 4910 1974 2c38 f674 b5a0 b407 0203
0000040 00ff 2000 0001 0000 0200 80fa 80ca 53ea
0000050 007c 3100 8ec0 8ed8 bcd0 2000 a0fb 7c40
0000060 ff3c 0274 c288 be52 7d7b 36e8 f601 80c2
0000070 5674 41b4 aabb cd55 5a13 7252 814b 55fb
0000080 75aa a045 7c41 c084 3e78 0575 e183 7401
0000090 6637 4c8b be10 7c05 44c6 01ff 8b66 441e
00000a0 c77c 1004 c700 0244 0001 8966 085c 44c7
00000b0 0006 6670 c031 4489 6604 4489 b40c cd42
00000c0 7213 bb05 7000 7deb 08b4 13cd 0a73 c2f6
00000d0 0f80 ee84 e900 008d 05be c67c ff44 6600
00000e0 c031 f088 6640 4489 3104 88d2 c1ca 02e2
00000f0 e888 f488 8940 0844 c031 d088 e8c0 6602
0000100 0489 a166 7c44 3166 66d2 34f7 5488 660a
0000110 d231 f766 0474 5488 890b 0c44 443b 7d08
0000120 8a3c 0d54 e2c0 8a06 0a4c c1fe d108 6c8a
0000130 5a0c 748a bb0b 7000 c38e db31 01b8 cd02
0000140 7213 8c2a 8ec3 4806 607c b91e 0100 db8e
0000150 f631 ff31 f3fc 1fa5 ff61 4226 be7c 7d81
0000160 40e8 eb00 be0e 7d86 38e8 eb00 be06 7d90
0000170 30e8 be00 7d95 2ae8 eb00 47fe 5552 2042
0000180 4700 6f65 006d 6148 6472 4420 7369 006b
0000190 6552 6461 2000 7245 6f72 0072 01bb b400
00001a0 cd0e ac10 003c f475 00c3 0000 0000 0000
00001b0 0000 0000 0000 0000 bcce bcce 0000 0100
00001c0 0001 fe82 7e3f 003f 0000 2180 001f 0000
00001d0 7f01 fe83 9a3f 21bf 001f dd1c 0006 0000
00001e0 9b01 fe83 967f fedb 0025 c5fc 003d 0000
00001f0 9741 fe83 ffff c4d7 0063 c86f 00c7 aa55
0000200

want to use disassembler for pIII to read assembly language of code. It’s machine language and not assembly though.
I used sec 14.2 of this file:To disassemble the DSDT part of the ACPI into c language (looks more like assembly, but compilable in c):
acpidmp > /tmp/acpidmp
acpixtract dsdt /tmp/acpidmp > /tmp/dsdt
iasl -d /tmp/dsdt > /tmp/dsdt.dsl
See part of file. dsdt.dsl
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20050309
*
* Disassembly of dsdt.out, Wed Jul 20 11:57:05 2011
*/
DefinitionBlock (“DSDT.aml”, “DSDT”, 1, “INT430”, “SYSFexxx”, 4097)
{
Name (VERS, Package (0x03)
{
“Project: DELL Mojave”,
“Date: 01/28/1998”,
“Ver: 1.00.04”
})
Name (MISC, Buffer (0x07)
{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
})
CreateByteField (MISC, 0x00, MIS0)
CreateByteField (MISC, 0x01, MIS1)
CreateByteField (MISC, 0x02, MIS2)
CreateByteField (MISC, 0x03, MIS3)
CreateByteField (MISC, 0x04, MIS4)
CreateByteField (MISC, 0x05, MIS5)
CreateByteField (MISC, 0x06, MIS6)
Mutex (SMIX, 0x01)
Method (SMI, 2, NotSerialized)
{
Acquire (SMIX, 0xFFFF)
Store (Arg1, \_SB.SMID)
Store (Arg0, \_SB.SMIC)
Store (\_SB.SMIC, Local0)
While (LNot (LEqual (Local0, 0x00)))
{
Store (\_SB.SMIC, Local0)
}

Store (\_SB.SMID, Local1)
Release (SMIX)
Return (Local1)
}

Name (SXX0, Buffer (0x0100) {})
Name (SXX1, Buffer (0x08) {})
CreateWordField (SXX1, 0x00, SXX2)
CreateWordField (SXX1, 0x04, SXX3)
Method (SX10, 0, NotSerialized)
{
Acquire (SMIX, 0xFFFF)
Store (0x00, SXX2)
}

Method (SX30, 1, NotSerialized)
{
Store (SXX2, Local0)
Increment (Local0)
If (LNot (LGreater (Local0, SizeOf (SXX0))))
{
CreateByteField (SXX0, SXX2, SX20)
Store (Arg0, SX20)
Store (Local0, SXX2)
}
}

Method (SX31, 1, NotSerialized)
{
Store (SXX2, Local0)
Add (Local0, 0x02, Local0)
If (LNot (LGreater (Local0, SizeOf (SXX0))))
{
CreateWordField (SXX0, SXX2, SX21)
Store (Arg0, SX21)
Store (Local0, SXX2)
}
}

Method (SX32, 1, NotSerialized)
{
Store (SXX2, Local0)
Add (Local0, 0x04, Local0)
If (LNot (LGreater (Local0, SizeOf (SXX0))))
{
CreateDWordField (SXX0, SXX2, SX22)
Store (Arg0, SX22)
Store (Local0, SXX2)
}
}

Method (SX33, 2, NotSerialized)
{
If (LLess (Arg1, SizeOf (Arg0)))
{
CreateByteField (Arg0, Arg1, SX20)
SX30 (SX20)
}
}

Method (SX34, 2, NotSerialized)
{
Store (0x00, Local0)
While (LLess (Local0, Arg1))
{
SX33 (Arg0, Local0)
Increment (Local0)
}
}

Method (SXX6, 2, NotSerialized)
{
Store (Arg1, \_SB.SMID)
Store (Arg0, \_SB.SMIC)
Store (\_SB.SMIC, Local0)
While (LNot (LEqual (Local0, 0x00)))
{
Store (\_SB.SMIC, Local0)
}

Return (\_SB.SMID)
}

Method (SXX5, 2, NotSerialized)
{
If (LLess (Arg1, SizeOf (Arg0)))
{
CreateByteField (Arg0, Arg1, SX20)
SXX6 (0x7C, SX20)
}
}

Method (SXX4, 0, NotSerialized)
{
SXX6 (0x7B, 0x00)
Store (0x00, Local0)
While (LLess (Local0, SXX2))
{
SXX5 (SXX0, Local0)
Increment (Local0)
}
}

Method (SXX8, 2, NotSerialized)
{
If (LLess (Arg1, SizeOf (Arg0)))
{
CreateByteField (Arg0, Arg1, SX20)
Store (SXX6 (0x7D, 0x00), SX20)
}
}

Obviously, this is not letting me see all of the MBR.bin
Tried to use iasl -d directly on mbr.bin but it is acpi specific. Need more general pIII disassembler.

Also, ran dmidecode to get this (part of file):
SMBIOS 2.3 present.
58 structures occupying 2235 bytes.
Table at 0x000F6D60.
Handle 0xDA00
DMI type 218, 197 bytes.
OEM-specific Type
Header and Data:
DA C5 00 DA B2 00 0D 1F 0F 17 40 6F 00 00 00 01
00 70 00 00 00 00 00 71 00 02 00 01 00 72 00 02
00 00 00 7B 00 04 00 00 00 7C 00 06 00 00 00 79
00 08 00 00 00 7D 00 0A 00 00 00 7E 00 0C 00 00
00 78 00 0E 00 01 00 77 00 0E 00 00 00 73 00 10
00 01 00 74 00 10 00 00 00 7A 00 11 00 00 00 7F
00 12 00 00 00 40 00 13 00 01 00 41 00 13 00 00
00 1E 00 14 00 00 00 1F 00 14 00 01 00 20 00 14
00 02 00 21 00 14 00 03 00 75 00 15 00 01 00 76
00 15 00 00 00 00 80 00 80 00 00 00 A0 00 A0 01
00 05 80 05 80 01 00 01 F0 01 F0 00 00 02 F0 02
F0 00 00 03 F0 03 F0 00 00 04 F0 04 F0 00 00 FF
FF 00 00 00 00
Handle 0x0000
DMI type 0, 20 bytes.
BIOS Information
Vendor: Dell Computer Corporation
Version: A14
Release Date: 05/28/2002
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 512 kB
Characteristics:
ISA is supported
PCI is supported
PC Card (PCMCIA) is supported
PNP is supported
APM is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
3.5″/720 KB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
AGP is supported
LS-120 boot is supported
Smart battery is supported
BIOS boot specification is supported
Handle 0x0100
DMI type 1, 25 bytes.
System Information
Manufacturer: Dell Computer Corporation
Product Name: Latitude CPx H500GT
Version: Not Specified
Serial Number: Not Specified
UUID: 44454C4C-00AA-1000-8000-80C04F000000
Wake-up Type: Power Switch
Handle 0x0200
DMI type 2, 8 bytes.
Base Board Information
Manufacturer: Dell Computer Corporation
Product Name: Latitude CPx H500GT
Version: Not Specified
Serial Number: Not Specified
Handle 0x0300
DMI type 3, 13 bytes.
Chassis Information
Manufacturer: Dell Computer Corporation
Type: Portable
Lock: Not Present
Version: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
Handle 0x0301
DMI type 126, 13 bytes.
Inactive
Handle 0x0400
DMI type 4, 32 bytes.
Processor Information
Socket Designation: Microprocessor
Type: Central Processor
Family: Pentium III
Manufacturer: Intel
ID: 83 06 00 00 FF F9 83 03
Signature: Type 0, Family 6, Model 8, Stepping 3
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
Version: Not Specified
Voltage: 3.3 V
External Clock: 66 MHz
Max Speed: 600 MHz
Current Speed: 500 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: 0x0700
L2 Cache Handle: 0x0701
L3 Cache Handle: Not Provided
Handle 0x0700
DMI type 7, 19 bytes.
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32 KB
Maximum Size: 32 KB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: None
System Type: Unified
Associativity: 4-way Set-associative
Handle 0x0701
DMI type 7, 19 bytes.
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 256 KB
Maximum Size: 256 KB
Supported SRAM Types:
Pipeline Burst
Installed SRAM Type: Pipeline Burst
Speed: 15 ns
Error Correction Type: None
System Type: Unified
Associativity: 4-way Set-associative
Handle 0x0800
DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: PARALLEL
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: DB-25 female
Port Type: Parallel Port PS/2
Handle 0x0801
DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: SERIAL1
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: DB-9 male
Port Type: Serial Port 16550A Compatible
Handle 0x0802
DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: PS/2
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: Mini DIN
Port Type: Mouse Port
Handle 0x0803
DMI type 126, 9 bytes.
Inactive
Handle 0x0804
DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: USB
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0805
DMI type 126, 9 bytes.
Inactive
Handle 0x0806
DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: MONITOR
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: DB-15 female
Port Type: Video Port
Handle 0x0807
DMI type 126, 9 bytes.
Inactive
Handle 0x0808
DMI type 126, 9 bytes.
Inactive
Handle 0x0809
DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: IrDA
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: Infrared
Port Type: Other
Handle 0x080A
DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: S-Video
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: Mini DIN
Port Type: Video Port
Handle 0x0900
DMI type 9, 13 bytes.
System Slot Information
Designation: PCMCIA 0
Type: 32-bit PC Card (PCMCIA)
Current Usage: Available
Length: Other
ID: Adapter 0, Socket 0
Characteristics:
5.0 V is provided
3.3 V is provided
Handle 0x0901
DMI type 9, 13 bytes.
System Slot Information
Designation: PCMCIA 1
Type: 32-bit PC Card (PCMCIA)
Current Usage: Available
Length: Other
ID: Adapter 10, Socket 0
Characteristics:
5.0 V is provided
3.3 V is provided

Otherwise, I am seemingly seeing a system that either boots with internet into unusable graphics mode, or boots without internet or graphics (failsafe), to root from which graphics, but not internet can be launched. Should be fixable.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s