[Bug 818177] Re: boot failures caused by udev race

Serge Hallyn 818177 at bugs.launchpad.net
Thu Oct 6 13:54:24 UTC 2011


Quoting James Hunt (818177 at bugs.launchpad.net):
> @Adam/@Serge: could you try the following to see if it solves / reduces
> the occurrence of the problem.

It certainly didn't solve it, hung on first try :)  I'm not sure what you
would deem interesting, but here is the output from the script as obtained
from dmesg.

...

[    0.651771] udevd[79]: starting version 173
[    0.812351] FDC 0 is a S82078B
[    0.815764] EXT3-fs: barriers not enabled
[    0.818981] kjournald starting.  Commit interval 5 seconds
[    0.819002] EXT3-fs (vda1): mounted filesystem with ordered data mode
[    0.839767] XXX: ps=  PID USER       VSZ STAT COMMAND
[    0.839768]     1 0         4456 S    /bin/sh /init ro quiet
[    0.839769]     2 0            0 SW   [kthreadd]
[    0.839770]     3 0            0 SW   [ksoftirqd/0]
[    0.839771]     4 0            0 SW   [kworker/0:0]
[    0.839771]     5 0            0 SW   [kworker/u:0]
[    0.839772]     6 0            0 SW   [migration/0]
[    0.839773]     7 0            0 SW<  [cpuset]
[    0.839773]     8 0            0 SW<  [khelper]
[    0.839774]     9 0            0 SW<  [netns]
[    0.839774]    10 0            0 SW   [sync_supers]
[    0.839775]    11 0            0 SW   [bdi-default]
[    0.839776]    12 0            0 SW<  [kintegrityd]
[    0.839776]    13 0            0 SW<  [kblockd]
[    0.839777]    14 0            0 SW<  [ata_sff]
[    0.839778]    15 0            0 SW   [khubd]
[    0.839778]    16 0            0 SW<  [md]
[    0.839779]    17 0            0 SW   [kworker/0:1]
[    0.839780]    18 0            0 SW   [khungtaskd]
[    0.839780]    19 0            0 SW   [kworker/u:1]
[    0.839781]    20 0            0 SW   [kswapd0]
[    0.839781]    21 0            0 SWN  [ksmd]
[    0.839782]    22 0            0 SW   [fsnotify_mark]
[    0.839783]    23 0            0 SW   [ecryptfs-kthrea]
[    0.839783]    24 0            0 SW<  [crypto]
[    0.839784]    32 0            0 SW<  [kthrotld]
[    0.839785]    33 0            0 SW   [aemon --resolve-names=never
[    0.839807]    96 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839808]    97 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839808]    98 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839809]    99 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839810]   100 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839811]   101 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839812]   102 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839813]   103 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839816]   104 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839817]   105 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839817]   106 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839818]   107 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839819]   108 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839820]   109 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839821]   110 0        12752 S    /sb   /sbin/udevd --daemon --resolve-names=never
[    0.839833]   115 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839834]   116 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839834]   120 0        12752 S    /sbin/udevd --daemon --resolve-names=never
[    0.839835]   121 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839836]   122 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839837]   123 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839838]   124 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839839]   125 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839840]   126 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839840]   127 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839841]   128 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839842]   129 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839843]   130 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839844]   131 0        12884 S    /sbin/udevd --daemon --resolve-names=never
[    0.839845]   132 0     0        12984 S    /sbin/udevd --daemon --resolve-names=never
[    0.839854]   175 0        12988 S    /sbin/udevd --daemon --resolve-names=never
[    0.839855]   176 0        12968 S    /sbin/udevd --daemon --resolve-names=never
[    0.839856]   177 0        12964 S    /sbin/udevd --daemon --resolve-names=never
[    0.839857]   178 0        12976 S    /sbin/udevd --daemon --resolve-names=never
[    0.839858]   179 0        12796 S    /sbin/udevd --daemon --resolve-names=never
[    0.839858]   180 0        12944 S    /sbin/udevd --daemon --resolve-names=never
[    0.839859]   181 0        12836 S    /sbin/udevd --daemon --resolve-names=never
[    0.839860]   182 0        12976 S    /sbin/udevd --daemon --resolve-names=never
[    0.839861]   183 0        12976 S    /sbin/udevd --daemon --resolve-names=never
[    0.839862]   184 0        12832 S    /sbin/udevd --daemon --resolve-names=never
[    0.839863]   185 0        12832 S    /sbin/udevd --daemon --resolve-names=never
[    0.839864]   186 0        12816 S    /sbin/udevd --daemon --resolve-names=never
[    0.839864]   187 0        12816 S    /sbin/udevd --daemon --resolve-names=never
[    0.839865]   188 0        12808 S    /sbin/udevd --daemon --resolve-names--daemon --resolve-names=never
[    0.839873]   193 0        12780 S    /sbin/udevd --daemon --resolve-names=never
[    0.839874]   194 0        12780 S    /sbin/udevd --daemon --resolve-names=never
[    0.839875]   195 0        12780 S    /sbin/udevd --daemon --resolve-names=never
[    0.839876]   196 0        12784 S    /sbin/udevd --daemon --resolve-names=never
[    0.839876]   197 0        12784 S    /sbin/udevd --daemon --resolve-names=never
[    0.839877]   198 0        12784 S    /sbin/udevd --daemon --resolve-names=never
[    0.839878]   199 0        12784 S    /sbin/udevd --daemon --resolve-names=never
[    0.839879]   200 0        12800 S    /sbin/udevd --daemon --resolve-names=never
[    0.839880]   201 0        12800 S    /sbin/udevd --daemon --resolve-names=never
[    0.839881]   202 0        12792 S    /sbin/udevd --daemon --resolve-names=never
[    0.839882]   203 0        12792 S    /sbin/udevd --daemon --resolve-names=never
[    0.839885]   204 0        12824 S    /sbin/udevd --daemon --resolve-names=never
[    0.839886]   224 0            0 SW   [kjournald]
[    0.839886]   231 0         4456 S    /bin/sh -e /scripts/init-bottom/udev
[    0.839887]   232 0         4460 R    ps -ef, /dev=crw-------    1   10,  6w-------    1    1,  11 kmsg
[    0.839894] crw-------    1    1,  12 oldmem
[    0.839895] crw-rw-rw-    1    5,   0 tty
[    0.839896] crw-------    1    5,   1 console
[    0.839896] crw--w----    1    4,   0 tty0
[    0.839897] crw-------    1    7,   0 vcs
[    0.839897] crw-------    1    7, 128 vcsa
[    0.839898] crw-------    1    7,   1 vcs1
[    0.839899] crw-------    1    7, 129 vcsa1
[    0.839899] crw--w----    1    4,   1 tty1
[    0.839900] crw--w----    1    4,   2 tty2
[    0.839900] crw--w----    1    4,   3 tty3
[    0.839901] crw--w----    1    4,   4 tty4
[    0.839902] crw-------    1    4,   5 tty5
[    0.839902] crw-------    1    4,   6 tty6
[    0.839903] crw-------    1    4,   7 tty7
[    0.839903] crw-------    1    4,   8 tty8
[    0.839904] crw-------    1    4,   9 tty9
[    0.839904] crw--w----    1    4,  10 tty10
[    0.839905] crw--w----    1    4,  11 tty11
[    0.839906] crw--w----    1    4,  12 tty12
[    0.839906] crw--w----    1    4,  13 tty13
[    0.839907] crw--w----    1    4,  14 tty14
[    0.839907] crw--w----    1    4,  15 tty15
[    0.839908] crw--w----    1    4,  16 tty16
[    0.839909] crw--w----    1    4,  17 tty17
[    0.839909] crw--w----    1    4,  18 tty18
[    0.839910] crw--w----    1    4,  19 tty19
[    0.839910] crw--w----    1    4,  20 tty20
[    0.839911] crw--w----    1    4,  21 tty21
[    0.839912] crw--w----    1    4,  22 tty22
[    0.839912] crw--w----    1    4,  23 tty23
[    0.839913] crw--w----    1-    1    4,  40 tty40
[    0.839928] crw--w----    1    4,  41 tty41
[    0.839929] crw--w----    1    4,  42 tty42
[    0.839929] crw--w----    1    4,  43 tty43
[    0.839930] crw--w----    1    4,  44 tty44
[    0.839931] crw--w----    1    4,  45 tty45
[    0.839931] crw--w----    1    4,  46 tty46
[    0.839932] crw--w----    1    4,  47 tty47
[    0.839932] crw-------    1    4,  48 tty48
[    0.839933] crw--w----    1    4,  49 tty49
[    0.839933] crw-------    1    4,  50 tty50
[    0.839934] crw-------    1    4,  51 tty51
[    0.839935] crw-------    1    4,  52 tty52
[    0.839935] crw-------    1    4,  53 tty53
[    0.839936] crw-------    1    4,  54 tty54
[    0.839936] crw-------    1    4,  55 tty55
[    0.839937] crw-------    1    4,  56 tty56
[    0.839938] crw-------    1    4,  57 tty57
[    0.839938] crw-------    1    4,  58 tty58
[    0.839939] crw-------    1    4,  59 tty59
[    0.839939] crw-------    1    4,  60 tty60
[    0.839940] crw-------    1    4,  61 tty61
[    0.839941] crw-------    1    4,  62 tty62
[    0.839941] crw-------    1    4,  63 tty63
[    0.839942] crw-------    1   10, 227 mcelog
[    0.839942] crw-------    1   10, 231 snapshot
[    0.839943] crw-------    1   10,  61 ecryptfs
[    0.839944] crw-rw-rw-    1   10, 229 fuse
[    0.839944] crw-rw-rw-    1    5,   2 ptmx
[    0.839945] crw-------    1    4,  64 ttyS0
[    0.839945] crw-------    1    4,  65 ttyS1
[    0.839946] crw-------    1    4,  66 ttyS2
[    0.839947] crw ttyS20
[    0.839954] crw-------    1    4,  85 ttyS21
[    0.839955] crw-------    1    4,  86 ttyS22
[    0.839955] crw-------    1    4,  87 ttyS23
[    0.839956] crw-------    1    4,  88 ttyS24
[    0.839956] crw-------    1    4,  89 ttyS25
[    0.839957] crw-------    1    4,  90 ttyS26
[    0.839958] crw-------    1    4,  91 ttyS27
[    0.839958] crw-------    1    4,  92 ttyS28
[    0.839959] crw-------    1    4,  93 ttyS29
[    0.839959] crw-------    1    4,  94 ttyS30
[    0.839960] crw-------    1    4,  95 ttyS31
[    0.839962] crw-------    1    5,   3 ttyprintk
[    0.839963] crw-------    1   10, 228 hpet
[    0.839964] brw-------    1    1,   0 ram0
[    0.839964] brw-------    1    1,   1 ram1
[    0.839965] brw-------    1    1,   2 ram2
[    0.839965] brw-------    1    1,   3 ram3
[    0.839966] brw-------    1    1,   4 ram4
[    0.839967] brw-------    1    1,   5 ram5
[    0.839967] brw-------    1    1,   6 ram6
[    0.839968] brw-------    1    1,   7 ram7
[    0.839968] brw-------    1    1,   8 ram8
[    0.839969] brw-------    1    1,   9 ram9
[    0.839970] brw-------    1    1,  10 ram10
[    0.839970] brw-------    1    1,  11 ram11
[    0.839971] brw-------    1    1,  12 ram12
[    0.839971] brw-------    1    1,  13 ram13
[    0.839972] brw-------    1    1,  14 ram14
[    0.839973] brw-------    1    1,  15 ram15
[    0.839973] brw-------    1    7,   0 loop0
[    0.839974] brw-------    1    7,   1 loop1
[    0.839974] brw-------    1     rtc0
[    0.839980] drwxr-xr-x    2        60 mapper
[    0.839980] crw-------    1   10,  60 cpu_dma_latency
[    0.839981] crw-------    1   10,  59 network_latency
[    0.839982] crw-------    1   10,  58 network_throughput
[    0.839982] brw-------    1   11,   0 sr0
[    0.839983] crw-------    1   21,   0 sg0
[    0.839984] drwxr-xr-x    2        60 bsg
[    0.839984] drwxr-xr-x    2         0 pts
[    0.839985] lrwxrwxrwx    1        11 core -> /proc/kcore
[    0.839985] lrwxrwxrwx    1        13 fd -> /proc/self/fd
[    0.839986] lrwxrwxrwx    1        15 stdin -> /proc/self/fd/0
[    0.839987] lrwxrwxrwx    1        15 stdout -> /proc/self/fd/1
[    0.839988] lrwxrwxrwx    1        15 stderr -> /proc/self/fd/2
[    0.839988] crw-------    1   10, 234 btrfs-control
[    0.839989] drwxr-xr-x    2       620 block
[    0.839990] lrwxrwxrwx    1         3 scd0 -> sr0
[    0.839990] drwxr-xr-x    5       100 disk
[    0.839991] drwxr-xr-x    2      2260 char
[    0.839991] lrwxrwxrwx    1         4 rtc -> rtc0

