RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 594548 - DUD from non-removable devices
Summary: DUD from non-removable devices
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: module-init-tools
Version: 6.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: 6.0
Assignee: Jon Masters
QA Contact: Chao Yang
URL:
Whiteboard:
: 616830 (view as bug list)
Depends On:
Blocks: 253443 503551 575298
TreeView+ depends on / blocked
 
Reported: 2010-05-21 01:31 UTC by Qian Cai
Modified: 2018-11-14 19:16 UTC (History)
14 users (show)

Fixed In Version: module-init-tools-3.9-16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 21:10:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda.log (3.31 KB, application/octet-stream)
2010-07-12 07:25 UTC, Chao Yang
no flags Details
syslog (33.11 KB, application/octet-stream)
2010-07-12 07:25 UTC, Chao Yang
no flags Details
guest xml (2.01 KB, text/xml)
2010-07-12 07:25 UTC, Chao Yang
no flags Details
dd.iso (1000.00 KB, application/x-cd-image)
2010-07-12 07:30 UTC, Chao Yang
no flags Details
load error snapshot (5.79 KB, image/png)
2010-07-13 06:12 UTC, Chao Yang
no flags Details
insmod error snapshot (11.71 KB, image/png)
2010-07-13 06:13 UTC, Chao Yang
no flags Details
anaconda.log-new (5.34 KB, application/octet-stream)
2010-07-13 06:59 UTC, Chao Yang
no flags Details
syslog-new (33.79 KB, application/octet-stream)
2010-07-13 07:00 UTC, Chao Yang
no flags Details
output of ls -Ra /lib/modules (13 bytes, application/octet-stream)
2010-07-13 07:52 UTC, Chao Yang
no flags Details
output of ls -Ra /tmp/DD (326 bytes, application/octet-stream)
2010-07-13 07:52 UTC, Chao Yang
no flags Details
modules.dep file (33.18 KB, text/plain)
2010-07-13 07:53 UTC, Chao Yang
no flags Details
depmod.d (2.50 KB, application/x-tar)
2010-07-13 08:44 UTC, Chao Yang
no flags Details

Description Qian Cai 2010-05-21 01:31:33 UTC
Description of problem:
Currently, DUD from non-removable devices is unable to load, and I was told we are officially hard disk installation for partners.

Comment 1 Martin Sivák 2010-05-21 13:11:44 UTC
We have to come up with filtering of some sort, because without the check for removables, we will show the user about twenty devices on a system with no DD. Most of them are ram0..ram16 and similar. Just take a look at /sys/block and all devices there will be shown in that dialog.

Comment 4 Jon Masters 2010-06-18 05:22:27 UTC
Reassigning this to Martin. CAI is going to test the kickstart case, which should work here, but I would like to see a checkbox during install to say "show all devices". If the kickstart case works anyay, this /might/ be ok to wait until 6.1 because most "hard disk" installs of driver disks tend to be scripted.

Comment 5 David Cantrell 2010-06-18 18:34:49 UTC
We can improve the filtering for RHEL 6.0, but we cannot modify the UI elements at this point to introduce a checkbox that allows users to change the device filtering.

Martin, can you see if this one is doable for RHEL 6.0, else let's close it or move it to 6.1.

Comment 8 Jon Masters 2010-06-22 21:51:18 UTC
As long as kickstart works, and provided it doesn't treat e.g. BIOS provided flash devices as non-removable, then I think this is ok. Let's dig some more to confirm it's just hard disks that are treated differently for example.

Comment 9 Martin Sivák 2010-06-24 11:34:35 UTC
I can for now create a filter just to get rid of /dev/ram* devices. But more complicated changes have to go to 6.1. What do you think?

Comment 10 Martin Sivák 2010-06-28 13:59:13 UTC
I did as I said and the fix will be included in anaconda-13.21.55-1.

