On Tue, 2016-02-09 at 13:55 +0100, Samuel Thibault wrote: > Ritesh Raj Sarraf, on Tue 09 Feb 2016 18:23:29 +0530, wrote: > > On Tue, 2016-02-09 at 13:49 +0100, Samuel Thibault wrote: > > > > So yesterday, after I reported to you about the SSH issue, the OS > > > was > > > > hung on the sshd process. It couldn't even terminate the process. > > > So I > > > > had to reset the box. > > > > > > Did you not even have access to the hurd console? > > > > Nope. And when I say "couldn't terminate", I mean the shutdown init > > scripts. > > Ok. > > Could somebody take the time to add to gnumach an emergency shortcut > which triggers the shutdown? I'm really surprised nobody thought about > it.
Meanwhile you can always enter the kernel debugger if you have the -dbg package installed: C-A-d, and reboot from there. BTW: I run most qemu images as below: qemu-system-x86_64 -enable-kvm -m 1980 -net nic,model=rtl8139 -net user,hostfwd=tcp::5556-:22 -vnc :3 -drive cache=writeback,index=0,media=disk,file=hurd.img And to recheck the root partition from GNU/Linux: su Password: /sbin/losetup -o 1048576 /dev/loop0 hurd.img e2fsck -y -b 32768 /dev/loop0 (offset = 1048576 = 2048*512 if first partition starts at 2028, see /sbin/fdisk -lu ./hurd.img) ============= If changes are needed, like reinstalling a backup hurd placed at /mnt/bck: mount -t ext2 /dev/loop0 /mnt dpkg-deb -x /mnt/bck/hurd_0.7.git20160114-1_hurd-i386.deb /mnt dpkg-deb -x /mnt/bck/hurd-libs0.3_0.7.git20160114-1_hurd-i386.deb /mnt umount /dev/loop0 (Don't forget to apt-get install --reinstall these packages when up and runnig) ============= losetup -d /dev/loop0 exit

