Re: Ethernet lockup with 2.4.21

2003-07-06 Thread Pieter-Paul Spiertz
Hi,

On Sun, 6 Jul 2003, Ben Collins wrote:

> > When my Ultra 5 is receiving files (ftp/ssh etc..) at large speeds
> > (800kB/s), the network interface can randomly lock up.
>
> Bad cable? Bad ethernet on either side?

Cable and ethernet should be ok. Solaris 9 on the same box works fine.


Regards,
Pieter-Paul




Re: Ethernet lockup with 2.4.21

2003-07-06 Thread Ben Collins
On Sun, Jul 06, 2003 at 09:22:15PM +0200, Pieter-Paul Spiertz wrote:
> Hi,
> 
> When my Ultra 5 is receiving files (ftp/ssh etc..) at large speeds
> (800kB/s), the network interface can randomly lock up.
> I can either wait a minute to let it reset itself, or ifdown/ifup eth0
> manually. If I let it wait, this is in the syslog:

Bad cable? Bad ethernet on either side?

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



Re: Ethernet lockup

2003-06-06 Thread Rob Radez
On Fri, Jun 06, 2003 at 01:31:37PM +0200, David List wrote:
> >As far as I remember, if you use make-kpkg to build a new kernel
> >package, it does the right thing.  (See the Debian FAQ.)
> 
> Just to make sure I understand the man page right:
> If I issue 'make-kpkg kernel_image' the kernel is built *and* installed
> *and* any symlinks are set correctly.
> 
> Is this correct?

No.  http://www.debian.org/doc/FAQ/ch-kernel.en.html#s-customkernel
gives a short overview of using make-kpkg.  You have to install the
kernel package separately using dpkg.

Regards,
Rob Radez



Re: Ethernet lockup

2003-06-06 Thread David List
On Thu, 5 Jun 2003, Dave Love wrote:

>David List <[EMAIL PROTECTED]> writes:
>
>> I have just recently been made aware that you need to use the
>> compiler in the egcs64 package on Debian SPARC to compile working
>> 64-bit kernels.  That was probably my problem.
>
>As far as I remember, if you use make-kpkg to build a new kernel
>package, it does the right thing.  (See the Debian FAQ.)

Just to make sure I understand the man page right:
If I issue 'make-kpkg kernel_image' the kernel is built *and* installed
*and* any symlinks are set correctly.

Is this correct?

Best regards,
David List



Re: auto power-off on a SPARC LX (was Re: Ethernet lockup)

2003-06-05 Thread Matthew Haas
On Wed, 4 Jun 2003, Eric Brower wrote:
>
> The Ultra patch is not applicable.  The SPARC kernel will not power-down
> a system with a serial console attached; from process.c:
>

 The SPARC LX in question is completely headless... no keyboard/monitor,
and no serial attached... only power, SCSI, and network... I am curious as
to when such changes took place in the kernel, as things were working as
expected with the 2.2.x kernels.

> > void machine_power_off(void)
> > {
> > #ifdef CONFIG_SUN_AUXIO
> > if (auxio_power_register && !serial_console)
> > *auxio_power_register |= AUXIO_POWER_OFF;
> > #endif
> > machine_halt();
> > }
>
> If this implementation bothers you, consider coding-up a sysctl to
> modify this behavior.
>

 Is this a new addition to the kernel for the 2.4.x series?

 Or, would you recommend any PROM settings I could set to get the current
default behavior of my LX to really power-off when I shutdown?

---
 Matthew Haas   Squirrel's Law #209203923: "Thou shalt ignoreth
 Corning/Geneseo, NY   all RAM specifications, they're noo scottish"




Re: Ethernet lockup

2003-06-05 Thread Dave Love
David List <[EMAIL PROTECTED]> writes:

> I have just recently been made aware that you need to use the
> compiler in the egcs64 package on Debian SPARC to compile working
> 64-bit kernels.  That was probably my problem.

As far as I remember, if you use make-kpkg to build a new kernel
package, it does the right thing.  (See the Debian FAQ.)



Re: Ethernet lockup

2003-06-04 Thread David List
On Wed, 4 Jun 2003, Dave Love wrote:

>David List <[EMAIL PROTECTED]> writes:
>
>> but I cannot see how to use this patch since the 2.4.18 kernel that
>> comes with my 3.0_r1 installation seems to be monolithic, and vanilla
>> kernel source does not build on my system.
>
>In what way?  I don't remember having any problem applying the patch
>with the Debian source packages for 2.4.18 and 2.4.19 and building the
>result.