Comment 12 Chao Yang 2010-07-09 10:15:53 UTC
When I trying to verify this bug on the latest version 20100707.4, facing a issue: "Failed to read directory /tmp/drivers/rpms/x86_64: No such file or directory". I guess there is some problem with my test driver.

Comment 13 Martin Sivák 2010-07-09 11:09:09 UTC
Will you please attach log files from the install? And maybe a link to the driverdisc too.

Comment 14 Chao Yang 2010-07-12 07:25:03 UTC
Created attachment 431091 [details]
anaconda.log

Comment 15 Chao Yang 2010-07-12 07:25:25 UTC
Created attachment 431092 [details]
syslog

Comment 16 Chao Yang 2010-07-12 07:25:56 UTC
Created attachment 431093 [details]
guest xml

Comment 17 Chao Yang 2010-07-12 07:30:00 UTC
Created attachment 431095 [details]
dd.iso

Comment 18 Martin Sivák 2010-07-12 07:47:05 UTC
But your driverdisc is in wrong format, it contains /rpms/rpms/x86_64. You just have one directory level too many...

Comment 20 Chao Yang 2010-07-13 06:12:35 UTC
Created attachment 431352 [details]
load error snapshot

Comment 21 Chao Yang 2010-07-13 06:13:08 UTC
Created attachment 431353 [details]
insmod error snapshot

Comment 23 Chao Yang 2010-07-13 06:59:50 UTC
Created attachment 431363 [details]
anaconda.log-new

Comment 24 Chao Yang 2010-07-13 07:00:16 UTC
Created attachment 431364 [details]
syslog-new

Comment 25 Chao Yang 2010-07-13 07:00:51 UTC
Attached syslog & anaconda.log

Comment 26 Martin Sivák 2010-07-13 07:19:41 UTC
That is strange, can you get me `ls -Ra` of /lib/modules/ and /tmp/DD/ during the installation after you load the driverdisc? And attach the /lib/modules/<kernel version>/modules.dep too please. Thanks

Comment 27 Chao Yang 2010-07-13 07:52:19 UTC
Created attachment 431379 [details]
output of ls -Ra /lib/modules

Comment 28 Chao Yang 2010-07-13 07:52:49 UTC
Created attachment 431380 [details]
output of ls -Ra /tmp/DD

Comment 29 Chao Yang 2010-07-13 07:53:41 UTC
Created attachment 431381 [details]
modules.dep file

Comment 30 Martin Sivák 2010-07-13 08:24:25 UTC
Couple more file to include, can you get me depmod configuration from the installation? (/etc/depmod.conf and /etc/depmod.d).

The driver is in the proper place, but modules.dep gives higher priority to the old one which it shouldn't.

Comment 31 Chao Yang 2010-07-13 08:43:47 UTC
Hi Martin,

I can't find the /etc/depmod.conf during the system installation. Attached the /etc/depmod.d/ folder. Thanks.

Comment 32 Chao Yang 2010-07-13 08:44:45 UTC
Created attachment 431391 [details]
depmod.d

Comment 33 Jon Masters 2010-07-13 20:49:50 UTC
Ok. So if I use the files attached here, I have enough to reproduce on yesterday's nightly? I'm at a conference - but I have a second laptop with me for the purposes of RHEL6 stuff - I will try to find some time to get this resolved within the next couple of days. Just let me know if I have everything.

Comment 37 Jon Masters 2010-07-22 08:39:35 UTC
So, I need to know the following:

1). Your XML in test.xml says that you did not create a SCSI device. Can you confirm that you are not actually testing with the SCSI disk device? It appears you are using a regular virtio disk device. But you have two devices in any case and I would like to know the difference between /var/lib/libvirt/images/default/test.img and /var/lib/libvirt/images/default/insSrv-1.img? There is certainly a bug, but the testing should also be using the SCSI device too.

