Re: [PATCHv2] os-prober: Fix translating device to mach format

2018-04-16 Thread Samuel Thibault
Well, to be honest, I don't think I'll have the time to dive into grub-probe to see where the breakage comes from etc. so as far as I'm concerned, I'll just archive the discussion. If people really want to see the Hurd work for them, they'll have to do a bit of the work. People can't just rely on

Re: Can't boot GNU Mach with efi

2021-02-05 Thread Samuel Thibault
Andrea G. Monaco, le ven. 05 févr. 2021 21:57:03 +0100, a ecrit: > Or that Mach expects to start in text mode and grub can't do that in > efi? Mach doesn't initialize text mode itself indeed. Samue ___ Grub-devel mailing list Grub-devel@gnu.org https:/

[PATCH] hurd: Add support for pci-arbiter and rumpdisk

2022-02-20 Thread Samuel Thibault
This adds pci-arbiter and rumpdisk as bootstrap modules whenever they are available. This opens the path for fully-userland disk support. diff --git a/util/grub.d/10_hurd.in b/util/grub.d/10_hurd.in index 3663d360e..2ab3a97e6 100644 --- a/util/grub.d/10_hurd.in +++ b/util/grub.d/10_hurd.in @@ -68

[PATCH] hurd: Add support for rumpdisk device names

2022-02-21 Thread Samuel Thibault
On GNU/Hurd grub2 currently only looks at /dev/hd* and /dev/sd*. With rumpdisk we now also need to look at /dev/wd* Signed-off-by: Samuel Thibault Index: grub2-2.06/util/deviceiter.c === --- grub2-2.06.orig/util/deviceiter.c

Re: [PATCH] hurd: Add support for pci-arbiter and rumpdisk

2022-02-21 Thread Samuel Thibault
Samuel Thibault, le dim. 20 févr. 2022 20:23:03 +0100, a ecrit: > This adds pci-arbiter and rumpdisk as bootstrap modules whenever they are > available. This opens the path for fully-userland disk support. I forgot: Signed-off-by: Samuel Thibault > diff --git a/util/grub.d/10_hurd.

Re: [PATCH] hurd: Add support for rumpdisk device names

2022-02-22 Thread Samuel Thibault
Daniel Kiper, le mar. 22 févr. 2022 14:42:57 +0100, a ecrit: > On Tue, Feb 22, 2022 at 12:48:45AM +0100, Samuel Thibault wrote: > > On GNU/Hurd grub2 currently only looks at /dev/hd* and /dev/sd*. With > > rumpdisk we now also need to look at /dev/wd* > > > > Sig

[PATCH] hurd: Support device entries with @/dev/disk: qualifier

2022-02-22 Thread Samuel Thibault
Those are used with non-bootstrap disk drivers, for which libstore has to open /dev/disk before calling device_open on it instead of on the device master port. Normally in that case all /dev/ entries also have the @/dev/disk: qualifier, so we can just drop it. Signed-off-by: Samuel Thibault

[PATCHv2] hurd: Support device entries with @/dev/disk: qualifier

2022-02-23 Thread Samuel Thibault
Those are used with non-bootstrap disk drivers, for which libstore has to open /dev/disk before calling device_open on it instead of on the device master port. Normally in that case all /dev/ entries also have the @/dev/disk: qualifier, so we can just drop it. Signed-off-by: Samuel Thibault

[PATCH] hurd: Use part: qualifier

2022-02-26 Thread Samuel Thibault
as to understand this syntax and translate it into the /dev/ entry name. Signed-off-by: Samuel Thibault Index: grub2-2.06/util/grub.d/10_hurd.in === --- grub2-2.06.orig/util/grub.d/10_hurd.in +++ grub2-2.06/util/grub.d/10_hurd.in @@ -

[PATCHv3] hurd: Support device entries with @/dev/disk: qualifier

2022-04-27 Thread Samuel Thibault
Those are used with non-bootstrap disk drivers, for which libstore has to open /dev/disk before calling device_open on it instead of on the device master port. Normally in that case all /dev/ entries also have the @/dev/disk: qualifier, so we can just drop it. Signed-off-by: Samuel Thibault

Re: [PATCHv3] hurd: Support device entries with @/dev/disk: qualifier

2022-05-17 Thread Samuel Thibault
Daniel Kiper, le mar. 17 mai 2022 16:22:10 +0200, a ecrit: > On Wed, Apr 27, 2022 at 11:00:29PM +0200, Samuel Thibault wrote: > > Those are used with non-bootstrap disk drivers, for which libstore has to > > open /dev/disk before calling device_open on it instead of on the device

