Skip navigation.
Home
Now Shipping Version 7.0

udev the cdrom problem ?


Posts: 311

I just don't understand why folks have problems here with major issues like the
udev devices not functioning correctly and they just fade on into the background,
as if "If we ignore it long enough maybe it will just go away" wow....

The udev problem is a major pain in the butt

If you are a total new user....wow
no cdrom.....guess that's ok

If you know enough to hack the planet and you add the entry to the static section
the fstab on every single reboot keeps recreating it appended to the bottom
I think my system added it an even dozen times.....

and if you add it without users so it doesnt recreate and append then there's that
nagging root only problem.....

Wowzers dev team....
I know you didnt write udev.....
and we all know you are not responsible for this "CLUSTER"
but damnnnn somebody somewhere gotta do something.....

For once and for ever
Somebody post a fix for this if anyone knows of one....
then we can all move on....

And it does absolutely no one any good at all for a newb to post a guess
to a fix.....nothing like throwing gasoline on the fire.....

I installed 3.4 on my laptop what a nightmare......
I would not dare put that piece of crap on my production desktop...
Not till somebody gets this damn udev under control....

Re: udev

I have SimplyMepis 3.4-3 loaded on 4 different computers ranging from a Pentium III 500mhz laptop to an Athlon XP 1800+ desktop. Not a cdrom problem in the bunch. They all work properly.

I think a lot of people on the forums who normally help users like you debug these problems can't recreate this one on their own hardware.

I've heard that some computers required an update of hal from the debian etch repos to get the cdrom to show up, but since mine all work just fine I can't test that fix... <shrug>

On my machines the 3.4-3

On my machines the 3.4-3 udev works well on CDRW drives but can't find DVD or floppy drives. In other Debian-based distros udev works just fine on all drives. Curiouser & curiouser.

-----------------------------
Guard your ignorance well, my boy. You'll never find anything to replace it.
---J. J. Sinn

EnigmaOne's picture

Ok, burdica, and everyone

Ok, burdica, and everyone else who has problems that you suspect to be rooted in the current implementation of udev:

You are withholding the information that could go miles toward to doing exactly what you want--fixing the problem.

Post your hardware specs, particularly the motherboard, processor, actual operating speed (Habitual overclockers should take note that they may be causing their own problems) and exact brand/model/firmware revision of anything on the scsi/ide/sata chain. Include jumpering info and connector position for all drives.

As has been mentioned: Many of us have none of the problems you're talking about. I'm certain that somebody might be inclined to make the attempt to duplicate your problems if they knew what hardware or hardware configurations are giving udev fits.

Make sense?

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

Read before you rant-post.

Upgrading hal to 0.5.7-1 fixed cdrom problems

I had an ASUS QuieTrack DVD ROM (DVD-E616P3) and a Sony DVD/CD RW writer (dwu18a) installed and working fine with MEPIS 3.3.1. After upgrading to 3.4-3 they both "disappeared". Couldn't see them, couldn't mount them, icons did not show up on desktop. Thanks to timkb4cq I tried upgrading the Hardware Abstraction Layer (search for hal in Synaptic) to the latest version from Debian etch (hal 0.5.7-1). Immediately both optical drives showed up and functioned correctly.
My MB is ASUS A8N-SLI Premium with socket 939 and nForce 4 SLI (has SATA controller), AMD Athlon 64 4400+.

Same here. . .would someone help a n00b ? ? ? ?

burdicta. . .I have had the exact same problem, though I don't understand all of the technical stuff you said.

I installed MEPIS 3.43 and things worked ok, except k3b would not "close' my DVD when it was done burning. . .so I updated k3b. After 'restarting" my computer. . .my 2 DVD drives (1 ASUS burner, 1 SONY read only) were gone! No icons, nothing in fstab, nothing. . .nada. Strangely, when I open the now updated k3b, with a DVD / CD in place, k3b shows my disc contents just fine. Of course, I can't do anything (except burn again, perhaps).

WTH is going on? Updating k3b was the ONLY software change I made. Otherwise, it was a straight 3.43 install (I installed and re-installed multiple times actually, so yes, I had several "clean installs").

I am a LINUX "n00b" so if I am missing something obvious, please point it out. . .anyone! I want to learn LINUX by using it, but how can I do that if I can not access my 2 DVD drives?

