I was able to show how to analyze an oops as follows:
prepare an oops in mydriver.ko
boot a kernel with debug info. ( prepare it before course )
objdump -Sl mymod.ko | less
you will be able to show the exact line of crash. I presented
to a few of my colleagues. fast and simple.
analyzing
-- Forwarded message --
From: अनुज
Date: 2009/7/9
Subject: Re: Kernel Panic : Kernel BUG at rmap:479
To: Mulyadi Santosa
Cc: Aniket Agashe , deve...@cdac.in
2009/7/8 Mulyadi Santosa
> 2009/7/8 अनुज :
> > Hi All
> >
> > I am trying to map a buffer allocated with kmalloc to us
On Thu, Jul 09, 2009 at 05:18:39PM +0530, arun c wrote:
> Hi,
>
> I want to create sysfs entries for my character device
> in order to manipulate (show, store) the device parameters.
>
> I am registering the character driver by
> alloc_chrdev_region + cdev_init + cdev_add.
>
> what is the prefer
Hi Robert
On Thu, Jul 9, 2009 at 11:19 AM, Robert P. J. Day wrote:
> On Thu, 9 Jul 2009, Mulyadi Santosa wrote:
>
>> I think one of the core skills one should have is how to "decode"
>> oops message.
>>
>> Other options that quickly cross my mind:
>> 1. systemtap.
>> 2. ftrace
>
> i might be able
I've found netdump, or diskdump to be useful and easy to setup, though this
is only supported by Red Hat kernels.
- Kent
On Thu, Jul 9, 2009 at 5:55 AM, Robert P. J. Day wrote:
>
> i'm going to leech off of the collective intelligence of this list
> for a few minutes. toward the end of a 1-day
I've found netdump, or diskdump to be useful and easy to setup, though this
is only supported by Red Hat kernels.
- Kent
On Thu, Jul 9, 2009 at 5:55 AM, Robert P. J. Day wrote:
>
> i'm going to leech off of the collective intelligence of this list
> for a few minutes. toward the end of a 1-day
Hi,
I'm also working on a CAN device driver and very sooner i will have
the same question as yours. :P
On Thu, Jul 9, 2009 at 2:48 PM, arun c wrote:
> Hi,
>
> I want to create sysfs entries for my character device
> in order to manipulate (show, store) the device parameters.
>
> I am registering
Hello!
I'm working on Linux kernel model and I experience crash with following
OOPS message:
==
BUG: unable to handle kernel paging request at 3336
IP: [] :nf_conntrack:_ipfix_send_msg+0x4d/0x96
Oops: [#1] SMP
Modules
Is there any inbuilt( ) c function which can validate if the passed
uid/gid exist's on the machine or not?
How about:-
struct passwd *getpwuid(uid_t uid);
Adrian
Hi
On Thu, Jul 9, 2009 at 11:53 PM, SandeepKsinha wrote:
> Hi,
>
> Is there any inbuilt( ) c function which can validate if the passed uid/gid
> exist's on the machine or not?
I think Linux PAM might lend a help here. Take a look on
http://www.linuxjournal.com/article/5940 to find out on how to d
Hi,
Is there any inbuilt( ) c function which can validate if the passed uid/gid
exist's on the machine or not?
--
Regards,
Sandeep.
“To learn is to change. Education is a process that changes the learner.”
Hi,
On Thu, Jul 9, 2009 at 6:25 PM, Robert P. J. Day wrote:
>
> i'm going to leech off of the collective intelligence of this list
> for a few minutes. toward the end of a 1-day kernel course i'm
> designing, i want to *very* briefly present some kernel debugging
> techniques. given the limite
On Thu, 9 Jul 2009, Mulyadi Santosa wrote:
> I think one of the core skills one should have is how to "decode"
> oops message.
>
> Other options that quickly cross my mind:
> 1. systemtap.
> 2. ftrace
i might be able to throw in a few minutes on how to decode an
oops, but i doubt i'd have time
On Thu, Jul 9, 2009 at 7:55 PM, Robert P. J. Day wrote:
>
> i'm going to leech off of the collective intelligence of this list
> for a few minutes. toward the end of a 1-day kernel course i'm
> designing, i want to *very* briefly present some kernel debugging
> techniques. given the limited time
i'm going to leech off of the collective intelligence of this list
for a few minutes. toward the end of a 1-day kernel course i'm
designing, i want to *very* briefly present some kernel debugging
techniques. given the limited time i'm going to have, i can't see
having more than about 20 or 30
Hi,
I want to create sysfs entries for my character device
in order to manipulate (show, store) the device parameters.
I am registering the character driver by
alloc_chrdev_region + cdev_init + cdev_add.
what is the preferred method to create sysfs
entries for the new character device?
The hard
apparently, the publishing system at linux.com has a bit of a glitch
in that, as soon as i make a change to the online content of one of my
online articles, the editor "unpublishes" the article, which means you
can't get to the latest one until one of the linux.com folks gets in
this morning and
On Tue, Jul 07, 2009 at 01:39:34PM +0200, Belisko Marek wrote:
> it's possible after kernel git-pulling get what actual kernel
> version is updated? I can read it from Makefile but I'm curious
> if exist another way.
$ git describe
v2.6.31-rc1-195-g5298976
Karel
--
Karel Zak
--
To un
18 matches
Mail list logo