2008-11-04 11:29:34

by Alan Jenkins

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

On Nov 4, 5:10?am, Matthew Garrett <[email protected]> wrote:
> On Tue, Nov 04, 2008 at 02:07:00AM +0000, Matthew Garrett wrote:
> > On Tue, Nov 04, 2008 at 10:58:11AM +0900, Kenji Kaneshige wrote:
> > > > ?t_slot->hpc_ops->get_adapter_status(t_slot, &value); /* Check if
> > > > ?slot is occupied */
> > > >- if (value && pciehp_force) {
> > > >+ if (value && (pciehp_force || pciehp_passive)) {
> > > > ? ? ? ? ?rc = pciehp_enable_slot(t_slot);
> > > > ? ? ? ? ?if (rc) /* -ENODEV: shouldn't happen, but deal with it */
> > > > ? ? ? ? ? ? ? ? ?value = 0;
>
> > This code no longer runs in the pciehp_passive case. However, by the
> > looks of it it still does in the resume case - that probably wants
> > fixing.
>
> Thinking about this - you said that the problem occurs because
> pciehp_force=1 causes it to try to enable an already enabled slot, and
> then tries to power down the slot as a result? It sounds like this code
> should actually be checking whether the return value is ENODEV or
> EINVAL, and in the latter case not powering the slot down. That sounds
> like a separate bugfix that I'll send later on.

I've tested pciehp with this patch on my EeePC, which as you say uses
pcie hotplug to allow power savings when the wireless is not needed.
Functionally it seems ok.

I see kernel log messages saying "Device already exists, cannot hot-
add". I wonder whether this causes the _timing_ problems that I see?

The module takes 2-5 seconds to load (manually after boot, with
pciehp_passive=1). Obviously this is not compatible with ambitious
boot-time targets. Hot-"remove" works immediately, hot-"add" takes a
few seconds, which seems reasonable.

But resuming from suspend to ram can now take 15-20 seconds. It seems
the longer suspend time happens with the device "present"; it's about
5 seconds shorter with the device "removed", but still much longer
than previously. There's more than one PCIE port, so the rest of the
delay could be due to other ports which always have devices "present".

Will it help if I provide a dmesg (with printk.time=1)?

I think removing and re-inserting the module may also increase the
delay... ow.

I just tested this and my EeePC failed to resume, just as if the delay
had become infinite (or > 180 seconds). At this point the screen is
black, not even a cursor... It might be significant that I removed
the pciehp module while the device was "removed".

I will try the "don't suspend consoles" option and see if it sheds any
light.

Thanks!
Alan


2008-11-04 12:47:19

by Matthew Garrett

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

On Tue, Nov 04, 2008 at 03:29:23AM -0800, Alan Jenkins wrote:

> I've tested pciehp with this patch on my EeePC, which as you say uses
> pcie hotplug to allow power savings when the wireless is not needed.
> Functionally it seems ok.

Hurrah. Progress.

> But resuming from suspend to ram can now take 15-20 seconds. It seems
> the longer suspend time happens with the device "present"; it's about
> 5 seconds shorter with the device "removed", but still much longer
> than previously. There's more than one PCIE port, so the rest of the
> delay could be due to other ports which always have devices "present".

Mm. Yeah, a printk with timings would probably be a good plan. I'll do
some poking at this end and see where the time seems to be being lost.

--
Matthew Garrett | [email protected]

2008-11-04 13:32:29

by Matthew Garrett

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

Can you try this one?

diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
index b2801a7..c9f18f9 100644
--- a/drivers/pci/hotplug/pciehp.h
+++ b/drivers/pci/hotplug/pciehp.h
@@ -224,6 +224,10 @@ static inline int pciehp_get_hp_hw_control_from_firmware(struct pci_dev *dev)
{
u32 flags = (OSC_PCI_EXPRESS_NATIVE_HP_CONTROL |
OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL);
+ if (pciehp_force) {
+ dev_info(&dev->dev, "Bypassing BIOS check for pciehp\n");
+ return 0;
+ }
return acpi_get_hp_hw_control_from_firmware(dev, flags);
}

diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c
index 4b23bc3..429e505 100644
--- a/drivers/pci/hotplug/pciehp_core.c
+++ b/drivers/pci/hotplug/pciehp_core.c
@@ -41,6 +41,7 @@ int pciehp_debug;
int pciehp_poll_mode;
int pciehp_poll_time;
int pciehp_force;
+int pciehp_passive=1;
struct workqueue_struct *pciehp_wq;

#define DRIVER_VERSION "0.4"
@@ -50,15 +51,18 @@ struct workqueue_struct *pciehp_wq;
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
+MODULE_ALIAS("acpi*:PNP0A08:*");

module_param(pciehp_debug, bool, 0644);
module_param(pciehp_poll_mode, bool, 0644);
module_param(pciehp_poll_time, int, 0644);
module_param(pciehp_force, bool, 0644);
+module_param(pciehp_passive, bool, 0644);
MODULE_PARM_DESC(pciehp_debug, "Debugging mode enabled or not");
MODULE_PARM_DESC(pciehp_poll_mode, "Using polling mechanism for hot-plug events or not");
MODULE_PARM_DESC(pciehp_poll_time, "Polling mechanism frequency, in seconds");
MODULE_PARM_DESC(pciehp_force, "Force pciehp, even if _OSC and OSHP are missing");
+MODULE_PARM_DESC(pciehp_passive, "Listen for pciehp events, even if _OSC and OSHP are missing");

#define PCIE_MODULE_NAME "pciehp"

@@ -85,6 +89,13 @@ static struct hotplug_slot_ops pciehp_hotplug_slot_ops = {
.get_cur_bus_speed = get_cur_bus_speed,
};

+static struct hotplug_slot_ops pciehp_passive_hotplug_slot_ops = {
+ .owner = THIS_MODULE,
+ .get_adapter_status = get_adapter_status,
+ .get_max_bus_speed = get_max_bus_speed,
+ .get_cur_bus_speed = get_cur_bus_speed,
+};
+
/*
* Check the status of the Electro Mechanical Interlock (EMI)
*/
@@ -212,7 +223,11 @@ static int init_slots(struct controller *ctrl)
hotplug_slot->info = info;
hotplug_slot->private = slot;
hotplug_slot->release = &release_slot;
- hotplug_slot->ops = &pciehp_hotplug_slot_ops;
+ if (pciehp_passive &&
+ pciehp_get_hp_hw_control_from_firmware(ctrl->pci_dev))
+ hotplug_slot->ops = &pciehp_passive_hotplug_slot_ops;
+ else
+ hotplug_slot->ops = &pciehp_hotplug_slot_ops;
slot->hotplug_slot = hotplug_slot;
snprintf(name, SLOT_NAME_SIZE, "%u", slot->number);

@@ -407,11 +422,7 @@ static int pciehp_probe(struct pcie_device *dev, const struct pcie_port_service_
u8 value;
struct pci_dev *pdev = dev->port;

- if (pciehp_force)
- dev_info(&dev->device,
- "Bypassing BIOS check for pciehp use on %s\n",
- pci_name(pdev));
- else if (pciehp_get_hp_hw_control_from_firmware(pdev))
+ if (!pciehp_passive && pciehp_get_hp_hw_control_from_firmware(pdev))
goto err_out_none;

ctrl = pcie_init(dev);
@@ -435,11 +446,9 @@ static int pciehp_probe(struct pcie_device *dev, const struct pcie_port_service_
t_slot = pciehp_find_slot(ctrl, ctrl->slot_device_offset);

t_slot->hpc_ops->get_adapter_status(t_slot, &value); /* Check if slot is occupied */
- if (value && pciehp_force) {
- rc = pciehp_enable_slot(t_slot);
- if (rc) /* -ENODEV: shouldn't happen, but deal with it */
- value = 0;
- }
+ if (value && (pciehp_force || pciehp_passive))
+ pciehp_enable_slot(t_slot);
+
if ((POWER_CTRL(ctrl)) && !value) {
rc = t_slot->hpc_ops->power_off_slot(t_slot); /* Power off slot if not occupied*/
if (rc)
@@ -473,8 +482,11 @@ static int pciehp_suspend (struct pcie_device *dev, pm_message_t state)

static int pciehp_resume (struct pcie_device *dev)
{
+ struct pci_dev *pdev = dev->port;
dev_info(&dev->device, "%s ENTRY\n", __func__);
- if (pciehp_force) {
+
+ if (pciehp_force || (pciehp_passive &&
+ pciehp_get_hp_hw_control_from_firmware(pdev))) {
struct controller *ctrl = get_service_data(dev);
struct slot *t_slot;
u8 status;
diff --git a/drivers/pci/hotplug/pciehp_ctrl.c b/drivers/pci/hotplug/pciehp_ctrl.c
index fead63c..87b704d 100644
--- a/drivers/pci/hotplug/pciehp_ctrl.c
+++ b/drivers/pci/hotplug/pciehp_ctrl.c
@@ -185,7 +185,8 @@ static void set_slot_off(struct controller *ctrl, struct slot * pslot)
* before taking any action that relies on power having been
* removed from the slot/adapter.
*/
- msleep(1000);
+ if (PWR_LED(ctrl) || ATTN_LED(ctrl))
+ msleep(1000);

if (PWR_LED(ctrl))
pslot->hpc_ops->green_led_off(pslot);

--
Matthew Garrett | [email protected]

2008-11-04 14:27:14

by Alan Jenkins

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

[ 0.000000] BIOS EBDA/lowmem at: 0009fc00/0009fc00
[ 0.000000] Linux version 2.6.28-rc3eeepc (alan@alan-desktop) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #123 Tue Nov 4 13:40:44 GMT 2008
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] NSC Geode by NSC
[ 0.000000] Cyrix CyrixInstead
[ 0.000000] Centaur CentaurHauls
[ 0.000000] Transmeta GenuineTMx86
[ 0.000000] Transmeta TransmetaCPU
[ 0.000000] UMC UMC UMC UMC
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000001f780000 (usable)
[ 0.000000] BIOS-e820: 000000001f780000 - 000000001f790000 (ACPI data)
[ 0.000000] BIOS-e820: 000000001f790000 - 000000001f7d0000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000001f7d0000 - 000000001f7de000 (reserved)
[ 0.000000] BIOS-e820: 000000001f7e0000 - 000000001f800000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
[ 0.000000] DMI present.
[ 0.000000] AMI BIOS detected: BIOS may corrupt low RAM, working it around.
[ 0.000000] last_pfn = 0x1f780 max_arch_pfn = 0x1000000
[ 0.000000] kernel direct mapping tables up to 1f780000 @ 10000-16000
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] RAMDISK: 1f3e0000 - 1f76f121
[ 0.000000] ACPI: RSDP 000FBE60, 0014 (r0 ACPIAM)
[ 0.000000] ACPI: RSDT 1F780000, 0034 (r1 A M I OEMRSDT 3000803 MSFT 97)
[ 0.000000] ACPI: FACP 1F780200, 0081 (r1 A M I OEMFACP 3000803 MSFT 97)
[ 0.000000] ACPI: DSDT 1F780400, 5F61 (r1 A0797 A0797000 0 INTL 20051117)
[ 0.000000] ACPI: FACS 1F790000, 0040
[ 0.000000] ACPI: APIC 1F780390, 0068 (r1 A M I OEMAPIC 3000803 MSFT 97)
[ 0.000000] ACPI: OEMB 1F790040, 0046 (r1 A M I AMI_OEM 3000803 MSFT 97)
[ 0.000000] ACPI: MCFG 1F786370, 003C (r1 A M I OEMMCFG 3000803 MSFT 97)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] 503MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 1f780000
[ 0.000000] low ram: 00000000 - 1f780000
[ 0.000000] bootmap 00013000 - 00016ef0
[ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 001f780000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
[ 0.000000] #1 [0000100000 - 00004648a4] TEXT DATA BSS ==> [0000100000 - 00004648a4]
[ 0.000000] #2 [001f3e0000 - 001f76f121] RAMDISK ==> [001f3e0000 - 001f76f121]
[ 0.000000] #3 [0000465000 - 000046c000] INIT_PG_TABLE ==> [0000465000 - 000046c000]
[ 0.000000] #4 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
[ 0.000000] #5 [0000010000 - 0000013000] PGTABLE ==> [0000010000 - 0000013000]
[ 0.000000] #6 [0000013000 - 0000017000] BOOTMAP ==> [0000013000 - 0000017000]
[ 0.000000] found SMP MP-table at [c00ff780] 000ff780
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] Normal 0x00001000 -> 0x0001f780
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x0001f780
[ 0.000000] On node 0 totalpages: 128783
[ 0.000000] free_area_init_node: node 0, pgdat c03be710, node_mem_map c1000200
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3951 pages, LIFO batch:0
[ 0.000000] Normal zone: 975 pages used for memmap
[ 0.000000] Normal zone: 123825 pages, LIFO batch:31
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] ACPI: PM-Timer IO Port: 0x808
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] ACPI: Skipping IOAPIC probe due to 'noapic' option.
[ 0.000000] Using ACPI for processor (LAPIC) configuration information
[ 0.000000] Intel MultiProcessor Specification v1.4
[ 0.000000] Virtual Wire compatibility mode.
[ 0.000000] MPTABLE: OEM ID: INTEL
[ 0.000000] MPTABLE: Product ID:
[ 0.000000] MPTABLE: APIC at: 0xFEE00000
[ 0.000000] I/O APIC #1 Version 32 at 0xFEC00000.
[ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.000000] Processors: 1
[ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e4000
[ 0.000000] PM: Registered nosave memory: 00000000000e4000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 20000000 (gap: 1f800000:df600000)
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 127776
[ 0.000000] Kernel command line: root=/dev/sda1 resume=/dev/sda1 resume_offset=12453 ro vga=0xf07 noapic notsc
[ 0.000000] notsc: Kernel compiled with CONFIG_X86_TSC, cannot disable TSC completely.
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[ 0.000000] Fast TSC calibration using PIT
[ 0.000000] Detected 630.013 MHz processor.
[ 0.000000] Console: colour VGA+ 80x60
[ 0.000000] console [tty0] enabled
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 503408k/515584k available (1646k kernel code, 11620k reserved, 1208k data, 256k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfffac000 - 0xfffff000 ( 332 kB)
[ 0.000000] vmalloc : 0xdff80000 - 0xfffaa000 ( 512 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdf780000 ( 503 MB)
[ 0.000000] .init : 0xc03cc000 - 0xc040c000 ( 256 kB)
[ 0.000000] .data : 0xc029bb06 - 0xc03c9c70 (1208 kB)
[ 0.000000] .text : 0xc0100000 - 0xc029bb06 (1646 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.003333] Calibrating delay loop (skipped), value calculated using timer frequency.. 1260.52 BogoMIPS (lpj=2100043)
[ 0.003333] Mount-cache hash table entries: 512
[ 0.003333] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.003333] CPU: L2 cache: 512K
[ 0.003333] Intel machine check architecture supported.
[ 0.003333] Intel machine check reporting enabled on CPU#0.
[ 0.003333] CPU: Intel(R) Celeron(R) M processor 900MHz stepping 08
[ 0.003333] Checking 'hlt' instruction... OK.
[ 0.016665] Freeing SMP alternatives: 0k freed
[ 0.016665] ACPI: Core revision 20080926
[ 0.036665] ACPI: setting ELCR to 0200 (from 0ca8)
[ 0.039999] net_namespace: 740 bytes
[ 0.039999] NET: Registered protocol family 16
[ 0.039999] ACPI: bus type pci registered
[ 0.039999] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[ 0.039999] PCI: Not using MMCONFIG.
[ 0.039999] PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=5
[ 0.039999] PCI: Using configuration type 1 for base access
[ 0.046665] ACPI: EC: Look up EC in DSDT
[ 0.066665] ACPI: Interpreter enabled
[ 0.066665] ACPI: (supports S0 S1 S3 S4 S5)
[ 0.066665] ACPI: Using PIC for interrupt routing
[ 0.066665] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[ 0.073332] PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
[ 0.073332] PCI: Using MMCONFIG for extended config space
[ 0.089999] ACPI: EC: GPE = 0x18, I/O: command/status = 0x66, data = 0x62
[ 0.089999] ACPI: EC: driver started in poll mode
[ 0.089999] ACPI: No dock devices found.
[ 0.089999] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.089999] pci 0000:00:02.0: reg 10 32bit mmio: [0xf7f00000-0xf7f7ffff]
[ 0.089999] pci 0000:00:02.0: reg 14 io port: [0xec00-0xec07]
[ 0.089999] pci 0000:00:02.0: reg 18 32bit mmio: [0xd0000000-0xdfffffff]
[ 0.089999] pci 0000:00:02.0: reg 1c 32bit mmio: [0xf7ec0000-0xf7efffff]
[ 0.089999] pci 0000:00:02.1: reg 10 32bit mmio: [0xf7f80000-0xf7ffffff]
[ 0.089999] pci 0000:00:1b.0: reg 10 64bit mmio: [0xf7eb8000-0xf7ebbfff]
[ 0.089999] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[ 0.089999] pci 0000:00:1b.0: PME# disabled
[ 0.089999] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[ 0.089999] pci 0000:00:1c.0: PME# disabled
[ 0.089999] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[ 0.089999] pci 0000:00:1c.1: PME# disabled
[ 0.089999] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
[ 0.089999] pci 0000:00:1c.2: PME# disabled
[ 0.093332] pci 0000:00:1d.0: reg 20 io port: [0xe400-0xe41f]
[ 0.093332] pci 0000:00:1d.1: reg 20 io port: [0xe480-0xe49f]
[ 0.093332] pci 0000:00:1d.2: reg 20 io port: [0xe800-0xe81f]
[ 0.093332] pci 0000:00:1d.3: reg 20 io port: [0xe880-0xe89f]
[ 0.093332] pci 0000:00:1d.7: reg 10 32bit mmio: [0xf7eb7c00-0xf7eb7fff]
[ 0.093332] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
[ 0.093332] pci 0000:00:1d.7: PME# disabled
[ 0.093332] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
[ 0.093332] pci 0000:00:1f.0: quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
[ 0.093332] pci 0000:00:1f.0: quirk: region 0480-04bf claimed by ICH6 GPIO
[ 0.093332] pci 0000:00:1f.2: reg 10 io port: [0x00-0x07]
[ 0.093332] pci 0000:00:1f.2: reg 14 io port: [0x00-0x03]
[ 0.093332] pci 0000:00:1f.2: reg 18 io port: [0x00-0x07]
[ 0.093332] pci 0000:00:1f.2: reg 1c io port: [0x00-0x03]
[ 0.093332] pci 0000:00:1f.2: reg 20 io port: [0xffa0-0xffaf]
[ 0.093332] pci 0000:00:1f.2: PME# supported from D3hot
[ 0.093332] pci 0000:00:1f.2: PME# disabled
[ 0.093332] pci 0000:00:1f.3: reg 20 io port: [0x400-0x41f]
[ 0.093332] pci 0000:03:00.0: reg 10 64bit mmio: [0xfbfc0000-0xfbffffff]
[ 0.093332] pci 0000:03:00.0: reg 30 32bit mmio: [0xfbfa0000-0xfbfbffff]
[ 0.093332] pci 0000:03:00.0: PME# supported from D3hot D3cold
[ 0.093332] pci 0000:03:00.0: PME# disabled
[ 0.093332] pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
[ 0.093332] pci 0000:00:1c.1: bridge 32bit mmio: [0xfbf00000-0xfbffffff]
[ 0.093332] pci 0000:01:00.0: reg 10 64bit mmio: [0xfbef0000-0xfbefffff]
[ 0.093332] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
[ 0.096665] pci 0000:00:1c.2: bridge 32bit mmio: [0xf8000000-0xfbefffff]
[ 0.096665] pci 0000:00:1c.2: bridge 64bit mmio pref: [0xf0000000-0xf6ffffff]
[ 0.096665] pci 0000:00:1e.0: transparent bridge
[ 0.096665] bus 00 -> node 0
[ 0.096665] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.096665] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P3._PRT]
[ 0.096665] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P5._PRT]
[ 0.096665] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P6._PRT]
[ 0.109998] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 10 11 12 14 15)
[ 0.109998] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
[ 0.109998] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 11 12 14 15)
[ 0.109998] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *7 10 11 12 14 15)
[ 0.113332] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[ 0.113332] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[ 0.113332] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[ 0.116665] ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 6 7 10 11 12 14 15)
[ 0.116665] SCSI subsystem initialized
[ 0.116665] libata version 3.00 loaded.
[ 0.116665] PCI: Using ACPI for IRQ routing
[ 0.119998] hpet clockevent registered
[ 0.119998] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[ 0.119998] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.119998] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[ 0.123332] pnp: PnP ACPI init
[ 0.123332] ACPI: bus type pnp registered
[ 0.126670] Switched to NOHz mode on CPU #0
[ 0.130007] pnp: PnP ACPI: found 13 devices
[ 0.130007] ACPI: ACPI bus type pnp unregistered
[ 0.130007] system 00:01: iomem range 0xfed13000-0xfed19fff has been reserved
[ 0.130007] system 00:08: ioport range 0x380-0x383 has been reserved
[ 0.130007] system 00:08: ioport range 0x4d0-0x4d1 has been reserved
[ 0.130007] system 00:08: ioport range 0x800-0x87f has been reserved
[ 0.130007] system 00:08: ioport range 0x480-0x4bf has been reserved
[ 0.130007] system 00:08: iomem range 0xfed1c000-0xfed1ffff has been reserved
[ 0.130007] system 00:08: iomem range 0xfed20000-0xfed8ffff has been reserved
[ 0.130007] system 00:08: iomem range 0xfff00000-0xffffffff could not be reserved
[ 0.130007] system 00:09: iomem range 0xfec00000-0xfec00fff has been reserved
[ 0.130007] system 00:09: iomem range 0xfee00000-0xfee00fff has been reserved
[ 0.130007] system 00:0a: iomem range 0xe0000000-0xefffffff has been reserved
[ 0.137589] system 00:0b: iomem range 0xe0000000-0xefffffff has been reserved
[ 0.137589] system 00:0c: iomem range 0x0-0x9ffff could not be reserved
[ 0.137589] system 00:0c: iomem range 0xc0000-0xcffff could not be reserved
[ 0.137589] system 00:0c: iomem range 0xe0000-0xfffff could not be reserved
[ 0.137589] system 00:0c: iomem range 0x100000-0x1f7fffff could not be reserved
[ 0.173337] pci 0000:00:1c.0: PCI bridge, secondary bus 0000:04
[ 0.173337] pci 0000:00:1c.0: IO window: disabled
[ 0.173337] pci 0000:00:1c.0: MEM window: disabled
[ 0.173337] pci 0000:00:1c.0: PREFETCH window: disabled
[ 0.173337] pci 0000:00:1c.1: PCI bridge, secondary bus 0000:03
[ 0.173337] pci 0000:00:1c.1: IO window: disabled
[ 0.173337] pci 0000:00:1c.1: MEM window: 0xfbf00000-0xfbffffff
[ 0.173337] pci 0000:00:1c.1: PREFETCH window: disabled
[ 0.173337] pci 0000:00:1c.2: PCI bridge, secondary bus 0000:01
[ 0.173337] pci 0000:00:1c.2: IO window: disabled
[ 0.173337] pci 0000:00:1c.2: MEM window: 0xf8000000-0xfbefffff
[ 0.173337] pci 0000:00:1c.2: PREFETCH window: 0x000000f0000000-0x000000f6ffffff
[ 0.173337] pci 0000:00:1e.0: PCI bridge, secondary bus 0000:05
[ 0.173337] pci 0000:00:1e.0: IO window: disabled
[ 0.173337] pci 0000:00:1e.0: MEM window: disabled
[ 0.173337] pci 0000:00:1e.0: PREFETCH window: disabled
[ 0.173337] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5
[ 0.173337] PCI: setting IRQ 5 as level-triggered
[ 0.173337] pci 0000:00:1c.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 0.173337] pci 0000:00:1c.0: setting latency timer to 64
[ 0.173337] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[ 0.176707] PCI: setting IRQ 11 as level-triggered
[ 0.176707] pci 0000:00:1c.1: PCI INT B -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
[ 0.176707] pci 0000:00:1c.1: setting latency timer to 64
[ 0.176707] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[ 0.176707] PCI: setting IRQ 10 as level-triggered
[ 0.176707] pci 0000:00:1c.2: PCI INT C -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 0.176707] pci 0000:00:1c.2: setting latency timer to 64
[ 0.176707] pci 0000:00:1e.0: setting latency timer to 64
[ 0.176707] bus: 00 index 0 io port: [0x00-0xffff]
[ 0.176707] bus: 00 index 1 mmio: [0x000000-0xffffffffffffffff]
[ 0.176707] bus: 04 index 0 mmio: [0x0-0x0]
[ 0.176707] bus: 04 index 1 mmio: [0x0-0x0]
[ 0.176707] bus: 04 index 2 mmio: [0x0-0x0]
[ 0.176707] bus: 04 index 3 mmio: [0x0-0x0]
[ 0.176707] bus: 03 index 0 mmio: [0x0-0x0]
[ 0.176707] bus: 03 index 1 mmio: [0xfbf00000-0xfbffffff]
[ 0.176707] bus: 03 index 2 mmio: [0x0-0x0]
[ 0.176707] bus: 03 index 3 mmio: [0x0-0x0]
[ 0.176707] bus: 01 index 0 mmio: [0x0-0x0]
[ 0.176707] bus: 01 index 1 mmio: [0xf8000000-0xfbefffff]
[ 0.176707] bus: 01 index 2 mmio: [0xf0000000-0xf6ffffff]
[ 0.176707] bus: 01 index 3 mmio: [0x0-0x0]
[ 0.176707] bus: 05 index 0 mmio: [0x0-0x0]
[ 0.176707] bus: 05 index 1 mmio: [0x0-0x0]
[ 0.176707] bus: 05 index 2 mmio: [0x0-0x0]
[ 0.176707] bus: 05 index 3 io port: [0x00-0xffff]
[ 0.176707] bus: 05 index 4 mmio: [0x000000-0xffffffffffffffff]
[ 0.176707] NET: Registered protocol family 2
[ 0.179669] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.183003] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.183003] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.183003] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.183003] TCP reno registered
[ 0.183003] NET: Registered protocol family 1
[ 0.183003] checking if image is initramfs... it is
[ 1.030027] Freeing initrd memory: 3644k freed
[ 1.030027] audit: initializing netlink socket (disabled)
[ 1.030027] type=2000 audit(1225807886.030:1): initialized
[ 1.050008] msgmni has been set to 990
[ 1.050008] alg: No test for stdrng (krng)
[ 1.050008] io scheduler noop registered
[ 1.050008] io scheduler anticipatory registered
[ 1.050008] io scheduler deadline registered
[ 1.050008] io scheduler cfq registered (default)
[ 1.050008] pci 0000:00:02.0: Boot video device
[ 1.056675] pcieport-driver 0000:00:1c.0: setting latency timer to 64
[ 1.056675] pcieport-driver 0000:00:1c.0: found MSI capability
[ 1.056675] pcieport-driver 0000:00:1c.0: irq 47 for MSI/MSI-X
[ 1.056675] pci_express 0000:00:1c.0:pcie00: allocate port service
[ 1.056675] pci_express 0000:00:1c.0:pcie02: allocate port service
[ 1.056675] pci_express 0000:00:1c.0:pcie03: allocate port service
[ 1.056675] pcieport-driver 0000:00:1c.1: setting latency timer to 64
[ 1.056675] pcieport-driver 0000:00:1c.1: found MSI capability
[ 1.056675] pcieport-driver 0000:00:1c.1: irq 46 for MSI/MSI-X
[ 1.056675] pci_express 0000:00:1c.1:pcie00: allocate port service
[ 1.056675] pci_express 0000:00:1c.1:pcie02: allocate port service
[ 1.056675] pci_express 0000:00:1c.1:pcie03: allocate port service
[ 1.056675] pcieport-driver 0000:00:1c.2: setting latency timer to 64
[ 1.056675] pcieport-driver 0000:00:1c.2: found MSI capability
[ 1.056675] pcieport-driver 0000:00:1c.2: irq 45 for MSI/MSI-X
[ 1.056675] pci_express 0000:00:1c.2:pcie00: allocate port service
[ 1.056675] pci_express 0000:00:1c.2:pcie02: allocate port service
[ 1.056675] pci_express 0000:00:1c.2:pcie03: allocate port service
[ 1.066675] Serial: 8250/16550 driver4 ports, IRQ sharing disabled
[ 1.070011] brd: module loaded
[ 1.070011] Driver 'sd' needs updating - please use bus_type methods
[ 1.070011] ahci 0000:00:1f.2: version 3.0
[ 1.073345] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 7
[ 1.073345] PCI: setting IRQ 7 as level-triggered
[ 1.073345] ahci 0000:00:1f.2: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 1.073345] ahci 0000:00:1f.2: PCI INT B disabled
[ 1.073345] ahci: probe of 0000:00:1f.2 failed with error -22
[ 1.073345] ata_piix 0000:00:1f.2: version 2.12
[ 1.073345] ata_piix 0000:00:1f.2: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 1.073345] ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
[ 1.073345] ata_piix 0000:00:1f.2: setting latency timer to 64
[ 1.073345] scsi0 : ata_piix
[ 1.073345] scsi1 : ata_piix
[ 1.073345] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
[ 1.073345] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
[ 1.400001] ata2.00: ATA-4: SILICONMOTION SM223AC, , max UDMA/66
[ 1.400001] ata2.00: 7815024 sectors, multi 0: LBA
[ 1.413334] ata2.00: configured for UDMA/66
[ 1.413334] scsi 1:0:0:0: Direct-Access ATA SILICONMOTION SM n/a PQ: 0 ANSI: 5
[ 1.413334] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors: (4.00 GB/3.72 GiB)
[ 1.413334] sd 1:0:0:0: [sda] Write Protect is off
[ 1.413334] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.413334] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1.413334] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors: (4.00 GB/3.72 GiB)
[ 1.413334] sd 1:0:0:0: [sda] Write Protect is off
[ 1.413334] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.413334] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1.413334] sda: sda1
[ 1.413334] sd 1:0:0:0: [sda] Attached SCSI disk
[ 1.415945] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 1.446084] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.446084] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.449417] mice: PS/2 mouse device common for all mice
[ 1.449417] rtc_cmos 00:03: RTC can wake from S4
[ 1.449417] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[ 1.449417] rtc0: alarms up to one month, 114 bytes nvram, , hpet irqs irqs
[ 1.449417] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008)
[ 1.449417] iTCO_wdt: Found a ICH6-M TCO device (Version=2, TCOBASE=0x0860)
[ 1.449417] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 1.449417] iTCO_vendor_support: vendor-support=0
[ 1.449417] cpuidle: using governor ladder
[ 1.449417] cpuidle: using governor menu
[ 1.449417] Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
[ 1.449417] ALSA device list:
[ 1.449417] No soundcards found.
[ 1.450013] TCP cubic registered
[ 1.450013] Using IPI Shortcut mode
[ 1.451426] rtc_cmos 00:03: setting system clock to 2008-11-04 14:11:27 UTC (1225807887)
[ 1.451426] BIOS EDD facility v0.16 2004-Jun-25, 2 devices found
[ 1.451426] Freeing unused kernel memory: 256k freed
[ 1.496683] input: AT Translated Set 2 keyboard as /class/input/input0
[ 1.900004] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[ 1.900004] processor ACPI0007:00: registered as cooling_device0
[ 1.900004] ACPI: Processor [CPU1] (supports 8 throttling states)
[ 1.910013] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 1.912364] Marking TSC unstable due to TSC halts in idle
[ 1.918425] thermal LNXTHERM:01: registered as thermal_zone0
[ 1.933865] ACPI: Thermal Zone [TZ00] (48 C)
[ 2.373352] PM: Starting manual resume from disk
[ 3.460002] usbcore: registered new interface driver usbfs
[ 3.460002] input: PC Speaker as /class/input/input1
[ 3.463345] usbcore: registered new interface driver hub
[ 3.466707] usbcore: registered new device driver usb
[ 3.490010] usbcore: registered new interface driver libusual
[ 3.503345] Initializing USB Mass Storage driver...
[ 3.503345] usbcore: registered new interface driver usb-storage
[ 3.503345] USB Mass Storage support registered.
[ 3.520010] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.520010] ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 3
[ 3.520010] PCI: setting IRQ 3 as level-triggered
[ 3.520010] ehci_hcd 0000:00:1d.7: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 3.520010] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 3.520010] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 3.520010] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[ 3.526676] ehci_hcd 0000:00:1d.7: debug port 1
[ 3.526676] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
[ 3.526676] ehci_hcd 0000:00:1d.7: irq 3, io mem 0xf7eb7c00
[ 3.543342] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[ 3.543342] udev: starting version 131
[ 3.543342] udev: deprecated sysfs layout (kernel too old, or CONFIG_SYSFS_DEPRECATED) is unsupported, some udev features may fail
[ 3.543342] usb usb1: configuration #1 chosen from 1 choice
[ 3.543356] hub 1-0:1.0: USB hub found
[ 3.543356] hub 1-0:1.0: 8 ports detected
[ 3.553354] uhci_hcd: USB Universal Host Controller Interface driver
[ 3.553354] uhci_hcd 0000:00:1d.0: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 3.556726] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 3.556726] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 3.556726] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 3.556726] uhci_hcd 0000:00:1d.0: irq 3, io base 0x0000e400
[ 3.556726] usb usb2: configuration #1 chosen from 1 choice
[ 3.556726] hub 2-0:1.0: USB hub found
[ 3.556726] hub 2-0:1.0: 2 ports detected
[ 3.556726] uhci_hcd 0000:00:1d.1: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 3.556726] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[ 3.556726] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 3.556726] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[ 3.556726] uhci_hcd 0000:00:1d.1: irq 7, io base 0x0000e480
[ 3.556726] usb usb3: configuration #1 chosen from 1 choice
[ 3.556726] hub 3-0:1.0: USB hub found
[ 3.556726] hub 3-0:1.0: 2 ports detected
[ 3.556726] uhci_hcd 0000:00:1d.2: PCI INT C -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 3.556726] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 3.556726] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 3.556726] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[ 3.556726] uhci_hcd 0000:00:1d.2: irq 10, io base 0x0000e800
[ 3.560059] usb usb4: configuration #1 chosen from 1 choice
[ 3.560059] hub 4-0:1.0: USB hub found
[ 3.560059] hub 4-0:1.0: 2 ports detected
[ 3.560059] uhci_hcd 0000:00:1d.3: PCI INT D -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 3.563387] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 3.563387] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[ 3.563387] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[ 3.563387] uhci_hcd 0000:00:1d.3: irq 5, io base 0x0000e880
[ 3.563387] usb usb5: configuration #1 chosen from 1 choice
[ 3.563387] hub 5-0:1.0: USB hub found
[ 3.563387] hub 5-0:1.0: 2 ports detected
[ 3.850022] usb 1-5: new high speed USB device using ehci_hcd and address 2
[ 3.976684] usb 1-5: configuration #1 chosen from 1 choice
[ 3.986683] scsi2 : SCSI emulation for USB Mass Storage devices
[ 3.993357] usb-storage: device found at 2
[ 3.993357] usb-storage: waiting for device to settle before scanning
[ 4.353346] Linux agpgart interface v0.103
[ 4.363346] agpgart-intel 0000:00:00.0: Intel 915GM Chipset
[ 4.363346] agpgart-intel 0000:00:00.0: detected 7932K stolen memory
[ 4.376689] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[ 4.376689] input: Power Button (FF) as /class/input/input2
[ 4.403351] ACPI: Power Button (FF) [PWRF]
[ 4.403351] input: Lid Switch as /class/input/input3
[ 4.423346] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 4.426683] ACPI: Lid Switch [LID]
[ 4.426683] eeepc: Eee PC Hotkey Driver
[ 4.426683] eeepc: Hotkey init flags 0x41
[ 4.426683] eeepc: Get control methods supported: 0x101711
[ 4.426683] input: Asus EeePC extra buttons as /class/input/input4
[ 4.440018] pciehp 0000:00:1c.0:pcie02: HPC vendor_id 8086 device_id 2660 ss_vid 0 ss_did 0
[ 4.440018] pciehp 0000:00:1c.0:pcie02: service driver pciehp loaded
[ 4.440018] pciehp 0000:00:1c.1:pcie02: HPC vendor_id 8086 device_id 2662 ss_vid 0 ss_did 0
[ 4.460020] input: Sleep Button (CM) as /class/input/input5
[ 4.486693] ACPI: Sleep Button (CM) [SLPB]
[ 4.486693] input: Power Button (CM) as /class/input/input6
[ 4.513352] ACPI: Power Button (CM) [PWRB]
[ 4.740023] intel_rng: FWH not detected
[ 5.446477] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 5.446477] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 5.446477] pciehp 0000:00:1c.1:pcie02: service driver pciehp loaded
[ 5.446477] pciehp 0000:00:1c.2:pcie02: HPC vendor_id 8086 device_id 2664 ss_vid 0 ss_did 0
[ 5.446477] HDA Intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 5.446477] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 5.516684] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 5.763349] Synaptics Touchpad, model: 1, fw: 6.5, id: 0x1c0b1, caps: 0xa04751/0xa00000
[ 5.900019] input: SynPS/2 Synaptics TouchPad as /class/input/input7
[ 6.446720] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 6.446720] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 6.446720] pciehp 0000:00:1c.2:pcie02: service driver pciehp loaded
[ 6.446720] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 6.446720] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 6.456687] ACPI: AC Adapter [AC0] (on-line)
[ 6.716681] cfg80211: Using static regulatory domain info
[ 6.716681] cfg80211: Regulatory domain: US
[ 6.716681] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 6.716681] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
[ 6.716681] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.716681] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.716681] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.723018] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.723018] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[ 6.723018] cfg80211: Calling CRDA for country: US
[ 6.836685] ath5k_pci 0000:01:00.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 6.836685] ath5k_pci 0000:01:00.0: setting latency timer to 64
[ 6.836685] ath5k_pci 0000:01:00.0: registered as 'phy0'
[ 6.923345] phy0: Selected rate control algorithm 'pid'
[ 6.945173] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[ 6.956687] udev: renamed network interface wlan0 to ath0
[ 7.096077] ACPI: Battery Slot [BAT0] (battery present)
[ 7.096077] input: Video Bus as /class/input/input8
[ 7.104476] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 7.280008] fuse init (API version 7.10)
[ 8.994654] usb-storage: device scan complete
[ 8.994654] scsi 2:0:0:0: Direct-Access USB2.0 CardReader SD0 0100 PQ: 0 ANSI: 0
[ 9.365279] sd 2:0:0:0: [sdb] 15660032 512-byte hardware sectors: (8.01 GB/7.46 GiB)
[ 9.365603] sd 2:0:0:0: [sdb] Write Protect is off
[ 9.365603] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 9.365603] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 9.373109] sd 2:0:0:0: [sdb] 15660032 512-byte hardware sectors: (8.01 GB/7.46 GiB)
[ 9.376669] sd 2:0:0:0: [sdb] Write Protect is off
[ 9.376669] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 9.376669] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 9.376669] sdb: sdb1
[ 9.376669] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 9.376669] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 21.703339] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: [email protected]
[ 21.753073] aes_i586: Unknown symbol crypto_it_tab
[ 21.753073] aes_i586: Unknown symbol crypto_aes_set_key
[ 21.753073] aes_i586: Unknown symbol crypto_fl_tab
[ 21.755055] aes_i586: Unknown symbol crypto_il_tab
[ 21.755055] aes_i586: Unknown symbol crypto_ft_tab
[ 21.813353] aes_i586: Unknown symbol crypto_it_tab
[ 21.816686] aes_i586: Unknown symbol crypto_aes_set_key
[ 21.816686] aes_i586: Unknown symbol crypto_fl_tab
[ 21.816686] aes_i586: Unknown symbol crypto_il_tab
[ 21.816686] aes_i586: Unknown symbol crypto_ft_tab
[ 22.130004] Adding 409592k swap on /swapfile. Priority:-1 extents:704 across:581464k
[ 22.873341] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 22.940008] nf_conntrack version 0.5.0 (8056 buckets, 32224 max)
[ 22.940008] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[ 22.940008] nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
[ 22.940008] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 23.083334] NET: Registered protocol family 10
[ 23.086682] lo: Disabled Privacy Extensions
[ 23.103341] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 23.527020] sensors[4047]: segfault at 46 ip b7dfd2cd sp bfa2b6c0 error 4 in libc-2.7.so[b7da3000+149000]
[ 23.527020] sensors[4048]: segfault at 46 ip b7dd52cd sp bfe052b0 error 4 in libc-2.7.so[b7d7b000+149000]
[ 24.374482] ACPI: WMI: Mapper loaded
[ 26.011042] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
[ 27.773335] [drm] Initialized drm 1.1.0 20060810
[ 27.800003] pci 0000:00:02.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 27.800003] pci 0000:00:02.0: setting latency timer to 64
[ 27.800003] [drm:i915_gem_detect_bit_6_swizzle] *ERROR* Couldn't read from MCHBAR. Disabling tiling.
[ 27.800003] [drm:i915_driver_load] *ERROR* failed to enable MSI
[ 27.800003] [drm] Initialized i915 1.6.0 20080730 on minor 0
[ 28.517066] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 29.502679] evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64 bytes. See http://userweb.kernel.org/~dtor/eviocgbit-bug.html
[ 102.799993] NET: Registered protocol family 17
[ 104.166663] ath0: authenticate with AP 00:1b:9e:19:45:90
[ 104.173334] ath0: authenticated
[ 104.173334] ath0: associate with AP 00:1b:9e:19:45:90
[ 104.173334] ath0: RX AssocResp from 00:1b:9e:19:45:90 (capab=0x431 status=0 aid=1)
[ 104.173334] ath0: associated
[ 104.176666] ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
[ 125.509995] ath0: no IPv6 routers present
[ 176.640414] pciehp 0000:00:1c.2:pcie02: Card not present on Slot(3)
[ 176.870000] ath5k_pci 0000:01:00.0: PCI INT A disabled
[ 182.568269] pciehp 0000:00:1c.2:pcie02: Card present on Slot(3)
[ 184.673322] pci 0000:01:00.0: reg 10 64bit mmio: [0x000000-0x00ffff]
[ 184.673322] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
[ 184.673322] pciehp: Could not get hotplug parameters
[ 184.673322] ath5k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[ 184.673322] ath5k_pci 0000:01:00.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 184.673322] ath5k_pci 0000:01:00.0: setting latency timer to 64
[ 184.673322] ath5k_pci 0000:01:00.0: registered as 'phy1'
[ 184.726665] phy1: Selected rate control algorithm 'pid'
[ 184.729998] ath5k phy1: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[ 184.783334] udev: renamed network interface wlan0 to ath0
[ 184.917431] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 198.136650] ath0: authenticate with AP 00:1b:9e:19:45:90
[ 198.143315] ath0: authenticated
[ 198.143315] ath0: associate with AP 00:1b:9e:19:45:90
[ 198.146655] ath0: RX AssocResp from 00:1b:9e:19:45:90 (capab=0x431 status=0 aid=1)
[ 198.146655] ath0: associated
[ 198.146655] ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
[ 215.069987] ath0: no IPv6 routers present
[ 215.459995] ath0: deauthenticating by local choice (reason=3)
[ 216.058033] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 218.569999] PM: Syncing filesystems ... done.
[ 218.569999] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 218.569999] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 218.569999] Suspending console(s) (use no_console_suspend to debug)
[ 218.569999] ath5k_pci 0000:01:00.0: PCI INT A disabled
[ 218.586654] pci 0000:00:02.0: PCI INT A disabled
[ 219.133354] sd 1:0:0:0: [sda] Stopping disk
[ 219.133354] pciehp 0000:00:1c.2:pcie02: pciehp_suspend ENTRY
[ 219.133354] pciehp 0000:00:1c.1:pcie02: pciehp_suspend ENTRY
[ 219.133354] pciehp 0000:00:1c.0:pcie02: pciehp_suspend ENTRY
[ 219.133354] ata_piix 0000:00:1f.2: PCI INT B disabled
[ 219.146690] ehci_hcd 0000:00:1d.7: PCI INT A disabled
[ 219.160024] uhci_hcd 0000:00:1d.3: PCI INT D disabled
[ 219.160024] uhci_hcd 0000:00:1d.2: PCI INT C disabled
[ 219.160024] uhci_hcd 0000:00:1d.1: PCI INT B disabled
[ 219.160024] uhci_hcd 0000:00:1d.0: PCI INT A disabled
[ 219.160024] pciehp 0000:00:1c.2:pcie02: pciehp_suspend ENTRY
[ 219.160024] pciehp 0000:00:1c.1:pcie02: pciehp_suspend ENTRY
[ 219.160024] pciehp 0000:00:1c.0:pcie02: pciehp_suspend ENTRY
[ 219.173319] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 219.186691] ACPI: Preparing to enter system sleep state S3
[ 219.186691] Intel machine check architecture supported.
[ 219.186691] Intel machine check reporting enabled on CPU#0.
[ 219.186691] Back to C!
[ 219.186691] Force enabled HPET at resume
[ 219.187675] ACPI: Waking up from system sleep state S3
[ 219.229984] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 219.531025] pci 0000:00:02.0: restoring config space at offset 0x1 (was 0x900007, writing 0x900003)
[ 219.546692] HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[ 219.546692] HDA Intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 219.546692] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 219.546692] pcieport-driver 0000:00:1c.0: restoring config space at offset 0x7 (was 0xf0, writing 0x200000f0)
[ 219.546692] pcieport-driver 0000:00:1c.0: restoring config space at offset 0x1 (was 0x100104, writing 0x100504)
[ 219.546692] pcieport-driver 0000:00:1c.0: setting latency timer to 64
[ 219.546692] pciehp 0000:00:1c.0:pcie02: pciehp_resume ENTRY
[ 220.550024] pcieport-driver 0000:00:1c.1: restoring config space at offset 0x7 (was 0xf0, writing 0x200000f0)
[ 220.550024] pcieport-driver 0000:00:1c.1: restoring config space at offset 0x1 (was 0x180106, writing 0x100506)
[ 220.550024] pciehp 0000:00:1c.1:pcie02: Card present on Slot(2)
[ 220.550024] pcieport-driver 0000:00:1c.1: setting latency timer to 64
[ 220.550024] pciehp 0000:00:1c.1:pcie02: pciehp_resume ENTRY
[ 221.553319] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 221.553319] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 222.556689] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 222.556689] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 224.083318] irq 10: nobody cared (try booting with the "irqpoll" option)
[ 224.083318] Pid: 5969, comm: pm-suspend Not tainted 2.6.28-rc3eeepc #123
[ 224.083318] Call Trace:
[ 224.083318] [<c0142d0c>] __report_bad_irq+0x24/0x69
[ 224.083318] [<c0142d13>] __report_bad_irq+0x2b/0x69
[ 224.083318] [<c0142e3e>] note_interrupt+0xed/0x133
[ 224.083318] [<c0142291>] handle_IRQ_event+0x1a/0x3f
[ 224.083318] [<c0143538>] handle_level_irq+0x4d/0x8d
[ 224.083318] [<c0104e95>] do_IRQ+0x55/0x6c
[ 224.083318] [<c010430b>] common_interrupt+0x23/0x28
[ 224.083318] [<c011ec28>] __do_softirq+0x2a/0xbc
[ 224.083318] [<c011ecdc>] do_softirq+0x22/0x26
[ 224.083318] [<c011ef49>] irq_exit+0x25/0x55
[ 224.083318] [<c010ed82>] smp_apic_timer_interrupt+0x5c/0x64
[ 224.083318] [<c0104338>] apic_timer_interrupt+0x28/0x30
[ 224.083318] [<c01bb6e8>] pci_bus_write_config_word+0x28/0x2e
[ 224.083318] [<c01bd29b>] pci_restore_state+0x79/0x15c
[ 224.083318] [<c01c2440>] resume_iter+0x0/0x25
[ 224.083318] [<c01c2af0>] pcie_portdrv_restore_config+0x9/0x22
[ 224.083318] [<c01c2b45>] pcie_portdrv_resume+0x8/0x10
[ 224.083318] [<c01bf1d3>] pci_legacy_resume+0x15/0x16
[ 224.083318] [<c020984f>] pm_op+0x52/0xac
[ 224.083318] [<c0209e15>] device_resume+0x7d/0x2d2
[ 224.083318] [<c0135c91>] suspend_devices_and_enter+0xc7/0xfb
[ 224.083318] [<c0135de6>] enter_state+0xdf/0x12e
[ 224.083318] [<c0135ec3>] state_store+0x8e/0xa4
[ 224.083318] [<c0135e35>] state_store+0x0/0xa4
[ 224.083318] [<c01b3d8b>] kobj_attr_store+0x18/0x1c
[ 224.083318] [<c0190d72>] sysfs_write_file+0xaf/0xdc
[ 224.083318] [<c0190cc3>] sysfs_write_file+0x0/0xdc
[ 224.083318] [<c0162b38>] vfs_write+0x83/0xf6
[ 224.083318] [<c0162ec9>] sys_write+0x3c/0x63
[ 224.083318] [<c010376d>] sysenter_do_call+0x12/0x21
[ 224.083318] [<c0290000>] __inet6_lookup_established+0x98/0x21c
[ 224.083318] handlers:
[ 224.083318] [<e0018d79>] (usb_hcd_irq+0x0/0x57 [usbcore])
[ 224.083318] Disabling IRQ #10
[ 224.083318] pcieport-driver 0000:00:1c.2: restoring config space at offset 0x7 (was 0xf0, writing 0x200000f0)
[ 224.083318] pcieport-driver 0000:00:1c.2: restoring config space at offset 0x1 (was 0x180106, writing 0x100506)
[ 224.083318] pciehp 0000:00:1c.2:pcie02: Card present on Slot(3)
[ 224.083318] pcieport-driver 0000:00:1c.2: setting latency timer to 64
[ 224.083318] pciehp 0000:00:1c.2:pcie02: pciehp_resume ENTRY
[ 225.090021] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 225.090021] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 226.093356] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 226.093356] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 226.093356] uhci_hcd 0000:00:1d.0: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 226.093356] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 226.093356] usb usb2: root hub lost power or was reset
[ 226.093356] uhci_hcd 0000:00:1d.1: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 226.093356] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[ 226.093356] usb usb3: root hub lost power or was reset
[ 226.093356] uhci_hcd 0000:00:1d.2: PCI INT C -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 226.093356] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 226.093356] usb usb4: root hub lost power or was reset
[ 226.093356] uhci_hcd 0000:00:1d.3: PCI INT D -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 226.093356] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 226.093356] usb usb5: root hub lost power or was reset
[ 226.106688] ehci_hcd 0000:00:1d.7: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 226.106688] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 226.106688] pci 0000:00:1e.0: restoring config space at offset 0xf (was 0x60000, writing 0x600ff)
[ 226.106688] pci 0000:00:1e.0: setting latency timer to 64
[ 226.120022] ata_piix 0000:00:1f.2: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 226.120022] ata_piix 0000:00:1f.2: setting latency timer to 64
[ 226.120022] pciehp 0000:00:1c.0:pcie02: pciehp_resume ENTRY
[ 226.296690] ata2.00: configured for UDMA/66
[ 226.296690] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors: (4.00 GB/3.72 GiB)
[ 226.296690] sd 1:0:0:0: [sda] Write Protect is off
[ 226.296690] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 226.296690] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 227.123356] pciehp 0000:00:1c.1:pcie02: pciehp_resume ENTRY
[ 228.126687] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 228.126687] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 228.126687] pciehp 0000:00:1c.2:pcie02: pciehp_resume ENTRY
[ 229.130022] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 229.130022] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 229.130022] sd 1:0:0:0: [sda] Starting disk
[ 229.386688] usb 1-5: reset high speed USB device using ehci_hcd and address 2
[ 230.623356] pci 0000:00:02.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 230.623356] pci 0000:00:02.0: setting latency timer to 64
[ 230.623356] ath5k_pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xf8000004)
[ 230.623356] ath5k_pci 0000:01:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[ 230.623356] ath5k_pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100006)
[ 230.671002] ath5k_pci 0000:01:00.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 230.696647] Restarting tasks ... done.
[ 231.688554] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 234.343355] evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64 bytes. See http://userweb.kernel.org/~dtor/eviocgbit-bug.html
[ 245.923311] ath0: authenticate with AP 00:1b:9e:19:45:90
[ 245.926363] ath0: authenticated
[ 245.926363] ath0: associate with AP 00:1b:9e:19:45:90
[ 245.929977] ath0: RX AssocResp from 00:1b:9e:19:45:90 (capab=0x431 status=0 aid=1)
[ 245.929977] ath0: associated
[ 245.929977] ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
[ 256.390018] ath0: no IPv6 routers present
[ 271.316682] ath0: no IPv6 routers present


