Re: [PATCH 2/2] ucc_geth: Fix deadlock

2010-11-14 Thread Joakim Tjernlund
Anton Vorontsov wrote on 2010/11/12 15:09:47: > > On Fri, Nov 12, 2010 at 02:55:09PM +0100, Joakim Tjernlund wrote: > > This script: > > while [ 1==1 ] ; do ifconfig eth0 up; usleep 195 ;ifconfig eth0 down; > > dmesg -c ;done > > causes in just a second or two: > > INFO: task ifconfig:572 bl

Re: [PATCH 2/2] ucc_geth: Fix deadlock

2010-11-12 Thread David Miller
From: Anton Vorontsov Date: Fri, 12 Nov 2010 17:09:47 +0300 > On Fri, Nov 12, 2010 at 02:55:09PM +0100, Joakim Tjernlund wrote: >> This script: >> while [ 1==1 ] ; do ifconfig eth0 up; usleep 195 ;ifconfig eth0 down; >> dmesg -c ;done >> causes in just a second or two: >> INFO: task ifconfi

Re: [PATCH 2/2] ucc_geth: Fix deadlock

2010-11-12 Thread Anton Vorontsov
On Fri, Nov 12, 2010 at 02:55:09PM +0100, Joakim Tjernlund wrote: > This script: > while [ 1==1 ] ; do ifconfig eth0 up; usleep 195 ;ifconfig eth0 down; > dmesg -c ;done > causes in just a second or two: > INFO: task ifconfig:572 blocked for more than 120 seconds. [...] > The reason appears t

[PATCH 2/2] ucc_geth: Fix deadlock

2010-11-12 Thread Joakim Tjernlund
This script: while [ 1==1 ] ; do ifconfig eth0 up; usleep 195 ;ifconfig eth0 down; dmesg -c ;done causes in just a second or two: INFO: task ifconfig:572 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. ifconfig D 0ff65760 0