Den Friday 06 July 2007 18.20.26 skrev Bob Proulx:
> Peter Landgren wrote:
> > I have done some more tests. It seems that the problem only appears when
> > I copy from one specific user.
>
> A specified user?  Or a specific file?  (I am thinking about something
> particular here...)

In the test I did I got this problem, when I copied one file from a specific 
user. The files are always copied, but the error occurs afterwords. If I use 
konqueror or krusader to copy the same file, no errors.
I have a trace of one cp-command. See attachment.

> > I created a new user copied sip-4.6.tar.gz, unpacked it and run
> > pytgon configure.py, make did a su and "make install" and now
> > everything worked just fine. So there is some problem with the "old"
> > user, but I cant' figure out what it is.
>
> Which seems to show that there is nothing intrically wrong with the
> programs or file permissions.  Is the filesystem full?
No.
[EMAIL PROTECTED] ~]$ df
Filesystem             Size   Used Avail  Used% Mounted on
/dev/sda2             9,7G   4,8G  4,4G  53% /
/dev/sda7             242G   17G  226G   7% /home
/dev/sda6             39G    5,3G   32G  15% /usr
[EMAIL PROTECTED] ~]$

> > However, I tried to install PyQt-X11-4.2 from this new user, and at the
> > end of the install process I got the same error again, when there were
> > just two files left to copy! There were hundreds of cp-commands in this
> > install.
> >
> > What's going on? Is it a problem with cp or is it a problem with the
> > Mandriva Spring distro?
>
> Do any errors show up in your system's syslog file?  (Usually
> /var/log/syslog or /var/log/messages but I am not familiar with
> Mandriva and you may have to find the right file.)  Are there any disk
> I/O errors being reported there?
I looked at both files, but found nothing (no errors) that I could connect 
with my problem.

No disk I/O errors are reported.

> This is beginning to sound like hardware failure.  It would be
> plausible to me that when certain disk sectors are accessed that it
> would generate errors and cp would fail.  But access other disk
> sections and everything succeeds.

I agree that it sounds like that. It's a new box with a 320 GB SATA drive 
using a ASUS P5VD2-X motherboard.
But it has happended last week on my old box also.

How can I test/verify this?

> > > > As I do this as root, cp should not complain?
>
> The root superuser will have permission and therefore all permission
> errors should be avoided.  But even root will fail when the filesystem
> is full.  And root has no permission over NFS.  While being root
> avoids permission problems locally it does not guarantee that there
> won't be other problems.
>
> Bob
Yes, I understand that.

I'm confused.
/Peter


-- 
Peter Landgren
Talken Hagen
671 94 Brunskog

