Re: [PATCH] File access library for lua

2009-06-23 Thread Bean
Hi, Oh, found a small bug in the previous osdetect.lua, here is an updated version. -- Bean osdetect.gz Description: GNU Zip compressed data ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] File access library for lua

2009-06-23 Thread Bean
On Wed, Jun 24, 2009 at 6:10 AM, Pavel Roskin wrote: > On Tue, 2009-06-23 at 17:27 +0800, Bean wrote: >> Hi, >> >> Some bug fix for osdetect.lua, it also detect windows 98/me, freedos, >> msdos and freebsd. > > Why FressDOS and FressBSD?  I assume it's typos.  Why isn't Linux > capitalized?  MS-DOS

Re: [PATCH] search -d|--disk

2009-06-23 Thread Arthur Marsh
Robert Millan wrote, on 24/06/09 07:25: On Tue, Jun 23, 2009 at 05:17:22PM -0400, Pavel Roskin wrote: QEMU has a feature in which you can specify the boot drive from command line (-boot parameter). After i386-qemu port is merged, I plan to add some code to read this from CMOS and export it to s

Re: clean patch for i386-qemu port (Re: [PATCH] i386-qemu port)

2009-06-23 Thread Robert Millan
Another solution is to just leave the modules where they are (I/O map at top of memory), and load them directly from that location. This allows us to put the kernel in low memory without size problems. However, our module loader assumes the memory that contains the ELFs is writable (for example,

Re: [PATCH] File access library for lua

2009-06-23 Thread Robert Millan
On Tue, Jun 23, 2009 at 06:10:36PM -0400, Pavel Roskin wrote: > On Tue, 2009-06-23 at 17:27 +0800, Bean wrote: > > Hi, > > > > Some bug fix for osdetect.lua, it also detect windows 98/me, freedos, > > msdos and freebsd. > > Why FressDOS and FressBSD? I assume it's typos. Why isn't Linux > capit

Re: [PATCH] File access library for lua

2009-06-23 Thread Pavel Roskin
On Tue, 2009-06-23 at 17:27 +0800, Bean wrote: > Hi, > > Some bug fix for osdetect.lua, it also detect windows 98/me, freedos, > msdos and freebsd. Why FressDOS and FressBSD? I assume it's typos. Why isn't Linux capitalized? MS-DOS is written with a dash. "Windows Vista bootmgr" should be "Wi

Re: [PATCH] search -d|--disk

2009-06-23 Thread Robert Millan
On Tue, Jun 23, 2009 at 05:17:22PM -0400, Pavel Roskin wrote: > > > > QEMU has a feature in which you can specify the boot drive from command > > line (-boot parameter). After i386-qemu port is merged, I plan to add > > some code to read this from CMOS and export it to some variable. > > > > Whe

Re: [PATCH] search -d|--disk

2009-06-23 Thread Pavel Roskin
On Tue, 2009-06-23 at 13:50 +0200, Robert Millan wrote: > On Mon, Jun 22, 2009 at 09:51:35PM -0400, Pavel Roskin wrote: > > On Tue, 2009-06-23 at 01:48 +0200, Robert Millan wrote: > > > > > This patch adds an option to the search command to restrict the search of > > > a file to a given disk. It

Re: clean patch for i386-qemu port (Re: [PATCH] i386-qemu port)

2009-06-23 Thread Robert Millan
On Tue, Jun 23, 2009 at 01:38:50PM +0200, Robert Millan wrote: > > If I use all modules, the image is too big: > > grub-mkimage: error: Core image is too big (0xa8200 > 0xa) > > Strange, with all modules I get 0x88200. Anyway, GRUB_MEMORY_MACHINE_UPPER > can be increased up to GRUB_BOOT_MACHI

Re: [PATCH] search -d|--disk

2009-06-23 Thread Robert Millan
On Mon, Jun 22, 2009 at 09:51:35PM -0400, Pavel Roskin wrote: > On Tue, 2009-06-23 at 01:48 +0200, Robert Millan wrote: > > > This patch adds an option to the search command to restrict the search of > > a file to a given disk. It will then probe for the file in each of its > > partitions, but no

Re: clean patch for i386-qemu port (Re: [PATCH] i386-qemu port)

2009-06-23 Thread Robert Millan
On Mon, Jun 22, 2009 at 09:29:41PM -0400, Pavel Roskin wrote: > On Tue, 2009-06-23 at 01:07 +0200, Robert Millan wrote: > > This is my first "clean" (kludge-free) patch for the i386-qemu port. It > > doesn't depend on any other patch; I send it for some final review before > > checking it in. >

Re: Compile success on Mac iMac8,1 10.5.7 Xcode 3.1.3

2009-06-23 Thread step21
not as far as I know. objconv is specifically needed for conversion, and it was noted in the apple gcc patch that it needs objconv (to work at all) so no surprise there. good that it works for you though. On Tue, Jun 23, 2009 at 11:03 AM, James Jarvis wrote: > Hope this is useful as a test case: >

Re: [PATCH] access gdtdesc on segment 0 unconditionally (Re: [PATCH] i386-qemu port)

2009-06-23 Thread Robert Millan
On Mon, Jun 22, 2009 at 08:53:36PM -0400, Pavel Roskin wrote: > On Tue, 2009-06-23 at 00:43 +0200, Robert Millan wrote: > > > If I omit ADDR32 on i386-pc, I get: > > > > 836f: 2e 66 0f 01 16 68 83lgdtl %cs:-0x7c98 > > > > "-0x7c98" being the signed version of 0x8368, which is also

Re: Fw: gettext support

2009-06-23 Thread Javier Martín
El mar, 23-06-2009 a las 12:05 +0200, Jordi Mallach escribió: > On Mon, Jun 22, 2009 at 09:42:17PM +0200, Javier Martín wrote: > > > msgid "Use the %C and %C keys to select which entry is highlighted." > > > msgid "Press enter to boot the selected OS, 'e' to edit the" > > > msgid "commands before b

Re: Fw: gettext support

2009-06-23 Thread Jordi Mallach
On Mon, Jun 22, 2009 at 09:42:17PM +0200, Javier Martín wrote: > > msgid "Use the %C and %C keys to select which entry is highlighted." > > msgid "Press enter to boot the selected OS, 'e' to edit the" > > msgid "commands before booting or 'c' for a command-line." > Actually, the first string could

Re: [PATCH] File access library for lua

2009-06-23 Thread Bean
Hi, Some bug fix for osdetect.lua, it also detect windows 98/me, freedos, msdos and freebsd. Extend the function of grub.file_exist to allow testing multiple names at the same time, this simplify osdetect.lua. On Tue, Jun 23, 2009 at 4:06 AM, Pavel Roskin wrote: > On Tue, 2009-06-23 at 03:50 +08

Compile success on Mac iMac8,1 10.5.7 Xcode 3.1.3

2009-06-23 Thread James Jarvis
Hope this is useful as a test case: Sucessful build of grub2 on Apple Mac OS X Grub version: SVN 2364 Model: Imac 8,1 OS: Mac OS X 10.5.7 Boot ROM Version: IM81.00C1.B00 Xcode: 3.1.3 Target: efi, 64 bit version Resulting efi grub works to boot MacOSX Caveat: configure gave warning about objcon