Bug 678086 - F-15-Alpha.TC2 DVD image askmethod install from harddisk segfaults
Summary: F-15-Alpha.TC2 DVD image askmethod install from harddisk segfaults
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F15Blocker, F15FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2011-02-16 17:12 UTC by Michael Schwendt
Modified: 2011-03-29 12:12 UTC (History)
5 users (show)

Fixed In Version: anaconda-15.25-1.fc15
Clone Of:
Environment:
Last Closed: 2011-03-29 12:12:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2011-02-16 17:12:18 UTC
Description of problem: 
loader received SIGSEGV! Backtrace:
/sbin/loader[0x40a68b]
/lib64/libc.so.6(+0x36300)[0x7f603a914300]
/sbin/loader[0x...]
/sbin/loader[0x...]
/sbin/loader[0x...]
/sbin/loader[0x...]
/lib64/libc.so.6(__libc_start_main+0xed)[0x...]
/sbin/loader[0x...]
install exited abnormally [1/1]
-reboot instructions here-


Version-Release number of selected component (if applicable):
969e7644b0491843ec434f4d50ea5cdddc1063268ffc8e216f9d74a8fc6ac89b *Fedora-15-Alpha-x86_64-DVD.iso


How reproducible:
Always


Steps to Reproduce:
1. add a GRUB entry for the vmlinuz and initrd.img files fetched from the DVD.iso 'isolinux' directory and copied to a harddisk partition
2. boot this with added kernel arg "askmethod"
3. choose language
4. choose keyboard layout
5. askmethod dialog: choose
 - harddisk
 - partition
 - path to the DVD.iso (note that there is no './images/install.img' in there anymore with F-15 due to the enlarged initrd.img)
6. /sbin/loader segfault

Comment 1 Michael Schwendt 2011-02-16 17:24:02 UTC
For clarity, in the askmethod dialog I enter

 partion: /dev/sda6
 directory: /15/64

and last this has worked with Fedora 14.

Comment 2 Chris Lumens 2011-02-16 18:10:52 UTC
Can you provide the middle addresses?  The one on the top-most frame is just for the segfault handler.

Comment 3 Michael Schwendt 2011-02-16 19:37:59 UTC
loader received SIGSEGV! Backtrace:
/sbin/loader[0x40a68b]
/lib64/libc.so.6(+0x36300)[0x7ff41d6b7300]
/sbin/loader[0x417ec6]
/sbin/loader[0x415000]
/sbin/loader[0x418520]
/sbin/loader[0x4094d1]
/lib64/libc.so.6(__libc_start_main+0xed)[0x7ff41d6a22fd]
/sbin/loader[0x40a185]
install exited abnormally [1/1]
-reboot instructions here-

Comment 4 James Laska 2011-02-16 20:19:50 UTC
This will likely be resolved well in advance, but adding to the F15 Final release blocker list (F15Blocker).

Comment 5 James Laska 2011-02-16 21:48:25 UTC
I just tried booting the TC2 DVD, add 'askmethod', select the disk partition containing the DVD ISO ... the installer proceeds without error.  Certainly not discounting your failure report, just adding an extra data point.  Perhaps booting from DVD vs existing disk (via grub) changes the behavior?

Comment 6 Chris Lumens 2011-02-18 16:15:00 UTC
Well eu-addr2line is being completely useless here so I can't track down where this segfault is coming from.  I'll have to figure out something else.

Comment 7 Chris Lumens 2011-03-14 18:19:51 UTC
I am unable to reproduce this either, despite a lot of trying with qemu.  Can you think of anything else that might help explain what's going on?  Is the directory you copy the initrd+kernel to the same as the one you've got your DVD image on?

Comment 8 Michael Schwendt 2011-03-14 18:52:01 UTC
Well, if you can imagine adding some debug log messages in interesting places, feel free to offer something to test.

[...]

The last line on virtual console F3 is:

   INFO loader: partition sda6 selected

That is directly after closing the dialog where I chose partition and path.

Before that, I selected "English" language and German keyboard (no dead keys).

[...]

My grub.conf entry:

title Fedora 15 x86_64 install image
      root (hd0,5)
      kernel /15/64/vmlinuz
      initrd /15/64/initrd.img

And /dev/sda6:

# ls -l 15 15/64
15:
total 4
drwxr-xr-x. 4 root root 4096 Mar 14 19:36 64

15/64:
total 3676724
-rw-r--r--. 1 root root       1128 Mar  3 04:18 Fedora-15-Alpha-x86_64-CHECKSUM
-rw-r--r--. 1 root root 3616098304 Feb 26 01:58 Fedora-15-Alpha-x86_64-DVD.iso
drwxr-xr-x. 2 root root       4096 Mar 12 11:01 images
-rw-r--r--. 1 root root  141304652 Feb 26 01:56 initrd.img
drwxr-xr-x. 2 root root       4096 Feb 16 17:56 mnt
-rwxr-xr-x. 1 root root    3854992 Feb 17 02:53 vmlinuz

Comment 9 Michael Young 2011-03-19 16:28:13 UTC
I saw this while trying to upgrade a system from an iso file on a USB drive. Originally I had the vmlinuz and initrd.img files in the same directory as the iso . When I removed them and tried again the boot continued successfully.

Comment 10 Michael Schwendt 2011-03-19 17:57:57 UTC
That can't be it. Just a few minutes ago, I've moved the ISO image to an "iso" subdir, so I had to enter path /15/64/iso for /dev/sda6, and that still crashed in the same way.

Comment 11 Fedora Update System 2011-03-25 15:40:28 UTC
anaconda-15.25-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/anaconda-15.25-1.fc15

Comment 12 Fedora Update System 2011-03-26 04:50:53 UTC
Package anaconda-15.25-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-15.25-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/anaconda-15.25-1.fc15
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2011-03-29 03:51:28 UTC
anaconda-15.25-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Michael Schwendt 2011-03-29 09:38:24 UTC
It no longer crashes, but opens an error dialog: "This directory does not contain installation media." which is not true since repo=hd... install works with the same partition and directory.

Comment 15 James Laska 2011-03-29 12:12:21 UTC
(In reply to comment #14)
> It no longer crashes, but opens an error dialog: "This directory does not
> contain installation media." which is not true since repo=hd... install works
> with the same partition and directory.

I could be wrong, but this new behavior sounds incredibly like bug#678414.  Granted, that bug is NFS ISO, but I'm guessing the fix is very similar and related to the "-t auto" option loader is attempting to use.

https://www.redhat.com/archives/anaconda-devel-list/2011-March/msg00273.html

Michael, let's move discussion of this new issue into the bug#678414.  It is sufficiently different from the reported bug, which is confirmed to no longer exist.  We can create a new bug to track hdinstall.c mount failure, but I'll leave that to clumens to decide.


Note You need to log in before you can comment on or make changes to this bug.