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


Groups > linux.debian.kernel > #84873

Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault

From Bill Brelsford <wb@k2di.net>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault
Date 2024-12-19 06:50 +0100
Message-ID <JVhA5-MN8-1@gated-at.bofh.it> (permalink)
References (3 earlier) <JUq2J-2FN-1@gated-at.bofh.it> <JUvF7-7HE-1@gated-at.bofh.it> <JUO53-jlb-1@gated-at.bofh.it> <JTLCh-h5XL-1@gated-at.bofh.it> <JUO53-jlb-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Salvatore,

On Tue Dec 17 2024 at 11:12 PM +0100, Salvatore Bonaccorso wrote:
> Thanks. Unfortunately still no look in a lab setup to trigger your
> issue. When rpc.segfaults, are there any other nfs related processed
> and threads running on the system?

ps -eLf shows only one: [kworker/R-nfsiod]

> > > Can you additionally please test to downgrade to the 2.8.1-2 version
> > > and please report back if you see the problem there was well? For us
> > > it should behave actually same as 2.8.1-1 but I would like to double
> > > check.

Thanks for the pointer to snapshot.d.o.  Yes, 2.8.1-2 also has the
problem.

> > > If you start it through nfsdctl do you get the exports working?

Exports/exportfs are already working.  Trying to start with nfsdctl
instead of /etc/init.d/nfs-kernel-server (in 2.8.2-1) gives

	# nfsdctl -d autostart
	nfsdctl> autostart
	Error: Device or resource busy
	Error: Operation not permitted

> > Another possible clue: after upgrading (to 2.8.2-1), there is no
> > problem -- I can start and stop the daemon, export/unexport
> > filesystems, etc.  Everything seems normal -- until the system is
> > rebooted and rpc.nfsd is invoked.
> 
> As for the first part: What processes and kernel threads are started
> on the system at this stage?

ps -eLf gives 16 [nfsd] as well as the [kworker/R-nfsiod].  And
with the daemon started, some nfsdctl commands work:

	# nfsdctl status                 
	# nfsdctl threads  
	gracetime: 90
	leasetime: 90
	scope: k2ww
	pool-threads: 16   
	# nfsdctl listener 
	tcp:[::]:2049
	tcp:0.0.0.0:2049   
	# nfsdctl version  
	+3.0 +4.0 +4.1 +4.2

Hope this helps.  Thanks..  Bill

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2024-12-15 02:30 +0100
  Processed: Re: Bug#1089976: nfs-kernel-server: Fails to start -  segmentation fault "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-12-15 14:20 +0100
  Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2024-12-15 14:20 +0100
    Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2024-12-16 04:30 +0100
      Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2024-12-16 21:40 +0100
        Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2024-12-17 03:40 +0100
          Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2024-12-17 23:20 +0100
            Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2024-12-19 06:50 +0100
              Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2024-12-19 16:30 +0100
                Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2025-01-15 03:00 +0100
                Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2025-01-15 07:20 +0100
  Processed: Re: Bug#1089976: nfs-kernel-server: Fails to start -  segmentation fault "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-01-16 09:40 +0100
  Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2025-01-16 09:40 +0100
    Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2025-01-17 04:30 +0100

csiph-web