FYI: ASUS mobo. Dual boot, WinXP on 1st hd, MEPIS on 2nd hd, with MBR / grub setup. 1 gig ram. 2.4 ghz p4. Each hd is 80g. I have 3 MEPIS accounts (3 separate accounts in home directory) and I have the same problems, regardless of the account I select. Root is 10g, swap is 2g, the rest is home.

m_pav's picture

Re: Ok, burdica, and everyone

EnigmaOne wrote:

Post your hardware specs, particularly the motherboard, processor, actual operating speed (Habitual overclockers should take note that they may be causing their own problems) and exact brand/model/firmware revision of anything on the scsi/ide/sata chain. Include jumpering info and connector position for all drives.

As has been mentioned: Many of us have none of the problems you're talking about. I'm certain that somebody might be inclined to make the attempt to duplicate your problems if they knew what hardware or hardware configurations are giving udev fits.

See http://www.mepis.org/node/9360
I added to this post some time back my findings that the optical disk drive was appended to fstab at each boot only after I had done a dist-upgrade on my SM3.4-3 on 2 very different machines. One a Toshibe M30 Laptop, the other an Athlon 64 Desktop. I could repeat the fstab issue on any PC by simply doing a default install, then updating the system. I had no issues prior to updating, but at no time have I lost an optical drive, so I can't comment on this.

If anybody can tell me what files or logs to send, I will send them because I have heaps of systems with many different hardware configurations to work with.

Mike P

This is what my "fstab" states, if it helps anyone:

# Pluggable devices are handled by uDev, they are not in fstab
/dev/hdb1 / ext3 defaults,noatime 1 1
/dev/hdb2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hdb3 /home auto defaults,noatime 1 2
# Dynamic entries below, identified by 'users' option
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0

anticapitalista's picture

Put in a cd and later a dvd,

Put in a cd and later a dvd, wait a few seconds, and take a look at the fstab. It should appear. Then copy this info to the part above the dynamic entries.

If it doesn't do that, then add these two lines to fstab, again above the dynamic section.(It will be something like this, depends how you have your dvd/cdrom set up)
/dev/hdc /mnt/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdd /mnt/cdrom1 iso9660,udf noauto,users,exec,ro 0 0

anticapitalista

Philosophers have interpreted the world in many ways; the point is to change it.

I updated hal per the suggestion. . .

from a few posts above. Now my DVD drive icons are back. . .as long as I have a DVD or CD in them. As soon as I eject, the icons dissappear. So I guess I sort of solved my problem. . .but not quite all the way. The 1st reboot was strange, but on subsequent reboots, I could read from the disks (via icon or media folder) fine, but my fstab still looks the same:

# Pluggable devices are handled by uDev, they are not in fstab
/dev/hdb1 / ext3 defaults,noatime 1 1
/dev/hdb2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hdb3 /home auto defaults,noatime 1 2
# Dynamic entries below, identified by 'users' option
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0

anticapitalista. . .do I still need to do what you said?

WTF ! ! !

OK, forget everything I said. . .when I try to use my optical drives with the other 2 accounts I have on home, NOTHING works with the optical drives! Yes, the icons are there, but I can not mount or eject (even if I physically push the eject button on the drives themselves).

When I try to mount / unmount or eject, I get this:
umount: /media/hdc is not in the fstab (and you are not root)
Please check that the disk is entered correctly.

However, when I do it with the 1 account that I use most often, which is the one I used while updating via synaptic, I do not get such messages and am able to mount / unmount or eject (even though in that account too, the drives do not appear in fstab).

Sorry again for being long winded. . .but now I am just lost! At least 1 of 3 accounts works. . .sort of. . .how should I proceed from here?

james e. thompson's picture

WTF ! ! !

It appears you didnt give yourself permission to use the cdrom . Eye-wink

Open a console su &give it password . and do ;
adduser (user name) cdrom
or what ever you want your self to be able to do as that user. Check your /etc/group file for catagories & to see who can do what.

Think ive made that as confusing as i can. Allso thats without brackets.

jim

I did a clean install

I did a clean install . . . including home. The only additional thing I have done is the web interface to get CUPS to work with my printer. Also, during the clean install, I decided to add a small FAT32 partion so that both Windows XP and Linux MEPIS 3.43 would have something they could both read / write.

I plan on only having 2 accounts now, to keep things more simple (1 for me, 1 for guests). Anyways, here is my current fstab:

