On 30/09/10 07:47, Pádraig Brady wrote:
> On 30/09/10 00:50, Carl-Daniel Hailfinger wrote:
>>
>> Mh. Could you please compare the following for both kernels?
> 
>> /proc/iomem
>> The first 100 lines of dmesg
> 
>> I believe there should be a clue somewhere.

Attached is dmesg and iomem from the working kernel
(I just booted a Fedora 14 live key on the same system
 and flashrom works fine).

Nothing obvious from the iomem diff:
(02:00.0 is the ethernet controller BTW)

$ diff broken.iomem working.iomem
11,13c11,13
<   00400000-0079856f : Kernel code
<   00798570-009d970f : Kernel data
<   00a6a000-00b318d7 : Kernel bss
---
>   00400000-007d8801 : Kernel code
>   007d8802-00a6213f : Kernel data
>   00c31000-0130a14b : Kernel bss
19c19
< e0000000-efffffff : PCI MMCONFIG 0 [00-ff]
---
> e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff]
27d26
<   fdc00000-fdc1ffff : 0000:02:00.0
30a30
>   fddc0000-fdddffff : 0000:02:00.0
42c42
<   fec00000-fec00fff : IOAPIC 0
---
>   fec00000-fec003ff : IOAPIC 0



dmesg shows some differences in the memory maps
but I'll need to do further investigation to
be able to interpret these differences:

$ diff broken.dmesg working.dmesg
3,12c3
< Linux version 2.6.32.10-90.fc12.i686 ([email protected]) (gcc version 
4.4.4 20100630 (Red Hat 4.4.4-10) (GCC) ) #1 SMP Fri Aug 13 11:59:33 IST 2010
---
> Linux version 2.6.35.4-28.fc14.i686 ([email protected]) 
> (gcc version 4.5.1 20100907 (Red Hat 4.5.1-3) (GCC) ) #1 SMP Wed Sep 15 
> 02:03:44 UTC 2010
22a14
> Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
25a18,19
> e820 update range: 0000000000000000 - 0000000000001000 (usable) ==> (reserved)
> e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
55c49,50
< initial memory mapped : 0 - 01000000
---
> initial memory mapped : 0 - 01800000
> found SMP MP-table at [c00f3860] f3860
57d51
< Using x86 segment limits to approximate NX protection
61,62c55,56
< kernel direct mapping tables up to 1f6e0000 @ 10000-16000
< RAMDISK: 1e6b6000 - 1f6bf3e3
---
> kernel direct mapping tables up to 1f6e0000 @ 15000-1b000
> RAMDISK: 1ef22000 - 1f6df000
79,90c73,87
<   node 0 bootmap 00013000 - 00016edc
< (9 early reservations) ==> bootmem [0000000000 - 001f6e0000]
<   #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
<   #1 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
<   #2 [0000006000 - 0000007000]       TRAMPOLINE ==> [0000006000 - 0000007000]
<   #3 [0000400000 - 0000b318d8]    TEXT DATA BSS ==> [0000400000 - 0000b318d8]
<   #4 [001e6b6000 - 001f6bf3e3]          RAMDISK ==> [001e6b6000 - 001f6bf3e3]
<   #5 [000009dc00 - 0000100000]    BIOS reserved ==> [000009dc00 - 0000100000]
<   #6 [0000b32000 - 0000b3606a]              BRK ==> [0000b32000 - 0000b3606a]
<   #7 [0000010000 - 0000013000]          PGTABLE ==> [0000010000 - 0000013000]
<   #8 [0000013000 - 0000017000]          BOOTMAP ==> [0000013000 - 0000017000]
< found SMP MP-table at [c00f3860] f3860
---
>   node 0 bootmap 00018000 - 0001bedc
> (13/32 early reservations) ==> bootmem [0000000000 - 001f6e0000]
>   #0 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
>   #1 [0000400000 - 000130a14c]    TEXT DATA BSS ==> [0000400000 - 000130a14c]
>   #2 [001ef22000 - 001f6df000]          RAMDISK ==> [001ef22000 - 001f6df000]
>   #3 [000130b000 - 000131106a]              BRK ==> [000130b000 - 000131106a]
>   #4 [00000f3870 - 0000100000]    BIOS reserved ==> [00000f3870 - 0000100000]
>   #5 [00000f3860 - 00000f3870]     MP-table mpf ==> [00000f3860 - 00000f3870]
>   #6 [000009f000 - 00000f1e34]    BIOS reserved ==> [000009f000 - 00000f1e34]
>   #7 [00000f1f74 - 00000f3860]    BIOS reserved ==> [00000f1f74 - 00000f3860]
>   #8 [00000f1e34 - 00000f1f74]     MP-table mpc ==> [00000f1e34 - 00000f1f74]
>   #9 [0000010000 - 0000011000]       TRAMPOLINE ==> [0000010000 - 0000011000]
>   #10 [0000011000 - 0000015000]      ACPI WAKEUP ==> [0000011000 - 0000015000]
>   #11 [0000015000 - 0000018000]          PGTABLE ==> [0000015000 - 0000018000]
>   #12 [0000018000 - 000001c000]          BOOTMAP ==> [0000018000 - 000001c000]
94c91
<   HighMem  0x0001f6e0 -> 0x0001f6e0
---
>   HighMem  empty
100c97,100
< free_area_init_node: node 0, pgdat c09b9260, node_mem_map c1001200
---
> free_area_init_node: node 0, pgdat c0a42ec0, node_mem_map c1313200
>   DMA zone: 32 pages used for memmap
>   DMA zone: 0 pages reserved
>   DMA zone: 3951 pages, LIFO batch:0



