On Fri, Apr 09, 2010 at 03:27:11PM -0700, Yinghai Lu wrote: > > On Fri, Apr 09, 2010 at 12:55:39PM -0700, Yinghai wrote: > >> update version for test > >> > >> Subject: [PATCH] x86: reserve [0xa0000, 0x100000] in e820 > >> > >> Update e820 at first, and later put them resource tree. > >> But give pci BAR chance to claim the range, before assign unassigned resources. > >> > >> In case some system doesn't have VGA, and use [0xa0000, ..] for mmio of some > >> other pci devices. > >> > > This doesn't help, my AHCI still fails to initialize in the same way. > > > > > bootlog? > > what is the address used for AHCI? Full bootlog attached to https://bugzilla.kernel.org/show_bug.cgi?id=15744 Snippets: [ 0.000000] BIOS-e820: 00000000bfe55c00 - 00000000c0000000 (reserved) [ 0.000000] BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved) [ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fed00400 (reserved) [ 0.000000] BIOS-e820: 00000000fed20000 - 00000000feda0000 (reserved) [ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved) [ 0.000000] BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) [ 0.000000] BIOS-e820: 0000000100000000 - 00000001bc000000 (usable) -- [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a301 base: 0xfed00000 [ 0.000000] SMP: Allowing 8 CPUs, 4 hotplug CPUs [ 0.000000] PM: Registered nosave memory: 000000000009e000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000 [ 0.000000] PM: Registered nosave memory: 00000000bfe01000 - 00000000bfe02000 [ 0.000000] PM: Registered nosave memory: 00000000bfe02000 - 00000000bfe53000 [ 0.000000] PM: Registered nosave memory: 00000000bfe53000 - 00000000bfe54000 -- [ 0.000000] PM: Registered nosave memory: 00000000f0000000 - 00000000fec00000 [ 0.000000] PM: Registered nosave memory: 00000000fec00000 - 00000000fed00000 [ 0.000000] PM: Registered nosave memory: 00000000fed00000 - 00000000fed20000 [ 0.000000] PM: Registered nosave memory: 00000000fed20000 - 00000000feda0000 [ 0.000000] PM: Registered nosave memory: 00000000feda0000 - 00000000fee00000 [ 0.000000] PM: Registered nosave memory: 00000000fee00000 - 00000000fef00000 [ 0.000000] PM: Registered nosave memory: 00000000fef00000 - 00000000ffb00000 [ 0.000000] PM: Registered nosave memory: 00000000ffb00000 - 0000000100000000 -- [ 0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:2304 [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [tty0] enabled [ 0.000000] console [ttyS0] enabled [ 0.000000] Fast TSC calibration using PIT -- [ 0.684251] ACPI: PCI Root Bridge [PCI0] (0000:00) [ 0.702226] pci_root PNP0A03:00: host bridge window [io 0x0000-0x0cf7] [ 0.703002] pci_root PNP0A03:00: host bridge window [io 0x0d00-0xffff] [ 0.704003] pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] [ 0.705002] pci_root PNP0A03:00: host bridge window [mem 0x000c0000-0x000effff] [ 0.706002] pci_root PNP0A03:00: host bridge window [mem 0x000f0000-0x000fffff] [ 0.707001] pci_root PNP0A03:00: host bridge window [mem 0xf0000000-0xfebfffff] -- [ 2.059784] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled. [ 2.065789] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 *9 10 11 12 15) [ 2.070538] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 6 7 9 10 11 12 15) [ 2.074594] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none [ 2.075003] vgaarb: loaded [ 2.076073] SCSI subsystem initialized [ 2.077055] usbcore: registered new interface driver usbfs [ 2.078024] usbcore: registered new interface driver hub -- [ 2.247143] pci 0000:00:1c.5: BAR 9: assigned [mem 0xf0200000-0xf03fffff 64bit pref] [ 2.255207] pci 0000:00:1c.0: BAR 7: assigned [io 0x1000-0x1fff] [ 2.261473] pci 0000:00:1c.5: BAR 7: assigned [io 0x2000-0x2fff] [ 2.267740] pci 0000:00:1f.2: BAR 5: assigned [mem 0x000a0000-0x000a07ff] [ 2.274701] pci 0000:00:1f.2: BAR 5: set to [mem 0x000a0000-0x000a07ff] (PCI address [0xa0000-0xa07ff] [ 2.284326] pci 0000:00:01.0: PCI bridge to [bus 01-01] [ 2.289725] pci 0000:00:01.0: bridge window [io 0xd000-0xdfff] [ 2.295992] pci 0000:00:01.0: bridge window [mem 0xfa000000-0xfdefffff] -- [ 4.376870] brd: module loaded [ 4.381469] loop: module loaded [ 4.384915] Loading iSCSI transport class v2.0-870. [ 4.390597] ahci 0000:00:1f.2: PCI INT C -> GSI 20 (level, low) -> IRQ 20 [ 4.397684] ahci: SSS flag set, parallel bus scan disabled [ 5.405019] ahci 0000:00:1f.2: controller reset failed (0xffffffff) [ 5.411473] ahci 0000:00:1f.2: PCI INT C disabled [ 5.416347] ahci: probe of 0000:00:1f.2 failed with error -5 [ 5.422248] Intel(R) PRO/1000 Network Driver - version 7.3.21-k5-NAPI [ 5.428859] Copyright (c) 1999-2006 Intel Corporation. [ 5.434260] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html