Bug 117411

Summary: No CDROM Drive
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Alex Loes <alex.loes>
Component: BasesystemAssignee: Christian Zoz <zoz>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dkukawka, hare
Version: RC 1   
Target Milestone: ---   
Hardware: i686   
OS: OES - Linux   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Alex Loes 2005-09-16 06:13:49 UTC
After a fresh cold-boot, sometimes the mountpoint of the cdrom/dvd drive has gone.
After replacing the line in /etc/fstab, with a reboot, the drive works again.

I don't know what caused this bug, but I'm still searching.
Comment 1 Danny Al-Gaaf 2005-09-16 09:25:40 UTC
I think this has nothing to do with the fstab. What is the entry in you fstab 
for the cdrom? Please add the output of:

udevinfo -n /dev/hdc -q symlink  

(you must maybe replace /dev/hdc with the path of your device) 
Comment 2 Alex Loes 2005-09-16 10:11:35 UTC
udevinfo shows:

dvd cdrom disk/by-path/pci-0000:11.1-ide-1:0
Comment 3 Danny Al-Gaaf 2005-09-16 10:28:20 UTC
What means: "sometimes the mountpoint of the cdrom/dvd drive has gone."? Are 
they removed from /media ? What if you umount the device, remove the related 
dirs and add new directorys with the same name with mkdir?
Comment 4 Alex Loes 2005-09-21 06:20:05 UTC
Now, it happened again, and the entry in fstab is somehow strange:

/dev/dvd  /media/  subfs 
noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf0 0 0

It happened after a reboot after pressing the power key.
AFAIK, the computer is entering in runlevel 0, or am I wrong?

udevinfo -n /dev/dvd -q symlink shows:
no record for '/dev/dvd' in database

Al
Comment 5 Danny Al-Gaaf 2005-09-21 08:20:44 UTC
The fstab entry is complete broken. Looks like a problem of udev or yast (and 
not subfs/submount/hal). First the target (/media) is complete wrong and also 
the iocharset=utf0 is wrong.

Christian and Hare: please take a look at this, maybe a udev issue. If not 
reassign to the yast guys.
Comment 6 Christian Zoz 2005-09-23 12:10:25 UTC
To check udev, please call these commands and attach the output to this bug:
   cat /etc/udev/rules.d/55-cdrom.rules
   udevcontrol log_priority=6
   logger aaaaa
   echo -n 1.0 > /sys/bus/ide/drivers/ide-cdrom/unbind
   echo -n 1.0 > /sys/bus/ide/drivers/ide-cdrom/bind
   logger bbbbb
   sed -n /aaaaa/,/bbbbb/p /var/log/messages
The string '1.0' in the echo command lines may differ on your system. Get the id
of your cdrom ide device with
   ls /sys/bus/ide/drivers/ide-cdrom
The name of the link is your device id.
Comment 7 Marcel Buchholz 2005-10-22 14:52:07 UTC
I have a similar problem which could be caused by the same bug:
Sometimes /dev/hdd and /dev/hdc disappear -
I need to run "udevstart" or reboot to fix this.
Comment 8 Christian Zoz 2005-10-24 14:10:34 UTC
Marcel, what means sometimes? Is it reproducible in any way?

Could you make udev verbose and then, after it happened again, attach the last relevant lines from /var/log/messages?
Set /etc/udev/udev.conf:udev_log=info (not debug, debug will fill syslog very fast) to make udev verbose.

Would you please test, what i wrote in comment 6?

Alex, do you still have this problem?
Comment 9 Alex Loes 2005-10-24 14:22:38 UTC
 
> Alex, do you still have this problem?
> 

No, I don't

Comment 10 Christian Zoz 2005-10-24 14:54:17 UTC
What changed in your setup? Did you fix anything?
Comment 12 Christian Zoz 2005-11-04 14:35:19 UTC
Not enough info to see a bug.