-serge

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/818177

Title:
  boot failures caused by udev race

Status in “linux” package in Ubuntu:
  Invalid
Status in “udev” package in Ubuntu:
  Confirmed
Status in “linux” source package in Oneiric:
  Invalid
Status in “udev” source package in Oneiric:
  Confirmed

Bug description:
  After running a do-release-upgrade -d on a natty server, I'm unable to
  boot the machine properly.

  It looks like it doesn't see the local disks anymore.

  I think this looks quite a lot like the debbug linked from here:
  https://bugs.launchpad.net/ubuntu/oneiric/+source/linux/+bug/746751

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: linux-image-3.0.0-7-server 3.0.0-7.8
  ProcVersionSignature: Ubuntu 3.0.0-7.8-server 3.0.0
  Uname: Linux 3.0.0-7-server x86_64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 2011-07-29 13:34 seq
   crw-rw---- 1 root audio 116, 33 2011-07-29 13:34 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  Date: Fri Jul 29 13:40:10 2011
  HibernationDevice: RESUME=UUID=844d17fa-ff69-4250-844b-33b930236c56
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
   
   eth1      no wireless extensions.
  MachineType: HP ProLiant DL380 G5
  PciMultimedia:
   
  ProcEnviron:
   LANGUAGE=en_US:
   PATH=(custom, user)
   LANG=en_US
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-7-server root=/dev/mapper/User Name-root ro INIT_VERBOSE=yes
  RelatedPackageVersions:
   linux-restricted-modules-3.0.0-7-server N/A
   linux-backports-modules-3.0.0-7-server  N/A
   linux-firmware                          1.56
  RfKill: Error: [Errno 2] No such file or directory
  SourcePackage: linux
  UpgradeStatus: Upgraded to oneiric on 2011-07-29 (0 days ago)
  dmi.bios.date: 06/28/2007
  dmi.bios.vendor: HP
  dmi.bios.version: P56
  dmi.chassis.type: 23
  dmi.chassis.vendor: HP
  dmi.modalias: dmi:bvnHP:bvrP56:bd06/28/2007:svnHP:pnProLiantDL380G5:pvr:cvnHP:ct23:cvr:
  dmi.product.name: ProLiant DL380 G5
  dmi.sys.vendor: HP

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/818177/+subscriptions




More information about the foundations-bugs mailing list