Bug 100940 - 2.6 can't find my cdwriter or my dvd drive if ide-scsi is off
2.6 can't find my cdwriter or my dvd drive if ide-scsi is off
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
9
athlon Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-07-27 14:29 EDT by Mark Dillavou
Modified: 2007-04-18 12:56 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-07-27 14:33:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mark Dillavou 2003-07-27 14:29:32 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030530 Galeon/1.3.5

Description of problem:
If i turn off ide-scsi in grub, then I can't access either my cdwriter (hdc) or
my dvd (hdd).  

Here's my grub.conf
title Red Hat Linux (2.6.0-0.test1.1.26)
        root (hd0,0)
        kernel /vmlinuz-2.6.0-0.test1.1.26 ro root=LABEL=/
        initrd /initrd-2.6.0-0.test1.1.26.img

Here's dmesg showing that it found both drives:
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: TDK CDRW241040X, ATAPI CD/DVD-ROM drive
hdd: TOSHIBA DVD-ROM SD-M1102, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15

here's my /etc/fstab
/dev/cdrom              /mnt/cdrom              udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/dvd              /mnt/dvd              udf,iso9660 noauto,owner,kudzu,ro 0 0

Here's the error messages when trying to mount:
[root@gecko root]# ls -l /dev/cdrom
lrwxrwxrwx    1 root     root            8 Jul 27 13:00 /dev/cdrom -> /dev/hdc
[root@gecko root]# mount /mnt/cdrom
mount: /dev/cdrom is not a valid block device
[root@gecko root]#

If i tr[root@gecko root]# mount /dev/hdc /mnt/cdrom
mount: /dev/hdc is not a valid block device
y to do it by directly accessing /dev/hdc:

Yes, I do have a cdrom in the drive.

Output of hdparm
[root@gecko root]# hdparm /dev/hdc
/dev/hdc: No such device or address
[root@gecko root]# hdparm /dev/hdd
/dev/hdd: No such device or address

ls -l /dev/hdc and /dev/hdd
[root@gecko root]# ls -l /dev/hdc
brw-rw----    1 root     disk      22,   0 Jul 27 12:43 /dev/hdc
[root@gecko root]# ls -l /dev/hdd
brw-rw----    1 root     disk      22,  64 Jul 27 12:53 /dev/hdd

If i have ide-scsi on, then I don't have any problems with this.

Thanks,
Mark Dillavou


Here's the error message when mounting:


Version-Release number of selected component (if applicable):
kernel-2.6.0-0.test1.1.26

How reproducible:
Always

Steps to Reproduce:
1. delete ide-scsi from grub.conf
2. 
3.
    

Actual Results:  I couldn't mount my cdrom drive

Expected Results:  My cdrom drive should have mounted

Additional info:
Comment 1 Mark Dillavou 2003-07-27 14:33:59 EDT
Ok, I figured this out.  ide-cd wasn't getting loaded for some reason.  Loading
it fixed everything.  sorry about that.

Mark

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