# Pluggable devices are handled by uDev, they are not in fstab
/dev/hdb1 / ext3 defaults,noatime 1 1
/dev/hdb2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hdb3 /home ext3 defaults,noatime 1 2
# Dynamic entries below, identified by 'users' option
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0
/dev/hdb4 /mnt/hdb4 vfat,ext3,ext2,reiserfs noauto,users,exec 0 0

I noticed under "dynamic" it shows my Windows XP hd (my primary hd) and the FAT32 partion I spoke of earlier (obviously on my secondary hd with Linux).

Since I am trying to learn, not just use, Linux, my question is, where should my hdc and hdd (i.e., 2 DVD Drives) appear. . .under "Pluggable" or "Dynamic?"

Oh yeah, I almost forgot. . .same problem, as expected. The only time my DVD icons appear is if they have a disc in them. Otherwise, they vanish into thin air.

I got too adventurous last time and tried too many things at once. So now, after my clean install, what is my 1st step in resolving the issue? Thanks for bearing with me folks!!!!

james e. thompson's picture

clean install

I hate to tell you this but that is not a malfunction it is by desigh to keep the desktop uncluttered .
Many were bitching about the icons and busy kicker panel so Warren made some changes.

jim

anticapitalista's picture

As jim above points out, the

As jim above points out, the icons appear only when the drives are used. This is the same for external and extra hard drives too. If you want your drives to be available immediately you have to put their entries in the static part of fstab, the part above dynamic and make a few changes.
To test your dvd. Put in a dvd, wait a few secs for it to mount and then have a look in fstab (keep the dvd running). There should now be an entry at the bottom of fstab which tells you about your dvd drive.
Note this.
Do the same with your cd drive and note the 'address'.
Post here the results if you want to continue.

anticapitalista

Philosophers have interpreted the world in many ways; the point is to change it.

Thank you . . .

Thank you jim and anticapitalista....I will try that and post my results here. Thanks for clarifying!

Strange fstab. . .nothing changed

Hello anticapitalista. . .per your suggestion, I put in a (data) DVD in one of my drives. The icon did appear and I was able to mount it. I was able to look inside it too. I did leave the DVD "running" and looked into "fstab" but it appears that nothing changed. I posted my "fstab" below, there was nothing listed other than this, let me know your thoughts:

# Pluggable devices are handled by uDev, they are not in fstab
/dev/hdb1 / ext3 defaults,noatime 1 1
/dev/hdb2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hdb3 /home ext3 defaults,noatime 1 2
# Dynamic entries below, identified by 'users' option
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0
/dev/hdb4 /mnt/hdb4 vfat,ext3,ext2,reiserfs noauto,users,exec 0 0

anticapitalista's picture

I hope that the cdrom and

I hope that the cdrom and dvd are working properly. I don't use KDE and don't have the dvd/cdrom icons on the desktop and I prefer to have the cdrom/dvd in the static section of fstab.
If you want the same, add these 2 lines to the top part of fstab

/dev/hdc /mnt/dvd udf,iso9660 noauto,users,dev,ro 0 0
/dev/hdd /mnt/cdrom udf,iso9660 noauto,users,dev,ro 0 0

Then open a terminal as root and type:
mkdir /mnt/dvd
mkdir /mnt/cdrom
(This creates the mount point)

anticapitalista

Philosophers have interpreted the world in many ways; the point is to change it.

At the risk of. . .

. . .sounding "nitpicking," I noticed that 1 suggested line to put in the top part of fstab states: /mnt/dvd

While the other states: /mnt/cdrom

I have 1 DVD burner and 1 DVD read only. . .does that make a difference?

Sorry if this is a trival question, but I want to be sure before I do anything as "root."

Thanks again!

anticapitalista's picture

You can call the /mnt/ parts

You can call the /mnt/ parts what you like.

anticapitalista

Philosophers have interpreted the world in many ways; the point is to change it.

Thank You anticapitalista. . .

. . .My 2 DVD icons are there. . .and when I insert a DVD, a separate icon appears! So, I "mounted" the new icon that appears and checked to see if the permanent icon was "mounted" too, and it was! Then I "unmounted" the temp icon and checked to see if the permanent icon was "unmounted" too, and it was!

So, now my next project: Get k3b (or any decent program) to read / write / rewrite my DVD+RW that I use (frequently) for data backup. Do you have any suggestions on that. . .or what forum to look for?

Thanks again!

Oh I forgot. . .

. . .I only have 1 user account set up. . .If I wanted to set up another user account (perhaps a guest account with few rights) in the future, would I need to do this over again for the new account, or will the settings automatically "transfer"?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.