From: Joachim Breitner Date: Sun, 29 Jan 2006 12:02:40 +0000 Subject: cm4000 device creation Message-Id: <1138536160.6509.5.camel@otto.ehbuehl.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org 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.=20 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=DEbug: 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 [769= 4], '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-chec= k-broken-cis' Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/lib/udev/pcmcia-chec= k-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 wit= h status 0 Jan 29 13:01:29 otto udevd-event[7694]: pass_env_to_socket: passed 299 byte= s 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 [770= 1], 'add' 'module', 0 seconds old Jan 29 13:01:29 otto kernel: cm4000_cs.c v2.4.0gm5 - All bugs added by Hara= ld Welte Jan 29 13:01:29 otto udevd[7160]: udev_event_run: seq 1820 forked, pid [770= 2], 'add' 'drivers', 0 seconds old Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/sbin/modprobe' retur= ned with status 0 Jan 29 13:01:29 otto udevd-event[7694]: run_program: 'udev_run_hotplugd pcm= cia' Jan 29 13:01:29 otto udevd-event[7694]: run_program: '/lib/udev/udev_run_ho= tplugd' 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_de= vd' 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 byte= s 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 byte= s 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 --=20 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=3Dlnk&kid=103432&bid#0486&dat=121642 _______________________________________________ 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