Re: A _good_ and valid use for TPM

2009-02-21 Thread phcoder
As I said before: you can make the very same argument for every single part of your PC. Why do you trust Intel or AMD with your CPU? They are also involved in the TCG! We can't verify that it doesn't do such things. Unfortunately we also don't have resources to build alternative chips. However

Re: bugs in loader/i386/pc/multiboot.c

2009-02-22 Thread phcoder
e: #ifdef ELF64 #define Elf_Sym Elf64_Sym ... #else #define Elf_Sym Elf32_Sym ... #endif And then compile the same file twice, once with -DETLF32 and once with -DELF64. I was actually planning to do the same with my efiemu. If you agree I can do this scheme in both places Regard Vladimi

Re: A _good_ and valid use for TPM

2009-02-22 Thread phcoder
and we already know that it brings no security. If you want to protect your keys the only ways is to physically protect them like putting concrete around the flash chip Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel m

Re: GRUB trusted boot framework

2009-02-22 Thread phcoder
prompt for password (if it isn't supplied yet) and write something like File %s is unsigned. Are you sure you want to load it? Type "YES" if you do. Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@g

Re: A _good_ and valid use for TPM

2009-02-22 Thread phcoder
we try to avoid Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB trusted boot framework

2009-02-22 Thread phcoder
do so. You can do anything secure without collaboration from upper layers. Consider a huge loopback image from which you load only kernel. In you solution it will unnecessary check the whole image Greets, Jan Regards Vladimir 'phcoder' Serbinenko _

Re: GRUB trusted boot framework

2009-02-22 Thread phcoder
end up in memory or control grub need to be checked. Greets, Jan Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB trusted boot framework

2009-02-22 Thread phcoder
of x86-assembly: eb fe : self: jmp self Greets, Jan Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB trusted boot framework

2009-02-22 Thread phcoder
Jan Alsenz wrote: phcoder wrote: Oh, I want! If I remember correctly, exactly this broke the protection on some game console! Do you refer to Xbox crack based on King kong game? For once their goal is the evil one. For second the problem is a buffer overflow in rendering engine, not the not

Licensing my xnu code

2009-02-22 Thread phcoder
sible solutions: 1) I could release xnu loading as a third-party module 2) I could supply a description in plain English what the loader should do. Fairly complete i386 loader including Mach-O parser largely based on elfload is about 2000 lines of code Regards Vladimir 'phcoder' S

Minor leak in scsi.c

2009-02-23 Thread phcoder
Hello. Here is a fix for a leak I found when debugging grub-emu with valgrind Regards Vladimir 'phcoder' Serbinenko Index: ChangeLog === --- ChangeLog (revision 1999) +++ ChangeLog (working copy) @@ -1,3 +1,120 @@ +

Re: Interesting GSoC project ideas for 09

2009-02-25 Thread phcoder
unctions, pipes,... -Runtime autoconfig which scans all the drives and creates a list of detected OS. Very useful for demonstrations and recovery Realmode hooks including map and memdisk Regards Vladimir 'phcoder' Serbinenko C. Bergström wrote: Hi everyone. I'm not a grub developer, but

Re: [PATCH] Emulate the bios area in efi linux loader

2009-02-27 Thread phcoder
rsdp back to efi and so on. -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB hardened boot framework

2009-02-27 Thread phcoder
t be some boot virus protections, that could be abused. Or otherwise - coreboot. Yes. My BIOS has boot virus protection but I haven't tested yet how it works -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@g

Re: GRUB hardened boot framework

2009-02-27 Thread phcoder
cryption itself does no such thing -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB hardened boot framework

2009-02-27 Thread phcoder
e general design. -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB hardened boot framework

2009-02-27 Thread phcoder
Robert Millan was suggesting that just encrypting (but not verifying) your kernel is enough. I wanted to show wha it isn't -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/m

Possible improvements to build system

2009-02-28 Thread phcoder
variables like FS_files=... which platform-specific files can use later -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Interesting GSoC project ideas for 09

2009-02-28 Thread phcoder
r demonstrations and recovery. Realmode hooks some tools are able to hook themselves onto bios interrupts to fool chainloaded bootloader. This includes map and memdisk. It's also possible to put dummies on interrupts under coreboot it may be enough in so

Re: [PATCH] mtime support