[PATCHv2] hurd: Use part: qualifier

2022-05-25 Thread Samuel Thibault
as to understand this syntax and translate it into the /dev/ entry name. Signed-off-by: Samuel Thibault --- Difference with v2: rebase on master Index: grub2-2.06/util/grub.d/10_hurd.in === --- grub2-2.06.orig/util/grub.d/10_hurd.in +++

Re: [PATCH] hurd: Use part: qualifier

2022-05-25 Thread Samuel Thibault
Daniel Kiper, le mer. 25 mai 2022 14:56:38 +0200, a ecrit: > On Tue, May 17, 2022 at 04:43:45PM +0200, Daniel Kiper wrote: > > On Sat, Feb 26, 2022 at 12:51:18PM +0100, Samuel Thibault wrote: > > > When using userland drivers such as rumpdisk, we'd rather make ext2fs

Grub website issues

2018-03-11 Thread Samuel Thibault
Hello, There are a few issues on the grub website on https://www.gnu.org/software/grub/grub-development.html The page says it is maintained by Bruce Dubbs but he told me he doesn't have access to the site any more. The page tells to subscribe to the developers' mailing list, but doesn't provide

[PATCH] os-prober: Fix translating device to mach format

2018-03-11 Thread Samuel Thibault
grub-probe would currently would currently print e.g. "hostdisk//dev/sda,msdos1", i.e. not something we can translate. We can instead use compatibility_hint which have more well-defined format. Signed-off-by: Samuel Thibault --- util/grub.d/30_os-prober.in | 4 ++-- 1 file

[PATCHv2] os-prober: Fix translating device to mach format

2018-03-14 Thread Samuel Thibault
grub-probe --device /dev/sda --target=drive would currently print on Linux x86 "hostdisk//dev/sda,msdos1", i.e. not something we can translate easily. We can instead use compatibility_hint which have more well-defined format (hd0,1) Signed-off-by: Samuel Thibault --- new in v2: Fi

Re: [PATCH] os-prober: Fix translating device to mach format

2018-03-14 Thread Samuel Thibault
Hello, Daniel Kiper, on mer. 14 mars 2018 13:58:51 +0100, wrote: > On Sun, Mar 11, 2018 at 09:58:20PM +0100, Samuel Thibault wrote: > > "hostdisk//dev/sda,msdos1", i.e. not something we can translate. We can > > Are you sure that this happens upstream? It happens with

Re: [PATCHv2] os-prober: Fix translating device to mach format

2018-03-22 Thread Samuel Thibault
Daniel Kiper, on jeu. 22 mars 2018 15:16:46 +0100, wrote: > On Wed, Mar 14, 2018 at 02:14:08PM +0100, Samuel Thibault wrote: > > @@ -297,8 +297,8 @@ menuentry '$(echo "${LONGNAME} $onstr" | grub_quote)' > > --class hurd --class gnu - > > EOF >

Grub & accessibility

2009-07-07 Thread Samuel Thibault
Hello, (Cc-ing the grub-devel mailing list for the record) Just a few short points: - brltty GPL2+ and has a _lot_ of drivers for braille devices, it would be sad to not reuse them :) - speakup is also GPL2+ and has drivers for hardware speech syntheses. - qemu can emulate a Baum braille devic

Re: Grub & accessibility

2009-07-10 Thread Samuel Thibault
(sorry phcoder for the duplication) Robert Millan, le Fri 10 Jul 2009 19:22:48 +0200, a écrit : > We've made some exceptions, but in general, we'd like to keep the GRUB > codebase made entirely of FSF-copyrighted code, or at least code we > have disclaimers for. > > OTOH, we don't want to discard

Re: Grub & accessibility

2009-07-18 Thread Samuel Thibault
Robert Millan, le Sat 18 Jul 2009 22:03:25 +0200, a écrit : > I won't allow, however, grub-extras to be used as an excuse to avoid > paperwork for code specifically written for GRUB. That's fine with me at least, since I've already signed the papers :) Samuel ___

