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 667611 - rhel3.9 can not find file in cdrom
Summary: rhel3.9 can not find file in cdrom
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Markus Armbruster
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 580954 676536
TreeView+ depends on / blocked
 
Reported: 2011-01-06 08:47 UTC by Suqin Huang
Modified: 2013-01-09 23:28 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 676536 (view as bug list)
Environment:
Last Closed: 2012-02-05 12:49:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Suqin Huang 2011-01-06 08:47:53 UTC
Description of problem:
generate iso which contain the kickstart file, then attach the iso in cmd when install rhel3.9, guest can not find this file

Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.128.el6.x86_64

How reproducible:
sometime

Steps to Reproduce:
1. /usr/libexec/qemu-kvm -monitor stdio  -drive file='/usr/images/RHEL-3.9-32.qcow2',index=0,if=none,id=drive-ide0-0-0,media=disk,cache=none,format=qcow2,aio=native \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -device e1000,mac=9a:24:29:8d:ec:59,netdev=idhYC1ge,id=ndev00idhYC1ge,bus=pci.0,addr=0x3\
 -netdev tap,id=idhYC1ge,ifname='t0-102524-l44L',script='/usr/scripts/qemu-ifup-vbr0',downscript='no' \
-m 2048 -smp 2,cores=1,threads=1,sockets=2 \
-drive file='/usr/kvm/isos/linux/RHEL3.9-i386-DVD.iso',index=2,if=none,id=drive-ide0-0-1,media=cdrom,readonly=on,format=raw \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -drive file='/usr/images/rhel3-32/ks.iso',index=1,if=none,id=drive-ide0-1-0,media=cdrom,readonly=on,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -cpu cpu64-rhel6,+sse2,+x2apic -vnc :0 -rtc base=utc,clock=host,driftfix=none -M rhel6.0.0 -usbdevice tablet -no-kvm-pit-reinjection -boot n -enable-kvm
2.
3.
  
Actual results:
ERROR:
Cannot find kickstart file on CDROM

Expected results:


Additional info:
1. 
(qemu) info block
drive-ide0-0-0: type=hd removable=0 file=/usr/images/RHEL-3.9-32.qcow2 ro=0 drv=qcow2 encrypted=0
drive-ide0-0-1: type=cdrom removable=1 locked=0 file=/usr/kvm/isos/linux/RHEL3.9-i386-DVD.iso ro=1 drv=raw encrypted=0
drive-ide0-1-0: type=cdrom removable=1 locked=0 file=/usr/images/rhel3-32/ks.iso ro=1 drv=raw encrypted=0
floppy0: type=floppy removable=1 locked=0 [not inserted]
sd0: type=floppy removable=1 locked=0 [not inserted]
(qemu) info network 
Devices not on any VLAN:
  idhYC1ge: ifname=t0-102524-l44L,script=/usr/scripts/qemu-ifup-vbr0,downscript=no peer=ndev00idhYC1ge
  ndev00idhYC1ge: model=e1000,macaddr=9a:24:29:8d:ec:59 peer=idhYC1ge

2. 
[root@amd-1216-8-4 rhel3-32]# mount ks.iso -o loop /mnt/
[root@amd-1216-8-4 rhel3-32]# ls /mnt/
ks.cfg

3. host
processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 67
model name	: Dual-Core AMD Opteron(tm) Processor 1216
stepping	: 3

flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy

kernel: 2.6.32-93.el6.x86_64

4. guest
rhel3.9-32 and rhel3.9-64

Comment 2 Dor Laor 2011-01-10 13:20:48 UTC
Can you please retest through libvirt with one IDE drive and one cdrom?

Comment 3 Suqin Huang 2011-01-12 06:10:38 UTC
1. with one cdrom and one ide disk. PASS

2. have tried with virt-manager with two cdroms, the order (bus and unit)  will affect the result.
 #### PASSed cmd line ####
 -drive file=/home/local/3u9-1.img,if=none,id=drive-ide0-0-0,boot=on,format=raw,cache=none 
 -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 
 -drive file=/root/RHEL3.9-i386-DVD.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw 
 -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 
 -drive file=/root/ks.iso,if=none,media=cdrom,id=drive-ide0-0-1,readonly=on,format=raw 
 -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 
 #### Failed cmd line ####
 -drive file=/home/local/3u9-2.img,if=none,id=drive-ide0-0-0,boot=on,format=raw,cache=none 
 -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 
 -drive file=/root/ks.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw 
 -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 
 -drive file=/root/RHEL3.9-i386-DVD.iso,if=none,media=cdrom,id=drive-ide0-0-1,readonly=on,format=raw 
 -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1

Comment 6 Markus Armbruster 2011-04-14 14:07:23 UTC
We fixed vaguely similar bug 558256 in qemu-kvm-0.12.1.2-2.158.el6.  Maybe it fixed this one as well.  Could you please retest?

Comment 7 Suqin Huang 2011-04-22 01:53:54 UTC
can reproduce in qemu-kvm-0.12.1.2-2.159.el6

Comment 9 Markus Armbruster 2011-09-26 17:04:32 UTC
We'd need exception or blocker status to fix this bug (not sure we could justify either), and we don't even know its cause, yet.  That means 6.2 is no longer a realistic goal.  Deferring.

Comment 11 Markus Armbruster 2011-12-02 16:37:56 UTC
Comment#3 is interesting.

Can you reproduce with RHEL-4, -5 or -6 and current qemu-kvm?  And retest RHEL-3 with the same qemu-kvm?

Comment 12 Xiaoqing Wei 2011-12-09 07:36:00 UTC
(In reply to comment #11)
> Comment#3 is interesting.
> 
> Can you reproduce with RHEL-4, -5 or -6 and current qemu-kvm?  And retest
> RHEL-3 with the same qemu-kvm?

Hi Markus,

I just tried it with qemu-kvm-0.12.1.2-2.210.el6.x86_64,
 same result as comment #3.

Comment 13 Markus Armbruster 2011-12-09 12:44:04 UTC
Which *guests* did you try with qemu-kvm-0.12.1.2-2.210.el6.x86_64?

Comment 14 Xiaoqing Wei 2011-12-11 05:25:58 UTC
(In reply to comment #13)
> Which *guests* did you try with qemu-kvm-0.12.1.2-2.210.el6.x86_64?

Hi Markus,

I mean rhel-3.9 has the same result as Comment #3.

rhel-4.9, 5.7, 6.2 works fine.

Comment 16 Siyuan Wang 2012-02-03 07:25:01 UTC
this bug reproduced on rhel 6.3.
kernel: 2.6.32-220.4.1.el6.x86_64
qemu-kvm-0.12.1.2-2.222.el6.x86_64

Comment 17 Dor Laor 2012-02-05 12:49:32 UTC
(In reply to comment #16)
> this bug reproduced on rhel 6.3.
> kernel: 2.6.32-220.4.1.el6.x86_64
> qemu-kvm-0.12.1.2-2.222.el6.x86_64

Since it does work for rhel4/5/6 and even for rhel3 w/ a single cdrom, I tend to close it as won't fix.


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