lkml.org 
[lkml]   [2003]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROBLEM: Problem with wireless PCMCIA card insertion on 2.6.0-test2
On Mon, Aug 04, 2003 at 07:01:33PM +0100, Russell King wrote:
> On Mon, Aug 04, 2003 at 10:18:59AM -0700, Jeremy T. Bouse wrote:
> > [1.]
> > Problem with Wireless PCMCIA card insertion.
>
> PCMCIA or CardBus?
>
My bad it is a CardBus bridge using the yenta socket
CONFIG_CARDBUS=y

> > [5.]
> > Jul 28 18:02:10 vaio kernel: airo: Probing for PCI adapters
> > Jul 28 18:02:10 vaio kernel: kobject_register failed for airo (-17)
>
> This looks like an error in airo. For starters, it doesn't unregister
> its PCI driver structure when the module removed, so when it is
> inserted the next time, you get this complaint.
>
> (You can only have one driver called "airo" registered with the device
> model.)
>
I am currently compiling -test2-bk4 to test it out and see if
there is any change... I did notice a patch to airo.c in it... I'll
advise if there is any change good or bad...

>
> Oops, it seems to be scheduling from timer context. That's pretty bad.
> I guess this is the culpret:
>
> static u16 issuecommand(struct airo_info *ai, Cmd *pCmd, Resp *pRsp) {
> ...
> if (!in_interrupt() && (max_tries & 255) == 0)
> schedule();
> ...
> }
>
This must be active only if CONFIG_PREEMPT is set as the atomic
errors did seem to cease after recompiling with CONFIG_PREEMPT not being
set...

Regards,
Jeremy T. Bouse
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.066 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site