All of lore.kernel.org
 help / color / mirror / Atom feed
* INP3 patch + yam = kernel oops
@ 2003-04-02 19:12 Øyvind Hanssen
  2003-04-04 21:55 ` Jeroen Vreeken
  0 siblings, 1 reply; 6+ messages in thread
From: Øyvind Hanssen @ 2003-04-02 19:12 UTC (permalink / raw)
  To: linux-hams

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: INP3 patch + yam = kernel oops
  2003-04-02 19:12 INP3 patch + yam = kernel oops Øyvind Hanssen
@ 2003-04-04 21:55 ` Jeroen Vreeken
  2003-04-04 22:12   ` Tomi Manninen
  2003-04-04 22:28   ` Øyvind Hanssen
  0 siblings, 2 replies; 6+ messages in thread
From: Jeroen Vreeken @ 2003-04-04 21:55 UTC (permalink / raw)
  To: linux-hams

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.html
> 
> Btw. What is the "sock_orphan patch"?

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: INP3 patch + yam = kernel oops
  2003-04-04 21:55 ` Jeroen Vreeken
@ 2003-04-04 22:12   ` Tomi Manninen
  2003-04-05  9:43     ` Joop Stakenborg
  2003-04-04 22:28   ` Øyvind Hanssen
  1 sibling, 1 reply; 6+ messages in thread
From: Tomi Manninen @ 2003-04-04 22:12 UTC (permalink / raw)
  To: linux-hams

On Fri, 4 Apr 2003, Jeroen Vreeken wrote:

> 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???

-- 
Tomi Manninen           Internet:  oh2bns@sral.fi
OH2BNS                  AX.25:     oh2bns@oh2rbi.fin.eu
KP20ME04                Amprnet:   oh2bns@oh2rbi.ampr.org


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: INP3 patch + yam = kernel oops
  2003-04-04 21:55 ` Jeroen Vreeken
  2003-04-04 22:12   ` Tomi Manninen
@ 2003-04-04 22:28   ` Øyvind Hanssen
  2003-04-04 23:08     ` Jeroen Vreeken
  1 sibling, 1 reply; 6+ messages in thread
From: Øyvind Hanssen @ 2003-04-04 22:28 UTC (permalink / raw)
  To: Jeroen Vreeken, linux-hams

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

> 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 majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: INP3 patch + yam = kernel oops
  2003-04-04 22:28   ` Øyvind Hanssen
@ 2003-04-04 23:08     ` Jeroen Vreeken
  0 siblings, 0 replies; 6+ messages in thread
From: Jeroen Vreeken @ 2003-04-04 23:08 UTC (permalink / raw)
  To: Øyvind Hanssen; +Cc: linux-hams

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: INP3 patch + yam = kernel oops
  2003-04-04 22:12   ` Tomi Manninen
@ 2003-04-05  9:43     ` Joop Stakenborg
  0 siblings, 0 replies; 6+ messages in thread
From: Joop Stakenborg @ 2003-04-05  9:43 UTC (permalink / raw)
  To: tpm; +Cc: linux-hams

Tomi Manninen wrote:

>On Fri, 4 Apr 2003, Jeroen Vreeken wrote:
>
>  
>
>>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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-04-05  9:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-02 19:12 INP3 patch + yam = kernel oops Øyvind Hanssen
2003-04-04 21:55 ` Jeroen Vreeken
2003-04-04 22:12   ` Tomi Manninen
2003-04-05  9:43     ` Joop Stakenborg
2003-04-04 22:28   ` Øyvind Hanssen
2003-04-04 23:08     ` Jeroen Vreeken

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.