Patchwork [Bug,49151] New: NULL pointer dereference in pata_acpi

login
register
mail settings
Submitter Borislav Petkov
Date Oct. 21, 2012, 4:57 p.m.
Message ID <20121021165756.GA20642@liondog.tnic>
Download mbox | patch
Permalink /patch/193049/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Borislav Petkov - Oct. 21, 2012, 4:57 p.m.
On Sun, Oct 21, 2012 at 05:04:12PM +0100, Phillip Wood wrote:
> Thanks for responding to the bug report so quickly. I've applied your
> patch and the kernel now finds my hard drive and the logs (pasted
> below) have a couple of warnings generated by the patch. So if I've
> understood correctly then your theory that ata_timing_find_mode() is
> returning NULL is correct.

Yes, it appears so.

> Thanks for looking into this, just let me know if you want me to do
> anything else.

Right, so we know what exactly happens and I think we have the right
people on CC who can make sense of why it happens.

If I'd be to guess, this is most probably a BIOS bug (what else?! :-))
which the pata_acpi code is not ready to handle.

Btw, Jeff, AFAICT, libata code should the very least catch this
situation so that we know. Patch for this below. From a quick look there
a couple of drivers which do not check ata_timing_find_mode()'s retval
and I guess at least issuing a warning in such situations could be
helpful with future issues.

However, I don't know how chatty this warning could become and whether
this is the right approach and not auditing all users is better.

What you can do, Phillip, is check whether some other specific PATA
driver supports your hardware and enable it instead of PATA_ACPI. What
does lspci on the box say? Or rather 'lspci -v' for more details. You
can also send dmesg from the box.

Thanks.

--
From: Borislav Petkov <bp@alien8.de>
Date: Sun, 21 Oct 2012 18:49:08 +0200
Subject: [PATCH] libata: Warn when unable to find timing descriptor based on
 xfer_mode

ata_timing_find_mode could return NULL which is not checked by all
low-level ATA drivers using it and cause a NULL ptr deref. Warn at least
so that possible issues can get fixed easily.

Signed-off-by: Borislav Petkov <bp@alien8.de>
---
 drivers/ata/libata-core.c | 4 ++++
 1 file changed, 4 insertions(+)
Phillip Wood - Oct. 22, 2012, 3:47 p.m.
On 10/21/2012 05:57 PM, Borislav Petkov wrote:
>
> What you can do, Phillip, is check whether some other specific PATA
> driver supports your hardware and enable it instead of PATA_ACPI. What
> does lspci on the box say? Or rather 'lspci -v' for more details. You
> can also send dmesg from the box.
>
lspci -v gives

00:00.0 Host bridge: ULi Electronics Inc. M1644/M1644T 
Northbridge+Trident (rev 01)
	Flags: bus master, medium devsel, latency 0
	Memory at f0000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [b0] AGP version 2.0
	Capabilities: [a4] Power Management version 1
	Kernel driver in use: agpgart-ali

00:01.0 PCI bridge: ULi Electronics Inc. PCI to AGP Controller (prog-if 
00 [Normal decode])
	Flags: bus master, slow devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Memory behind bridge: f7f00000-fdffffff
	Prefetchable memory behind bridge: 30100000-301fffff

00:02.0 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03) 
(prog-if 10 [OHCI])
	Subsystem: Toshiba America Info Systems Device 0004
	Flags: bus master, medium devsel, latency 64, IRQ 11
	Memory at f7eff000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [60] Power Management version 2
	Kernel driver in use: ohci_hcd

