When bringing down an interface with ifdown, it hangs on the check_default_route in ifdown-post. Afaics this evaluates to the following code: return `/sbin/route -n|gawk 'BEGIN{r=1} $3=="0.0.0.0" && $4=="UG" {r=0} END{print r}'` When I do this at the prompt, I can see the gawk call taking 99% of the cpu time. I'm not sure what causes this, but it is 99% reproducable on this particular box. I haven't seen it on my Intel boxes yet. Information on the machine: DEC Multia (ev4 166MHz (UDB)) 32 MB RAM 300 MB SCSI HD
What happens if you link awk to mawk?
I hope this isn't the same problem the Jensen was having (also another EV4 based box). Jensen's hang when using gawk but mawk works fine. I think it was traced to a floating point emulation problem in the kernel. My Multia is a slightly newer EV45 (233Mhz) and doesn't have this problem.
closed, lack of input from original poster.
*** Bug 17009 has been marked as a duplicate of this bug. ***
This bug is fixed by EV4 FPE kernel patch, see bug #17163.