From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EAA811382E9 for ; Sat, 5 Jan 2013 19:54:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F644E05EC; Sat, 5 Jan 2013 19:54:23 +0000 (UTC) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 810A8E0329 for ; Sat, 5 Jan 2013 19:53:08 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id k14so21139539iea.38 for ; Sat, 05 Jan 2013 11:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=X0kUW4EvuCp5ZqcuFhpMxkFEPJEekh0ASBDjHox9dbY=; b=wRHcy0I2PNgZvLDkyCJ2mngiqk/KjBvQk4uP40e2KVdo+8lkT7W7mof/gR7iaIlfMQ YzNes0/Z2BprHMNUz9a1za3izWjx2EttZhOL2oVAoRx8fTXWQDQhfkkRrUgKcDoU73QE p8DzpRSg3WkfRBBshxtQ7SjWdSk0uBiJZtaOcbI+gQu9Sph1GTgv5ZVtTHbglt5VTWDv ZE1qtgxJgYKXG5gLkopp2U5yrOStPx5DdvEuftUgjZk5ETQO89qZAJ0ZbK8nBw8l8Efw cLmgtseh2UyBwe4G5mSvcSicFhh0z9rA1Jdz0NDGogQUDRT0zHn3iFY8s4g3oBRZVQbn TD1A== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.50.237.104 with SMTP id vb8mr2131617igc.11.1357415587805; Sat, 05 Jan 2013 11:53:07 -0800 (PST) Received: by 10.64.58.97 with HTTP; Sat, 5 Jan 2013 11:53:07 -0800 (PST) Date: Sat, 5 Jan 2013 11:53:07 -0800 Message-ID: Subject: [gentoo-user] 4 machines - no /dev/cdrom or /dev/dvd anymore From: Mark Knecht To: Gentoo User Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: a05a1f5e-94f4-496b-b19b-9f8e23e60ec4 X-Archives-Hash: a04a5c8f0340831c490aa9caffd3b43c 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. First, this is udev doing (or not doing) this, correct? As shown below hwinfo see the cdrom drive, and there are long existing udev rules that appear to want to create the devices. These rules have worked in the past but don't now. Are others running Gentoo stable, and in this case udev-171-r9, seeing this problem? Anyone recognize what's wrong with the udev rules below, or does udev no longer generate these devices at all? I understand that the 70-persistent-net.rules stuff has been 'removed'. Is this true for CDs also or have I botched something up on all these machines? Thanks in advance and please ask me to post anything else required. I've gone through the latest Gentoo install docs and don't see that I'm doing anything other than what they tell me to do but with udev in such a state of flux I've obviously missed something. Thanks, Mark c2stable rules.d # hwinfo --cdrom 67: SCSI a00.0: 10602 CD-ROM (DVD) [Created at block.249] Unique ID: KD9E.QuQg_05Xv13 Parent ID: w7Y8.UKoiXLHVNY4 SysFS ID: /class/block/sr0 SysFS BusID: 10:0:0:0 SysFS Device Link: /devices/pci0000:00/0000:00:1f.2/ata11/host10/target10:0:0/10:0:0:0 Hardware Class: cdrom Model: "Optiarc DVD RW AD-7241S" Vendor: "Optiarc" Device: "DVD RW AD-7241S" Revision: "1.03" Driver: "ata_piix", "sr" Driver Modules: "ata_piix" Device File: /dev/sr0 (/dev/sg2) Device Files: /dev/sr0, /dev/scd0, /dev/disk/by-id/ata-Optiarc_DVD_RW_AD-7241S Device Number: block 11:0 (char 21:2) Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL, DVD-RAM, MRW, MRW-W Drive status: no medium Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #25 (IDE interface) Drive Speed: 48 c2stable rules.d # cat 70-persistent-cd.rules # This file was automatically generated by the /lib64/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. # DVD_RW_AD-7241S (pci-0000:00:1f.2-scsi-0:0:0:0) SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1" SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1" SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1" SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1" # Virtual_Cdrom (pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:1) SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="BUFFALO_Virtual_Cdrom_00101007000912560-0:1", SYMLINK+="cdrom1", ENV{GENERATED}="1" # USB-SATA_Bridge (pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:1) SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="BUFFALO_USB-SATA_Bridge_00101007000912560", SYMLINK+="cdrom2", ENV{GENERATED}="1" c2stable rules.d # mark@c2stable ~ $ cat /etc/fstab # /etc/fstab: static file system information. # # noatime turns off atimes for increased performance (atimes normally aren't # needed; notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail / tail freely. # # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # See the manpage fstab(5) for more information. # # # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. LABEL=boot /boot ext2 noauto,noatime 1 2 #/dev/md126 / ext3 noatime 0 1 LABEL=RAID1root / ext3 noatime 0 1 LABEL=swapA none swap sw 0 0 LABEL=swapB none swap sw 0 0 LABEL=swapC none swap sw 0 0 /dev/cdrom /mnt/cdrom auto noauto,ro,users 0 0 /dev/md6 /backups ext3 noauto,rw,users 0 0 LABEL=VirtualMachines /VirtualMachines ext3 auto,rw,users 0 1 LABEL=ExtServerBackup /mnt/ExtServerBackup ext3 noauto,rw,users 0 0 #LABEL=VideoLib /mnt/VideoLib ext3 auto,rw,users 0 1 LABEL=VideoLib2 /mnt/VideoLib ext4 auto,rw,users 0 1 #LABEL=VideoLib2 /mnt/VideoLib2 ext4 auto,rw,users 0 1 LABEL=fastVM /mnt/fastVM ext4 auto,rw,discard,users 0 1 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 tmpfs /var/tmp/portage tmpfs size=8G 0 0 #Other things currently unused but still hanging around... LABEL=extboot /mnt/disasterROOT ext2 noauto,rw,users 0 0 LABEL=extroot /mnt/disasterROOT ext3 noauto,rw,users 0 0 LABEL=extpackages /mnt/disasterROOT ext3 noauto,rw,users 0 0 LABEL=exthome /mnt/disasterROOT ext3 noauto,rw,users 0 0 LABEL=extVM /mnt/disasterROOT ext3 noauto,rw,users 0 0 LABEL=DirectVMBackup /mnt/DirectVMBackup ext3 noauto,rw,users 0 0 mark@c2stable ~ $