--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: Writing ISO to USB results in an unkillable blkid process
- From: Christian Kastner <debian@kvr.at>
- Date: Mon, 06 May 2013 20:17:00 +0200
- Message-id: <5187F39C.8000405@kvr.at>
Package: udev
Version: 175-7.2
Severity: normal
When attempting to write an ISO installer image to a USB stick, at some
point there is an unkillable blkid process (state: uninterruptible
sleep) and syslog gets spammed with the following message once every second:
# dd if=debian-7.0.0-i386-DVD-1.iso of=/dev/sdh bs=4k
syslog output:
...
May 6 19:49:10 desktop udevd[6290]: timeout: killing '/sbin/blkid -o udev -p /dev/sdh' [8357]
May 6 19:49:11 desktop udevd[6290]: timeout: killing '/sbin/blkid -o udev -p /dev/sdh' [8357]
May 6 19:49:12 desktop udevd[6290]: timeout: killing '/sbin/blkid -o udev -p /dev/sdh' [8357]
May 6 19:49:13 desktop udevd[6290]: timeout: killing '/sbin/blkid -o udev -p /dev/sdh' [8357]
May 6 19:49:14 desktop udevd[6290]: timeout: killing '/sbin/blkid -o udev -p /dev/sdh' [8357]
...
# ps -C blkid -o pid,state,user,group,etime,cls,cmd
PID S USER GROUP ELAPSED CLS CMD
8357 D root root 59:51 TS /sbin/blkid -o udev -p /dev/sdh
^^^ ^^^^^^^
When the write finishes, this gets logged to syslog:
May 6 20:11:31 desktop udevd[6290]: '/sbin/blkid -o udev -p /dev/sdh' [8357] terminated by signal 9 (Killed)
May 6 20:11:31 desktop udevd[6290]: timeout 'udisks-part-id /dev/sdh'
During this time, I/O performance to the device severely suffers -- the
ISO write takes about 90 minutes to complete instead of the usual <10 mins.
I wasn't sure whether this was a bug in how udevd calls blkid, or in blkid
(from util-linux), or udisks-part-id (from udisks), so please reassign as
necessary.
Christian
-- System Information:
Debian Release: 7.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages udev depends on:
ii debconf [debconf-2.0] 1.5.49
ii libc6 2.13-38
ii libselinux1 2.1.9-5
ii libudev0 175-7.2
ii lsb-base 4.1+Debian8
ii procps 1:3.3.3-3
ii util-linux 2.20.1-5.3
Versions of packages udev recommends:
ii pciutils 1:3.1.9-6
ii usbutils 1:005-3
udev suggests no packages.
-- debconf information:
udev/new_kernel_needed: false
udev/title/upgrade:
udev/reboot_needed:
udev/sysfs_deprecated_incompatibility:
--- End Message ---