Skip to contentSkip to conversation

problems with stat or link

2.4.4ac15/16 Andreas Hartmann 1 participant 3 messages May 24, 2001 – May 30, 2001

lore
Share & tools
lore
#0 lore raw

Hallo all,

I get the mentioned error as often as longer the system is running. E.g.:

Quoted 1 line

ls kviewshell/.libs/libkmultipage.so

The following is what strace say's:
(The problem-zone can be found between two lines)

3795 execve("/usr/local/bin/ls", ["ls", "-l", "kviewshell/.libs/libkmultipage.so"], [/* 54 vars */]) = 0
3795 brk(0) = 0x804fbf0
3795 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)

3795  open("/etc/ld.so.cache", O_RDONLY) = 4
3795  fstat(4, {st_mode=S_IFREG|0644, st_size=48328, ...}) = 0
3795  mmap(NULL, 48328, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
3795  close(4)                          = 0
3795  open("/lib/libc.so.6", O_RDONLY)  = 4
3795  fstat(4, {st_mode=S_IFREG|0755, st_size=4145658, ...}) = 0
3795  read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \217\1"..., 
4096) = 4096
3795  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x40021000
3795  mmap(NULL, 982684, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40022000
3795  mprotect(0x4010a000, 32412, PROT_NONE) = 0
3795  mmap(0x4010a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
0xe7000) = 0x4010a000
3795  mmap(0x4010f000, 11932, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4010f000
3795  close(4)                          = 0
3795  mprotect(0x40022000, 950272, PROT_READ|PROT_WRITE) = 0
3795  mprotect(0x40022000, 950272, PROT_READ|PROT_EXEC) = 0
3795  munmap(0x40015000, 48328)         = 0
3795  personality(PER_LINUX)            = 0
3795  getpid()                          = 3795
3795  brk(0)                            = 0x804fbf0
3795  brk(0x804fc20)                    = 0x804fc20
3795  brk(0x8050000)                    = 0x8050000
3795  open("/share/locale/locale.alias", O_RDONLY) = 4
3795  SYS_197(0x4, 0xbfffb538, 0x4010e3a0, 0x804fc18, 0x4) = 0
3795  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x40015000
3795  read(4, "# Locale name alias data base.\n#"..., 4096) = 2265
3795  brk(0x8051000)                    = 0x8051000
3795  read(4, "", 4096)                 = 0
3795  close(4)                          = 0
3795  munmap(0x40015000, 4096)          = 0
[...]
3795  open("/share/locale/de_DE/LC_MESSAGES", O_RDONLY) = 4
3795  fstat(4, {st_mode=S_IFDIR|0555, st_size=66, ...}) = 0
3795  close(4)                          = 0
3795  open("/share/locale/de_DE/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 4
3795  fstat(4, {st_mode=S_IFREG|0444, st_size=44, ...}) = 0
3795  mmap(NULL, 44, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
3795  close(4)                          = 0
[....]
3795  open("/share/locale/de_DE/LC_MONETARY", O_RDONLY) = 4
3795  fstat(4, {st_mode=S_IFREG|0444, st_size=94, ...}) = 0
3795  mmap(NULL, 94, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40016000
3795  close(4)                          = 0
3795  brk(0x8052000)                    = 0x8052000
[...]
3795  open("/share/locale/de_DE/LC_COLLATE", O_RDONLY) = 4
3795  fstat(4, {st_mode=S_IFREG|0444, st_size=29970, ...}) = 0
3795  mmap(NULL, 29970, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40017000
3795  close(4)                          = 0
[...]
3795  open("/share/locale/de_DE/LC_TIME", O_RDONLY) = 4
3795  fstat(4, {st_mode=S_IFREG|0444, st_size=492, ...}) = 0
3795  mmap(NULL, 492, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4001f000
3795  close(4)                          = 0
[...]
3795  open("/share/locale/de_DE/LC_NUMERIC", O_RDONLY) = 4
3795  fstat(4, {st_mode=S_IFREG|0444, st_size=27, ...}) = 0
3795  mmap(NULL, 27, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40020000
3795  close(4)                          = 0
[...]
3795  open("/share/locale/de_DE/LC_CTYPE", O_RDONLY) = 4
3795  fstat(4, {st_mode=S_IFREG|0444, st_size=87756, ...}) = 0
3795  mmap(NULL, 87756, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40112000
3795  close(4)                          = 0
3795  time(NULL)                        = 990738510
3795  ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
3795  ioctl(1, TIOCGWINSZ, {ws_row=50, ws_col=80, ws_xpixel=0, ws_ypixel=0}) 

= 0
3795 brk(0x8055000) = 0x8055000

---------------------------------------------------------------------------------------------

3795 lstat("kviewshell/.libs/libkmultipage.so", 0xbffff718) = -1 EIO (Input/output error)

-----------------------------------------------------------------------------------------------

3795 write(2, "ls: ", 4) = 4
3795 write(2, "kviewshell/.libs/libkmultipage.s"..., 33) = 33 [...]

3795  open("/share/locale/de/LC_MESSAGES/libc.mo", O_RDONLY) = 4
3795  fstat(4, {st_mode=S_IFREG|0644, st_size=94208, ...}) = 0
3795  mmap(NULL, 94208, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40128000
3795  close(4)                          = 0
3795  write(2, ": Eingabe-/Ausgabefehler", 24) = 24
3795  write(2, "\n", 1)                 = 1
3795  close(1)                          = 0
3795  _exit(1)                          = ?

Another example is:

Quoted 1 line

umount /boot

That's what strace is saying:

3762  execve("/bin/umount", ["umount", "/boot/"], [/* 54 vars */]) = 0
3762  brk(0)                            = 0x80507a0
3762  open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or 
directory)
3762  open("/etc/ld.so.cache", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFREG|0644, st_size=48328, ...}) = 0
3762  mmap(NULL, 48328, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
3762  close(4)                          = 0
3762  open("/lib/libc.so.6", O_RDONLY)  = 4
3762  fstat(4, {st_mode=S_IFREG|0755, st_size=4145658, ...}) = 0
3762  read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \217\1"..., 
4096) = 4096
3762  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x40021000
3762  mmap(NULL, 982684, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40022000
3762  mprotect(0x4010a000, 32412, PROT_NONE) = 0
3762  mmap(0x4010a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
0xe7000) = 0x4010a000
3762  mmap(0x4010f000, 11932, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4010f000
3762  close(4)                          = 0
3762  mprotect(0x40022000, 950272, PROT_READ|PROT_WRITE) = 0
3762  mprotect(0x40022000, 950272, PROT_READ|PROT_EXEC) = 0
3762  munmap(0x40015000, 48328)         = 0
3762  personality(PER_LINUX)            = 0
3762  getpid()                          = 3762
3762  brk(0)                            = 0x80507a0
3762  brk(0x80507d0)                    = 0x80507d0
3762  brk(0x8051000)                    = 0x8051000
3762  open("/share/locale/locale.alias", O_RDONLY) = 4
3762  SYS_197(0x4, 0xbfffb564, 0x4010e3a0, 0x80507c8, 0x4) = 0
3762  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x40015000
3762  read(4, "# Locale name alias data base.\n#"..., 4096) = 2265
3762  read(4, "", 4096)                 = 0
3762  close(4)                          = 0
3762  munmap(0x40015000, 4096)          = 0
[...]
3762  open("/share/locale/de_DE/LC_MESSAGES", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFDIR|0555, st_size=66, ...}) = 0
3762  close(4)                          = 0
3762  open("/share/locale/de_DE/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFREG|0444, st_size=44, ...}) = 0
3762  mmap(NULL, 44, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
3762  close(4)                          = 0
[...]
3762  open("/share/locale/de_DE/LC_MONETARY", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFREG|0444, st_size=94, ...}) = 0
3762  mmap(NULL, 94, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40016000
3762  close(4)                          = 0
[...]
3762  open("/share/locale/de_DE/LC_COLLATE", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFREG|0444, st_size=29970, ...}) = 0
3762  mmap(NULL, 29970, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40017000
3762  close(4)                          = 0
3762  brk(0x8053000)                    = 0x8053000
[...]
3762  open("/share/locale/de_DE/LC_TIME", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFREG|0444, st_size=492, ...}) = 0
3762  mmap(NULL, 492, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4001f000
3762  close(4)                          = 0
[...]
3762  open("/share/locale/de_DE/LC_NUMERIC", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFREG|0444, st_size=27, ...}) = 0
3762  mmap(NULL, 27, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40020000
3762  close(4)                          = 0
[...]
3762  open("/share/locale/de_DE/LC_CTYPE", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFREG|0444, st_size=87756, ...}) = 0
3762  mmap(NULL, 87756, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40112000
3762  close(4)                          = 0
3762  getuid()                          = 0
3762  geteuid()                         = 0
3762  brk(0x8055000)                    = 0x8055000
3762  readlink("/boot", 0xbfffe7fc, 4095) = -1 EINVAL (Invalid argument)
3762  open("/etc/mtab", O_RDONLY)       = 4
3762  SYS_197(0x4, 0xbffff670, 0x4010e3a0, 0x8053ba0, 0x4) = 0
3762  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x40128000
3762  read(4, "/dev/hda1 / reiserfs rw 0 0\nproc"..., 4096) = 276
3762  read(4, "", 4096)                 = 0
3762  close(4)                          = 0
3762  munmap(0x40128000, 4096)          = 0
3762  oldumount("/boot/")               = 0
3762  lstat("/etc/mtab", {st_mode=S_IFREG|0644, st_size=276, ...}) = 0
3762  open("/etc/mtab", O_RDWR|O_CREAT, 0644) = 4
3762  close(4)                          = 0
3762  rt_sigaction(SIGHUP, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGINT, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGQUIT, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGILL, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGTRAP, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGABRT, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGBUS, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGFPE, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGKILL, {0x804af20, ~[], 0x4000000}, NULL, 8) = -1 EINVAL 
(Invalid argument)
3762  rt_sigaction(SIGUSR1, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGSEGV, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGUSR2, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGPIPE, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGALRM, {0x804af50, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGTERM, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  rt_sigaction(SIGSTKFLT, {0x804af20, ~[], 0x4000000}, NULL, 8) = 0
3762  getpid()                          = 3762

----------------------------------------------------------------------------------------------------

3762  open("/etc/mtab~3762", O_WRONLY|O_CREAT, 0) = 4
3762  close(4)                          = 0
3762  link("/etc/mtab~3762", "/etc/mtab~") = -1 ENOENT (No such file or 

directory)
3762 unlink("/etc/mtab~3762") = 0

------------------------------------------------------------------------------------------------------

[....]

3762  open("/share/locale/de/LC_MESSAGES/libc.mo", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFREG|0644, st_size=94208, ...}) = 0
3762  mmap(NULL, 94208, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40128000
3762  close(4)                          = 0
[...]
3762  open("/usr/share/locale/de/LC_MESSAGES/util-linux.mo", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFREG|0644, st_size=174815, ...}) = 0
3762  mmap(NULL, 174815, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4013f000
3762  close(4)                          = 0
3762  lstat("/lib", {st_mode=S_IFDIR|0555, st_size=5384, ...}) = 0
3762  lstat("/lib/gconv", {st_mode=S_IFLNK|0777, st_size=10, ...}) = 0
3762  readlink("/lib/gconv", "/usr/gconv", 4095) = 10
3762  lstat("/usr", {st_mode=S_IFDIR|0755, st_size=888, ...}) = 0
3762  lstat("/usr/gconv", {st_mode=S_IFDIR|0555, st_size=3817, ...}) = 0
3762  open("/usr/gconv/gconv-modules", O_RDONLY) = 4
3762  SYS_197(0x4, 0xbfffb3c4, 0x4010e3a0, 0x80544d8, 0x4) = 0
3762  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x4016a000
3762  read(4, "# GNU libc iconv configuration.\n"..., 4096) = 4096
3762  brk(0x8056000)                    = 0x8056000
3762  read(4, "20-1969-RO//\nmodule\tJIS_C6220-19"..., 4096) = 4096
3762  brk(0x8057000)                    = 0x8057000
3762  brk(0x8058000)                    = 0x8058000
3762  brk(0x8059000)                    = 0x8059000
3762  read(4, "RNAL\t\tISO8859-3\t1\nmodule\tINTERNA"..., 4096) = 4096
3762  brk(0x805a000)                    = 0x805a000
3762  brk(0x805b000)                    = 0x805b000
3762  read(4, "SO_6937-2\t1\n\n#\tfrom\t\t\tto\t\t\tmodul"..., 4096) = 4096
3762  brk(0x805c000)                    = 0x805c000
3762  brk(0x805d000)                    = 0x805d000
3762  read(4, "M256//\nmodule\tIBM256//\t\tINTERNAL"..., 4096) = 4096
3762  brk(0x805e000)                    = 0x805e000
3762  brk(0x805f000)                    = 0x805f000
3762  read(4, "module\t\tcost\nalias\tCP855//\t\t\tIBM"..., 4096) = 4096
3762  brk(0x8060000)                    = 0x8060000
3762  brk(0x8061000)                    = 0x8061000
3762  brk(0x8062000)                    = 0x8062000
3762  read(4, "IBM1004//\nalias\tOS2LATIN1//\t\tIBM"..., 4096) = 4096
3762  brk(0x8063000)                    = 0x8063000
3762  brk(0x8064000)                    = 0x8064000
3762  read(4, "_P27-1\t1\nmodule\tINTERNAL\t\tIEC_P2"..., 4096) = 4096
3762  brk(0x8065000)                    = 0x8065000
3762  brk(0x8066000)                    = 0x8066000
3762  read(4, "le\tINTERNAL\t\tNATS-DANO//\t\tNATS-D"..., 4096) = 4096
3762  brk(0x8067000)                    = 0x8067000
3762  brk(0x8068000)                    = 0x8068000
3762  read(4, "", 4096)                 = 0
3762  close(4)                          = 0
3762  munmap(0x4016a000, 4096)          = 0
3762  open("/usr/gconv/ISO8859-1.so", O_RDONLY) = 4
3762  fstat(4, {st_mode=S_IFREG|0755, st_size=32768, ...}) = 0
3762  read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\6\0"..., 
4096) = 4096
3762  mmap(NULL, 7304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4016a000
3762  mprotect(0x4016b000, 3208, PROT_NONE) = 0
3762  mmap(0x4016b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
0) = 0x4016b000
3762  close(4)                          = 0
3762  write(2, "Verkn\374pfung f\374r die Lock-Datei /"..., 160) = 160
3762  write(2, "\n", 1)                 = 1
3762  _exit(16)                         = ?

You can sometimes get rid of the problem, if you do a unmount and mount of the affected partition.
The problem is on local filesystems as well as on nfs-mounted filesystems (which resides on the server on reiserfs too).
If the problem is on a nfs-mounted FS, you can see, that in the original FS the file can be stat'ed without any problem (using telnet or ssh e.g.).

I've got no problems with 2.4.4ac9 (I didn't use the patches 10-14).

Versions:
Linux athlon 2.4.4-ac16 #1 Don Mai 24 22:47:31 CEST 2001 i686 unknown

Gnu C                  2.95.3
Gnu make               3.76.1
binutils               2.9.5.0.12
util-linux             2.10s
mount                  2.10s
modutils               2.4.5
e2fsprogs              1.19
PPP                    2.4.0b1
Linux C Library        2.1.3
Dynamic linker (ldd)   2.1.3
Procps                 2.0.2
Net-tools              1.56
Kbd                    0.96
Sh-utils               2.0g
Modules Loaded         ext2 nfs lockd sunrpc 8139too sis900 serial parport_pc 

lp parport unix

I'm using reiserfs, 3.5.x disk format.

Regards,
Andreas Hartmann

#1 lore raw

[2.4.4ac11-17] lasting problems with stat or link

Hallo all,

I get the mentioned error as often as longer the system is running. E.g.:

$ ls kviewshell/.libs/libkmultipage.so

The following is what strace say's:

[....]
3795 lstat("kviewshell/.libs/libkmultipage.so", 0xbffff718) = -1 EIO (Input/output error)
[...]

The file really exists and is correct!

Another example is:
umount /boot

That's what strace is saying:
[...]

3762  open("/etc/mtab~3762", O_WRONLY|O_CREAT, 0) = 4
3762  close(4)                          = 0
3762  link("/etc/mtab~3762", "/etc/mtab~") = -1 ENOENT (No such file or

directory)
3762 unlink("/etc/mtab~3762") = 0
[....]

I've got no problems with 2.4.4ac9 and ac10. The Problems start with ac11 and can be found until the actual ac17.

Versions:
Linux athlon 2.4.4-ac16 #1 Don Mai 24 22:47:31 CEST 2001 i686 unknown

Gnu C                  2.95.3
Gnu make               3.76.1
binutils               2.9.5.0.12
util-linux             2.10s
mount                  2.10s
modutils               2.4.5
e2fsprogs              1.19
PPP                    2.4.0b1
Linux C Library        2.1.3
Dynamic linker (ldd)   2.1.3
Procps                 2.0.2
Net-tools              1.56
Kbd                    0.96
Sh-utils               2.0g
Modules Loaded         ext2 nfs lockd sunrpc 8139too sis900 serial

parport_pc lp parport unix

I'm using reiserfs, 3.5.x disk format.

$ lspci -v

00:00.0 Host bridge: VIA Technologies, Inc. VT8371 [KX133] (rev 02)
Flags: bus master, medium devsel, latency 0 Memory at d6000000 (32-bit, prefetchable) [size=32M]
Capabilities: <available only to root>

00:01.0 PCI bridge: VIA Technologies, Inc. VT8371 [PCI-PCI Bridge] (prog-if 00 [Normal decode])

	Flags: bus master, 66Mhz, medium devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: d4000000-d5ffffff
	Prefetchable memory behind bridge: d0000000-d3ffffff
	Capabilities: <available only to root>

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev 22)
Subsystem: VIA Technologies, Inc. VT82C686/A PCI to ISA Bridge
Flags: bus master, stepping, medium devsel, latency 0

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10) (prog-if 8a [Master SecP PriP])
Flags: bus master, medium devsel, latency 32
I/O ports at d000 [size=16]
Capabilities: <available only to root>

00:07.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 10) (prog-if 00 [UHCI])

	Subsystem: Unknown device 0925:1234
	Flags: bus master, medium devsel, latency 32, IRQ 9
	I/O ports at d400 [size=32]
	Capabilities: <available only to root>

00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev
30)
Flags: medium devsel, IRQ 9
Capabilities: <available only to root>

00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 [Apollo Super AC97/Audio] (rev 20)

	Subsystem: VIA Technologies, Inc.: Unknown device 4511
	Flags: medium devsel, IRQ 5
	I/O ports at dc00 [size=256]
	I/O ports at e000 [size=4]
	I/O ports at e400 [size=4]
	Capabilities: <available only to root>

00:08.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 02)
Subsystem: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet Adapter
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at e800 [size=256]
Memory at d9000000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>

00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at ec00 [size=256]
Memory at d9001000 (32-bit, non-prefetchable) [size=256] Expansion ROM at <unassigned> [disabled] [size=64K]

01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 0008
Flags: bus master, stepping, 66Mhz, medium devsel, latency 32, IRQ 10 Memory at d0000000 (32-bit, prefetchable) [size=64M]
I/O ports at c000 [size=256]
Memory at d5000000 (32-bit, non-prefetchable) [size=16K] Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>

Regards,
Andreas Hartmann

#2 lore raw

Re: [2.4.4ac11 - 2.4.5 and 2.4.5ac5] problems with stat continue (ln -s broken ...?)

In reply to Andreas Hartmann

Hallo all!

I know that I'm repeating myself - but the problem is still the same. It's impossible for me to use these kernels mentioned in the subject.

I think there is a parallelism to the mail "ln -s broken on 2.4.5" or am I the problem? Who can help me?

Regards,
Andreas Hartmann

Quoted 131 lines

Hallo all,

I get the mentioned error as often as longer the system is running. E.g.:

$ ls kviewshell/.libs/libkmultipage.so

The following is what strace say's:

[....]
3795 lstat("kviewshell/.libs/libkmultipage.so", 0xbffff718) = -1 EIO (Input/output error)
[...]

The file really exists and is correct!

Another example is:
umount /boot

That's what strace is saying:
[...]

3762  open("/etc/mtab~3762", O_WRONLY|O_CREAT, 0) = 4
3762  close(4)                          = 0
3762  link("/etc/mtab~3762", "/etc/mtab~") = -1 ENOENT (No such file or

directory)
3762 unlink("/etc/mtab~3762") = 0
[....]

I've got no problems with 2.4.4ac9 and ac10. The Problems start with ac11 and can be found until the actual ac17.

Versions:
Linux athlon 2.4.4-ac16 #1 Don Mai 24 22:47:31 CEST 2001 i686 unknown

Gnu C                  2.95.3
Gnu make               3.76.1
binutils               2.9.5.0.12
util-linux             2.10s
mount                  2.10s
modutils               2.4.5
e2fsprogs              1.19
PPP                    2.4.0b1
Linux C Library        2.1.3
Dynamic linker (ldd)   2.1.3
Procps                 2.0.2
Net-tools              1.56
Kbd                    0.96
Sh-utils               2.0g
Modules Loaded         ext2 nfs lockd sunrpc 8139too sis900 serial

parport_pc lp parport unix

I'm using reiserfs, 3.5.x disk format.

$ lspci -v

00:00.0 Host bridge: VIA Technologies, Inc. VT8371 [KX133] (rev 02)
Flags: bus master, medium devsel, latency 0 Memory at d6000000 (32-bit, prefetchable) [size=32M]
Capabilities: <available only to root>

00:01.0 PCI bridge: VIA Technologies, Inc. VT8371 [PCI-PCI Bridge] (prog-if 00 [Normal decode])

	Flags: bus master, 66Mhz, medium devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: d4000000-d5ffffff
	Prefetchable memory behind bridge: d0000000-d3ffffff
	Capabilities: <available only to root>

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev 22)
Subsystem: VIA Technologies, Inc. VT82C686/A PCI to ISA Bridge
Flags: bus master, stepping, medium devsel, latency 0

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev
10) (prog-if 8a [Master SecP PriP])
Flags: bus master, medium devsel, latency 32
I/O ports at d000 [size=16]
Capabilities: <available only to root>

00:07.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 10) (prog-if 00 [UHCI])

	Subsystem: Unknown device 0925:1234
	Flags: bus master, medium devsel, latency 32, IRQ 9
	I/O ports at d400 [size=32]
	Capabilities: <available only to root>

00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
Flags: medium devsel, IRQ 9
Capabilities: <available only to root>

00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 [Apollo Super AC97/Audio] (rev 20)

	Subsystem: VIA Technologies, Inc.: Unknown device 4511
	Flags: medium devsel, IRQ 5
	I/O ports at dc00 [size=256]
	I/O ports at e000 [size=4]
	I/O ports at e400 [size=4]
	Capabilities: <available only to root>

00:08.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 02)
Subsystem: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet Adapter
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at e800 [size=256]
Memory at d9000000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>

00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev
10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139

	Flags: bus master, medium devsel, latency 32, IRQ 11
	I/O ports at ec00 [size=256]
	Memory at d9001000 (32-bit, non-prefetchable) [size=256]
	Expansion ROM at <unassigned> [disabled] [size=64K]

01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 0008
Flags: bus master, stepping, 66Mhz, medium devsel, latency 32, IRQ 10 Memory at d0000000 (32-bit, prefetchable) [size=64M]
I/O ports at c000 [size=256]
Memory at d5000000 (32-bit, non-prefetchable) [size=16K] Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>

Regards,
Andreas Hartmann