00:04.0 IDE interface: ULi Electronics Inc. M5229 IDE (rev c3) (prog-if f0)
	Subsystem: Toshiba America Info Systems Device 0004
	Flags: bus master, medium devsel, latency 64, IRQ 255
	[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	[virtual] Memory at 000003f0 (type 3, non-prefetchable)
	[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	[virtual] Memory at 00000370 (type 3, non-prefetchable)
	I/O ports at eff0 [size=16]
	Capabilities: [60] Power Management version 2
	Kernel driver in use: pata_ali

00:06.0 Multimedia audio controller: ULi Electronics Inc. M5451 PCI 
AC-Link Controller Audio Device (rev 01)
	Subsystem: Toshiba America Info Systems Device 0001
	Flags: bus master, medium devsel, latency 64, IRQ 11
	I/O ports at 1000 [size=256]
	Memory at 30001000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [dc] Power Management version 2
	Kernel driver in use: snd_ali5451

00:07.0 ISA bridge: ULi Electronics Inc. M1533/M1535/M1543 PCI to ISA 
Bridge [Aladdin IV/V/V+]
	Subsystem: Toshiba America Info Systems Device 0004
	Flags: bus master, medium devsel, latency 0
	Capabilities: [a0] Power Management version 1

00:08.0 Bridge: ULi Electronics Inc. M7101 Power Management Controller [PMU]
	Subsystem: Toshiba America Info Systems Device 0001
	Flags: medium devsel
	Kernel driver in use: ali1535_smbus

00:0a.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet 
Pro 100 (rev 0d)
	Subsystem: Toshiba America Info Systems 8255x-based Ethernet Adapter 
(10/100)
	Flags: bus master, medium devsel, latency 64, IRQ 11
	Memory at f7efe000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at eec0 [size=64]
	Memory at f7ec0000 (32-bit, non-prefetchable) [size=128K]
	Capabilities: [dc] Power Management version 2
	Kernel driver in use: e100

00:11.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to 
Cardbus Bridge with ZV Support (rev 32)
	Subsystem: Toshiba America Info Systems Device 0001
	Flags: bus master, slow devsel, latency 168, IRQ 11
	Memory at 30000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=0
	Memory window 0: 34000000-37ffffff (prefetchable)
	Memory window 1: 38000000-3bffffff
	I/O window 0: 00001400-000014ff
	I/O window 1: 00001800-000018ff
	16-bit legacy interface ports at 0001
	Kernel driver in use: yenta_cardbus

00:11.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to 
Cardbus Bridge with ZV Support (rev 32)
	Subsystem: Toshiba America Info Systems Device 0001
	Flags: bus master, slow devsel, latency 168, IRQ 11
	Memory at 3c000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=06, subordinate=09, sec-latency=0
	Memory window 0: 40000000-43ffffff (prefetchable)
	Memory window 1: 44000000-47ffffff
	I/O window 0: 00001c00-00001cff
	I/O window 1: 00002000-000020ff
	16-bit legacy interface ports at 0001
	Kernel driver in use: yenta_cardbus

00:12.0 System peripheral: Toshiba America Info Systems SD TypA 
Controller (rev 03)
	Subsystem: Toshiba America Info Systems Device 0001
	Flags: medium devsel, IRQ 255
	Memory at 30002000 (32-bit, non-prefetchable) [disabled] [size=512]
	Capabilities: [80] Power Management version 2

01:00.0 VGA compatible controller: Trident Microsystems CyberBlade XPAi1 
(rev 82) (prog-if 00 [VGA controller])
	Subsystem: Toshiba America Info Systems Device 0001
	Flags: bus master, 66MHz, medium devsel, latency 8, IRQ 11
	Memory at fc000000 (32-bit, non-prefetchable) [size=32M]
	Memory at fbc00000 (32-bit, non-prefetchable) [size=4M]
	Memory at f8000000 (32-bit, non-prefetchable) [size=32M]
	Memory at f7ff8000 (32-bit, non-prefetchable) [size=32K]
	[virtual] Expansion ROM at 30100000 [disabled] [size=64K]
	Capabilities: [80] AGP version 2.0
	Capabilities: [90] Power Management version 2

06:00.0 Network controller: Broadcom Corporation BCM4306 802.11b/g 
Wireless LAN Controller (rev 03)
	Subsystem: Belkin F5D7011 v1000 High-Speed Mode Wireless G Notebook Card
	Flags: bus master, fast devsel, latency 64, IRQ 11
	Memory at 44000000 (32-bit, non-prefetchable) [size=8K]
	Kernel driver in use: b43-pci-bridge

If I blacklist pata_acpi and remove it from the initrd image then my 
unpatched distro kernel boots and seems to run fine (I've not checked if 
the hard drive power management is affected though). I've attached the 
dmesg from the patched kernel which was built with a minimal config.

Best Wishes

Phillip
[    0.000000] Linux version 3.6.0-1-custom (phil@lindisfarne) (gcc version 4.7.2 (GCC) ) #1 PREEMPT Sat Oct 20 15:58:54 UTC 2012
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000eedff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000eee00-0x00000000000eefff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000000ef000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000002ef5ffff] usable
[    0.000000] BIOS-e820: [mem 0x000000002ef60000-0x000000002ef6ffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000002ef70000-0x000000002fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fff80000-0x00000000ffffffff] reserved
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[    0.000000] DMI 2.3 present.
[    0.000000] DMI: TOSHIBA Portable PC/Portable PC, BIOS Version 1.40 03/26/2002
[    0.000000] e820: update [mem 0x00000000-0x0000ffff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x2ef60 max_arch_pfn = 0x100000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-CBFFF write-protect
[    0.000000]   CC000-DFFFF uncachable
[    0.000000]   E0000-E7FFF write-protect
[    0.000000]   E8000-EFFFF write-back
[    0.000000]   F0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 0FFF80000 mask FFFF80000 write-protect
[    0.000000]   1 base 000000000 mask FE0000000 write-back
[    0.000000]   2 base 020000000 mask FF0000000 write-back
[    0.000000]   3 disabled
[    0.000000]   4 disabled
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] PAT not supported by CPU.
[    0.000000] initial memory mapped: [mem 0x00000000-0x01bfffff]
[    0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[    0.000000] init_memory_mapping: [mem 0x00000000-0x2ef5ffff]
[    0.000000]  [mem 0x00000000-0x003fffff] page 4k
[    0.000000]  [mem 0x00400000-0x2ebfffff] page 2M
[    0.000000]  [mem 0x2ec00000-0x2ef5ffff] page 4k
[    0.000000] kernel direct mapping tables up to 0x2ef5ffff @ [mem 0x01bfa000-0x01bfffff]
[    0.000000] RAMDISK: [mem 0x2eda8000-0x2ef5efff]
[    0.000000] ACPI: RSDP 000f0090 00014 (v00 TOSHIB)
[    0.000000] ACPI: RSDT 2ef60000 0002C (v01 TOSHIB 750      00970814 TASM 04010000)
[    0.000000] ACPI: FACP 2ef60054 00084 (v02 TOSHIB 750      00970814 TASM 04010000)
[    0.000000] ACPI: DSDT 2ef600d8 063FB (v01 TOSHIB 6000     20011016 MSFT 0100000A)
[    0.000000] ACPI: FACS 000eee00 00040
[    0.000000] ACPI: BOOT 2ef6002c 00028 (v01 TOSHIB 750      00970814 TASM 04010000)
[    0.000000] 751MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 2ef60000
[    0.000000]   low ram: 0 - 2ef60000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00010000-0x00ffffff]
[    0.000000]   Normal   [mem 0x01000000-0x2ef5ffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00010000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x2ef5ffff]
[    0.000000] On node 0 totalpages: 192239
[    0.000000] free_area_init_node: node 0, pgdat c1548400, node_mem_map ee7c8200
[    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: 1471 pages used for memmap
[    0.000000]   Normal zone: 186785 pages, LIFO batch:31
[    0.000000] Using APIC driver default
[    0.000000] ACPI: PM-Timer IO Port: 0xee08
[    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.000000] APIC: disable apic facility
[    0.000000] APIC: switched to apic NOOP
[    0.000000] nr_irqs_gsi: 16
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 00000000000ee000
[    0.000000] PM: Registered nosave memory: 00000000000ee000 - 00000000000ef000
[    0.000000] PM: Registered nosave memory: 00000000000ef000 - 0000000000100000
[    0.000000] e820: [mem 0x30000000-0xfff7ffff] available for PCI devices
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 190736
[    0.000000] Kernel command line: root=/dev/sda2 resume=/dev/sda1 vga=792 quiet ro systemd.unit=multi-user.target initrd=../initramfs-linux-custom.img BOOT_IMAGE=../vmlinuz-linux-custom 
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Initializing CPU#0
[    0.000000] Memory: 754096k/769408k available (4161k kernel code, 14860k reserved, 1278k data, 376k init, 0k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfffa3000 - 0xfffff000   ( 368 kB)
[    0.000000]     vmalloc : 0xef760000 - 0xfffa1000   ( 264 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xeef60000   ( 751 MB)
[    0.000000]       .init : 0xc1550000 - 0xc15ae000   ( 376 kB)
[    0.000000]       .data : 0xc14104a9 - 0xc154ffe0   (1278 kB)
[    0.000000]       .text : 0xc1000000 - 0xc14104a9   (4161 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:2304 nr_irqs:256 16
[    0.000000] CPU 0 irqstacks, hard=ee006000 soft=ee008000
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 996.024 MHz processor
[    0.002004] Calibrating delay loop (skipped), value calculated using timer frequency.. 1992.04 BogoMIPS (lpj=996024)
[    0.002015] pid_max: default: 32768 minimum: 301
[    0.002099] Mount-cache hash table entries: 512
[    0.002550] mce: CPU supports 5 MCE banks
[    0.002604] Last level iTLB entries: 4KB 32, 2MB 0, 4MB 2
[    0.002604] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 8
[    0.002604] tlb_flushall_shift is 0x6
[    0.002611] CPU: Intel(R) Pentium(R) III Mobile CPU      1000MHz stepping 01
[    0.002648] ACPI: Core revision 20120711
[    0.006400] ACPI: setting ELCR to 0200 (from 0a00)
[    0.006939] Performance Events: 
[    0.006947] no APIC, boot with the "lapic" boot parameter to force-enable it.
[    0.006951] no hardware sampling interrupt available.
[    0.006957] p6 PMU driver.
[    0.006964] ... version:                0
[    0.006968] ... bit width:              32
[    0.006971] ... generic registers:      2
[    0.006975] ... value mask:             00000000ffffffff
[    0.006978] ... max period:             000000007fffffff
[    0.006982] ... fixed-purpose events:   0
[    0.006985] ... event mask:             0000000000000003
[    0.007444] devtmpfs: initialized
[    0.008234] PM: Registering ACPI NVS region [mem 0x000eee00-0x000eefff] (512 bytes)
[    0.008415] NET: Registered protocol family 16
[    0.009695] ACPI: bus type pci registered
[    0.010683] PCI: PCI BIOS revision 2.10 entry at 0xf97ab, last bus=5
[    0.010689] PCI: Using configuration type 1 for base access
[    0.020545] bio: create slab <bio-0> at 0
[    0.020778] ACPI: Added _OSI(Module Device)
[    0.020784] ACPI: Added _OSI(Processor Device)
[    0.020789] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.020795] ACPI: Added _OSI(Processor Aggregator Device)
[    0.022261] ACPI: EC: Look up EC in DSDT
[    0.027309] ACPI: Interpreter enabled
[    0.027329] ACPI: (supports S0 S3 S4 S5)
[    0.027371] ACPI: Using PIC for interrupt routing
[    0.038069] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[    0.040200] ACPI: Power Resource [PFAN] (off)
[    0.043271] ACPI: ACPI Dock Station Driver: 2 docks/bays found
[    0.043289] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[    0.043348] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.043395] pci_root PNP0A03:00: host bridge window [io  0x0000-0x0cf7] (ignored)
[    0.043403] pci_root PNP0A03:00: host bridge window [io  0x0d00-0xffff] (ignored)
[    0.043411] pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored)
[    0.043418] pci_root PNP0A03:00: host bridge window [mem 0x000d8000-0x000dffff] (ignored)
[    0.043425] pci_root PNP0A03:00: host bridge window [mem 0x40100000-0xfee9ffff] (ignored)
[    0.043432] PCI: root bus 00: using default resources
[    0.043443] pci_root PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.043564] PCI host bridge to bus 0000:00
[    0.043577] pci_bus 0000:00: busn_res: [bus 00-ff] is inserted under domain [bus 00-ff]
[    0.043585] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.043593] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.043599] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[    0.043634] pci 0000:00:00.0: [10b9:1644] type 00 class 0x060000
[    0.043662] pci 0000:00:00.0: reg 10: [mem 0xf0000000-0xf3ffffff pref]
[    0.043763] pci 0000:00:01.0: [10b9:5247] type 01 class 0x060400
[    0.043824] pci 0000:00:02.0: [10b9:5237] type 00 class 0x0c0310
[    0.043846] pci 0000:00:02.0: reg 10: [mem 0xf7eff000-0xf7efffff]
[    0.043915] pci 0000:00:02.0: PME# supported from D3hot D3cold
[    0.043946] pci 0000:00:04.0: [10b9:5229] type 00 class 0x0101f0
[    0.044035] pci 0000:00:04.0: reg 20: [io  0xeff0-0xefff]
[    0.044097] pci 0000:00:06.0: [10b9:5451] type 00 class 0x040100
[    0.044119] pci 0000:00:06.0: reg 10: [io  0x0000-0x00ff]
[    0.044135] pci 0000:00:06.0: reg 14: [mem 0x00000000-0x00000fff]
[    0.044196] pci 0000:00:06.0: supports D1 D2
[    0.044203] pci 0000:00:06.0: PME# supported from D2 D3hot D3cold
[    0.044230] pci 0000:00:07.0: [10b9:1533] type 00 class 0x060100
[    0.044335] pci 0000:00:08.0: [10b9:7101] type 00 class 0x068000
[    0.044416] pci 0000:00:08.0: quirk: [io  0xee00-0xee3f] claimed by ali7101 ACPI
[    0.044425] pci 0000:00:08.0: quirk: [io  0xef00-0xef1f] claimed by ali7101 SMB
[    0.044454] pci 0000:00:0a.0: [8086:1229] type 00 class 0x020000
[    0.044477] pci 0000:00:0a.0: reg 10: [mem 0xf7efe000-0xf7efefff]
[    0.044492] pci 0000:00:0a.0: reg 14: [io  0xeec0-0xeeff]
[    0.044507] pci 0000:00:0a.0: reg 18: [mem 0xf7ec0000-0xf7edffff]
[    0.044560] pci 0000:00:0a.0: supports D1 D2
[    0.044567] pci 0000:00:0a.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.044604] pci 0000:00:11.0: [1179:0617] type 02 class 0x060700
[    0.044629] pci 0000:00:11.0: reg 10: [mem 0x00000000-0x00000fff]
[    0.044676] pci 0000:00:11.1: [1179:0617] type 02 class 0x060700
[    0.044701] pci 0000:00:11.1: reg 10: [mem 0x00000000-0x00000fff]
[    0.044755] pci 0000:00:12.0: [1179:0805] type 00 class 0x088000
[    0.044779] pci 0000:00:12.0: reg 10: [mem 0x00000000-0x000001ff]
[    0.044855] pci 0000:00:12.0: supports D1 D2
[    0.044862] pci 0000:00:12.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.044910] pci_bus 0000:01: busn_res: [bus 01] is inserted under [bus 00-ff]
[    0.044930] pci 0000:01:00.0: [1023:8820] type 00 class 0x030000
[    0.044949] pci 0000:01:00.0: reg 10: [mem 0xfc000000-0xfdffffff]
[    0.044962] pci 0000:01:00.0: reg 14: [mem 0xfbc00000-0xfbffffff]
[    0.044974] pci 0000:01:00.0: reg 18: [mem 0xf8000000-0xf9ffffff]
[    0.044987] pci 0000:01:00.0: reg 1c: [mem 0xf7ff8000-0xf7ffffff]
[    0.045019] pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
[    0.045043] pci 0000:01:00.0: supports D1 D2
[    0.045079] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.045093] pci 0000:00:01.0:   bridge window [mem 0xf7f00000-0xfdffffff]
[    0.045151] pci_bus 0000:02: busn_res: [bus 02-ff] is inserted under [bus 00-ff]
[    0.045165] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[    0.045205] pci_bus 0000:06: busn_res: [bus 06-ff] is inserted under [bus 00-ff]
[    0.045215] pci_bus 0000:06: busn_res: [bus 06-ff] end is updated to 09
[    0.045226] pci_bus 0000:00: on NUMA node 0
[    0.045236] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.045409] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
[    0.045456]  pci0000:00: ACPI _OSC support notification failed, disabling PCIe ASPM
[    0.045463]  pci0000:00: Unable to request _OSC control (_OSC support mask: 0x08)
[    0.055791] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11)
[    0.056034] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11)
[    0.056238] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *11)
[    0.056442] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11)
[    0.056646] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 *11)
[    0.056850] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 *11)
[    0.057264] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
[    0.057271] vgaarb: loaded
[    0.057274] vgaarb: bridge control possible 0000:01:00.0
[    0.057670] SCSI subsystem initialized
[    0.057679] ACPI: bus type scsi registered
[    0.057900] libata version 3.00 loaded.
[    0.058342] PCI: Using ACPI for IRQ routing
[    0.058455] PCI: pci_cache_line_size set to 32 bytes
[    0.058520] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[    0.058526] e820: reserve RAM buffer [mem 0x2ef60000-0x2fffffff]
[    0.059175] cfg80211: Calling CRDA to update world regulatory domain
[    0.059748] Switching to clocksource pit
[    0.059981] pnp: PnP ACPI init
[    0.059981] ACPI: bus type pnp registered
[    0.060910] pnp 00:00: [mem 0x00000000-0x0009ffff]
[    0.060918] pnp 00:00: [mem 0x000e0000-0x000effff]
[    0.060924] pnp 00:00: [mem 0x000f0000-0x000fffff]
[    0.060931] pnp 00:00: [mem 0x00100000-0x2ef5ffff]
[    0.060937] pnp 00:00: [mem 0x2ef60000-0x2ef6ffff]
[    0.060944] pnp 00:00: [mem 0x2f000000-0x2fffffff]
[    0.060950] pnp 00:00: [mem 0x2ef70000-0x2effffff]
[    0.060957] pnp 00:00: [mem 0xffe00000-0xffffffff]
[    0.061128] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved
[    0.061137] system 00:00: [mem 0x000e0000-0x000effff] could not be reserved
[    0.061145] system 00:00: [mem 0x000f0000-0x000fffff] could not be reserved
[    0.061153] system 00:00: [mem 0x00100000-0x2ef5ffff] could not be reserved
[    0.061161] system 00:00: [mem 0x2ef60000-0x2ef6ffff] could not be reserved
[    0.061169] system 00:00: [mem 0x2f000000-0x2fffffff] has been reserved
[    0.061177] system 00:00: [mem 0x2ef70000-0x2effffff] has been reserved
[    0.061185] system 00:00: [mem 0xffe00000-0xffffffff] could not be reserved
[    0.061197] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.061288] pnp 00:01: [bus 00-ff]
[    0.061298] pnp 00:01: [io  0x0cf8-0x0cff]
[    0.061305] pnp 00:01: [io  0x0000-0x0cf7 window]
[    0.061312] pnp 00:01: [io  0x0d00-0xffff window]
[    0.061319] pnp 00:01: [mem 0x000a0000-0x000bffff window]
[    0.061326] pnp 00:01: [mem 0x000d8000-0x000dffff window]
[    0.061333] pnp 00:01: [mem 0x40100000-0xfee9ffff window]
[    0.061493] pnp 00:01: Plug and Play ACPI device, IDs PNP0a03 (active)
[    0.061794] pnp 00:02: [io  0x0000-0x000f]
[    0.061802] pnp 00:02: [io  0x0081-0x0083]
[    0.061808] pnp 00:02: [io  0x0087]
[    0.061814] pnp 00:02: [io  0x0089-0x008b]
[    0.061820] pnp 00:02: [io  0x008f]
[    0.061827] pnp 00:02: [io  0x00c0-0x00df]
[    0.061835] pnp 00:02: [dma 4]
[    0.061958] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
[    0.062000] pnp 00:03: [io  0x0061]
[    0.062101] pnp 00:03: Plug and Play ACPI device, IDs PNP0800 (active)
[    0.062130] pnp 00:04: [io  0x00f0-0x00ff]
[    0.062143] pnp 00:04: [irq 13]
[    0.062309] pnp 00:04: Plug and Play ACPI device, IDs PNP0c04 (active)
[    0.062377] pnp 00:05: [io  0x0060]
[    0.062384] pnp 00:05: [io  0x0064]
[    0.062391] pnp 00:05: [irq 1]
[    0.062490] pnp 00:05: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.062546] pnp 00:06: [irq 12]
[    0.062649] pnp 00:06: Plug and Play ACPI device, IDs PNP0f13 (active)
[    0.062678] pnp 00:07: [io  0x0070-0x0071]
[    0.062686] pnp 00:07: [irq 8]
[    0.062796] pnp 00:07: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.062842] pnp 00:08: [io  0x002e-0x002f]
[    0.062849] pnp 00:08: [io  0x0062]
[    0.062856] pnp 00:08: [io  0x0066]
[    0.062862] pnp 00:08: [io  0x0080]
[    0.062868] pnp 00:08: [io  0x0084-0x0086]
[    0.062874] pnp 00:08: [io  0x0088]
[    0.062880] pnp 00:08: [io  0x008c-0x008e]
[    0.062886] pnp 00:08: [io  0x0092]
[    0.062892] pnp 00:08: [io  0x00b0-0x00b3]
[    0.062899] pnp 00:08: [io  0x00e0-0x00ef]
[    0.062905] pnp 00:08: [io  0x0370-0x0371]
[    0.062911] pnp 00:08: [io  0x040b]
[    0.062917] pnp 00:08: [io  0x0480-0x048f]
[    0.062923] pnp 00:08: [io  0x04d0-0x04d1]
[    0.062929] pnp 00:08: [io  0x04d6]
[    0.062936] pnp 00:08: [io  0x06c0-0x06ff]
[    0.062942] pnp 00:08: [io  0xe000-0xe07f]
[    0.062948] pnp 00:08: [io  0xe080-0xe0ff]
[    0.062954] pnp 00:08: [io  0xe400-0xe47f]
[    0.062960] pnp 00:08: [io  0xe480-0xe4ff]
[    0.062967] pnp 00:08: [io  0xe800-0xe87f]
[    0.062973] pnp 00:08: [io  0xe880-0xe8ff]
[    0.062979] pnp 00:08: [io  0xec00-0xec7f]
[    0.062985] pnp 00:08: [io  0xec80-0xecff]
[    0.062991] pnp 00:08: [io  0xee00-0xee41]
[    0.062997] pnp 00:08: [io  0xee90-0xee9f]
[    0.063004] pnp 00:08: [io  0xeeac]
[    0.063010] pnp 00:08: [io  0xef00-0xef3f]
[    0.063016] pnp 00:08: [io  0xef40-0xef5f]
[    0.063054] pnp 00:08: disabling [io  0x002e-0x002f] because it overlaps 0000:00:06.0 BAR 0 [io  0x0000-0x00ff]
[    0.063063] pnp 00:08: disabling [io  0x0062] because it overlaps 0000:00:06.0 BAR 0 [io  0x0000-0x00ff]
[    0.063071] pnp 00:08: disabling [io  0x0066] because it overlaps 0000:00:06.0 BAR 0 [io  0x0000-0x00ff]
[    0.063079] pnp 00:08: disabling [io  0x0080] because it overlaps 0000:00:06.0 BAR 0 [io  0x0000-0x00ff]
[    0.063088] pnp 00:08: disabling [io  0x0084-0x0086] because it overlaps 0000:00:06.0 BAR 0 [io  0x0000-0x00ff]
[    0.063096] pnp 00:08: disabling [io  0x0088] because it overlaps 0000:00:06.0 BAR 0 [io  0x0000-0x00ff]
[    0.063105] pnp 00:08: disabling [io  0x008c-0x008e] because it overlaps 0000:00:06.0 BAR 0 [io  0x0000-0x00ff]
[    0.063113] pnp 00:08: disabling [io  0x0092] because it overlaps 0000:00:06.0 BAR 0 [io  0x0000-0x00ff]
[    0.063122] pnp 00:08: disabling [io  0x00b0-0x00b3] because it overlaps 0000:00:06.0 BAR 0 [io  0x0000-0x00ff]
[    0.063130] pnp 00:08: disabling [io  0x00e0-0x00ef] because it overlaps 0000:00:06.0 BAR 0 [io  0x0000-0x00ff]
[    0.063315] system 00:08: [io  0x0370-0x0371] has been reserved
[    0.063324] system 00:08: [io  0x040b] has been reserved
[    0.063331] system 00:08: [io  0x0480-0x048f] has been reserved
[    0.063339] system 00:08: [io  0x04d0-0x04d1] has been reserved
[    0.063347] system 00:08: [io  0x04d6] has been reserved
[    0.063354] system 00:08: [io  0x06c0-0x06ff] has been reserved
[    0.063362] system 00:08: [io  0xe000-0xe07f] has been reserved
[    0.063370] system 00:08: [io  0xe080-0xe0ff] has been reserved
[    0.063377] system 00:08: [io  0xe400-0xe47f] has been reserved
[    0.063385] system 00:08: [io  0xe480-0xe4ff] has been reserved
[    0.063393] system 00:08: [io  0xe800-0xe87f] has been reserved
[    0.063400] system 00:08: [io  0xe880-0xe8ff] has been reserved
[    0.063408] system 00:08: [io  0xec00-0xec7f] has been reserved
[    0.063416] system 00:08: [io  0xec80-0xecff] has been reserved
[    0.063424] system 00:08: [io  0xee00-0xee41] could not be reserved
[    0.063432] system 00:08: [io  0xee90-0xee9f] has been reserved
[    0.063439] system 00:08: [io  0xeeac] has been reserved
[    0.063447] system 00:08: [io  0xef00-0xef3f] could not be reserved
[    0.063455] system 00:08: [io  0xef40-0xef5f] has been reserved
[    0.063464] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.065097] pnp 00:09: [io  0x03f8-0x03ff]
[    0.065106] pnp 00:09: [irq 4]
[    0.066714] pnp 00:09: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.068515] pnp 00:0a: Plug and Play ACPI device, IDs SMCf010 (disabled)
[    0.070340] pnp 00:0b: Plug and Play ACPI device, IDs PNP0401 (disabled)
[    0.071846] pnp: PnP ACPI: found 12 devices
[    0.071851] ACPI: ACPI bus type pnp unregistered
[    0.115129] Switching to clocksource acpi_pm
[    0.115483] pci 0000:00:11.0: res[9]=[mem 0x04000000-0x03ffffff pref] get_res_add_size add_size 4000000
[    0.115492] pci 0000:00:11.0: res[10]=[mem 0x04000000-0x03ffffff] get_res_add_size add_size 4000000
[    0.115502] pci 0000:00:11.1: res[9]=[mem 0x04000000-0x03ffffff pref] get_res_add_size add_size 4000000
[    0.115510] pci 0000:00:11.1: res[10]=[mem 0x04000000-0x03ffffff] get_res_add_size add_size 4000000
[    0.115518] pci 0000:00:11.0: res[7]=[io  0x0100-0x00ff] get_res_add_size add_size 100
[    0.115526] pci 0000:00:11.0: res[8]=[io  0x0100-0x00ff] get_res_add_size add_size 100
[    0.115534] pci 0000:00:11.1: res[7]=[io  0x0100-0x00ff] get_res_add_size add_size 100
[    0.115541] pci 0000:00:11.1: res[8]=[io  0x0100-0x00ff] get_res_add_size add_size 100
[    0.115563] pci 0000:00:11.0: BAR 0: assigned [mem 0x30000000-0x30000fff]
[    0.115580] pci 0000:00:11.0: BAR 9: assigned [mem 0x34000000-0x37ffffff pref]
[    0.115589] pci 0000:00:11.0: BAR 10: assigned [mem 0x38000000-0x3bffffff]
[    0.115598] pci 0000:00:11.1: BAR 0: assigned [mem 0x3c000000-0x3c000fff]
[    0.115611] pci 0000:00:11.1: BAR 9: assigned [mem 0x40000000-0x43ffffff pref]
[    0.115620] pci 0000:00:11.1: BAR 10: assigned [mem 0x44000000-0x47ffffff]
[    0.115630] pci 0000:00:01.0: BAR 9: assigned [mem 0x30100000-0x301fffff pref]
[    0.115640] pci 0000:00:06.0: BAR 1: assigned [mem 0x30001000-0x30001fff]
[    0.115652] pci 0000:00:12.0: BAR 0: assigned [mem 0x30002000-0x300021ff]
[    0.115666] pci 0000:00:06.0: BAR 0: assigned [io  0x1000-0x10ff]
[    0.115679] pci 0000:00:11.0: BAR 7: assigned [io  0x1400-0x14ff]
[    0.115689] pci 0000:00:11.0: BAR 8: assigned [io  0x1800-0x18ff]
[    0.115699] pci 0000:00:11.1: BAR 7: assigned [io  0x1c00-0x1cff]
[    0.115710] pci 0000:00:11.1: BAR 8: assigned [io  0x2000-0x20ff]
[    0.115725] pci 0000:01:00.0: BAR 6: assigned [mem 0x30100000-0x3010ffff pref]
[    0.115733] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.115746] pci 0000:00:01.0:   bridge window [mem 0xf7f00000-0xfdffffff]
[    0.115756] pci 0000:00:01.0:   bridge window [mem 0x30100000-0x301fffff pref]
[    0.115769] pci 0000:00:11.0: CardBus bridge to [bus 02-05]
[    0.115776] pci 0000:00:11.0:   bridge window [io  0x1400-0x14ff]
[    0.115786] pci 0000:00:11.0:   bridge window [io  0x1800-0x18ff]
[    0.115796] pci 0000:00:11.0:   bridge window [mem 0x34000000-0x37ffffff pref]
[    0.115806] pci 0000:00:11.0:   bridge window [mem 0x38000000-0x3bffffff]
[    0.115815] pci 0000:00:11.1: CardBus bridge to [bus 06-09]
[    0.115822] pci 0000:00:11.1:   bridge window [io  0x1c00-0x1cff]
[    0.115831] pci 0000:00:11.1:   bridge window [io  0x2000-0x20ff]
[    0.115841] pci 0000:00:11.1:   bridge window [mem 0x40000000-0x43ffffff pref]
[    0.115851] pci 0000:00:11.1:   bridge window [mem 0x44000000-0x47ffffff]
[    0.115881] pci 0000:00:01.0: setting latency timer to 64
[    0.115894] pci 0000:00:11.0: enabling device (0000 -> 0003)
[    0.116453] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[    0.116462] PCI: setting IRQ 11 as level-triggered
[    0.116480] pci 0000:00:11.1: enabling device (0000 -> 0003)
[    0.116817] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[    0.116833] pci_bus 0000:00: resource 4 [io  0x0000-0xffff]
[    0.116841] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
[    0.116850] pci_bus 0000:01: resource 1 [mem 0xf7f00000-0xfdffffff]
[    0.116857] pci_bus 0000:01: resource 2 [mem 0x30100000-0x301fffff pref]
[    0.116865] pci_bus 0000:02: resource 0 [io  0x1400-0x14ff]
[    0.116871] pci_bus 0000:02: resource 1 [io  0x1800-0x18ff]
[    0.116879] pci_bus 0000:02: resource 2 [mem 0x34000000-0x37ffffff pref]
[    0.116885] pci_bus 0000:02: resource 3 [mem 0x38000000-0x3bffffff]
[    0.116893] pci_bus 0000:06: resource 0 [io  0x1c00-0x1cff]
[    0.116900] pci_bus 0000:06: resource 1 [io  0x2000-0x20ff]
[    0.116907] pci_bus 0000:06: resource 2 [mem 0x40000000-0x43ffffff pref]
[    0.116914] pci_bus 0000:06: resource 3 [mem 0x44000000-0x47ffffff]
[    0.117082] NET: Registered protocol family 2
[    0.117494] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.123672] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[    0.125292] TCP: Hash tables configured (established 131072 bind 65536)
[    0.125682] TCP: reno registered
[    0.125715] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.125782] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.126373] NET: Registered protocol family 1
[    0.127192] ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11
[    0.190104] pci 0000:00:07.0: Activating ISA DMA hang workarounds
[    0.190139] pci 0000:00:0a.0: Firmware left e100 interrupts enabled; disabling
[    0.190173] pci 0000:01:00.0: Boot video device
[    0.190181] PCI: CLS 32 bytes, default 32
[    0.190372] Trying to unpack rootfs image as initramfs...
[    0.311289] Freeing initrd memory: 1756k freed
[    0.322683] Simple Boot Flag at 0x7c set to 0x1
[    0.325993] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[    0.335810] msgmni has been set to 1476
[    0.336669] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.336682] io scheduler noop registered
[    0.336697] io scheduler cfq registered (default)
[    0.337186] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.337486] vesafb: mode is 1024x768x32, linelength=4096, pages=4
[    0.337492] vesafb: protected mode interface info at c000:780a
[    0.337499] vesafb: pmi: set display start = c00c782b, set palette = c00c788e
[    0.337503] vesafb: scrolling: redraw
[    0.337512] vesafb: Truecolor: size=0:8:8:8, shift=0:16:8:0
[    0.338794] vesafb: framebuffer at 0xfc000000, mapped to 0xef780000, using 6144k, total 16384k
[    0.437104] Console: switching to colour frame buffer device 128x48
[    0.525522] fb0: VESA VGA frame buffer device
[    0.525822] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[    0.526057] ACPI: AC Adapter [ADP1] (off-line)
[    0.526451] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0
[    0.526517] ACPI: Lid Switch [LID]
[    0.526673] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[    0.526685] ACPI: Power Button [PWRF]
[    0.527220] ACPI: Fan [FAN] (off)
[    0.527518] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[    0.528385] acpi device:12: registered as cooling_device1
[    0.528485] ACPI: Video Device [VGA] (multi-head: yes  rom: yes  post: no)
[    0.528620] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A03:00/device:11/LNXVIDEO:00/input/input2
[    0.528751] ACPI: Requesting acpi_cpufreq
[    0.529244] tsc: Marking TSC unstable due to TSC halts in idle
[    0.529269] ACPI: acpi_idle registered with cpuidle
[    0.533822] thermal LNXTHERM:00: registered as thermal_zone0
[    0.533839] ACPI: Thermal Zone [THRM] (61 C)
[    0.535820] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[    0.535837] ACPI: Battery Slot [BAT1] (battery present)
[    0.535894] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[    0.535905] ACPI: Battery Slot [BAT2] (battery absent)
[    0.536116] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.801142] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.823045] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.823775] Non-volatile memory driver v1.3
[    0.823966] Toshiba System Management Mode driver v1.11 26/9/2001
[    0.824130] Linux agpgart interface v0.103
[    0.824169] agpgart-ali 0000:00:00.0: ALi M1644 chipset
[    0.832351] agpgart-ali 0000:00:00.0: AGP aperture is 64M @ 0xf0000000
[    0.832598] [drm] Initialized drm 1.1.0 20060810
[    0.836566] brd: module loaded
[    0.838703] loop: module loaded
[    0.839217] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    0.839222] e100: Copyright(c) 1999-2006 Intel Corporation
[    0.839873] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[    0.866140] e100 0000:00:0a.0: eth0: addr 0xf7efe000, irq 11, MAC addr 00:00:39:07:b8:b1
[    0.866301] yenta_cardbus 0000:00:11.0: CardBus bridge found [1179:0001]
[    0.988744] yenta_cardbus 0000:00:11.0: ISA IRQ mask 0x04b8, PCI irq 11
[    0.988752] yenta_cardbus 0000:00:11.0: Socket status: 30000007
[    0.989320] yenta_cardbus 0000:00:11.1: CardBus bridge found [1179:0001]
[    1.111851] yenta_cardbus 0000:00:11.1: ISA IRQ mask 0x04b8, PCI irq 11
[    1.111869] yenta_cardbus 0000:00:11.1: Socket status: 30000020
[    1.115095] i8042: PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    1.121097] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.121177] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.121594] mousedev: PS/2 mouse device common for all mice
[    1.122676] rtc_cmos 00:07: RTC can wake from S4
[    1.123004] rtc_cmos 00:07: rtc core: registered rtc_cmos as rtc0
[    1.123106] rtc0: alarms up to one year, 114 bytes nvram
[    1.123218] ali1535_smbus 0000:00:08.0: enabling device (0000 -> 0001)
[    1.123614] alim1535_wdt: initialized. timeout=60 sec (nowayout=0)
[    1.123685] cpuidle: using governor ladder
[    1.123751] cpuidle: using governor menu
[    1.124085] Netfilter messages via NETLINK v0.30.
[    1.124132] nf_conntrack version 0.5.0 (11810 buckets, 47240 max)
[    1.124507] ctnetlink v0.93: registering with nfnetlink.
[    1.125097] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.125216] TCP: cubic registered
[    1.125221] Initializing XFRM netlink socket
[    1.126107] NET: Registered protocol family 10
[    1.126939] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.127095] sit: IPv6 over IPv4 tunneling driver
[    1.127633] NET: Registered protocol family 17
[    1.127695] Key type dns_resolver registered
[    1.128377] Using IPI Shortcut mode
[    1.147041] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    1.918485] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
[    1.924877] Freeing unused kernel memory: 376k freed
[    1.925945] Write protecting the kernel text: 4164k
[    1.925992] Write protecting the kernel read-only data: 1032k
[    1.987139] pcmcia_socket pcmcia_socket1: pccard: CardBus card inserted into slot 1
[    1.987190] pci 0000:06:00.0: [14e4:4320] type 00 class 0x028000
[    1.987230] pci 0000:06:00.0: reg 10: [mem 0x00000000-0x00001fff]
[    1.987349] pci 0000:06:00.0: BAR 0: assigned [mem 0x44000000-0x44001fff]
[    1.987373] pci 0000:06:00.0: cache line size of 32 is not supported
[    1.989638] b43-pci-bridge 0000:06:00.0: enabling device (0000 -> 0002)
[    1.989693] b43-pci-bridge 0000:06:00.0: setting latency timer to 64
[    1.989753] ssb: Found chip with id 0x4306, rev 0x03 and package 0x00
[    1.989766] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)
[    1.989777] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x05, vendor 0x4243)
[    1.989788] ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x02, vendor 0x4243)
[    1.989798] ssb: Core 3 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
[    1.989808] ssb: Core 4 found: PCI (cc 0x804, rev 0x09, vendor 0x4243)
[    1.996252] ssb: Sonics Silicon Backplane found on PCI device 0000:06:00.0
[    2.095707] pata_acpi 0000:00:04.0: can't derive routing for PCI INT A
[    2.105839] scsi0 : pata_acpi
[    2.108767] scsi1 : pata_acpi
[    2.111184] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xeff0 irq 14
[    2.111199] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xeff8 irq 15
[    2.677495] ------------[ cut here ]------------
[    2.677495] WARNING: at drivers/ata/pata_acpi.c:149 pacpi_set_dmamode+0xc7/0xe0 [pata_acpi]()
[    2.677495] Hardware name: Portable PC
[    2.677495] pacpi_set_dmamode: ata_timing_find_mode gives NULL
[    2.677495] Modules linked in: pata_acpi ata_generic
[    2.677495] Pid: 863, comm: scsi_eh_0 Not tainted 3.6.0-1-custom #1
[    2.677495] Call Trace:
[    2.677495]  [<c102cd28>] ? warn_slowpath_common+0x78/0xb0
[    2.677495]  [<efd842b7>] ? pacpi_set_dmamode+0xc7/0xe0 [pata_acpi]
[    2.677495]  [<efd842b7>] ? pacpi_set_dmamode+0xc7/0xe0 [pata_acpi]
[    2.677495]  [<c102cdf3>] ? warn_slowpath_fmt+0x33/0x40
[    2.677495]  [<efd842b7>] ? pacpi_set_dmamode+0xc7/0xe0 [pata_acpi]
[    2.677495]  [<efd84375>] ? pacpi_qc_issue+0x45/0x64 [pata_acpi]
[    2.677495]  [<c126dfb2>] ? ata_qc_issue+0x152/0x320
[    2.677495]  [<c140d1bd>] ? schedule_timeout+0xed/0x170
[    2.677495]  [<c126e3c9>] ? ata_exec_internal_sg+0x249/0x510
[    2.677495]  [<c127d2d0>] ? ata_release_transport+0x40/0x40
[    2.677495]  [<c1039145>] ? msleep+0x15/0x20
[    2.677495]  [<c126e6f2>] ? ata_exec_internal+0x62/0xa0
[    2.677495]  [<c126e755>] ? ata_do_dev_read_id+0x25/0x30
[    2.677495]  [<c126ea35>] ? ata_dev_read_id+0x245/0x560
[    2.677495]  [<c127af72>] ? ata_eh_recover+0x762/0x1270
[    2.677495]  [<c127dcb0>] ? ata_sff_drain_fifo+0x80/0x80
[    2.677495]  [<efd84180>] ? pacpi_port_start+0x80/0x80 [pata_acpi]
[    2.677495]  [<c127e210>] ? ata_sff_wait_after_reset+0x130/0x130
[    2.677495]  [<c127dcb0>] ? ata_sff_drain_fifo+0x80/0x80
[    2.677495]  [<c127c490>] ? ata_do_eh+0x40/0xb0
[    2.677495]  [<c127dcb0>] ? ata_sff_drain_fifo+0x80/0x80
[    2.677495]  [<c127e210>] ? ata_sff_wait_after_reset+0x130/0x130
[    2.677495]  [<efd84180>] ? pacpi_port_start+0x80/0x80 [pata_acpi]
[    2.677495]  [<c127e210>] ? ata_sff_wait_after_reset+0x130/0x130
[    2.677495]  [<c127ec77>] ? ata_sff_error_handler+0xb7/0x120
[    2.677495]  [<c127dcb0>] ? ata_sff_drain_fifo+0x80/0x80
[    2.677495]  [<c127bfc5>] ? ata_scsi_port_error_handler+0x495/0x860
[    2.677495]  [<c127ece0>] ? ata_sff_error_handler+0x120/0x120
[    2.677495]  [<c127c413>] ? ata_scsi_error+0x83/0xc0
[    2.677495]  [<c125533c>] ? scsi_error_handler+0x8c/0x470
[    2.677495]  [<c104f6b4>] ? __wake_up_common+0x44/0x70
[    2.677495]  [<c12552b0>] ? scsi_eh_get_sense+0xd0/0xd0
[    2.677495]  [<c12552b0>] ? scsi_eh_get_sense+0xd0/0xd0
[    2.677495]  [<c104719c>] ? kthread+0x6c/0x80
[    2.677495]  [<c1047130>] ? kthread_freezable_should_stop+0x50/0x50
[    2.677495]  [<c140f8f6>] ? kernel_thread_helper+0x6/0xd
[    2.677495] ---[ end trace 869d9aa7f2250d15 ]---
[    2.682255] ata1.00: ATA-5: TOSHIBA MK2018GAP, M1.42 A, max UDMA/100
[    2.682265] ata1.00: 39070080 sectors, multi 16: LBA 
[    2.688166] ata1.00: configured for UDMA/66
[    2.699944] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA MK2018GA M1.4 PQ: 0 ANSI: 5
[    2.701564] sd 0:0:0:0: [sda] 39070080 512-byte logical blocks: (20.0 GB/18.6 GiB)
[    2.701718] sd 0:0:0:0: [sda] Write Protect is off
[    2.701730] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.701800] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.704132] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    2.859500] ------------[ cut here ]------------
[    2.859500] WARNING: at drivers/ata/pata_acpi.c:149 pacpi_set_dmamode+0xc7/0xe0 [pata_acpi]()
[    2.859500] Hardware name: Portable PC
[    2.859500] pacpi_set_dmamode: ata_timing_find_mode gives NULL
[    2.704796] ACPI: Invalid Power Resource to register!
[    2.859500] Modules linked in: pata_acpi ata_generic
[    2.859500] Pid: 869, comm: scsi_eh_1 Tainted: G        W    3.6.0-1-custom #1
[    2.859500] Call Trace:
[    2.859500]  [<c102cd28>] ? warn_slowpath_common+0x78/0xb0
[    2.859500]  [<efd842b7>] ? pacpi_set_dmamode+0xc7/0xe0 [pata_acpi]
[    2.859500]  [<efd842b7>] ? pacpi_set_dmamode+0xc7/0xe0 [pata_acpi]
[    2.859500]  [<c102cdf3>] ? warn_slowpath_fmt+0x33/0x40
[    2.859500]  [<efd842b7>] ? pacpi_set_dmamode+0xc7/0xe0 [pata_acpi]
[    2.859500]  [<efd84375>] ? pacpi_qc_issue+0x45/0x64 [pata_acpi]
[    2.859500]  [<c126dfb2>] ? ata_qc_issue+0x152/0x320
[    2.859500]  [<c11cda30>] ? acpi_os_release_object+0x5/0x8
[    2.859500]  [<c10b0e7b>] ? __kmalloc+0x2b/0x130
[    2.859500]  [<c126e3c9>] ? ata_exec_internal_sg+0x249/0x510
[    2.859500]  [<c140d1bd>] ? schedule_timeout+0xed/0x170
[    2.859500]  [<c11eaa87>] ? acpi_ut_delete_internal_obj+0x162/0x172
[    2.859500]  [<c126e6f2>] ? ata_exec_internal+0x62/0xa0
[    2.859500]  [<c126e755>] ? ata_do_dev_read_id+0x25/0x30
[    2.859500]  [<c126ea35>] ? ata_dev_read_id+0x245/0x560
[    2.859500]  [<c127af72>] ? ata_eh_recover+0x762/0x1270
[    2.859500]  [<c127dcb0>] ? ata_sff_drain_fifo+0x80/0x80
[    2.859500]  [<efd84180>] ? pacpi_port_start+0x80/0x80 [pata_acpi]
[    2.859500]  [<c127e210>] ? ata_sff_wait_after_reset+0x130/0x130
[    2.859500]  [<c127dcb0>] ? ata_sff_drain_fifo+0x80/0x80
[    2.859500]  [<c127c490>] ? ata_do_eh+0x40/0xb0
[    2.859500]  [<c127dcb0>] ? ata_sff_drain_fifo+0x80/0x80
[    2.859500]  [<c127e210>] ? ata_sff_wait_after_reset+0x130/0x130
[    2.859500]  [<efd84180>] ? pacpi_port_start+0x80/0x80 [pata_acpi]
[    2.859500]  [<c127e210>] ? ata_sff_wait_after_reset+0x130/0x130
[    2.859500]  [<c127ec77>] ? ata_sff_error_handler+0xb7/0x120
[    2.859500]  [<c127dcb0>] ? ata_sff_drain_fifo+0x80/0x80
[    2.859500]  [<c127bfc5>] ? ata_scsi_port_error_handler+0x495/0x860
[    2.859500]  [<c127ece0>] ? ata_sff_error_handler+0x120/0x120
[    2.859500]  [<c127c413>] ? ata_scsi_error+0x83/0xc0
[    2.859500]  [<c125533c>] ? scsi_error_handler+0x8c/0x470
[    2.859500]  [<c104f6b4>] ? __wake_up_common+0x44/0x70
[    2.859500]  [<c12552b0>] ? scsi_eh_get_sense+0xd0/0xd0
[    2.859500]  [<c12552b0>] ? scsi_eh_get_sense+0xd0/0xd0
[    2.859500]  [<c104719c>] ? kthread+0x6c/0x80
[    2.859500]  [<c1047130>] ? kthread_freezable_should_stop+0x50/0x50
[    2.859500]  [<c140f8f6>] ? kernel_thread_helper+0x6/0xd
[    2.859500] ---[ end trace 869d9aa7f2250d16 ]---
[    2.863806] ata2.00: ATAPI: CD-224E-BA, 7.7C, max UDMA/33
[    2.863823] ata2.00: simplex DMA is claimed by other device, disabling DMA
[    2.871217] ata2.00: configured for PIO4
[    2.888712] scsi 1:0:0:0: CD-ROM            TEAC     CD-224E-BA       7.7C PQ: 0 ANSI: 5
[    2.892171] sr0: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
[    2.892184] cdrom: Uniform CD-ROM driver Revision: 3.20
[    2.893604] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    2.894315] sr 1:0:0:0: Attached scsi generic sg1 type 5
[    3.083254]  sda: sda1 sda2 sda3
[    3.085214] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.662220] PM: Starting manual resume from disk
[    3.847521] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   22.121796] RPC: Registered named UNIX socket transport module.
[   22.121800] RPC: Registered udp transport module.
[   22.121801] RPC: Registered tcp transport module.
[   22.121803] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   25.045337] parport_pc 00:0b: [io  0x0378-0x037a]
[   25.045351] parport_pc 00:0b: [io  0x0778-0x077a]
[   25.045421] parport_pc 00:0b: [irq 7]
[   25.045431] parport_pc 00:0b: [dma 1]
[   25.063832] parport_pc 00:0b: activated
[   25.063845] parport_pc 00:0b: reported by Plug and Play ACPI
[    2.895723] ACPI: Invalid Power Resource to register!
[   25.063899] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
[   25.309009] b43-phy0: Broadcom 4306 WLAN found (core revision 5)
[   25.317548] ACPI: bus type usb registered
[   25.326948] usbcore: registered new interface driver usbfs
[   25.333210] Broadcom 43xx driver loaded [ Features: PL ]
[   25.343457] usbcore: registered new interface driver hub
[   25.353372] usbcore: registered new device driver usb
[   25.410903] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   25.594102] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   25.594254] ohci_hcd 0000:00:02.0: OHCI Host Controller
[   25.594275] ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
[   25.594332] ohci_hcd 0000:00:02.0: irq 11, io mem 0xf7eff000
[   25.651511] hub 1-0:1.0: USB hub found
[   25.651532] hub 1-0:1.0: 3 ports detected
[   26.030752] pcmcia_socket pcmcia_socket0: cs: memory probe 0x0c0000-0x0fffff:
[   26.030785]  excluding 0xc0000-0xcbfff 0xe0000-0xfffff
[   26.030867] pcmcia_socket pcmcia_socket0: cs: memory probe 0xa0000000-0xa0ffffff:
[   26.030889]  clean.
[   26.030968] pcmcia_socket pcmcia_socket0: cs: memory probe 0x60000000-0x60ffffff:
[   26.030987]  clean.
[   26.031641] pcmcia_socket pcmcia_socket1: cs: memory probe 0x0c0000-0x0fffff:
[   26.031660]  excluding 0xc0000-0xcbfff 0xe0000-0xfffff
[   26.031738] pcmcia_socket pcmcia_socket1: cs: memory probe 0xa0000000-0xa0ffffff:
[   26.031758]  clean.
[   26.031837] pcmcia_socket pcmcia_socket1: cs: memory probe 0x60000000-0x60ffffff:
[   26.031857]  clean.
[   26.033550] EXT4-fs (sda2): re-mounted. Opts: (null)
[   26.361191] snd_ali5451 0000:00:06.0: enabling device (0000 -> 0003)
[   26.361738] ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
[   26.576985] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   26.593148] Registered led device: b43-phy0::tx
[   26.594747] Registered led device: b43-phy0::rx
[   26.596518] Registered led device: b43-phy0::radio
[   29.146630] Adding 975868k swap on /dev/sda1.  Priority:-1 extents:1 across:975868k 
[   31.464545] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[   38.347083] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   38.408907] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   40.962288] wlan0: authenticate with 00:11:50:9e:c8:62
[   40.970434] wlan0: send auth to 00:11:50:9e:c8:62 (try 1/3)
[   40.979215] wlan0: authenticated
[   40.979672] b43 ssb0:0: wlan0: disabling HT as WMM/QoS is not supported
[   40.981859] wlan0: associate with 00:11:50:9e:c8:62 (try 1/3)
[   40.984148] wlan0: RX AssocResp from 00:11:50:9e:c8:62 (capab=0x431 status=0 aid=2)
[   40.986199] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   40.986607] wlan0: associated
[   44.494982] wlan0: deauthenticating from 00:11:50:9e:c8:62 by local choice (reason=3)
[   44.498144] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   44.498407] cfg80211: Calling CRDA to update world regulatory domain
[   44.607952] cfg80211: World regulatory domain updated:
[   44.607973] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   44.607983] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   44.607991] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   44.607999] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   44.608007] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   44.610227] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Borislav Petkov - Oct. 22, 2012, 8:27 p.m.
On Mon, Oct 22, 2012 at 04:47:52PM +0100, Phillip Wood wrote:
> 00:04.0 IDE interface: ULi Electronics Inc. M5229 IDE (rev c3) (prog-if f0)
> 	Subsystem: Toshiba America Info Systems Device 0004
> 	Flags: bus master, medium devsel, latency 64, IRQ 255
> 	[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
> 	[virtual] Memory at 000003f0 (type 3, non-prefetchable)
> 	[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
> 	[virtual] Memory at 00000370 (type 3, non-prefetchable)
> 	I/O ports at eff0 [size=16]
> 	Capabilities: [60] Power Management version 2
> 	Kernel driver in use: pata_ali

Ok, your IDE interface is supported by pata_ali...

[ … ]

> If I blacklist pata_acpi and remove it from the initrd image then my
> unpatched distro kernel boots and seems to run fine (I've not checked
> if the hard drive power management is affected though). I've attached
> the dmesg from the patched kernel which was built with a minimal
> config.

Right, as it looks above, pata_ali should be able to support your IDE
interface, so you might not be needing the pata_acpi thing after all.

So yes, blacklisting it and verifying that your system still operates
normally would be something to do. If it does, you could also build a
kernel with pata_acpi disabled (that is, provided you build your own
kernels).

HTH.
Alan Cox - Oct. 23, 2012, 10:05 a.m.
> So yes, blacklisting it and verifying that your system still operates
> normally would be something to do. If it does, you could also build a
> kernel with pata_acpi disabled (that is, provided you build your own
> kernels).

The crash is still a bug. It needs chasing down.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 3cc7096cfda7..f46fbd3bd3fb 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2942,6 +2942,10 @@  const struct ata_timing *ata_timing_find_mode(u8 xfer_mode)
 
 	if (xfer_mode == t->mode)
 		return t;
+
+	WARN_ONCE(true, "%s: unable to find timing for xfer_mode 0x%x\n",
+			__func__, xfer_mode);
+
 	return NULL;
 }