INP3 patch + yam = kernel oops
I use 2.4.19 with Debian unstable and got it nicely up and running with a Yam modem at 9k6. Then I tried the INP3 patch by pe1rqx, verson 004 and the kernel goes down as soon as I try to do an actual call on the radio port. It also seems like something goes wrong as soon as I load YAM module The kernel reports: segmentation fault, at each call to ifconfig. The log shows (i removed the timestamps):
----------------------------------------------------------
YAM driver version 0.8 by F1OAT/F6FBB
Unable to handle kernel NULL pointer dereference at virtual address 00000000 printing eip: 00000000 *pde = 00000000 Oops: 0000
CPU: 0
EIP: 0010:[<00000000>] Not tainted
EFLAGS: 00010202
eax: d8859000 ebx: d19ad680 ecx: d19ac160 edx: c029aa88
esi: d19ac150 edi: d19ac040 ebp: d1b387a0 esp: d19bff40
ds: 0018 es: 0018 ss: 0018
Process ifconfig (pid: 813, stackpage=d19bf000)
Stack: d8855c01 d19ad680 00000000 00000002 00000000 d19ac150 c142f1e0 c01c933c d19ac150 d19ac040 c01c9939 d19ac150 d2eea540 00000000 d2eea540 c0136ffc d19ac040 d2eea540 d2eea540 d6f5cbc0 00000000 bffffb18 c013563d d2eea540 Call Trace: [<d8855c01>] [sock_set_timeout+60/160] [sock_getsockopt+73/816] [shmem_file_setup+76/352] [shmem_unuse_inode+93/320] [shmem_unuse_inode+222/320] [system_call+51/56] Code: Bad EIP value. ------------------------------------------------------------
I was thinking of giving up and do without INP3, but if anyone knows this problem and perhaps a hint where to look?? I used the patch which was meant for a 2.4.19 prerelease, but agains the official 2.4.19 kernel source. I cant find any other info on this than:
http://sharon.pi8zaa.ampr.org/users/pe1rxq/inp3.html
Btw. What is the "sock_orphan patch"?
73 de LA7ECA
Quoted 10 lines · On 2003.04.02 21:12:07 +0200 Øyvind Hanssen wrote:
I was thinking of giving up and do without INP3, but if anyone knows this problem and
perhaps a hint where to look?? I used the patch which was meant for a 2.4.19 prerelease, but
agains the official 2.4.19 kernel source. I cant find any other info on this than:
http://sharon.pi8zaa.ampr.org/users/pe1rxq/inp3.htmlBtw. What is the "
sock_orphanpatch"?
Its a fix for a prblem with earlier 2.4 kernels that would crash as almost immediatly.
I haven't tried the patch on a 'real' 2.4.19 source yet so it could be the cause...
But ax25 in 2.4 is terribly broken :(
On a side note does anybody know how the status of ax25 in 2.5 is? I know there have been some changes, but I don't get replies from any mails to the author....
I just want to know if it is just as likely to crash as 2.4, more likely or is it getting better?
In other words is it worth to try??? What needs to be done? Can I help???
Jeroen
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Jeroen Vreeken
On a side note does anybody know how the status of ax25 in 2.5 is? I know there have been some changes, but I don't get replies from any mails to the author....
I'd like to know that as well. Ralf are you here? Any progress lately???
Signature · 3 lines
Tomi Manninen Internet: [email protected] OH2BNS AX.25: [email protected] KP20ME04 Amprnet: [email protected]
Quoted 4 lines · Tomi Manninen
On Fri, 4 Apr 2003, Jeroen Vreeken wrote:
Quoted 10 lines
Quoted 5 lines
On a side note does anybody know how the status of ax25 in 2.5 is? I know there have been some changes, but I don't get replies from any mails to the author....
I'd like to know that as well. Ralf are you here? Any progress lately???
Ralf is frequently on irc.freenode.net, channel #hamradio. His nick is do1grb.
Regards,
Joop
Thanks for the response. I just booted a new kernel (2.4.20), with Yam and INP3 patch and it seems to be working well now, except that the patched nrattach does not seem to find the nrports file. I'll sort it out soon.
Riley Williams suggested to try the 2.4.20 and there are some fixes to the Yam driver. I guess I might also have confused the system by not actually booting the modified kernel, just replacing the modules. I suspect there was a little problem in the Yam code. Well, 2.4.20 seems to be ok.
It would be nice if we could improve the kernel AX.25 support. You and others has made some nice patches which could perhaps be included into the mainstream kernel??
73 de LA7ECA, Øyvind
Quoted 15 lines
Its a fix for a prblem with earlier 2.4 kernels that would crash as almost immediatly.
I haven't tried the patch on a 'real' 2.4.19 source yet so it could be the cause...
But ax25 in 2.4 is terribly broken :(On a side note does anybody know how the status of ax25 in 2.5 is? I know there have been some changes, but I don't get replies from any mails to the author....
I just want to know if it is just as likely to crash as 2.4, more likely or is it getting better?
In other words is it worth to try??? What needs to be done? Can I help???
Quoted 6 lines
Jeroen
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · On 2003.04.05 00:28:40 +0200 Øyvind Hanssen wrote:
Thanks for the response. I just booted a new kernel (2.4.20), with Yam and INP3 patch and it seems to be working well now, except that the patched nrattach does not seem to find the nrports file. I'll sort it out soon.
It probably looking in /usr/local/etc/ax25 instead of /etc/ax25 or vice versa.
You can set it with configure before compiling.
(Or make one a symlink to the other like I did to prevent future mistakes :)
Jeroen
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html