Re: [PATCH hurd] irqhelp: Add name of library to log_error messages

2024-10-26 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le mer. 23 oct. 2024 00:35:16 +, a ecrit: > --- > libirqhelp/irqhelp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libirqhelp/irqhelp.c b/libirqhelp/irqhelp.c > index 814fd71c..903339a3 100644 > --- a/libirqhelp/irqhelp.c > +++ b/li

Re: [PATCH 2/3] multiboot: Support graphic mode preferences

2024-10-26 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le jeu. 24 oct. 2024 00:11:04 +, a ecrit: > This change forces multiboot loader to provide video mode info > and also sets the preferred video mode to EGA text to ensure > existing console behaviour still works. > > When support for graphical consoles is provi

Re: [PATCH 1/3] multiboot v1: Add video framebuffer info

2024-10-26 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le jeu. 24 oct. 2024 00:10:56 +, a ecrit: > --- > i386/include/mach/i386/multiboot.h | 72 ++ > 1 file changed, 72 insertions(+) > > diff --git a/i386/include/mach/i386/multiboot.h > b/i386/include/mach/i386/multiboot.h > index c35

Re: [PATCH 3/3] Expose device(mbinfo) with read access to multiboot info

2024-10-26 Thread Samuel Thibault
Hello, Damien Zammit, le jeu. 24 oct. 2024 00:11:11 +, a ecrit: > +io_return_t > +mbinforead(dev_t dev, io_req_t ior) > +{ > + int err, count; > + > + /* Check if IO_COUNT is valid */ > + if (ior->io_count != sizeof(struct multiboot_raw_info)) > + return D_INVALID_SIZE; Th

Re: Halt in X

2024-10-26 Thread Samuel Thibault
Joshua Branson, le sam. 26 oct. 2024 15:43:00 -0400, a ecrit: > Samuel Thibault writes: > > Not shutdown-hurd, but poweroff-hurd. > > That's another (VERY VERY VERY) minor issue. I can never remember what > the specific hurd specific shutdown commands are. Can we link > shutdown-hurd, hurd-shutd

Re: network restart

2024-10-26 Thread Samuel Thibault
Joshua Branson, le sam. 26 oct. 2024 15:37:05 -0400, a ecrit: > Samuel Thibault writes: > > Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > >> - `sudo service networking restart` normally fails. I have to run `# > >> service networking stop; service networking start; service > >

Re: ftpfs & no internet

2024-10-26 Thread Samuel Thibault
Joshua Branson, le sam. 26 oct. 2024 15:24:15 -0400, a ecrit: > Samuel Thibault writes: > > That completely depends on the situation you have. > > > > If your network is really down (no route to the Internet), you'll get > > an immediate "Network is unreachable" error. If your network is not > >

Re: Lock screen

2024-10-26 Thread Joshua Branson
Samuel Thibault writes: > Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: >> - Lock screen issues (i3 & xlock): sometimes when I am performing an >> upgrade patiently waiting and not typing on the keyboard, the X lock >> screen will appear and not accept my keystrokes. > > Does

Re: Halt in X

2024-10-26 Thread Joshua Branson
Joshua Branson writes: > Samuel Thibault writes: > >> Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: >>> - One cannot do `# halt` when running X. [This is a known >>> issue.](https://darnassus.sceen.net/~hurd-web/faq/x-exit/) >> >> No, the faq entry is about the normal session s

Re: Halt in X

2024-10-26 Thread Joshua Branson
Samuel Thibault writes: > Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: >> - One cannot do `# halt` when running X. [This is a known >> issue.](https://darnassus.sceen.net/~hurd-web/faq/x-exit/) > > No, the faq entry is about the normal session shutdown, due to a missing > kill(

Re: network restart

2024-10-26 Thread Joshua Branson
Samuel Thibault writes: > Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: >> - `sudo service networking restart` normally fails. I have to run `# >> service networking stop; service networking start; service >> networking start` to restart the hurd's networking, since the first

Re: ftpfs & no internet

2024-10-26 Thread Joshua Branson
Samuel Thibault writes: > Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: >> - ftpfs doesn't work so well without internet (obviously) >> - settrans -c \~/hurd-iso /hurd/iso9660fs >> $HOME/ftp://ftp.someftpserver.org/img.iso >> - Often times I will be working offline editing th

Re: ftpfs & no internet

2024-10-26 Thread Joshua Branson
Samuel Thibault writes: > Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: >> - ftpfs doesn't work so well without internet (obviously) >> - settrans -c \~/hurd-iso /hurd/iso9660fs >> $HOME/ftp://ftp.someftpserver.org/img.iso >> - Often times I will be working offline editing th

Re: boot with read-only

2024-10-26 Thread Joshua Branson
Samuel Thibault writes: > Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: >> - Starting X issue: This one took me a while to figure out. The Hurd >> automatically runs fsck on your filesystems at boot, and it fixes >> all issues without user intervention! BUT sometimes it is u

Re: Halt in X (Was: Hurd Tips)

2024-10-26 Thread Samuel Thibault
Samuel Thibault, le sam. 26 oct. 2024 13:11:40 +0200, a ecrit: > Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > > - One cannot do `# halt` when running X. [This is a known > > issue.](https://darnassus.sceen.net/~hurd-web/faq/x-exit/) > > No, the faq entry is about the normal se

Re: Hurd Tips

2024-10-26 Thread Samuel Thibault
Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > Upon rebooting the Hurd in qemu, most of the time, the > auto fsck worked. BUT sometimes, it failed Does that not happen on real hardware too when you have to force it off? > and mounted things readonly. See the other thread, i

boot with read-only (Was: Hurd Tips)

2024-10-26 Thread Samuel Thibault
Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > - Starting X issue: This one took me a while to figure out. The Hurd > automatically runs fsck on your filesystems at boot, and it fixes > all issues without user intervention! BUT sometimes it is unable to > automatically rid

ftpfs & no internet (Was: Hurd Tips)

2024-10-26 Thread Samuel Thibault
Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > - ftpfs doesn't work so well without internet (obviously) > - settrans -c \~/hurd-iso /hurd/iso9660fs > $HOME/ftp://ftp.someftpserver.org/img.iso > - Often times I will be working offline editing the wiki, and I will > type `l

network restart (Was: Hurd Tips)

2024-10-26 Thread Samuel Thibault
Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > - `sudo service networking restart` normally fails. I have to run `# > service networking stop; service networking start; service > networking start` to restart the hurd's networking, since the first > "start" command always fai

Halt in X (Was: Hurd Tips)

2024-10-26 Thread Samuel Thibault
Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > - One cannot do `# halt` when running X. [This is a known > issue.](https://darnassus.sceen.net/~hurd-web/faq/x-exit/) No, the faq entry is about the normal session shutdown, due to a missing kill() functionality. Halt not being ab

Lock screen (Was: Hurd Tips)

2024-10-26 Thread Samuel Thibault
Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > - Lock screen issues (i3 & xlock): sometimes when I am performing an > upgrade patiently waiting and not typing on the keyboard, the X lock > screen will appear and not accept my keystrokes. Does it happen also when not upgrading?

I/O lockup (Was: Hurd Tips)

2024-10-26 Thread Samuel Thibault
Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > - When I choose to upgrade the Hurd after starting i3, I patiently > wait for the upgrade to finish. I do not use any other programs > or switch workspaces. When I have done so in the past, many times > the Hurd slowed t

apt upgrade (Was: Hurd Tips)

2024-10-26 Thread Samuel Thibault
Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > - Upgrade issues: > - When I used the stable release of Debian GNU/Linux, I used command > this to upgrade: > > `# apt update` > > ` # apt upgrade`. > > But the Hurd recommends to [use this update > com

Sync/syncfs (was: Hurd Tips)

2024-10-26 Thread Samuel Thibault
Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit: > - syncfs vs. sync -> Until syncfs' functionality can be merged into > sync, maybe we should link sync to syncfs ? I don't understand what you mean. What is the actual problem here? Samuel

Re: Hurd Tips

2024-10-26 Thread Samuel Thibault
Hello, Most of these are not really tips, but things that should just be addressed. I'll split off the discussions since these are vastly different areas. Samuel

Re: More thinking about adding /dev/rtc

2024-10-26 Thread Sergey Bugaev
On Sat, Oct 26, 2024 at 5:45 AM Zhaoming Luo wrote: > Hi, Hi, > - Which server should have the implementation pioctl-ops.c, pfinet or > lwip? /dev/rtc is the Real Time Clock device, right? If so, it has nothing to do with the TCP/IP stack, in either of the two implementations (pfinet or lwip).