Attachments:
dmesg (44.37 kB)

2008-11-04 14:33:46

by Matthew Garrett

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

Ah, one more spot. How about this one?

diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
index b2801a7..c9f18f9 100644
--- a/drivers/pci/hotplug/pciehp.h
+++ b/drivers/pci/hotplug/pciehp.h
@@ -224,6 +224,10 @@ static inline int pciehp_get_hp_hw_control_from_firmware(struct pci_dev *dev)
{
u32 flags = (OSC_PCI_EXPRESS_NATIVE_HP_CONTROL |
OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL);
+ if (pciehp_force) {
+ dev_info(&dev->dev, "Bypassing BIOS check for pciehp\n");
+ return 0;
+ }
return acpi_get_hp_hw_control_from_firmware(dev, flags);
}

diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c
index 4b23bc3..429e505 100644
--- a/drivers/pci/hotplug/pciehp_core.c
+++ b/drivers/pci/hotplug/pciehp_core.c
@@ -41,6 +41,7 @@ int pciehp_debug;
int pciehp_poll_mode;
int pciehp_poll_time;
int pciehp_force;
+int pciehp_passive=1;
struct workqueue_struct *pciehp_wq;

#define DRIVER_VERSION "0.4"
@@ -50,15 +51,18 @@ struct workqueue_struct *pciehp_wq;
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
+MODULE_ALIAS("acpi*:PNP0A08:*");

