Bug 134501

Summary: DVD drive keeps spinning forever in SUSE 10.0 when media inserted - laptop
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Karthik Shivaji <molecularbiophysics>
Component: OtherAssignee: Danny Al-Gaaf <dalgaaf>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i386   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Karthik Shivaji 2005-11-18 22:49:13 UTC
HP zt3000 laptop
SUSE 10.0
Kernel: 2.6.14
submount version:  0.9-80
HAL:  0.5.4-6.2

When I put any DVD/CD inside the drive it keeps on spinning - not at full speed
but at a bit "less speed" _forever_.  
All Files in the site below in text format:
$> lshal 
$> hwinfo --cd

http://www.geocities.com/whyagaintango/linux/freedesktop/

Even if I come out of the directory /media/dvdrecorder and issue the command umount no change is observed. If you require any other information I will be pleased to provide.
Comment 1 Martin Lasarsch 2005-11-19 00:07:43 UTC
Where do you get the 2.6.14 Kernel from? You have the same problem with the original SUSE Kernel?
Comment 2 Karthik Shivaji 2005-11-19 00:24:55 UTC
I recompiled 2.6.14 from ftp.kernel.org. I had (have) the same problem with SUSE default 2.6.13-15-default kernel.
Comment 3 Martin Lasarsch 2005-11-21 11:22:05 UTC
Danny: not sure if you can do something ... if not please reassign to us.
Comment 4 Danny Al-Gaaf 2005-11-21 12:11:31 UTC
please attach the part of /var/log/messages since insert the CD/DVD (wait 30 seconds after insert the media). Please attach also the output of 'cat /proc/mounts'.

Could you try to reproduce this behavior with updated HAL packages from: ftp://ftp.suse.com/pub/people/aj/hal/
Comment 5 Karthik Shivaji 2005-11-21 20:54:45 UTC
'rchal restart' was issued after every change was made:
Please look into:
http://www.geocities.com/whyagaintango/linux/freedesktop/test.html

I will test the new hal packages and report soon in a few days.
Comment 6 Danny Al-Gaaf 2005-11-22 13:51:51 UTC
Btw. Is there nothing more in /var/log/messages after insert the media? Any error messages from the kernel? If you use the fdi-file as descriped: work automounting inserted media? If so, please attach the output of 'lshal' to this bug.
Comment 7 Karthik Shivaji 2005-11-23 19:02:18 UTC
No there are NO more messages from kernel.
If I use the fdi file automount does _not_ work.

I intalled the CVS version. issued a rchal restart. Now I put a DVD and wait:

$ /var/log/messages
Nov 23 19:51:07 rishi hal-subfs-mount[27565]: SYMLINKS:: disk/by-id/ata-HL-DT-ST_DVD-RW_GWA-4080N_K074ATE0110 disk/by-path/pci-0000:00:1f.1-ide-1:0 dvdrecorder cdrom dvd cdrecorder
Nov 23 19:51:07 rishi hal-subfs-mount[27565]: MOUNT_POINT:: /media/dvdrecorder
Nov 23 19:51:07 rishi hal-subfs-mount[27565]: MOUNTPOINT:: /media/dvdrecorder
Nov 23 19:51:07 rishi hal-subfs-mount[27565]: Collected mount options and Called(8192) /bin/mount -t subfs -o fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 /dev/hdc "/media/dvdrecorder"
Nov 23 19:51:07 rishi hal-subfs-mount[27565]: By hald-subfs-mount created link /media/ARADHANA_KATI_P got removed.
---------------------------------
DVD keeps spinning forever
---------------------------------
$ cat /proc/mounts
rootfs / rootfs rw 0 0
initramfsdevs /dev tmpfs rw 0 0
/dev/hda6 / reiserfs rw 0 0
eventfs /lib/klibc/events tmpfs rw 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda2 /boot ext2 rw,nogrpid 0 0
usbfs /proc/bus/usb usbfs rw 0 0
------------
$ mount /media/dvdrecorder
$ cat /var/log/messages
Nov 23 19:53:05 rishi udevd[2538]: get_netlink_msg: no ACTION in payload found, skip event 'umount'
Nov 23 19:53:13 rishi kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'ARADHANA_KATI_P', timestamp 2002/11/07 15:26 (103c)
Nov 23 19:53:13 rishi udevd[2538]: get_netlink_msg: no ACTION in payload found, skip event 'mount'
--------------------------
After __mounting__ DVD automatically __stops__ spinning.

--------------------------
Now, I umount /media/dvdrecorder, surprising the DVD __starts__ spinning.
Nov 23 19:55:16 rishi udevd[2538]: get_netlink_msg: no ACTION in payload found, skip event 'umount'

--------------------------
Now, I mount /media/dvdrecorder
Nov 23 19:56:23 rishi kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'ARADHANA_KATI_P', timestamp 2002/11/07 15:26 (103c)
Nov 23 19:56:23 rishi udevd[2538]: get_netlink_msg: no ACTION in payload found, skip event 'mount'

----------------------------

In simple words:
Load DVD > start spin forever
After mount > stop spinning
after unmount > start spinning

Comment 8 Karthik Shivaji 2005-11-23 19:03:24 UTC
HAL CVS hal-0.5.6_CVS_20051115-1.i586.rpm
Comment 9 Danny Al-Gaaf 2005-11-24 11:56:57 UTC
@Kay: I have no idea, what the problem is, no errormessages in /var/log/messages ... maybe a hardware problem? Any Ideas?
Comment 10 Karthik Shivaji 2005-11-24 12:58:24 UTC
Is it not surprising that submount tries to mount (comment #7)Called(8192) /bin/mount -t subfs -o
fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 /dev/hdc
"/media/dvdrecorder"
though my /etc/fstab has _no_ submount.
----------
/dev/hda6            /                    reiserfs   acl,user_xattr        1 1
/dev/hda2            /boot                ext2       acl,user_xattr        1 2
/dev/hda1            /windows/C           ntfs       noauto,ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5            swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
#suse_default: /dev/dvdrecorder     /media/dvdrecorder   subfs      noauto,users,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvdrecorder  /media/dvdrecorder   auto  noauto,ro,user,nosuid,exec,iocharset=utf8    0 0

----------------
Comment 11 Danny Al-Gaaf 2005-11-24 13:19:34 UTC
What whould you tell us? We know, that the system ignore the fstab entry and mount automatically with hald-subfs-mount. 
Comment 13 Danny Al-Gaaf 2006-02-13 18:52:26 UTC
We have currently no idea, what the problem is. Looks like bad hardware but without a testmachine we can't do anything here. 

Since the spinning stop if you mount the device, and we have no other bugreport like this I close the bug. Sorry.