public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: 4 machines - no /dev/cdrom or /dev/dvd anymore
Date: Sun, 6 Jan 2013 11:19:45 +0000	[thread overview]
Message-ID: <201301061119.56710.michaelkintzios@gmail.com> (raw)
In-Reply-To: <CAK2H+ec+5wA0D2vLYMnmnDY29qP+JYFvVCSVfmo0b7Fhnvm74Q@mail.gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 2511 bytes --]

On Saturday 05 Jan 2013 20:44:07 Mark Knecht wrote:
> On Sat, Jan 5, 2013 at 11:53 AM, Mark Knecht <markknecht@gmail.com> wrote:
> > I think I touched on this a couple of weeks ago but never had time to
> > dig in. At that time I thought this problem was only on one machine
> > but now I see it's on every machine I've looked at this morning. Not a
> > single machine has /dev/cdrom anymore, nor /dev/dvd or any of the
> > other incantations that have existed forever.
> 
> <SNIP>
> 
> OK, this is solved using udevadm and changing the
> 70-persistent-cd.rules file to key off a different identifier.
> 
> Old way:
> #SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
> ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="cdrom",
> ENV{GENERATED}="1"
> 
> New way:
> SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
> ENV{ID_MODEL}=="Optiarc_DVD_RW_AD-7241S", SYMLINK+="cdrom",
> ENV{GENERATED}="1"
> 
> c2stable ~ # udevadm info --query=all --name=/dev/sr0
> P:
> /devices/pci0000:00/0000:00:1f.2/ata11/host10/target10:0:0/10:0:0:0/block/
> sr0 N: sr0
> S: scd0
> S: disk/by-id/ata-Optiarc_DVD_RW_AD-7241S
> S: cdrom
> S: cdrw
> S: dvd
> S: dvdrw
> E: UDEV_LOG=3
> E:
> DEVPATH=/devices/pci0000:00/0000:00:1f.2/ata11/host10/target10:0:0/10:0:0:
> 0/block/sr0 E: MAJOR=11
> E: MINOR=0
> E: DEVNAME=/dev/sr0
> E: DEVTYPE=disk
> E: SUBSYSTEM=block
> E: ID_CDROM=1
> E: ID_CDROM_CD=1
> E: ID_CDROM_CD_R=1
> E: ID_CDROM_CD_RW=1
> E: ID_CDROM_DVD=1
> E: ID_CDROM_DVD_R=1
> E: ID_CDROM_DVD_RW=1
> E: ID_CDROM_DVD_RAM=1
> E: ID_CDROM_DVD_PLUS_R=1
> E: ID_CDROM_DVD_PLUS_RW=1
> E: ID_CDROM_DVD_PLUS_R_DL=1
> E: ID_CDROM_MRW=1
> E: ID_CDROM_MRW_W=1
> E: ID_ATA=1
> E: ID_TYPE=cd
> E: ID_BUS=ata
> E: ID_MODEL=Optiarc_DVD_RW_AD-7241S
> E:
> ID_MODEL_ENC=Optiarc\x20DVD\x20RW\x20AD-7241S\x20\x20\x20\x20\x20\x20\x20\
> x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 E: ID_REVISION=1.03
> E: ID_SERIAL=Optiarc_DVD_RW_AD-7241S
> E: ID_ATA_FEATURE_SET_PM=1
> E: ID_ATA_FEATURE_SET_PM_ENABLED=1
> E: ID_ATA_SATA=1
> E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1
> E: GENERATED=1
> E: UDISKS_PRESENTATION_NOPOLICY=0
> E: DEVLINKS=/dev/scd0 /dev/disk/by-id/ata-Optiarc_DVD_RW_AD-7241S
> /dev/cdrom /dev/cdrw /dev/dvd /dev/dvdrw
> E: TAGS=:udev-acl:
> 
> c2stable ~ #
> 
> Maybe this post will save someone else some time.

Thanks Mark, but why do we have to make this file changes ourselves?  Isn't it 
a bug?

PS.  I also have cd & dvd /dev links missing.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2013-01-06 11:21 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-05 19:53 [gentoo-user] 4 machines - no /dev/cdrom or /dev/dvd anymore Mark Knecht
2013-01-05 20:36 ` J. Roeleveld
2013-01-05 20:46   ` Mark Knecht
2013-01-05 20:37 ` Randy Barlow
2013-01-05 20:44 ` [gentoo-user] " Mark Knecht
2013-01-05 23:00   ` David M. Fellows
2013-01-06 11:19   ` Mick [this message]
2013-01-06 15:55     ` Mark Knecht
2013-01-07  1:22       ` Dale
2013-01-07  1:44         ` Mark Knecht
2013-01-07  1:53           ` William Kenworthy
2013-01-07  2:06             ` Mark Knecht
2013-01-07  2:08             ` Dale
2013-01-07  2:29               ` Dale
2013-01-07  4:53                 ` Mark Knecht
2013-01-07  7:35                   ` Dale
2013-01-07 22:53                     ` Mick
2013-01-08  7:09                       ` J. Roeleveld
2013-01-08  7:49                         ` Mick
2013-01-08 11:53                       ` Dale
2013-01-07 15:18         ` Grant Edwards
2013-01-07 17:37           ` Mark Knecht
2013-01-07 23:25             ` Alan McKinnon
2013-01-08  1:05               ` Mark Knecht
2013-01-08  1:15                 ` Michael Mol
2013-01-08  6:42                   ` Mick
2013-01-08  9:21                 ` Alan McKinnon
2013-01-08 20:26                   ` Mark Knecht
2013-01-08 21:12                     ` Alan McKinnon
2013-01-08 21:31                       ` Michael Mol
2013-01-09  3:22                     ` Dale
2013-01-11 14:31                       ` Mark Knecht
2013-01-11 14:58                         ` Dale
2013-01-06  4:01 ` [gentoo-user] " Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201301061119.56710.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox