Bug 89723
Summary: | Installation from CD writer sets up /dev/cdrom incorrectly? | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Peter Baitz <peterbaitz> |
Component: | kudzu | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED WORKSFORME | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 9 | CC: | rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-09-27 21:38:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Peter Baitz
2003-04-26 21:47:40 UTC
#grub.conf #boot=/dev/hde default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Linux-smp (2.4.20-9smp) root (hd0,0) kernel /vmlinuz-2.4.20-9smp ro root=LABEL=/ hda=ide-scsi initrd /initrd-2.4.20-9smp.img title Red Hat Linux-up (2.4.20-9) root (hd0,0) kernel /vmlinuz-2.4.20-9 ro root=LABEL=/ hda=ide-scsi initrd /initrd-2.4.20-9.img #Device cdrom in /dev [root@boaz dev]# ls -l cdrom lrwxrwxrwx 1 root root 8 Apr 20 23:12 cdrom -> /dev/hda [root@boaz dev]# ls -l hda brw------- 1 root disk 3, 0 Jan 30 05:24 hda This same PC has Red Hat Linux 7.3 on it prior to this. I backed up my home directory and files, so when I installed 9.0 I HAD INSTALL FORMAT THE DISKS CLEAN. Point of telling you this is under 7.3 I HAD NO CDROM PROBLEMS so I know the hardware is fine! ;-) UPDATE! in Gnome I went into Start Here / System Tools / X CDroast Cd Writer and stepped through its configuration. Once I did that, the CDROM mounted perfectly. Now it seems to mount fine from command line or from the Disk Manager tool, for now anyway.... What happened to fix it?????????????? I noted this "lsmod" change after doing the xcdroast setup: Before: scsi_mod 110488 4 [ide-scsi st aic7xxx sd_mod] After: scsi_mod 110488 6 [sg sr_mod ide-scsi st aic7xxx sd_mod] ^^ ^^^^^^ Weird thing is I'm sure I tried this manually after comparing to my 9.0 install at work, but it made no diff. xcdroast did something to fix it. Spoke too soon - after REBOOTING Linux, it was back to same error on mounting the CDROM. Still need help fixing this issue. Found out from checking in CD-Writer (a Gnome Utility) that my CDROM is /dev/scd0 not /dev/hda ! When I specify mount /dev/scd0 /mnt/cdrom -t iso9660 then is mounts fine! So the question is why did the Linux installer chose to use /dev/hda as my CDROM such as in the grub.conf ??? this is more a bug of the installer (anaconda).. I am reassigning.. Did you install from CD, and if so, which device did you install from? I installed from the same CD device as the one I have trouble mounting. Specifically it should be /dev/hda but I can only mount it as /dev/scd0 It is a CD-Read/Write device. I only have this one CD device in my PC. Yes I installed completely from a 3-CD set. I'll assign this to be looked at. The reason the device is /dev/scd0 after you reboot is that ATAPI CD burners look like a SCSI device to the kernel. If you want a quick workaround you will want to move the symlink for /dev/cdrom to point at /dev/scd0. Michael thank you for the workaround suggestion, however I did in fact try that already (changed the symlink /dev/cdrom --> /dev/scd0 rather than /dev/hda, and yes mounting /mnt/cdrom worked fine then) but for some odd reason, after I rebooted, the system had *automagically* changed that symlink /dev/cdrom to point back at /dev/hda ! ?:-( What does your ide setup look like in general (which devices are what drives, etc.)? Closing, lack of response. |