cheers,
Pádraig.
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.35.4-28.fc14.i686 ([email protected]) 
(gcc version 4.5.1 20100907 (Red Hat 4.5.1-3) (GCC) ) #1 SMP Wed Sep 15 
02:03:44 UTC 2010
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001f6e0000 (usable)
 BIOS-e820: 000000001f6e0000 - 000000001f6e3000 (ACPI NVS)
 BIOS-e820: 000000001f6e3000 - 000000001f6f0000 (ACPI data)
 BIOS-e820: 000000001f6f0000 - 000000001f700000 (reserved)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
DMI 2.4 present.
Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
e820 update range: 0000000000000000 - 0000000000001000 (usable) ==> (reserved)
e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
last_pfn = 0x1f6e0 max_arch_pfn = 0x100000
MTRR default type: uncachable
MTRR fixed ranges enabled:
  00000-9FFFF write-back
  A0000-BFFFF uncachable
  C0000-CDFFF write-protect
  CE000-EFFFF uncachable
  F0000-FFFFF write-through
MTRR variable ranges enabled:
  0 base 000000000 mask 0E0000000 write-back
  1 base 01F800000 mask 0FF800000 uncachable
  2 base 01F700000 mask 0FFF00000 uncachable
  3 disabled
  4 disabled
  5 disabled
  6 disabled
  7 disabled
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
original variable MTRRs
reg 0, base: 0GB, range: 512MB, type WB
reg 1, base: 504MB, range: 8MB, type UC
reg 2, base: 503MB, range: 1MB, type UC
total RAM covered: 503M
Found optimal setting for mtrr clean up
 gran_size: 64K         chunk_size: 16M         num_reg: 3      lose cover RAM: 
0G
New variable MTRRs
reg 0, base: 0GB, range: 512MB, type WB
reg 1, base: 503MB, range: 1MB, type UC
reg 2, base: 504MB, range: 8MB, type UC
initial memory mapped : 0 - 01800000
found SMP MP-table at [c00f3860] f3860
init_memory_mapping: 0000000000000000-000000001f6e0000
 0000000000 - 0000400000 page 4k
 0000400000 - 001f400000 page 2M
 001f400000 - 001f6e0000 page 4k
kernel direct mapping tables up to 1f6e0000 @ 15000-1b000
RAMDISK: 1ef22000 - 1f6df000
ACPI: RSDP 000f7b50 00014 (v00 IntelR)
ACPI: RSDT 1f6e3000 0003C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
ACPI: FACP 1f6e3080 00074 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
ACPI: DSDT 1f6e3100 04C76 (v01 INTELR AWRDACPI 00001000 MSFT 03000000)
ACPI: FACS 1f6e0000 00040
ACPI: _HPT 1f6e7e00 00038 (v01 IntelR AWRDACPI 42302E31 AWRD 00000098)
ACPI: _WDT 1f6e7e40 00047 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
ACPI: MCFG 1f6e7ec0 0003C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
ACPI: APIC 1f6e7d80 00068 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
ACPI: SSDT 1f6e8560 00482 (v01  PmRef    CpuPm 00003000 INTL 20050228)
ACPI: Local APIC address 0xfee00000
0MB HIGHMEM available.
502MB LOWMEM available.
  mapped low ram: 0 - 1f6e0000
  low ram: 0 - 1f6e0000
  node 0 low ram: 00000000 - 1f6e0000
  node 0 bootmap 00018000 - 0001bedc
