blkid hängt manchmal (aufgewärmt)

19/01/2015 - 17:50 von Dr. Harry Knitter | Report spam
Hallo Liste,

vor schon làngerer Zeit hab ich mal einen Thread losgetreten zu dem Thema, und
heute ist genau das wieder aufgetreten.
Peter Funk gab mir damals den Rat, das ganze mit strace mal nachzuverfolgen.
was ich heute getan habe.
Leider kann ich das Ganze nicht dahingehend interpretieren, dass ich der
Ursache auf den Grund kàme.

hier die Ausgabe von strace blkid:

execve("/sbin/blkid", ["blkid"], [/* 15 vars */]) = 0
brk(0) = 0xfe8000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f13bbbad000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size1405, ...}) = 0
mmap(NULL, 101405, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f13bbb94000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libblkid.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pn\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size9856, ...}) = 0
mmap(NULL, 2255016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f13bb769000
mprotect(0x7f13bb78c000, 2097152, PROT_NONE) = 0
mmap(0x7f13bb98c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x23000) = 0x7f13bb98c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\357\1\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size03600, ...}) = 0
mmap(NULL, 3717176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f13bb3dd000
mprotect(0x7f13bb55f000, 2097152, PROT_NONE) = 0
mmap(0x7f13bb75f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x182000) = 0x7f13bb75f000
mmap(0x7f13bb764000, 18488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0x7f13bb764000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libuuid.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\31\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size896, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f13bbb93000
mmap(NULL, 2113968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f13bb1d8000
mprotect(0x7f13bb1dc000, 2093056, PROT_NONE) = 0
mmap(0x7f13bb3db000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x3000) = 0x7f13bb3db000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f13bbb91000
arch_prctl(ARCH_SET_FS, 0x7f13bbb91740) = 0
mprotect(0x7f13bb3db000, 4096, PROT_READ) = 0
mprotect(0x7f13bb75f000, 16384, PROT_READ) = 0
mprotect(0x7f13bb98c000, 12288, PROT_READ) = 0
mprotect(0x606000, 4096, PROT_READ) = 0
mprotect(0x7f13bbbaf000, 4096, PROT_READ) = 0
munmap(0x7f13bbb94000, 101405) = 0
brk(0) = 0xfe8000
brk(0x1009000) = 0x1009000
getuid() = 0
geteuid() = 0
getgid() = 0
getegid() = 0
prctl(PR_GET_DUMPABLE) = 1
getuid() = 0
geteuid() = 0
getgid() = 0
getegid() = 0
prctl(PR_GET_DUMPABLE) = 1
open("/etc/blkid.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/blkid.tab", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size(76, ...}) = 0
fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(3, {st_mode=S_IFREG|0644, st_size(76, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f13bbbac000
lseek(3, 0, SEEK_CUR) = 0
read(3, "<device DEVNO=\"0x0802\" TIME=\"142"..., 4096) = 2876
access("/dev/sda2", F_OK) = 0
access("/dev/sda5", F_OK) = 0
access("/dev/sda6", F_OK) = 0
access("/dev/sda7", F_OK) = 0
access("/dev/sda8", F_OK) = 0
access("/dev/sda9", F_OK) = 0
access("/dev/sda1", F_OK) = 0
access("/dev/md0", F_OK) = 0
access("/dev/md1", F_OK) = 0
access("/dev/md2", F_OK) = 0
access("/dev/md3", F_OK) = 0
access("/dev/md4", F_OK) = 0
access("/dev/md5", F_OK) = 0
access("/dev/sdb1", F_OK) = 0
access("/dev/sdb2", F_OK) = 0
access("/dev/sdb5", F_OK) = 0
access("/dev/sdb6", F_OK) = 0
access("/dev/sdb7", F_OK) = 0
access("/dev/sdb8", F_OK) = 0
access("/dev/sdb9", F_OK) = 0
access("/dev/sdg1", F_OK) = -1 ENOENT (No such file or directory)
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f13bbbac000, 4096) = 0
open("/etc/blkid.tab", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size(76, ...}) = 0
close(3) = 0
open("/proc/evms/volumes", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/lvm/VGs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
open("/dev", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 202 entries */, 32768) = 5768
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
open("/devfs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
open("/devices", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
open("/proc/partitions", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f13bbbac000
read(3, "major minor #blocks name 2"..., 1024) = 827
stat("/dev/fd0", {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(2, 0), ...}) =

0
access("/dev/fd0", F_OK) = 0
time(NULL) = 1421685546
stat("/dev/fd0", {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(2, 0), ...}) =

0
open("/dev/fd0", O_RDONLY) = 4
SIGWINCH (Window changed) @ 0 (0)
fadvise64(4, 0, 0, POSIX_FADV_RANDOM) = 0
fstat(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(2, 0), ...}) = 0
uname({sys="Linux", node="bitgully", ...}) = 0
ioctl(4, BLKGETSIZE64, 0xfeaa50) = 0
ioctl(4, CDROM_GET_CAPABILITY, 0) = -1 EINVAL (Invalid argument)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)
lseek(4, 0, SEEK_SET) = 0
read(4, ^C <unfinished ...>

Das device /dev/sdg1 entspricht einer USB-Platte, die vorhin noch dran hing,
die ich aber inzwischen entfernt habe.

Gibt die Ausgabe hinweise, was hier manchmal schief làuft? blkid hàngt nicht
immer.

Danke im Voraus

Harry


Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-REQUEST@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)
Archive: https://lists.debian.org/201501191751.54499.harry@knitter-edv-beratung.de
 

Lesen sie die antworten

#1 Ulf Volmer
19/01/2015 - 19:10 | Warnen spam
On Mon, Jan 19, 2015 at 05:51:54PM +0100, Dr. Harry Knitter wrote:

vor schon làngerer Zeit hab ich mal einen Thread losgetreten zu dem Thema, und
heute ist genau das wieder aufgetreten.
Peter Funk gab mir damals den Rat, das ganze mit strace mal nachzuverfolgen.
was ich heute getan habe.
Leider kann ich das Ganze nicht dahingehend interpretieren, dass ich der
Ursache auf den Grund kàme.

hier die Ausgabe von strace blkid:

access("/dev/sdg1", F_OK) = -1 ENOENT (No such file or directory)



Hier wàre ggf. die Option -t für strace interessant gewesen, die dem ganzen
Timestamps hinzufügt, aber ich denke nicht, das hier Dein Problem liegt.

open("/dev/fd0", O_RDONLY) = 4



Hier wird /dev/fd0 geöffnet mit dem Filedescriptor 4.

ioctl(4, BLKGETSIZE64, 0xfeaa50) = 0
ioctl(4, CDROM_GET_CAPABILITY, 0) = -1 EINVAL (Invalid argument)
lseek(4, 0, SEEK_SET) = 0
read(4, 0xfeb668, 1024) = -1 EIO (Input/output error)


[...]
lseek(4, 0, SEEK_SET) = 0
read(4, ^C <unfinished ...>



Und hier treten I/O- Fehler auf ebendiesem Filedescriptor auf.

Hast Du ein Floppy- Laufwerk in deinem Rechner?

Viele Grüße
Ulf


Zum AUSTRAGEN schicken Sie eine Mail an
mit dem Subject "unsubscribe". Probleme? Mail an (engl)
Archive: https://lists.debian.org/

Ähnliche fragen