mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alistair John Strachan <s0348365@sms.ed.ac.uk>
To: Randy Dunlap <rdunlap@xenotime.net>
Cc: lkml <linux-kernel@vger.kernel.org>, akpm <akpm@osdl.org>,
	Lee Revell <rlrevell@joe-job.com>, Dave Jones <davej@redhat.com>,
	devzero@web.de
Subject: Re: [PATCH] list module taint flags in Oops/panic
Date: Fri, 29 Sep 2006 21:31:43 +0100	[thread overview]
Message-ID: <200609292131.43752.s0348365@sms.ed.ac.uk> (raw)
In-Reply-To: <20060928191200.5b76998c.rdunlap@xenotime.net>

On Friday 29 September 2006 03:12, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> When listing loaded modules during an oops or panic, also list each
> module's Tainted flags if non-zero (P: Proprietary or F: Forced load only).
>
> If a module is did not taint the kernel, it is just listed like
> 	usbcore
> but if it did taint the kernel, it is listed like
> 	wizmodem(PF)
>
> Example:
> [ 3260.121718] Unable to handle kernel NULL pointer dereference at
> 0000000000000000 RIP: [ 3260.121729]  [<ffffffff8804c099>]
> :dump_test:proc_dump_test+0x99/0xc8 [ 3260.121742] PGD fe8d067 PUD 264a6067
> PMD 0
> [ 3260.121748] Oops: 0002 [1] SMP
> [ 3260.121753] CPU 1
> [ 3260.121756] Modules linked in: dump_test(P) snd_pcm_oss snd_mixer_oss
> snd_seq snd_seq_device ide_cd generic ohci1394 snd_hda_intel snd_hda_codec
> snd_pcm snd_timer snd ieee1394 snd_page_alloc piix ide_core arcmsr aic79xx
> scsi_transport_spi usblp [ 3260.121785] Pid: 5556, comm: bash Tainted: P   
>   2.6.18-git10 #1
>
> [Alternatively, I can look into listing tainted flags with 'lsmod',
> but that won't help in oopsen/panics so much.]

I think this is definitely a good start.

-- 
Cheers,
Alistair.

Final year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

  reply	other threads:[~2006-09-29 20:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-29  2:12 Randy Dunlap
2006-09-29 20:31 ` Alistair John Strachan [this message]
2006-10-03  3:04 ` Florin Malita
2006-10-03 18:31   ` Randy Dunlap

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=200609292131.43752.s0348365@sms.ed.ac.uk \
    --to=s0348365@sms.ed.ac.uk \
    --cc=akpm@osdl.org \
    --cc=davej@redhat.com \
    --cc=devzero@web.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    --cc=rlrevell@joe-job.com \
    /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

all inboxes | Powered by JetHome®