I have just recently been made aware that you need to use the compiler
in the egcs64 package on Debian SPARC to compile working 64-bit kernels.
That was probably my problem. Actually my kernel *was* built, but I was
unable to boot on it. It will take a few days before I'm able to try
again, since I cannot set up the system with monitor and keyboard right
now.

I see that Ben Collins is putting in great effort to make it possible
soon to use gcc 3.2 to compile these kernels. That's wonderful.

Best regards,
David List



Re: auto power-off on a SPARC LX (was Re: Ethernet lockup)

2003-06-04 Thread Eric Brower
The Ultra patch is not applicable.  The SPARC kernel will not power-down 
a system with a serial console attached; from process.c:



void machine_power_off(void)
{
#ifdef CONFIG_SUN_AUXIO
if (auxio_power_register && !serial_console)
*auxio_power_register |= AUXIO_POWER_OFF;
#endif
machine_halt();
}


If this implementation bothers you, consider coding-up a sysctl to 
modify this behavior.


E

Matthew Haas wrote:

On Wed, 4 Jun 2003, David List wrote:


2.4.21-rc7 should build just fine. If you still have problems, I'll be
posting about 2.4.21-rc7 based kernel deb's in the next 12 hours. I'll
also provide a 2.4.21-rc7 based netinst ISO.


Great. I'll look into that. Thank you for your answer.




 Just curious-- I've got a SPARC LX running Debian 3.0 and a 2.4.21-rc6
kernel... ever since I've upgraded to a 2.4.x kernel on the LX I haven't
managed to get it to auto power-off on a shutdown. The 2.2.x kernels seem
to work fine.

 On bootup, however, I DO get a: power-off control detected.

 Or some similar message to that effect.

 Any ideas? My LX is running headless, so having it automatically
power-off is a very useful feature to me.

---
 Matthew Haas   Squirrel's Law #209203923: "Thou shalt ignoreth
 Corning/Geneseo, NY   all RAM specifications, they're noo scottish"







Re: Ethernet lockup

2003-06-04 Thread Dave Love
David List <[EMAIL PROTECTED]> writes:

> but I cannot see how to use this patch since the 2.4.18 kernel that
> comes with my 3.0_r1 installation seems to be monolithic, and vanilla
> kernel source does not build on my system.

In what way?  I don't remember having any problem applying the patch
with the Debian source packages for 2.4.18 and 2.4.19 and building the
result.



Re: [debian-sparc] auto power-off on a SPARC LX (was Re: Ethernet lockup)

2003-06-04 Thread Erwann Abalea
On Wed, 4 Jun 2003, Matthew Haas wrote:

>  Just curious-- I've got a SPARC LX running Debian 3.0 and a 2.4.21-rc6
> kernel... ever since I've upgraded to a 2.4.x kernel on the LX I haven't
> managed to get it to auto power-off on a shutdown. The 2.2.x kernels seem
> to work fine.

There's a patch for this, posted on this list a while ago. I just tested
it yesterday on my Ultra{1,2}, it works the way it should.

Check: http://jcpp.nerim.net/linux/

-- 
Erwann ABALEA <[EMAIL PROTECTED]> - RSA PGP Key ID: 0x2D0EABD5
-
L'idée serait bonne si seulement beaucoup de personnes ne venaient pas
sur internet sans avoir auparavant lue un bouquin qui leur aurait
permis d'apprendre quelques règle non écrites mais relevant du bon sans
-+- JB in GNU : Bien lire les règles non écrites à sans pour sens.




auto power-off on a SPARC LX (was Re: Ethernet lockup)

2003-06-04 Thread Matthew Haas
On Wed, 4 Jun 2003, David List wrote:
>
> >2.4.21-rc7 should build just fine. If you still have problems, I'll be
> >posting about 2.4.21-rc7 based kernel deb's in the next 12 hours. I'll
> >also provide a 2.4.21-rc7 based netinst ISO.
>
> Great. I'll look into that. Thank you for your answer.
>

 Just curious-- I've got a SPARC LX running Debian 3.0 and a 2.4.21-rc6
kernel... ever since I've upgraded to a 2.4.x kernel on the LX I haven't
managed to get it to auto power-off on a shutdown. The 2.2.x kernels seem
to work fine.

 On bootup, however, I DO get a: power-off control detected.

 Or some similar message to that effect.

 Any ideas? My LX is running headless, so having it automatically
