public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rabin Vincent <rabin@rab.in>
To: Justin Mattock <justinmattock@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: BUG: cat /sys/devices/system/cpu/cpuidle/current_driver
Date: Tue, 5 Aug 2008 23:43:35 +0530	[thread overview]
Message-ID: <20080805181335.GB1856@debian> (raw)
In-Reply-To: <dd18b0c30808050759h2680842el87b384997978edd6@mail.gmail.com>

On Tue, Aug 05, 2008 at 07:59:31AM -0700, Justin Mattock wrote:
> I noticed a thread about:
> cat /sys/devices/system/cpu/cpuidle/current_driver
> so I decided to see if this happens to me as well.
> sure enough the first try gave me no response the
> second try gave me a segfault <below is in dmesg>
> 
> [  292.680190] BUG: unable to handle kernel paging request at 72890e19
> [  292.680201] IP: [<c02ebd1f>] show_current_driver+0x5/0x4c
> [  292.680215] *pde = 00000000
> [  292.680221] Oops: 0000 [#1] SMP
> [  292.680229] Modules linked in: hci_usb cpufreq_ondemand
> cpufreq_performance cpufreq_powersave rfcomm hidp l2cap bluetooth fan
> battery ipmi_watchdog ipmi_msghandler uvcvideo uinput wlan_tkip
> ieee80211_crypt_tkip ieee80211 ieee80211_crypt arpt_mangle
> arptable_filter arp_tables nf_conntrack_ipv4 nf_conntrack
> iptable_mangle iptable_filter ip_tables x_tables coretemp eeprom
> acpi_cpufreq applesmc wlan_scan_sta ath_rate_sample firewire_ohci
> firewire_core joydev isight_firmware snd_hda_intel ath_pci wlan
> fglrx(P) ohci1394 appletouch snd_pcm ieee1394 ath_hal(P) video ac
> snd_timer ehci_hcd pata_acpi thermal agpgart evdev uhci_hcd
> snd_page_alloc snd_hwdep processor sbshc button
> [  292.680335]
> [  292.680341] Pid: 3645, comm: cat Tainted: P
> (2.6.27-rc1-00156-g94ad374 #5)
> [  292.680346] EIP: 0060:[<c02ebd1f>] EFLAGS: 00210282 CPU: 0
> [  292.680353] EIP is at show_current_driver+0x5/0x4c
> [  292.680358] EAX: f44ae7f4 EBX: c01a982c ECX: 0804e000 EDX: 00001000
> [  292.680362] ESI: f44ae7e0 EDI: c04e0728 EBP: c04e0728 ESP: f1ecff64
> [  292.680367]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> [  292.680372] Process cat (pid: 3645, ti=f1ece000 task=f1edc4e0
> task.ti=f1ece000)
> [  292.680377] Stack: c04e0a90 f1e0fd00 0804e000 c01a97a1 f1ecff90
> c0175721 f1ecff9c 00001000
> [  292.680392]        f1e0fd00 fffffff7 0804e000 f1ecffb0 c0175a14
> f1ecff9c 00000000 00000000
> [  292.680406]        00000000 00000003 00001000 f1ece000 c0102f9a
> 00000003 0804e000 00001000
> [  292.680421] Call Trace:
> [  292.680425]  [<c01a97a1>] ? sysfs_read_file+0x0/0xe8
> [  292.680436]  [<c0175721>] ? vfs_read+0x8a/0x106
> [  292.680444]  [<c0175a14>] ? sys_read+0x3b/0x60
> [  292.680452]  [<c0102f9a>] ? syscall_call+0x7/0xb
> [  292.680461]  =======================
> [  292.680464] Code: c3 58 5a b8 e0 7a 4e c0 e8 a5 ee 0a 00 89 d8 8b
> 5d fc c9 c3 55 83 c0 30 89 e5 ba 4c 7b 4e c0 e8 3e f4 eb ff 5d c3 61
> 63 70 69 5f <69> 64 6c 65 0a 00 e8 e1 ff 0a 00 a1 e0 4c 5e c0 85 c0 74
> 13 50
> [  292.680548] EIP: [<c02ebd1f>] show_current_driver+0x5/0x4c SS:ESP
> 0068:f1ecff64
> [  292.680559] ---[ end trace d308d2db96f6b752 ]---
> 
> the kernel is tainted(even though I'm trying to have an
> untainted kernel). i.g. video driver

Thanks for the report.  Could you please try this patch posted in the
original thread?

  http://lkml.org/lkml/2008/8/5/314

Rabin

  reply	other threads:[~2008-08-05 18:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 14:59 BUG: cat /sys/devices/system/cpu/cpuidle/current_driver Justin Mattock
2008-08-05 18:13 ` Rabin Vincent [this message]
2008-08-05 20:19   ` Justin Mattock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080805181335.GB1856@debian \
    --to=rabin@rab.in \
    --cc=justinmattock@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox