udev fails to handle serial device

Bug #904198 reported by Marcelo Toscani Brandão
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
New
Undecided
Unassigned

Bug Description

I only got this bug on this type of computer:

pat-228690
    description: Desktop Computer
    product: Infoway SM-3330
    vendor: Itautec S.A.
    version: Corp
    serial: 4003856600003
    width: 32 bits
    capabilities: smbios-2.5 dmi-2.5 smp-1.4 smp
    configuration: boot=normal chassis=desktop cpus=4 uuid=E0EBCAAA-40C8-E011-B15B-8DCF176D81C6
  *-core
       description: Motherboard
       product: SM 3330
       vendor: Itautec S.A.
       physical id: 0
       version: SM-3330 Padrao 03(Itautec)
       serial: 00-40-A7-21-06-28
       slot: To Be Filled By O.E.M.
     *-firmware
          description: BIOS
          vendor: Itautec SM3330
          physical id: 0
          version: 0112 (01/28/2011)
          size: 64KiB
          capacity: 960KiB
          capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification

This motherboard has an external serial (problably the same one that the Bios call "Remote Access")

           *-serial
                description: IPMI SMIC interface
                product: Realtek Semiconductor Co., Ltd.
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0.3
                bus info: pci@0000:02:00.3
                version: 01
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list
                configuration: driver=ipmi_si latency=0
                resources: irq:17 ioport:d800(size=256) memory:fe8fdc00-fe8fdcff memory:fe8f0000-fe8f3fff

Disabling this on bios doesn't stop it from showing on Ubuntu system, so Ubuntu still tries to configure it, and fails.

Dec 14 08:52:04 pat-228690 init: udevtrigger post-stop process (497) terminated with status 1
Dec 14 08:52:04 pat-228690 udevd[471]: worker [532] unexpectedly returned with status 0x0100
Dec 14 08:52:04 pat-228690 udevd[471]: worker [532] failed while handling '/devices/pci0000:00/0000:00:06.0/0000:02:00.3'

One of the side effects of failing to handle this device, is that cups only starts after udevtrigger has been stopped.
And from system start, to the udevtrigger stopping, there is a delay of 4-5 minutes, where udev tries to configure it, until it fails.
So cups only starts after about 5 minutes of uptime.

root@pat-228690:~# head /etc/init/cups.conf
# cups - CUPS Printing spooler and server

description "CUPS printing spooler/server"
author "Michael Sweet <email address hidden>"

start on (filesystem
          and (started dbus or runlevel [2345])
          and stopped udevtrigger)
stop on runlevel [016]

I also tried on Xubuntu 11.10, with the same results, only different messages:

Dec 14 10:36:25 ubuntu udevd[2393]: timeout: killing '/sbin/modprobe -bv pci:v000010ECd0000816Csv00001B0Asd000000E5bc0Csc07i01' [2407]
Dec 14 10:36:28 udevd[2393]: last message repeated 2 times
Dec 14 10:36:27 ubuntu dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Dec 14 10:36:28 ubuntu udevd[2393]: timeout: killing '/sbin/modprobe -bv pci:v000010ECd0000816Csv00001B0Asd000000E5bc0Csc07i01' [2407]
Dec 14 10:36:35 udevd[2393]: last message repeated 6 times
Dec 14 10:36:35 ubuntu dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Dec 14 10:36:35 ubuntu udevd[2393]: timeout: killing '/sbin/modprobe -bv pci:v000010ECd0000816Csv00001B0Asd000000E5bc0Csc07i01' [2407]
Dec 14 10:36:42 udevd[2393]: last message repeated 6 times
Dec 14 10:36:42 ubuntu dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
Dec 14 10:36:42 ubuntu udevd[2393]: timeout: killing '/sbin/modprobe -bv pci:v000010ECd0000816Csv00001B0Asd000000E5bc0Csc07i01' [2407]
Dec 14 10:36:45 udevd[2393]: last message repeated 3 times
Dec 14 10:36:45 ubuntu kernel: [ 144.644587] init: udevtrigger post-stop process (2325) terminated with status 1
Dec 14 10:36:45 ubuntu kernel: [ 144.680815] lp: driver loaded but no devices found
Dec 14 10:36:45 ubuntu udev-configure-printer: add /module/lp
Dec 14 10:36:45 ubuntu udev-configure-printer: Failed to get parent
Dec 14 10:36:45 ubuntu kernel: [ 144.694392] ppdev: user-space parallel port driver
Dec 14 10:36:46 ubuntu udev-configure-printer: add /module/lp
Dec 14 10:36:46 ubuntu udev-configure-printer: Failed to get parent
Dec 14 10:36:46 ubuntu udevd[2393]: timeout: killing '/sbin/modprobe -bv pci:v000010ECd0000816Csv00001B0Asd000000E5bc0Csc07i01' [2407]

A workaround to the delayed cups start, is to modify the file "/etc/init/cups.conf"
Modify these lines:
From this:

start on (filesystem
          and (started dbus or runlevel [2345])
          and stopped udevtrigger)
stop on runlevel [016]

To this:

start on (filesystem
          and (started dbus or runlevel [2345]))
# and stopped udevtrigger)
stop on runlevel [016]

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: udev 162-2.2
ProcVersionSignature: Ubuntu 2.6.35-31.63-generic-pae 2.6.35.13
Uname: Linux 2.6.35-31-generic-pae i686
Architecture: i386
CurrentDmesg:
 [ 11.760970] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=0
 [ 12.845005] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x000f0001
 [ 21.152012] eth0: no IPv6 routers present
Date: Wed Dec 14 08:49:42 2011
ExecutablePath: /sbin/udevadm
InstallationMedia: Custom Live CD - Release i386
MachineType: Itautec S.A. Infoway SM-3330
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-31-generic-pae root=UUID=9b6b2d27-3b59-4df0-8564-f339aaeaa94d ro quiet splash
ProcEnviron: PATH=(custom, no user)
SourcePackage: udev
dmi.bios.date: 01/28/2011
dmi.bios.vendor: Itautec SM3330
dmi.bios.version: 0112
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: SM 3330
dmi.board.vendor: Itautec S.A.
dmi.board.version: SM-3330 Padrao 03(Itautec)
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnItautecSM3330:bvr0112:bd01/28/2011:svnItautecS.A.:pnInfowaySM-3330:pvrCorp:rvnItautecS.A.:rnSM3330:rvrSM-3330Padrao03(Itautec):cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: Infoway SM-3330
dmi.product.version: Corp
dmi.sys.vendor: Itautec S.A.

Revision history for this message
Marcelo Toscani Brandão (mtbrandao) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.