module_param(pciehp_debug, bool, 0644);
module_param(pciehp_poll_mode, bool, 0644);
module_param(pciehp_poll_time, int, 0644);
module_param(pciehp_force, bool, 0644);
+module_param(pciehp_passive, bool, 0644);
MODULE_PARM_DESC(pciehp_debug, "Debugging mode enabled or not");
MODULE_PARM_DESC(pciehp_poll_mode, "Using polling mechanism for hot-plug events or not");
MODULE_PARM_DESC(pciehp_poll_time, "Polling mechanism frequency, in seconds");
MODULE_PARM_DESC(pciehp_force, "Force pciehp, even if _OSC and OSHP are missing");
+MODULE_PARM_DESC(pciehp_passive, "Listen for pciehp events, even if _OSC and OSHP are missing");

#define PCIE_MODULE_NAME "pciehp"

@@ -85,6 +89,13 @@ static struct hotplug_slot_ops pciehp_hotplug_slot_ops = {
.get_cur_bus_speed = get_cur_bus_speed,
};

+static struct hotplug_slot_ops pciehp_passive_hotplug_slot_ops = {
+ .owner = THIS_MODULE,
+ .get_adapter_status = get_adapter_status,
+ .get_max_bus_speed = get_max_bus_speed,
+ .get_cur_bus_speed = get_cur_bus_speed,
+};
+
/*
* Check the status of the Electro Mechanical Interlock (EMI)
*/
@@ -212,7 +223,11 @@ static int init_slots(struct controller *ctrl)
hotplug_slot->info = info;
hotplug_slot->private = slot;
hotplug_slot->release = &release_slot;
- hotplug_slot->ops = &pciehp_hotplug_slot_ops;
+ if (pciehp_passive &&
+ pciehp_get_hp_hw_control_from_firmware(ctrl->pci_dev))
+ hotplug_slot->ops = &pciehp_passive_hotplug_slot_ops;
+ else
+ hotplug_slot->ops = &pciehp_hotplug_slot_ops;
slot->hotplug_slot = hotplug_slot;
snprintf(name, SLOT_NAME_SIZE, "%u", slot->number);

