All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joachim Breitner <mail@joachim-breitner.de>
To: linux-hotplug@vger.kernel.org
Subject: cm4000 device creation
Date: Sun, 29 Jan 2006 12:02:40 +0000	[thread overview]
Message-ID: <1138536160.6509.5.camel@otto.ehbuehl.net> (raw)

Hi list,

since the change from pcmcia-cs to pcmciautils (I think at least), the
device /dev/cmm0 for my smartcard reader (Cardman 4000) is not created
anymore. I don't know enough about the internals of udev et. al to
pinpoint the problem, so I provide you with a lot of logs :-)

Without the cm4000_cs modules loaded (debian unstable 2.6.15 kernel), I
run pccardctl insert. 

Here is the udevmonitor output:
UEVENT[1138536089.027066] add@/devices/pci0000:00/0000:00:1e.0/0000:02:00.0/0.0
UDEV  [1138536089.072472] add@/devices/pci0000:00/0000:00:1e.0/0000:02:00.0/0.0
UEVENT[1138536089.102026] add@/module/cm4000_cs
UEVENT[1138536089.102627] add@/bus/pcmcia/drivers/cm4000_cs
UDEV  [1138536089.152476] add@/module/cm4000_cs
UDEV  [1138536089.154665] add@/bus/pcmcia/drivers/cm4000_cs

And there the syslog output, with udevcontrol log_priorityÞbug:
Jan 29 13:01:29 otto kernel: pccard: PCMCIA card inserted into slot 0
Jan 29 13:01:29 otto kernel: pcmcia: registering new device pcmcia0.0
Jan 29 13:01:29 otto udevd[7160]: udev_event_run: seq 1818 forked, pid [7694], 'add' 'pcmcia', 0 seconds old
Jan 29 13:01:29 otto udevd-event[7694]: wait_for_sysfs: file '/sys/devices/pci0000:00/0000:00:1e.0/0000:02:00.0/0.0/bus' appeared after 0 loops
Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/lib/udev/pcmcia-check-broken-cis'
Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/lib/udev/pcmcia-check-broken-cis' returned with status 0
Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/bin/sh -c 'echo 1 > /sys//devices/pci0000:00/0000:00:1e.0/0000:02:00.0/0.0/allow_func_id_match''
Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/bin/sh' returned with status 0
Jan 29 13:01:29 otto udevd-event[7694]: pass_env_to_socket: passed 299 bytes to socket '/org/kernel/udev/monitor',
Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/sbin/modprobe pcmcia:m0223c0002f00fn00pfn00pa2FB368CApbA2BD8C39pc00000000pd00000000'
Jan 29 13:01:29 otto udevd[7160]: udev_event_run: seq 1819 forked, pid [7701], 'add' 'module', 0 seconds old
Jan 29 13:01:29 otto kernel: cm4000_cs.c v2.4.0gm5 - All bugs added by Harald Welte
Jan 29 13:01:29 otto udevd[7160]: udev_event_run: seq 1820 forked, pid [7702], 'add' 'drivers', 0 seconds old
Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/sbin/modprobe' returned with status 0
Jan 29 13:01:29 otto udevd-event[7694]: run_program: 'udev_run_hotplugd pcmcia'
Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/lib/udev/udev_run_hotplugd' returned with status 0
Jan 29 13:01:29 otto udevd-event[7694]: run_program: 'udev_run_devd pcmcia'
Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/lib/udev/udev_run_devd' returned with status 0
Jan 29 13:01:29 otto udevd-event[7694]: udev_event_run: seq 1818 finished
Jan 29 13:01:29 otto udevd[7160]: udev_done: seq 1818, pid [7694] exit with 0, 0 seconds old
Jan 29 13:01:29 otto udevd-event[7701]: pass_env_to_socket: passed 113 bytes to socket '/org/kernel/udev/monitor',
Jan 29 13:01:29 otto udevd-event[7701]: udev_event_run: seq 1819 finished
Jan 29 13:01:29 otto udevd[7160]: udev_done: seq 1819, pid [7701] exit with 0, 0 seconds old
Jan 29 13:01:29 otto udevd-event[7702]: pass_env_to_socket: passed 138 bytes to socket '/org/kernel/udev/monitor',
Jan 29 13:01:29 otto udevd-event[7702]: udev_event_run: seq 1820 finished
Jan 29 13:01:29 otto udevd[7160]: udev_done: seq 1820, pid [7702] exit with 0, 0 seconds old


Any ideas, or any more information you need?

Please CC: me on replies, I'm not subscribed to the list.

Thanks,
Joachim
-- 
Joachim "nomeata" Breitner
  mail: mail@joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C
  JID: joachimbreitner@amessage.de | http://www.joachim-breitner.de/
  Debian Developer: nomeata@debian.org
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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:[~2006-01-29 12:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-29 12:02 Joachim Breitner [this message]
2006-01-29 12:58 ` cm4000 device creation Andrey Borzenkov
2006-01-29 13:11 ` Joachim Breitner
2006-01-29 13:21 ` Andrey Borzenkov
2006-01-29 13:33 ` Joachim Breitner
2006-01-29 15:47 ` Andrey Borzenkov

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=1138536160.6509.5.camel@otto.ehbuehl.net \
    --to=mail@joachim-breitner.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.