|
Bugzilla – Full Text Bug Listing |
| Summary: | Installation abort after installing packages from CD1 | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Peter Kuliffay <peter.kuliffay> |
| Component: | Installation | Assignee: | Duncan Mac-Vicar <dmacvicar> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Blocker | ||
| Priority: | P5 - None | CC: | andreas.hanke, Ivory, mt, peter.kuliffay |
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
y2logs
y2logs y2logs file |
||
|
Description
Peter Kuliffay
2006-10-31 11:51:35 UTC
Can you *please* attach your YaST logfiles? You're the 3rd user to report that the eject button crashes YaST and aborts the whole installation. But noone attached logfiles. And they are needed to find out what's going on. Please follow the instructions given at http://en.opensuse.org/Bugs/YaST Created attachment 103253 [details]
y2logs
These logs were generated after installation abort at click eject button in CD change pop-up.
*** This bug has been marked as a duplicate of bug 214820 *** Peter, please try Beta2 (next week) on the same hardware where the eject button aborted the installation. Reopen this bug if it's still happening afterwards. *** This bug has been marked as a duplicate of bug 216070 *** Created attachment 104793 [details]
y2logs
Beta2 CD set. The same HW. The same problem. New y2log log file. Had the same problem during upgrade openSuSE 10.2 alpha5 -> 10.2 beta1 and 10.2 beta 2: It was not possible to eject CD1 in order to insert CD2 and klicking "Eject" aborted the installation immediately. What I did: The drive on my machine for reading CDs is a "LG GSA-4167B" (a dvd-burner like your drive). I replaced this drive with a device called "TEAC DV-516D" (just a read-only dvd-rom drive). With this drive I could eject every CD and was able to finish the upgrade. Yes, you are right. I have similar experience with Beta1 at different HW.
I`m going to try it with Beta2 CD set at this HW again.
P.S. I have done the installation at my "production" system with Beta2 DVD.
Thaks for makeSUSEdvd.
The MediaManager is advised to open the drive - it (umounts if needed and) trys to eject, but because the try to eject (the ioctl) fails: 2006-11-11 10:56:14 <2> linux(3185) [media] MediaCD.cc(openTray):242 Eject /dev/hdc failed (Input/output error) the zypp::MediaManager throws the MediaNotEjectedException to inform the higher layers (SourceManager / YaST) about this problem and the SourceManager (impl) retrows it again: 2006-11-11 10:56:14 <5> linux(3185) [base] Exception.cc(log):94 PackageProvider.cc(providePackage):91 RETHROW: SourceImpl.cc(provideFile):454: Can't provide /suse/i586/gdb-6. 2006-11-11 10:56:14 <3> linux(3185) [wfm] Package.cc(PkgCommit):2155 Pkg::Commit has failed: ZYpp::commit has failed 2006-11-11 10:56:14 <3> linux(3185) [YCP] PackageInstallation.ycp:154 Bad media number 0 If this causes YaST2 to abort the installation, the handling of this exception in higher levels has a bug. Jiri, can you take a look what happens in the higher levels? (In reply to comment #11) > The MediaManager is advised to open the drive instructed by SourceManager... What should YaST do if the media is not the desired one and it can't eject it? The attached patch should do nothing but try to provide the file again on a failed eject, which will end in being re-asked for a new media.
I will submit it. Please reopen the bug if you see this again.
Index: SourceImpl.cc
===================================================================
--- SourceImpl.cc (revision 4558)
+++ SourceImpl.cc (working copy)
@@ -584,7 +584,17 @@
ZYPP_CAUGHT(excpt_r);
ERR << "Failed to release all sources" << endl;
}
- media_mgr.release (_media, true); // one more release needed for eject
+
+ try
+ {
+ media_mgr.release (_media, true); // one more release needed for eject
+ }
+ catch (const zypp::media::MediaNotEjectedException & excpt_r)
+ {
+ ZYPP_CAUGHT(excpt_r);
+ ERR << "Failed to eject" << endl;
+ break;
+ }
}
else if ( user == media::MediaChangeReport::RETRY ||
*** Bug 217045 has been marked as a duplicate of this bug. *** I was using CD 10.2 i386 RC1 installation set (MD5SUM & check during installation O.K.). The same HW: Athlon64 3000+, MB MSI NForce4, DVD-RW LG GSA-4166B. There is NO problem with eject media and eject button doesn`t crash a installation. Problem: The installation doesn`t accept correct CD2 with a message: Insert '20061125-150255 CD2 Media source cd:///?device=/dev/hdc does not containt the desired media.' No possibility to continue in the installation. No problem with installation openSUSE 10.1! No problem with cd-burner TEAC CD-W540E :-( Look at a new y2log.tgz Created attachment 106938 [details]
y2logs file
Then please open an other bug for this other (from the original bugreport) bug against yast/installation. I reset the bug status |