@@ -407,11 +422,7 @@ static int pciehp_probe(struct pcie_device *dev, const struct pcie_port_service_
u8 value;
struct pci_dev *pdev = dev->port;

- if (pciehp_force)
- dev_info(&dev->device,
- "Bypassing BIOS check for pciehp use on %s\n",
- pci_name(pdev));
- else if (pciehp_get_hp_hw_control_from_firmware(pdev))
+ if (!pciehp_passive && pciehp_get_hp_hw_control_from_firmware(pdev))
goto err_out_none;

ctrl = pcie_init(dev);
@@ -435,11 +446,9 @@ static int pciehp_probe(struct pcie_device *dev, const struct pcie_port_service_
t_slot = pciehp_find_slot(ctrl, ctrl->slot_device_offset);

t_slot->hpc_ops->get_adapter_status(t_slot, &value); /* Check if slot is occupied */
- if (value && pciehp_force) {
- rc = pciehp_enable_slot(t_slot);
- if (rc) /* -ENODEV: shouldn't happen, but deal with it */
- value = 0;
- }
+ if (value && (pciehp_force || pciehp_passive))
+ pciehp_enable_slot(t_slot);
+
if ((POWER_CTRL(ctrl)) && !value) {
rc = t_slot->hpc_ops->power_off_slot(t_slot); /* Power off slot if not occupied*/
if (rc)
@@ -473,8 +482,11 @@ static int pciehp_suspend (struct pcie_device *dev, pm_message_t state)

static int pciehp_resume (struct pcie_device *dev)
{
+ struct pci_dev *pdev = dev->port;
dev_info(&dev->device, "%s ENTRY\n", __func__);
- if (pciehp_force) {
+
+ if (pciehp_force || (pciehp_passive &&
+ pciehp_get_hp_hw_control_from_firmware(pdev))) {
struct controller *ctrl = get_service_data(dev);
struct slot *t_slot;
u8 status;
diff --git a/drivers/pci/hotplug/pciehp_ctrl.c b/drivers/pci/hotplug/pciehp_ctrl.c
index fead63c..9aee98f 100644
--- a/drivers/pci/hotplug/pciehp_ctrl.c
+++ b/drivers/pci/hotplug/pciehp_ctrl.c
@@ -185,7 +185,8 @@ static void set_slot_off(struct controller *ctrl, struct slot * pslot)
* before taking any action that relies on power having been
* removed from the slot/adapter.
*/
- msleep(1000);
+ if (PWR_LED(ctrl) || ATTN_LED(ctrl))
+ msleep(1000);

if (PWR_LED(ctrl))
pslot->hpc_ops->green_led_off(pslot);
@@ -288,17 +289,16 @@ static int remove_board(struct slot *p_slot)
}
}

- /*
- * After turning power off, we must wait for at least 1 second
- * before taking any action that relies on power having been
- * removed from the slot/adapter.
- */
- msleep(1000);
-
- if (PWR_LED(ctrl))
+ if (PWR_LED(ctrl)) {
+ /*
+ * After turning power off, we must wait for at least 1 second
+ * before taking any action that relies on power having been
+ * removed from the slot/adapter.
+ */
+ msleep(1000);
/* turn off Green LED */
p_slot->hpc_ops->green_led_off(p_slot);
-
+ }
return 0;
}


--
Matthew Garrett | [email protected]

2008-11-04 15:01:29

by Alan Jenkins

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

[ 0.000000] BIOS EBDA/lowmem at: 0009fc00/0009fc00
[ 0.000000] Linux version 2.6.28-rc3eeepc (alan@alan-desktop) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #124 Tue Nov 4 14:44:30 GMT 2008
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] NSC Geode by NSC
[ 0.000000] Cyrix CyrixInstead
[ 0.000000] Centaur CentaurHauls
[ 0.000000] Transmeta GenuineTMx86
[ 0.000000] Transmeta TransmetaCPU
[ 0.000000] UMC UMC UMC UMC
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000001f780000 (usable)
[ 0.000000] BIOS-e820: 000000001f780000 - 000000001f790000 (ACPI data)
[ 0.000000] BIOS-e820: 000000001f790000 - 000000001f7d0000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000001f7d0000 - 000000001f7de000 (reserved)
[ 0.000000] BIOS-e820: 000000001f7e0000 - 000000001f800000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
[ 0.000000] DMI present.
[ 0.000000] AMI BIOS detected: BIOS may corrupt low RAM, working it around.
[ 0.000000] last_pfn = 0x1f780 max_arch_pfn = 0x1000000
[ 0.000000] kernel direct mapping tables up to 1f780000 @ 10000-16000
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] RAMDISK: 1f3e0000 - 1f76f12f
[ 0.000000] ACPI: RSDP 000FBE60, 0014 (r0 ACPIAM)
[ 0.000000] ACPI: RSDT 1F780000, 0034 (r1 A M I OEMRSDT 3000803 MSFT 97)
[ 0.000000] ACPI: FACP 1F780200, 0081 (r1 A M I OEMFACP 3000803 MSFT 97)
[ 0.000000] ACPI: DSDT 1F780400, 5F61 (r1 A0797 A0797000 0 INTL 20051117)
[ 0.000000] ACPI: FACS 1F790000, 0040
[ 0.000000] ACPI: APIC 1F780390, 0068 (r1 A M I OEMAPIC 3000803 MSFT 97)
[ 0.000000] ACPI: OEMB 1F790040, 0046 (r1 A M I AMI_OEM 3000803 MSFT 97)
[ 0.000000] ACPI: MCFG 1F786370, 003C (r1 A M I OEMMCFG 3000803 MSFT 97)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] 503MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 1f780000
[ 0.000000] low ram: 00000000 - 1f780000
[ 0.000000] bootmap 00013000 - 00016ef0
[ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 001f780000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
[ 0.000000] #1 [0000100000 - 00004648a4] TEXT DATA BSS ==> [0000100000 - 00004648a4]
[ 0.000000] #2 [001f3e0000 - 001f76f12f] RAMDISK ==> [001f3e0000 - 001f76f12f]
[ 0.000000] #3 [0000465000 - 000046c000] INIT_PG_TABLE ==> [0000465000 - 000046c000]
[ 0.000000] #4 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
[ 0.000000] #5 [0000010000 - 0000013000] PGTABLE ==> [0000010000 - 0000013000]
[ 0.000000] #6 [0000013000 - 0000017000] BOOTMAP ==> [0000013000 - 0000017000]
[ 0.000000] found SMP MP-table at [c00ff780] 000ff780
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] Normal 0x00001000 -> 0x0001f780
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x0001f780
[ 0.000000] On node 0 totalpages: 128783
[ 0.000000] free_area_init_node: node 0, pgdat c03be710, node_mem_map c1000200
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3951 pages, LIFO batch:0
[ 0.000000] Normal zone: 975 pages used for memmap
[ 0.000000] Normal zone: 123825 pages, LIFO batch:31
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] ACPI: PM-Timer IO Port: 0x808
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] ACPI: Skipping IOAPIC probe due to 'noapic' option.
[ 0.000000] Using ACPI for processor (LAPIC) configuration information
[ 0.000000] Intel MultiProcessor Specification v1.4
[ 0.000000] Virtual Wire compatibility mode.
[ 0.000000] MPTABLE: OEM ID: INTEL
[ 0.000000] MPTABLE: Product ID:
[ 0.000000] MPTABLE: APIC at: 0xFEE00000
[ 0.000000] I/O APIC #1 Version 32 at 0xFEC00000.
[ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.000000] Processors: 1
[ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e4000
[ 0.000000] PM: Registered nosave memory: 00000000000e4000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 20000000 (gap: 1f800000:df600000)
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 127776
[ 0.000000] Kernel command line: root=/dev/sda1 resume=/dev/sda1 resume_offset=12453 ro vga=0xf07 noapic notsc
[ 0.000000] notsc: Kernel compiled with CONFIG_X86_TSC, cannot disable TSC completely.
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[ 0.000000] Fast TSC calibration using PIT
[ 0.000000] Detected 630.108 MHz processor.
[ 0.000000] Console: colour VGA+ 80x60
[ 0.000000] console [tty0] enabled
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 503408k/515584k available (1646k kernel code, 11620k reserved, 1208k data, 256k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfffac000 - 0xfffff000 ( 332 kB)
[ 0.000000] vmalloc : 0xdff80000 - 0xfffaa000 ( 512 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdf780000 ( 503 MB)
[ 0.000000] .init : 0xc03cc000 - 0xc040c000 ( 256 kB)
[ 0.000000] .data : 0xc029bb06 - 0xc03c9c70 (1208 kB)
[ 0.000000] .text : 0xc0100000 - 0xc029bb06 (1646 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.003333] Calibrating delay loop (skipped), value calculated using timer frequency.. 1260.72 BogoMIPS (lpj=2100360)
[ 0.003333] Mount-cache hash table entries: 512
[ 0.003333] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.003333] CPU: L2 cache: 512K
[ 0.003333] Intel machine check architecture supported.
[ 0.003333] Intel machine check reporting enabled on CPU#0.
[ 0.003333] CPU: Intel(R) Celeron(R) M processor 900MHz stepping 08
[ 0.003333] Checking 'hlt' instruction... OK.
[ 0.016665] Freeing SMP alternatives: 0k freed
[ 0.016665] ACPI: Core revision 20080926
[ 0.036665] ACPI: setting ELCR to 0200 (from 0ca8)
[ 0.039999] net_namespace: 740 bytes
[ 0.039999] NET: Registered protocol family 16
[ 0.039999] ACPI: bus type pci registered
[ 0.039999] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[ 0.039999] PCI: Not using MMCONFIG.
[ 0.039999] PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=5
[ 0.039999] PCI: Using configuration type 1 for base access
[ 0.046665] ACPI: EC: Look up EC in DSDT
[ 0.066665] ACPI: Interpreter enabled
[ 0.066665] ACPI: (supports S0 S1 S3 S4 S5)
[ 0.066665] ACPI: Using PIC for interrupt routing
[ 0.066665] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[ 0.073332] PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
[ 0.073332] PCI: Using MMCONFIG for extended config space
[ 0.086665] ACPI: EC: GPE = 0x18, I/O: command/status = 0x66, data = 0x62
[ 0.089999] ACPI: EC: driver started in poll mode
[ 0.089999] ACPI: No dock devices found.
[ 0.089999] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.089999] pci 0000:00:02.0: reg 10 32bit mmio: [0xf7f00000-0xf7f7ffff]
[ 0.089999] pci 0000:00:02.0: reg 14 io port: [0xec00-0xec07]
[ 0.089999] pci 0000:00:02.0: reg 18 32bit mmio: [0xd0000000-0xdfffffff]
[ 0.089999] pci 0000:00:02.0: reg 1c 32bit mmio: [0xf7ec0000-0xf7efffff]
[ 0.089999] pci 0000:00:02.1: reg 10 32bit mmio: [0xf7f80000-0xf7ffffff]
[ 0.089999] pci 0000:00:1b.0: reg 10 64bit mmio: [0xf7eb8000-0xf7ebbfff]
[ 0.089999] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[ 0.089999] pci 0000:00:1b.0: PME# disabled
[ 0.089999] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[ 0.089999] pci 0000:00:1c.0: PME# disabled
[ 0.089999] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[ 0.089999] pci 0000:00:1c.1: PME# disabled
[ 0.089999] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
[ 0.089999] pci 0000:00:1c.2: PME# disabled
[ 0.089999] pci 0000:00:1d.0: reg 20 io port: [0xe400-0xe41f]
[ 0.089999] pci 0000:00:1d.1: reg 20 io port: [0xe480-0xe49f]
[ 0.089999] pci 0000:00:1d.2: reg 20 io port: [0xe800-0xe81f]
[ 0.089999] pci 0000:00:1d.3: reg 20 io port: [0xe880-0xe89f]
[ 0.089999] pci 0000:00:1d.7: reg 10 32bit mmio: [0xf7eb7c00-0xf7eb7fff]
[ 0.089999] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
[ 0.089999] pci 0000:00:1d.7: PME# disabled
[ 0.089999] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
[ 0.089999] pci 0000:00:1f.0: quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
[ 0.089999] pci 0000:00:1f.0: quirk: region 0480-04bf claimed by ICH6 GPIO
[ 0.093332] pci 0000:00:1f.2: reg 10 io port: [0x00-0x07]
[ 0.093332] pci 0000:00:1f.2: reg 14 io port: [0x00-0x03]
[ 0.093332] pci 0000:00:1f.2: reg 18 io port: [0x00-0x07]
[ 0.093332] pci 0000:00:1f.2: reg 1c io port: [0x00-0x03]
[ 0.093332] pci 0000:00:1f.2: reg 20 io port: [0xffa0-0xffaf]
[ 0.093332] pci 0000:00:1f.2: PME# supported from D3hot
[ 0.093332] pci 0000:00:1f.2: PME# disabled
[ 0.093332] pci 0000:00:1f.3: reg 20 io port: [0x400-0x41f]
[ 0.093332] pci 0000:03:00.0: reg 10 64bit mmio: [0xfbfc0000-0xfbffffff]
[ 0.093332] pci 0000:03:00.0: reg 30 32bit mmio: [0xfbfa0000-0xfbfbffff]
[ 0.093332] pci 0000:03:00.0: PME# supported from D3hot D3cold
[ 0.093332] pci 0000:03:00.0: PME# disabled
[ 0.093332] pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
[ 0.093332] pci 0000:00:1c.1: bridge 32bit mmio: [0xfbf00000-0xfbffffff]
[ 0.093332] pci 0000:01:00.0: reg 10 64bit mmio: [0xfbef0000-0xfbefffff]
[ 0.093332] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
[ 0.093332] pci 0000:00:1c.2: bridge 32bit mmio: [0xf8000000-0xfbefffff]
[ 0.093332] pci 0000:00:1c.2: bridge 64bit mmio pref: [0xf0000000-0xf6ffffff]
[ 0.093332] pci 0000:00:1e.0: transparent bridge
[ 0.093332] bus 00 -> node 0
[ 0.093332] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.093332] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P3._PRT]
[ 0.093332] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P5._PRT]
[ 0.093332] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P6._PRT]
[ 0.106665] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 10 11 12 14 15)
[ 0.106665] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
[ 0.106665] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 11 12 14 15)
[ 0.109998] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *7 10 11 12 14 15)
[ 0.109998] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[ 0.109998] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[ 0.113332] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[ 0.113332] ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 6 7 10 11 12 14 15)
[ 0.116665] SCSI subsystem initialized
[ 0.116665] libata version 3.00 loaded.
[ 0.116665] PCI: Using ACPI for IRQ routing
[ 0.116665] hpet clockevent registered
[ 0.116665] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[ 0.116665] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.116665] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[ 0.119998] pnp: PnP ACPI init
[ 0.119998] ACPI: bus type pnp registered
[ 0.123336] Switched to NOHz mode on CPU #0
[ 0.126672] pnp: PnP ACPI: found 13 devices
[ 0.126672] ACPI: ACPI bus type pnp unregistered
[ 0.126672] system 00:01: iomem range 0xfed13000-0xfed19fff has been reserved
[ 0.126672] system 00:08: ioport range 0x380-0x383 has been reserved
[ 0.126672] system 00:08: ioport range 0x4d0-0x4d1 has been reserved
[ 0.126672] system 00:08: ioport range 0x800-0x87f has been reserved
[ 0.126672] system 00:08: ioport range 0x480-0x4bf has been reserved
[ 0.126672] system 00:08: iomem range 0xfed1c000-0xfed1ffff has been reserved
[ 0.126672] system 00:08: iomem range 0xfed20000-0xfed8ffff has been reserved
[ 0.126672] system 00:08: iomem range 0xfff00000-0xffffffff could not be reserved
[ 0.126672] system 00:09: iomem range 0xfec00000-0xfec00fff has been reserved
[ 0.126672] system 00:09: iomem range 0xfee00000-0xfee00fff has been reserved
[ 0.126672] system 00:0a: iomem range 0xe0000000-0xefffffff has been reserved
[ 0.134286] system 00:0b: iomem range 0xe0000000-0xefffffff has been reserved
[ 0.134286] system 00:0c: iomem range 0x0-0x9ffff could not be reserved
[ 0.134286] system 00:0c: iomem range 0xc0000-0xcffff could not be reserved
[ 0.134286] system 00:0c: iomem range 0xe0000-0xfffff could not be reserved
[ 0.134286] system 00:0c: iomem range 0x100000-0x1f7fffff could not be reserved
[ 0.170004] pci 0000:00:1c.0: PCI bridge, secondary bus 0000:04
[ 0.170004] pci 0000:00:1c.0: IO window: disabled
[ 0.170004] pci 0000:00:1c.0: MEM window: disabled
[ 0.170004] pci 0000:00:1c.0: PREFETCH window: disabled
[ 0.170004] pci 0000:00:1c.1: PCI bridge, secondary bus 0000:03
[ 0.170004] pci 0000:00:1c.1: IO window: disabled
[ 0.170004] pci 0000:00:1c.1: MEM window: 0xfbf00000-0xfbffffff
[ 0.170004] pci 0000:00:1c.1: PREFETCH window: disabled
[ 0.170004] pci 0000:00:1c.2: PCI bridge, secondary bus 0000:01
[ 0.170004] pci 0000:00:1c.2: IO window: disabled
[ 0.170004] pci 0000:00:1c.2: MEM window: 0xf8000000-0xfbefffff
[ 0.170004] pci 0000:00:1c.2: PREFETCH window: 0x000000f0000000-0x000000f6ffffff
[ 0.170004] pci 0000:00:1e.0: PCI bridge, secondary bus 0000:05
[ 0.170004] pci 0000:00:1e.0: IO window: disabled
[ 0.170004] pci 0000:00:1e.0: MEM window: disabled
[ 0.170004] pci 0000:00:1e.0: PREFETCH window: disabled
[ 0.170004] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5
[ 0.170004] PCI: setting IRQ 5 as level-triggered
[ 0.170004] pci 0000:00:1c.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 0.170004] pci 0000:00:1c.0: setting latency timer to 64
[ 0.170004] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[ 0.173390] PCI: setting IRQ 11 as level-triggered
[ 0.173390] pci 0000:00:1c.1: PCI INT B -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
[ 0.173390] pci 0000:00:1c.1: setting latency timer to 64
[ 0.173390] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[ 0.173390] PCI: setting IRQ 10 as level-triggered
[ 0.173390] pci 0000:00:1c.2: PCI INT C -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 0.173390] pci 0000:00:1c.2: setting latency timer to 64
[ 0.173390] pci 0000:00:1e.0: setting latency timer to 64
[ 0.173390] bus: 00 index 0 io port: [0x00-0xffff]
[ 0.173390] bus: 00 index 1 mmio: [0x000000-0xffffffffffffffff]
[ 0.173390] bus: 04 index 0 mmio: [0x0-0x0]
[ 0.173390] bus: 04 index 1 mmio: [0x0-0x0]
[ 0.173390] bus: 04 index 2 mmio: [0x0-0x0]
[ 0.173390] bus: 04 index 3 mmio: [0x0-0x0]
[ 0.173390] bus: 03 index 0 mmio: [0x0-0x0]
[ 0.173390] bus: 03 index 1 mmio: [0xfbf00000-0xfbffffff]
[ 0.173390] bus: 03 index 2 mmio: [0x0-0x0]
[ 0.173390] bus: 03 index 3 mmio: [0x0-0x0]
[ 0.173390] bus: 01 index 0 mmio: [0x0-0x0]
[ 0.173390] bus: 01 index 1 mmio: [0xf8000000-0xfbefffff]
[ 0.173390] bus: 01 index 2 mmio: [0xf0000000-0xf6ffffff]
[ 0.173390] bus: 01 index 3 mmio: [0x0-0x0]
[ 0.173390] bus: 05 index 0 mmio: [0x0-0x0]
[ 0.173390] bus: 05 index 1 mmio: [0x0-0x0]
[ 0.173390] bus: 05 index 2 mmio: [0x0-0x0]
[ 0.173390] bus: 05 index 3 io port: [0x00-0xffff]
[ 0.173390] bus: 05 index 4 mmio: [0x000000-0xffffffffffffffff]
[ 0.173390] NET: Registered protocol family 2
[ 0.176357] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.179690] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.179690] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.179690] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.179690] TCP reno registered
[ 0.179690] NET: Registered protocol family 1
[ 0.179690] checking if image is initramfs... it is
[ 1.026698] Freeing initrd memory: 3644k freed
[ 1.026698] audit: initializing netlink socket (disabled)
[ 1.026698] type=2000 audit(1225810330.026:1): initialized
[ 1.046675] msgmni has been set to 990
[ 1.046675] alg: No test for stdrng (krng)
[ 1.046675] io scheduler noop registered
[ 1.046675] io scheduler anticipatory registered
[ 1.046675] io scheduler deadline registered
[ 1.046675] io scheduler cfq registered (default)
[ 1.046675] pci 0000:00:02.0: Boot video device
[ 1.053343] pcieport-driver 0000:00:1c.0: setting latency timer to 64
[ 1.053343] pcieport-driver 0000:00:1c.0: found MSI capability
[ 1.053343] pcieport-driver 0000:00:1c.0: irq 47 for MSI/MSI-X
[ 1.053343] pci_express 0000:00:1c.0:pcie00: allocate port service
[ 1.053343] pci_express 0000:00:1c.0:pcie02: allocate port service
[ 1.053343] pci_express 0000:00:1c.0:pcie03: allocate port service
[ 1.053343] pcieport-driver 0000:00:1c.1: setting latency timer to 64
[ 1.053343] pcieport-driver 0000:00:1c.1: found MSI capability
[ 1.053343] pcieport-driver 0000:00:1c.1: irq 46 for MSI/MSI-X
[ 1.053343] pci_express 0000:00:1c.1:pcie00: allocate port service
[ 1.053343] pci_express 0000:00:1c.1:pcie02: allocate port service
[ 1.053343] pci_express 0000:00:1c.1:pcie03: allocate port service
[ 1.053343] pcieport-driver 0000:00:1c.2: setting latency timer to 64
[ 1.053343] pcieport-driver 0000:00:1c.2: found MSI capability
[ 1.053343] pcieport-driver 0000:00:1c.2: irq 45 for MSI/MSI-X
[ 1.053343] pci_express 0000:00:1c.2:pcie00: allocate port service
[ 1.053343] pci_express 0000:00:1c.2:pcie02: allocate port service
[ 1.053343] pci_express 0000:00:1c.2:pcie03: allocate port service
[ 1.063343] Serial: 8250/16550 driver4 ports, IRQ sharing disabled
[ 1.066677] brd: module loaded
[ 1.066677] Driver 'sd' needs updating - please use bus_type methods
[ 1.066677] ahci 0000:00:1f.2: version 3.0
[ 1.070012] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 7
[ 1.070012] PCI: setting IRQ 7 as level-triggered
[ 1.070012] ahci 0000:00:1f.2: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 1.070012] ahci 0000:00:1f.2: PCI INT B disabled
[ 1.070012] ahci: probe of 0000:00:1f.2 failed with error -22
[ 1.070012] ata_piix 0000:00:1f.2: version 2.12
[ 1.070012] ata_piix 0000:00:1f.2: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 1.070012] ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
[ 1.070012] ata_piix 0000:00:1f.2: setting latency timer to 64
[ 1.070012] scsi0 : ata_piix
[ 1.070012] scsi1 : ata_piix
[ 1.070012] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
[ 1.070012] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
[ 1.396668] ata2.00: ATA-4: SILICONMOTION SM223AC, , max UDMA/66
[ 1.396668] ata2.00: 7815024 sectors, multi 0: LBA
[ 1.410001] ata2.00: configured for UDMA/66
[ 1.410001] scsi 1:0:0:0: Direct-Access ATA SILICONMOTION SM n/a PQ: 0 ANSI: 5
[ 1.410001] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors: (4.00 GB/3.72 GiB)
[ 1.410001] sd 1:0:0:0: [sda] Write Protect is off
[ 1.410001] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.410001] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1.410001] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors: (4.00 GB/3.72 GiB)
[ 1.410001] sd 1:0:0:0: [sda] Write Protect is off
[ 1.410001] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.410001] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1.410001] sda: sda1
[ 1.410001] sd 1:0:0:0: [sda] Attached SCSI disk
[ 1.412643] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 1.434397] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.434397] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.434397] mice: PS/2 mouse device common for all mice
[ 1.434397] rtc_cmos 00:03: RTC can wake from S4
[ 1.434397] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[ 1.434397] rtc0: alarms up to one month, 114 bytes nvram, , hpet irqs irqs
[ 1.437731] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008)
[ 1.437731] iTCO_wdt: Found a ICH6-M TCO device (Version=2, TCOBASE=0x0860)
[ 1.437731] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 1.437731] iTCO_vendor_support: vendor-support=0
[ 1.437731] cpuidle: using governor ladder
[ 1.437731] cpuidle: using governor menu
[ 1.437731] Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
[ 1.437731] ALSA device list:
[ 1.437731] No soundcards found.
[ 1.437731] TCP cubic registered
[ 1.437731] Using IPI Shortcut mode
[ 1.443441] rtc_cmos 00:03: setting system clock to 2008-11-04 14:52:11 UTC (1225810331)
[ 1.443441] BIOS EDD facility v0.16 2004-Jun-25, 2 devices found
[ 1.443441] Freeing unused kernel memory: 256k freed
[ 1.456680] input: AT Translated Set 2 keyboard as /class/input/input0
[ 1.893341] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[ 1.893341] processor ACPI0007:00: registered as cooling_device0
[ 1.893341] ACPI: Processor [CPU1] (supports 8 throttling states)
[ 1.900011] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 1.907037] Marking TSC unstable due to TSC halts in idle
[ 1.909405] thermal LNXTHERM:01: registered as thermal_zone0
[ 1.922789] ACPI: Thermal Zone [TZ00] (41 C)
[ 2.360016] PM: Starting manual resume from disk
[ 3.383346] input: PC Speaker as /class/input/input1
[ 3.386679] usbcore: registered new interface driver usbfs
[ 3.386679] usbcore: registered new interface driver hub
[ 3.386679] usbcore: registered new device driver usb
[ 3.396831] usbcore: registered new interface driver libusual
[ 3.406678] Initializing USB Mass Storage driver...
[ 3.406678] usbcore: registered new interface driver usb-storage
[ 3.410018] USB Mass Storage support registered.
[ 3.423341] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.423341] ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 3
[ 3.423341] PCI: setting IRQ 3 as level-triggered
[ 3.423341] ehci_hcd 0000:00:1d.7: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 3.423341] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 3.423341] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 3.423341] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[ 3.430009] ehci_hcd 0000:00:1d.7: debug port 1
[ 3.430009] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
[ 3.430009] ehci_hcd 0000:00:1d.7: irq 3, io mem 0xf7eb7c00
[ 3.439785] udev: starting version 131
[ 3.439785] udev: deprecated sysfs layout (kernel too old, or CONFIG_SYSFS_DEPRECATED) is unsupported, some udev features may fail
[ 3.443351] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[ 3.443351] usb usb1: configuration #1 chosen from 1 choice
[ 3.443351] hub 1-0:1.0: USB hub found
[ 3.443351] hub 1-0:1.0: 8 ports detected
[ 3.453351] uhci_hcd: USB Universal Host Controller Interface driver
[ 3.453351] uhci_hcd 0000:00:1d.0: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 3.453351] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 3.453351] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 3.453351] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 3.453351] uhci_hcd 0000:00:1d.0: irq 3, io base 0x0000e400
[ 3.453351] usb usb2: configuration #1 chosen from 1 choice
[ 3.453351] hub 2-0:1.0: USB hub found
[ 3.453351] hub 2-0:1.0: 2 ports detected
[ 3.453351] uhci_hcd 0000:00:1d.1: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 3.453351] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[ 3.453351] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 3.453351] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[ 3.453351] uhci_hcd 0000:00:1d.1: irq 7, io base 0x0000e480
[ 3.453351] usb usb3: configuration #1 chosen from 1 choice
[ 3.453351] hub 3-0:1.0: USB hub found
[ 3.453351] hub 3-0:1.0: 2 ports detected
[ 3.453351] uhci_hcd 0000:00:1d.2: PCI INT C -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 3.456725] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 3.456725] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 3.456725] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[ 3.456725] uhci_hcd 0000:00:1d.2: irq 10, io base 0x0000e800
[ 3.456725] usb usb4: configuration #1 chosen from 1 choice
[ 3.456725] hub 4-0:1.0: USB hub found
[ 3.456725] hub 4-0:1.0: 2 ports detected
[ 3.456725] uhci_hcd 0000:00:1d.3: PCI INT D -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 3.456725] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 3.456725] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[ 3.456725] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[ 3.456725] uhci_hcd 0000:00:1d.3: irq 5, io base 0x0000e880
[ 3.456725] usb usb5: configuration #1 chosen from 1 choice
[ 3.456725] hub 5-0:1.0: USB hub found
[ 3.456725] hub 5-0:1.0: 2 ports detected
[ 3.750020] usb 1-5: new high speed USB device using ehci_hcd and address 2
[ 3.873356] usb 1-5: configuration #1 chosen from 1 choice
[ 3.880024] scsi2 : SCSI emulation for USB Mass Storage devices
[ 3.886689] usb-storage: device found at 2
[ 3.886689] usb-storage: waiting for device to settle before scanning
[ 4.233345] Linux agpgart interface v0.103
[ 4.243350] agpgart-intel 0000:00:00.0: Intel 915GM Chipset
[ 4.243350] agpgart-intel 0000:00:00.0: detected 7932K stolen memory
[ 4.256685] input: Power Button (FF) as /class/input/input2
[ 4.260018] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[ 4.280088] ACPI: Power Button (FF) [PWRF]
[ 4.280088] input: Lid Switch as /class/input/input3
[ 4.300050] ACPI: Lid Switch [LID]
[ 4.300050] input: Sleep Button (CM) as /class/input/input4
[ 4.306678] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 4.323348] pciehp 0000:00:1c.0:pcie02: HPC vendor_id 8086 device_id 2660 ss_vid 0 ss_did 0
[ 4.323348] pciehp 0000:00:1c.0:pcie02: service driver pciehp loaded
[ 4.323348] pciehp 0000:00:1c.1:pcie02: HPC vendor_id 8086 device_id 2662 ss_vid 0 ss_did 0
[ 4.326681] ACPI: Sleep Button (CM) [SLPB]
[ 4.326681] eeepc: Eee PC Hotkey Driver
[ 4.326681] eeepc: Hotkey init flags 0x41
[ 4.326681] eeepc: Get control methods supported: 0x101711
[ 4.326681] input: Asus EeePC extra buttons as /class/input/input5
[ 4.353350] input: Power Button (CM) as /class/input/input6
[ 4.380021] ACPI: Power Button (CM) [PWRB]
[ 4.616685] intel_rng: FWH not detected
[ 5.329945] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 5.329945] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 5.329945] pciehp 0000:00:1c.1:pcie02: service driver pciehp loaded
[ 5.329945] pciehp 0000:00:1c.2:pcie02: HPC vendor_id 8086 device_id 2664 ss_vid 0 ss_did 0
[ 5.329945] HDA Intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 5.329945] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 5.410019] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 5.507622] Synaptics Touchpad, model: 1, fw: 6.5, id: 0x1c0b1, caps: 0xa04751/0xa00000
[ 5.646685] input: SynPS/2 Synaptics TouchPad as /class/input/input7
[ 6.333384] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 6.333384] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 6.333384] pciehp 0000:00:1c.2:pcie02: service driver pciehp loaded
[ 6.333384] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 6.333384] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 6.340021] ACPI: AC Adapter [AC0] (on-line)
[ 6.360019] ACPI: Battery Slot [BAT0] (battery absent)
[ 6.430016] input: Video Bus as /class/input/input8
[ 6.456688] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 6.483350] cfg80211: Using static regulatory domain info
[ 6.483350] cfg80211: Regulatory domain: US
[ 6.483350] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 6.483350] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
[ 6.483350] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.483350] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.483350] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.488610] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.488610] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[ 6.488610] cfg80211: Calling CRDA for country: US
[ 6.550009] ath5k_pci 0000:01:00.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 6.550009] ath5k_pci 0000:01:00.0: setting latency timer to 64
[ 6.550009] ath5k_pci 0000:01:00.0: registered as 'phy0'
[ 6.606683] phy0: Selected rate control algorithm 'pid'
[ 6.633352] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[ 6.643350] udev: renamed network interface wlan0 to ath0
[ 6.833343] fuse init (API version 7.10)
[ 7.143345] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: [email protected]
[ 7.192555] aes_i586: Unknown symbol crypto_it_tab
[ 7.192555] aes_i586: Unknown symbol crypto_aes_set_key
[ 7.192555] aes_i586: Unknown symbol crypto_fl_tab
[ 7.192555] aes_i586: Unknown symbol crypto_il_tab
[ 7.192555] aes_i586: Unknown symbol crypto_ft_tab
[ 7.256686] aes_i586: Unknown symbol crypto_it_tab
[ 7.260042] aes_i586: Unknown symbol crypto_aes_set_key
[ 7.260042] aes_i586: Unknown symbol crypto_fl_tab
[ 7.260042] aes_i586: Unknown symbol crypto_il_tab
[ 7.260042] aes_i586: Unknown symbol crypto_ft_tab
[ 7.613195] Adding 409592k swap on /swapfile. Priority:-1 extents:704 across:581464k
[ 8.380010] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.440003] nf_conntrack version 0.5.0 (8056 buckets, 32224 max)
[ 8.440003] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[ 8.440003] nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
[ 8.440003] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 8.590039] NET: Registered protocol family 10
[ 8.590039] lo: Disabled Privacy Extensions
[ 8.610013] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.890044] usb-storage: device scan complete
[ 8.890044] scsi 2:0:0:0: Direct-Access USB2.0 CardReader SD0 0100 PQ: 0 ANSI: 0
[ 9.065604] sensors[3179]: segfault at 46 ip b7e782cd sp bffa6c40 error 4 in libc-2.7.so[b7e1e000+149000]
[ 9.065604] sensors[3181]: segfault at 46 ip b7f862cd sp bfab6760 error 4 in libc-2.7.so[b7f2c000+149000]
[ 9.260037] sd 2:0:0:0: [sdb] 15660032 512-byte hardware sectors: (8.01 GB/7.46 GiB)
[ 9.260037] sd 2:0:0:0: [sdb] Write Protect is off
[ 9.260037] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 9.260037] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 9.260037] sd 2:0:0:0: [sdb] 15660032 512-byte hardware sectors: (8.01 GB/7.46 GiB)
[ 9.260037] sd 2:0:0:0: [sdb] Write Protect is off
[ 9.260037] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 9.260037] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 9.260037] sdb: sdb1
[ 9.263350] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 9.263350] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 9.987268] ACPI: WMI: Mapper loaded
[ 11.612481] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
[ 13.463348] [drm] Initialized drm 1.1.0 20060810
[ 13.496686] pci 0000:00:02.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 13.496686] pci 0000:00:02.0: setting latency timer to 64
[ 13.496686] [drm:i915_gem_detect_bit_6_swizzle] *ERROR* Couldn't read from MCHBAR. Disabling tiling.
[ 13.496686] [drm:i915_driver_load] *ERROR* failed to enable MSI
[ 13.496686] [drm] Initialized i915 1.6.0 20080730 on minor 0
[ 13.980003] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 15.313362] evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64 bytes. See http://userweb.kernel.org/~dtor/eviocgbit-bug.html
[ 57.716665] NET: Registered protocol family 17
[ 59.109999] ath0: authenticate with AP 00:1b:9e:19:45:90
[ 59.113346] ath0: authenticated
[ 59.113346] ath0: associate with AP 00:1b:9e:19:45:90
[ 59.120003] ath0: RX AssocResp from 00:1b:9e:19:45:90 (capab=0x431 status=0 aid=1)
[ 59.120003] ath0: associated
[ 59.120003] ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
[ 71.536678] ath0: deauthenticating by local choice (reason=3)
[ 71.961536] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 75.667576] PM: Syncing filesystems ... done.
[ 75.667576] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 75.670011] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 75.670011] Suspending console(s) (use no_console_suspend to debug)
[ 75.670011] pci 0000:00:02.0: PCI INT A disabled
[ 76.200036] sd 1:0:0:0: [sda] Stopping disk
[ 76.200036] pciehp 0000:00:1c.2:pcie02: pciehp_suspend ENTRY
[ 76.200036] pciehp 0000:00:1c.1:pcie02: pciehp_suspend ENTRY
[ 76.200036] pciehp 0000:00:1c.0:pcie02: pciehp_suspend ENTRY
[ 76.200036] ath5k_pci 0000:01:00.0: PCI INT A disabled
[ 76.213372] ata_piix 0000:00:1f.2: PCI INT B disabled
[ 76.226702] ehci_hcd 0000:00:1d.7: PCI INT A disabled
[ 76.240037] uhci_hcd 0000:00:1d.3: PCI INT D disabled
[ 76.240037] uhci_hcd 0000:00:1d.2: PCI INT C disabled
[ 76.240037] uhci_hcd 0000:00:1d.1: PCI INT B disabled
[ 76.240037] uhci_hcd 0000:00:1d.0: PCI INT A disabled
[ 76.240037] pciehp 0000:00:1c.2:pcie02: pciehp_suspend ENTRY
[ 76.240037] pciehp 0000:00:1c.1:pcie02: pciehp_suspend ENTRY
[ 76.240037] pciehp 0000:00:1c.0:pcie02: pciehp_suspend ENTRY
[ 76.253333] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 76.266703] ACPI: Preparing to enter system sleep state S3
[ 76.266703] Intel machine check architecture supported.
[ 76.266703] Intel machine check reporting enabled on CPU#0.
[ 76.266703] Back to C!
[ 76.266703] Force enabled HPET at resume
[ 76.267711] ACPI: Waking up from system sleep state S3
[ 76.306666] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 76.321361] pci 0000:00:02.0: restoring config space at offset 0x1 (was 0x900007, writing 0x900003)
[ 76.340041] HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[ 76.340041] HDA Intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 76.340041] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 76.340041] pcieport-driver 0000:00:1c.0: restoring config space at offset 0x7 (was 0xf0, writing 0x200000f0)
[ 76.340041] pcieport-driver 0000:00:1c.0: restoring config space at offset 0x1 (was 0x100104, writing 0x100504)
[ 76.340041] pcieport-driver 0000:00:1c.0: setting latency timer to 64
[ 76.340041] pciehp 0000:00:1c.0:pcie02: pciehp_resume ENTRY
[ 76.340041] pcieport-driver 0000:00:1c.1: restoring config space at offset 0x7 (was 0xf0, writing 0x200000f0)
[ 76.340041] pcieport-driver 0000:00:1c.1: restoring config space at offset 0x1 (was 0x180106, writing 0x100506)
[ 76.340041] pciehp 0000:00:1c.1:pcie02: Card present on Slot(2)
[ 76.340041] pcieport-driver 0000:00:1c.1: setting latency timer to 64
[ 76.340041] pciehp 0000:00:1c.1:pcie02: pciehp_resume ENTRY
[ 77.343370] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 77.343370] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 78.346704] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 78.346704] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 79.873330] irq 10: nobody cared (try booting with the "irqpoll" option)
[ 79.873330] Pid: 4930, comm: pm-suspend Not tainted 2.6.28-rc3eeepc #124
[ 79.873330] Call Trace:
[ 79.873330] [<c0142d0c>] __report_bad_irq+0x24/0x69
[ 79.873330] [<c0142d13>] __report_bad_irq+0x2b/0x69
[ 79.873330] [<c0142e3e>] note_interrupt+0xed/0x133
[ 79.873330] [<c0142291>] handle_IRQ_event+0x1a/0x3f
[ 79.873330] [<c0143538>] handle_level_irq+0x4d/0x8d
[ 79.873330] [<c0104e95>] do_IRQ+0x55/0x6c
[ 79.873330] [<c010430b>] common_interrupt+0x23/0x28
[ 79.873330] [<c0230000>] atkbd_schedule_event_work+0x34/0x51
[ 79.873330] [<c011ec28>] __do_softirq+0x2a/0xbc
[ 79.873330] [<c011ecdc>] do_softirq+0x22/0x26
[ 79.873330] [<c011ef49>] irq_exit+0x25/0x55
[ 79.873330] [<c0104e9a>] do_IRQ+0x5a/0x6c
[ 79.873330] [<c010430b>] common_interrupt+0x23/0x28
[ 79.873330] [<c01bb6e8>] pci_bus_write_config_word+0x28/0x2e
[ 79.873330] [<c01bd29b>] pci_restore_state+0x79/0x15c
[ 79.873330] [<c01c2440>] resume_iter+0x0/0x25
[ 79.873330] [<c01c2af0>] pcie_portdrv_restore_config+0x9/0x22
[ 79.873330] [<c01c2b45>] pcie_portdrv_resume+0x8/0x10
[ 79.873330] [<c01bf1d3>] pci_legacy_resume+0x15/0x16
[ 79.873330] [<c020984f>] pm_op+0x52/0xac
[ 79.873330] [<c0209e15>] device_resume+0x7d/0x2d2
[ 79.873330] [<c0135c91>] suspend_devices_and_enter+0xc7/0xfb
[ 79.873330] [<c0135de6>] enter_state+0xdf/0x12e
[ 79.873330] [<c0135ec3>] state_store+0x8e/0xa4
[ 79.873330] [<c0135e35>] state_store+0x0/0xa4
[ 79.873330] [<c01b3d8b>] kobj_attr_store+0x18/0x1c
[ 79.873330] [<c0190d72>] sysfs_write_file+0xaf/0xdc
[ 79.873330] [<c0190cc3>] sysfs_write_file+0x0/0xdc
[ 79.873330] [<c0162b38>] vfs_write+0x83/0xf6
[ 79.873330] [<c0162ec9>] sys_write+0x3c/0x63
[ 79.873330] [<c010376d>] sysenter_do_call+0x12/0x21
[ 79.873330] [<c0290000>] __inet6_lookup_established+0x98/0x21c
[ 79.873330] handlers:
[ 79.873330] [<e0018d79>] (usb_hcd_irq+0x0/0x57 [usbcore])
[ 79.873330] Disabling IRQ #10
[ 79.873330] pcieport-driver 0000:00:1c.2: restoring config space at offset 0x7 (was 0xf0, writing 0x200000f0)
[ 79.873330] pcieport-driver 0000:00:1c.2: restoring config space at offset 0x1 (was 0x180106, writing 0x100506)
[ 79.873330] pciehp 0000:00:1c.2:pcie02: Card present on Slot(3)
[ 79.873330] pcieport-driver 0000:00:1c.2: setting latency timer to 64
[ 79.873330] pciehp 0000:00:1c.2:pcie02: pciehp_resume ENTRY
[ 80.880036] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 80.880036] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 81.883371] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 81.883371] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 81.883371] uhci_hcd 0000:00:1d.0: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 81.883371] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 81.883371] usb usb2: root hub lost power or was reset
[ 81.883371] uhci_hcd 0000:00:1d.1: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 81.883371] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[ 81.883371] usb usb3: root hub lost power or was reset
[ 81.883371] uhci_hcd 0000:00:1d.2: PCI INT C -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 81.883371] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 81.883371] usb usb4: root hub lost power or was reset
[ 81.883371] uhci_hcd 0000:00:1d.3: PCI INT D -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 81.883371] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 81.883371] usb usb5: root hub lost power or was reset
[ 81.896702] ehci_hcd 0000:00:1d.7: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 81.896702] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 81.896702] pci 0000:00:1e.0: restoring config space at offset 0xf (was 0x60000, writing 0x600ff)
[ 81.896702] pci 0000:00:1e.0: setting latency timer to 64
[ 81.910037] ata_piix 0000:00:1f.2: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 81.910037] ata_piix 0000:00:1f.2: setting latency timer to 64
[ 81.910037] ath5k_pci 0000:01:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[ 81.910037] ath5k_pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xfbef0004)
[ 81.910037] ath5k_pci 0000:01:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x4)
[ 81.910037] ath5k_pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[ 81.923372] ath5k_pci 0000:01:00.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 81.943328] pciehp 0000:00:1c.0:pcie02: pciehp_resume ENTRY
[ 81.943328] pciehp 0000:00:1c.1:pcie02: pciehp_resume ENTRY
[ 82.086705] ata2.00: configured for UDMA/66
[ 82.086705] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors: (4.00 GB/3.72 GiB)
[ 82.086705] sd 1:0:0:0: [sda] Write Protect is off
[ 82.086705] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 82.086705] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 82.953368] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 82.953368] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 82.953368] pciehp 0000:00:1c.2:pcie02: pciehp_resume ENTRY
[ 83.956703] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 83.956703] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 83.956703] sd 1:0:0:0: [sda] Starting disk
[ 84.210036] usb 1-5: reset high speed USB device using ehci_hcd and address 2
[ 85.446704] pci 0000:00:02.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 85.446704] pci 0000:00:02.0: setting latency timer to 64
[ 85.446704] Restarting tasks ... done.
[ 86.437568] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 88.980037] evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64 bytes. See http://userweb.kernel.org/~dtor/eviocgbit-bug.html
[ 100.673326] ath0: authenticate with AP 00:1b:9e:19:45:90
[ 100.676677] ath0: authenticated
[ 100.676677] ath0: associate with AP 00:1b:9e:19:45:90
[ 100.683332] ath0: RX AssocResp from 00:1b:9e:19:45:90 (capab=0x431 status=0 aid=1)
[ 100.683332] ath0: associated
[ 100.683332] ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready


