You are not logged in.

#26 2023-12-24 13:06:58

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: cuda and cuda11.1 are in conflict

Nothing out of the ordinary there.

LD_DEBUG=files,libs,symbols ./test

Offline

#27 2023-12-25 06:24:41

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

$ LD_DEBUG=files,libs,symbols ./test
       999:     symbol=__vdso_clock_gettime;  lookup in file=linux-vdso.so.1 [0]
       999:     symbol=__vdso_gettimeofday;  lookup in file=linux-vdso.so.1 [0]
       999:     symbol=__vdso_time;  lookup in file=linux-vdso.so.1 [0]
       999:     symbol=__vdso_getcpu;  lookup in file=linux-vdso.so.1 [0]
       999:     symbol=__vdso_clock_getres;  lookup in file=linux-vdso.so.1 [0]
       999:
       999:     file=libtorch_cuda.so [0];  needed by ./test [0]
       999:     find library=libtorch_cuda.so [0]; searching
       999:      search cache=/etc/ld.so.cache
       999:       trying file=/usr/lib/libtorch_cuda.so
       999:
       999:     file=libtorch_cuda.so [0];  generating link map
./test: error while loading shared libraries: libtorch_cuda.so: ELF load command                                                                                                                                                              address/offset not page-aligned

Offline

#28 2023-12-25 08:57:34

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: cuda and cuda11.1 are in conflict

cat test | curl -F 'file=@-' 0x0.st
cat /usr/lib/libtorch_cuda.so | curl -F 'file=@-' 0x0.st

One of these things (likely the library) has an ELF header but not an ELF structure.

Offline

#29 2023-12-26 11:33:25

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

]$ cat test | curl -F 'file=@-' 0x0.st
Segmentation fault
$ cat /usr/lib/libtorch_cuda.so | curl -F 'file=@-' 0x0.st
curl: option -F: is badly used here
curl: try 'curl --help' for more information

Offline

#30 2023-12-26 11:40:56

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: cuda and cuda11.1 are in conflict

echo whathefukk | curl -F 'file=@-' 0x0.st

And upload those files "somehow", but this smells like there's somethinh MUCH more broken on that system.

pacman -Qikk

Offline

#31 2023-12-29 00:42:09

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

What part of output of pacman -Qikk are you interested in?

Offline

#32 2023-12-29 07:52:40

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: cuda and cuda11.1 are in conflict

Everything that doesn't say "0 altered files"

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'

Can you echo into 0x0.st?

Offline

#33 2023-12-29 10:47:22

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

