--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: udevinfo don't show ID_TYPE field of pcmcia cdrom
- From: "Dario Rapisardi" <dario@rapisardi.org>
- Date: Wed, 15 Nov 2006 00:38:35 -0300
- Message-id: <d5a6f4b20611141938m1e2a61e7ic22cce7929ad0848@mail.gmail.com>
Package: udev
Version: 0.100-2.2
Hi,
As informed in #398305, D-I had some trouble recognizing my pcmcia
cd-rom during installation.
Digging a little bit more, I found that the symlink was correct in
/dev/cdroms/, but the "list-devices" script was not able to find it.
The problem is that "udevinfo -q env -p /block/hde" (from the
list-devices script) don't return an ID_TYPE field as expected.
So, with the system already installed, I tried out the following commands:
# udevinfo -q all -p /block/hde
P: /block/hde
N: hde
S: cdrom
E: ID_CDROM=1
E: ID_CDROM_MRW=1
E: ID_CDROM_MRW_W=1
E: GENERATED=1
(Please note that this very same command from d-i didn't show any Env
field, only Path, Name and Symlink. This is the output from the
installed system).
# udevtest /block/hde
This program is for debugging only, it does not create any node,
or run any program specified by a RUN key. It may show incorrect results,
if rules match against subsystem specfic kernel event variables.
main: looking at device '/block/hde' from subsystem 'block'
run_program: 'cdrom_id --export /dev/.tmp-33-0'
run_program: '/lib/udev/cdrom_id' (stdout) 'ID_CDROM=1'
run_program: '/lib/udev/cdrom_id' (stdout) 'ID_CDROM_MRW=1'
run_program: '/lib/udev/cdrom_id' (stdout) 'ID_CDROM_MRW_W=1'
run_program: '/lib/udev/cdrom_id' returned with status 0
udev_rules_get_name: add symlink 'cdrom'
udev_rules_get_name: no node name set, will use kernel name 'hde'
udev_device_event: device '/block/hde' already in database, validate
currently present symlinks
udev_node_add: creating device node '/dev/hde', major = '33', minor =
'0', mode = '0660', uid = '0', gid = '24'
udev_node_add: creating symlink '/dev/cdrom' to 'hde'
main: run: 'socket:/org/kernel/udev/monitor'
main: run: '/etc/init.d/hdparm hotplug'
I also ran the "ata_id" program from the "extras" directory of the
udev sources. Interestenly, it showed the "ID_TYPE" field:
# ./ata_id --export /dev/hde
ID_TYPE=cd
ID_MODEL=TOSHIBA_CD-ROM_XM-7002Bc
ID_SERIAL=
ID_REVISION=1910
ID_BUS=ata
If there's something you want me to try in order to help, I'll be glad to.
Thanks,
Dario.-
--- End Message ---
--- Begin Message ---
Source: debian-installer-utils
Source-Version: 1.40
We believe that the bug you reported is fixed in the latest version of
debian-installer-utils, which is due to be installed in the Debian FTP archive:
debian-installer-utils_1.40.dsc
to pool/main/d/debian-installer-utils/debian-installer-utils_1.40.dsc
debian-installer-utils_1.40.tar.gz
to pool/main/d/debian-installer-utils/debian-installer-utils_1.40.tar.gz
di-utils-exit-installer_1.40_all.udeb
to pool/main/d/debian-installer-utils/di-utils-exit-installer_1.40_all.udeb
di-utils-mapdevfs_1.40_i386.udeb
to pool/main/d/debian-installer-utils/di-utils-mapdevfs_1.40_i386.udeb
di-utils-reboot_1.40_all.udeb
to pool/main/d/debian-installer-utils/di-utils-reboot_1.40_all.udeb
di-utils-shell_1.40_all.udeb
to pool/main/d/debian-installer-utils/di-utils-shell_1.40_all.udeb
di-utils-terminfo_1.40_all.udeb
to pool/main/d/debian-installer-utils/di-utils-terminfo_1.40_all.udeb
di-utils_1.40_i386.udeb
to pool/main/d/debian-installer-utils/di-utils_1.40_i386.udeb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 398696@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Frans Pop <fjp@debian.org> (supplier of updated debian-installer-utils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 22 Nov 2006 13:57:00 +0100
Source: debian-installer-utils
Binary: di-utils-terminfo di-utils-mapdevfs di-utils-shell di-utils-reboot di-utils di-utils-exit-installer
Architecture: source i386 all
Version: 1.40
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@debian.org>
Description:
di-utils - Miscellaneous utilities for the debian installer (udeb)
di-utils-exit-installer - Exit installer (udeb)
di-utils-mapdevfs - mapdevfs utility for the debian installer (udeb)
di-utils-reboot - Reboot (udeb)
di-utils-shell - Execute a shell (udeb)
di-utils-terminfo - Terminfo entries needed by newt/slang in debian installer (udeb)
Closes: 395920 398696
Changes:
debian-installer-utils (1.40) unstable; urgency=low
.
[ Joey Hess ]
* user-params: skip items in preseed_aliases. Closes: #395920.
.
[ Frans Pop ]
* Remove Thorsten Sauter from uploaders as requested by MIA team.
.
[ Colin Watson ]
* list-devices: Look for ID_CDROM= in udevinfo output rather than
ID_TYPE=cd when looking for CD devices. Closes: #398696.
.
[ Updated translations ]
* Bulgarian (bg.po) by Damyan Ivanov
* Bosnian (bs.po) by Safir Secerovic
* Kurdish (ku.po) by rizoye-xerzi
* Romanian (ro.po) by Eddy PetriÈ?or
* Slovenian (sl.po) by Matej KovaÄ?iÄ?
Files:
b7eeb54615125c83b7b90f4668d545b8 1041 debian-installer standard debian-installer-utils_1.40.dsc
91a05ee33a50c14de8e07f3cd1388f47 62284 debian-installer standard debian-installer-utils_1.40.tar.gz
e92c56a972c3ad00df626d851450ecf6 16714 debian-installer standard di-utils-shell_1.40_all.udeb
9f1719c427c341705dccd2d1aa920d5d 7534 debian-installer standard di-utils-reboot_1.40_all.udeb
aab58808a86696acb3e76fb87954b237 2670 debian-installer extra di-utils-exit-installer_1.40_all.udeb
beee69dce3b010cc82b00871e6cf8805 2390 debian-installer standard di-utils-terminfo_1.40_all.udeb
42332e255783f214516cc4001dd579ad 9288 debian-installer standard di-utils_1.40_i386.udeb
ea7ac6b24d9b083515bea09e104e9bca 2180 debian-installer standard di-utils-mapdevfs_1.40_i386.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFZEl4gm/Kwh6ICoQRAqV0AJ4rBEGbgT8CLVlH9vEm3P3+FwdMEACgx5uk
+1l2/tfUF932E5llojpKqmw=
=olV3
-----END PGP SIGNATURE-----
--- End Message ---