Attachments:
dmesg (43.04 kB)

2008-11-04 15:11:40

by Matthew Garrett

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

On Tue, Nov 04, 2008 at 03:01:07PM +0000, Alan Jenkins wrote:

> Hey... you're making this conditional on whether a power led is reported
> present, right? Are you sure the EeePC doesn't report itself as having
> a power led?

Doesn't seem to on the one I was testing, but it's possible. Any chance
you could instrument it? There's only a few calls to msleep in
pcihp_ctrl.c.

--
Matthew Garrett | [email protected]

2008-11-04 15:44:43

by Alan Jenkins

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

Matthew Garrett wrote:
> On Tue, Nov 04, 2008 at 03:01:07PM +0000, Alan Jenkins wrote:
>
>
>> Hey... you're making this conditional on whether a power led is reported
>> present, right? Are you sure the EeePC doesn't report itself as having
>> a power led?
>>
>
> Doesn't seem to on the one I was testing, but it's possible. Any chance
> you could instrument it? There's only a few calls to msleep in
> pcihp_ctrl.c.
>

And pciehp_hpc.c!

I instrumented all the delays I could find. hpc_check_lnk_status() was
the only one that came up. 1000ms delay per call, and I get 6 such delays.

The code is saying my hardware lacks "Data Layer Link Active Reporting".



