Re: IDE problems with rmmod ide-cd
From: Alan Cox
Date: Thu Apr 28 2005 - 17:28:37 EST
On Iau, 2005-04-28 at 18:25, Jens Axboe wrote:
> The problem you are thinking of was also an ATAPI cache flush command,
> so I'm not so sure I would call it harmless... I haven't changed
> anything in there recently, Bart?
Eeep - I must admit to being somewhat baffled where it is coming from
too. Its occurring between the rmmod starting and the userspace
notifiers from the syslog ordering but I don't see anything that would
queue flushes on the IDE side. The power management does check and
issues WIN_FLUSH_CACHE* stuff. The cd layer only seems to issue it in
the dvd rw close path and that checks media written and mmc3 bits or in
places like cdrom_mrw_exit.
One possibility might be that the specific drive is incorrectly
reporting capabilities and register_cdrom is setting cdi->exit as a
result. Will try and work out what is going on there tomorrow.
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/