Re: [Fwd: Bug#532202: grub-pc: behaves strange in virtualbox with a disk > 2 TB]

2009-07-24 Thread Samuel Thibault
Hello, This is most probably a bug of the BIOS. I had pushed to bochs' BIOS a patch to implement LBA48 so as to overcome the LBA28 limitation (2^28*512 = 128GB), but it still has a 2^32 sectors limitation as all computations are done with 32bit integers, that's 2TB... Samuel __

[PATCH,HURD] Fix GNU/Hurd boot

2009-10-21 Thread Samuel Thibault
Hello, The patch compensates the behavior change in the module command: it repeats the module name since GNU Mach expects it in the command line. Samuel Index: docs/grub.cfg === --- docs/grub.cfg (révision 2643) +++ docs/grub.

[PATCH,HURD] Fix GNU/Hurd menu entry generation

2009-10-25 Thread Samuel Thibault
Hello, The patch below fixes menu entry generation for GNU/Hurd. Samuel 2009-20-26 Samuel Thibault * util/grub.d/30_os-prober.in: Add GNU/Hurd support * util/grub.d/10_hurd.in: Translate grub device name into mach device name. Index: util/grub.d/30_os-prober.in

Re: [PATCH,HURD] Fix GNU/Hurd menu entry generation

2009-10-25 Thread Samuel Thibault
Robert Millan, le Mon 26 Oct 2009 02:48:48 +0100, a écrit : > > @@ -73,7 +74,7 @@ > > EOF > > prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/" > > cat << EOF > > - multiboot ${kernel} root=device:${GRUB_DEVICE} > > + multiboot ${kernel} root=device:${mach_device} > > I think

Re: [PATCH,HURD] Fix GNU/Hurd menu entry generation

2009-10-26 Thread Samuel Thibault
Robert Millan, le Mon 26 Oct 2009 13:36:13 +0100, a écrit : > On Mon, Oct 26, 2009 at 03:01:16AM +0100, Samuel Thibault wrote: > > > Did you observe wrong entry generation in grub-mkconfig? > > > > I didn't try that part of my patch as there are other things that &

[PATCH,HURD] Fix GNU/Hurd partition number

2009-11-01 Thread Samuel Thibault
Hello, This patch fixes partition number translation on GNU/Hurd. Samuel 2009-11-02 Samuel Thibault * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Subtract 1 from GNU partition number to get internal grub DOS partition number. Index: util/hostdisk.c

[PATCH,HURD] Fix 10_hurd for separate /boot case.

2009-11-01 Thread Samuel Thibault
Hello, This patch fixes the 10_hurd script in the case where /boot is in a separate partition. Samuel 2009-11-02 Samuel Thibault * util/grub.d/10_hurd.in: Call prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} before loading /boot kernel. Index: util/grub.d/10_hurd.in

Re: [PATCH,HURD] Fix GNU/Hurd partition number

2009-11-02 Thread Samuel Thibault
Robert Millan, le Mon 02 Nov 2009 14:52:02 +0100, a écrit : > On Mon, Nov 02, 2009 at 03:33:34AM +0100, Samuel Thibault wrote: > > * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Subtract 1 from > > GNU partition number to get internal grub DOS partition number. > &

[PATCH,HURD] Fix root device passing

2009-11-02 Thread Samuel Thibault
Hello, The patch below fixes passing root device to GNU Mach. With this applied (and some tuning in my hurd /dev/) and my other two patches, I could successfully run grub-install and boot! Samuel 2009-11-02 Samuel Thibault * util/grub.d/10_hurd.in: Drop /dev/ prefix from root device

Re: [PATCH,HURD] Fix root device passing

2009-11-02 Thread Samuel Thibault
Colin Watson, le Mon 02 Nov 2009 18:50:43 +, a écrit : > 'multiboot ${kernel} root=device:${GRUB_DEVICE#/dev/}' would be simpler > and quicker. And will not work on some systems. Samuel ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.g

Re: [PATCH,HURD] Fix root device passing

2009-11-02 Thread Samuel Thibault
Felix Zielcke, le Mon 02 Nov 2009 20:06:19 +0100, a écrit : > Am Montag, den 02.11.2009, 19:53 +0100 schrieb Samuel Thibault: > > Colin Watson, le Mon 02 Nov 2009 18:50:43 +, a écrit : > > > 'multiboot ${kernel} root=device:${GRUB_DEVICE#/dev/}' would be simpler >

Re: [PATCH,HURD] Fix root device passing

2009-11-02 Thread Samuel Thibault
Robert Millan, le Mon 02 Nov 2009 20:11:07 +0100, a écrit : > On Mon, Nov 02, 2009 at 07:53:36PM +0100, Samuel Thibault wrote: > > Colin Watson, le Mon 02 Nov 2009 18:50:43 +, a écrit : > > > 'multiboot ${kernel} root=device:${GRUB_DEVICE#/dev/}' would

[PATCH,HURD] Fix GNU/Hurd menu entry generation

2009-11-02 Thread Samuel Thibault
Hello, The patch below fixes menu entry generation for GNU/Hurd. Samuel 2009-20-26 Samuel Thibault * util/grub.d/30_os-prober.in: Add GNU/Hurd support Index: util/grub.d/30_os-prober.in === --- util/grub.d/30_os