2). How did you run the shell during the install - looks like you didn't use a SCSI device, so proceeded beyond driver disk selection because a driver existed for the virtio device, and then you used the shell once the early anaconda bits had completed (known as the anaconda loader).

3). Is the "test.img" disk in your test.xml machine instance the driver disk?

4). How did you make the driver disk? My example one doesn't have two rpms/rpms directories. I have rebuilt my example against the -44 kernel anyway. Please supply the source you are using if it is not what I provided originally.

Anyway. I am sure there is a bug, and it looks like depmod is not parsing the dd.conf files as Martin says. I'm just wanting to confirm you didn't actually test having the virtual hardware present, but I don't think this is Martin's problem. I think this is something I can have fixed up real soon now. That said, if Martin is going on vacation, I'd like to know when, etc.

Jon.

Comment 39 Jon Masters 2010-07-22 08:54:44 UTC
Also, at what stage are you running busybox? And are you using a custom image to get a busybox shell during the loader stage?

Comment 40 Martin Sivák 2010-07-22 10:32:19 UTC
*** Bug 616830 has been marked as a duplicate of this bug. ***

Comment 42 Chao Yang 2010-07-22 11:20:38 UTC
(In reply to comment #37)
> So, I need to know the following:
> 
> 1). Your XML in test.xml says that you did not create a SCSI device. Can you
> confirm that you are not actually testing with the SCSI disk device? It appears
> you are using a regular virtio disk device. But you have two devices in any
> case and I would like to know the difference between
> /var/lib/libvirt/images/default/test.img and
> /var/lib/libvirt/images/default/insSrv-1.img? There is certainly a bug, but the
> testing should also be using the SCSI device too.
> 
Yes, I don't have any SCSI disk device in my env. The difference between /var/lib/libvirt/images/default/test.img is the test VM hard disk with type of virtio, and /var/lib/libvirt/images/default/insSrv-1.img is a disk to store the dd.iso file with type of ide. Yes, I agree the testing should be using the SCSI device. I will be careful on this.
> 2). How did you run the shell during the install - looks like you didn't use a
> SCSI device, so proceeded beyond driver disk selection because a driver existed
> for the virtio device, and then you used the shell once the early anaconda bits
> had completed (known as the anaconda loader).
> 
> 3). Is the "test.img" disk in your test.xml machine instance the driver disk?
> 
No, it's the test VM's hd.
> 4). How did you make the driver disk? My example one doesn't have two rpms/rpms
> directories. I have rebuilt my example against the -44 kernel anyway. Please
> supply the source you are using if it is not what I provided originally.
> 
Yes I'm using your driver disk. About the rpms/rpms problem, if there already has a rpms dir, the make process will also create rpms dir under it, that made rpms/rpms. Need to delete the exist one, then it works fine.
> Anyway. I am sure there is a bug, and it looks like depmod is not parsing the
> dd.conf files as Martin says. I'm just wanting to confirm you didn't actually
> test having the virtual hardware present, but I don't think this is Martin's
> problem. I think this is something I can have fixed up real soon now. That
> said, if Martin is going on vacation, I'd like to know when, etc.
> 
> Jon.

