2000-12-14 09:07:42

by Mircea Damian

[permalink] [raw]
Subject: do NOT compile 2.2.18 with egcs-1.1.2


Hello,

I just want to let other know that kernel 2.2.18 does not work properly (*)
on my box if I compile it with egcs-2.91.66 19990314/Linux (egcs-1.1.2
release). Instead gcc-2.7.2.3 works ok.

(*) the network driver PCI NE2000 does not work with all three cards. It
just sees them but they do not work.

--
Mircea Damian
E-mails: [email protected], [email protected]
WebPage: http://taz.mania.k.ro/~dmircea/


2000-12-14 10:52:25

by Alan

[permalink] [raw]
Subject: Re: do NOT compile 2.2.18 with egcs-1.1.2

> I just want to let other know that kernel 2.2.18 does not work properly (*)
> on my box if I compile it with egcs-2.91.66 19990314/Linux (egcs-1.1.2
> release). Instead gcc-2.7.2.3 works ok.
>
> (*) the network driver PCI NE2000 does not work with all three cards. It
> just sees them but they do not work.

I don't believe that is likely to be the reason. The driver has not changed
since 2.2.15 if not earlier, and it still seems to work with the cards I have
here (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Alan

2000-12-14 11:09:11

by J.A. Magallon

[permalink] [raw]
Subject: Re: do NOT compile 2.2.18 with egcs-1.1.2


On Thu, 14 Dec 2000 11:23:14 Alan Cox wrote:
> > I just want to let other know that kernel 2.2.18 does not work properly (*)
> > on my box if I compile it with egcs-2.91.66 19990314/Linux (egcs-1.1.2
> > release). Instead gcc-2.7.2.3 works ok.
> >
> > (*) the network driver PCI NE2000 does not work with all three cards. It
> > just sees them but they do not work.
>
> I don't believe that is likely to be the reason. The driver has not changed
> since 2.2.15 if not earlier, and it still seems to work with the cards I have
> here (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>
> Alan

I use 2.2.18 with ne2k-pci from kernel and that of scyld, and work fine under
2.91 (egcs)

BTW, when a resync of 2.2 net drivers with scyld ? perhaps 2.2.19 ?

--
Juan Antonio Magallon Lacarta #> cd /pub
mailto:[email protected] #> more beer

Linux werewolf 2.2.18-aa1 #1 SMP Mon Dec 11 21:26:28 CET 2000 i686

2000-12-14 11:20:46

by Alan

[permalink] [raw]
Subject: Re: do NOT compile 2.2.18 with egcs-1.1.2

> I use 2.2.18 with ne2k-pci from kernel and that of scyld, and work fine under
> 2.91 (egcs)
>
> BTW, when a resync of 2.2 net drivers with scyld ? perhaps 2.2.19 ?

I have no plan to do this. Don's drivers depend on some extra glue that was
rejected from the main kernel tree. Said glue is also buggy causing the same
card to be multiply detected.

If folks want to strip the glue out and get real changes into the tree or
clean up a given driver then go ahead. (natsemi and the via-rhine updates
would be nice for example).

Don't ask Donald to do it. He isnt hiding from us all, he's very busy doing
a lot of other cool stuff...

Alan

2000-12-14 14:32:17

by J.A. Magallon

[permalink] [raw]
Subject: Re: do NOT compile 2.2.18 with egcs-1.1.2


On Thu, 14 Dec 2000 11:51:19 Alan Cox wrote:
>
> I have no plan to do this. Don's drivers depend on some extra glue that was
> rejected from the main kernel tree. Said glue is also buggy causing the same
> card to be multiply detected.
>
> If folks want to strip the glue out and get real changes into the tree or
> clean up a given driver then go ahead. (natsemi and the via-rhine updates
> would be nice for example).
>

Thanks, will try with the ne2k-pci, which is what I can test. I like mainly
the new full-duplex.

--
Juan Antonio Magallon Lacarta #> cd /pub
mailto:[email protected] #> more beer

Linux werewolf 2.2.18-aa1 #1 SMP Mon Dec 11 21:26:28 CET 2000 i686

2000-12-14 15:09:38

by Mircea Damian

[permalink] [raw]
Subject: Re: do NOT compile 2.2.18 with egcs-1.1.2

On Thu, Dec 14, 2000 at 10:23:14AM +0000, Alan Cox wrote:
> > I just want to let other know that kernel 2.2.18 does not work properly (*)
> > on my box if I compile it with egcs-2.91.66 19990314/Linux (egcs-1.1.2
> > release). Instead gcc-2.7.2.3 works ok.
> >
> > (*) the network driver PCI NE2000 does not work with all three cards. It
> > just sees them but they do not work.
>
> I don't believe that is likely to be the reason. The driver has not changed
> since 2.2.15 if not earlier, and it still seems to work with the cards I have
> here (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Then I don't think that I can explain why it works with gcc-2.7.2.3.

My particular setup is:
- 3 PCI NE2000 cards and 1 ISA NE2000 card.


The isa card worked always but from the PCI cards only one worked (I just
ifconfig ethX up; tcpdump -i ethX -nlqt and I see no packets there, I also
see no interrupts from that cards too, so this may be related to pci code).

Anyway, as I said before, with gcc-2.7.2.3 it works fine.


.. ah, and something else: first I had a EtherExpress Pro 10/100 card which
behaved in the same way but I thought I have a bus-mastering problem with
PCI cards so I replaced it.

--
Mircea Damian
E-mails: [email protected], [email protected]
WebPage: http://taz.mania.k.ro/~dmircea/