Re: [PATCH] Re: Hurd shutdown problems

2016-08-20 Thread Samuel Thibault
Hello, Brent W. Baccala, on Wed 17 Aug 2016 10:58:41 -1000, wrote: > OK, I seem to have gotten a handle on this thing now. Cool :) > First, there's a missing mutex unlock in mach_defpager.  I'm attaching two > patches.  One fixes the debug printfs in mach_defpager/default_pager.c, which > obviou

[PATCH] Re: Hurd shutdown problems

2016-08-17 Thread Brent W. Baccala
Aloha - OK, I seem to have gotten a handle on this thing now. First, there's a missing mutex unlock in mach_defpager. I'm attaching two patches. One fixes the debug printfs in mach_defpager/default_pager.c, which obviously haven't been compiled for a while. Use %p and %lx instead of %x to sile

Re: Hurd shutdown problems

2016-08-08 Thread Riccardo Mottola
Hi, Justus Winter wrote: >Have you tried using halt-hurd instead of shutdown? As far as I can >remember, halt-hurd has never caused file system corruption for me, >but I'm pretty sure shutdown did way back when I was still trying >to use it. That is correct. halt-hurd is basically halt -f, whi

Re: Hurd shutdown problems

2016-08-08 Thread Justus Winter
"Brent W. Baccala" writes: > On Sat, Aug 6, 2016 at 7:59 AM, Justus Winter wrote: > >> >> To prevent filesystem damage, try the following. Break into the kernel >> debugger, and kill the auth server using: >> >> !task_terminate($task5) >> >> Then continue using "c", and /hurd/startup should cle

Re: Hurd shutdown problems

2016-08-08 Thread Brent W. Baccala
On Sat, Aug 6, 2016 at 7:59 AM, Justus Winter wrote: > > To prevent filesystem damage, try the following. Break into the kernel > debugger, and kill the auth server using: > > !task_terminate($task5) > > Then continue using "c", and /hurd/startup should cleanly shutdown the > system. > > The pro

Re: Hurd shutdown problems

2016-08-07 Thread Justus Winter
Please use a MUA that does not break threads like this. Esa Peuha writes: > Have you tried using halt-hurd instead of shutdown? As far as I can > remember, halt-hurd has never caused file system corruption for me, > but I'm pretty sure shutdown did way back when I was still trying > to use it.

Re: Hurd shutdown problems

2016-08-07 Thread Esa Peuha
Have you tried using halt-hurd instead of shutdown? As far as I can remember, halt-hurd has never caused file system corruption for me, but I'm pretty sure shutdown did way back when I was still trying to use it.

Re: Hurd shutdown problems

2016-08-06 Thread Justus Winter
Hi :) "Brent W. Baccala" writes: > Aloha! > > Well, I think that I've resolved my boot hangs by removing the > -no-kvm-irqchip flag, now I'm trying to resolve the occasional hang when > the system shuts down. The filesystem always gets corrupted if the system > can't cleanly halt, so it's a rea