Network hangs when rt-preempt patch is applied
Hi,
I'm trying to find out if this is an MPC5200B related driver problem or RT-Preempt related one: Under some network (nmap, nc) load the network dies on my target.
Target (PowerPC) runs 2.6.23-rc8 plus patch-2.6.23-rc8-rt1.
Sometimes it survives the nmap, but mostly it dies immediately. Here it was successfull in the first nmap run, but dies on the second one:
------------------------------------------------------------------------------
jbe@octopus:~/bla$ nmap -v 192.168.23.226
Starting Nmap 4.20 ( http://insecure.org ) at 2007-09-28 11:58 CEST Initiating Parallel DNS resolution of 1 host. at 11:58 Completed Parallel DNS resolution of 1 host. at 11:58, 0.04s elapsed Initiating Connect() Scan at 11:58
Scanning 192.168.23.226 [1697 ports]
Discovered open port 22/tcp on 192.168.23.226
Discovered open port 23/tcp on 192.168.23.226
Completed Connect() Scan at 11:58, 0.08s elapsed (1697 total ports) Host 192.168.23.226 appears to be up ... good. Interesting ports on 192.168.23.226:
Not shown: 1695 closed ports
PORT STATE SERVICE
22/tcp open ssh
23/tcp open telnet
Nmap finished: 1 IP address (1 host up) scanned in 0.226 seconds
jbe@octopus:~/bla$ nmap -v 192.168.23.226
Starting Nmap 4.20 ( http://insecure.org ) at 2007-09-28 11:58 CEST Initiating Parallel DNS resolution of 1 host. at 11:58 Completed Parallel DNS resolution of 1 host. at 11:58, 0.04s elapsed Initiating Connect() Scan at 11:58
Scanning 192.168.23.226 [1697 ports]
Discovered open port 22/tcp on 192.168.23.226
Discovered open port 23/tcp on 192.168.23.226
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[hangs a while] <<<<<<<<<<<<<<<<<<<<<<<
Completed Connect() Scan at 11:58, 11.90s elapsed (1697 total ports) Host 192.168.23.226 appears to be up ... good. Interesting ports on 192.168.23.226:
Not shown: 1443 closed ports, 252 filtered ports
PORT STATE SERVICE
22/tcp open ssh
23/tcp open telnet
Nmap finished: 1 IP address (1 host up) scanned in 12.045 seconds
jbe@octopus:~/bla$ nmap -v 192.168.23.226
Starting Nmap 4.20 ( http://insecure.org ) at 2007-09-28 12:10 CEST
Note: Host seems down. If it is really up, but blocking our ping probes, try -P0 Nmap finished: 1 IP address (0 hosts up) scanned in 2.010 seconds
------------------------------------------------------------------------------
In this case an "ifconfig eth0 down; ifconfig eth0 up" on my target reactivates the network and I can restart the nmap test. And it fails again and again.
Any idea?
Juergen
Signature · 5 lines
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Vertretung Sued/Muenchen, Germany Phone: +49-8766-939 228 | Fax: +49-5121-206917-9
Quoted 11 lines · Juergen Beisert
Hi,
I'm trying to find out if this is an MPC5200B related driver problem or RT-Preempt related one: Under some network (nmap, nc) load the network dies on my target.
Target (PowerPC) runs 2.6.23-rc8 plus patch-2.6.23-rc8-rt1.
Sometimes it survives the nmap, but mostly it dies immediately. Here it was successfull in the first nmap run, but dies on the second one:
Which networking driver are you using?
Daniel
Quoted 7 lines · Daniel Walker
Quoted 6 lines · Juergen Beisert
Hi,
I'm trying to find out if this is an MPC5200B related driver problem or RT-Preempt related one: Under some network (nmap, nc) load the network dies on my target.
Quoted 6 lines
Quoted 4 lines
Target (PowerPC) runs 2.6.23-rc8 plus patch-2.6.23-rc8-rt1.
Sometimes it survives the nmap, but mostly it dies immediately. Here it was successfull in the first nmap run, but dies on the second one:
Which networking driver are you using?
Domen Puncer's FEC driver and Sylvain Munaut's bestcomm driver.
Juergen
Signature · 5 lines
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Vertretung Sued/Muenchen, Germany Phone: +49-8766-939 228 | Fax: +49-5121-206917-9
Quoted 8 lines · Juergen Beisert
Quoted 7 lines · Daniel Walker
Quoted 6 lines · Juergen Beisert
Hi,
I'm trying to find out if this is an MPC5200B related driver problem or RT-Preempt related one: Under some network (nmap, nc) load the network dies on my target.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Target (PowerPC) runs 2.6.23-rc8 plus patch-2.6.23-rc8-rt1.
Sometimes it survives the nmap, but mostly it dies immediately. Here it was successfull in the first nmap run, but dies on the second one:
Which networking driver are you using?
Domen Puncer's FEC driver and Sylvain Munaut's bestcomm driver.
I don't think either of these are network drivers .. After talking to some powerpc people, it seems there aren't any mpc52xx network drivers in mainline .. So I wonder what tree (or kernel) your using? I could inspect the driver if I could find it ..
Daniel
Quoted 14 lines · Daniel Walker
Quoted 13 lines · Juergen Beisert
Quoted 12 lines · Daniel Walker
Quoted 10 lines · Juergen Beisert
Hi,
I'm trying to find out if this is an MPC5200B related driver problem or RT-Preempt related one: Under some network (nmap, nc) load the network dies on my target.
Target (PowerPC) runs 2.6.23-rc8 plus patch-2.6.23-rc8-rt1.
Sometimes it survives the nmap, but mostly it dies immediately. Here it was successfull in the first nmap run, but dies on the second one:
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Which networking driver are you using?
Domen Puncer's FEC driver and Sylvain Munaut's bestcomm driver.
I don't think either of these are network drivers .. After talking to some powerpc people, it seems there aren't any mpc52xx network drivers in mainline .. So I wonder what tree (or kernel) your using? I could inspect the driver if I could find it ..
I found the FEC driver actually,
http://lwn.net/Articles/249013/
Daniel