[PATCH] fix for assertion (newsk-state != TCP_SYN_RECV) ...

2003-01-31 Thread David S. Miller

Chris and others, this below should cure the infamous:

KERNEL: assertion (newsk-state != TCP_SYN_RECV) failed at tcp.c(2229)
KERNEL: assertion 
((1sk2-state)(TCPF_ESTABLISHED|TCPF_CLOSE_WAIT|TCPF_CLOSE)) failed at 
af_inet.c(689)

assertion failures people have been seeing starting in 2.4.20

The bug is in 2.5.x too, and the patch below applies pretty cleanly
there.

This has been sent to Marcelo already, and Linus will get it for
2.5.x when he gets back.

Thanks to everyone for reporting.  The fact that multiple reports
existed made it possible for to figure out what was so common
amongst the reports and thus find the bug relatively quickly.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#  ChangeSet1.933   - 1.934  
#   net/ipv4/tcp_minisocks.c1.12- 1.13   
#
# The following is the BitKeeper ChangeSet Log
# 
# 03/01/30  [EMAIL PROTECTED]   1.934
# [TCP]: In tcp_check_req, handle ACKless packets properly.
# 
#
diff -Nru a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c
--- a/net/ipv4/tcp_minisocks.c  Thu Jan 30 23:08:40 2003
+++ b/net/ipv4/tcp_minisocks.c  Thu Jan 30 23:08:40 2003
@@ -938,6 +938,12 @@
if (flg  (TCP_FLAG_RST|TCP_FLAG_SYN))
goto embryonic_reset;
 
+   /* ACK sequence verified above, just make sure ACK is
+* set.  If ACK not set, just silently drop the packet.
+*/
+   if (!(flg  TCP_FLAG_ACK))
+   return NULL;
+
/* If TCP_DEFER_ACCEPT is set, drop bare ACK. */
if (tp-defer_accept  TCP_SKB_CB(skb)-end_seq == req-rcv_isn+1) {
req-acked = 1;



2.4 boot disk

2003-01-31 Thread Nicolas WILL
Hi,

Is there a woody 3.0rx installation boot CD or floppy with a 2.4 kernel
(like the bf24 option on the Intel port)?

I'm trying to setup boxes with RAID1 and LVM.

Such a boot disk would simplify the setup process so much...

Nico



new apt

2003-01-31 Thread Inhabitant of Zion
Hi

Just wondering if there was a testing tree where one could post requests for 
apt to be configured for Debian-Sparc.

Only I would like a newer version of Sylpheed or better still Ximian Evolution.

Cheers

John



Re: Next question

2003-01-31 Thread Patrick Morris

Inhabitant of Zion wrote:


BTW on another note is there a specific place that you can go to find
alist of all the apt packages that are currently available under Debain
Sparc?


dselect


Also how does one log in as root?
 

On the console?  Enter root as the account name, then enter the root 
password.




Re: 2.4 boot disk

2003-01-31 Thread daren
debian 3.0 r0-1 both default to 2.4.18 with the source,headers and images
for both 2.4.18 and  2.4.19 as well

Daren

 Nicolas WILL said:
 Hi,

 Is there a woody 3.0rx installation boot CD or floppy with a 2.4
 kernel (like the bf24 option on the Intel port)?

 I'm trying to setup boxes with RAID1 and LVM.

 Such a boot disk would simplify the setup process so much...

 I downloaded debian 3.0r0 ISO images about 3 weeks ago and they
 defaulted to 2.4.something, at least on my ultra 1. perhaps if
 you have a 32bit system it may try to use 2.2.x I'm not sure,
 SILO wouldn't let me load a 32bit kernel even when I tried(didn't
 care either way personally). or maybe it did but the kernel
 wouldn't boot.

 nate





 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]





Re: Next question

2003-01-31 Thread Patrick Morris
Yeah, dselect is still around.  C'mon, the guy's new to Debian.  You 
wouldn't want him to miss out on a classic, wouldya? :)


Chad Miller wrote:


On Fri, Jan 31, 2003 at 08:45:23AM -0800, Patrick Morris wrote:
 


Inhabitant of Zion wrote:

   


BTW on another note is there a specific place that you can go to find
alist of all the apt packages that are currently available under Debain
Sparc?

 


dselect
   



Gag, gag!  dselect is still around?

$ apt-cache search regex
(use . to get a list of all packages)

# apt-get install name


 


Also how does one log in as root?
 



Eh, I'm not sure we can help very much with this.

Is there something wrong?

- chad


 






RE: 2.4 boot disk

2003-01-31 Thread Nicolas WILL

hmmm... I have a 2-3 month old CD (jigdo image) that defaults to 2.2.20,
with no option for a bf24.

I downloaded the latest floppy images (3.0r1a) an couple of days ago and
they default to 2.2.20 as well, no bf24 as far as I could see.

I just finished and burned the jigdo of the 3.0r1 CD. I looked at the
vmlinux contained in /boot/sparc32.gz. I did text search for 2.4 in that
file. Nothing. A search on 2.2 returned plenty of 2.2.20.

The silo.conf only contains references to that /boot/sparc32.gz for sun4cdm
arch.

The sun4u 64bit kernel may well be 2.4.18.

I'll check on the Sun boxes when I arrive home this evening.

I have an SS5-110 and an SMP SS20 (Ross ROM 2.25), both sun4m.

Thanks for answering!

Nico

 -Original Message-
 From: [EMAIL PROTECTED]

 debian 3.0 r0-1 both default to 2.4.18 with the source,headers and images
 for both 2.4.18 and  2.4.19 as well
 Daren

  Nicolas WILL said:
  Hi,
 
  Is there a woody 3.0rx installation boot CD or floppy with a 2.4
  kernel (like the bf24 option on the Intel port)?
 
  I'm trying to setup boxes with RAID1 and LVM.
 
  Such a boot disk would simplify the setup process so much...
 
  I downloaded debian 3.0r0 ISO images about 3 weeks ago and they
  defaulted to 2.4.something, at least on my ultra 1. perhaps if
  you have a 32bit system it may try to use 2.2.x I'm not sure,
  SILO wouldn't let me load a 32bit kernel even when I tried(didn't
  care either way personally). or maybe it did but the kernel
  wouldn't boot.
  nate