[retry] deadlock (and mailer error)

From: Andries . Brouwer
Date: Mon Aug 11 2003 - 21:30:06 EST


(1) Deadlock

A few hours ago I wrote:

---
Now that I mentioned that inserting usb-storage hangs forever
and then causes a SCSI oops, the question arises how the hang
is caused. It turns out to be a semaphore deadlock.

What happens is that base/bus.c:bus_add_driver() downs
down_write(&bus->subsys.rwsem);
and then later usb/core/hub.c:usb_reset_device() downs
down_read(&gdev->bus->subsys.rwsem);

This is the same semaphore, and we have a deadlock.
---


(2) Mailer error

but vger didnt like this letter (?) and confusingly answered

---
The following addresses had permanent fatal errors
<linux-kernel@xxxxxxxxxxxxxxx>

... while talking to vger.kernel.org.:
>>> MAIL From:<aeb@xxxxxxxxxxxx> SIZE=463
<<< 501-5.1.7 For input: <aeb@xxxxxxxxxxxx> SIZE=463
<<< 501 5.1.7 Path data: Spurious dot (.) at the end of the domain name
501 <linux-kernel@xxxxxxxxxxxxxxx>... Data format error
<aeb@xxxxxxxxxxx>... Deferred: Connection refused by hera.cwi.nl.
---

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