linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: udevinfo messages
Date: Wed, 23 Mar 2005 17:53:47 +0000	[thread overview]
Message-ID: <1111600427.4937.14.camel@localhost.localdomain> (raw)
In-Reply-To: <4241673C.8090901@conterra.de>

On Wed, 2005-03-23 at 13:55 +0100, Dieter Stüken wrote:
> While trying to get 2.6.11 running on my Suse 9.1 system I encountered some
> problems with mkinitrd and the udev package Suse uses (seems to be a patched
> udev-052 version). I noticed a few funny synlinks within /dev:
> 
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.196950896 +0100 device2 -> hda2
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.196950896 +0100 not2 -> hda2
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.196950896 +0100 found2 -> hda2
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.196950896 +0100 in2 -> hda2
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.196950896 +0100 database2 -> hda2
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.471909096 +0100 device1 -> hdc1
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.471909096 +0100 not1 -> hdc1
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.471909096 +0100 found1 -> hdc1
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.471909096 +0100 in1 -> hdc1
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.471909096 +0100 database1 -> hdc1
> lrwxrwxrwx  1 root root 3 2005-03-21 15:33:54.785861368 +0100 mknod: -> hda
> lrwxrwxrwx  1 root root 3 2005-03-21 15:33:54.785861368 +0100 No -> hda
> lrwxrwxrwx  1 root root 3 2005-03-21 15:33:54.785861368 +0100 such -> hda
> lrwxrwxrwx  1 root root 3 2005-03-21 15:33:54.785861368 +0100 file -> hda
> lrwxrwxrwx  1 root root 3 2005-03-21 15:33:54.785861368 +0100 or -> hda
> lrwxrwxrwx  1 root root 3 2005-03-21 15:33:54.785861368 +0100 directory\nata_identify: -> hda
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.844852400 +0100 mknod:1 -> hdg1
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.844852400 +0100 No1 -> hdg1
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.844852400 +0100 such1 -> hdg1
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.844852400 +0100 file1 -> hdg1
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.844852400 +0100 or1 -> hdg1
> lrwxrwxrwx  1 root root 4 2005-03-21 15:33:54.844852400 +0100 directory1 -> hdg1
> 
> I don't know exactly, what caused this in depth. But I found udevinfo
> prints all error messages to stdout instead of using stderr, like:
> 
> if (retval != 0) {
>      printf("device not found in database\n");
>      goto exit;
> }

Ah, ok. I will change this. Thanks!

> seems this is taken as a list of symliks to create.

This looks pretty funny. :)

> Seems there is some "ata_identify" utility involved, but I could not find
> how this is used. It does not apear within the official udev-056 release.
> Seems to be some SuSE/Redhad addition.
> 
> Can some one give me a hint, how to debug this? During boot there are some
> messages scrolling by, but finally the console-font gets switched which clips
> off my console history :-(

You may search for PROGRAM= keys in all files in:
  /etc/udev/rules.d/

This is the only way to call external stuff from udev. One of these
rules should match for ide-block-devices and seems to call udevinfo.

Good luck,
Kay



-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id\x15149&opÌk
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  reply	other threads:[~2005-03-23 17:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-23 12:55 udevinfo messages Dieter Stüken
2005-03-23 17:53 ` Kay Sievers [this message]
2005-03-24  8:20 ` Dieter Stüken

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=1111600427.4937.14.camel@localhost.localdomain \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).