static int hpc_check_lnk_status(struct controller *ctrl)
{
u16 lnk_status;
int retval = 0;

/*
* Data Link Layer Link Active Reporting must be capable for
* hot-plug capable downstream port. But old controller might
* not implement it. In this case, we wait for 1000 ms.
*/
if (ctrl->link_active_reporting){
/* Wait for Data Link Layer Link Active bit to be set */
pcie_wait_link_active(ctrl);
/*
* We must wait for 100 ms after the Data Link Layer
* Link Active bit reads 1b before initiating a
* configuration access to the hot added device.
*/
msleep(100);
} else {
msleep(1000);

2008-11-04 15:57:38

by Matthew Garrett

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

On Tue, Nov 04, 2008 at 03:44:23PM +0000, Alan Jenkins wrote:

> I instrumented all the delays I could find. hpc_check_lnk_status() was
> the only one that came up. 1000ms delay per call, and I get 6 such delays.

Ok, which is getting called from pciehp_enable_slot(). I'm not quite
clear on why this is being called 6 times - any chance you can put a
dump_stack() in there? Some are probably directly from the resume code.
This confuses me a little, since there's a check for whether there's a
card in the slot first. If that fails, pciehp_enable_slot() isn't
called. If it succeeds, pciehp_enable_slot checks whether the slot is
already powered up. If it is, it bails before doing the link setup. So
something funny is going on here, since on the Eee I'd expect those
slots to either be empty or already powered up.

--
Matthew Garrett | [email protected]

2008-11-04 16:20:32

by Alan Jenkins

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

[ 0.000000] BIOS EBDA/lowmem at: 0009fc00/0009fc00
[ 0.000000] Linux version 2.6.28-rc3eeepc (alan@alan-desktop) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #128 Tue Nov 4 16:00:04 GMT 2008
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] NSC Geode by NSC
[ 0.000000] Cyrix CyrixInstead
[ 0.000000] Centaur CentaurHauls
[ 0.000000] Transmeta GenuineTMx86
[ 0.000000] Transmeta TransmetaCPU
[ 0.000000] UMC UMC UMC UMC
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000001f780000 (usable)
[ 0.000000] BIOS-e820: 000000001f780000 - 000000001f790000 (ACPI data)
[ 0.000000] BIOS-e820: 000000001f790000 - 000000001f7d0000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000001f7d0000 - 000000001f7de000 (reserved)
[ 0.000000] BIOS-e820: 000000001f7e0000 - 000000001f800000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
[ 0.000000] DMI present.
[ 0.000000] AMI BIOS detected: BIOS may corrupt low RAM, working it around.
[ 0.000000] last_pfn = 0x1f780 max_arch_pfn = 0x1000000
[ 0.000000] kernel direct mapping tables up to 1f780000 @ 10000-16000
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] RAMDISK: 1f3e0000 - 1f76f13f
[ 0.000000] ACPI: RSDP 000FBE60, 0014 (r0 ACPIAM)
[ 0.000000] ACPI: RSDT 1F780000, 0034 (r1 A M I OEMRSDT 3000803 MSFT 97)
[ 0.000000] ACPI: FACP 1F780200, 0081 (r1 A M I OEMFACP 3000803 MSFT 97)
[ 0.000000] ACPI: DSDT 1F780400, 5F61 (r1 A0797 A0797000 0 INTL 20051117)
[ 0.000000] ACPI: FACS 1F790000, 0040
[ 0.000000] ACPI: APIC 1F780390, 0068 (r1 A M I OEMAPIC 3000803 MSFT 97)
[ 0.000000] ACPI: OEMB 1F790040, 0046 (r1 A M I AMI_OEM 3000803 MSFT 97)
[ 0.000000] ACPI: MCFG 1F786370, 003C (r1 A M I OEMMCFG 3000803 MSFT 97)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] 503MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 1f780000
[ 0.000000] low ram: 00000000 - 1f780000
[ 0.000000] bootmap 00013000 - 00016ef0
[ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 001f780000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
[ 0.000000] #1 [0000100000 - 00004648a4] TEXT DATA BSS ==> [0000100000 - 00004648a4]
[ 0.000000] #2 [001f3e0000 - 001f76f13f] RAMDISK ==> [001f3e0000 - 001f76f13f]
[ 0.000000] #3 [0000465000 - 000046c000] INIT_PG_TABLE ==> [0000465000 - 000046c000]
[ 0.000000] #4 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
[ 0.000000] #5 [0000010000 - 0000013000] PGTABLE ==> [0000010000 - 0000013000]
[ 0.000000] #6 [0000013000 - 0000017000] BOOTMAP ==> [0000013000 - 0000017000]
[ 0.000000] found SMP MP-table at [c00ff780] 000ff780
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] Normal 0x00001000 -> 0x0001f780
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x0001f780
[ 0.000000] On node 0 totalpages: 128783
[ 0.000000] free_area_init_node: node 0, pgdat c03be708, node_mem_map c1000200
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3951 pages, LIFO batch:0
[ 0.000000] Normal zone: 975 pages used for memmap
[ 0.000000] Normal zone: 123825 pages, LIFO batch:31
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] ACPI: PM-Timer IO Port: 0x808
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] ACPI: Skipping IOAPIC probe due to 'noapic' option.
[ 0.000000] Using ACPI for processor (LAPIC) configuration information
[ 0.000000] Intel MultiProcessor Specification v1.4
[ 0.000000] Virtual Wire compatibility mode.
[ 0.000000] MPTABLE: OEM ID: INTEL
[ 0.000000] MPTABLE: Product ID:
[ 0.000000] MPTABLE: APIC at: 0xFEE00000
[ 0.000000] I/O APIC #1 Version 32 at 0xFEC00000.
[ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.000000] Processors: 1
[ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e4000
[ 0.000000] PM: Registered nosave memory: 00000000000e4000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 20000000 (gap: 1f800000:df600000)
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 127776
[ 0.000000] Kernel command line: root=/dev/sda1 resume=/dev/sda1 resume_offset=12453 ro vga=0xf07 noapic notsc
[ 0.000000] notsc: Kernel compiled with CONFIG_X86_TSC, cannot disable TSC completely.
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[ 0.000000] Fast TSC calibration using PIT
[ 0.000000] Detected 630.098 MHz processor.
[ 0.000000] Console: colour VGA+ 80x60
[ 0.000000] console [tty0] enabled
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 503408k/515584k available (1646k kernel code, 11620k reserved, 1208k data, 256k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfffac000 - 0xfffff000 ( 332 kB)
[ 0.000000] vmalloc : 0xdff80000 - 0xfffaa000 ( 512 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdf780000 ( 503 MB)
[ 0.000000] .init : 0xc03cc000 - 0xc040c000 ( 256 kB)
[ 0.000000] .data : 0xc029b8d6 - 0xc03c9c70 (1208 kB)
[ 0.000000] .text : 0xc0100000 - 0xc029b8d6 (1646 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.003333] Calibrating delay loop (skipped), value calculated using timer frequency.. 1260.70 BogoMIPS (lpj=2100326)
[ 0.003333] Mount-cache hash table entries: 512
[ 0.003333] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.003333] CPU: L2 cache: 512K
[ 0.003333] Intel machine check architecture supported.
[ 0.003333] Intel machine check reporting enabled on CPU#0.
[ 0.003333] CPU: Intel(R) Celeron(R) M processor 900MHz stepping 08
[ 0.003333] Checking 'hlt' instruction... OK.
[ 0.016665] Freeing SMP alternatives: 0k freed
[ 0.016665] ACPI: Core revision 20080926
[ 0.036665] ACPI: setting ELCR to 0200 (from 0ca8)
[ 0.039999] net_namespace: 740 bytes
[ 0.039999] NET: Registered protocol family 16
[ 0.039999] ACPI: bus type pci registered
[ 0.039999] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[ 0.039999] PCI: Not using MMCONFIG.
[ 0.039999] PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=5
[ 0.039999] PCI: Using configuration type 1 for base access
[ 0.046665] ACPI: EC: Look up EC in DSDT
[ 0.066665] ACPI: Interpreter enabled
[ 0.066665] ACPI: (supports S0 S1 S3 S4 S5)
[ 0.066665] ACPI: Using PIC for interrupt routing
[ 0.066665] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[ 0.073332] PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
[ 0.073332] PCI: Using MMCONFIG for extended config space
[ 0.089999] ACPI: EC: GPE = 0x18, I/O: command/status = 0x66, data = 0x62
[ 0.089999] ACPI: EC: driver started in poll mode
[ 0.089999] ACPI: No dock devices found.
[ 0.089999] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.089999] pci 0000:00:02.0: reg 10 32bit mmio: [0xf7f00000-0xf7f7ffff]
[ 0.089999] pci 0000:00:02.0: reg 14 io port: [0xec00-0xec07]
[ 0.089999] pci 0000:00:02.0: reg 18 32bit mmio: [0xd0000000-0xdfffffff]
[ 0.089999] pci 0000:00:02.0: reg 1c 32bit mmio: [0xf7ec0000-0xf7efffff]
[ 0.089999] pci 0000:00:02.1: reg 10 32bit mmio: [0xf7f80000-0xf7ffffff]
[ 0.089999] pci 0000:00:1b.0: reg 10 64bit mmio: [0xf7eb8000-0xf7ebbfff]
[ 0.089999] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[ 0.089999] pci 0000:00:1b.0: PME# disabled
[ 0.089999] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[ 0.093332] pci 0000:00:1c.0: PME# disabled
[ 0.093332] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[ 0.093332] pci 0000:00:1c.1: PME# disabled
[ 0.093332] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
[ 0.093332] pci 0000:00:1c.2: PME# disabled
[ 0.093332] pci 0000:00:1d.0: reg 20 io port: [0xe400-0xe41f]
[ 0.093332] pci 0000:00:1d.1: reg 20 io port: [0xe480-0xe49f]
[ 0.093332] pci 0000:00:1d.2: reg 20 io port: [0xe800-0xe81f]
[ 0.093332] pci 0000:00:1d.3: reg 20 io port: [0xe880-0xe89f]
[ 0.093332] pci 0000:00:1d.7: reg 10 32bit mmio: [0xf7eb7c00-0xf7eb7fff]
[ 0.093332] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
[ 0.093332] pci 0000:00:1d.7: PME# disabled
[ 0.093332] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
[ 0.093332] pci 0000:00:1f.0: quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
[ 0.093332] pci 0000:00:1f.0: quirk: region 0480-04bf claimed by ICH6 GPIO
[ 0.093332] pci 0000:00:1f.2: reg 10 io port: [0x00-0x07]
[ 0.093332] pci 0000:00:1f.2: reg 14 io port: [0x00-0x03]
[ 0.093332] pci 0000:00:1f.2: reg 18 io port: [0x00-0x07]
[ 0.093332] pci 0000:00:1f.2: reg 1c io port: [0x00-0x03]
[ 0.093332] pci 0000:00:1f.2: reg 20 io port: [0xffa0-0xffaf]
[ 0.093332] pci 0000:00:1f.2: PME# supported from D3hot
[ 0.093332] pci 0000:00:1f.2: PME# disabled
[ 0.093332] pci 0000:00:1f.3: reg 20 io port: [0x400-0x41f]
[ 0.093332] pci 0000:03:00.0: reg 10 64bit mmio: [0xfbfc0000-0xfbffffff]
[ 0.093332] pci 0000:03:00.0: reg 30 32bit mmio: [0xfbfa0000-0xfbfbffff]
[ 0.093332] pci 0000:03:00.0: PME# supported from D3hot D3cold
[ 0.093332] pci 0000:03:00.0: PME# disabled
[ 0.093332] pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
[ 0.093332] pci 0000:00:1c.1: bridge 32bit mmio: [0xfbf00000-0xfbffffff]
[ 0.093332] pci 0000:01:00.0: reg 10 64bit mmio: [0xfbef0000-0xfbefffff]
[ 0.093332] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
[ 0.093332] pci 0000:00:1c.2: bridge 32bit mmio: [0xf8000000-0xfbefffff]
[ 0.093332] pci 0000:00:1c.2: bridge 64bit mmio pref: [0xf0000000-0xf6ffffff]
[ 0.093332] pci 0000:00:1e.0: transparent bridge
[ 0.093332] bus 00 -> node 0
[ 0.093332] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.096665] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P3._PRT]
[ 0.096665] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P5._PRT]
[ 0.096665] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P6._PRT]
[ 0.106665] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 10 11 12 14 15)
[ 0.109998] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
[ 0.109998] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 11 12 14 15)
[ 0.109998] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *7 10 11 12 14 15)
[ 0.113332] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[ 0.113332] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[ 0.113332] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[ 0.116665] ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 6 7 10 11 12 14 15)
[ 0.116665] SCSI subsystem initialized
[ 0.116665] libata version 3.00 loaded.
[ 0.116665] PCI: Using ACPI for IRQ routing
[ 0.116665] hpet clockevent registered
[ 0.116665] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[ 0.116665] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.119998] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[ 0.123332] pnp: PnP ACPI init
[ 0.123332] ACPI: bus type pnp registered
[ 0.126672] Switched to NOHz mode on CPU #0
[ 0.130009] pnp: PnP ACPI: found 13 devices
[ 0.130009] ACPI: ACPI bus type pnp unregistered
[ 0.130009] system 00:01: iomem range 0xfed13000-0xfed19fff has been reserved
[ 0.130009] system 00:08: ioport range 0x380-0x383 has been reserved
[ 0.130009] system 00:08: ioport range 0x4d0-0x4d1 has been reserved
[ 0.130009] system 00:08: ioport range 0x800-0x87f has been reserved
[ 0.130009] system 00:08: ioport range 0x480-0x4bf has been reserved
[ 0.130009] system 00:08: iomem range 0xfed1c000-0xfed1ffff has been reserved
[ 0.130009] system 00:08: iomem range 0xfed20000-0xfed8ffff has been reserved
[ 0.130009] system 00:08: iomem range 0xfff00000-0xffffffff could not be reserved
[ 0.130009] system 00:09: iomem range 0xfec00000-0xfec00fff has been reserved
[ 0.130009] system 00:09: iomem range 0xfee00000-0xfee00fff has been reserved
[ 0.130009] system 00:0a: iomem range 0xe0000000-0xefffffff has been reserved
[ 0.137577] system 00:0b: iomem range 0xe0000000-0xefffffff has been reserved
[ 0.137577] system 00:0c: iomem range 0x0-0x9ffff could not be reserved
[ 0.137577] system 00:0c: iomem range 0xc0000-0xcffff could not be reserved
[ 0.137577] system 00:0c: iomem range 0xe0000-0xfffff could not be reserved
[ 0.137577] system 00:0c: iomem range 0x100000-0x1f7fffff could not be reserved
[ 0.173337] pci 0000:00:1c.0: PCI bridge, secondary bus 0000:04
[ 0.173337] pci 0000:00:1c.0: IO window: disabled
[ 0.173337] pci 0000:00:1c.0: MEM window: disabled
[ 0.173337] pci 0000:00:1c.0: PREFETCH window: disabled
[ 0.173337] pci 0000:00:1c.1: PCI bridge, secondary bus 0000:03
[ 0.173337] pci 0000:00:1c.1: IO window: disabled
[ 0.173337] pci 0000:00:1c.1: MEM window: 0xfbf00000-0xfbffffff
[ 0.173337] pci 0000:00:1c.1: PREFETCH window: disabled
[ 0.173337] pci 0000:00:1c.2: PCI bridge, secondary bus 0000:01
[ 0.173337] pci 0000:00:1c.2: IO window: disabled
[ 0.173337] pci 0000:00:1c.2: MEM window: 0xf8000000-0xfbefffff
[ 0.173337] pci 0000:00:1c.2: PREFETCH window: 0x000000f0000000-0x000000f6ffffff
[ 0.173337] pci 0000:00:1e.0: PCI bridge, secondary bus 0000:05
[ 0.173337] pci 0000:00:1e.0: IO window: disabled
[ 0.173337] pci 0000:00:1e.0: MEM window: disabled
[ 0.173337] pci 0000:00:1e.0: PREFETCH window: disabled
[ 0.173337] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5
[ 0.173337] PCI: setting IRQ 5 as level-triggered
[ 0.173337] pci 0000:00:1c.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 0.173337] pci 0000:00:1c.0: setting latency timer to 64
[ 0.173337] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[ 0.176701] PCI: setting IRQ 11 as level-triggered
[ 0.176701] pci 0000:00:1c.1: PCI INT B -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
[ 0.176701] pci 0000:00:1c.1: setting latency timer to 64
[ 0.176701] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[ 0.176701] PCI: setting IRQ 10 as level-triggered
[ 0.176701] pci 0000:00:1c.2: PCI INT C -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 0.176701] pci 0000:00:1c.2: setting latency timer to 64
[ 0.176701] pci 0000:00:1e.0: setting latency timer to 64
[ 0.176701] bus: 00 index 0 io port: [0x00-0xffff]
[ 0.176701] bus: 00 index 1 mmio: [0x000000-0xffffffffffffffff]
[ 0.176701] bus: 04 index 0 mmio: [0x0-0x0]
[ 0.176701] bus: 04 index 1 mmio: [0x0-0x0]
[ 0.176701] bus: 04 index 2 mmio: [0x0-0x0]
[ 0.176701] bus: 04 index 3 mmio: [0x0-0x0]
[ 0.176701] bus: 03 index 0 mmio: [0x0-0x0]
[ 0.176701] bus: 03 index 1 mmio: [0xfbf00000-0xfbffffff]
[ 0.176701] bus: 03 index 2 mmio: [0x0-0x0]
[ 0.176701] bus: 03 index 3 mmio: [0x0-0x0]
[ 0.176701] bus: 01 index 0 mmio: [0x0-0x0]
[ 0.176701] bus: 01 index 1 mmio: [0xf8000000-0xfbefffff]
[ 0.176701] bus: 01 index 2 mmio: [0xf0000000-0xf6ffffff]
[ 0.176701] bus: 01 index 3 mmio: [0x0-0x0]
[ 0.176701] bus: 05 index 0 mmio: [0x0-0x0]
[ 0.176701] bus: 05 index 1 mmio: [0x0-0x0]
[ 0.176701] bus: 05 index 2 mmio: [0x0-0x0]
[ 0.176701] bus: 05 index 3 io port: [0x00-0xffff]
[ 0.176701] bus: 05 index 4 mmio: [0x000000-0xffffffffffffffff]
[ 0.176701] NET: Registered protocol family 2
[ 0.179669] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.183002] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.183002] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.183002] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.183002] TCP reno registered
[ 0.183002] NET: Registered protocol family 1
[ 0.183002] checking if image is initramfs... it is
[ 1.030020] Freeing initrd memory: 3644k freed
[ 1.030020] audit: initializing netlink socket (disabled)
[ 1.030020] type=2000 audit(1225814774.030:1): initialized
[ 1.050010] msgmni has been set to 990
[ 1.050010] alg: No test for stdrng (krng)
[ 1.050010] io scheduler noop registered
[ 1.050010] io scheduler anticipatory registered
[ 1.050010] io scheduler deadline registered
[ 1.050010] io scheduler cfq registered (default)
[ 1.050010] pci 0000:00:02.0: Boot video device
[ 1.056679] pcieport-driver 0000:00:1c.0: setting latency timer to 64
[ 1.056679] pcieport-driver 0000:00:1c.0: found MSI capability
[ 1.056679] pcieport-driver 0000:00:1c.0: irq 47 for MSI/MSI-X
[ 1.056679] pci_express 0000:00:1c.0:pcie00: allocate port service
[ 1.056679] pci_express 0000:00:1c.0:pcie02: allocate port service
[ 1.056679] pci_express 0000:00:1c.0:pcie03: allocate port service
[ 1.056679] pcieport-driver 0000:00:1c.1: setting latency timer to 64
[ 1.056679] pcieport-driver 0000:00:1c.1: found MSI capability
[ 1.056679] pcieport-driver 0000:00:1c.1: irq 46 for MSI/MSI-X
[ 1.056679] pci_express 0000:00:1c.1:pcie00: allocate port service
[ 1.056679] pci_express 0000:00:1c.1:pcie02: allocate port service
[ 1.056679] pci_express 0000:00:1c.1:pcie03: allocate port service
[ 1.056679] pcieport-driver 0000:00:1c.2: setting latency timer to 64
[ 1.056679] pcieport-driver 0000:00:1c.2: found MSI capability
[ 1.056679] pcieport-driver 0000:00:1c.2: irq 45 for MSI/MSI-X
[ 1.056679] pci_express 0000:00:1c.2:pcie00: allocate port service
[ 1.056679] pci_express 0000:00:1c.2:pcie02: allocate port service
[ 1.056679] pci_express 0000:00:1c.2:pcie03: allocate port service
[ 1.066678] Serial: 8250/16550 driver4 ports, IRQ sharing disabled
[ 1.070013] brd: module loaded
[ 1.070013] Driver 'sd' needs updating - please use bus_type methods
[ 1.070013] ahci 0000:00:1f.2: version 3.0
[ 1.073348] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 7
[ 1.073348] PCI: setting IRQ 7 as level-triggered
[ 1.073348] ahci 0000:00:1f.2: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 1.073348] ahci 0000:00:1f.2: PCI INT B disabled
[ 1.073348] ahci: probe of 0000:00:1f.2 failed with error -22
[ 1.073348] ata_piix 0000:00:1f.2: version 2.12
[ 1.073348] ata_piix 0000:00:1f.2: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 1.073348] ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
[ 1.073348] ata_piix 0000:00:1f.2: setting latency timer to 64
[ 1.073348] scsi0 : ata_piix
[ 1.073348] scsi1 : ata_piix
[ 1.073348] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
[ 1.073348] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
[ 1.400001] ata2.00: ATA-4: SILICONMOTION SM223AC, , max UDMA/66
[ 1.400001] ata2.00: 7815024 sectors, multi 0: LBA
[ 1.413334] ata2.00: configured for UDMA/66
[ 1.413334] scsi 1:0:0:0: Direct-Access ATA SILICONMOTION SM n/a PQ: 0 ANSI: 5
[ 1.413334] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors: (4.00 GB/3.72 GiB)
[ 1.413334] sd 1:0:0:0: [sda] Write Protect is off
[ 1.413334] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.413334] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1.413334] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors: (4.00 GB/3.72 GiB)
[ 1.413334] sd 1:0:0:0: [sda] Write Protect is off
[ 1.413334] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.413334] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1.413334] sda: sda1
[ 1.413334] sd 1:0:0:0: [sda] Attached SCSI disk
[ 1.415947] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 1.445629] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.445629] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.445629] mice: PS/2 mouse device common for all mice
[ 1.445629] rtc_cmos 00:03: RTC can wake from S4
[ 1.448963] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[ 1.448963] rtc0: alarms up to one month, 114 bytes nvram, , hpet irqs irqs
[ 1.448963] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008)
[ 1.448963] iTCO_wdt: Found a ICH6-M TCO device (Version=2, TCOBASE=0x0860)
[ 1.448963] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 1.448963] iTCO_vendor_support: vendor-support=0
[ 1.448963] cpuidle: using governor ladder
[ 1.448963] cpuidle: using governor menu
[ 1.448963] Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
[ 1.448963] ALSA device list:
[ 1.448963] No soundcards found.
[ 1.448963] TCP cubic registered
[ 1.450470] Using IPI Shortcut mode
[ 1.450885] rtc_cmos 00:03: setting system clock to 2008-11-04 16:06:15 UTC (1225814775)
[ 1.450885] BIOS EDD facility v0.16 2004-Jun-25, 2 devices found
[ 1.450885] Freeing unused kernel memory: 256k freed
[ 1.496680] input: AT Translated Set 2 keyboard as /class/input/input0
[ 1.900004] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[ 1.903344] processor ACPI0007:00: registered as cooling_device0
[ 1.903344] ACPI: Processor [CPU1] (supports 8 throttling states)
[ 1.913831] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 1.913831] Marking TSC unstable due to TSC halts in idle
[ 1.927730] thermal LNXTHERM:01: registered as thermal_zone0
[ 1.940632] ACPI: Thermal Zone [TZ00] (42 C)
[ 2.383353] PM: Starting manual resume from disk
[ 3.393347] input: PC Speaker as /class/input/input1
[ 3.393347] usbcore: registered new interface driver usbfs
[ 3.393347] usbcore: registered new interface driver hub
[ 3.393347] usbcore: registered new device driver usb
[ 3.420009] usbcore: registered new interface driver libusual
[ 3.433342] Initializing USB Mass Storage driver...
[ 3.433342] usbcore: registered new interface driver usb-storage
[ 3.433342] USB Mass Storage support registered.
[ 3.450008] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.450008] ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 3
[ 3.450008] PCI: setting IRQ 3 as level-triggered
[ 3.450008] ehci_hcd 0000:00:1d.7: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 3.450008] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 3.450008] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 3.450008] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[ 3.456710] ehci_hcd 0000:00:1d.7: debug port 1
[ 3.456710] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
[ 3.456710] ehci_hcd 0000:00:1d.7: irq 3, io mem 0xf7eb7c00
[ 3.473122] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[ 3.473122] usb usb1: configuration #1 chosen from 1 choice
[ 3.473122] hub 1-0:1.0: USB hub found
[ 3.473122] hub 1-0:1.0: 8 ports detected
[ 3.480010] uhci_hcd: USB Universal Host Controller Interface driver
[ 3.480010] uhci_hcd 0000:00:1d.0: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 3.480010] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 3.480010] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 3.480010] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 3.480010] uhci_hcd 0000:00:1d.0: irq 3, io base 0x0000e400
[ 3.480010] usb usb2: configuration #1 chosen from 1 choice
[ 3.480010] hub 2-0:1.0: USB hub found
[ 3.480010] hub 2-0:1.0: 2 ports detected
[ 3.480010] uhci_hcd 0000:00:1d.1: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 3.480010] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[ 3.480010] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 3.480010] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[ 3.480010] uhci_hcd 0000:00:1d.1: irq 7, io base 0x0000e480
[ 3.483342] usb usb3: configuration #1 chosen from 1 choice
[ 3.483342] hub 3-0:1.0: USB hub found
[ 3.483342] hub 3-0:1.0: 2 ports detected
[ 3.483342] uhci_hcd 0000:00:1d.2: PCI INT C -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 3.483342] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 3.483342] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 3.483342] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[ 3.483342] uhci_hcd 0000:00:1d.2: irq 10, io base 0x0000e800
[ 3.483342] usb usb4: configuration #1 chosen from 1 choice
[ 3.483342] hub 4-0:1.0: USB hub found
[ 3.483342] hub 4-0:1.0: 2 ports detected
[ 3.483342] uhci_hcd 0000:00:1d.3: PCI INT D -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 3.483342] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 3.483342] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[ 3.483342] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[ 3.483342] uhci_hcd 0000:00:1d.3: irq 5, io base 0x0000e880
[ 3.483342] usb usb5: configuration #1 chosen from 1 choice
[ 3.483342] hub 5-0:1.0: USB hub found
[ 3.483342] hub 5-0:1.0: 2 ports detected
[ 3.493681] udev: starting version 131
[ 3.493681] udev: deprecated sysfs layout (kernel too old, or CONFIG_SYSFS_DEPRECATED) is unsupported, some udev features may fail
[ 3.776689] usb 1-5: new high speed USB device using ehci_hcd and address 2
[ 3.900016] usb 1-5: configuration #1 chosen from 1 choice
[ 3.906686] scsi2 : SCSI emulation for USB Mass Storage devices
[ 3.913352] usb-storage: device found at 2
[ 3.913352] usb-storage: waiting for device to settle before scanning
[ 4.286673] Linux agpgart interface v0.103
[ 4.296674] agpgart-intel 0000:00:00.0: Intel 915GM Chipset
[ 4.296674] agpgart-intel 0000:00:00.0: detected 7932K stolen memory
[ 4.303355] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[ 4.310019] input: Power Button (FF) as /class/input/input2
[ 4.336684] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 4.343347] ACPI: Power Button (FF) [PWRF]
[ 4.343347] input: Lid Switch as /class/input/input3
[ 4.360013] pciehp 0000:00:1c.0:pcie02: HPC vendor_id 8086 device_id 2660 ss_vid 0 ss_did 0
[ 4.360013] pciehp 0000:00:1c.0:pcie02: service driver pciehp loaded
[ 4.363343] pciehp 0000:00:1c.1:pcie02: HPC vendor_id 8086 device_id 2662 ss_vid 0 ss_did 0
[ 4.363343] ACPI: Lid Switch [LID]
[ 4.363343] eeepc: Eee PC Hotkey Driver
[ 4.363343] eeepc: Hotkey init flags 0x41
[ 4.363343] eeepc: Get control methods supported: 0x101711
[ 4.366753] input: Asus EeePC extra buttons as /class/input/input4
[ 4.396684] input: Sleep Button (CM) as /class/input/input5
[ 4.423350] ACPI: Sleep Button (CM) [SLPB]
[ 4.423350] input: Power Button (CM) as /class/input/input6
[ 4.450022] ACPI: Power Button (CM) [PWRB]
[ 4.656689] intel_rng: FWH not detected
[ 5.370046] pciehp 0000:00:1c.1:pcie02: hpc_check_lnk_status: DEBUG TIME 1000ms
[ 5.370046] Pid: 1915, comm: modprobe Not tainted 2.6.28-rc3eeepc #128
[ 5.370046] Call Trace:
[ 5.370046] [<e0064b11>] hpc_check_lnk_status+0x107/0x1ba [pciehp]
[ 5.370046] [<e0062eaa>] pciehp_enable_slot+0x19d/0x2c9 [pciehp]
[ 5.370046] [<e0064ded>] hpc_get_adapter_status+0x26/0x65 [pciehp]
[ 5.370046] [<e00629b8>] pciehp_probe+0x3b2/0x3ee [pciehp]
[ 5.370046] [<c0191e61>] sysfs_do_create_link+0x97/0xd7
[ 5.370046] [<c01c276d>] pcie_port_probe_service+0x29/0x63
[ 5.370046] [<c020759b>] driver_probe_device+0xa1/0x117
[ 5.370046] [<c020765a>] __driver_attach+0x49/0x67
[ 5.370046] [<c0206df8>] bus_for_each_dev+0x35/0x56
[ 5.370046] [<c020744a>] driver_attach+0x11/0x13
[ 5.370046] [<c0207611>] __driver_attach+0x0/0x67
[ 5.370046] [<c020713f>] bus_add_driver+0x91/0x192
[ 5.370046] [<c02077b1>] driver_register+0x6d/0xc2
[ 5.370046] [<c0191561>] sysfs_addrm_finish+0x13/0x16f
[ 5.370046] [<e0033000>] pcied_init+0x0/0x5c [pciehp]
[ 5.370046] [<e003300b>] pcied_init+0xb/0x5c [pciehp]
[ 5.370046] [<c0101134>] _stext+0x4c/0x136
[ 5.370046] [<c01576c3>] __vunmap+0x7c/0x8a
[ 5.370046] [<c0135324>] load_module+0xfe3/0x10e8
[ 5.370046] [<e0055000>] shpc_remove+0x0/0x1e [shpchp]
[ 5.370046] [<c0116acc>] place_entity+0x6d/0xa3
[ 5.370046] [<c0116979>] wakeup_preempt_entity+0x49/0x60
[ 5.370046] [<c0119973>] check_preempt_wakeup+0xe6/0x10d
[ 5.370046] [<c01354b0>] sys_init_module+0x87/0x177
[ 5.374286] [<c010376d>] sysenter_do_call+0x12/0x21
[ 5.374286] [<c0290000>] inet6_lookup_listener+0xac/0xd4
[ 5.374286] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 5.374286] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 5.374286] pciehp 0000:00:1c.1:pcie02: service driver pciehp loaded
[ 5.374286] pciehp 0000:00:1c.2:pcie02: HPC vendor_id 8086 device_id 2664 ss_vid 0 ss_did 0
[ 5.374286] HDA Intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 5.374286] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 5.446677] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 5.723355] Synaptics Touchpad, model: 1, fw: 6.5, id: 0x1c0b1, caps: 0xa04751/0xa00000
[ 5.850019] input: SynPS/2 Synaptics TouchPad as /class/input/input7
[ 6.380049] pciehp 0000:00:1c.2:pcie02: hpc_check_lnk_status: DEBUG TIME 1000ms
[ 6.380049] Pid: 1915, comm: modprobe Not tainted 2.6.28-rc3eeepc #128
[ 6.380049] Call Trace:
[ 6.380049] [<e0064b11>] hpc_check_lnk_status+0x107/0x1ba [pciehp]
[ 6.380049] [<e0062eaa>] pciehp_enable_slot+0x19d/0x2c9 [pciehp]
[ 6.380049] [<e0064ded>] hpc_get_adapter_status+0x26/0x65 [pciehp]
[ 6.380049] [<e00629b8>] pciehp_probe+0x3b2/0x3ee [pciehp]
[ 6.380049] [<c0191e61>] sysfs_do_create_link+0x97/0xd7
[ 6.380049] [<c01c276d>] pcie_port_probe_service+0x29/0x63
[ 6.380049] [<c020759b>] driver_probe_device+0xa1/0x117
[ 6.380049] [<c020765a>] __driver_attach+0x49/0x67
[ 6.380049] [<c0206df8>] bus_for_each_dev+0x35/0x56
[ 6.380049] [<c020744a>] driver_attach+0x11/0x13
[ 6.380049] [<c0207611>] __driver_attach+0x0/0x67
[ 6.380049] [<c020713f>] bus_add_driver+0x91/0x192
[ 6.380049] [<c02077b1>] driver_register+0x6d/0xc2
[ 6.380049] [<c0191561>] sysfs_addrm_finish+0x13/0x16f
[ 6.380049] [<e0033000>] pcied_init+0x0/0x5c [pciehp]
[ 6.380049] [<e003300b>] pcied_init+0xb/0x5c [pciehp]
[ 6.380049] [<c0101134>] _stext+0x4c/0x136
[ 6.380049] [<c01576c3>] __vunmap+0x7c/0x8a
[ 6.380049] [<c0135324>] load_module+0xfe3/0x10e8
[ 6.380049] [<e0055000>] shpc_remove+0x0/0x1e [shpchp]
[ 6.380049] [<c0116acc>] place_entity+0x6d/0xa3
[ 6.380049] [<c0116979>] wakeup_preempt_entity+0x49/0x60
[ 6.380049] [<c0119973>] check_preempt_wakeup+0xe6/0x10d
[ 6.380049] [<c01354b0>] sys_init_module+0x87/0x177
[ 6.380049] [<c010376d>] sysenter_do_call+0x12/0x21
[ 6.380049] [<c0290000>] inet6_lookup_listener+0xac/0xd4
[ 6.380049] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 6.380049] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 6.380063] pciehp 0000:00:1c.2:pcie02: service driver pciehp loaded
[ 6.380063] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 6.380063] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 6.390021] ACPI: AC Adapter [AC0] (on-line)
[ 6.643347] cfg80211: Using static regulatory domain info
[ 6.643347] cfg80211: Regulatory domain: US
[ 6.643347] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 6.643347] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
[ 6.643347] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.643347] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.643347] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.643347] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 6.643347] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[ 6.643347] cfg80211: Calling CRDA for country: US
[ 6.766671] ath5k_pci 0000:01:00.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 6.766671] ath5k_pci 0000:01:00.0: setting latency timer to 64
[ 6.766671] ath5k_pci 0000:01:00.0: registered as 'phy0'
[ 6.843348] phy0: Selected rate control algorithm 'pid'
[ 6.863370] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[ 6.876686] udev: renamed network interface wlan0 to ath0
[ 7.001210] ACPI: Battery Slot [BAT0] (battery present)
[ 7.001210] input: Video Bus as /class/input/input8
[ 7.009736] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 7.206674] fuse init (API version 7.10)
[ 7.523336] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: [email protected]
[ 7.576210] aes_i586: Unknown symbol crypto_it_tab
[ 7.576210] aes_i586: Unknown symbol crypto_aes_set_key
[ 7.576210] aes_i586: Unknown symbol crypto_fl_tab
[ 7.576210] aes_i586: Unknown symbol crypto_il_tab
[ 7.576210] aes_i586: Unknown symbol crypto_ft_tab
[ 7.636686] aes_i586: Unknown symbol crypto_it_tab
[ 7.636686] aes_i586: Unknown symbol crypto_aes_set_key
[ 7.636686] aes_i586: Unknown symbol crypto_fl_tab
[ 7.640019] aes_i586: Unknown symbol crypto_il_tab
[ 7.640019] aes_i586: Unknown symbol crypto_ft_tab
[ 7.996805] Adding 409592k swap on /swapfile. Priority:-1 extents:704 across:581464k
[ 8.753362] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.813336] nf_conntrack version 0.5.0 (8056 buckets, 32224 max)
[ 8.816682] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[ 8.816682] nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
[ 8.816682] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 8.963348] usb-storage: device scan complete
[ 8.963348] scsi 2:0:0:0: Direct-Access USB2.0 CardReader SD0 0100 PQ: 0 ANSI: 0
[ 8.983359] NET: Registered protocol family 10
[ 8.986692] lo: Disabled Privacy Extensions
[ 9.000017] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.332351] sd 2:0:0:0: [sdb] 15660032 512-byte hardware sectors: (8.01 GB/7.46 GiB)
[ 9.335685] sd 2:0:0:0: [sdb] Write Protect is off
[ 9.335685] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 9.335685] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 9.341221] sd 2:0:0:0: [sdb] 15660032 512-byte hardware sectors: (8.01 GB/7.46 GiB)
[ 9.343097] sd 2:0:0:0: [sdb] Write Protect is off
[ 9.343097] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 9.343097] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 9.346430] sdb: sdb1
[ 9.346430] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 9.346430] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 9.502044] sensors[3236]: segfault at 46 ip b7ecc2cd sp bf8fa590 error 4 in libc-2.7.so[b7e72000+149000]
[ 9.502044] sensors[3238]: segfault at 46 ip b7f792cd sp bffa9450 error 4 in libc-2.7.so[b7f1f000+149000]
[ 10.360506] ACPI: WMI: Mapper loaded
[ 12.015464] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
[ 13.823335] [drm] Initialized drm 1.1.0 20060810
[ 13.843347] pci 0000:00:02.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 13.843347] pci 0000:00:02.0: setting latency timer to 64
[ 13.843347] [drm:i915_gem_detect_bit_6_swizzle] *ERROR* Couldn't read from MCHBAR. Disabling tiling.
[ 13.843347] [drm:i915_driver_load] *ERROR* failed to enable MSI
[ 13.843347] [drm] Initialized i915 1.6.0 20080730 on minor 0
[ 14.549175] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 15.422572] evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64 bytes. See http://userweb.kernel.org/~dtor/eviocgbit-bug.html
[ 141.479990] NET: Registered protocol family 17
[ 142.833322] ath0: authenticate with AP 00:1b:9e:19:45:90
[ 142.835861] ath0: authenticated
[ 142.835861] ath0: associate with AP 00:1b:9e:19:45:90
[ 142.839994] ath0: RX AssocResp from 00:1b:9e:19:45:90 (capab=0x431 status=0 aid=1)
[ 142.839994] ath0: associated
[ 142.839994] ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
[ 162.063362] ath0: no IPv6 routers present
[ 228.866647] ath0: No ProbeResp from current AP 00:1b:9e:19:45:90 - assume out of range
[ 230.016657] ath0: authenticate with AP 00:1b:9e:19:45:90
[ 230.023314] ath0: authenticated
[ 230.023314] ath0: associate with AP 00:1b:9e:19:45:90
[ 230.026652] ath0: RX ReassocResp from 00:1b:9e:19:45:90 (capab=0x431 status=0 aid=1)
[ 230.026652] ath0: associated
[ 254.106660] ath0: deauthenticating by local choice (reason=3)
[ 254.661011] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 257.722015] PM: Syncing filesystems ... done.
[ 257.722015] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 257.723327] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 257.723327] Suspending console(s) (use no_console_suspend to debug)
[ 257.723327] pci 0000:00:02.0: PCI INT A disabled
[ 258.276648] sd 1:0:0:0: [sda] Stopping disk
[ 258.276648] pciehp 0000:00:1c.2:pcie02: pciehp_suspend ENTRY
[ 258.276648] pciehp 0000:00:1c.1:pcie02: pciehp_suspend ENTRY
[ 258.276648] pciehp 0000:00:1c.0:pcie02: pciehp_suspend ENTRY
[ 258.276648] ath5k_pci 0000:01:00.0: PCI INT A disabled
[ 258.289982] ata_piix 0000:00:1f.2: PCI INT B disabled
[ 258.303315] ehci_hcd 0000:00:1d.7: PCI INT A disabled
[ 258.316648] uhci_hcd 0000:00:1d.3: PCI INT D disabled
[ 258.316648] uhci_hcd 0000:00:1d.2: PCI INT C disabled
[ 258.316648] uhci_hcd 0000:00:1d.1: PCI INT B disabled
[ 258.316648] uhci_hcd 0000:00:1d.0: PCI INT A disabled
[ 258.316648] pciehp 0000:00:1c.2:pcie02: pciehp_suspend ENTRY
[ 258.316648] pciehp 0000:00:1c.1:pcie02: pciehp_suspend ENTRY
[ 258.316648] pciehp 0000:00:1c.0:pcie02: pciehp_suspend ENTRY
[ 258.329981] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 258.343315] ACPI: Preparing to enter system sleep state S3
[ 258.343315] Intel machine check architecture supported.
[ 258.343315] Intel machine check reporting enabled on CPU#0.
[ 258.343315] Back to C!
[ 258.343315] Force enabled HPET at resume
[ 258.344326] ACPI: Waking up from system sleep state S3
[ 258.533309] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 258.834767] pci 0000:00:02.0: restoring config space at offset 0x1 (was 0x900007, writing 0x900003)
[ 258.853356] HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[ 258.853356] HDA Intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 258.853356] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 258.853356] pcieport-driver 0000:00:1c.0: restoring config space at offset 0x7 (was 0xf0, writing 0x200000f0)
[ 258.853356] pcieport-driver 0000:00:1c.0: restoring config space at offset 0x1 (was 0x100104, writing 0x100504)
[ 258.853356] pcieport-driver 0000:00:1c.0: setting latency timer to 64
[ 258.853356] pciehp 0000:00:1c.0:pcie02: pciehp_resume ENTRY
[ 258.853356] pcieport-driver 0000:00:1c.1: restoring config space at offset 0x7 (was 0xf0, writing 0x200000f0)
[ 258.853356] pcieport-driver 0000:00:1c.1: restoring config space at offset 0x1 (was 0x180106, writing 0x100506)
[ 258.853356] pciehp 0000:00:1c.1:pcie02: Card present on Slot(2)
[ 258.853356] pcieport-driver 0000:00:1c.1: setting latency timer to 64
[ 258.853356] pciehp 0000:00:1c.1:pcie02: pciehp_resume ENTRY
[ 259.856649] pciehp 0000:00:1c.1:pcie02: hpc_check_lnk_status: DEBUG TIME 1000ms
[ 259.856649] Pid: 1918, comm: pciehpd Not tainted 2.6.28-rc3eeepc #128
[ 259.856649] Call Trace:
[ 259.856649] [<e0064b11>] hpc_check_lnk_status+0x107/0x1ba [pciehp]
[ 259.856649] [<e0062eaa>] pciehp_enable_slot+0x19d/0x2c9 [pciehp]
[ 259.856649] [<e00630b5>] pciehp_power_thread+0x96/0xcd [pciehp]
[ 259.856649] [<e006301f>] pciehp_power_thread+0x0/0xcd [pciehp]
[ 259.856649] [<c01269e6>] run_workqueue+0x62/0xc9
[ 259.856649] [<c0126f90>] worker_thread+0x0/0xb7
[ 259.856649] [<c012703c>] worker_thread+0xac/0xb7
[ 259.856649] [<c0129029>] autoremove_wake_function+0x0/0x2b
[ 259.856649] [<c0126f90>] worker_thread+0x0/0xb7
[ 259.856649] [<c0128edb>] kthread+0x36/0x5b
[ 259.856649] [<c0128ea5>] kthread+0x0/0x5b
[ 259.856649] [<c0104453>] kernel_thread_helper+0x7/0x10
[ 259.856649] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 259.856649] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 260.860020] pciehp 0000:00:1c.1:pcie02: hpc_check_lnk_status: DEBUG TIME 1000ms
[ 260.860020] Pid: 4946, comm: pm-suspend Not tainted 2.6.28-rc3eeepc #128
[ 260.860020] Call Trace:
[ 260.860020] [<e0064b11>] hpc_check_lnk_status+0x107/0x1ba [pciehp]
[ 260.860020] [<e0062eaa>] pciehp_enable_slot+0x19d/0x2c9 [pciehp]
[ 260.860020] [<c01c2270>] resume_iter+0x0/0x25
[ 260.860020] [<e0064ded>] hpc_get_adapter_status+0x26/0x65 [pciehp]
[ 260.860020] [<c01c2270>] resume_iter+0x0/0x25
[ 260.860020] [<e0062287>] pciehp_resume+0xce/0xde [pciehp]
[ 260.860020] [<c01c2292>] resume_iter+0x22/0x25
[ 260.860020] [<c02054fa>] device_for_each_child+0x1a/0x3b
[ 260.860020] [<c01bf003>] pci_legacy_resume+0x15/0x16
[ 260.860020] [<c020960f>] pm_op+0x52/0xac
[ 260.860020] [<c0209bd5>] device_resume+0x7d/0x2d2
[ 260.860020] [<c0135c91>] suspend_devices_and_enter+0xc7/0xfb
[ 260.860020] [<c0135de6>] enter_state+0xdf/0x12e
[ 260.860020] [<c0135ec3>] state_store+0x8e/0xa4
[ 260.860020] [<c0135e35>] state_store+0x0/0xa4
[ 260.860020] [<c01b3bb7>] kobj_attr_store+0x18/0x1c
[ 260.860020] [<c0190b9e>] sysfs_write_file+0xaf/0xdc
[ 260.860020] [<c0190aef>] sysfs_write_file+0x0/0xdc
[ 260.860020] [<c0162964>] vfs_write+0x83/0xf6
[ 260.860020] [<c0162cf5>] sys_write+0x3c/0x63
[ 260.860020] [<c010376d>] sysenter_do_call+0x12/0x21
[ 260.860020] [<c0290000>] inet6_lookup_listener+0xac/0xd4
[ 260.860020] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 260.860020] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 262.386647] irq 10: nobody cared (try booting with the "irqpoll" option)
[ 262.386647] Pid: 4946, comm: pm-suspend Not tainted 2.6.28-rc3eeepc #128
[ 262.386647] Call Trace:
[ 262.386647] [<c0142b38>] __report_bad_irq+0x24/0x69
[ 262.386647] [<c0142b3f>] __report_bad_irq+0x2b/0x69
[ 262.386647] [<c0142c6a>] note_interrupt+0xed/0x133
[ 262.386647] [<c01420bd>] handle_IRQ_event+0x1a/0x3f
[ 262.386647] [<c0143364>] handle_level_irq+0x4d/0x8d
[ 262.386647] [<c0104e95>] do_IRQ+0x55/0x6c
[ 262.386647] [<c010430b>] common_interrupt+0x23/0x28
[ 262.386647] [<c0230000>] atkbd_set_extra+0x77/0xfb
[ 262.386647] [<c011ec28>] __do_softirq+0x2a/0xbc
[ 262.386647] [<c011ecdc>] do_softirq+0x22/0x26
[ 262.386647] [<c011ef49>] irq_exit+0x25/0x55
[ 262.386647] [<c0104e9a>] do_IRQ+0x5a/0x6c
[ 262.386647] [<c010430b>] common_interrupt+0x23/0x28
[ 262.386647] [<c01bb518>] pci_bus_write_config_word+0x28/0x2e
[ 262.386647] [<c01bd0cb>] pci_restore_state+0x79/0x15c
[ 262.386647] [<c01c2270>] resume_iter+0x0/0x25
[ 262.386647] [<c01c2920>] pcie_portdrv_restore_config+0x9/0x22
[ 262.386647] [<c01c2975>] pcie_portdrv_resume+0x8/0x10
[ 262.386647] [<c01bf003>] pci_legacy_resume+0x15/0x16
[ 262.386647] [<c020960f>] pm_op+0x52/0xac
[ 262.386647] [<c0209bd5>] device_resume+0x7d/0x2d2
[ 262.386647] [<c0135c91>] suspend_devices_and_enter+0xc7/0xfb
[ 262.386647] [<c0135de6>] enter_state+0xdf/0x12e
[ 262.386647] [<c0135ec3>] state_store+0x8e/0xa4
[ 262.386647] [<c0135e35>] state_store+0x0/0xa4
[ 262.386647] [<c01b3bb7>] kobj_attr_store+0x18/0x1c
[ 262.386647] [<c0190b9e>] sysfs_write_file+0xaf/0xdc
[ 262.386647] [<c0190aef>] sysfs_write_file+0x0/0xdc
[ 262.386647] [<c0162964>] vfs_write+0x83/0xf6
[ 262.386647] [<c0162cf5>] sys_write+0x3c/0x63
[ 262.386647] [<c010376d>] sysenter_do_call+0x12/0x21
[ 262.386647] [<c0290000>] inet6_lookup_listener+0xac/0xd4
[ 262.386647] handlers:
[ 262.386647] [<e0018d79>] (usb_hcd_irq+0x0/0x57 [usbcore])
[ 262.386647] Disabling IRQ #10
[ 262.386647] pcieport-driver 0000:00:1c.2: restoring config space at offset 0x7 (was 0xf0, writing 0x200000f0)
[ 262.386647] pcieport-driver 0000:00:1c.2: restoring config space at offset 0x1 (was 0x180106, writing 0x100506)
[ 262.386647] pciehp 0000:00:1c.2:pcie02: Card present on Slot(3)
[ 262.386647] pcieport-driver 0000:00:1c.2: setting latency timer to 64
[ 262.386647] pciehp 0000:00:1c.2:pcie02: pciehp_resume ENTRY
[ 263.393352] pciehp 0000:00:1c.2:pcie02: hpc_check_lnk_status: DEBUG TIME 1000ms
[ 263.393352] Pid: 1918, comm: pciehpd Not tainted 2.6.28-rc3eeepc #128
[ 263.393352] Call Trace:
[ 263.393352] [<e0064b11>] hpc_check_lnk_status+0x107/0x1ba [pciehp]
[ 263.393352] [<e0062eaa>] pciehp_enable_slot+0x19d/0x2c9 [pciehp]
[ 263.393352] [<e00630b5>] pciehp_power_thread+0x96/0xcd [pciehp]
[ 263.393352] [<e006301f>] pciehp_power_thread+0x0/0xcd [pciehp]
[ 263.393352] [<c01269e6>] run_workqueue+0x62/0xc9
[ 263.393352] [<c0126f90>] worker_thread+0x0/0xb7
[ 263.393352] [<c012703c>] worker_thread+0xac/0xb7
[ 263.393352] [<c0129029>] autoremove_wake_function+0x0/0x2b
[ 263.393352] [<c0126f90>] worker_thread+0x0/0xb7
[ 263.393352] [<c0128edb>] kthread+0x36/0x5b
[ 263.393352] [<c0128ea5>] kthread+0x0/0x5b
[ 263.393352] [<c0104453>] kernel_thread_helper+0x7/0x10
[ 263.393352] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 263.393352] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 264.396686] pciehp 0000:00:1c.2:pcie02: hpc_check_lnk_status: DEBUG TIME 1000ms
[ 264.396686] Pid: 4946, comm: pm-suspend Not tainted 2.6.28-rc3eeepc #128
[ 264.396686] Call Trace:
[ 264.396686] [<e0064b11>] hpc_check_lnk_status+0x107/0x1ba [pciehp]
[ 264.396686] [<e0062eaa>] pciehp_enable_slot+0x19d/0x2c9 [pciehp]
[ 264.396686] [<c01c2270>] resume_iter+0x0/0x25
[ 264.396686] [<e0064ded>] hpc_get_adapter_status+0x26/0x65 [pciehp]
[ 264.396686] [<c01c2270>] resume_iter+0x0/0x25
[ 264.396686] [<e0062287>] pciehp_resume+0xce/0xde [pciehp]
[ 264.396686] [<c01c2292>] resume_iter+0x22/0x25
[ 264.396686] [<c02054fa>] device_for_each_child+0x1a/0x3b
[ 264.396686] [<c01bf003>] pci_legacy_resume+0x15/0x16
[ 264.396686] [<c020960f>] pm_op+0x52/0xac
[ 264.396686] [<c0209bd5>] device_resume+0x7d/0x2d2
[ 264.396686] [<c0135c91>] suspend_devices_and_enter+0xc7/0xfb
[ 264.396686] [<c0135de6>] enter_state+0xdf/0x12e
[ 264.396686] [<c0135ec3>] state_store+0x8e/0xa4
[ 264.396686] [<c0135e35>] state_store+0x0/0xa4
[ 264.396686] [<c01b3bb7>] kobj_attr_store+0x18/0x1c
[ 264.396686] [<c0190b9e>] sysfs_write_file+0xaf/0xdc
[ 264.396686] [<c0190aef>] sysfs_write_file+0x0/0xdc
[ 264.396686] [<c0162964>] vfs_write+0x83/0xf6
[ 264.396686] [<c0162cf5>] sys_write+0x3c/0x63
[ 264.396686] [<c010376d>] sysenter_do_call+0x12/0x21
[ 264.396686] [<c0290000>] inet6_lookup_listener+0xac/0xd4
[ 264.396686] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 264.396686] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 264.396686] uhci_hcd 0000:00:1d.0: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 264.396686] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 264.396686] usb usb2: root hub lost power or was reset
[ 264.396686] uhci_hcd 0000:00:1d.1: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 264.396686] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[ 264.396686] usb usb3: root hub lost power or was reset
[ 264.396686] uhci_hcd 0000:00:1d.2: PCI INT C -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 264.396686] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 264.396686] usb usb4: root hub lost power or was reset
[ 264.396686] uhci_hcd 0000:00:1d.3: PCI INT D -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 264.396686] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 264.396686] usb usb5: root hub lost power or was reset
[ 264.410018] ehci_hcd 0000:00:1d.7: PCI INT A -> Link[LNKH] -> GSI 3 (level, low) -> IRQ 3
[ 264.410018] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 264.410018] pci 0000:00:1e.0: restoring config space at offset 0xf (was 0x60000, writing 0x600ff)
[ 264.410018] pci 0000:00:1e.0: setting latency timer to 64
[ 264.423352] ata_piix 0000:00:1f.2: PCI INT B -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7
[ 264.423352] ata_piix 0000:00:1f.2: setting latency timer to 64
[ 264.423352] ath5k_pci 0000:01:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[ 264.423352] ath5k_pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xfbef0004)
[ 264.423352] ath5k_pci 0000:01:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x4)
[ 264.423352] ath5k_pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[ 264.436684] ath5k_pci 0000:01:00.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[ 264.456643] pciehp 0000:00:1c.0:pcie02: pciehp_resume ENTRY
[ 264.456643] pciehp 0000:00:1c.1:pcie02: pciehp_resume ENTRY
[ 264.600016] ata2.00: configured for UDMA/66
[ 264.600016] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors: (4.00 GB/3.72 GiB)
[ 264.600016] sd 1:0:0:0: [sda] Write Protect is off
[ 264.600016] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 264.600016] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 265.466684] pciehp 0000:00:1c.1:pcie02: hpc_check_lnk_status: DEBUG TIME 1000ms
[ 265.466684] Pid: 4946, comm: pm-suspend Not tainted 2.6.28-rc3eeepc #128
[ 265.466684] Call Trace:
[ 265.466684] [<e0064b11>] hpc_check_lnk_status+0x107/0x1ba [pciehp]
[ 265.466684] [<e0062eaa>] pciehp_enable_slot+0x19d/0x2c9 [pciehp]
[ 265.466684] [<e0064ded>] hpc_get_adapter_status+0x26/0x65 [pciehp]
[ 265.466684] [<e0062287>] pciehp_resume+0xce/0xde [pciehp]
[ 265.466684] [<c01c2ae2>] pcie_port_bus_resume+0x1f/0x25
[ 265.466684] [<c0209be2>] device_resume+0x8a/0x2d2
[ 265.466684] [<c0135c91>] suspend_devices_and_enter+0xc7/0xfb
[ 265.466684] [<c0135de6>] enter_state+0xdf/0x12e
[ 265.466684] [<c0135ec3>] state_store+0x8e/0xa4
[ 265.466684] [<c0135e35>] state_store+0x0/0xa4
[ 265.466684] [<c01b3bb7>] kobj_attr_store+0x18/0x1c
[ 265.466684] [<c0190b9e>] sysfs_write_file+0xaf/0xdc
[ 265.466684] [<c0190aef>] sysfs_write_file+0x0/0xdc
[ 265.466684] [<c0162964>] vfs_write+0x83/0xf6
[ 265.466684] [<c0162cf5>] sys_write+0x3c/0x63
[ 265.466684] [<c010376d>] sysenter_do_call+0x12/0x21
[ 265.466684] [<c0290000>] inet6_lookup_listener+0xac/0xd4
[ 265.466684] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 265.466684] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 265.466684] pciehp 0000:00:1c.2:pcie02: pciehp_resume ENTRY
[ 266.470019] pciehp 0000:00:1c.2:pcie02: hpc_check_lnk_status: DEBUG TIME 1000ms
[ 266.470019] Pid: 4946, comm: pm-suspend Not tainted 2.6.28-rc3eeepc #128
[ 266.470019] Call Trace:
[ 266.470019] [<e0064b11>] hpc_check_lnk_status+0x107/0x1ba [pciehp]
[ 266.470019] [<e0062eaa>] pciehp_enable_slot+0x19d/0x2c9 [pciehp]
[ 266.470019] [<e0064ded>] hpc_get_adapter_status+0x26/0x65 [pciehp]
[ 266.470019] [<e0062287>] pciehp_resume+0xce/0xde [pciehp]
[ 266.470019] [<c01c2ae2>] pcie_port_bus_resume+0x1f/0x25
[ 266.470019] [<c0209be2>] device_resume+0x8a/0x2d2
[ 266.470019] [<c0135c91>] suspend_devices_and_enter+0xc7/0xfb
[ 266.470019] [<c0135de6>] enter_state+0xdf/0x12e
[ 266.470019] [<c0135ec3>] state_store+0x8e/0xa4
[ 266.470019] [<c0135e35>] state_store+0x0/0xa4
[ 266.470019] [<c01b3bb7>] kobj_attr_store+0x18/0x1c
[ 266.470019] [<c0190b9e>] sysfs_write_file+0xaf/0xdc
[ 266.470019] [<c0190aef>] sysfs_write_file+0x0/0xdc
[ 266.470019] [<c0162964>] vfs_write+0x83/0xf6
[ 266.470019] [<c0162cf5>] sys_write+0x3c/0x63
[ 266.470019] [<c010376d>] sysenter_do_call+0x12/0x21
[ 266.470019] [<c0290000>] inet6_lookup_listener+0xac/0xd4
[ 266.470019] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 266.470019] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 266.470019] sd 1:0:0:0: [sda] Starting disk
[ 266.726685] usb 1-5: reset high speed USB device using ehci_hcd and address 2
[ 267.963352] pci 0000:00:02.0: PCI INT A -> Link[LNKA] -> GSI 5 (level, low) -> IRQ 5
[ 267.963352] pci 0000:00:02.0: setting latency timer to 64
[ 267.963352] Restarting tasks ... done.
[ 269.007495] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 271.646684] evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64 bytes. See http://userweb.kernel.org/~dtor/eviocgbit-bug.html
[ 282.273308] ath0: authenticate with AP 00:1b:9e:19:45:90
[ 282.279980] ath0: authenticated
[ 282.279980] ath0: associate with AP 00:1b:9e:19:45:90
[ 282.279980] ath0: RX AssocResp from 00:1b:9e:19:45:90 (capab=0x431 status=0 aid=1)
[ 282.279980] ath0: associated
[ 282.283315] ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
[ 302.506644] ath0: no IPv6 routers present
[ 308.279984] ath0: No ProbeResp from current AP 00:1b:9e:19:45:90 - assume out of range
[ 309.439973] ath0: authenticate with AP 00:1b:9e:19:45:90
[ 309.444712] ath0: authenticated
[ 309.444712] ath0: associate with AP 00:1b:9e:19:45:90
[ 309.449984] ath0: RX ReassocResp from 00:1b:9e:19:45:90 (capab=0x431 status=0 aid=1)
[ 309.449984] ath0: associated
[ 331.456648] ath0: No ProbeResp from current AP 00:1b:9e:19:45:90 - assume out of range
[ 332.583303] ath0: authenticate with AP 00:1b:9e:19:45:90
[ 332.589964] ath0: authenticated
[ 332.589964] ath0: associate with AP 00:1b:9e:19:45:90
[ 332.593308] ath0: RX ReassocResp from 00:1b:9e:19:45:90 (capab=0x431 status=0 aid=1)
[ 332.593308] ath0: associated


