Bug #5447
fix DVD eject at shutdown
| Status: | Confirmed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | Hole in the Roof | |||
| QA Check: | Blueprint: | |||
| Feature Branch: | Easy: | No | ||
| Type of work: | Test |
Description
Two probably related 0.14 regressions:
- pressing the DVD reader eject button neither ejects the DVD, nor triggers the emergency shutdown procedure
- 0.14-rc1 - DVD won't eject before wiping of RAM during shutdown process
It might be that the old inverted logic bug that forced us to pretend to lock the DVD eject button in order to effectively unlock it, was fixed. Who knows.
Indeed, linux 2.6.38-rc1 http://lwn.net/Articles/423619/
and adds block.events_dfl_poll_msecs that can be used to set the
interval for polling block devices for events. This does not seem
to work properly though: settings it to 1000 makes it work in
VirtualBox with its virtual CD-ROM drive, but no value seems to work
on the one real machine I have available with a CD-ROM drive.
Next steps¶
test replacing eject -i on with eject -i off in config/chroot_local-includes/usr/local/sbin/udev-watchdog-wrapper. See sdmem on eject broken for CD.