0570-530 21
070 -635 4719
[EMAIL PROTECTED]
Skype: pgl4820
[EMAIL PROTECTED] sip-4.6]# ltrace cp -f sipconfig.py 
/usr/lib/python2.5/site-packages/sipconfig.py > trace.txt
__libc_start_main(0x804ae32, 4, 0xbf8625a4, 0x8065bd0, 0x8065bc0 <unfinished 
...>
setlocale(6, "")                                 = "sv_SE.UTF-8"
bindtextdomain("coreutils", "/usr/share/locale") = "/usr/share/locale"
textdomain("coreutils")                          = "coreutils"
__cxa_atexit(0x804f7f9, 0, 0, 0xb7ee1ff4, 0xbf862508) = 0
geteuid()                                        = 0
getenv("SIMPLE_BACKUP_SUFFIX")                   = NULL
getopt_long(4, 0xbf8625a4, "abdfHilLprst:uvxPRS:T", 0x8065f20, NULL) = 102
getopt_long(4, 0xbf8625a4, "abdfHilLprst:uvxPRS:T", 0x8065f20, NULL) = -1
malloc(40)                                       = 0x806e400
calloc(131, 8)                                   = 0x806e430
__xstat64(3, "/usr/lib/python2.5/site-packages"..., 0xbf862348) = 0
__xstat64(3, "sipconfig.py", 0xbf8621d0)         = 0
__xstat64(3, "/usr/lib/python2.5/site-packages"..., 0xbf862170) = 0
open64("sipconfig.py", 0, 00)                    = 3
__fxstat64(3, 3, 0xbf861f18)                     = 0
open64("/usr/lib/python2.5/site-packages"..., 513, 00) = 4
__fxstat64(3, 4, 0xbf861f78)                     = 0
__fxstat64(3, 3, 0xbf861f78)                     = 0
getpagesize()                                    = 4096
read(3, "# This module is intended to be "..., 4096) = 4096
write(4, "# This module is intended to be "..., 4096) = 4096
read(3, "    'LIBS':                     "..., 4096) = 4096
write(4, "    'LIBS':                     "..., 4096) = 4096
read(3, " self._macro = []\n\n        if is"..., 4096) = 4096
write(4, " self._macro = []\n\n        if is"..., 4096) = 4096
read(3, "      # We also want to treat li"..., 4096) = 4096
write(4, "      # We also want to treat li"..., 4096) = 4096
read(3, "d(self.config.py_lib_dir)\n\n     "..., 4096) = 4096
write(4, "d(self.config.py_lib_dir)\n\n     "..., 4096) = 4096
read(3, "   cflags.extend(self.optional_l"..., 4096) = 4096
write(4, "   cflags.extend(self.optional_l"..., 4096) = 4096
read(3, "pmap[mod]))\n\n                   "..., 4096) = 4096
write(4, "pmap[mod]))\n\n                   "..., 4096) = 4096
read(3, "name of the Qt4 library correspo"..., 4096) = 4096
write(4, "name of the Qt4 library correspo"..., 4096) = 4096
read(3, "instead\n        then its content"..., 4096) = 4096
write(4, "instead\n        then its content"..., 4096) = 4096
read(3, "       cppflags.append("-I" + _q"..., 4096) = 4096
write(4, "       cppflags.append("-I" + _q"..., 4096) = 4096
read(3, "et))\n\n\nclass ParentMakefile(Make"..., 4096) = 4096
write(4, "et))\n\n\nclass ParentMakefile(Make"..., 4096) = 4096
read(3, "sole=0, qt=0, opengl=0, threaded"..., 4096) = 4096
write(4, "sole=0, qt=0, opengl=0, threaded"..., 4096) = 4096
read(3, "f not self.static:\n            i"..., 4096) = 4096
write(4, "f not self.static:\n            i"..., 4096) = 4096
read(3, "anlib = self.optional_string("RA"..., 4096) = 4096
write(4, "anlib = self.optional_string("RA"..., 4096) = 4096
read(3, "[:5] == 'linux' or\n             "..., 4096) = 4096
write(4, "[:5] == 'linux' or\n             "..., 4096) = 4096
read(3, "      """\n        if self.genera"..., 4096) = 4096
write(4, "      """\n        if self.genera"..., 4096) = 4096
read(3, "":\n                    vers = st"..., 4096) = 4096
write(4, "":\n                    vers = st"..., 4096) = 4096
read(3, "hot is indicated by a\n    negati"..., 4096) = 4096
write(4, "hot is indicated by a\n    negati"..., 4096) = 4096
read(3, "        self.pathstack.append(se"..., 4096) = 4096
write(4, "        self.pathstack.append(se"..., 4096) = 4096
read(3, "           rstart = rstart + 1\n "..., 4096) = 4078
write(4, "           rstart = rstart + 1\n "..., 4078) = 4078
read(3, "", 4096)                                = 0
close(4)                                         = 0
close(3)                                         = 0
free(NULL)                                       = <void>
free(NULL)                                       = <void>
malloc(0)                                        = 0x806e200
malloc(256)                                      = 0x806e850
realloc(0x806e200, 136)                          = 0x806e958
memset(0x806e958, '\000', 136)                   = 0x806e958
malloc(8)                                        = 0x806e200
calloc(1, 12)                                    = 0x806e210
__ctype_get_mb_cur_max(1, 12, 136, 0x806e1f8, 16) = 6
nl_langinfo(14, 12, 136, 0x806e1f8, 16)          = 0xb7c9d8c8
__ctype_get_mb_cur_max(1, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 6
towlower(85, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 117
towlower(85, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 117
towlower(84, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 116
towlower(84, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 116
towlower(70, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 102
towlower(70, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 102
towlower(45, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 45
towlower(45, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 45
towlower(56, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 56
towlower(56, 4, 0xb7e1c3f1, 0xbf861e78, 0xb7e1b921) = 56
mbsinit(0xbf861e88, 0, 2, 0x8067269, 0xbf861ed8) = 1
__ctype_get_mb_cur_max(0xbf861e88, 0, 2, 0x8067269, 0xbf861ed8) = 6
memchr("", '\000', 6)                            = 0xb7c9d8cd
mbrtowc(0xbf861ea0, 0xb7c9d8cd, 1, 0xbf861e88, 0xbf861ed8) = 0
mbsinit(0xbf861e88, 0xb7c9d8cd, 1, 0xbf861e88, 0xbf861ed8) = 1
mbsinit(0xbf861e50, 0xb7c9d8cd, 1, 0xbf861e88, 0xbf861ed8) = 1
__ctype_get_mb_cur_max(0xbf861e50, 0xb7c9d8cd, 1, 0xbf861e88, 0xbf861ed8) = 6
memchr("", '\000', 6)                            = 0x8068665
mbrtowc(0xbf861e68, 0x8068665, 1, 0xbf861e50, 0xbf861ed8) = 0
mbsinit(0xbf861e50, 0x8068665, 1, 0xbf861e50, 0xbf861ed8) = 1
memset(0xbf861f40, '\000', 84)                   = 0xbf861f40
malloc(996)                                      = 0x806eb00
malloc(4)                                        = 0x806eee8
malloc(4)                                        = 0x806eef8
malloc(12)                                       = 0x806ef08
malloc(12)                                       = 0x806ef18
malloc(0)                                        = 0x806ef28
free(0x806ef28)                                  = <void>
memset(0x806ef08, '\000', 12)                    = 0x806ef08
memset(0x806ef18, '\000', 12)                    = 0x806ef18
malloc(4)                                        = 0x806ef28
malloc(4)                                        = 0x806ef38
calloc(1, 56)                                    = 0x806ef48
malloc(4)                                        = 0x806ef88
malloc(4)                                        = 0x806ef98
realloc(NULL, 4)                                 = 0x806efa8
free(0x806ef38)                                  = <void>
free(0x806eb00)                                  = <void>
free(0x806eef8)                                  = <void>
free(NULL)                                       = <void>
free(NULL)                                       = <void>
attr_copy_file(0xbf864712, 0xbf86471f, 0x804b58b, 0x806a3c0, 0 <unfinished ...>
attr_copy_check_permissions(0xbf861f30, 0x806a3c0, 0xa15573a0, 0xb7ee910c, 98) 
= 1
memset(0x806e850, '\000', 256)                   = 0x806e850
memset(0x806e850, '\001', 256)                   = 0x806e850
malloc(16)                                       = 0x806eb00
memset(0xbf861d00, '\000', 136)                  = 0xbf861d00
malloc(11264)                                    = 0x806efb8
memset(0xbf861ac0, '\000', 32)                   = 0xbf861ac0
free(0x806efb8)                                  = <void>
calloc(256, 4)                                   = 0x806efb8
free(NULL)                                       = <void>
free(NULL)                                       = <void>
free(NULL)                                       = <void>
free(0x806eb00)                                  = <void>
attr_copy_check_permissions(0xbf861f40, 0x806a3c0, 1, 1, 0) = 1
malloc(16)                                       = 0x806eb00
memset(0xbf861d00, '\000', 136)                  = 0xbf861d00
free(NULL)                                       = <void>
free(NULL)                                       = <void>
free(NULL)                                       = <void>
free(0x806eb00)                                  = <void>
attr_copy_check_permissions(0xbf861f52, 0x806a3c0, 14, 0xb7ee910c, 0x806eb18) = 
1
malloc(16)                                       = 0x806eb00
memset(0xbf861d00, '\000', 136)                  = 0xbf861d00
free(NULL)                                       = <void>
free(NULL)                                       = <void>
free(NULL)                                       = <void>
free(0x806eb00)                                  = <void>
attr_copy_check_permissions(0xbf861f65, 0x806a3c0, 31, 0xb7ee910c, 0x806eb18) = 
1
malloc(16)                                       = 0x806eb00
memset(0xbf861d00, '\000', 136)                  = 0xbf861d00
free(NULL)                                       = <void>
free(NULL)                                       = <void>
free(NULL)                                       = <void>
free(0x806eb00)                                  = <void>
attr_copy_check_permissions(0xbf861f7a, 0x806a3c0, 14, 0xb7ee910c, 0x806eb18) = 
1
malloc(16)                                       = 0x806eb00
memset(0xbf861d00, '\000', 136)                  = 0xbf861d00
free(NULL)                                       = <void>
free(NULL)                                       = <void>
free(NULL)                                       = <void>
free(0x806eb00)                                  = <void>
__errno_location()                               = 0xb7db689c
__errno_location()                               = 0xb7db689c
__ctype_get_mb_cur_max(1, 0xb7ed4bc8, 0, 0xbf861e00, 0xb7f2a6f0) = 6
gettext(0x806819e, 0xb7f10c28, 1, 0, 1)          = 0x807a660
gettext(0x80681a0, 0xb7f10c28, 1, 0, 1)          = 0x807a668
__errno_location()                               = 0xb7db689c
__errno_location()                               = 0xb7db689c
malloc(48)                                       = 0x807b718
__errno_location()                               = 0xb7db689c
vsnprintf(NULL, 0, "setting attributes for %s", 0xbf861f18) = 70
malloc(71)                                       = 0x807b750
vsnprintf("setting attributes for "/usr/lib"..., 71, "setting attributes for 
%s", 0xbf861f18) = 70
error(0, 95, 0x8067844, 0x807b750, 0x806a4e0cp: setting attributes for 
"/usr/lib/python2.5/site-packages/sipconfig.py": Operationen stöds ej
)    = 0
free(0x807b750)                                  = <void>
free(0x807b718)                                  = <void>
<... attr_copy_file resumed> )                   = -1
free(0x806e430)                                  = <void>
free(0x806e400)                                  = <void>
exit(1 <unfinished ...>
ferror_unlocked(0xb7ee24c0, 0xb7f10c28, 1, 1, 0) = 0
__fpending(0xb7ee24c0, 0xb7f10c28, 1, 1, 0)      = 0
fclose(0xb7ee24c0)                               = 0
+++ exited (status 1) +++
[EMAIL PROTECTED] sip-4.6]#                                     
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to