Re: [PATCH,HURD] Fix GNU/Hurd menu entry generation

2009-11-03 Thread Samuel Thibault
Yves Blusseau, le Tue 03 Nov 2009 14:36:09 +0100, a écrit : > is it normal that hurd entry match ANY OS because you left the wildcard > in the hurd case: Ugh, no, I was misguided by the hurd tag indeed, here is a patch. Samuel 2009-11-03 Samuel Thibault * util/grub.d/30_os-pro

[PATCH,HURD] Make grub-probe work on GNU/Hurd

2009-11-21 Thread Samuel Thibault
Hello, After discussions between Hurd developers, here is a patch to implement grub_guess_root_device() natively by directly asking the fs translator. This is the last bit needed to get grub-install working. Samuel 2009-11-21 Samuel Thibault * util/getroot.c: [__GNU__] Include

Re: [RFC] Don't pass filename in multiboot command line

2009-11-24 Thread Samuel Thibault
Robert Millan, le Tue 24 Nov 2009 12:48:22 +0100, a écrit : > On Tue, Nov 24, 2009 at 12:34:37PM +0100, Robert Millan wrote: > > You're right. We should have documented this better. Perhaps by mentioning > > it in NEWS and in the release announcement. Sorry about that. > > And in spite of that,

grub-install crash on GNU/Hurd