Attachments:
dmesg (54.30 kB)

2008-11-09 16:06:29

by Alan Jenkins

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

Alan Jenkins wrote:
> Matthew Garrett wrote:
>> On Tue, Nov 04, 2008 at 03:44:23PM +0000, Alan Jenkins wrote:
>>
>>
>>> I instrumented all the delays I could find. hpc_check_lnk_status() was
>>> the only one that came up. 1000ms delay per call, and I get 6 such
>>> delays.
>>>
>>
>> Ok, which is getting called from pciehp_enable_slot(). I'm not quite
>> clear on why this is being called 6 times - any chance you can put a
>> dump_stack() in there? Some are probably directly from the resume
>> code. This confuses me a little, since there's a check for whether
>> there's a card in the slot first. If that fails, pciehp_enable_slot()
>> isn't called. If it succeeds, pciehp_enable_slot checks whether the
>> slot is already powered up. If it is, it bails before doing the link
>> setup.

Bump. In case you're still slightly confused, I've found out why. It
skips the slot power check because POWER_CTRL(ctrl) == 0. (See "Power
Controller" in the debug output below).

Interestingly, I can see that hpc_get_power_status() is still being
called from elsewhere. So I'm not sure why we avoid calling it here.

Should I try out the obvious dumb fix (removing the POWER_CTRL test)?

Ta
Alan


# modprobe pciehp pciehp_passive=1 pciehp_debug=1

dmesg output from last of 3 pcie slots:

[ 328.873347] pciehp 0000:00:1c.1:pcie02: hpc_check_lnk_status: lnk_status = 1011
[ 328.873347] pciehp 0000:00:1c.1:pcie02: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[ 328.873347] pciehp 0000:00:1c.1:pcie02: Cannot add device at 0000:03:00
[ 328.873347] pciehp 0000:00:1c.1:pcie02: hpc_get_power_status: SLOTCTRL 58 value read 38
[ 328.873347] pciehp 0000:00:1c.1:pcie02: hpc_get_attention_status: SLOTCTRL 58, value read 38
[ 328.873347] pciehp 0000:00:1c.1:pcie02: service driver pciehp loaded
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Hotplug Controller:
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Seg/Bus/Dev/Func/IRQ : 0000:00:1c.2 IRQ 45
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Vendor ID : 0x8086
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Device ID : 0x2664
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Subsystem ID : 0x0000
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Subsystem Vendor ID : 0x0000
[ 328.873347] pciehp 0000:00:1c.2:pcie02: PCIe Cap offset : 0x40
[ 328.873347] pciehp 0000:00:1c.2:pcie02: PCI resource [8] : 0x3f00000@0xf8000000
[ 328.873347] pciehp 0000:00:1c.2:pcie02: PCI resource [9] : 0x7000000@0xf0000000
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Slot Capabilities : 0x00180560
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Physical Slot Number : 3
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Attention Button : no
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Power Controller : no
[ 328.873347] pciehp 0000:00:1c.2:pcie02: MRL Sensor : no
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Attention Indicator : no
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Power Indicator : no
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Hot-Plug Surprise : yes
[ 328.873347] pciehp 0000:00:1c.2:pcie02: EMI Present : no
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Command Completed : yes
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Slot Status : 0x0040
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Slot Control : 0x0000
[ 328.873347] pciehp 0000:00:1c.2:pcie02: HPC vendor_id 8086 device_id 2664 ss_vid 0 ss_did 0
[ 328.873347] pciehp 0000:00:1c.2:pcie02: Registering domain:bus:dev=0000:01:00 hp_slot=0 sun=3 slot_device_offset=0
[ 328.873347] pciehp 0000:00:1c.2:pcie02: get_power_status: physical_slot = 3
[ 328.873347] pciehp 0000:00:1c.2:pcie02: hpc_get_power_status: SLOTCTRL 58 value read 38
[ 328.873347] pciehp 0000:00:1c.2:pcie02: get_attention_status: physical_slot = 3
[ 328.873347] pciehp 0000:00:1c.2:pcie02: hpc_get_attention_status: SLOTCTRL 58, value read 38
[ 328.873347] pciehp 0000:00:1c.2:pcie02: get_latch_status: physical_slot = 3
[ 328.873347] pciehp 0000:00:1c.2:pcie02: get_adapter_status: physical_slot = 3
[ 328.873347] pciehp 0000:00:1c.2:pcie02: board_added: slot device, slot offset, hp slot = 0, 0, 0
[ 329.876677] pciehp 0000:00:1c.2:pcie02: hpc_check_lnk_status: DEBUG TIME 1000ms
[ 329.876677] Pid: 5101, comm: modprobe Not tainted 2.6.28-rc3eeepc #128
[ 329.876677] Call Trace:
[ 329.876677] [<e02d3b11>] hpc_check_lnk_status+0x107/0x1ba [pciehp]
[ 329.876677] [<e02d1eaa>] pciehp_enable_slot+0x19d/0x2c9 [pciehp]
[ 329.876677] [<e02d19b8>] pciehp_probe+0x3b2/0x3ee [pciehp]
[ 329.876677] [<c01c276d>] pcie_port_probe_service+0x29/0x63
[ 329.876677] [<c020759b>] driver_probe_device+0xa1/0x117
[ 329.876677] [<c020765a>] __driver_attach+0x49/0x67
[ 329.876677] [<c0206df8>] bus_for_each_dev+0x35/0x56
[ 329.876677] [<c020744a>] driver_attach+0x11/0x13
[ 329.876677] [<c0207611>] __driver_attach+0x0/0x67
[ 329.876677] [<c020713f>] bus_add_driver+0x91/0x192
[ 329.876677] [<c02077b1>] driver_register+0x6d/0xc2
[ 329.876677] [<c0191561>] sysfs_addrm_finish+0x13/0x16f
[ 329.876677] [<e027d000>] pcied_init+0x0/0x5c [pciehp]
[ 329.876677] [<e027d00b>] pcied_init+0xb/0x5c [pciehp]
[ 329.876677] [<c0101134>] _stext+0x4c/0x136
[ 329.876677] [<c01576c3>] __vunmap+0x7c/0x8a
[ 329.876677] [<c0135324>] load_module+0xfe3/0x10e8
[ 329.876677] [<e0046c77>] acpi_get_hp_params_from_firmware+0x0/0x49d [pci_hotplug]
[ 329.876677] [<c01354b0>] sys_init_module+0x87/0x177
[ 329.876677] [<c010376d>] sysenter_do_call+0x12/0x21
[ 329.876677] pciehp 0000:00:1c.2:pcie02: hpc_check_lnk_status: lnk_status = 1011
[ 329.876677] pciehp 0000:00:1c.2:pcie02: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
[ 329.876677] pciehp 0000:00:1c.2:pcie02: Cannot add device at 0000:01:00
[ 329.876677] pciehp 0000:00:1c.2:pcie02: hpc_get_power_status: SLOTCTRL 58 value read 38
[ 329.876677] pciehp 0000:00:1c.2:pcie02: hpc_get_attention_status: SLOTCTRL 58, value read 38
[ 329.876677] pciehp 0000:00:1c.2:pcie02: service driver pciehp loaded

2008-11-12 23:39:58

by Matthew Garrett

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

Ok, from looking at the Microsoft docs
(http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/BIOS_PCIe_HotPlug.doc)
I suspect this is the wrong way to go - they make it sound like native
PCIe hotplug is only supported in Vista and later, so we probably ought
to be doing something with ACPI instead. I'll look into that later this
week.

--
Matthew Garrett | [email protected]

2008-11-14 16:16:44

by Matthew Garrett

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

On Sun, Nov 09, 2008 at 04:08:54PM +0000, Alan Jenkins wrote:

> Bump. In case you're still slightly confused, I've found out why. It
> skips the slot power check because POWER_CTRL(ctrl) == 0. (See "Power
> Controller" in the debug output below).

Ok. I'm beginning to think that this approach is misguided. The Aspire
One should be handled by the acpiphp changes I've posted. The Eee makes
significantly less sense to me. It runs XP, so it can't depend on native
PCIe hotplugging. It sends ACPI notifications when the kill state
changes but there's no topological relationship between the device that
receives them and the device that needs to be hotplugged.

What I'm actually beginning to suspect is that this should be handled by
eee-laptop. Can you give the following patch a go, without any pciehp
code loaded?

diff --git a/drivers/misc/eeepc-laptop.c b/drivers/misc/eeepc-laptop.c
index 9ef98b2..6317ee6 100644
--- a/drivers/misc/eeepc-laptop.c
+++ b/drivers/misc/eeepc-laptop.c
@@ -30,6 +30,7 @@
#include <linux/uaccess.h>
#include <linux/input.h>
#include <linux/rfkill.h>
+#include <linux/pci.h>

#define EEEPC_LAPTOP_VERSION "0.1"

@@ -123,6 +124,7 @@ static const char *cm_setv[] = {
struct eeepc_hotk {
struct acpi_device *device; /* the device we are in */
acpi_handle handle; /* the handle of the hotk device */
+ acpi_handle rfkill_handle; /* the handle of the rfkill notifier */
u32 cm_supported; /* the control methods supported
by this BIOS */
uint init_flag; /* Init flags */
@@ -513,6 +515,35 @@ static void notify_brn(void)
bd->props.brightness = read_brightness(bd);
}

+static void eeepc_rfkill_notify(acpi_handle handle, u32 event, void *data)
+{
+ struct pci_dev *dev;
+ struct pci_bus *bus = pci_find_bus(0, 1);
+
+ if (!bus) {
+ printk(KERN_WARNING "Unable to find wifi bus!\n");
+ return;
+ }
+
+ if (get_acpi(CM_ASL_WLAN) == 1) {
+ printk("Adding wifi\n");
+
+ dev = pci_scan_single_device(bus, 0);
+ if (dev) {
+ printk("Found new wifi\n");
+ if (pci_bus_add_device(dev))
+ printk(KERN_WARNING "Unable to add wifi\n");
+ }
+ } else {
+ printk("Removing wifi\n");
+ dev = pci_get_slot(bus, 0);
+ if (dev) {
+ pci_remove_bus_device(dev);
+ pci_dev_put(dev);
+ }
+ }
+}
+
static void eeepc_hotk_notify(acpi_handle handle, u32 event, void *data)
{
static struct key_entry *key;
@@ -604,6 +635,18 @@ static int eeepc_hotk_add(struct acpi_device *device)
rfkill_register(ehotk->eeepc_bluetooth_rfkill);
}

+ status = acpi_get_handle(NULL, "\\_SB.PCI0.P0P7", ehotk->rfkill_handle);
+
+ if (ACPI_FAILURE(status)) {
+ printk(KERN_WARNING "Unable to find rfkill port handle\n");
+ goto end;
+ }
+
+ status = acpi_install_notify_handler(ehotk->rfkill_handle,
+ ACPI_SYSTEM_NOTIFY,
+ eeepc_rfkill_notify, NULL);
+ if (ACPI_FAILURE(status))
+ printk(KERN_WARNING "Unable to register rfkill notifier\n");
end:
if (result) {
kfree(ehotk);
@@ -622,6 +665,10 @@ static int eeepc_hotk_remove(struct acpi_device *device, int type)
eeepc_hotk_notify);
if (ACPI_FAILURE(status))
printk(EEEPC_ERR "Error removing notify handler\n");
+ status = acpi_remove_notify_handler(ehotk->handle, ACPI_SYSTEM_NOTIFY,
+ eeepc_rfkill_notify);
+ if (ACPI_FAILURE(status))
+ printk(EEEPC_ERR "Error removing rfkill notify handler\n");
kfree(ehotk);
return 0;
}

--
Matthew Garrett | [email protected]

2008-11-14 17:07:36

by Alan Jenkins

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

Matthew Garrett wrote:
> On Sun, Nov 09, 2008 at 04:08:54PM +0000, Alan Jenkins wrote:
>
>
>> Bump. In case you're still slightly confused, I've found out why. It
>> skips the slot power check because POWER_CTRL(ctrl) == 0. (See "Power
>> Controller" in the debug output below).
>>
>
> Ok. I'm beginning to think that this approach is misguided. The Aspire
> One should be handled by the acpiphp changes I've posted. The Eee makes
> significantly less sense to me. It runs XP, so it can't depend on native
> PCIe hotplugging. It sends ACPI notifications when the kill state
> changes but there's no topological relationship between the device that
> receives them and the device that needs to be hotplugged.
>
> What I'm actually beginning to suspect is that this should be handled by
> eee-laptop. Can you give the following patch a go, without any pciehp
> code loaded?
>
>
Will do.

Note that Xandros say the newest model EeePC (S101) 'is now using a
"normal" kill of the antenna, which is easier to work with'.

http://sourceforge.net/mailarchive/message.php?msg_name=48D6AC5E.70502%40xandros.com

So if you're unlucky, the current eeepc-laptop worked perfectly on the
S101, and now it will simply refuse to load :). But it's probably safer
that way. At least the 701 runs quite adequately without eeepc-laptop.
I guess it can be fixed when someone interested gets their hands on an S101.

Thanks
Alan

2008-11-14 17:13:06

by Matthew Garrett

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

On Fri, Nov 14, 2008 at 05:07:20PM +0000, Alan Jenkins wrote:

> Note that Xandros say the newest model EeePC (S101) 'is now using a
> "normal" kill of the antenna, which is easier to work with'.

Well, it would have been nice of them to try to solve the problem
properly rather than jumping through hoops.

> So if you're unlucky, the current eeepc-laptop worked perfectly on the
> S101, and now it will simply refuse to load :). But it's probably safer
> that way. At least the 701 runs quite adequately without eeepc-laptop.
> I guess it can be fixed when someone interested gets their hands on an S101.

Failing to register the notify handler isn't a fatal error, so shouldn't
be an issue. It would be nice to see how it behaves in that case,
though. If anyone's got an S101 I'd be interested in an ACPI dump.

--
Matthew Garrett | [email protected]

2008-11-14 17:28:20

by Alan Jenkins

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

On 11/14/08, Matthew Garrett <[email protected]> wrote:
> On Fri, Nov 14, 2008 at 05:07:20PM +0000, Alan Jenkins wrote:
>
>> Note that Xandros say the newest model EeePC (S101) 'is now using a
>> "normal" kill of the antenna, which is easier to work with'.
>
> Well, it would have been nice of them to try to solve the problem
> properly rather than jumping through hoops.
>
>> So if you're unlucky, the current eeepc-laptop worked perfectly on the
>> S101, and now it will simply refuse to load :). But it's probably safer
>> that way. At least the 701 runs quite adequately without eeepc-laptop.
>> I guess it can be fixed when someone interested gets their hands on an
>> S101.
>
> Failing to register the notify handler isn't a fatal error, so shouldn't
> be an issue. It would be nice to see how it behaves in that case,
> though. If anyone's got an S101 I'd be interested in an ACPI dump.

Ok, I can't read :). Sounds reasonable. Unfortunately all I can give
you is confirmation that this failure is indeed non-fatal

[ 5.606957] eeepc: Eee PC Hotkey Driver
[ 5.607165] eeepc: Hotkey init flags 0x41
[ 5.608431] eeepc: Get control methods supported: 0x101711
[ 5.608570] input: Asus EeePC extra buttons as /class/input/input5
[ 5.635564] Unable to find rfkill port handle

(eeepc-laptop still loads and e.g. the hotkeys still work)

so I guess you would like my acpidump (attached).

Thanks
Alan

--
A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>> A: Top-posting.
>>> Q: What is the most annoying thing in e-mail?


Attachments:
(No filename) (1.57 kB)
acpidump.out (112.95 kB)
Download all attachments

2008-11-14 17:36:01

by Matthew Garrett

[permalink] [raw]
Subject: Re: Add option to passively listen for PCIE hotplug events

Ha. Right. Can you change the references to P0P7 to P0P6 instead and see
if that's any happier?

--
Matthew Garrett | [email protected]