Re: Kernel 2.4.20 and IPv6 ICMP on Sparc32/64 bomb

2003-05-11 Thread Peter Keel
* on the Sun, May 11, 2003 at 11:45:53AM +0200, Fabio Massimo Di Nitto wrote:
> You have to use egcs64 for 2.4 kernels.

Yes, seems so. It boots. I verified also the whole patch-situation, 
and it seems I was wrong: This was with the USAGI-patch. The stock
kernel (even with grsecurity and ipfilter-patch) has no problems with
ICMP. 

> check this thread for 2.5 kernels
> http://lists.debian.org/debian-sparc/2003/debian-sparc-200304/msg00169.html

Thank you. Only it doesn't really help, how do I compile my 2.5.69 now? ;) 

Peter
-- 
Those who give up essential liberties for temporary safety deserve 
neither liberty nor safety. -- Benjamin Franklin



Re: Kernel 2.4.20 and IPv6 ICMP on Sparc32/64 bomb

2003-05-11 Thread Tim Weippert
Hi, 

On Sun, May 11, 2003 at 10:08:56AM +0200, Peter Keel wrote:
> * on the Fri, May 09, 2003 at 10:03:37AM -0400, Ben Collins wrote:
> > On Fri, May 09, 2003 at 11:05:15AM +0200, Peter Keel wrote:
> > > Hello
> > > 

[ ... ]