2009-11-28 Thread Samuel Thibault
Hello, grub-install crashes on GNU/Hurd on the stat call in probe(): if (print == PRINT_FS) { struct stat st; stat (path, &st); if (S_ISREG (st.st_mode)) because when grub-probe is passed --device /dev/hd0, path is NULL. This doesn't get noticed on Linux because it retu

Re: grub-install crash on GNU/Hurd

2009-11-28 Thread Samuel Thibault
Here is the patch agains, with -w Samuel === modified file 'util/grub-probe.c' --- util/grub-probe.c 2009-11-25 23:10:02 + +++ util/grub-probe.c 2009-11-29 03:30:50 + @@ -238,6 +238,8 @@ if (print == PRINT_FS) { + if (path) +{ struct stat st; stat

Re: my plan for Multiboot 2

2009-12-07 Thread Samuel Thibault
Robert Millan, le Mon 07 Dec 2009 16:08:31 +0100, a écrit : > - Release a new revision of Multiboot 1, with only modifications that don't > alter the spec. I.e. GRUB Legacy continues to be compliant, and we don't > change the signature. These modifications would basically cope with the

Re: [Xen-devel] pvgrub2 able to boot netbsd

2013-10-30 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Thu 31 Oct 2013 01:43:47 +0100, a écrit : > x86_64-xen port available from > http://git.savannah.gnu.org/cgit/grub.git/log/?h=phcoder/newports/xen. > More specifically commit > 5d30ce52f29a98ef03275426cace57ae5e66193c > is able to load netbsd kernel. \O/

Re: [Xen-devel] pvgrub2 for ARM

2013-11-06 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Wed 06 Nov 2013 14:00:24 +0100, a écrit : > Are there machines for under $100 on which xen runs? Couldn't qemu be used? Samuel ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listi

Re: [Xen-devel] pvgrub2 is merged

2013-11-09 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Sat 09 Nov 2013 21:52:20 +0100, a écrit : > pvgrub2 has just became part of upstream grub as ports i386-xen and > x86_64-xen. \o/ Samuel ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/ma

Re: [Xen-devel] pvgrub2 is merged

2013-12-02 Thread Samuel Thibault
Ian Campbell, le Mon 02 Dec 2013 09:48:07 +, a écrit : > On Fri, 2013-11-29 at 21:44 +0400, Andrey Borzenkov wrote: > > I guess this question is better asked on xen-devel. Assuming we have 64 > > bit dom0 and try to boot 32 bit domU. Is it possible to start with > > loading 64 bit grub that loa

Re: [Xen-devel] [PATCH 0/4] Turn-key PV-GRUB2 installation

2013-12-16 Thread Samuel Thibault
Ian Campbell, le Mon 16 Dec 2013 11:42:03 +, a écrit : > I wonder if it might be possible to chainload somehow from dom0's > pvgrub1 to a pvgrub2 from within the guest. I don't see any ground reason why it shouldn't be possible. I don't have a pvgrub2 image under my hand, but pvgrub1 is able t

beep support?

2010-02-02 Thread Samuel Thibault
Hello, Some blind people have asked me about beep support. I think at some point there was somebody working on a module to get sound support, but there isn't such thing in the main grub2 source, only case '\a': /* FIXME */ break; ... This is a regression from grub legacy which permited to use th

Re: beep support?

2010-02-02 Thread Samuel Thibault
Felix Zielcke, le Tue 02 Feb 2010 15:09:47 +0100, a écrit : > Am Dienstag, den 02.02.2010, 14:09 +0100 schrieb Samuel Thibault: > > Some blind people have asked me about beep support. I think at some > > point there was somebody working on a module to get sound support, but >

Re: beep support?

2010-02-02 Thread Samuel Thibault
Felix Zielcke, le Tue 02 Feb 2010 15:09:47 +0100, a écrit : > There's play command in commands/i386/pc/play.c but I still don't know > what file format it actual plays. Ok, reading the source code told me how it works. I'm considering adding to grub2/util/grub.d/00_header.in a BEEP option that th

Re: beep support?

2010-02-05 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Fri 05 Feb 2010 17:52:02 +0100, a écrit : > Could you detail at which events beep should be produced and propose a > patch to add appropriate hooks? A beep just when the menu is first drawn is already a good thing and is trivial to add by just calling pla

Re: beep support?

2010-02-05 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Fri 05 Feb 2010 19:24:55 +0100, a écrit : > What do you think about a syntax like this: > menuentry "blah bla" { > ... > } onselect { >play abcd > } Looks fine! Samuel ___ Grub-devel mailing list Grub-de

Re: beep support?

2010-02-05 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Fri 05 Feb 2010 19:28:43 +0100, a écrit : > BTW in exp we have: > menuentry "blah blah" --hotkey b { > ... > } > Then to boot "blah blah" one has just to press 'b'. Good! I'm wondering however how to integrate that into auto-generated menu entries. Mayb

Re: beep support?

2010-02-07 Thread Samuel Thibault
Samuel Thibault, le Wed 03 Feb 2010 00:00:43 +0100, a écrit : > Felix Zielcke, le Tue 02 Feb 2010 15:09:47 +0100, a écrit : > > There's play command in commands/i386/pc/play.c but I still don't know > > what file format it actual plays. > > Ok, reading the source

Re: beep support?

2010-02-13 Thread Samuel Thibault
Mmm, the subdino2...@yahoo.fr mail address is not working any more. May I consider taking over maintainship of the play module? Samuel ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: beep support?

2010-02-14 Thread Samuel Thibault
Samuel Thibault, le Fri 05 Feb 2010 19:11:18 +0100, a écrit : > Vladimir 'φ-coder/phcoder' Serbinenko, le Fri 05 Feb 2010 17:52:02 +0100, a > écrit : > > Could you detail at which events beep should be produced and propose a > > patch to add appropriate hooks? >

Re: Possible ports

2010-03-29 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 30 Mar 2010 00:39:31 +0200, a écrit : > 6) Paravirtualized environments are often used for security reasons. In > this context it's preferable to have a bootloader inside virtual machine > rather than outside. Some paravirtualized environments are carb

Avoiding best-effort

2010-07-10 Thread Samuel Thibault
Hello, There's a concern with the way grub menu entries work: even if a command fails, grub continues with others, like bash's "best-effort" way. This leads to difficult-to-diagnose results: say for instance multiboot /boot/mykernel module /boot/initrd module /boot/inittask and initrd is too bi

Re: [BRLTTY] Fwd: [RFC] GRUB2 and braille support

2010-07-28 Thread Samuel Thibault
Mario Lang, le Wed 28 Jul 2010 22:50:02 +0200, a écrit : > I guess another approach could be to treat GRUB2 as a platform > supported by brltty, but I really dont know anything about > GRUBs support for plugins or externally compiled code... That was also something I had considered. One advantage

Re: [RFC] GRUB2 and braille support

2010-07-28 Thread Samuel Thibault
For the record, here is attached a list of the external references of braille drivers (list-brl, filtered out a bit). Apart from standard C functions, I can see - timing functions - bluetooth functions - serial functions - usb functions - io port functions - dots/character conversion - logging

Re: [RFC] GRUB2 and braille support

2010-07-28 Thread Samuel Thibault
Another option of course is to just embed the whole brltty code, and just adding a grub screen driver. That'd be much more demanding in terms of libc functions (see attached rough list on Linux), as well as some refactoring of the brltty main loop to make it live along the grub main loop. Samuel

Re: [RFC] GRUB2 and braille support

2010-07-30 Thread Samuel Thibault
Samuel Thibault, le Thu 29 Jul 2010 01:19:42 +0200, a écrit : > Another option of course is to just embed the whole brltty code, and > just adding a grub screen driver. > some refactoring of the brltty main loop to make it live along the grub > main loop. Ok, Dave made the bigges

Re: grub2 claims grub.cfg is out of partition

2011-07-20 Thread Samuel Thibault
tags 634799 + upstream patch thanks Hello, Digging a bit with the issue, it seems grub2 does not ignore entries with inode == 0 while it should. See linux' ext2_readdir() in fs/ext2/dir.c doing it: for ( ;(char*)de <= limit; de = ext2_next_entry(de)) { if

Re: grub2 claims grub.cfg is out of partition

2011-07-20 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Thu 21 Jul 2011 00:31:51 +0200, a écrit : > On 21.07.2011 00:28, Samuel Thibault wrote: > > tags 634799 + upstream patch > > thanks > > > > Hello, > > > I've looked into it and arrived to the similar c

Re: [Grub2] Xen branches

2011-11-16 Thread Samuel Thibault
Nice! Vladimir 'φ-coder/phcoder' Serbinenko, le Thu 17 Nov 2011 01:54:47 +0100, a écrit : > -network > -disks It can be useful to just re-use the drivers from Mini-OS, but you may want to reimplement them. > -loaders I strongly recommend to re-use libxc's code, and use my kexec code to actuall

Re: [Grub2] Xen branches

2011-11-17 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Thu 17 Nov 2011 02:49:18 +0100, a écrit : > On 17.11.2011 01:59, Samuel Thibault wrote: > > Nice! > Thanks. > > Vladimir 'φ-coder/phcoder' Serbinenko, le Thu 17 Nov 2011 01:54:47 +0100, a > > écrit : > >&

Re: [Xen-devel] Xen branches

2011-11-24 Thread Samuel Thibault
Ian Jackson, le Thu 24 Nov 2011 16:54:27 +, a écrit : > Vladimir 'φ-coder/phcoder' Serbinenko writes ("[Xen-devel] Xen branches"): > > Hello, all. I have push some work for paravirtualised GRUB2 to XEN > > branch: http://bzr.savannah.gnu.org/lh/grub/branches/xen. Currently only > > x86-64 (I'm

Re: Ideas for the future

2012-03-04 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Mon 05 Mar 2012 02:30:11 +0100, a écrit : > >6) menuentry --enabled 0|1 > >It's a good practice to show menuentries even if they are not applicable > >in different situations (that's common for all major menu systems). If a > >menu entry is disabled, it is