2009-03-01 Thread phcoder
Fixed an issue with FAT code phcoder wrote: Made corrections to issues pointed by Vesa Jääskeläinen Regards Vladimir 'phcoder' Serbinenko phcoder wrote: Hello. Here is the patch to support mtime. This is a prerequisite for -nt test which can be very useful for e.g. finding las

Re: Interesting GSoC project ideas for 09

2009-03-01 Thread phcoder
liu Aleaxander wrote: can Implementing a chinese supported grub be a grub-soc idea? thanks. No. Because it's already done On Wed, Feb 25, 2009 at 7:59 PM, phcoder wrote: Some other ideas: HID: -bluetooth keyboard -mouse support More graphics drivers FS: -btrfs -Hammer (dragonf

Re: Interesting GSoC project ideas for 09

2009-03-01 Thread phcoder
e it should be fairly simple to do it -setkey I've seen that someone already started keymap support Pavel Roskin wrote: On Sat, 2009-02-28 at 12:54 +0100, phcoder wrote: Robert Millan wrote: Seems nice. Would you be willing to write a summary for these? Then we could add it to gru

Re: Efiemu

2009-03-01 Thread phcoder
c by using Vesa's memory manager and video functions. However efiemu can help linux to get decent efi support in future. -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] FAT, UFS and mtime

2009-03-01 Thread phcoder
Bean wrote: On Mon, Mar 2, 2009 at 12:25 AM, phcoder wrote: Hello all. It seems that gcc has trouble with -m32 when structure is passed as argument. So I replaced that part by a pointer. Also I made some improvements to ufs code to support solaris branch of ufs. I tested it also with freebsd

Re: [PATCH] make partition active

2009-03-01 Thread phcoder
u for your attention to my patches -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

ELF bugfixes

2009-03-01 Thread phcoder
Hello I discovered some bugs in multiboot-elf. Here is bugfix -- Regards Vladimir 'phcoder' Serbinenko Index: ChangeLog === --- ChangeLog (revision 2010) +++ ChangeLog (working copy) @@ -1,3 +1,12 @@ +2009-03-01 Vladimir

Re: A serious stack issue caused by gcc optimization

2009-03-03 Thread phcoder
eems to work. Anyone knows how to instruct gcc to subtract %rsp pointer for local variable ? -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Solaris assumptions

2009-03-03 Thread phcoder
the space for these parts on low memory -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

multiboot2

2009-03-03 Thread phcoder
; but arguments shouldn't include kernel image name. This way we would prevent OSes from trying to access this file by bootloader-specific name. In addition in both "Boot Loader Name" and "Command-line" we should specify the encoding to be utf-8 -- Regards Vladimir &#x

Re: Solaris assumptions

2009-03-03 Thread phcoder
eel like grub2 should be able to boot the same kernels as grub1. For a very list to avoid a flow of bug reports and to help in transitioning to grub2. These issues are fixed in multiboot2 because it doesn't use pointers anymore. phcoder wrote: Hello, investigating Solaris/OpenSolaris/P

Re: Solaris assumptions

2009-03-03 Thread phcoder
Correction: Third point goes away as it was revealed that it was enough to put these 2 structures in multiboot payload. Now fixed solaris kernel boots fine with latest svn+my elf fix. And the first two points are solaris bugs phcoder wrote: My previous letter was scarce on details. Here some

Summer of code proposition: TCP/IP Anybody want to mentor?

2009-03-03 Thread phcoder
ernet Is anybody interested in mentoring this project? -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: multiboot2

2009-03-04 Thread phcoder
se it to be exported as a tag 0x0005 and contents "root=myroot debug=ttyS0" as a NUL-terminated UTF-8 string -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH 5/7]: Add sparc64 loader implementation.

2009-03-04 Thread phcoder
th powerpc. ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] parttool

2009-03-04 Thread phcoder
Hello here is the implementation of parttool with the syntax I proposed earlier and equivalent of parttype, makeactive and hide/unhide -- Regards Vladimir 'phcoder' Serbinenko Index: conf/common.rmk === --- conf/

Re: [PATCH] make the generic Linux loader usable on i386-pc again

2009-03-07 Thread phcoder
ap. There's an area between 0x10 and min(0x37FF,(grub_os_area_addr + grub_os_area_size)) where the actual Linux image is loaded, as well as the initrd (inmediately after it, with some alignment). I think that's all. -- Regards

[Design] nested partitions: Unify grub_partition and grub_disk

