Re: [OOPS] net/8139too

From: Andrew Morton (akpm@zip.com.au)
Date: Fri Nov 16 2001 - 02:17:21 EST


Philipp Matthias Hahn wrote:
>
> Hello LKML!
>
> Since linux-2.4.15-pre[14]+kdb+freeswan I get an oops when stopping my
> 8139too network:
>
> # ifdown eth0
> eth0: unable to signal thread

Oh gawd. What now?

Could you please tell us what the return value is from kill_proc()?

--- linux-2.4.15-pre4/drivers/net/8139too.c Mon Nov 12 11:16:11 2001
+++ linux-akpm/drivers/net/8139too.c Thu Nov 15 23:14:14 2001
@@ -2064,7 +2064,7 @@ static int rtl8139_close (struct net_dev
                 wmb();
                 ret = kill_proc (tp->thr_pid, SIGTERM, 1);
                 if (ret) {
- printk (KERN_ERR "%s: unable to signal thread\n", dev->name);
+ printk (KERN_ERR "%s: unable to signal thread: %d\n", dev->name, ret);
                         return ret;
                 }
                 wait_for_completion (&tp->thr_exited);

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:13 EST