lkml.org 
[lkml]   [2006]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [irda-users] Oops in __wake_up_common with irda, linux-2.6.18
Berthold Cogel schrieb:

>> Could you try applying this patch:
>> http://marc.theaimsgroup.com/?l=linux-netdev&m=115792756816966&w=2
>>
>> It's supposed to fix this OOPS. Please let me know.
>>
>> Cheers,
>> Samuel.
>
> Hello Samuel,
>
> with 2.6.18 parts of the patch failed:
>
> acer01:/usr/src/linux# patch -p1 < ../irda_patch.txt
> patching file net/irda/af_irda.c
> Hunk #1 FAILED at 132.
> Hunk #2 FAILED at 1213.
> Hunk #3 FAILED at 1223.
> Hunk #4 succeeded at 1356 with fuzz 2.
> Hunk #5 succeeded at 1409 with fuzz 2.
> 3 out of 5 hunks FAILED -- saving rejects to file net/irda/af_irda.c.rej
>
> This happens with 2.6.18.1 too. I haven't tried 2.6.19-rc... yet.
>
> I've attached af_irda.c.rej for 2.6.18.
>

OK!

Hunk #1 .. #3 are already included in the kernel sources. And the other
parts of the patch did fix the Oops.

Now I get only (with 2.6.18):

acer01:~$ ircp -r
Waiting for incoming connection
srv_obex_event(): Link error

and in /var/log/kern.log:

Oct 29 21:35:59 localhost kernel: irlap_change_speed(), setting speed to
115200
Oct 29 21:35:59 localhost kernel: irlmp_state_dtr(), Unknown event
LM_LAP_CONNECT_CONFIRM on LSAP 0x10
Oct 29 21:35:59 localhost last message repeated 2 times
Oct 29 21:36:00 localhost kernel: irda_poll(), POLLHUP
Oct 29 21:36:00 localhost kernel: Assertion failed!
net/irda/af_irda.c:irda_recvmsg_stream:1409 !sock_error(sk)
Oct 29 21:36:02 localhost kernel: irlap_change_speed(), setting speed to
9600


Regards,

Berthold
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-29 21:51    [W:0.101 / U:0.356 seconds]
©2003-2011 Jasper Spaans. Advertise on this site