Skip to contentSkip to conversation

BUG: unable to handle kernel paging request

DISCUSSION [email protected] 2 participants 2 messages May 5, 2008 – May 7, 2008

lore
Share & tools
lore
#0 lore raw

See also attached config and dmesg:

[  706.684483] BUG: unable to handle kernel paging request at fa4213d8
[  706.684488] IP: [<f8b9e4f3>] :oprofile:alloc_cpu_buffers+0x39/0xce
[  706.684496] *pde = 00000000 
[  706.684500] Oops: 0002 [#1] SMP 
[  706.684502] last sysfs file: /sys/devices/pci0000:00/0000:00:09.0/irq
[  706.684505] Modules linked in: oprofile cpufreq_stats rfcomm l2cap bluetooth

autofs4 fuse sunrpc nf_conntrack_netbios_ns nf_conntrack_ipv4 xt_state nf_conntrack ipt_REJECT iptable_filter ip_tables xt_tcpudp ip6t_REJECT ip6table_filter ip6_tables x_tables cpufreq_ondemand dm_crypt ext2 dm_mirror dm_log dm_multipath scsi_dh dm_mod ipv6 snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss forcedeth snd_pcm snd_timer snd_page_alloc snd_hwdep pcspkr k8temp snd soundcore button i2c_nforce2 i2c_core mtd chipreg map_funcs serio_raw hwmon sg pata_amd pata_acpi ata_generic libata sd_mod scsi_mod ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd [last unloaded: scsi_wait_scan]

[  706.684537] 
[  706.684539] Pid: 7857, comm: oprofiled Not tainted (2.6.26-rc1-next-20080505
#21)
[  706.684542] EIP: 0060:[<f8b9e4f3>] EFLAGS: 00210286 CPU: 0
[  706.684547] EIP is at alloc_cpu_buffers+0x39/0xce [oprofile]
[  706.684550] EAX: f8ba6000 EBX: fa4213c0 ECX: f8b9e4f1 EDX: 00000000
[  706.684552] ESI: 00000000 EDI: 00002000 EBP: 00010000 ESP: f45cfe98
[  706.684554]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[  706.684556] Process oprofiled (pid: 7857, ti=f45cf000 task=f6314f00
task.ti=f45cf000)
[  706.684558] Stack: ffffffea f6228180 00000000 f8b9ec99 f8b9e119 ffffffea
f6228180 f8b9ecd2 
[  706.684563]        f6228180 f3363988 c047f42d f453cd80 f29cf3b8 f45cff14
f6228180 f45cff14 
[  706.684568]        00000001 c047f543 f6228180 00000000 00000000 f45cff14
c0489f07 00000000 
[  706.684572] Call Trace:
[  706.684575]  [<f8b9ec99>] event_buffer_open+0x0/0x55 [oprofile]
[  706.684582]  [<f8b9e119>] oprofile_setup+0x11/0x84 [oprofile]
[  706.684588]  [<f8b9ecd2>] event_buffer_open+0x39/0x55 [oprofile]
[  706.684595]  [<c047f42d>] __dentry_open+0x118/0x212
[  706.684602]  [<c047f543>] nameidata_to_filp+0x1c/0x2c
[  706.684607]  [<c0489f07>] do_filp_open+0x35a/0x6c3
[  706.684612]  [<c041bcf8>] kunmap_atomic+0x67/0x87
[  706.684617]  [<c046e520>] handle_mm_fault+0x6e7/0x6f8
[  706.684621]  [<c0470e14>] mmap_region+0x2de/0x394
[  706.684633]  [<c047f23f>] do_sys_open+0x40/0xb0
[  706.684638]  [<c047f2f3>] sys_open+0x1e/0x23
[  706.684643]  [<c0404a92>] syscall_call+0x7/0xb
[  706.684653]  =======================
[  706.684654] Code: 8d 2c fd 00 00 00 00 53 e8 f8 28 95 c7 89 c6 e9 8d 00 00
00
bb c0 43 ba f8 31 d2 89 e8 03 1c b5 c0 5e 74 c0 e8 d2 56 8d c7 85 c0 <89> 43 18
74 7e 8d 43 34 c7 43 04 00 00 00 00 89 73 2c c7 43 0c 
[  706.684677] EIP: [<f8b9e4f3>] alloc_cpu_buffers+0x39/0xce [oprofile] SS:ESP
0068:f45cfe98
[  706.684684] ---[ end trace 4f359ae625277917 ]---
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 2.6.26-rc1-next-20080505 (thomas@dhcppc1) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #21 SMP Mon May 5 23:55:18 CEST 2008
[    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: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000007ffd0000 (usable)
[    0.000000]  BIOS-e820: 000000007ffd0000 - 000000007ffde000 (ACPI data)
[    0.000000]  BIOS-e820: 000000007ffde000 - 0000000080000000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000d0000000 - 00000000e0000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
[    0.000000]  BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] After WB checking
[    0.000000] MTRR MAP PFN: 0000000000000000 - 0000000000080000
[    0.000000] After UC checking
[    0.000000] MTRR MAP PFN: 0000000000000000 - 0000000000080000
[    0.000000] After sorting
[    0.000000] MTRR MAP PFN: 0000000000000000 - 0000000000080000
[    0.000000] 1151MB HIGHMEM available.
[    0.000000] 896MB LOWMEM available.
[    0.000000] Scan SMP from c0000000 for 1024 bytes.
[    0.000000] Scan SMP from c009fc00 for 1024 bytes.
[    0.000000] Scan SMP from c00f0000 for 65536 bytes.
[    0.000000] found SMP MP-table at [c00ff780] 000ff780
[    0.000000] Entering add_active_range(0, 0, 524240) 0 entries of 256 used
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   229376
[    0.000000]   HighMem    229376 ->   524240
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   524240
[    0.000000] On node 0 totalpages: 524240
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4064 pages, LIFO batch:0
[    0.000000]   Normal zone: 1760 pages used for memmap
[    0.000000]   Normal zone: 223520 pages, LIFO batch:31
[    0.000000]   HighMem zone: 2303 pages used for memmap
[    0.000000]   HighMem zone: 292561 pages, LIFO batch:31
[    0.000000]   Movable zone: 0 pages used for memmap
[    0.000000] DMI present.
[    0.000000] Using APIC driver default
[    0.000000] ACPI: RSDP 000F92B0, 0014 (r0 ACPIAM)
[    0.000000] ACPI: RSDT 7FFD0000, 003C (r1 MSIISM OEMRSDT  10000704 MSFT       97)
[    0.000000] ACPI: FACP 7FFD0200, 0084 (r2 MSIISM OEMFACP  10000704 MSFT       97)
[    0.000000] ACPI: DSDT 7FFD0440, 5045 (r1  1ADGH 1ADGH013       13 INTL 20051117)
[    0.000000] ACPI: FACS 7FFDE000, 0040
[    0.000000] ACPI: APIC 7FFD0390, 0070 (r1 MSIISM OEMAPIC  10000704 MSFT       97)
[    0.000000] ACPI: MCFG 7FFD0400, 003C (r1 MSIISM OEMMCFG  10000704 MSFT       97)
[    0.000000] ACPI: OEMB 7FFDE040, 0061 (r1 MSIISM AMI_OEM  10000704 MSFT       97)
[    0.000000] ACPI: HPET 7FFD5490, 0038 (r1 MSIISM OEMHPET0 10000704 MSFT       97)
[    0.000000] ACPI: SSDT 7FFD54D0, 028A (r1 A M I  POWERNOW        1 AMD         1)
[    0.000000] Detected use of extended apic ids on hypertransport bus
[    0.000000] ACPI: PM-Timer IO Port: 0x2008
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] BIOS bug, APIC version is 0 for CPU#0! fixing up to 0x10. (tell your hw vendor)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[    0.000000] BIOS bug, APIC version is 0 for CPU#0! fixing up to 0x10. (tell your hw vendor)
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 00, APIC ID 2, APIC INT 02
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 09, APIC ID 2, APIC INT 09
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
[    0.000000] Int: type 0, pol 1, trig 1, bus 00, IRQ 0e, APIC ID 2, APIC INT 0e
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
[    0.000000] Int: type 0, pol 1, trig 1, bus 00, IRQ 0f, APIC ID 2, APIC INT 0f
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 01, APIC ID 2, APIC INT 01
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 03, APIC ID 2, APIC INT 03
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 04, APIC ID 2, APIC INT 04
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 05, APIC ID 2, APIC INT 05
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 06, APIC ID 2, APIC INT 06
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 07, APIC ID 2, APIC INT 07
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 08, APIC ID 2, APIC INT 08
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0a, APIC ID 2, APIC INT 0a
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0b, APIC ID 2, APIC INT 0b
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0c, APIC ID 2, APIC INT 0c
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0d, APIC ID 2, APIC INT 0d
[    0.000000] ACPI: IRQ14 used by override.
[    0.000000] ACPI: IRQ15 used by override.
[    0.000000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.000000] ACPI: HPET id: 0x10de8201 base: 0xfed00000
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] Allocating PCI resources starting at 88000000 (gap: 80000000:50000000)
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[    0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] PERCPU: Allocating 32552 bytes of per cpu data
[    0.000000] NR_CPUS: 32, nr_cpu_ids: 2, nr_node_ids 1
[    0.693310] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 520145
[    0.693310] Kernel command line: ro root=LABEL=ROOT rhgb
[    0.693310] mapped APIC to ffffb000 (fee00000)
[    0.693310] mapped IOAPIC to ffffa000 (fec00000)
[    0.693310] Enabling fast FPU save and restore... done.
[    0.693310] Enabling unmasked SIMD FPU exception support... done.
[    0.693310] Initializing CPU#0
[    0.693310] CPU 0 irqstacks, hard=c07b7000 soft=c0797000
[    0.693310] PID hash table entries: 4096 (order: 12, 16384 bytes)
[    0.693310] Detected 2600.032 MHz processor.
[    0.693310] spurious 8259A interrupt: IRQ7.
[    0.693310] Console: colour VGA+ 80x25
[    0.693310] console [tty0] enabled
[    0.693310] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.693310] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.693310] Memory: 2070832k/2096960k available (2200k kernel code, 24872k reserved, 1161k data, 280k init, 1179456k highmem)
[    0.693310] virtual kernel memory layout:
[    0.693310]     fixmap  : 0xffe17000 - 0xfffff000   (1952 kB)
[    0.693310]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[    0.693310]     vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
[    0.693310]     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
[    0.693310]       .init : 0xc074e000 - 0xc0794000   ( 280 kB)
[    0.693310]       .data : 0xc0626001 - 0xc07486e0   (1161 kB)
[    0.693310]       .text : 0xc0400000 - 0xc0626001   (2200 kB)
[    0.693310] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.693310] CPA: page pool initialized 1 of 1 pages preallocated
[    0.693310] SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.693310] hpet clockevent registered
[    0.752496] Calibrating delay using timer specific routine.. 5307.06 BogoMIPS (lpj=2653534)
[    0.752620] Security Framework initialized
[    0.752679] SELinux:  Initializing.
[    0.752740] SELinux:  Starting in permissive mode
[    0.752744] selinux_register_security:  Registering secondary module capability
[    0.752836] Capability LSM initialized as secondary
[    0.752900] Mount-cache hash table entries: 512
[    0.753072] Initializing cgroup subsys ns
[    0.753130] Initializing cgroup subsys cpuacct
[    0.753196] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[    0.753256] CPU: L2 Cache: 512K (64 bytes/line)
[    0.753301] CPU 0(2) -> Core 0
[    0.753301] Intel machine check architecture supported.
[    0.753301] Intel machine check reporting enabled on CPU#0.
[    0.753373] Checking 'hlt' instruction... OK.
[    0.758284] ACPI: Core revision 20080321
[    0.764520] ENABLING IO-APIC IRQs
[    0.764785] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.775031] CPU0: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ stepping 02
[    0.775298] CPU 1 irqstacks, hard=c07b8000 soft=c0798000
[    0.775298] Booting processor 1/1 ip 6000
[    0.775298] Initializing CPU#1
[    0.775298] Calibrating delay using timer specific routine.. 5199.66 BogoMIPS (lpj=2599831)
[    0.775298] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[    0.775298] CPU: L2 Cache: 512K (64 bytes/line)
[    0.775298] CPU 1(2) -> Core 1
[    0.775298] Intel machine check architecture supported.
[    0.775298] Intel machine check reporting enabled on CPU#1.
[    0.775298] x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
[    0.846287] CPU1: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ stepping 02
[    0.846873] Brought up 2 CPUs
[    0.846929] Total of 2 processors activated (10506.73 BogoMIPS).
[    0.847027] CPU0 attaching sched-domain:
[    0.847030]  domain 0: span 0-1
[    0.847032]   groups: 0 1
[    0.847035] CPU1 attaching sched-domain:
[    0.847036]  domain 0: span 0-1
[    0.847038]   groups: 1 0
[    0.847287] net_namespace: 660 bytes
[    0.847287] Booting paravirtualized kernel on bare hardware
[    0.847287] NET: Registered protocol family 16
[    0.847287] No dock devices found.
[    0.848287] ACPI: bus type pci registered
[    0.848287] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[    0.848287] PCI: Not using MMCONFIG.
[    0.848287] PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=7
[    0.848287] PCI: Using configuration type 1 for base access
[    0.848287] Setting up standard PCI resources
[    0.853781] ACPI: EC: Look up EC in DSDT
[    0.862284] ACPI: Interpreter enabled
[    0.862284] ACPI: (supports S0 S1 S3 S4 S5)
[    0.862284] ACPI: Using IOAPIC for interrupt routing
[    0.862284] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[    0.866840] PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
[    0.866899] PCI: Using MMCONFIG for extended config space
[    0.875282] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    0.875282] PCI: Transparent bridge - 0000:00:06.0
[    0.875582] bus 00 -> node 0
[    0.875587] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.875849] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
[    0.876001] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR10._PRT]
[    0.876082] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR11._PRT]
[    0.876162] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR12._PRT]
[    0.876242] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR13._PRT]
[    0.876282] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR14._PRT]
[    0.876364] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR15._PRT]
[    0.885281] ACPI: PCI Interrupt Link [LNKA] (IRQs 16 17 18 19) *0, disabled.
[    0.885281] ACPI: PCI Interrupt Link [LNKB] (IRQs 16 17 18 19) *0, disabled.
[    0.885667] ACPI: PCI Interrupt Link [LNKC] (IRQs 16 17 18 19) *0, disabled.
[    0.886052] ACPI: PCI Interrupt Link [LNKD] (IRQs 16 17 18 19) *0, disabled.
[    0.886438] ACPI: PCI Interrupt Link [LNEA] (IRQs 16 17 18 19) *0, disabled.
[    0.886822] ACPI: PCI Interrupt Link [LNEB] (IRQs 16 17 18 19) *10
[    0.887186] ACPI: PCI Interrupt Link [LNEC] (IRQs 16 17 18 19) *0, disabled.
[    0.887572] ACPI: PCI Interrupt Link [LNED] (IRQs 16 17 18 19) *0, disabled.
[    0.887956] ACPI: PCI Interrupt Link [LUB0] (IRQs 21 22 23) *7
[    0.888301] ACPI: PCI Interrupt Link [LMAD] (IRQs 20) *5
[    0.888605] ACPI: PCI Interrupt Link [LUB2] (IRQs 21 22 23) *10
[    0.888949] ACPI: PCI Interrupt Link [LMAC] (IRQs 20) *11
[    0.889254] ACPI: PCI Interrupt Link [LAZA] (IRQs 21 22 23) *10
[    0.890280] ACPI: PCI Interrupt Link [LSMB] (IRQs 21 22 23) *11
[    0.890626] ACPI: PCI Interrupt Link [LPMU] (IRQs 21 22 23) *5
[    0.890970] ACPI: PCI Interrupt Link [LSA0] (IRQs 21 22 23) *11
[    0.891316] ACPI: PCI Interrupt Link [LSA1] (IRQs 21 22 23) *5
[    0.891692] ACPI: PCI Interrupt Link [LATA] (IRQs 21 22 23) *0, disabled.
[    0.892056] ACPI: PCI Interrupt Link [LSA2] (IRQs 21 22 23) *10
[    0.893280] Linux Plug and Play Support v0.97 (c) Adam Belay
[    0.893280] pnp: PnP ACPI init
[    0.893280] ACPI: bus type pnp registered
[    0.897250] pnp: PnP ACPI: found 14 devices
[    0.897279] ACPI: ACPI bus type pnp unregistered
[    0.897279] usbcore: registered new interface driver usbfs
[    0.897279] usbcore: registered new interface driver hub
[    0.897279] usbcore: registered new device driver usb
[    0.898279] PCI: Using ACPI for IRQ routing
[    0.899134] NetLabel: Initializing
[    0.899190] NetLabel:  domain hash size = 128
[    0.899246] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.899279] NetLabel:  unlabeled traffic allowed by default
[    0.899279] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 31
[    0.899279] hpet0: 3 32-bit timers, 25000000 Hz
[    0.900279] tracer: 643 pages allocated for 65536<6> entries of 40 bytes
[    0.900279]    actual entries 65586
[    0.900402] Switched to high resolution mode on CPU 0
[    0.900402] Switched to high resolution mode on CPU 1
[    0.904437] system 00:05: ioport range 0x4d0-0x4d1 has been reserved
[    0.904497] system 00:05: ioport range 0x800-0x80f has been reserved
[    0.904558] system 00:05: ioport range 0x2000-0x207f has been reserved
[    0.904617] system 00:05: ioport range 0x2080-0x20ff has been reserved
[    0.904680] system 00:05: ioport range 0x2400-0x247f has been reserved
[    0.904739] system 00:05: ioport range 0x2480-0x24ff has been reserved
[    0.904798] system 00:05: ioport range 0x2800-0x287f has been reserved
[    0.904857] system 00:05: ioport range 0x2880-0x28ff has been reserved
[    0.904916] system 00:05: ioport range 0x2c00-0x2c7f has been reserved
[    0.904975] system 00:05: ioport range 0x2c80-0x2cff has been reserved
[    0.905034] system 00:05: iomem range 0xfbf80000-0xfbfbffff has been reserved
[    0.905094] system 00:05: iomem range 0xfee01000-0xfeefffff could not be reserved
[    0.905191] system 00:07: iomem range 0xfec00000-0xfec00fff could not be reserved
[    0.905283] system 00:07: iomem range 0xfee00000-0xfee00fff could not be reserved
[    0.905316] system 00:0a: ioport range 0xa00-0xa0f has been reserved
[    0.905381] system 00:0a: ioport range 0xa10-0xa1f has been reserved
[    0.905444] system 00:0b: iomem range 0xe0000000-0xefffffff has been reserved
[    0.905506] system 00:0c: iomem range 0xd0000000-0xdfffffff could not be reserved
[    0.905601] system 00:0d: iomem range 0x0-0x9ffff could not be reserved
[    0.905663] system 00:0d: iomem range 0xc0000-0xcffff could not be reserved
[    0.905722] system 00:0d: iomem range 0xe0000-0xfffff could not be reserved
[    0.905781] system 00:0d: iomem range 0x100000-0x7fffffff could not be reserved
[    0.905873] system 00:0d: iomem range 0xfec00000-0xffffffff could not be reserved
[    0.936453] PCI: Bridge: 0000:00:06.0
[    0.936509]   IO window: disabled.
[    0.937314]   MEM window: disabled.
[    0.937314]   PREFETCH window: disabled.
[    0.937314] PCI: Bridge: 0000:00:0a.0
[    0.937314]   IO window: disabled.
[    0.937314]   MEM window: disabled.
[    0.937314]   PREFETCH window: disabled.
[    0.937314] PCI: Bridge: 0000:00:0b.0
[    0.937314]   IO window: disabled.
[    0.937314]   MEM window: disabled.
[    0.937314]   PREFETCH window: disabled.
[    0.937314] PCI: Bridge: 0000:00:0c.0
[    0.937314]   IO window: disabled.
[    0.937314]   MEM window: disabled.
[    0.937314]   PREFETCH window: disabled.
[    0.937360] PCI: Bridge: 0000:00:0d.0
[    0.937415]   IO window: disabled.
[    0.937471]   MEM window: disabled.
[    0.937527]   PREFETCH window: disabled.
[    0.938357] PCI: Bridge: 0000:00:0e.0
[    0.938357]   IO window: disabled.
[    0.938357]   MEM window: disabled.
[    0.938357]   PREFETCH window: disabled.
[    0.938357] PCI: Bridge: 0000:00:0f.0
[    0.938357]   IO window: e000-efff
[    0.938357]   MEM window: 0xfc000000-0xfebfffff
[    0.938357]   PREFETCH window: 0x00000000c0000000-0x00000000cfffffff
[    0.938357] PCI: Setting latency timer of device 0000:00:06.0 to 64
[    0.938357] PCI: Setting latency timer of device 0000:00:0a.0 to 64
[    0.938357] PCI: Setting latency timer of device 0000:00:0b.0 to 64
[    0.938357] PCI: Setting latency timer of device 0000:00:0c.0 to 64
[    0.938357] PCI: Setting latency timer of device 0000:00:0d.0 to 64
[    0.938357] PCI: Setting latency timer of device 0000:00:0e.0 to 64
[    0.938357] PCI: Setting latency timer of device 0000:00:0f.0 to 64
[    0.938357] NET: Registered protocol family 2
[    0.941393] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.942315] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.942315] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.943355] TCP: Hash tables configured (established 131072 bind 65536)
[    0.943355] TCP reno registered
[    0.944414] NET: Registered protocol family 1
[    0.944570] checking if image is initramfs... it is
[    1.121318] Freeing initrd memory: 2979k freed
[    1.121367] audit: initializing netlink socket (disabled)
[    1.121440] type=2000 audit(1210032464.429:1): initialized
[    1.126264] highmem bounce pool size: 64 pages
[    1.126264] Total HugeTLB memory allocated, 0
[    1.128263] VFS: Disk quotas dquot_6.5.1
[    1.128263] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.128267] msgmni has been set to 1748 for ipc namespace c07213a0
[    1.128267] SELinux:  Registering netfilter hooks
[    1.129263] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    1.129263] io scheduler noop registered
[    1.129263] io scheduler anticipatory registered
[    1.129263] io scheduler deadline registered
[    1.129263] io scheduler cfq registered (default)
[    1.129263] pci 0000:00:00.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:05.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:05.1: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:05.2: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:06.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:06.1: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:08.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:09.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:0a.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:0b.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:0c.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:0d.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:0e.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:00:0f.0: Enabling HT MSI Mapping
[    1.150233] pci 0000:07:00.0: Boot video device
[    1.150233] PCI: Setting latency timer of device 0000:00:0a.0 to 64
[    1.150233] assign_interrupt_mode Found MSI capability
[    1.150233] Allocate Port Service[0000:00:0a.0:pcie00]
[    1.150233] Allocate Port Service[0000:00:0a.0:pcie03]
[    1.150233] PCI: Setting latency timer of device 0000:00:0b.0 to 64
[    1.150233] assign_interrupt_mode Found MSI capability
[    1.150233] Allocate Port Service[0000:00:0b.0:pcie00]
[    1.150233] Allocate Port Service[0000:00:0b.0:pcie03]
[    1.150233] PCI: Setting latency timer of device 0000:00:0c.0 to 64
[    1.150233] assign_interrupt_mode Found MSI capability
[    1.150233] Allocate Port Service[0000:00:0c.0:pcie00]
[    1.150233] Allocate Port Service[0000:00:0c.0:pcie03]
[    1.150233] PCI: Setting latency timer of device 0000:00:0d.0 to 64
[    1.150233] assign_interrupt_mode Found MSI capability
[    1.150233] Allocate Port Service[0000:00:0d.0:pcie00]
[    1.150233] Allocate Port Service[0000:00:0d.0:pcie03]
[    1.150234] PCI: Setting latency timer of device 0000:00:0e.0 to 64
[    1.150234] assign_interrupt_mode Found MSI capability
[    1.150234] Allocate Port Service[0000:00:0e.0:pcie00]
[    1.150234] Allocate Port Service[0000:00:0e.0:pcie03]
[    1.150234] PCI: Setting latency timer of device 0000:00:0f.0 to 64
[    1.150234] assign_interrupt_mode Found MSI capability
[    1.150234] Allocate Port Service[0000:00:0f.0:pcie00]
[    1.150234] Allocate Port Service[0000:00:0f.0:pcie03]
[    1.150234] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    1.150234] ACPI: ACPI0007:00 is registered as cooling_device0
[    1.150234] ACPI: ACPI0007:01 is registered as cooling_device1
[    1.150234] isapnp: Scanning for PnP cards...
[    1.500945] isapnp: No Plug & Play device found
[    1.503264] Real Time Clock Driver v1.12ac
[    1.503334] hpet_resources: 0xfed00000 is busy
[    1.503348] Non-volatile memory driver v1.2
[    1.503405] Linux agpgart interface v0.103
[    1.503771] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[    1.506263] brd: module loaded
[    1.506263] input: Macintosh mouse button emulation as /class/input/input0
[    1.506263] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[    1.508523] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.508528] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.510264] mice: PS/2 mouse device common for all mice
[    1.552833] cpuidle: using governor ladder
[    1.552833] cpuidle: using governor menu
[    1.552833] usbcore: registered new interface driver hiddev
[    1.552833] usbcore: registered new interface driver usbhid
[    1.552833] usbhid: v2.6:USB HID core driver
[    1.554238] TCP cubic registered
[    1.554281] Initializing XFRM netlink socket
[    1.554281] NET: Registered protocol family 17
[    1.554281] powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ processors (2 cpu cores) (version 2.20.00)
[    1.554354] powernow-k8:    0 : fid 0x12 (2600 MHz), vid 0x8
[    1.554414] powernow-k8:    1 : fid 0x10 (2400 MHz), vid 0xa
[    1.554472] powernow-k8:    2 : fid 0xe (2200 MHz), vid 0xc
[    1.554529] powernow-k8:    3 : fid 0xc (2000 MHz), vid 0xe
[    1.554591] powernow-k8:    4 : fid 0xa (1800 MHz), vid 0x10
[    1.554649] powernow-k8:    5 : fid 0x2 (1000 MHz), vid 0x12
[    1.555246] Using IPI No-Shortcut mode
[    1.555317] registered taskstats version 1
[    1.555665] Freeing unused kernel memory: 280k freed
[    1.555779] Write protecting the kernel text: 2204k
[    1.555858] Write protecting the kernel read-only data: 952k
[    1.825603] ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 23
[    1.825671] ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUB2] -> GSI 23 (level, low) -> IRQ 23
[    1.825813] PCI: Setting latency timer of device 0000:00:02.1 to 64
[    1.825815] ehci_hcd 0000:00:02.1: EHCI Host Controller
[    1.825944] ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
[    1.826055] ehci_hcd 0000:00:02.1: debug port 1
[    1.826112] PCI: cache line size of 64 is not supported by device 0000:00:02.1
[    1.826126] ehci_hcd 0000:00:02.1: irq 23, io mem 0xfbffac00
[    1.831451] ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[    1.831631] usb usb1: configuration #1 chosen from 1 choice
[    1.832265] hub 1-0:1.0: USB hub found
[    1.832332] hub 1-0:1.0: 10 ports detected
[    2.036353] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.036638] ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 22
[    2.036705] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUB0] -> GSI 22 (level, low) -> IRQ 22
[    2.036846] PCI: Setting latency timer of device 0000:00:02.0 to 64
[    2.036848] ohci_hcd 0000:00:02.0: OHCI Host Controller
[    2.036964] ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
[    2.037075] ohci_hcd 0000:00:02.0: irq 22, io mem 0xfbffb000
[    2.089343] usb usb2: configuration #1 chosen from 1 choice
[    2.089420] hub 2-0:1.0: USB hub found
[    2.089482] hub 2-0:1.0: 10 ports detected
[    2.137271] usb 1-3: new high speed USB device using ehci_hcd and address 2
[    2.192268] USB Universal Host Controller Interface driver v3.0
[    2.249538] SCSI subsystem initialized
[    2.252981] usb 1-3: configuration #1 chosen from 1 choice
[    2.262265] Driver 'sd' needs updating - please use bus_type methods
[    2.280265] libata version 3.00 loaded.
[    2.304453] PCI: Setting latency timer of device 0000:00:04.0 to 64
[    2.305314] ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 21
[    2.305314] ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LSA0] -> GSI 21 (level, low) -> IRQ 21
[    2.305314] PCI: Setting latency timer of device 0000:00:05.0 to 64
[    2.305314] ACPI: PCI interrupt for device 0000:00:05.0 disabled
[    2.305314] ACPI: PCI Interrupt Link [LSA1] enabled at IRQ 23
[    2.305331] ACPI: PCI Interrupt 0000:00:05.1[B] -> Link [LSA1] -> GSI 23 (level, low) -> IRQ 23
[    2.305474] PCI: Setting latency timer of device 0000:00:05.1 to 64
[    2.305481] ACPI: PCI interrupt for device 0000:00:05.1 disabled
[    2.306327] ACPI: PCI Interrupt Link [LSA2] enabled at IRQ 22
[    2.306327] ACPI: PCI Interrupt 0000:00:05.2[C] -> Link [LSA2] -> GSI 22 (level, low) -> IRQ 22
[    2.306327] PCI: Setting latency timer of device 0000:00:05.2 to 64
[    2.306327] ACPI: PCI interrupt for device 0000:00:05.2 disabled
[    2.354374] usb 1-4: new high speed USB device using ehci_hcd and address 3
[    2.469461] usb 1-4: configuration #1 chosen from 1 choice
[    2.469649] hub 1-4:1.0: USB hub found
[    2.469752] hub 1-4:1.0: 4 ports detected
[    2.736389] usb 1-4.1: new low speed USB device using ehci_hcd and address 4
[    2.830050] usb 1-4.1: configuration #1 chosen from 1 choice
[    2.837386] input: Microsoft Microsoft IntelliMouse� Optical as /class/input/input1
[    2.841294] input,hidraw0: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse� Optical] on usb-0000:00:02.1-4.1
[    2.904388] usb 1-4.2: new low speed USB device using ehci_hcd and address 5
[    2.990678] usb 1-4.2: configuration #1 chosen from 1 choice
[    2.995482] input: DELL DELL USB Keyboard as /class/input/input2
[    3.000295] input,hidraw1: USB HID v1.10 Keyboard [DELL DELL USB Keyboard] on usb-0000:00:02.1-4.2
[    3.009557] input: DELL DELL USB Keyboard as /class/input/input3
[    3.013293] input,hidraw2: USB HID v1.10 Device [DELL DELL USB Keyboard] on usb-0000:00:02.1-4.2
[    4.808270] pata_amd 0000:00:04.0: version 0.3.10
[    4.808270] PCI: Setting latency timer of device 0000:00:04.0 to 64
[    4.808270] scsi0 : pata_amd
[    4.808270] scsi1 : pata_amd
[    4.809265] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
[    4.809265] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
[    4.969680] ata1.00: ATA-6: IC35L090AVV207-0, V23OA63A, max UDMA/100
[    4.969739] ata1.00: 160836480 sectors, multi 16: LBA48 
[    4.970025] ata1.01: ATA-6: Maxtor 32049H2, YAH814Y0, max UDMA/100
[    4.970083] ata1.01: 39062500 sectors, multi 16: LBA 
[    4.970147] ata1: nv_mode_filter: 0x3f39f&0x3f01f->0x3f01f, BIOS=0x3f000 (0xc6c60000) ACPI=0x3f01f (20:20:0x15)
[    4.970152] ata1: nv_mode_filter: 0x3f39f&0x3f01f->0x3f01f, BIOS=0x3f000 (0xc6c60000) ACPI=0x3f01f (20:20:0x15)
[    4.979606] ata1.00: configured for UDMA/100
[    4.985642] ata1.01: configured for UDMA/100
[    4.985712] ata2: port disabled. ignoring.
[    4.985795] scsi 0:0:0:0: Direct-Access     ATA      IC35L090AVV207-0 V23O PQ: 0 ANSI: 5
[    4.985942] sd 0:0:0:0: [sda] 160836480 512-byte hardware sectors (82348 MB)
[    4.986009] sd 0:0:0:0: [sda] Write Protect is off
[    4.986069] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.986082] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.986220] sd 0:0:0:0: [sda] 160836480 512-byte hardware sectors (82348 MB)
[    4.986294] sd 0:0:0:0: [sda] Write Protect is off
[    4.986351] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.986365] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.986458]  sda: sda1
[    4.996957] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.997093] scsi 0:0:1:0: Direct-Access     ATA      Maxtor 32049H2   YAH8 PQ: 0 ANSI: 5
[    4.997235] sd 0:0:1:0: [sdb] 39062500 512-byte hardware sectors (20000 MB)
[    4.997308] sd 0:0:1:0: [sdb] Write Protect is off
[    4.997365] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[    4.997379] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.997499] sd 0:0:1:0: [sdb] 39062500 512-byte hardware sectors (20000 MB)
[    4.997564] sd 0:0:1:0: [sdb] Write Protect is off
[    4.997621] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[    4.997635] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.997728]  sdb: sdb1 sdb2 sdb3
[    5.041249] sd 0:0:1:0: [sdb] Attached SCSI disk
[    7.767007] kjournald starting.  Commit interval 5 seconds
[    7.767076] EXT3-fs: mounted filesystem with ordered data mode.
[    8.337968] type=1404 audit(1210032471.645:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
[    8.758684] SELinux: 8192 avtab hash slots, 222567 rules.
[    8.789752] SELinux: 8192 avtab hash slots, 222567 rules.
[    8.812785] SELinux:  6 users, 12 roles, 2420 types, 115 bools, 1 sens, 1024 cats
[    8.812789] SELinux:  67 classes, 222567 rules
[    8.814151] SELinux:  class peer not defined in policy
[    8.814212] SELinux:  class capability2 not defined in policy
[    8.814284] SELinux:  permission open in class dir not defined in policy
[    8.814344] SELinux:  permission open in class file not defined in policy
[    8.814405] SELinux:  permission open in class chr_file not defined in policy
[    8.814464] SELinux:  permission open in class blk_file not defined in policy
[    8.814523] SELinux:  permission open in class fifo_file not defined in policy
[    8.814621] SELinux:  permission recvfrom in class node not defined in policy
[    8.814680] SELinux:  permission sendto in class node not defined in policy
[    8.814742] SELinux:  permission ingress in class netif not defined in policy
[    8.814801] SELinux:  permission egress in class netif not defined in policy
[    8.814890] SELinux:  permission setfcap in class capability not defined in policy
[    8.814991] SELinux:  permission forward_in in class packet not defined in policy
[    8.815087] SELinux:  permission forward_out in class packet not defined in policy
[    8.815292] SELinux:  Completing initialization.
[    8.815294] SELinux:  Setting up existing superblocks.
[    8.832406] SELinux: initialized (dev sdb1, type ext3), uses xattr
[    9.074333] SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
[    9.074342] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[    9.074413] SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
[    9.074434] SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs
[    9.074441] SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses genfs_contexts
[    9.074446] SELinux: initialized (dev devpts, type devpts), uses transition SIDs
[    9.074453] SELinux: initialized (dev inotifyfs, type inotifyfs), uses genfs_contexts
[    9.074456] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[    9.074462] SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts
[    9.074467] SELinux: initialized (dev anon_inodefs, type anon_inodefs), uses genfs_contexts
[    9.074470] SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
[    9.074475] SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts
[    9.074503] SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
[    9.074509] SELinux: initialized (dev proc, type proc), uses genfs_contexts
[    9.074518] SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
[    9.074522] SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
[    9.074539] SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
[    9.081580] SELinux: policy loaded with handle_unknown=allow
[    9.081647] type=1403 audit(1210032472.389:3): policy loaded auid=4294967295 ses=4294967295
[   13.857267] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   13.857267] sd 0:0:1:0: Attached scsi generic sg1 type 0
[   14.490263] ck804xrom ck804xrom_init_one(): Unable to register resource 0x0000000000000000-0x00000000ffffffff - kernel bug?
[   14.490263] ck804xrom: ioremap(00000000, 00000000) failed
[   14.566263] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x2d00
[   14.566263] i2c-adapter i2c-1: nForce2 SMBus adapter at 0x2e00
[   14.655353] input: Power Button (FF) as /class/input/input4
[   14.658806] ACPI: Power Button (FF) [PWRF]
[   14.658883] input: Power Button (CM) as /class/input/input5
[   14.671265] ACPI: Power Button (CM) [PWRB]
[   14.771264] input: PC Speaker as /class/input/input6
[   14.924266] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.61.
[   14.924579] ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 20
[   14.924587] ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LMAC] -> GSI 20 (level, low) -> IRQ 20
[   14.924592] PCI: Setting latency timer of device 0000:00:08.0 to 64
[   15.439553] forcedeth 0000:00:08.0: ifname eth0, PHY OUI 0x1c1 @ 0, addr 00:16:17:45:c9:df
[   15.439557] forcedeth 0000:00:08.0: highdma csum vlan pwrctl mgmt timirq gbit lnktim msi desc-v3
[   15.439862] ACPI: PCI Interrupt Link [LMAD] enabled at IRQ 20
[   15.439865] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LMAD] -> GSI 20 (level, low) -> IRQ 20
[   15.439870] PCI: Setting latency timer of device 0000:00:09.0 to 64
[   15.953575] forcedeth 0000:00:09.0: ifname eth1, PHY OUI 0x1c1 @ 1, addr 00:16:17:45:c9:de
[   15.953579] forcedeth 0000:00:09.0: highdma csum vlan pwrctl mgmt timirq gbit lnktim msi desc-v3
[   15.953919] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 21
[   15.953922] ACPI: PCI Interrupt 0000:00:06.1[B] -> Link [LAZA] -> GSI 21 (level, low) -> IRQ 21
[   15.953954] PCI: Setting latency timer of device 0000:00:06.1 to 64
[   15.953957] ALSA sound/pci/hda/hda_intel.c:1904: chipset global capabilities = 0x4401
[   15.961264] ALSA sound/pci/hda/hda_intel.c:745: codec_mask = 0x1
[   15.964013] ALSA sound/pci/hda/hda_codec.c:2350: hda_codec: model '6stack-dig' is selected for config 1462:7250 (MSI)
[   15.987565] ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Headphone Playback Volume, skipped
[   15.987568] ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Speaker Playback Volume, skipped
[   15.987571] ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Mono Playback Volume, skipped
[   15.987575] ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Line-Out Playback Volume, skipped
[   15.987582] ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Speaker Playback Switch, skipped
[   15.987585] ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Mono Playback Switch, skipped
[   18.284265] SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts
[   19.453207] NET: Registered protocol family 10
[   19.453582] lo: Disabled Privacy Extensions
[   20.126604] ACPI: PCI Interrupt Link [LNEB] enabled at IRQ 19
[   20.126614] ACPI: PCI Interrupt 0000:07:00.0[A] -> Link [LNEB] -> GSI 19 (level, low) -> IRQ 19
[   25.477061] device-mapper: uevent: version 1.0.3
[   25.478269] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: [email protected]
[   25.957265] device-mapper: multipath: version 1.0.5 loaded
[   27.595289] EXT3 FS on sdb1, internal journal
[   28.073374] SELinux: initialized (dev sdb3, type ext2), uses xattr
[   28.073374] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[   30.260087] Adding 1004052k swap on /dev/mapper/crypt-swap.  Priority:-1 extents:1 across:1004052k
[   30.263317] SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
[   31.012458] warning: process `kudzu' used the deprecated sysctl system call with 1.23.
[   31.491265] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   31.778265] ip_tables: (C) 2000-2006 Netfilter Core Team
[   31.917263] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[   32.692273] Clocksource tsc unstable (delta = -128636385 ns)
[   34.157624] eth1: no link during initialization.
[   34.158570] ADDRCONF(NETDEV_UP): eth1: link is not ready
[   40.994347] warning: `mcstransd' uses 32-bit capabilities (legacy support in use)
[   41.876268] RPC: Registered udp transport module.
[   41.876268] RPC: Registered tcp transport module.
[   41.882760] SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
[   42.910792] fuse init (API version 7.9)
[   42.924495] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
[   43.039274] eth0: no IPv6 routers present
[   51.269360] SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
[   51.860320] SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
[   52.004268] SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
[   52.511785] Bluetooth: Core ver 2.11
[   52.512495] NET: Registered protocol family 31
[   52.512498] Bluetooth: HCI device and connection manager initialized
[   52.512502] Bluetooth: HCI socket layer initialized
[   52.722717] Bluetooth: L2CAP ver 2.9
[   52.722722] Bluetooth: L2CAP socket layer initialized
[   52.780407] Bluetooth: RFCOMM socket layer initialized
[   52.780423] Bluetooth: RFCOMM TTY layer initialized
[   52.780425] Bluetooth: RFCOMM ver 1.8
[   58.815497] ALSA sound/pci/hda/hda_intel.c:1318: azx_pcm_prepare: bufsize=0x1800, format=0x4011
[   58.816268] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011
[   58.818408] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011
[   58.820306] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011
[   58.822359] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011
[   58.824277] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011
[   58.826308] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x2
[   58.826308] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x3
[   58.826308] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x4
[   58.826308] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x5
[   58.826308] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x6
[   89.548599] ALSA sound/pci/hda/hda_intel.c:1318: azx_pcm_prepare: bufsize=0x4400, format=0x4011
[   89.548670] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011
[   89.550324] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011
[   89.552321] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011
[   89.554321] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011
[   89.556321] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011
[   89.558323] ALSA sound/pci/hda/hda_intel.c:1318: azx_pcm_prepare: bufsize=0x4400, format=0x4011
[   89.558388] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011
[   89.560322] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011
[   89.562321] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011
[   89.564321] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011
[   89.566321] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011
[   89.649320] ALSA sound/pci/hda/hda_intel.c:1318: azx_pcm_prepare: bufsize=0x4400, format=0x4011
[   89.649320] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x8, stream=0x1, channel=0, format=0x4011
[   89.650328] ALSA sound/pci/hda/hda_intel.c:1318: azx_pcm_prepare: bufsize=0x4400, format=0x4011
[   89.650336] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x8, stream=0x1, channel=0, format=0x4011
[   90.958267] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x8
[   90.958267] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x8
[   90.959316] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x2
[   90.959316] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x3
[   90.959316] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x4
[   90.959316] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x5
[   90.959316] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x6
[   90.959325] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x2
[   90.959328] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x3
[   90.959331] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x4
[   90.959334] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x5
[  125.956320] ALSA sound/pci/hda/hda_intel.c:1318: azx_pcm_prepare: bufsize=0x10000, format=0x11
[  125.956320] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x11
[  125.957330] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x11
[  125.959323] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x11
[  125.961323] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x11
[  125.963323] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x11
[  125.968731] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x2
[  125.968741] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x3
[  125.968746] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x4
[  125.968751] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x5
[  125.968756] ALSA sound/pci/hda/hda_codec.c:728: hda_codec_cleanup_stream: NID=0x6
[  129.020672] ALSA sound/pci/hda/hda_intel.c:1318: azx_pcm_prepare: bufsize=0x10000, format=0x11
[  129.021376] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x11
[  129.023329] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x11
[  129.025325] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x11
[  129.027321] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x11
[  129.029321] ALSA sound/pci/hda/hda_codec.c:716: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x11
[  699.281316] oprofile: using NMI interrupt.
[  699.298314] SELinux: initialized (dev oprofilefs, type oprofilefs), uses genfs_contexts
[  706.684483] BUG: unable to handle kernel paging request at fa4213d8
[  706.684488] IP: [<f8b9e4f3>] :oprofile:alloc_cpu_buffers+0x39/0xce
[  706.684496] *pde = 00000000 
[  706.684500] Oops: 0002 [#1] SMP 
[  706.684502] last sysfs file: /sys/devices/pci0000:00/0000:00:09.0/irq
[  706.684505] Modules linked in: oprofile cpufreq_stats rfcomm l2cap bluetooth autofs4 fuse sunrpc nf_conntrack_netbios_ns nf_conntrack_ipv4 xt_state nf_conntrack ipt_REJECT iptable_filter ip_tables xt_tcpudp ip6t_REJECT ip6table_filter ip6_tables x_tables cpufreq_ondemand dm_crypt ext2 dm_mirror dm_log dm_multipath scsi_dh dm_mod ipv6 snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss forcedeth snd_pcm snd_timer snd_page_alloc snd_hwdep pcspkr k8temp snd soundcore button i2c_nforce2 i2c_core mtd chipreg map_funcs serio_raw hwmon sg pata_amd pata_acpi ata_generic libata sd_mod scsi_mod ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd [last unloaded: scsi_wait_scan]
[  706.684537] 
[  706.684539] Pid: 7857, comm: oprofiled Not tainted (2.6.26-rc1-next-20080505 #21)
[  706.684542] EIP: 0060:[<f8b9e4f3>] EFLAGS: 00210286 CPU: 0
[  706.684547] EIP is at alloc_cpu_buffers+0x39/0xce [oprofile]
[  706.684550] EAX: f8ba6000 EBX: fa4213c0 ECX: f8b9e4f1 EDX: 00000000
[  706.684552] ESI: 00000000 EDI: 00002000 EBP: 00010000 ESP: f45cfe98
[  706.684554]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[  706.684556] Process oprofiled (pid: 7857, ti=f45cf000 task=f6314f00 task.ti=f45cf000)
[  706.684558] Stack: ffffffea f6228180 00000000 f8b9ec99 f8b9e119 ffffffea f6228180 f8b9ecd2 
[  706.684563]        f6228180 f3363988 c047f42d f453cd80 f29cf3b8 f45cff14 f6228180 f45cff14 
[  706.684568]        00000001 c047f543 f6228180 00000000 00000000 f45cff14 c0489f07 00000000 
[  706.684572] Call Trace:
[  706.684575]  [<f8b9ec99>] event_buffer_open+0x0/0x55 [oprofile]
[  706.684582]  [<f8b9e119>] oprofile_setup+0x11/0x84 [oprofile]
[  706.684588]  [<f8b9ecd2>] event_buffer_open+0x39/0x55 [oprofile]
[  706.684595]  [<c047f42d>] __dentry_open+0x118/0x212
[  706.684602]  [<c047f543>] nameidata_to_filp+0x1c/0x2c
[  706.684607]  [<c0489f07>] do_filp_open+0x35a/0x6c3
[  706.684612]  [<c041bcf8>] kunmap_atomic+0x67/0x87
[  706.684617]  [<c046e520>] handle_mm_fault+0x6e7/0x6f8
[  706.684621]  [<c0470e14>] mmap_region+0x2de/0x394
[  706.684633]  [<c047f23f>] do_sys_open+0x40/0xb0
[  706.684638]  [<c047f2f3>] sys_open+0x1e/0x23
[  706.684643]  [<c0404a92>] syscall_call+0x7/0xb
[  706.684653]  =======================
[  706.684654] Code: 8d 2c fd 00 00 00 00 53 e8 f8 28 95 c7 89 c6 e9 8d 00 00 00 bb c0 43 ba f8 31 d2 89 e8 03 1c b5 c0 5e 74 c0 e8 d2 56 8d c7 85 c0 <89> 43 18 74 7e 8d 43 34 c7 43 04 00 00 00 00 89 73 2c c7 43 0c 
[  706.684677] EIP: [<f8b9e4f3>] alloc_cpu_buffers+0x39/0xce [oprofile] SS:ESP 0068:f45cfe98
[  706.684684] ---[ end trace 4f359ae625277917 ]---
#1 lore raw
Quoted 47 lines · On Tue, 06 May 2008 00:33:04 +0200 [email protected] wrote:

See also attached config and dmesg:

[  706.684483] BUG: unable to handle kernel paging request at fa4213d8
[  706.684488] IP: [<f8b9e4f3>] :oprofile:alloc_cpu_buffers+0x39/0xce
[  706.684496] *pde = 00000000 
[  706.684500] Oops: 0002 [#1] SMP 
[  706.684502] last sysfs file: /sys/devices/pci0000:00/0000:00:09.0/irq
[  706.684505] Modules linked in: oprofile cpufreq_stats rfcomm l2cap bluetooth

autofs4 fuse sunrpc nf_conntrack_netbios_ns nf_conntrack_ipv4 xt_state nf_conntrack ipt_REJECT iptable_filter ip_tables xt_tcpudp ip6t_REJECT ip6table_filter ip6_tables x_tables cpufreq_ondemand dm_crypt ext2 dm_mirror dm_log dm_multipath scsi_dh dm_mod ipv6 snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss forcedeth snd_pcm snd_timer snd_page_alloc snd_hwdep pcspkr k8temp snd soundcore button i2c_nforce2 i2c_core mtd chipreg map_funcs serio_raw hwmon sg pata_amd pata_acpi ata_generic libata sd_mod scsi_mod ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd [last unloaded: scsi_wait_scan]

[  706.684537] 
[  706.684539] Pid: 7857, comm: oprofiled Not tainted (2.6.26-rc1-next-20080505
#21)
[  706.684542] EIP: 0060:[<f8b9e4f3>] EFLAGS: 00210286 CPU: 0
[  706.684547] EIP is at alloc_cpu_buffers+0x39/0xce [oprofile]
[  706.684550] EAX: f8ba6000 EBX: fa4213c0 ECX: f8b9e4f1 EDX: 00000000
[  706.684552] ESI: 00000000 EDI: 00002000 EBP: 00010000 ESP: f45cfe98
[  706.684554]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[  706.684556] Process oprofiled (pid: 7857, ti=f45cf000 task=f6314f00
task.ti=f45cf000)
[  706.684558] Stack: ffffffea f6228180 00000000 f8b9ec99 f8b9e119 ffffffea
f6228180 f8b9ecd2 
[  706.684563]        f6228180 f3363988 c047f42d f453cd80 f29cf3b8 f45cff14
f6228180 f45cff14 
[  706.684568]        00000001 c047f543 f6228180 00000000 00000000 f45cff14
c0489f07 00000000 
[  706.684572] Call Trace:
[  706.684575]  [<f8b9ec99>] event_buffer_open+0x0/0x55 [oprofile]
[  706.684582]  [<f8b9e119>] oprofile_setup+0x11/0x84 [oprofile]
[  706.684588]  [<f8b9ecd2>] event_buffer_open+0x39/0x55 [oprofile]
[  706.684595]  [<c047f42d>] __dentry_open+0x118/0x212
[  706.684602]  [<c047f543>] nameidata_to_filp+0x1c/0x2c
[  706.684607]  [<c0489f07>] do_filp_open+0x35a/0x6c3
[  706.684612]  [<c041bcf8>] kunmap_atomic+0x67/0x87
[  706.684617]  [<c046e520>] handle_mm_fault+0x6e7/0x6f8
[  706.684621]  [<c0470e14>] mmap_region+0x2de/0x394
[  706.684633]  [<c047f23f>] do_sys_open+0x40/0xb0
[  706.684638]  [<c047f2f3>] sys_open+0x1e/0x23
[  706.684643]  [<c0404a92>] syscall_call+0x7/0xb
Quoted 8 lines
[  706.684653]  =======================
[  706.684654] Code: 8d 2c fd 00 00 00 00 53 e8 f8 28 95 c7 89 c6 e9 8d 00 00
00
bb c0 43 ba f8 31 d2 89 e8 03 1c b5 c0 5e 74 c0 e8 d2 56 8d c7 85 c0 <89> 43 18
74 7e 8d 43 34 c7 43 04 00 00 00 00 89 73 2c c7 43 0c 
[  706.684677] EIP: [<f8b9e4f3>] alloc_cpu_buffers+0x39/0xce [oprofile] SS:ESP
0068:f45cfe98
[  706.684684] ---[ end trace 4f359ae625277917 ]---

hrm. This:

commit 608dfddd845da5ab6accef70154c8910529699f7

Author: Mike Travis <[email protected]>
Date:   Mon Apr 28 02:14:15 2008 -0700

oprofile: change cpu_buffer from array to per_cpu variable

Change cpu_buffer from array to per_cpu variable in oprofile functions.

has to be a prime suspect. But why?

oprofile works OK here.

Does this revert patch fix it for you?

 drivers/oprofile/buffer_sync.c    |    2 +-
 drivers/oprofile/cpu_buffer.c     |   16 ++++++++--------
 drivers/oprofile/cpu_buffer.h     |    3 +--
 drivers/oprofile/oprofile_stats.c |    4 ++--
 4 files changed, 12 insertions(+), 13 deletions(-)
drivers/oprofile/buffer_sync.c renamed from drivers/oprofile/buffer_sync.c~revert-1 +1 -1
diff -puN drivers/oprofile/buffer_sync.c~revert-1 drivers/oprofile/buffer_sync.c
@@ -491,7 +491,7 @@ typedef enum {
  */
 void sync_buffer(int cpu)
 {
-	struct oprofile_cpu_buffer *cpu_buf = &per_cpu(cpu_buffer, cpu);
+	struct oprofile_cpu_buffer * cpu_buf = &cpu_buffer[cpu];
 	struct mm_struct *mm = NULL;
 	struct task_struct * new;
 	unsigned long cookie = 0;
drivers/oprofile/cpu_buffer.c renamed from drivers/oprofile/cpu_buffer.c~revert-1 +8 -8
diff -puN drivers/oprofile/cpu_buffer.c~revert-1 drivers/oprofile/cpu_buffer.c
@@ -27,7 +27,7 @@
 #include "buffer_sync.h"
 #include "oprof.h"
 
-DEFINE_PER_CPU_SHARED_ALIGNED(struct oprofile_cpu_buffer, cpu_buffer);
+struct oprofile_cpu_buffer cpu_buffer[NR_CPUS] __cacheline_aligned;
 
 static void wq_sync_buffer(struct work_struct *work);
 
@@ -39,7 +39,7 @@ void free_cpu_buffers(void)
 	int i;
  
 	for_each_online_cpu(i)
-		vfree(per_cpu(cpu_buffer, i).buffer);
+		vfree(cpu_buffer[i].buffer);
 }
 
 int alloc_cpu_buffers(void)
@@ -49,7 +49,7 @@ int alloc_cpu_buffers(void)
 	unsigned long buffer_size = fs_cpu_buffer_size;
  
 	for_each_online_cpu(i) {
-		struct oprofile_cpu_buffer *b = &per_cpu(cpu_buffer, i);
+		struct oprofile_cpu_buffer * b = &cpu_buffer[i];
  
 		b->buffer = vmalloc_node(sizeof(struct op_sample) * buffer_size,
 			cpu_to_node(i));
@@ -83,7 +83,7 @@ void start_cpu_work(void)
 	work_enabled = 1;
 
 	for_each_online_cpu(i) {
-		struct oprofile_cpu_buffer *b = &per_cpu(cpu_buffer, i);
+		struct oprofile_cpu_buffer * b = &cpu_buffer[i];
 
 		/*
 		 * Spread the work by 1 jiffy per cpu so they dont all
@@ -100,7 +100,7 @@ void end_cpu_work(void)
 	work_enabled = 0;
 
 	for_each_online_cpu(i) {
-		struct oprofile_cpu_buffer *b = &per_cpu(cpu_buffer, i);
+		struct oprofile_cpu_buffer * b = &cpu_buffer[i];
 
 		cancel_delayed_work(&b->work);
 	}
@@ -227,7 +227,7 @@ static void oprofile_end_trace(struct op
 void oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs,
 				unsigned long event, int is_kernel)
 {
-	struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(cpu_buffer);
+	struct oprofile_cpu_buffer * cpu_buf = &cpu_buffer[smp_processor_id()];
 
 	if (!backtrace_depth) {
 		log_sample(cpu_buf, pc, is_kernel, event);
@@ -254,13 +254,13 @@ void oprofile_add_sample(struct pt_regs 
 
 void oprofile_add_pc(unsigned long pc, int is_kernel, unsigned long event)
 {
-	struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(cpu_buffer);
+	struct oprofile_cpu_buffer * cpu_buf = &cpu_buffer[smp_processor_id()];
 	log_sample(cpu_buf, pc, is_kernel, event);
 }
 
 void oprofile_add_trace(unsigned long pc)
 {
-	struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(cpu_buffer);
+	struct oprofile_cpu_buffer * cpu_buf = &cpu_buffer[smp_processor_id()];
 
 	if (!cpu_buf->tracing)
 		return;
drivers/oprofile/cpu_buffer.h renamed from drivers/oprofile/cpu_buffer.h~revert-1 +1 -2
diff -puN drivers/oprofile/cpu_buffer.h~revert-1 drivers/oprofile/cpu_buffer.h
@@ -14,7 +14,6 @@
 #include <linux/spinlock.h>
 #include <linux/workqueue.h>
 #include <linux/cache.h>
-#include <linux/sched.h>
  
 struct task_struct;
  
@@ -48,7 +47,7 @@ struct oprofile_cpu_buffer {
 	struct delayed_work work;
 } ____cacheline_aligned;
 
-DECLARE_PER_CPU(struct oprofile_cpu_buffer, cpu_buffer);
+extern struct oprofile_cpu_buffer cpu_buffer[];
 
 void cpu_buffer_reset(struct oprofile_cpu_buffer * cpu_buf);
 
drivers/oprofile/oprofile_stats.c renamed from drivers/oprofile/oprofile_stats.c~revert-1 +2 -2
diff -puN drivers/oprofile/oprofile_stats.c~revert-1 drivers/oprofile/oprofile_stats.c
@@ -23,7 +23,7 @@ void oprofile_reset_stats(void)
 	int i;
  
 	for_each_possible_cpu(i) {
-		cpu_buf = &per_cpu(cpu_buffer, i);
+		cpu_buf = &cpu_buffer[i]; 
 		cpu_buf->sample_received = 0;
 		cpu_buf->sample_lost_overflow = 0;
 		cpu_buf->backtrace_aborted = 0;
@@ -49,7 +49,7 @@ void oprofile_create_stats_files(struct 
 		return;
 
 	for_each_possible_cpu(i) {
-		cpu_buf = &per_cpu(cpu_buffer, i);
+		cpu_buf = &cpu_buffer[i]; 
 		snprintf(buf, 10, "cpu%d", i);
 		cpudir = oprofilefs_mkdir(sb, dir, buf);
  

_