2009-03-07 Thread phcoder
not only nested partitions become natural but also conceptually similar fields of total_sectors and len become unified. As it's an important design change I send this e-mail before coding it -- Regards Vladimir 'phcoder' Serbinenko ___

Interrupt testing

2009-03-07 Thread phcoder
Hello. Here is a trivial patch for testing which interrupts are and which aren't handled by BIOS. Can be used as a simple but not reliable test for boot viruses -- Regards Vladimir 'phcoder' Serbinenko Index: c

Re: [Design] nested partitions: Unify grub_partition and grub_disk

2009-03-07 Thread phcoder
t hold true grub won't be able to access the partitions which are really here. Famous example is a cdrom. Most people would assume that cdrom has no partitions. But on powerpc bootable cdroms use APM -- Regards Vladimir 'phcoder' Serbinenko ___

Re: [Design] nested partitions: Unify grub_partition and grub_disk

2009-03-07 Thread phcoder
#x27;t raid disk contain a volume header? If they do how can they contain the partition table in the usual place Also existence of (hd0,1) doesn't prevent you from accessing (hd0) -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] dynamic cache allocation

2009-03-07 Thread phcoder
Hello. Discussing with Robert Millan and Bean on IRC we noticed that disk cache index is statically allocated. Here is a proposal to change it to dynamic allocation proportional to the size of available memory. -- Regards Vladimir 'phcoder' Serbinenko Index: k

Re: [PATCH] dynamic cache allocation

2009-03-08 Thread phcoder
Robert Millan wrote: On Sat, Mar 07, 2009 at 11:54:18PM +0100, phcoder wrote: + grub_disk_cache_table = (struct grub_disk_cache *) + grub_malloc (grub_disk_cache_num * sizeof (struct grub_disk_cache)); [...] + By default use up to one quarter of memory available for allocation

Re: [PATCH] Unify rescue and normal commands

2009-03-08 Thread phcoder
need to drag normal.mod in, which is useful for size constrained use cases (which ones do you have in mind?). Is there something else to this? Does normal mode still work the same way? It would also end up with the files like *_normal.c -- Regards Vladimir 'phcoder'

Re: [PATCH] implement menu_lock

2009-03-08 Thread phcoder
es, the translation of prompts, and so on). Okuji _______ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] dynamic cache allocation

2009-03-08 Thread phcoder
Vesa Jääskeläinen wrote: phcoder wrote: Hello. Discussing with Robert Millan and Bean on IRC we noticed that disk cache index is statically allocated. Here is a proposal to change it to dynamic allocation proportional to the size of available memory. And the gain is ? Faster booting if

Re: [PATCH] dynamic cache allocation

2009-03-08 Thread phcoder
Update to the patch phcoder wrote: Vesa Jääskeläinen wrote: phcoder wrote: Hello. Discussing with Robert Millan and Bean on IRC we noticed that disk cache index is statically allocated. Here is a proposal to change it to dynamic allocation proportional to the size of available memory. And

Re: Menu locks / password authentication

2009-03-09 Thread phcoder
ing on password command... At this moment I have plain password checking and almost finished MD5 support. What is your design? Is it expandable? Flexible? -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu

Re: Menu locks / password authentication

2009-03-09 Thread phcoder
Michał Radomski wrote: On Mon, Mar 09, 2009 at 08:16:16AM +0100, phcoder wrote: Michał Radomski wrote: On Fri, Feb 27, 2009 at 09:53:27PM +0100, Robert Millan wrote: It's funny, we're all discussing about performing security measurements in GRUB and nobody mentioned that our user

Leak fixes

2009-03-09 Thread phcoder
Hello I discovered some memory leaks. Here is the fix The main one was is that if a hash collision occurs new cache entry overwrites the old one but the old one wasn't freed. When loading a big file it was leaking huge amounts of memory -- Regards Vladimir 'phcoder' Serbine

[PATCH] Put multiboot module after the kernel

2009-03-09 Thread phcoder
reason is that command line for kernel, bootloader version, mbi and so on should also be allocated the same way as the memory for modules. I will do everything this once new memory allocator is available -- Regards Vladimir 'phcoder' Serbinenko Index

Re: Menu locks / password authentication

2009-03-09 Thread phcoder
Michał Radomski wrote: On Mon, Mar 09, 2009 at 11:57:40AM +0100, phcoder wrote: I would recommend using other hashes that md5 (e.g. whirlpool or sha-2) because it's been depreceated I chose md5 because it is in grub2 wiki (see command list) It is not a problem to add sha-2 or whir

