Your message dated Sun, 3 Jul 2005 19:27:05 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#287225: cd-aliases.rules not enabled on updates from udev 
0.046-5 and later
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Dec 2004 02:20:09 +0000
>From [EMAIL PROTECTED] Sat Dec 25 18:20:09 2004
Return-path: <[EMAIL PROTECTED]>
Received: from a.mail.sonic.net [64.142.16.245] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CiO0v-0007Jl-00; Sat, 25 Dec 2004 18:20:09 -0800
Received: from lapdog (adsl-64-142-49-200.sonic.net [64.142.49.200])
        by a.mail.sonic.net (8.12.11/8.12.11) with ESMTP id iBQ2K8HI020968
        (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO)
        for <[EMAIL PROTECTED]>; Sat, 25 Dec 2004 18:20:08 -0800
Received: from jim by lapdog with local (Exim 4.34)
        id 1CiO5C-0001Ly-GS
        for [EMAIL PROTECTED]; Sat, 25 Dec 2004 18:24:34 -0800
Date: Sat, 25 Dec 2004 18:24:34 -0800
From: Jim McCloskey <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: udev (0.50) does not create cdrom, dvd symlinks
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Operating-System: Debian GNU/Linux/2.6.9 (i686)
User-Agent: Mutt/1.5.6+20040907i
Sender: Jim McCloskey <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: udev
Version: 0.050-1

I am not sure if this problem is the same as, or different than, that
repored in #284782.

It concerns udev 0.050-1 from current (December 24th 2004)
unstable. The kernel version is 2.6.9 (hand-compiled,  not from a
Debian package). 

The problem is the same as that reported under #284782---the default
symlinks are not created for the CD/DVD device. The device is
correctly detected by the kernel at boot-time:

   Probing IDE interface ide1...
   hdc: UJDA720 DVD/CDRW, ATAPI CD/DVD-ROM drive
   ide1 at 0x170-0x177,0x376 on irq 15

   hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
   Uniform CD-ROM driver Revision: 3.20

and /dev/hdc is created:

  brw-rw----   1 root disk   22,   0 2004-12-25 17:43 hdc

The output of  udevinfo -a -p /sys/block/hdc:

----------------------------------------------------------------------
device '/sys/block/hdc' has major:minor 22:0
  looking at class device '/sys/block/hdc':
    SYSFS{dev}="22:0"
    SYSFS{range}="1"
    SYSFS{removable}="1"
    SYSFS{size}="8388604"
    SYSFS{stat}="       0        0        0        0        0        0        0 
       0        0        0        0"

follow the class device's "device"
  looking at the device chain at 
'/sys/devices/pci0000:00/0000:00:1f.1/ide1/1.0':
    BUS="ide"
    ID="1.0"
    SYSFS{detach_state}="0"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:1f.1/ide1':
    BUS=""
    ID="ide1"
    SYSFS{detach_state}="0"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:1f.1':
    BUS="pci"
    ID="0000:00:1f.1"
    SYSFS{class}="0x010180"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x244b"
    SYSFS{irq}="0"
    SYSFS{subsystem_device}="0x8170"
    SYSFS{subsystem_vendor}="0x1071"
    SYSFS{vendor}="0x8086"

  looking at the device chain at '/sys/devices/pci0000:00':
    BUS=""
    ID="pci0000:00"
    SYSFS{detach_state}="0"

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

All works fine if I access the device directly as /dev/hdc, but no
symlinks are created in /dev/. The contents of /etc/udev/ are
unmodified from the install:

  /etc/udev:

  -rw-r--r--    1 root root  682 2004-12-09 10:30 cd-aliases.rules
  -rw-r--r--    1 root root  465 2004-12-24 15:30 cdsymlinks.conf
  -rw-r--r--    1 root root  894 2004-12-09 10:30 compat-full.rules
  -rw-r--r--    1 root root  910 2004-12-09 10:30 compat.rules
  -rw-r--r--    1 root root 5145 2004-12-24 05:10 devfs.rules
  -rw-r--r--    1 root root  415 2004-12-25 15:51 links.conf
  drwxr-xr-x    2 root root 4096 2004-12-24 15:57 permissions.d
  drwxr-xr-x    2 root root 4096 2004-12-25 17:41 rules.d
  drwxr-xr-x    2 root root 4096 2004-12-24 15:57 scripts
  -rw-r--r--    1 root root  330 2004-12-09 10:30 simple-cd-aliases.rules
  -rw-r--r--    1 root root 1110 2004-12-09 10:30 udev.conf
  -rw-r--r--    1 root root 2634 2004-12-09 10:30 udev.rules

  /etc/udev/rules.d:

  drwxr-xr-x  2 root root 4096 2004-12-25 17:41 .
  drwxr-xr-x  5 root root 4096 2004-12-25 17:30 ..
  lrwxr-xr-x  1 root root   13 2004-04-02 16:37 udev.rules -> ../udev.rules

I worked around the problem by creating the file 10-local.rules in
/etc/udev/rules.d/ containing the line:

  BUS="ide", KERNEL="hdc", NAME="%k", SYMLINK="cdrom dvd"

which, on re-boot, successfully created the cdrom and dvd symlinks.

I'm sorry not to be able to provide more info, but I can find no
relevant error or log messages. Thanks very much for all your work on
udev, and please let me know if I can help in any way,

Jim McCloskey



---------------------------------------
Received: (at 287225-done) by bugs.debian.org; 3 Jul 2005 17:28:05 +0000
>From [EMAIL PROTECTED] Sun Jul 03 10:28:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from attila.bofh.it [213.92.8.2] (postfix)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Dp8GD-0000bO-00; Sun, 03 Jul 2005 10:28:05 -0700
Received: by attila.bofh.it (Postfix, from userid 10)
        id E284B5F727; Sun,  3 Jul 2005 19:28:03 +0200 (CEST)
Received: by wonderland.linux.it (Postfix, from userid 1001)
        id 2C7C61C6A5; Sun,  3 Jul 2005 19:27:05 +0200 (CEST)
Date: Sun, 3 Jul 2005 19:27:05 +0200
To: [EMAIL PROTECTED]
Subject: Re: Bug#287225: cd-aliases.rules not enabled on updates from udev 
0.046-5 and later
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="+xNpyl7Qekk2NvDX"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
From: [EMAIL PROTECTED] (Marco d'Itri)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--+xNpyl7Qekk2NvDX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan 07, Marco d'Itri <[EMAIL PROTECTED]> wrote:

> Because there is no way to know if cd-aliases.rules is not there because
> of the bug or because of root removed it I will leave the bug open for a
> while and tagged wontfix.
Closing.

--=20
ciao,
Marco

--+xNpyl7Qekk2NvDX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCyB/pFGfw2OHuP7ERArwHAJ4916clwjPnjuDRCeFGa+MyDdbZjQCfcfOj
uGN8D71hQ+bM8jzHuuaJ+Ao=
=8s55
-----END PGP SIGNATURE-----

--+xNpyl7Qekk2NvDX--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to