power-off is a very useful feature to me.

---
 Matthew Haas   Squirrel's Law #209203923: "Thou shalt ignoreth
 Corning/Geneseo, NY   all RAM specifications, they're noo scottish"



Re: Ethernet lockup

2003-06-03 Thread David List
On Tue, 3 Jun 2003, Ben Collins wrote:

>On Tue, Jun 03, 2003 at 08:17:58PM +0200, David List wrote:
>> I have noticed a thread on this list around a week ago that dealt with
>> the ethernet lockup with the Linux hme driver.
>> There was a posting by Joshua Uziel that pointed to a patch to this
>> driver. I'm new to Debian so my question may seem strange to some here,
>> but I cannot see how to use this patch since the 2.4.18 kernel that
>> comes with my 3.0_r1 installation seems to be monolithic, and vanilla
>> kernel source does not build on my system.
>
>2.4.21-rc7 should build just fine. If you still have problems, I'll be
>posting about 2.4.21-rc7 based kernel deb's in the next 12 hours. I'll
>also provide a 2.4.21-rc7 based netinst ISO.

Great. I'll look into that. Thank you for your answer.

Best regards,
David List



Re: Ethernet lockup

2003-06-03 Thread Ben Collins
On Tue, Jun 03, 2003 at 08:17:58PM +0200, David List wrote:
> I have noticed a thread on this list around a week ago that dealt with
> the ethernet lockup with the Linux hme driver.
> There was a posting by Joshua Uziel that pointed to a patch to this
> driver. I'm new to Debian so my question may seem strange to some here,
> but I cannot see how to use this patch since the 2.4.18 kernel that
> comes with my 3.0_r1 installation seems to be monolithic, and vanilla
> kernel source does not build on my system.

2.4.21-rc7 should build just fine. If you still have problems, I'll be
posting about 2.4.21-rc7 based kernel deb's in the next 12 hours. I'll
also provide a 2.4.21-rc7 based netinst ISO.

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



Re: ethernet lockup on ultra 1

2003-05-29 Thread Dave Love
Irvin Probst <[EMAIL PROTECTED]> writes:

> On Wed, 2003-05-28 at 02:17, nate wrote:
>>
>> can someone provide a link to this HME patch?
>
> Iirc Ben Collins included it in his 2.4.19 package.

Unless there's a more recent version than what I can see, he didn't in
the end.  See bug #164680.  It seems to be unclear whether including
that patch in the package is actually the right thing to do or not.



Re: ethernet lockup on ultra 1

2003-05-27 Thread nate
Joshua Uziel said:
> * nate <[EMAIL PROTECTED]> [030527 18:25]:
>> part of testing? or unstable?
>>
>> 2.4.19 doesn't show up in woody for me..
>
> Well, while you get that sorted out, if you need the patch, it's
> available at http://sparclinux.net/pub/patches/U1-hme-lockup.patch

cool thanks! I'll try it out.

nate





Re: ethernet lockup on ultra 1

2003-05-27 Thread Joshua Uziel
* nate <[EMAIL PROTECTED]> [030527 18:25]:
> part of testing? or unstable?
> 
> 2.4.19 doesn't show up in woody for me..

Well, while you get that sorted out, if you need the patch, it's
available at http://sparclinux.net/pub/patches/U1-hme-lockup.patch



Re: ethernet lockup on ultra 1

2003-05-27 Thread Irvin Probst
On Wed, 2003-05-28 at 03:05, nate wrote:
>
> > Iirc Ben Collins included it in his 2.4.19 package.
> 
> part of testing? or unstable?
> 
> 2.4.19 doesn't show up in woody for me..

I don't know whether it's in testing or unstable, but I'm sure it
exists:
ftp://ftp.debian.org/debian/pool/main/k/kernel-image-sparc-2.4

-- 
Irvin Probst
There are 10 types of people in the world... those who understand binary
and those who don't.



Re: ethernet lockup on ultra 1

2003-05-27 Thread nate
Irvin Probst said:

> Iirc Ben Collins included it in his 2.4.19 package.

part of testing? or unstable?

2.4.19 doesn't show up in woody for me..

nate





Re: ethernet lockup on ultra 1

2003-05-27 Thread Irvin Probst
On Wed, 2003-05-28 at 02:17, nate wrote:
>
> can someone provide a link to this HME patch?

Iirc Ben Collins included it in his 2.4.19 package.

-- 
Irvin Probst
There are 10 types of people in the world... those who understand binary
and those who don't.