Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907831 - sys-block/nbd-3.24: nbd-server is broken when compiled against glib >= 2.76.
Summary: sys-block/nbd-3.24: nbd-server is broken when compiled against glib >= 2.76.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 907863
Blocks: 901805
  Show dependency tree
 
Reported: 2023-06-04 11:30 UTC by Bram Verweij
Modified: 2023-06-05 05:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bram Verweij 2023-06-04 11:30:10 UTC
See https://github.com/NetworkBlockDevice/nbd/releases/tag/nbd-3.25.

Unfortunately, this is the combination that Gentoo now ships.

Symptoms are:

[  211.673407] block nbd0: Possible stuck request 000000002f44064e: control (read@0,4096B). Runtime 30 seconds
[  242.393288] block nbd0: Possible stuck request 000000002f44064e: control (read@0,4096B). Runtime 60 seconds
[  273.113151] block nbd0: Possible stuck request 000000002f44064e: control (read@0,4096B). Runtime 90 seconds
[  303.833090] block nbd0: Possible stuck request 000000002f44064e: control (read@0,4096B). Runtime 120 seconds



Reproducible: Always

Actual Results:  
Nbd devices cannot be mounted on any client

Expected Results:  
Nbd devices mount as normal.
Comment 1 Bram Verweij 2023-06-04 11:33:00 UTC
Upgrading to nbd-3.25 solves the issue. But in order for 3.25 to compile successfully I had to disable zlib support.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-05 05:22:45 UTC
Reported the zlib issue at https://github.com/NetworkBlockDevice/nbd/issues/149.
Comment 3 Larry the Git Cow gentoo-dev 2023-06-05 05:24:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa6af98b0362bfaba051b1dde9299f77baf2a03

commit 6fa6af98b0362bfaba051b1dde9299f77baf2a03
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-05 05:23:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-05 05:23:37 +0000

    sys-block/nbd: add 3.25
    
    Drops gznbd support, at least for now, given it doesn't compile and upstream
    haven't touched the dir in 9 years.
    
    Closes: https://bugs.gentoo.org/907831
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-block/nbd/Manifest        |  1 +
 sys-block/nbd/nbd-3.25.ebuild | 82 +++++++++++++++++++++++++++++++++++++++++++
 sys-block/nbd/nbd-9999.ebuild | 34 ++++++++++--------
 3 files changed, 103 insertions(+), 14 deletions(-)