Bug 466246 - Interactive installation fails with ext4dev root partition
Summary: Interactive installation fails with ext4dev root partition
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.3
Hardware: i386
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Eric Sandeen
QA Contact: Martin Jenner
URL:
Whiteboard:
: 465584 466758 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-09 12:45 UTC by Marian Ganisin
Modified: 2009-01-20 19:52 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 19:52:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Anaconda log (292.67 KB, text/plain)
2008-10-09 14:09 UTC, Marian Ganisin
no flags Details
dmesg log (12.93 KB, text/plain)
2008-10-09 15:03 UTC, Marian Ganisin
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:0225 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.3 kernel security and bug fix update 2009-01-20 16:06:24 UTC

Description Marian Ganisin 2008-10-09 12:45:26 UTC
Description of problem:
When using interactive installation (GUI or text) with ext4 support, anaconda ends in traceback. All filesystems are properly formatted by anaconda, next step, installation of packages, doesn't start, it's interrupted by traceback

Version-Release number of selected component (if applicable):
RHEL5.3-Server-20081006.0-i386

Steps to Reproduce:
1. Start interactive installation
2. Select ext4dev format for root partition
3. Proceed to start of copying

Comment 1 Marian Ganisin 2008-10-09 14:09:51 UTC
Created attachment 319860 [details]
Anaconda log

Comment 2 Chris Lumens 2008-10-09 14:48:24 UTC
Are there any read errors from the CD drive?  Did you run media check before starting?  I don't think we've seen this yet in any nightly testing.

Comment 3 Marian Ganisin 2008-10-09 15:02:09 UTC
Installation media (CD image) passed media check. Also sha1sum of iso file is correct. I didn't find any issue related to CD drive like read errors etc. I'm using qemu/kvm virtual machine for testing.

Comment 4 Marian Ganisin 2008-10-09 15:03:23 UTC
Created attachment 319869 [details]
dmesg log

Comment 5 Radek Vykydal 2008-10-10 09:51:18 UTC
a guess: can't the problem be that the underlying

ioctl(fd1, LOOP_CHANGE_FD, fd2)

call, where fd1 points to /mnt/source/images/stage2.img
and fd2 points to /mnt/sysimage/rhinstall-stage2.img which
is on ext4dev fails with EINVAL (22) because ext4dev doesn't
support splice_read operation?)
(see loop_change_fd in linux/drivers/block/loop.c)

Comment 6 Radek Vykydal 2008-10-10 11:32:32 UTC
(In reply to comment #5)
> a guess: can't the problem be that the underlying
> 
> ioctl(fd1, LOOP_CHANGE_FD, fd2)
> 
> call, where fd1 points to /mnt/source/images/stage2.img
> and fd2 points to /mnt/sysimage/rhinstall-stage2.img which
> is on ext4dev fails with EINVAL (22) because ext4dev doesn't

blah, wrong guess, 22 is ENODEV

> support splice_read operation?)
> (see loop_change_fd in linux/drivers/block/loop.c)

Comment 7 Radek Vykydal 2008-10-10 12:07:43 UTC
(In reply to comment #6)

> > is on ext4dev fails with EINVAL (22) because ext4dev doesn't
> 
> blah, wrong guess, 22 is ENODEV

oops, 22 is really EINVAL

Comment 8 Marian Ganisin 2008-10-10 13:26:56 UTC
Same result with installation over http, doesn't matter on structure of installation tree. I fails with disk{1,2,3,...} directories as well as with whole installation tree in one directory.

Comment 9 Eric Sandeen 2008-10-10 14:19:43 UTC
This is probably due to an embarassing thinko; I left out the ->sendfile aops on the backport; it doesn't exist upstream and no testsuite caught this.

See also Bug 465584

I'll make a fixed ext4dev.ko for rvykydal to test, hopefully this is all it is.

-Eric

Comment 10 Radek Vykydal 2008-10-10 17:46:14 UTC
The fixed module works, tested on cdrom install with
RHEL5.3-Server-20081009.nightly-i386-DVD.iso.

Comment 11 Chris Lumens 2008-10-13 14:13:29 UTC
*** Bug 466758 has been marked as a duplicate of this bug. ***

Comment 13 Eric Sandeen 2008-10-13 14:42:12 UTC
Ok, so this is an ext4 kernel bug.

The fix is a 3-line addition to ext4, no impact outside of this filesystem.

Comment 14 RHEL Program Management 2008-10-13 14:53:34 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 16 Eric Sandeen 2008-10-13 15:49:27 UTC
*** Bug 465584 has been marked as a duplicate of this bug. ***

Comment 18 Don Zickus 2008-10-29 16:18:43 UTC
in kernel-2.6.18-121.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 21 Marian Ganisin 2008-11-03 10:40:08 UTC
Verified with RHEL5.3-Server-20081102.nightly-i386 (source on cdrom).
Issue didn't occur.

Comment 23 errata-xmlrpc 2009-01-20 19:52:26 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-0225.html


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