For some unknown reason, my DVD r/w device is not detected as such by udev:
I can mount /dev/hda and read a data CD, but /dev/cdrom is not created at boot
time and k3b returns
" No optical drive found.
K3b did not find any optical device in your system.
Solution : Make sure HAL daemon is running, it is used by K3b for finding
devices."
Well, hald IS running on my hardened amd64 system and /etc/udev/rules.d contains
70-persistent-cd.rules. Where should I look now to fix the problem ?
--
~adj~
09-06-2010, 10:30 AM
Jake Moe
undetected DVD r/w device
On 09/06/10 18:55, alain.didierjean@free.fr wrote:
> For some unknown reason, my DVD r/w device is not detected as such by udev:
> I can mount /dev/hda and read a data CD, but /dev/cdrom is not created at boot
> time and k3b returns
> " No optical drive found.
> K3b did not find any optical device in your system.
> Solution : Make sure HAL daemon is running, it is used by K3b for finding
> devices."
> Well, hald IS running on my hardened amd64 system and /etc/udev/rules.d contains
> 70-persistent-cd.rules. Where should I look now to fix the problem ?
>
> --
> ~adj~
What's the contents of 70-persistent-cd.rules? I recently had the same
problem on a HP laptop; the DVD drive worked in most things, but not in
K3B, and I tracked the root down to the fact that while I could see
/dev/sr0, the symlinks for /dev/[cdrom,cdrw,dvd,dvdrw] weren't there. I
could mount /dev/sr0 and the drive worked, but K3B never found the
drive. I believe I fixed it by editing that rules file somehow. I
can't remember while laptop it was on, but here's the two
70-persistent-cd.rules files I have:
(I think this one was the one that worked)
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.
On 6 Sep 2010, at 09:55, alain.didierjean@free.fr wrote:
For some unknown reason, my DVD r/w device is not detected as such
by udev:
I can mount /dev/hda and read a data CD, ...
Current kernels usually call optical drives /dev/sr0 (/dev/sr1, &c).
See last months "DVD borked: SysFS removed" thread:
http://www.gossamer-threads.com/lists/gentoo/user/216290
My advice in that thread applies also to you.
Stroller.
09-06-2010, 12:05 PM
undetected DVD r/w device
alain.didierjean@free.fr wrote:
>
> For some unknown reason, my DVD r/w device is not detected as such by udev:
> I can mount /dev/hda and read a data CD, but /dev/cdrom is not created at boot
> time and k3b returns
> " No optical drive found.
> K3b did not find any optical device in your system.
> Solution : Make sure HAL daemon is running, it is used by K3b for finding
> devices."
>
> On 6 Sep 2010, at 09:55, alain.didierjean@free.fr wrote:
>
> >
> > For some unknown reason, my DVD r/w device is not detected as such
> > by udev:
> > I can mount /dev/hda and read a data CD, ...
>
> Current kernels usually call optical drives /dev/sr0 (/dev/sr1, &c).
>
There's no sr* device on my system !!! Only way to reach the drive: /dev/hda.
Help
09-06-2010, 03:11 PM
undetected DVD r/w device
Selon Stroller <stroller@stellar.eclipse.co.uk>:
>
> On 6 Sep 2010, at 09:55, alain.didierjean@free.fr wrote:
>
> >
> > For some unknown reason, my DVD r/w device is not detected as such
> > by udev:
> > I can mount /dev/hda and read a data CD, ...
>
> Current kernels usually call optical drives /dev/sr0 (/dev/sr1, &c).
>
There's no sr* device on my system !!! Only way to reach the drive: /dev/hda.
Help
09-06-2010, 03:20 PM
undetected DVD r/w device
Selon alain.didierjean@free.fr:
> Selon Stroller <stroller@stellar.eclipse.co.uk>:
>
> >
> > On 6 Sep 2010, at 09:55, alain.didierjean@free.fr wrote:
> >
> > >
> > > For some unknown reason, my DVD r/w device is not detected as such
> > > by udev:
> > > I can mount /dev/hda and read a data CD, ...
> >
> > Current kernels usually call optical drives /dev/sr0 (/dev/sr1, &c).
> >
>
> There's no sr* device on my system !!! Only way to reach the drive: /dev/hda.
> Help
Apologies for the triple post. The blame goes to my ISP
09-10-2010, 02:25 PM
undetected DVD r/w device
Selon alain.didierjean@free.fr:
> Selon Stroller <stroller@stellar.eclipse.co.uk>:
>
> >
> > On 6 Sep 2010, at 09:55, alain.didierjean@free.fr wrote:
> >
> > >
> > > For some unknown reason, my DVD r/w device is not detected as such
> > > by udev:
> > > I can mount /dev/hda and read a data CD, ...
> >
> > Current kernels usually call optical drives /dev/sr0 (/dev/sr1, &c).
> >
>
> There's no sr* device on my system !!! Only way to reach the drive: /dev/hda.
> Help
FOLLOW-Up
I now use the following udev rules (70-persistent-cd.rules)
symbolic links get created, no /dev/sr0. k3b still refuses to work.
BUT
when I
# mount --bind / temporary
I do get a /temporary/dev/sr0 !!
What give ? I'm reluctant to add a NAME=sr0 rule as it should be the default;
What's going on ?
--
~adj~
09-10-2010, 11:49 PM
walt
undetected DVD r/w device
On 09/10/2010 07:25 AM, alain.didierjean@free.fr wrote:
Selon alain.didierjean@free.fr:
Selon Stroller<stroller@stellar.eclipse.co.uk>:
On 6 Sep 2010, at 09:55, alain.didierjean@free.fr wrote:
For some unknown reason, my DVD r/w device is not detected as such
by udev:
I can mount /dev/hda and read a data CD, ...
symbolic links get created, no /dev/sr0. k3b still refuses to work.
BUT
when I
# mount --bind / temporary
I do get a /temporary/dev/sr0 !!
What give ? I'm reluctant to add a NAME=sr0 rule as it should be the default;
What's going on ?
AFAICT, you didn't say if you read the earlier thread cited by Stroller:
My apologies if I missed your reply, and I wish you a happy weekend.
09-11-2010, 06:38 AM
undetected DVD r/w device
Selon walt <w41ter@gmail.com>:
> On 09/10/2010 07:25 AM, alain.didierjean@free.fr wrote:
> > Selon alain.didierjean@free.fr:
> >
> >> Selon Stroller<stroller@stellar.eclipse.co.uk>:
> >>
> >>>
> >>> On 6 Sep 2010, at 09:55, alain.didierjean@free.fr wrote:
> >>>
> >>>>
> >>>> For some unknown reason, my DVD r/w device is not detected as such
> >>>> by udev:
> >>>> I can mount /dev/hda and read a data CD, ...
>
> > symbolic links get created, no /dev/sr0. k3b still refuses to work.
> > BUT
> > when I
> > # mount --bind / temporary
> > I do get a /temporary/dev/sr0 !!
> > What give ? I'm reluctant to add a NAME=sr0 rule as it should be the
> default;
> > What's going on ?
>
> AFAICT, you didn't say if you read the earlier thread cited by Stroller:
>
> http://www.gossamer-threads.com/lists/gentoo/user/216290
>