(13/32 early reservations) ==> bootmem [0000000000 - 001f6e0000]
  #0 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
  #1 [0000400000 - 000130a14c]    TEXT DATA BSS ==> [0000400000 - 000130a14c]
  #2 [001ef22000 - 001f6df000]          RAMDISK ==> [001ef22000 - 001f6df000]
  #3 [000130b000 - 000131106a]              BRK ==> [000130b000 - 000131106a]
  #4 [00000f3870 - 0000100000]    BIOS reserved ==> [00000f3870 - 0000100000]
  #5 [00000f3860 - 00000f3870]     MP-table mpf ==> [00000f3860 - 00000f3870]
  #6 [000009f000 - 00000f1e34]    BIOS reserved ==> [000009f000 - 00000f1e34]
  #7 [00000f1f74 - 00000f3860]    BIOS reserved ==> [00000f1f74 - 00000f3860]
  #8 [00000f1e34 - 00000f1f74]     MP-table mpc ==> [00000f1e34 - 00000f1f74]
  #9 [0000010000 - 0000011000]       TRAMPOLINE ==> [0000010000 - 0000011000]
  #10 [0000011000 - 0000015000]      ACPI WAKEUP ==> [0000011000 - 0000015000]
  #11 [0000015000 - 0000018000]          PGTABLE ==> [0000015000 - 0000018000]
  #12 [0000018000 - 000001c000]          BOOTMAP ==> [0000018000 - 000001c000]
Zone PFN ranges:
  DMA      0x00000010 -> 0x00001000
  Normal   0x00001000 -> 0x0001f6e0
  HighMem  empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x0001f6e0
On node 0 totalpages: 128623
free_area_init_node: node 0, pgdat c0a42ec0, node_mem_map c1313200
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 3951 pages, LIFO batch:0
00000000-0000ffff : reserved
00010000-0009efff : System RAM
0009f000-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000d0000-000d0fff : Adapter ROM
000e0000-000effff : pnp 00:0d
000f0000-000fffff : reserved
  000f0000-000fffff : System ROM
00100000-1f6dffff : System RAM
  00400000-007d8801 : Kernel code
  007d8802-00a6213f : Kernel data
  00c31000-0130a14b : Kernel bss
1f6e0000-1f6e2fff : ACPI Non-volatile Storage
1f6e3000-1f6effff : ACPI Tables
1f6f0000-1f6fffff : reserved
1f700000-1fffffff : RAM buffer
d0000000-dfffffff : 0000:00:02.0
e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff]
  e0000000-efffffff : reserved
    e0000000-efffffff : pnp 00:0c
fd800000-fd8fffff : PCI Bus 0000:01
fd900000-fd9fffff : PCI Bus 0000:03
fda00000-fdafffff : PCI Bus 0000:03
fdb00000-fdbfffff : PCI Bus 0000:01
fdc00000-fdcfffff : PCI Bus 0000:02
  fdcf0000-fdcfffff : 0000:02:00.0
    fdcf0000-fdcfffff : r8169
fdd00000-fddfffff : PCI Bus 0000:02
  fddc0000-fdddffff : 0000:02:00.0
  fddff000-fddfffff : 0000:02:00.0
    fddff000-fddfffff : r8169
fde80000-fdefffff : 0000:00:02.0
fdf00000-fdf7ffff : 0000:00:02.1
fdf80000-fdfbffff : 0000:00:02.0
fdff8000-fdffbfff : 0000:00:1b.0
  fdff8000-fdffbfff : ICH HD audio
fdffe000-fdffe3ff : 0000:00:1f.2
fdfff000-fdfff3ff : 0000:00:1d.7
  fdfff000-fdfff3ff : ehci_hcd
fec00000-ffffffff : reserved
  fec00000-fec003ff : IOAPIC 0
  fed00000-fed000ff : pnp 00:0d
  fed13000-fed1dfff : pnp 00:0d
  fed20000-fed8ffff : pnp 00:0d
  fee00000-fee00fff : Local APIC
    fee00000-fee00fff : pnp 00:0d
  ffb00000-ffb7ffff : pnp 00:0d
  fff00000-ffffffff : pnp 00:0d
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to