Re: [PATCH] badram filtering

2009-03-10 Thread phcoder
new/experimental Linux loader. ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-de

Re: [PATCH] parttool

2009-03-10 Thread phcoder
Sorry I forgot include/grub/parttool.h phcoder wrote: Hello here is the implementation of parttool with the syntax I proposed earlier and equivalent of parttype, makeactive and hide/unhide -- Regards Vladimir 'phcoder' Serbinenko /* * GRUB -- GRand Unified Bootloader * Co

Re: [PATCH] badram filtering

2009-03-10 Thread phcoder
ll code a similar function for EFI and adapt multiboot loader for EFI systems phcoder wrote: Very interesting. I have following suggestions: 1) define platform independent way to enumerate memory map. This function wouldn't mark types with GRUB_MACHINE_* but with one of the following types:

Re: Boot delay when using grub.efi on Mac Mini

2009-03-11 Thread phcoder
Can you post bless -info and nvram -p in different cases? -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] badram filtering

2009-03-11 Thread phcoder
p. So I think badram patch should be extended to allow arbitrary additions to mmap. P.S. sorry if this e-mail isn't clear enough I've just had a long day of studies phcoder wrote: 2) when badram variable is set corresponding memory chunks should be removed from memory manager 3) add a meth

Re: [Bugfix] Hang on new mac laptops

2009-03-11 Thread phcoder
Hello this issue still persists and unfortunately usb keyboard didn't fix the issue. Perhaps we should commit this as at least temporary solution for the problem? phcoder wrote: Fixed Pavel Roskin wrote: On Tue, 2009-02-03 at 22:30 +0100, phcoder wrote: - status = efi_call

Re: ELF bugfixes

2009-03-11 Thread phcoder
Robert Millan wrote: On Mon, Mar 02, 2009 at 01:35:06AM +0100, phcoder wrote: + * include/grub/elf.h: added missing attributes This should be a bit more descriptive. for (i = 0; i < ehdr->e_phnum; i++) if (phdr(i)->p_type == PT_LOAD && phdr(

Re: Boot delay when using grub.efi on Mac Mini

2009-03-11 Thread phcoder
responding data to nvram 2) you could try on HFS+ Grant Edwards wrote: On 2009-03-11, phcoder wrote: http://grub.enbug.org/TestingOnMacbook ( recentlu updated ) including bless --folder --file --setBoot (not --mount) When I do that, it still goes through 15 of the 2-second time-wasting operat

Re: Boot delay when using grub.efi on Mac Mini

2009-03-11 Thread phcoder
if I break grub, I can still hold down the option key and select the OS-X HFS+ partition. You can always format an additional HFS+ partition -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.

Re: Search command.

2009-03-11 Thread phcoder
ice with parentheses This would solve most of the problems, and allow for: search -s OSdevice -u ---- chainloader ${OSdevice}+1 search -s OSdevice -u ---- chainloader (${OSdevice})+1 -- Regards Vladimir 'phcoder' Serbinenko

Re: ELF bugfixes

2009-03-12 Thread phcoder
Fixed phcoder wrote: Robert Millan wrote: On Mon, Mar 02, 2009 at 01:35:06AM +0100, phcoder wrote: +* include/grub/elf.h: added missing attributes This should be a bit more descriptive. for (i = 0; i < ehdr->e_phnum; i++) if (phdr(i)->p_type == PT_LOAD && phdr(

Re: [Patch] remove bsd asm helper functions

2009-03-12 Thread phcoder
Hello. Now I noticed that the helper are still necessary when booting i386 kernel on efi-x86_64. I would like this code to be uniform accross i386 branches so please don't commit this patch it will be soon superseed by my next work phcoder wrote: Sorry, forgot changelog entry. Here

[Fwd: Re: ELF bugfixes]

2009-03-12 Thread phcoder
-- Regards Vladimir 'phcoder' Serbinenko --- Begin Message --- David Miller wrote: From: phcoder Date: Thu, 12 Mar 2009 12:22:15 +0100 David Miller wrote: From: phcoder Date: Thu, 12 Mar 2009 09:23:34 +0100 Index: include/

Re: ELF bugfixes

2009-03-12 Thread phcoder
David Miller wrote: From: phcoder Date: Thu, 12 Mar 2009 14:21:45 +0100 I knew it but normally when you parse files normally offsets aren't guaranteed to be aligned. But now it seems that elf parser is written in a way to guarantee at least some alignments. Then this part of patch probab

Re: Migrating to GRUB 2 in Debian (Re: Interesting GSoC project ideas for 09)

2009-03-13 Thread phcoder
me to review any patch about this. Could you pinpoint where the "proposed approach" is? Regards, Okuji ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir '

Re: Boot delay when using grub.efi on Mac Mini

2009-03-13 Thread phcoder
X, using grub-pc and grub-efi. It helps to have a linux installation on the hard drive. That's sort of heading the wrong direction. My goal is not to have to touch the Mac hard-drive at all. So far, that's not been possible, but I'm getting closer. -- Regards Vladimir 'phc

Re: Boot delay when using grub.efi on Mac Mini

2009-03-13 Thread phcoder
Apple says that booting from msdos partition is unsupported, however I've reports of people successfully doing so Grant Edwards wrote: On 2009-03-13, phcoder wrote: Have you tried booting from hfs+ on msdos? Actually I haven't. I found multiple postings in various places sayin

Re: ELF bugfixes

2009-03-13 Thread phcoder
Robert Millan wrote: On Wed, Mar 11, 2009 at 10:21:41PM +0100, phcoder wrote: Robert Millan wrote: On Mon, Mar 02, 2009 at 01:35:06AM +0100, phcoder wrote: + * include/grub/elf.h: added missing attributes This should be a bit more descriptive. for (i = 0; i < ehdr->e_ph

Re: Bugfix: directories: not reported as such on case-insensitive fs

2009-03-13 Thread phcoder
Robert Millan wrote: On Mon, Feb 09, 2009 at 05:16:52PM +0100, phcoder wrote: - if (filetype == GRUB_FSHELP_DIR) + if ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR) Uhm actually I don't understand why you need a mask for this. filetype is an enum, which we define

Re: ELF bugfixes

2009-03-13 Thread phcoder
David Miller wrote: From: phcoder Date: Fri, 13 Mar 2009 21:41:42 +0100 Actually our segment table is also our table for transforming between virtual and physical address. I don't see why entry point would be defined against virtual address of lowest physical segement I would suggest s

[Fwd: Re: ELF bugfixes]

2009-03-13 Thread phcoder
-- Regards Vladimir 'phcoder' Serbinenko --- Begin Message --- From: phcoder Date: Fri, 13 Mar 2009 21:49:39 +0100 > David Miller wrote: > > From: phcoder > > Date: Fri, 13 Mar 2009 21:41:42 +0100 > > > >> Actually our segment table is also our tab

Re: ELF bugfixes

2009-03-13 Thread phcoder
Robert Millan wrote: On Fri, Mar 13, 2009 at 09:41:42PM +0100, phcoder wrote: Robert Millan wrote: On Wed, Mar 11, 2009 at 10:21:41PM +0100, phcoder wrote: Robert Millan wrote: On Mon, Mar 02, 2009 at 01:35:06AM +0100, phcoder wrote: + * include/grub/elf.h: added missing attributes

Re: [Patch] Move multiboot helpers out of the kernel

2009-03-13 Thread phcoder
helpers from here... * loader/i386/multiboot_helper.S: ...moved here * include/grub/i386/loader.h: Move declarations of multiboot helpers from here... * include/grub/i386/multiboot.h: ...moved here * loader/i386/multiboot.c: Added include of grub/cpu/multiboot.h phcoder

Re: [Patch] Move multiboot helpers out of the kernel

2009-03-14 Thread phcoder
Robert Millan wrote: On Sat, Mar 14, 2009 at 12:35:09AM +0100, phcoder wrote: Index: conf/i386-ieee1275.rmk === --- conf/i386-ieee1275.rmk (revision 2030) +++ conf/i386-ieee1275.rmk (working copy) @@ -126,10 +126,12

Re: GRUB device names wrt. ieee1275

2009-03-14 Thread phcoder
orms. Then we just have a machine specific path seperator, defined in some header file and the kernel/disk.c code and elsewhere use the macro instead of "," Any objections? ___ Grub-devel mailing list Grub-devel@gnu.org http://l

Re: [PATCH] mtools-like FAT-label behaviour

2009-03-14 Thread phcoder
Applies fine to last SVN phcoder wrote: With this patch fat became case-sensitive which is probably wrong. Corrected version of patch attached Sorry Vladimir 'phcoder' Serbinenko phcoder wrote: Hello. Now the handling of FAT-labels keeps the trailing spaces and ignores VFAT label ge

Re: [PATCH] FAT, UFS and mtime

2009-03-15 Thread phcoder
(grub_ufs_find_file): support for non-BSD dirents (grub_ufs_dir): support for non-BSD dirents Robert Millan wrote: On Sun, Mar 01, 2009 at 05:25:10PM +0100, phcoder wrote: Hello all. It seems that gcc has trouble with -m32 when structure is passed as argument. So I replaced that part by a

Re: ELF bugfixes

2009-03-15 Thread phcoder
Robert Millan wrote: On Fri, Mar 13, 2009 at 09:41:42PM +0100, phcoder wrote: Robert Millan wrote: On Wed, Mar 11, 2009 at 10:21:41PM +0100, phcoder wrote: Robert Millan wrote: On Mon, Mar 02, 2009 at 01:35:06AM +0100, phcoder wrote: + * include/grub/elf.h: added missing attributes

Re: When will GSoC 2009 Ideas for GRUB be published?

2009-03-17 Thread phcoder
! ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gn

Re: When will GSoC 2009 Ideas for GRUB be published?

2009-03-17 Thread phcoder
ed aleaxan...@gmail.com wrote: On Mar 17, 2009 6:55pm, phcoder wrote: http://grub.enbug.org/GSoC/Ideas2009 Thank you very much. but the BTRFS isn't in that list. Can adding BTRFS file system support for GRUB be an idea? I'm trying it. -

Re: When will GSoC 2009 Ideas for GRUB be published?

2009-03-17 Thread phcoder
deas? I'm sorry to bother you for the simple or silly question, but as you can see, I'm very eager to participate in this year's GRUB-GSoC! So, I'll try every job I can try and I can do! Thanks again! -- Regards Vladimir 'phcoder' Serbinenko _

Re: new Linux loader (Re: [PATCH] linux/gfxterm integration)

2009-03-18 Thread phcoder
no significant regressions. I'd like to find a way to make it available to end users. How would you think of a rename? - loader/i386/pc/linux.c becomes the "legacy_linux" command or so. - loader/i386/linux.c becomes "linux" command. -

Re: ELF bugfixes

2009-03-18 Thread phcoder
Robert Millan wrote: On Fri, Mar 13, 2009 at 09:52:39PM +0100, phcoder wrote: - grub_multiboot_payload_entry_offset = ehdr->e_entry - phdr(lowest_segment)->p_vaddr; + for (i = 0; i < ehdr->e_phnum; i++) +if (phdr(i)->p_vaddr <= ehdr->e_entry + && phdr(i

Re: multiboot module in grub2 --with-platform=efi --target=i386

2009-03-18 Thread phcoder
multiboot.mod for efi. Help me please. Tell me please how to enable multiboot and module support in efi grub2? Thank you in advance. ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Regards

Re: multiboot module in grub2 --with-platform=efi --target=i386

2009-03-18 Thread phcoder
me. I'd like to be a tester. On Wed, Mar 18, 2009 at 3:38 PM, phcoder wrote: It isn't done yet but I'm working on it. You can be tester if you're interested ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/ma

Re: multiboot module in grub2 --with-platform=efi --target=i386

2009-03-18 Thread phcoder
uctions on grub.enbug.org uzer cheg wrote: ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mai

Re: Efiemu

2009-03-20 Thread phcoder
update on patch phcoder wrote: Bean wrote: First, I notice some novel use of macro. For example, use GRUB_EFI to wrap around efi calls, which expands to different prefix in different environment. I'm not a big fan of macro, and this seems a little weird. It can't be done without at

Re: [PATCH] parttool

2009-03-20 Thread phcoder
Update phcoder wrote: Sorry I forgot include/grub/parttool.h phcoder wrote: Hello here is the implementation of parttool with the syntax I proposed earlier and equivalent of parttype, makeactive and hide/unhide -- Regards Vladimir 'phcoder' Serbinenko diff --git a/C

Re: ELF bugfixes

2009-03-21 Thread phcoder
Robert Millan wrote: On Wed, Mar 18, 2009 at 02:26:40PM +0100, phcoder wrote: Robert Millan wrote: On Fri, Mar 13, 2009 at 09:52:39PM +0100, phcoder wrote: - grub_multiboot_payload_entry_offset = ehdr->e_entry - phdr(lowest_segment)->p_vaddr; + for (i = 0; i < ehdr->e_phnum;

Re: ELF bugfixes

2009-03-21 Thread phcoder
Robert Millan wrote: On Sat, Mar 21, 2009 at 06:58:58PM +0100, phcoder wrote: Robert Millan wrote: On Wed, Mar 18, 2009 at 02:26:40PM +0100, phcoder wrote: Robert Millan wrote: On Fri, Mar 13, 2009 at 09:52:39PM +0100, phcoder wrote: - grub_multiboot_payload_entry_offset = ehdr->e_en

Re: ELF bugfixes

2009-03-21 Thread phcoder
Robert Millan wrote: On Sat, Mar 21, 2009 at 07:05:23PM +0100, phcoder wrote: Robert Millan wrote: On Sat, Mar 21, 2009 at 06:58:58PM +0100, phcoder wrote: Robert Millan wrote: On Wed, Mar 18, 2009 at 02:26:40PM +0100, phcoder wrote: Robert Millan wrote: On Fri, Mar 13, 2009 at 09:52:39PM

Re: [Patch] Move multiboot helpers out of the kernel

2009-03-21 Thread phcoder
Robert Millan wrote: On Sat, Mar 14, 2009 at 06:52:55PM +0100, phcoder wrote: Robert Millan wrote: On Sat, Mar 14, 2009 at 12:35:09AM +0100, phcoder wrote: Index: conf/i386-ieee1275.rmk === --- conf/i386-ieee1275.rmk

Re: [Patch] Move multiboot helpers out of the kernel

2009-03-21 Thread phcoder
: Added include of grub/cpu/multiboot.h Robert Millan wrote: Is this the last patch? I rechecked this thread, but might have missed something. On Sat, Mar 14, 2009 at 12:35:09AM +0100, phcoder wrote: Rediffed 2009-03-14 Vladimir Serbinenko Move multiboot helper out of kernel

Re: GRUB device names wrt. ieee1275

2009-03-21 Thread phcoder
to flesh out the installer programs and make sure the rest of the GRUB ieee1275 code is going to work properly on sparc. I already know some bits that will need some tweaking. For example, partitions on OF paths are indicated (aparently) by adding ":N" where N is a partition number

Re: GRUB device names wrt. ieee1275

2009-03-21 Thread phcoder
phcoder wrote: Device name in boot block will anyway be written in it's complete raw OFW form, no matter how the rest of the grub2 accessing the disks. Using UUIDs in this place would be nice. On IRC you said that we have 120 bytes for the name. UUID is 16 or 32 bytes depending on FS.

Re: Migrating to GRUB 2 in Debian (Re: Interesting GSoC project ideas for 09)

2009-03-22 Thread phcoder
code calling the hook could easily be present. And I don't want grub2 to corrupt the filesystem because of any such mistakes Yoshinori K. Okuji wrote: On Sunday 15 March 2009 14:52:05 Bean wrote: On Sun, Mar 15, 2009 at 5:10 AM, Yoshinori K. Okuji wrote: On Friday 13 March 2009 21:23:

Move loader.c out of the kernel

2009-03-22 Thread phcoder
- Regards Vladimir 'phcoder' Serbinenko --- a/commands/boot.c +++ b/commands/boot.c @@ -1,7 +1,7 @@ /* boot.c - command to boot an operating system */ /* * GRUB -- GRand Unified Bootloader - * Copyright (C) 2003,2005,2007 Free Software Foundation, Inc. + * Copyright (C) 2002,2003,2004,

Re: Move loader.c out of the kernel

2009-03-22 Thread phcoder
Yoshinori K. Okuji wrote: On Sunday 22 March 2009 21:48:21 phcoder wrote: Hello. Now when boot command isn't in kernel anymore I don't see why loader.c stays in kernel. Here is the patch to move it to boot.mod This is not useful in reality, because the loader interface needs to be

Re: Leak fixes

2009-03-22 Thread phcoder
Rediffed 2009-03-22 Vladimir Serbinenko Leak fixes * kern/disk.c (grub_disk_cache_store): Invalidate previous cache in case of collision * disk/scsi.c (grub_scsi_open): free scsi in case of error phcoder wrote: Hello I discovered some memory leaks. Here is the fix

<    1   2   3   4   5   6   7   8   9   10   >