http://qa.mandrakesoft.com/show_bug.cgi?id=6060
------- Additional Comments From [EMAIL PROTECTED] 2003-04-10 15:01 -------
More info...
This is not a bug in lsattr; it appears to be a floppy driver problem...
Got the same "hang" while using gqview and accessing /mnt... When /mnt/floppy
is accessed, the system appears to retry accessing the floppy (no disk in drive)
for just under 2 minutes. Any command accessing /mnt/* gets this hang... what
has changed in the floppy driver so that a no-disk situation now takes this long
to detect?
08:45:19 stat64("/mnt", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
08:45:19 stat64("/mnt", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
08:45:19 stat64("/mnt", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
08:45:19 open("/mnt", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
08:45:19 fstat64(4, {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
08:45:19 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
08:45:19 getdents64(4, /* 9 entries */, 4096) = 256
08:45:19 stat64("/mnt/.", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
08:45:19 stat64("/mnt/..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
08:45:19 stat64("/mnt/floppy", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
08:45:19 stat64("/mnt/cdrom", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
08:45:19 stat64("/mnt/hd", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
08:45:19 stat64("/mnt/camera", {st_mode=S_IFDIR|0744, st_size=16384, ...}) = 0
08:45:19 stat64("/mnt/camera2", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
08:45:19 stat64("/mnt/loop", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
08:45:19 stat64("/mnt/cdrom2", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
08:45:19 getdents64(4, /* 0 entries */, 4096) = 0
08:45:19 close(4) = 0
08:45:19 write(3, "F\0\5\0\350\0\0\4\37\0\0\4\0\0\31\0\22\1\1\0F\0\5\0\350"...,
2040) = 2040
08:45:19 write(3, "B\0\5\0E\2\0\0044\0\0\4\r\0\17\0\r\0%\0;\3\5\0009\0\0\4"...,
2048) = 2048
08:45:19 access("/", R_OK) = 0
08:45:19 access("/mnt/camera", R_OK) = 0
08:45:19 access("/mnt/camera2", R_OK) = 0
08:45:19 access("/mnt/cdrom", R_OK) = 0
08:45:19 access("/mnt/cdrom2", R_OK) = 0
08:45:19 access("/mnt/floppy", R_OK
### stalls here
) = 0
08:47:10 access("/mnt/hd", R_OK) = 0
08:47:10 access("/mnt/loop", R_OK) = 0
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date:
description:
Was trying to change permissions on /mnt/camera as root and they would not take.
So I issued "lsattr /mnt" and the command hung -- unable to kill with Ctrl+c.
Attached strace to process and it too could not be killed. Had to issue "kill
-9 PID" to kill it.
It was obvious something was wrong as soon as I issued the lsattr command... it
sounded like my HD heads were being parked/landed continuously -- about once per
second... (ext3 filesystem)