Bug#790560: udev fails to start on sparc boot, breaking boot

Meelis Roos mroos at linux.ee
Tue Jun 30 20:48:12 BST 2015


> > Upgraded to 221-1 with init=/bin/bash and chroot, still the same:
> > 
> > Loading, please wait...
> > e or neveruudevadm: unrecognized option '--action=add'
> 
> Is that "e or neveru" a corruption of some sort?

Yes, it seems so. With different kernel with no initramfs, there were 
more corrupted strings from the time udev started.

> > Begin: Loading essential drivers ... done.
> > Begin: Running /scripts/init-premount .[   63.869458] input: Sun Mouse as /devices/root/f005f9c0/f00601b4/f0061504/f0064df4/serio1/input/1
> > ... done.
> > Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
> > Begin: Running /scripts/local-premount ... done.
> > udevadm: unrecognized option '--timeout=10'
> 
> The udevadm version in v220 or v221 certainly supports --timeout=10

Yes, and the other options too.

> Is your initramfs outdated?

I believe it was updated during each debian upgrade... the date is 
todays.

Extracted it, sha1sum is same for /bin/udevadm and the same file in 
initramfs. cc02f7f1c3ad58f292d8a1f23da12131e4ad1736 as it comes from 
udev 221-1.

There is only a single initramfs in my /boot so it can not be a wrong 
one.

> Did older udev versions work?

Yes.

By dpkg.log, 215-18 was the previous version before 220-7 that broke. 
Unfortunatley, 215 does not seem to be available from Debian mirrors any 
more. 215-18 seems to be available from snapshot.debian.org, so I 
downloaded udev and systemd packages (all that I had 221-1 as of now) 
and downgraded the whole bunch. Both udev and syste,d work fine.

Would it be useful to test some intermediate version?

Tried to reinstall udev and libudev1 221-1, leaving systemd at 215-8. 
The install failed, with strange udevE string (this was iover ssh, so no 
serial corruption):

(Reading database ... 34283 files and directories currently installed.)
Preparing to unpack .../libudev1_221-1_sparc.deb ...
Unpacking libudev1:sparc (221-1) over (215-18) ...
Setting up libudev1:sparc (221-1) ...
Processing triggers for libc-bin (2.19-18) ...
(Reading database ... 34284 files and directories currently installed.)
Preparing to unpack .../archives/udev_221-1_sparc.deb ...
Unpacking udev (221-1) over (215-18) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up udev (221-1) ...
Installing new version of config file /etc/init.d/udev ...
Installing new version of config file 
/etc/init/udev-fallback-graphics.conf ...
Installing new version of config file /etc/init/udev-finish.conf ...
Installing new version of config file /etc/init/udevmonitor.conf ...
Installing new version of config file /etc/udev/udev.conf ...
 operation parameter..Job for systemd-udevd.service failed. See 
'systemctl status systemd-udevd.service' and 'journalctl -xn' for 
details.
invoke-rc.d: initscript udev, action "restart" failed.
dpkg: error processing package udev (--configure):
 subprocess installed post-installation script returned error exit 
status 1
Setting up libpam-systemd:sparc (215-18) ...
Errors were encountered while processing:
 udevE: Sub-process /usr/bin/dpkg returned an error code (1)

# systemctl status systemd-udevd.service
● systemd-udevd.service - udev Kernel Device Manager
   Loaded: loaded (/lib/systemd/system/systemd-udevd.service; static)
   Active: failed (Result: start-limit) since Tue 2015-06-30 22:41:05 EEST; 2min 0s ago
     Docs: man:systemd-udevd.service(8)
           man:udev(7)
  Process: 1501 ExecStart=/lib/systemd/systemd-udevd (code=exited, status=1/FAILURE)
 Main PID: 1501 (code=exited, status=1/FAILURE)

Jun 30 22:41:05 u5 systemd[1]: Unit systemd-udevd.service entered failed state.
Jun 30 22:41:05 u5 systemd[1]: systemd-udevd.service has no holdoff time, scheduling restart.
Jun 30 22:41:05 u5 systemd[1]: Stopping udev Kernel Device Manager...
Jun 30 22:41:05 u5 systemd[1]: Starting udev Kernel Device Manager...
Jun 30 22:41:05 u5 systemd[1]: systemd-udevd.service start request repeated too quickly, refusing to start.
Jun 30 22:41:05 u5 systemd[1]: Failed to start udev Kernel Device Manager.
Jun 30 22:41:05 u5 systemd[1]: Unit systemd-udevd.service entered failed state.


# journalctl -xn
-- Logs begin at Tue 2015-06-30 22:37:15 EEST, end at Tue 2015-06-30 22:41:05 EEST. --
Jun 30 22:41:05 u5 systemd[1]: Starting udev Kernel Device Manager...
-- Subject: Unit systemd-udevd.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-udevd.service has begun starting up.
Jun 30 22:41:05 u5 systemd[1]: systemd-udevd.service: main process exited, code=exited, status=1/FAILURE
Jun 30 22:41:05 u5 systemd[1]: Failed to start udev Kernel Device Manager.
-- Subject: Unit systemd-udevd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-udevd.service has failed.
-- 
-- The result is failed.
Jun 30 22:41:05 u5 systemd[1]: Unit systemd-udevd.service entered failed state.
Jun 30 22:41:05 u5 systemd[1]: systemd-udevd.service has no holdoff time, scheduling restart.
Jun 30 22:41:05 u5 systemd[1]: Stopping udev Kernel Device Manager...
-- Subject: Unit systemd-udevd.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-udevd.service has begun shutting down.
Jun 30 22:41:05 u5 systemd[1]: Starting udev Kernel Device Manager...
-- Subject: Unit systemd-udevd.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-udevd.service has begun starting up.
Jun 30 22:41:05 u5 systemd[1]: systemd-udevd.service start request repeated too quickly, refusing to start.
Jun 30 22:41:05 u5 systemd[1]: Failed to start udev Kernel Device Manager.
-- Subject: Unit systemd-udevd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-udevd.service has failed.
-- 
-- The result is failed.
Jun 30 22:41:05 u5 systemd[1]: Unit systemd-udevd.service entered failed state.

-- 
Meelis Roos (mroos at linux.ee)





More information about the Pkg-systemd-maintainers mailing list