Package Details: openafs 1.8.13.1-1

Git Clone URL: https://aur.archlinux.org/openafs.git (read-only, click to copy)
Package Base: openafs
Description: Open source implementation of the AFS distributed file system
Upstream URL: http://www.openafs.org
Licenses: IPL-1.0
Conflicts: openafs-features
Submitter: None
Maintainer: Bevan
Last Packager: Bevan
Votes: 61
Popularity: 0.000000
First Submitted: 2006-02-01 17:18 (UTC)
Last Updated: 2024-12-21 09:26 (UTC)

Latest Comments

1 2 3 4 5 6 .. 32 Next › Last »

drslmr commented on 2024-07-16 06:51 (UTC) (edited on 2024-07-16 07:01 (UTC) by drslmr)

@gay do you have openafs-modules-dkms or openafs-modules installed, updated too? I guess one of these is required to install and to have their post installation hooks running to build the modules after installation. This is usually done automatically. I use aura (aura-bin https://aur.archlinux.org/packages/aura-bin) for AUR packages.

gay commented on 2024-07-16 01:55 (UTC) (edited on 2024-07-16 01:59 (UTC) by gay)

Somehow, I can no longer start openafs-client:

$ sudo systemctl start openafs-client
Job for openafs-client.service failed because the control process exited with error code.
...
$sudo systemctl status openafs-client
...
modprobe: FATAL: Module openafs not found in directory /lib/modules/6.9.2-arch1-1
$

/usr/lib/systemd/system/openafs-client.service is owned by openafs, but openafs does not own anything in /lib/modules/6.9.2-arch1-1. I can also not find an openafs kernel module, presumably named something like openafs.ko anywhere. I am unsure if that existed in previous versions.

Since nobody else reports this error, I am sure I am missing something here somehow. It's very strange though.

drslmr commented on 2024-05-21 07:23 (UTC) (edited on 2024-05-21 11:27 (UTC) by drslmr)

Thank you @Bevan. Unfortunately I can still produce hangs.


    $ cmdebug localhost
    Lock afs_discon_lock status: (none_waiting, 1 read_locks(pid:0))
    ** Cache entry @ 0x9e48dd80 for ....
        locks: (none_waiting, write_locked(pid:2431 at:147))
                2048 bytes  DV           72  refcnt     2
        callback 4686a300   expires 1716290143
        0 opens 0 writers
        normal file
        states (0x1), stat'd

I triggered the problem when zooming into a libreoffice document and scrolling with the mouse. When libreoffice hangs I can also not change into the configuration directory, which is under AFS.

~/.config/libreoffice/4/user

Bevan commented on 2024-05-18 18:04 (UTC)

@drslmr: I have updated the openafs-modules(-dkms) packages today and noticed that one of the patches I had previously applied for Linux 6.8 has been dropped upstream and another one was reverted. So there may be a chance that one of these caused some issues.

drslmr commented on 2024-05-03 12:32 (UTC)

@Bevan: anyway today and yesterday it seams like we have some network problems. So it may not be worth wasting your weekend right now.

drslmr commented on 2024-05-03 12:17 (UTC)

Thank you @Bevan.

My results are:


ping -s $((1500 - 28)) -M do 8.8.8.8 -c 1
PING 8.8.8.8 (8.8.8.8) 1472(1500) bytes of data.
76 bytes from 8.8.8.8: icmp_seq=1 ttl=116 (truncated)

--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 15.731/15.731/15.731/0.000 ms

ping -s $((1500)) -M do 8.8.8.8 -c 1
PING 8.8.8.8 (8.8.8.8) 1500(1528) bytes of data.
ping: local error: message too long, mtu=1500

Bevan commented on 2024-05-03 11:54 (UTC)

@drslmr: I will do some testing on the weekend but currently I don't think that this is related to our packaging of OpenAFS.

This is really just a shot in the dark, but when I had similar issues, it was (partially) caused by my internet connection which provides a lower MTU than normal for IPv4 connections. You may try adding "-rxmaxmtu 1404" (or even lower numbers) to AFSD_ARGS in /etc/conf.d/openafs. You'll need to restart the OpenAFS client afterwards. You can also use ping to determine your MTU (see for example https://mike632t.wordpress.com/2019/03/03/determine-mtu-size-using-ping/). If it's anything below 1492, this may be the reason.

drslmr commented on 2024-05-03 06:49 (UTC)

Similar as described at https://bbs.archlinux.org/viewtopic.php?id=295218 I get hangs also in firefox. My .mozilla is in AFS. I found that I can "cd" to .mozilla/firefox but "cd" hangs when changing into the default profile sub-directory.


$ cmdebug localhost
Lock afs_discon_lock status: (none_waiting, 3 read_locks(pid:0))
** Cache entry @ 0x15bfdd80 for 182.537041393.18360.17115257 [<my domain>]
    locks: (none_waiting, upgrade_locked(pid:2455 at:121))
         2426640 bytes  DV        14448  refcnt     2
    callback c3dfa100   expires 1714731281
    4 opens     4 writers
    normal file
    states (0x21), stat'd
** Cache entry @ 0x21dcfb40 for 182.537041393.284080.16762084 [<my domain>]
    locks: (none_waiting, write_locked(pid:670 at:51))
               0 bytes  DV            0  refcnt     3
    callback c3dfa100   expires 1714731280
    1 opens     1 writers
    normal file
    states (0x21), stat'd
** Cache entry @ 0x21dca640 for 182.537041393.50053.16761613 [<my domain>]
    locks: (none_waiting, write_locked(pid:3003 at:147))
            6144 bytes  DV       166272  refcnt     2
    callback c3dfa100   expires 1714731280
    0 opens     0 writers
    normal file
    states (0x1), stat'd
** Cache entry @ 0x095fc840 for 182.537041393.50669.17578544 [<my domain>]
    locks: (none_waiting, write_locked(pid:2507 at:142))
            2048 bytes  DV           39  refcnt     2
    callback c3dfa100   expires 1714732222
    0 opens     0 writers
    normal file
    states (0x1), stat'd

Some system info:


openafs 1.8.11-1
openafs-modules-dkms 1.8.11-1
linux 6.8.7.arch1-1

drslmr commented on 2024-04-28 08:00 (UTC)

Hi,

I get some hungs, I reported elsewhere : https://bbs.archlinux.org/viewtopic.php?id=295218

I thought it has to do with the xorg-server, but maybe it is related to AFS?

Bevan commented on 2024-01-22 20:38 (UTC) (edited on 2024-01-31 20:15 (UTC) by Bevan)

Can anyone report their experience with OpenAFS and Linux 6.7? I'm personally having issues with that combination (hanging accesses) but developers working with the exact same software versions cannot reproduce any issues. See: https://lists.openafs.org/pipermail/openafs-devel/2024-January/020909.html

Update 2024-01-31: No need for feedback anymore. This turned out to be a regression in the Linux kernel which is only triggered in specific scenarios. This should be solved in an upcoming kernel release. A corresponding patch has been submitted: https://lore.kernel.org/netdev/20240131155220.82641-1-bevan@bi-co.net/T/