> > Could you try 2.4.21-rc2?
> 
> I'll try whatever I can. ;) Right now, all my self-built kernels 
> cannot boot with a "Data Access Exception", I suspect its a 
> compiler-problem. Which one should I use? It's a Sid. I tried 3.2.3-2
> 3.3-0pre8 (I'll try pre9 today) and 2.95 which wouldn't even compile.
> Right now my /usr/bin looks like this:
> 

I have recently compiled an 2.5.68 with gcc-3.0 and it boots. So you can
try to get an gcc-3.0 and compile your kernel with this compiler.

HTH, 

tim

-- 
When confronted by a difficult problem, you can solve it more easily by
reducing it to the question, "How would the Lone Ranger handle this?"

Tim Weippert <[EMAIL PROTECTED]>
GnuPG Key http://www.topf-sicret.org/kontakt.html



Re: Kernel 2.4.20 and IPv6 ICMP on Sparc32/64 bomb

2003-05-11 Thread Fabio Massimo Di Nitto
On Sun, 11 May 2003, Peter Keel wrote:

> > Could you try 2.4.21-rc2?
>
> I'll try whatever I can. ;) Right now, all my self-built kernels
> cannot boot with a "Data Access Exception", I suspect its a
> compiler-problem. Which one should I use? It's a Sid. I tried 3.2.3-2
> 3.3-0pre8 (I'll try pre9 today) and 2.95 which wouldn't even compile.
> Right now my /usr/bin looks like this:
>
> /usr/bin/gcc -> gcc-2.95
> /usr/bin/gcc-2.95
> /usr/bin/gcc-3.2
> /usr/bin/gcc-3.3
> /usr/bin/gccbug -> gccbug-3.2
> /usr/bin/gccbug-3.2
> /usr/bin/gccbug-3.3
> /usr/bin/sparc64-linux-gcc -> gcc-2.95
>
> I'm not quite sure whether /usr/bin/sparc64-linux-gcc -> gcc-2.95 makes
> sense. Should I install egcs64? egcs64 seemed to produce bootable
> kernels, but had problems compiling 2.5.6x (which I ultimatively want).

You have to use egcs64 for 2.4 kernels.

check this thread for 2.5 kernels
http://lists.debian.org/debian-sparc/2003/debian-sparc-200304/msg00169.html

Fabio

-- 
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp4.html



Re: Kernel 2.4.20 and IPv6 ICMP on Sparc32/64 bomb

2003-05-11 Thread Peter Keel
* on the Fri, May 09, 2003 at 10:03:37AM -0400, Ben Collins wrote:
> On Fri, May 09, 2003 at 11:05:15AM +0200, Peter Keel wrote:
> > Hello
> > 
> > I know this probably doesn't really belong here, but this is the
> > only Sparc-ML I'm reading, and it may be of interest to you. 
> > 
> > ping6 on an IPv6-enabled Sparc32 or Sparc64 on Kernel 2.4.20 
> > bombs really nasty. Machine halts instantly. No matter what patches.

Right now, I'm not quite sure whether I used USAGI on both systems. 
The Sparc10 had USAGI, and I thought I had compiled the kernel for
the Ultra1 without USAGI. So this might actually be an USAGI-problem.
I constantly try to recompile kernels (with and whithout this and
that), but see below. 

> Could you try 2.4.21-rc2?

I'll try whatever I can. ;) Right now, all my self-built kernels 
cannot boot with a "Data Access Exception", I suspect its a 
compiler-problem. Which one should I use? It's a Sid. I tried 3.2.3-2
3.3-0pre8 (I'll try pre9 today) and 2.95 which wouldn't even compile.
Right now my /usr/bin looks like this:

/usr/bin/gcc -> gcc-2.95
/usr/bin/gcc-2.95
/usr/bin/gcc-3.2
/usr/bin/gcc-3.3
/usr/bin/gccbug -> gccbug-3.2
/usr/bin/gccbug-3.2
/usr/bin/gccbug-3.3
/usr/bin/sparc64-linux-gcc -> gcc-2.95

I'm not quite sure whether /usr/bin/sparc64-linux-gcc -> gcc-2.95 makes
sense. Should I install egcs64? egcs64 seemed to produce bootable 
kernels, but had problems compiling 2.5.6x (which I ultimatively want).

Regards
Peter
-- 
Those who give up essential liberties for temporary safety deserve 
neither liberty nor safety. -- Benjamin Franklin



Re: Kernel 2.4.20 and IPv6 ICMP on Sparc32/64 bomb

2003-05-09 Thread Noah Meyerhans
On Fri, May 09, 2003 at 11:05:15AM +0200, Peter Keel wrote:
> ping6 on an IPv6-enabled Sparc32 or Sparc64 on Kernel 2.4.20 
> bombs really nasty. Machine halts instantly. No matter what patches.

You're using ping6 from iputils-ping?  I maintain that package, and use
it on a number of sparc systems.  I do quite a bit of IPv6 stuff on
these machines, using one as a tunnel gateway and another as a
dual-stack web server.  Never have I seen any crashes related to IPv6 or
ICMPv6 or ping6 or any related code.

If you want, I can send you an image of one of the kernels that I use on
my Ultra1s.  I *know* they do IPv6.  It would be interesting to see if
they have problems on your machines.

noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


pgpaX9vyxdwKy.pgp
Description: PGP signature


Re: Kernel 2.4.20 and IPv6 ICMP on Sparc32/64 bomb

2003-05-09 Thread Ben Collins
On Fri, May 09, 2003 at 11:05:15AM +0200, Peter Keel wrote:
> Hello
> 
> I know this probably doesn't really belong here, but this is the
> only Sparc-ML I'm reading, and it may be of interest to you. 
> 
> ping6 on an IPv6-enabled Sparc32 or Sparc64 on Kernel 2.4.20 
> bombs really nasty. Machine halts instantly. No matter what patches.

Could you try 2.4.21-rc2?

-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo   - http://www.deqo.com/



Re: Kernel 2.4.20 and IPv6 ICMP on Sparc32/64 bomb

2003-05-09 Thread Fabio Massimo Di Nitto

Are you using standard debian kernels or a custom one?

Actually IPv6 works just fine on my sparc. Never had this problem.

Fabio

On Fri, 9 May 2003, Peter Keel wrote:

> Hello
>
> I know this probably doesn't really belong here, but this is the
> only Sparc-ML I'm reading, and it may be of interest to you.
>
> ping6 on an IPv6-enabled Sparc32 or Sparc64 on Kernel 2.4.20
> bombs really nasty. Machine halts instantly. No matter what patches.
>
> This is sparc32:
> oldlady:~# ping6 irc6.lugs.ch
> Unable to handle kernel NULL pointer 
> dereference<1>tsk->{mm,active_mm}->contextb
> tsk->{mm,active_mm}->pgd = fc00c400
>
> And this is sparc64:
> josephine:~# ping6 irc6.lugs.ch
> dING irc6.lRuEgJsE.CcThv(6v:e ncuasl.lpiancgi fiiccmap.vc6h_)s e5n6d
> oatUan abbyltee st
>   handle kernel NULL pointer dereference
> tsk->{mm,active_mm}->context = 05d8
> tsk->{mm,active_mm}->pgd = f800324b1000
>
> USAGI or not, ip6filter-patch or not, grsec or not, doesn't seem to
> make any difference.
>
> I tried to run 2.5.6x instead, but I can't get it to boot anymore
> (I had 2.5.68 running once on the Ultra1). All it says is "Data
> Access Exception". I'm pretty sure I misconfigured something, so
> if any of you has a .config of a running 2.5.69 or something on a
> stock Ultra1 (143Mhz, Lance), I'd be glad if you could mail it to me.
>
> Cheers
> Peter
>

-- 
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp4.html



Kernel 2.4.20 and IPv6 ICMP on Sparc32/64 bomb

2003-05-09 Thread Peter Keel
Hello

I know this probably doesn't really belong here, but this is the
only Sparc-ML I'm reading, and it may be of interest to you. 

ping6 on an IPv6-enabled Sparc32 or Sparc64 on Kernel 2.4.20 
bombs really nasty. Machine halts instantly. No matter what patches.

This is sparc32: 
oldlady:~# ping6 irc6.lugs.ch
Unable to handle kernel NULL pointer dereference<1>tsk->{mm,active_mm}->contextb
tsk->{mm,active_mm}->pgd = fc00c400

And this is sparc64:
josephine:~# ping6 irc6.lugs.ch
dING irc6.lRuEgJsE.CcThv(6v:e ncuasl.lpiancgi fiiccmap.vc6h_)s e5n6d
oatUan abbyltee st
  handle kernel NULL pointer dereference
tsk->{mm,active_mm}->context = 05d8
tsk->{mm,active_mm}->pgd = f800324b1000

USAGI or not, ip6filter-patch or not, grsec or not, doesn't seem to 
make any difference. 

I tried to run 2.5.6x instead, but I can't get it to boot anymore
(I had 2.5.68 running once on the Ultra1). All it says is "Data 
Access Exception". I'm pretty sure I misconfigured something, so 
if any of you has a .config of a running 2.5.69 or something on a 
stock Ultra1 (143Mhz, Lance), I'd be glad if you could mail it to me. 

Cheers
Peter
-- 
Those who give up essential liberties for temporary safety deserve 
neither liberty nor safety. -- Benjamin Franklin