$ echo whathefukk | curl -F 'file=@-' 0x0.st
curl: (6) Could not resolve host: 0x0.st
$ sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (MD5 checksum mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/group (MD5 checksum mismatch)
backup file: filesystem: /etc/group (SHA256 checksum mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/gshadow (MD5 checksum mismatch)
backup file: filesystem: /etc/gshadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/passwd (MD5 checksum mismatch)
backup file: filesystem: /etc/passwd (SHA256 checksum mismatch)
warning: intel-ucode: /boot/intel-ucode.img (Permissions mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/resolv.conf (MD5 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shadow (MD5 checksum mismatch)
backup file: filesystem: /etc/shadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
backup file: filesystem: /etc/shells (MD5 checksum mismatch)
backup file: filesystem: /etc/shells (SHA256 checksum mismatch)
backup file: filesystem: /etc/subgid (Modification time mismatch)
backup file: filesystem: /etc/subgid (Size mismatch)
backup file: filesystem: /etc/subgid (MD5 checksum mismatch)
backup file: filesystem: /etc/subgid (SHA256 checksum mismatch)
backup file: filesystem: /etc/subuid (Modification time mismatch)
backup file: filesystem: /etc/subuid (Size mismatch)
backup file: filesystem: /etc/subuid (MD5 checksum mismatch)
backup file: filesystem: /etc/subuid (SHA256 checksum mismatch)
backup file: glibc: /etc/locale.gen (Modification time mismatch)
backup file: glibc: /etc/locale.gen (Size mismatch)
backup file: glibc: /etc/locale.gen (MD5 checksum mismatch)
backup file: glibc: /etc/locale.gen (SHA256 checksum mismatch)
backup file: grub: /etc/default/grub (Modification time mismatch)
backup file: grub: /etc/default/grub (Size mismatch)
backup file: grub: /etc/default/grub (MD5 checksum mismatch)
backup file: grub: /etc/default/grub (SHA256 checksum mismatch)
intel-ucode: 7 total files, 1 altered file
warning: java-runtime-common: /usr/lib/jvm/default (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Modification time mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Modification time mismatch)
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
java-runtime-common: 21 total files, 2 altered files
libutempter: 20 total files, 1 altered file
backup file: mkinitcpio: /etc/mkinitcpio.conf (Modification time mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (Size mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (MD5 checksum mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (SHA256 checksum mismatch)
backup file: openssh: /etc/ssh/sshd_config (Modification time mismatch)
backup file: openssh: /etc/ssh/sshd_config (Size mismatch)
backup file: openssh: /etc/ssh/sshd_config (MD5 checksum mismatch)
backup file: openssh: /etc/ssh/sshd_config (SHA256 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (MD5 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (SHA256 checksum mismatch)
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
shadow: 588 total files, 1 altered file
backup file: sudo: /etc/sudoers (Modification time mismatch)
backup file: sudo: /etc/sudoers (Size mismatch)
backup file: sudo: /etc/sudoers (MD5 checksum mismatch)
backup file: sudo: /etc/sudoers (SHA256 checksum mismatch)
systemd: 1455 total files, 1 altered file
backup file: texlive-basic: /etc/texmf/web2c/fmtutil.cnf (Modification time mismatch)
backup file: texlive-basic: /etc/texmf/web2c/fmtutil.cnf (Size mismatch)
backup file: texlive-basic: /etc/texmf/web2c/fmtutil.cnf (MD5 checksum mismatch)
backup file: texlive-basic: /etc/texmf/web2c/fmtutil.cnf (SHA256 checksum mismatch)

Offline

#34 2023-12-29 12:33:52

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: cuda and cuda11.1 are in conflict

curl: (6) Could not resolve host: 0x0.st

At this point you simply didn't have any internet connection?

The package integrity doesn't look too concerning, though.
Fix your internet and upload the two files.

Offline

#35 2023-12-31 02:50:52

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

$ cat test | curl -F 'file=@-' 0x0.st
Segmentation fault
$ cat /usr/lib/libtorch_cuda.so | curl -F 'file=@-' 0x0.st
curl: option -F: is badly used here
curl: try 'curl --help' for more information
$ echo whathefukk | curl -F 'file=@-' 0x0.st
http://0x0.st/HEGy.txt

Offline

#36 2023-12-31 09:26:15

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: cuda and cuda11.1 are in conflict

Try to bypass cat, but something is weird about that file…

curl -F'file=@/usr/lib/libtorch_cuda.so' https://0x0.st

Offline

#37 2023-12-31 10:38:02

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

$ curl -F'file=@/usr/lib/libtorch_cuda.so' https://0x0.st
<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>

Offline

#38 2023-12-31 10:43:33

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: cuda and cuda11.1 are in conflict

stat /usr/lib/libtorch_cuda.so

Offline

#39 2023-12-31 11:51:11

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

$ stat /usr/lib/libtorch_cuda.so
  File: /usr/lib/libtorch_cuda.so
  Size: 1314007552      Blocks: 2566432    IO Block: 4096   regular file
Device: 8,2     Inode: 18396273    Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2023-12-31 13:49:17.348517688 +1100
Modify: 2023-12-26 21:56:11.000000000 +1100
Change: 2023-12-26 22:09:58.343423289 +1100
 Birth: 2023-12-26 22:09:55.666756555 +1100

Offline

#40 2023-12-31 14:50:50

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: cuda and cuda11.1 are in conflict

The library is 1.22GB - that's beyond even 0x0.st's quotas.

Offline

Board footer

Powered by FluxBB