Re: Ideas for the future

2012-03-05 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Mon 05 Mar 2012 02:40:57 +0100, a écrit : > On 05.03.2012 02:35, Samuel Thibault wrote: > >Vladimir 'φ-coder/phcoder' Serbinenko, le Mon 05 Mar 2012 02:30:11 +0100, a > >écrit : > >>>6) menuentry

Re: Mentor for gsoc for parted integration.

2012-04-12 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Thu 12 Apr 2012 16:03:59 +0200, a écrit : > On 06.04.2012 15:53, RAJIV KRISHNA OMAR wrote: > > I am interested in parted integration in grub and it is my proposal in > > gsoc. Any one willing to mentor this project. > > > What do you think about implementi

[PATCH,HURD] Fix grub-probe with userland partition support

2012-04-22 Thread Samuel Thibault
Hello, GNU/Hurd is moving to userland partition support, i.e. /dev/hd0s* slices are actually served by userland translators which use libparted. The grub probe code needs to be fixed for that, here is a proposed patch. The principle is that it gets the store translator behind the file being prob

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-23 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Mon 23 Apr 2012 10:52:09 +0200, a écrit : > map was never intended to be globally visible. At most perhaps > "semi-local" due to difficulties of split between getroot.c and hostdisk.c > Moreover the behaviour of find_root_device must be independent of what

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-23 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Mon 23 Apr 2012 12:45:09 +0200, a écrit : > On 23.04.2012 11:40, Samuel Thibault wrote: > > Vladimir 'φ-coder/phcoder' Serbinenko, le Mon 23 Apr 2012 10:52:09 +0200, a > > écrit : > >> map was never inte

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-23 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Mon 23 Apr 2012 13:17:15 +0200, a écrit : > On 23.04.2012 13:06, Samuel Thibault wrote: > > Our need is to iterate over all disks that GRUB sees, to match that with > > where the file resides. > It looks like you have missed s

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-23 Thread Samuel Thibault
Here is a revamped patch. Samuel === modified file 'Makefile.util.def' --- Makefile.util.def 2012-04-01 19:35:18 + +++ Makefile.util.def 2012-04-22 18:26:01 + @@ -170,7 +170,7 @@ ldadd = libgrubgcry.a; ldadd = libgrubkern.a; ldadd = grub-core/gnulib/libgnu.a; - ldadd = '$(LIB

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 10:55:21 +0200, a écrit : > On 24.04.2012 01:34, Samuel Thibault wrote: > > + if (errno == ENOENT && part >= 5) > > + { > This introduces an assumption that if part >=5 is missing then t

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 11:12:11 +0200, a écrit : > On 24.04.2012 11:00, Samuel Thibault wrote: > > Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 10:55:21 +0200, a > > écrit : > >> On 24.04.2012 01:34

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 11:04:46 +0200, a écrit : > On 24.04.2012 01:34, Samuel Thibault wrote: > > +/* Retrieve the storage information for PATH, and search which partitions > > + * contains its start. */ > > +static char * &g

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 11:26:46 +0200, a écrit : > Theoretically you shouldn't stop until you find the partition if you > know that your device is partition What do you precisely mean by "device"? What we don't know is whether the root storage for the file is p

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Samuel Thibault, le Tue 24 Apr 2012 11:36:27 +0200, a écrit : > Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 11:26:46 +0200, a > écrit : > > Theoretically you shouldn't stop until you find the partition if you > > know that your device is partition &

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 11:44:35 +0200, a écrit : > On 24.04.2012 11:38, Samuel Thibault wrote: > > Samuel Thibault, le Tue 24 Apr 2012 11:36:27 +0200, a écrit : > >> Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 11:55:33 +0200, a écrit : > One could have hd0s1 containing hd0s5 and hd0s6. Argl, I forgot that case indeed. It's funny how that contracts the very word "partition"... > In this case we want hd0s5 and not hd0s1. On the other hand a file

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 15:19:25 +0200, a écrit : > On 24.04.2012 14:42, Samuel Thibault wrote: > > Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 11:55:33 +0200, a > > écrit : > >> They have iso9660 spannin

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 22:14:33 +0200, a écrit : > On 24.04.2012 19:13, Samuel Thibault wrote: > > Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 15:19:25 +0200, a > > écrit : > >> On 24.04.2012 14:42,

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Wed 25 Apr 2012 00:31:26 +0200, a écrit : > On 25.04.2012 00:21, Samuel Thibault wrote: > > Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 22:14:33 +0200, a > > écrit : > >> On 24.04.2012 19:13, Sa

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Here is an updated patch. Samuel === modified file 'util/getroot.c' --- util/getroot.c 2012-04-22 19:02:55 + +++ util/getroot.c 2012-04-25 01:41:04 + @@ -700,6 +700,69 @@ #elif defined (__GNU__) +static char * +find_hurd_root_device (const char *path) +{ + file_t file; + e

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-24 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Wed 25 Apr 2012 01:57:54 +0200, a écrit : > On 25.04.2012 01:52, Samuel Thibault wrote: > > +grub_util_error (_("Could not open path `%s'"), path); > This one should be unified with other similar messages. Er

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-25 Thread Samuel Thibault
Vladimir 'φ-coder/phcoder' Serbinenko, le Wed 25 Apr 2012 10:36:59 +0200, a écrit : > On 25.04.2012 02:27, Samuel Thibault wrote: > > Vladimir 'φ-coder/phcoder' Serbinenko, le Wed 25 Apr 2012 01:57:54 +0200, a > > écrit : > >>

Re: grub2

2012-04-30 Thread Samuel Thibault
Svante Signell, le Sun 29 Apr 2012 10:30:06 +0200, a écrit : > Adding grub-devel as Cc: maybe you can help me? Well, grub-devel does not handle Debian scripts > This is what I've found so far: > Installing the latest grub2, from debian-ports: > /var/lib/dpkg/info/grub-pc.postinst: line 557: 668

Re: [PATCH,HURD] Fix grub-probe with userland partition support

2012-04-30 Thread Samuel Thibault
Here is an updated patch. Samuel === modified file 'util/getroot.c' --- util/getroot.c 2012-04-22 19:02:55 + +++ util/getroot.c 2012-04-30 20:58:17 + @@ -700,6 +700,75 @@ #elif defined (__GNU__) +static char * +find_hurd_root_device (const char *path) +{ + file_t file; + e

[GRUB1] Accessibility: Add beep support

2005-11-01 Thread Samuel Thibault
Hi, I know that no new feature are added to grub1, but this really small feature (it can be just implemented as "echo ^G") would be _much_ useful for blind people. Please see details on https://savannah.gnu.org/bugs/?func=detailitem&item_id=14661 I proposed a patch adding an "echo" command: https:

Re: [GRUB1] Accessibility: Add beep support

2005-11-01 Thread Samuel Thibault
Vincent Pelletier, le Tue 01 Nov 2005 18:51:09 +0100, a écrit : > > (it can be just implemented as "echo ^G") > > Actually I have wrote some months ago a "play" command that play tunes > on the x86 internal speaker, that might be useful too. I was thinking > about submitting it again those days.

Re: play.c

2005-11-05 Thread Samuel Thibault
Hollis Blanchard, le Sat 05 Nov 2005 16:17:33 -0600, a écrit : > On Nov 5, 2005, at 8:17 AM, Vincent Pelletier wrote: > >Here is the play command, along with some songs. > > Can you describe how the PIT is related to the speaker? That's the way one can make the speaker beep without having to keep

Re: BIOS boot specifications

2006-07-10 Thread Samuel Thibault
Gurganus, Brant L, le Mon 10 Jul 2006 16:44:43 -0400, a écrit : > I have been on a quest for quite some time to find documentation that tells > what the magic locations are for booting a BIOS-based PC. I know there are > magic locations on the hard drive that get loaded into memory and while I ca

Re: Stack protection via GCC's `-fstack-protector'

2006-11-08 Thread Samuel Thibault
Hi, Thomas Schwinge, le Wed 08 Nov 2006 22:40:54 +0100, a écrit : > then cat gnumach-undef-bad; exit 2; else true; fi > stack_chk_fail > > Is it feasible to have the `-fstack-protector' functionality in GNU Mach > and GRUB2 (and how to do that, then) or shall we unconditionally pass > `-f

Re: Stack protection via GCC's `-fstack-protector'

2006-11-08 Thread Samuel Thibault
Hi, Stefan Reinauer, le Wed 08 Nov 2006 23:36:44 +0100, a écrit : > * Samuel Thibault <[EMAIL PROTECTED]> [061108 23:14]: > > Thomas Schwinge, le Wed 08 Nov 2006 22:40:54 +0100, a écrit : > > > then cat gnumach-undef-bad; exit 2; else true; fi > > >

Re: Stack protection via GCC's `-fstack-protector'

2006-11-13 Thread Samuel Thibault
Hi, Thomas Schwinge, le Mon 13 Nov 2006 19:29:53 +0100, a écrit : > +unsigned int __stack_chk_guard = 12345; I'd say this should be something like a value with higher bits set, so that it wouldn't be a valid pointer, even for reading. Samuel ___ Grub

Re: Xen vs. GRUB

2007-01-08 Thread Samuel Thibault
Hi, Thomas Schwinge, le Wed 03 Jan 2007 13:09:25 +0100, a écrit : > Is there a consensus that GRUB (or rather GRUB2) should be ported to > allow them to run in a Xen environment? I'm not sure grub on Xen would be so useful, since people usually choose their operating system and parameters directl

Re: Xen vs. GRUB

2007-01-08 Thread Samuel Thibault
Hi, Ian C. Blenke, le Mon 08 Jan 2007 13:56:32 -0500, a écrit : > Xen PV domUs can boot from "pygrub". This is the method used by JailTime > and rPath to encapsulate kernels and initrd inside the disk images. > > So there is already such a "port". Just specify a bootloader in your xen > config:

Re: [PATCH v5 3/5] grub-mkconfig hurd: Fix quadratic algorithm for sorting menu items

2022-06-11 Thread Samuel Thibault
ested. I would be grateful if anyone with a Hurd > environment could test it before it is merged. ] > > Signed-off-by: Mathieu Desnoyers > Cc: Samuel Thibault Tested-by: Samuel Thibault > --- > Changes since v4: > - Combine sed -e '...' -e '...' i

[PATCH] templates: Add support for acpi on Hurd

2022-09-26 Thread Samuel Thibault
This adds acpi as bootstrap module whenever it is available. This opens the path for proper IRQ routing for fully-userland disk drivers. Signed-off-by: Samuel Thibault diff --git a/util/grub.d/10_hurd.in b/util/grub.d/10_hurd.in index 4294bbe4c..a021d02c2 100644 --- a/util/grub.d/10_hurd.in

Re: [PATCH v2] osdep/hurd/getroot: Remove unused variables in grub_util_find_hurd_root_device()

2023-02-22 Thread Samuel Thibault
e] > 125 | size_t size; > | ^~~~ > > Fixes: e981b0a24 (osdep/hurd/getroot: Use "part:" qualifier) > > Signed-off-by: John Paul Adrian Glaubitz Reviewed-by: Samuel Thibault Thanks! > --- > v2: > - Add missing Fixes tag > --- > grub-core/osdep/hurd/

  1   2   >