From: Greg KH <greg@kroah.com>
To: Dave Jones <davej@redhat.com>,
amax@us.ibm.com,
Srihari Vijayaraghavan <sriharivijayaraghavan@yahoo.com.au>,
linux-kernel@vger.kernel.org
Subject: Re: Oops on ibmasm
Date: Wed, 8 Mar 2006 22:41:19 -0800 [thread overview]
Message-ID: <20060309064119.GA10546@kroah.com> (raw)
In-Reply-To: <20060308225924.GB21130@redhat.com>
On Wed, Mar 08, 2006 at 05:59:25PM -0500, Dave Jones wrote:
> On Thu, Mar 09, 2006 at 09:41:45AM +1100, Srihari Vijayaraghavan wrote:
> > command count: 1
> > input: ibmasm RSA I remote mouse as
> > /class/input/input2
> > input: ibmasm RSA I remote keyboard as
> > /class/input/input3
> > ibmasm remote responding to events on RSA card 0
> > command count: 2
> > ibmasm_exec_command:130 at 1141819512.780778
> > do_exec_command:107 at 1141819512.780787
> > respond to interrupt at 1141819512.782055
> > exec_next_command:150 at 1141819512.782094
> > finished interrupt at 1141819512.782103
> > command count: 1
> > Unable to handle kernel paging request at virtual
> > address 6b6b6b6b
>
> the problem is we do this..
>
> command_put(sp->current_command);
> exec_next_command(sp);
>
> command_put drops the refcount of the kobject in sp,
> which then gets freed in the .release (free_command)
> which ends up kfree'ing 'sp'.
>
> unsurprisingly, it goes bang the next time something
> tries to access it. (Ie the 2nd line above)
>
> It's totally busted.
I think there's a patch floating around somewhere to actually fix up
this driver so it works. Max, any ideas about this?
thanks,
greg k-h
next prev parent reply other threads:[~2006-03-09 6:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-08 22:41 Oops on ibmasm Srihari Vijayaraghavan
2006-03-08 22:59 ` Dave Jones
2006-03-09 6:41 ` Greg KH [this message]
2006-03-09 9:40 ` Andrew Morton
2006-03-09 13:26 ` Dave Jones
2006-03-09 17:37 ` Max Asbock
2006-03-09 21:58 ` Srihari Vijayaraghavan
-- strict thread matches above, loose matches on Subject: below --
2006-03-10 4:35 Srihari Vijayaraghavan
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=20060309064119.GA10546@kroah.com \
--to=greg@kroah.com \
--cc=amax@us.ibm.com \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sriharivijayaraghavan@yahoo.com.au \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.