Comment 43 Chao Yang 2010-07-22 11:24:46 UTC
(In reply to comment #39)
> Also, at what stage are you running busybox? And are you using a custom image
> to get a busybox shell during the loader stage?    

Just added the busybox in the initrd.img, nothing more than that.

Comment 44 Martin Sivák 2010-07-22 13:38:10 UTC
*** Bug 616830 has been marked as a duplicate of this bug. ***

Comment 45 Jon Masters 2010-07-23 08:36:07 UTC
So after way too much time thinking everything was broken...I realize it all works just fine, it's just that depmod doesn't equate compressed and non-compressed versions of module files. This is because anaconda's initrd contains compressed versions of modules, not there post-install.

To see what I mean, on a fuly installed system:

/lib/modules/2.6.32-44.1.el6.x86_64/updates/DD -> /test/DD/lib/modules

and have the sym53c8xx.ko in place:

/lib/modules/2.6.32-44.1.el6.x86_64/updates/DD/2.6.32-44.el6.x86_64/extra/sym53c8xx/sym53c8xx.ko

But in the install root, the .ko shipped in anaconda is compressed, and the driver update is compressed. The fix is to have anaconda treat them both the same. I'm working on that now, should be done soon.

Jon.

Comment 46 Jon Masters 2010-07-23 09:10:38 UTC
To make this simpler, there's a "bug" in depmod in that sym53c8xx.ko.gz and sym53c8xx.ko are treated as different by depmod. I am going to fix it so that it will view them as the same file, and replace one with the other. Then it should work, but we will need to test. Especially with the correct SCSI device :)

Comment 48 Jon Masters 2010-07-27 20:22:41 UTC
This is still an urgent issue. Driver Update Disks are not working correctly. I have sent email to David and Denise - would anyone else like to receive a copy of our reference driver disk to reproduce the problem with anaconda?

Comment 49 Jon Masters 2010-07-27 21:41:55 UTC
I am re-assigning this bug to module-init-tools to cover the depmod issue that I fixed already in the module-init-tools-3.9-16 release. There is a new bug that covers the larger issue with Driver Update Disks in RHEL6, that I have described at the following location: https://bugzilla.redhat.com/show_bug.cgi?id=618862

Comment 50 Tom Coughlan 2010-07-29 16:45:00 UTC
(In reply to comment #49)
> I am re-assigning this bug to module-init-tools to cover the depmod issue that
> I fixed already in the module-init-tools-3.9-16 release. 

Moving to POST.

Comment 51 Marizol Martinez 2010-08-04 18:49:19 UTC
Provided module-init-tools-3.9-16 location to Dell via email. Dell will report back on their testing.

Comment 52 Marizol Martinez 2010-08-06 18:29:33 UTC
Dell -- Any feedback on this one?

Comment 56 Paniraj 2010-08-10 12:57:34 UTC
module-init-tools-3.9-16 is already present in RHEL6.0-20100730.5-Server-x86_64-DVD1.iso. (Snapshot 9)

Hence we are using this build instead of  module-init-tools that was sent via e-mail.

We are in process of validating this feature in snapshot9 and will update the result soon.

Thanks
Pani

Comment 57 Jon Masters 2010-08-11 02:49:34 UTC
Please bear in mind that there are still some Driver Update Disk issues in RHEL6 that the installer team are working hard to resolve. In the meantime, you might like to take a look at some updated example driver disks:

http://people.redhat.com/jcm/el6/dup/examples/

Jon.

Comment 59 Chao Yang 2010-08-18 09:06:38 UTC
Verify the bug on i386 and x86_64, working as expected. So close this bug as verified. Thanks.

Best,
Chao

Comment 60 Jon Masters 2010-08-18 14:17:47 UTC
Chao: please also verify it works if you symlink i686 to i386 per my email.

Comment 62 Jon Masters 2010-08-19 20:05:35 UTC
Thanks. Per my email, the next release of ddiskit will have symlinks for i386.

Comment 63 Chao Yang 2010-08-23 06:30:21 UTC
(In reply to comment #62)
> Thanks. Per my email, the next release of ddiskit will have symlinks for i386.

Should we add this to technical notes? 

Best,
Chao

Comment 64 Jon Masters 2010-08-23 22:16:40 UTC
Nope. We don't ship ddiskit with the RHEL6 media.

Comment 65 Ronald Pacheco 2010-09-27 00:39:50 UTC
If you've verified this, please set the verified flag.  Thanks!

Comment 66 Marizol Martinez 2010-10-06 19:25:06 UTC
My understanding is that Dell has verified this item. Setting 'Verified' field.

Comment 67 releng-rhel@redhat.com 2010-11-10 21:10:54 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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