HP Mini 10, i915, ftrace faulted on writing [<ffffffffa000014c>] video_output_register+0x1c/0x12c [output]

Bug #690190 reported by Tim Gardner
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Tim Gardner
Natty
Fix Released
Undecided
Tim Gardner

Bug Description

[ 2.980021] WARNING: at /build/buildd/linux-2.6.37/kernel/trace/ftrace.c:1014 ftrace_bug+0x289/0x2c0()
[ 2.980021] Hardware name: HP Mini 5102
[ 2.980021] Modules linked in: output(+)
[ 2.980021] Pid: 121, comm: modprobe Not tainted 2.6.37-9-generic #22-Ubuntu
[ 2.980021] Call Trace:
[ 2.980021] [<ffffffff8106620f>] warn_slowpath_common+0x7f/0xc0
[ 2.980021] [<ffffffffa000014c>] ? video_output_register+0x1c/0x12c [output]
[ 2.980021] [<ffffffff8106626a>] warn_slowpath_null+0x1a/0x20
[ 2.980021] [<ffffffff810e1a69>] ftrace_bug+0x289/0x2c0
[ 2.980021] [<ffffffffa000014c>] ? video_output_register+0x1c/0x12c [output]
[ 2.980021] [<ffffffff810e1cea>] ftrace_update_code+0x11a/0x150
[ 2.980021] [<ffffffffa000014c>] ? video_output_register+0x1c/0x12c [output]
[ 2.980021] [<ffffffff810e2121>] ftrace_process_locs+0x91/0xc0
[ 2.980021] [<ffffffff810e3a85>] ftrace_module_notify+0x45/0x50
[ 2.980021] [<ffffffff815bee7d>] notifier_call_chain+0x4d/0x70
[ 2.980021] [<ffffffff8108e108>] __blocking_notifier_call_chain+0x58/0x80
[ 2.980021] [<ffffffff8108e146>] blocking_notifier_call_chain+0x16/0x20
[ 2.980021] [<ffffffff810a5697>] sys_init_module+0x87/0x220
[ 2.980021] [<ffffffff8100c0c2>] system_call_fastpath+0x16/0x1b
[ 2.980021] ---[ end trace 940c7aea4826a74e ]---
[ 2.980021] ftrace faulted on writing [<ffffffffa000014c>] video_output_register+0x1c/0x12c [output]

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.37-9-generic 2.6.37-9.22
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.37-9.22-generic 2.6.37-rc5
Uname: Linux 2.6.37-9-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: rtg 1353 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x94900000 irq 48'
   Mixer name : 'IDT 92HD75B2X5'
   Components : 'HDA:111d7608,103c3653,00100202'
   Controls : 13
   Simple ctrls : 8
Date: Tue Dec 14 07:40:43 2010
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=bd417fbf-4c6d-4540-9cca-e2c46b7fc886
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101201)
MachineType: Hewlett-Packard HP Mini 5102
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.37-9-generic root=UUID=62160825-a474-44c9-a60a-d4bb4f8b59e5 ro
RelatedPackageVersions: linux-firmware 1.42
SourcePackage: linux
StagingDrivers: crystalhd
Title: [STAGING]
dmi.bios.date: 03/11/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PGU Ver. F.05
dmi.board.name: 3653
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 43.1D
dmi.chassis.asset.tag: CNU0150MDM
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PGUVer.F.05:bd03/11/2010:svnHewlett-Packard:pnHPMini5102:pvr:rvnHewlett-Packard:rn3653:rvrKBCVersion43.1D:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Mini 5102
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Tim Gardner (timg-tpi) wrote :
Revision history for this message
Tim Gardner (timg-tpi) wrote :

Reverting these commits made this bug go away:
UBUNTU: [Config] update config for CONFIG_DEBUG_SET_MODULE_RONX
x86: RO/NX protection for loadable kernel, jump_table fix
x86: Resume trampoline must be executable
x86: Add RO/NX protection for loadable kernel modules
x86: Add NX protection for kernel data

I suspect reverting just 'x86: Add RO/NX protection for loadable kernel modules' will also fix the problem. Trying that next.

Changed in linux (Ubuntu Natty):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Revision history for this message
Tim Gardner (timg-tpi) wrote :

Indeed, reverting that single commit (x86: Add RO/NX protection for loadable kernel modules) fixed it.

Revision history for this message
Kees Cook (kees) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.37-9.23

---------------
linux (2.6.37-9.23) natty; urgency=low

  [ Andy Whitcroft ]

  * SAUCE: vt -- fix handoff numbering to 1..n and add range checks
    - LP: #689606
  * SAUCE: vt -- fix handoff numbering to 1..n and add range checks (grub)
    - LP: #689606

  [ Kees Cook ]

  * SAUCE: RO/NX protection for loadable kernel, fix ftrace
    - LP: #690190
 -- Andy Whitcroft <email address hidden> Wed, 15 Dec 2010 19:29:57 +0000

Changed in linux (Ubuntu Natty):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.