|
Bugzilla – Full Text Bug Listing |
| Summary: | Ejecting wrong device | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | Karl Eichwalder <ke> |
| Component: | Live Medium | Assignee: | Jiri Srain <jsrain> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P4 - Low | CC: | coolo, forgotten_DBWoND-zrO, Larry.Finger, ms, novellbmw, sharms |
| Version: | Milestone 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Documentation | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Karl Eichwalder
2009-06-09 11:02:51 UTC
do you have yast log files? I think trying to eject in live-installer is always going to be wrong. We need a hook in the live cd itself that ejects when the live installer created a file. Since the live system is in ramdisk, there is no real need to shut it down properly provided partitions are either unmounted, or remounted read-only. Adding a hook brings a problem that, typically, one of the first things BIOS does is to shut the CD/DVD drive when it is initializing, therefore any hook may not give enough time to remove the media (OTOH, it still can ask user to push a key). Stephan, can you implement such hook? Then, I could adapt YaST to trigger it via creating a file... If the live installer should work in more than the openSUSE distribution live cds, then it needs to be implemented in kiwi itself. Hmm, what I don't understand here is how should kiwi take over control of the eject call ? The system has booted and runs in runlevel X depending on the image description. The call to eject the DVD is made on shutdown of the system so it must be part of an init script and yes that's distribution specific, each has a different "shutdown" coding I could provide a default init script along with the kiwi code but it's still up to the author of the image description to _include_ and _activate_ the script in its image description. From a coding perspective it's relatively easy to find the right device on a kiwi live CD cat /proc/mounts | grep livecd | cut -f1 -d " " that's your device. So I'm wondering why the wrong one is ejected ? the eject is not done on shutdown, but when the live installer is finished and at that point the (right) DVD simply can't be ejected. It can, I tried it on a single-drived computer (but I must admit for me it was a big surprise as well). When installing from a Live USB image, the CDRom is always opened, even when no media is present. I will implement Marcus' suggestion when time permits. On 11.3-MS6 it is still ejecting CD when booted from USB-device. 11.3 RC1 still ejecting errantly from Gnome Live Installer *** Bug 612340 has been marked as a duplicate of this bug. *** *** Bug 668198 has been marked as a duplicate of this bug. *** Fixed in SVN trunk for openSUSE 11.5. I also use cleaner way of reboot (/sbin/reboot instead of fiddling with SysRq commands). This is an autogenerated message for OBS integration: This bug (511210) was mentioned in https://build.opensuse.org/request/show/78282 Factory / yast2-live-installer |