Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64398 > unrolled thread

Bug#931500: Acknowledgement (linux-image-4.19.0-5-amd64: kernel deadlock with autofs)

Started byAnton Ivanov <anton.ivanov@kot-begemot.co.uk>
First post2019-07-08 13:40 +0200
Last post2019-07-08 14:40 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#931500: Acknowledgement (linux-image-4.19.0-5-amd64: kernel deadlock with autofs) Anton Ivanov <anton.ivanov@kot-begemot.co.uk> - 2019-07-08 13:40 +0200
    Bug#931500: Acknowledgement (linux-image-4.19.0-5-amd64: kernel deadlock with autofs) Anton Ivanov <anton.ivanov@kot-begemot.co.uk> - 2019-07-08 14:40 +0200

#64398 — Bug#931500: Acknowledgement (linux-image-4.19.0-5-amd64: kernel deadlock with autofs)

FromAnton Ivanov <anton.ivanov@kot-begemot.co.uk>
Date2019-07-08 13:40 +0200
SubjectBug#931500: Acknowledgement (linux-image-4.19.0-5-amd64: kernel deadlock with autofs)
Message-ID<yhA9X-63s-11@gated-at.bofh.it>
On 08/07/2019 11:59, Anton Ivanov wrote:
> There are clearly some issues with nfs across an autofs mount (maybe 
> for hard mounts as well), so this may warrant an upgrade.
>
> Example test.  Run make -j 12 ; make clean in a loop on an nfs mounted 
> openwrt tree until it fails (usually 2-3 iterations).
>
> State on the client
>
> ls -laF 
> /var/autofs/local/src/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/linux-4.14.125/arch/mips/include/generated/uapi/asm
>
> total 8
> drwxr-xr-x 2 anivanov anivanov 4096 Jul  8 11:40 ./
> drwxr-xr-x 3 anivanov anivanov 4096 Jul  8 11:40 ../
>
> State as seen on the server (mounted via nfs across localhost):
>
> ls -laF 
> /var/autofs/local/src/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/linux-4.14.125/arch/mips/include/generated/uapi/asm
> total 12
> drwxr-xr-x 2 anivanov anivanov 4096 Jul  8 11:40 ./
> drwxr-xr-x 3 anivanov anivanov 4096 Jul  8 11:40 ../
> -rw-r--r-- 1 anivanov anivanov   32 Jul  8 11:40 ipcbuf.h
>
> State on the filesystem:
>
> ls -laF 
> /exports/work/src/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/linux-4.14.125/arch/mips/include/generated/uapi/asm
> total 12
> drwxr-xr-x 2 anivanov anivanov 4096 Jul  8 11:40 ./
> drwxr-xr-x 3 anivanov anivanov 4096 Jul  8 11:40 ../
> -rw-r--r-- 1 anivanov anivanov   32 Jul  8 11:40 ipcbuf.h
>
> So actually this looks like the caching on NFS is royally fubar

Dropping caches restores things to normal, but that is not a solution. 
It is a diagnosis.

-- 
Anton R. Ivanov
https://www.kot-begemot.co.uk/

[toc] | [next] | [standalone]


#64400

FromAnton Ivanov <anton.ivanov@kot-begemot.co.uk>
Date2019-07-08 14:40 +0200
Message-ID<yhB63-6C4-31@gated-at.bofh.it>
In reply to#64398
The most interesting part - it is always the same file.

ls -laF 
/var/autofs/local/src/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/linux-4.14.125/arch/mips/include/generated/uapi/asm/ipcbuf.h

It becomes invisible from the client, but exists in the server. Usually 
takes ~4-5 builds in a loop to achieve that.

A.

On 08/07/2019 12:01, Anton Ivanov wrote:
>
> On 08/07/2019 11:59, Anton Ivanov wrote:
>> There are clearly some issues with nfs across an autofs mount (maybe 
>> for hard mounts as well), so this may warrant an upgrade.
>>
>> Example test.  Run make -j 12 ; make clean in a loop on an nfs 
>> mounted openwrt tree until it fails (usually 2-3 iterations).
>>
>> State on the client
>>
>> ls -laF 
>> /var/autofs/local/src/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/linux-4.14.125/arch/mips/include/generated/uapi/asm
>>
>> total 8
>> drwxr-xr-x 2 anivanov anivanov 4096 Jul  8 11:40 ./
>> drwxr-xr-x 3 anivanov anivanov 4096 Jul  8 11:40 ../
>>
>> State as seen on the server (mounted via nfs across localhost):
>>
>> ls -laF 
>> /var/autofs/local/src/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/linux-4.14.125/arch/mips/include/generated/uapi/asm
>> total 12
>> drwxr-xr-x 2 anivanov anivanov 4096 Jul  8 11:40 ./
>> drwxr-xr-x 3 anivanov anivanov 4096 Jul  8 11:40 ../
>> -rw-r--r-- 1 anivanov anivanov   32 Jul  8 11:40 ipcbuf.h
>>
>> State on the filesystem:
>>
>> ls -laF 
>> /exports/work/src/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/linux-4.14.125/arch/mips/include/generated/uapi/asm
>> total 12
>> drwxr-xr-x 2 anivanov anivanov 4096 Jul  8 11:40 ./
>> drwxr-xr-x 3 anivanov anivanov 4096 Jul  8 11:40 ../
>> -rw-r--r-- 1 anivanov anivanov   32 Jul  8 11:40 ipcbuf.h
>>
>> So actually this looks like the caching on NFS is royally fubar
>
> Dropping caches restores things to normal, but that is not a solution. 
> It is a diagnosis.
>
-- 
Anton R. Ivanov
https://www.kot-begemot.co.uk/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web