Re: [PATCH] add arm64 UEFI Linux loader

2013-12-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.12.2013 17:54, Leif Lindholm wrote: > On Mon, Dec 16, 2013 at 10:34:51PM +0100, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: >>> +static void >>> +get_fdt (void) >>> +{ >>> + grub_efi_configuration_table_t *tables; >>&

Re: [PATCH] fix timeout handling with GRUB_HIDDEN_TIMEOUT=0

2013-12-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
@Colin: can you review this? On 18.12.2013 18:22, Andrey Borzenkov wrote: > Ping? This fixes actual problem - default /etc/default/grub shipped on > openSUSE included GRUB_HIDDEN_TIMEOUT=0 which means timeout gets > disabled after update. > > Colin, I Cc you as author of original patch - what do y

Re: [Xen-devel] pvgrub2 is merged

2013-12-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.12.2013 20:39, Stefano Stabellini wrote: > On Wed, 18 Dec 2013, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> On 17.12.2013 15:35, Fabio Fantoni wrote: >>> Il 17/12/2013 15:10, Fabio Fantoni ha scritto: >>>> Il 17/12/2013 15:08, Vladimir

grub-2.02~beta1 happened

2013-12-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, all. I've just uploaded 2.02~beta1. This also means that we're now in freeze. I'm willing to consider exceptions on case-by-case basis but it would be exceptions. The major points to do before release: - ARM64 loader. - Yeeloong 3A support needs some love. - XEN would probably need config ad

ext4 inline data (Re: grub-2.02~beta1 happened)

2013-12-19 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 19.12.2013 07:38, Andrey Borzenkov wrote: > On Thu, Dec 19, 2013 at 5:51 AM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> Hello, all. I've just uploaded 2.02~beta1. This also means that we're >> now in freeze. I'm willing to consider exceptio

rijndael.c warning (was Re: grub-2.02~beta1 happened)

2013-12-19 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 19.12.2013 06:43, Bruce Dubbs wrote: > Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> Hello, all. I've just uploaded 2.02~beta1. This also means that we're >> now in freeze. I'm willing to consider exceptions on case-by-case basis >> but it woul

Re: booting btrfs

2013-12-19 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 19.12.2013 17:13, Andrey Borzenkov wrote: > В Mon, 28 Oct 2013 01:44:26 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> I changed in trunk to make / refer to real root and modified >> grub-mkrelpath to follow the same convention, even if disk is mounte

Re: [RFC] Allow separate boot block and core.img location?

2013-12-19 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 19.12.2013 17:31, joe fresh wrote: > The assumption in both cases is that the user knows what they are doing... The reverse is usually true. signature.asc Description: OpenPGP digital signature ___ Grub-devel mailing list Grub-devel@gnu.org https://

"next" branch

2013-12-19 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, all. I've just created "next" branch which would be used to commit new features during the release freeze to be merged into master after the release is done. signature.asc Description: OpenPGP digital signature ___ Grub-devel mailing list Grub-d

Re: ext4 inline data (Re: grub-2.02~beta1 happened)

2013-12-19 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 19.12.2013 17:05, Andrey Borzenkov wrote: > В Thu, 19 Dec 2013 10:53:54 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 19.12.2013 07:38, Andrey Borzenkov wrote: >>> On Thu, Dec 19, 2013 at 5:51 AM, Vladimir 'φ-coder/phcoder' Serbi

Re: [PATCH] add arm64 UEFI Linux loader

2013-12-19 Thread Vladimir 'φ-coder/phcoder' Serbinenko
>> if grub_errno is set you shouldn't override it. And please use the same >> message verbatim (unexpected end of file): it decreases work for translators > > Well, since I have already checked the file size before this, any > failure will be an i/o error - so I'll just goto fail instead. > If th

Re: [Xen-devel] pvgrub2 is merged

2013-12-20 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 19.12.2013 12:54, Stefano Stabellini wrote: > On Wed, 18 Dec 2013, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> On 18.12.2013 20:39, Stefano Stabellini wrote: >>> On Wed, 18 Dec 2013, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>>> On 17.

Re: Important EHCI bugfix (Re: grub-2.02~beta1 happened)

2013-12-20 Thread Vladimir 'φ-coder/phcoder' Serbinenko
he initial reporter "The Gluglug" will do test of this > patch. Do you know him? Could you arrange such test with him? I don't > see any further reaction from his side in ML thread "flash drive timing > out, can't boot vmlinuz/initrd (coreboot payload)". >

Re: booting btrfs

2013-12-20 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 20.12.2013 10:46, Michael Chang wrote: > 2013/12/20 Vladimir 'φ-coder/phcoder' Serbinenko : >> On 19.12.2013 17:13, Andrey Borzenkov wrote: >>> В Mon, 28 Oct 2013 01:44:26 +0100 >>> Vladimir 'φ-coder/phcoder' Serbinenko пишет: >>>

Re: booting btrfs

2013-12-20 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 20.12.2013 15:54, Michael Chang wrote: > 2013/12/20 Vladimir 'φ-coder/phcoder' Serbinenko : >> On 20.12.2013 10:46, Michael Chang wrote: >>> 2013/12/20 Vladimir 'φ-coder/phcoder' Serbinenko : >>>> On 19.12.2013 17:13, Andrey Borzen

Re: [PATCH v3 2/2] arm64: add EFI Linux loader

2013-12-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 20.12.2013 17:44, Leif Lindholm wrote: > Bugfix of v2 loaded_fdt handling and removal of redundant typedefs. > > --- > grub-core/Makefile.core.def|3 +- > grub-core/loader/arm64/linux.c | 479 > > include/grub/arm64/linux.h | 54 + >

Re: [PATCH] * grub-core/kern/uboot/init.c (uboot_timer_ms) correct units

2013-12-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 15.12.2013 16:23, Ian Campbell wrote: > From: Ian Campbell > > u-boot's API_GET_TIMER returns the current time in ms by directly exposing the > internal get_timer which is in ms, which isn't all that clearly documented but > is obvious from the use within u-boot and is mentioned in > http://ww

ARM kernel parameters

2013-12-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, all. I've been able to boot Linux on my raspberry pi, after fixing several bugs in loader. But for this I had to have a line like: linux /kernel_cutdown.img dma.dmachans=0x bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x smsc95xx.macaddr=??:?

Re: please attempt to minimize string changes

2013-12-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 21.12.2013 23:34, Benno Schulenberg wrote: > > Hi, > > On Sat, Dec 21, 2013, at 23:12, bug-grub-ow...@gnu.org wrote: >> You are not allowed to post to this mailing list, and your message has >> been automatically rejected. If you think that your messages are >> being rejected in error, contac

Re: [PATCH] * grub-core/kern/uboot/init.c (uboot_timer_ms) correct units

2013-12-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.12.2013 02:29, Ian Campbell wrote: > On Sun, 2013-12-22 at 01:21 +, Ian Campbell wrote: >> On Sat, 2013-12-21 at 23:23 +0100, Vladimir 'φ-coder/phcoder' Serbinenko >> wrote: >>> On 15.12.2013 16:23, Ian Campbell wrote: >>>> From: Ian Campbell

Re: please attempt to minimize string changes

2013-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.12.2013 05:55, Andrey Borzenkov wrote: > В Вс, 22/12/2013 в 00:55 +0100, Vladimir 'φ-coder/phcoder' Serbinenko > пишет: >>> >>> While updating the Dutch translations of grub's messages, I notice that >>> some strings have changed in unnecessar

Re: please attempt to minimize string changes

2013-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.12.2013 14:24, Andrey Borzenkov wrote: > В Вс, 22/12/2013 в 12:31 +0100, Vladimir 'φ-coder/phcoder' Serbinenko > пишет: >> N_ is not a function, it only marks string for translation for gettext. >> argp will see the whole string with no indication how N_ was

Re: please attempt to minimize string changes

2013-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.12.2013 10:18, Benno Schulenberg wrote: > > On Sun, Dec 22, 2013, at 5:55, Andrey Borzenkov wrote: >> Will below patch help? It also removes trailing dot on the first >> paragraph which was not present before. > > Thanks, the patch looks good. Except that the trailing dot needs > to be the

Re: [PATCH] grub-mkconfig: fix Xen platform conditions

2013-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.12.2013 20:36, Andrey Borzenkov wrote: > --- > util/grub-mkconfig.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in > index fe33092..02a455e 100644 > --- a/util/grub-mkconfig.in > +++ b/util/grub-mkconfig.in > @@ -2

[PATCH] improve boot time with standalone images

2013-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, all. While testing on raspberry pi using standalone image I've noticed that all file operations were sluggish. The culprit was tar that we use as a filesystem for memdisk which requires complete scan to find one file. On most systems it's a minor time penalty but on raspberry pi it almost ha

Re: ARM kernel parameters

2013-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.12.2013 20:41, Leif Lindholm wrote: > On Sun, Dec 22, 2013 at 12:45:22AM +0100, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: >> Hello, all. I've been able to boot Linux on my raspberry pi, after >> fixing several bugs in loader. But for this I

Re: [PATCH] improve boot time with standalone images

2013-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.12.2013 21:26, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Hello, all. While testing on raspberry pi using standalone image I've > noticed that all file operations were sluggish. The culprit was tar that > we use as a filesystem for memdisk which requires complete

Re: booting btrfs

2013-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 23.12.2013 05:45, Chris Murphy wrote: > As for grub's part in the solution, it seems like it would need to understand > absolute paths to subvol 5, as well as relative paths to the default subvol > (set with the 'btrfs subvol set-default' command). It doesn't seem to me at all that "relative" p

Re: arm64 in grub-mkconfig and grub-file?

2013-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.12.2013 20:39, Andrey Borzenkov wrote: > Should not they have explicit arm64 support? I assume, images for arm > and arm64 are different and not interchangeable? > Like attached? > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > https://lis

Re: "Decompressor is too big" building i386-pc image on Cygwin

2013-12-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 23.12.2013 13:42, Andrey Borzenkov wrote: > bor@server ~/grub-2.02~beta1 > $ ./grub-mkimage -d grub-core -O i386-pc -o grub.img > ./grub-mkimage: error: Decompressor is too big. > > bor@server ~/grub-2.02~beta1 > $ ls -l grub-core/*_decompress.img > -rwxr-xr-x 1 bor None 3604 Dec 23 15:53 grub-

Re: Breakage from grub-mkconfig changes for grub-file

2013-12-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 23.12.2013 23:01, Colin Watson wrote: > ec824e0f2a399ce2ab3a2e3353d372a236595059 introduced extensive changes to > grub-mkconfig, which among other things arranged to run all but a > hardcoded list of grub.d scripts once for each of several platforms with > their output enclosed in an "if" block

Re: Breakage from grub-mkconfig changes for grub-file

2013-12-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.12.2013 01:34, Colin Watson wrote: > On Mon, Dec 23, 2013 at 11:21:38PM +0100, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: >> On 23.12.2013 23:01, Colin Watson wrote: >>> This should be redesigned so that there is some way to declare in a >>>

Re: Breakage from grub-mkconfig changes for grub-file

2013-12-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.12.2013 03:56, Andrey Borzenkov wrote: > В Вт, 24/12/2013 в 00:34 +, Colin Watson пишет: >> On Mon, Dec 23, 2013 at 11:21:38PM +0100, Vladimir 'φ-coder/phcoder' >> Serbinenko wrote: >>> On 23.12.2013 23:01, Colin Watson wrote: >>>> This

Re: booting btrfs

2013-12-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.12.2013 04:43, Chris Murphy wrote: > Another thing to note is that there are UEFI computers shipping that don't > have USB initialized by the firmware by default at boot time. So the user > couldn't use this menu on such systems - which some have suggested will > become increasingly common

Re: booting btrfs

2013-12-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.12.2013 04:43, Chris Murphy wrote: > d point. Your snapshot tool could first create a read only snapshot, then for > no space > cost also create a rw snapshot of the read only one, then add the rw snapshot > to the grub.cfg. > The tool could give the user the option to always "revert" the c

Re: booting btrfs

2013-12-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.12.2013 07:12, Chris Murphy wrote: > > On Dec 23, 2013, at 9:20 PM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: > >> On 24.12.2013 04:43, Chris Murphy wrote: >>> d point. Your snapshot tool could first create a read only snapshot, then >&

[PATCH] Skip Apple ghosts

2013-12-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, all. It was discovered that on macs sometimes firmware defines ghost disks with vendor suffix. E.g. /ACPI(a0341d0,0)/PCI(2,1f)/UnknownMessaging(12)/EndEntire is a normal disks with partitions presented with HD(...) but then /ACPI(a0341d0,0)/PCI(2,1f)/UnknownMessaging(12)/MediaVendor(Apple)[0

Re: "Decompressor is too big" building i386-pc image on Cygwin

2013-12-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.12.2013 08:38, Andrey Borzenkov wrote: > On Mon, Dec 23, 2013 at 6:00 PM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> On 23.12.2013 13:42, Andrey Borzenkov wrote: >>> bor@server ~/grub-2.02~beta1 >>> $ ./grub-mkimage -d grub-core -O i386-

Re: rijndael.c warning (was Re: grub-2.02~beta1 happened)

2013-12-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 23.12.2013 23:25, Mike Gilbert wrote: > On Thu, Dec 19, 2013 at 7:39 AM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> On 19.12.2013 06:43, Bruce Dubbs wrote: >>> Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>>> Hello, all. I&#x

Re: [PATCH] fix timeout handling with GRUB_HIDDEN_TIMEOUT=0

2013-12-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Committed, thanks On 07.12.2013 18:24, Andrey Borzenkov wrote: > util/grub.d/00_header.in | 58 > +--- > 1 file changed, 30 insertions(+), 28 deletions(-) > > diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in > index d2e7252..0c82f23 10

Re: Restrictive file permissions

2013-12-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Done. On 05.12.2013 19:10, Colin Watson wrote: > I learned from a conversation on IRC today that GRUB has started to set > restrictive file permissions in a few places since 2.00. Notably: > > grub-core/osdep/unix/hostdisk.c:184: return open (os_dev, flags, S_IRUSR | > S_IWUSR); > grub-core/osd

Re: [PATCH] Skip Apple ghosts

2013-12-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.12.2013 17:44, Andrey Borzenkov wrote: > В Вт, 24/12/2013 в 14:26 +0100, Vladimir 'φ-coder/phcoder' Serbinenko > пишет: >> Hello, all. It was discovered that on macs sometimes firmware defines >> ghost disks with vendor suffix. E.g. >> /ACPI(a0341d

grub-2.02~beta2 happened

2013-12-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, all. I've just uploaded 2.02~beta2.The major points to do before release: - Yeeloong 3A support needs some love. - XEN would probably need config adjustments. - XNU loader needs fixes. - NEWS needs contents. - Documentation. - Loads and loads of testing and some bugfixes. The tarball is ava

Re: grub tools and Windows UAC

2013-12-25 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.12.2013 12:11, Andrey Borzenkov wrote: > If UAC is enabled, running grub-install (and probably others too - did > not try) will request privilege elevation; but then process is > re-launched in separate window and disappears after it is finished. > This makes even reading help impossible. I t

Re: [PATCH] do not reset console font when running utils on Windows

2013-12-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.12.2013 18:42, Andrey Borzenkov wrote: > This is not required as utilities provide just simple text output. This > avoids surprising unexpected change of window look'n'feel. > Without it windows is unable to output any character outside of default character set. > --- > grub-core/osdep/wind

Re: error.h missing on mingw (grub-core/kern/emu/misc.c fails to compile)

2013-12-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.12.2013 19:25, Andrey Borzenkov wrote: > В Чт, 26/12/2013 в 23:54 +0400, Andrey Borzenkov пишет: >> I'm not sure how to fix it. It is pulled in by build-grub-pep2elf and >> build-grub-pe2elf. Those are build time programs and so use >> BUILD_CPPFLAGS; adding CPPFLAGS_GNULIB is probably not ap

Re: aarch64: relocation 0x105 is not implemented yet.

2013-12-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.12.2013 20:07, Andrey Borzenkov wrote: > I tried to build RPM for aarch64; it fails building image with > > [ 1273s] + ./grub-mkimage -O arm64-efi -o grub.efi --prefix= -d > grub-core all_video boot cat chain configfile echo efinet font gfxmenu > gfxterm gzio halt iso9660 jpeg minicmd normal

Re: [PATCH 0/7] arm-uboot: support for different RAM bases

2013-12-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.12.2013 19:47, Ian Campbell wrote: > The current arm-uboot image type is hardcoded to run at address > 0x0800 which means that it cannot be used on ARM systems which do > not have RAM starting from address 0 (which is many of them). This is a > bit of a problem for distros. > > The follo

Re: [PATCH 6/7] mkimage: support images which require full relocation at mkimage time.

2013-12-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.12.2013 23:53, Leif Lindholm wrote: > For this to actually print a default value, you need to also update > the help_filter function. Also, you probably want a %p here. This is not a pointer in the address space of running process, so %p is not the right qualifier for it. 0x%x if needed only

Re: [PATCH] grub-core/term/efi/console.c: Use EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL if available

2013-12-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.12.2013 08:04, Josh Triplett wrote: > + term->data = grub_efi_locate_protocol(&simple_text_input_ex_guid, NULL); This will find the first handle that provides EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL, not necessarily the same as normal console and you may inadvertently switch to another console. Yo

Re: booting btrfs

2013-12-30 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 30.12.2013 11:18, Michael Chang wrote: > On Mon, Dec 23, 2013 at 08:43:34PM -0700, Chris Murphy wrote: >> >> On Dec 23, 2013, at 7:26 PM, Michael Chang wrote: >> >>> Now I tend to agree that supporting config for snapshot booting >>> shouldn't be upstream's consideration due to it's compliexity

Re: [PATCH] Add apple_set_os command

2014-01-02 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 31.12.2013 00:11, SevenBits wrote: > On Monday, December 30, 2013, Andreas Heider wrote: > > The EFI on current macbooks configures hardware differently depending > on wether it is booting Mac OS X or a different os, for example > disabling the internal GPU completely on some models

Re: [PATCH] fix name of default boot image on AArch64

2014-01-06 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 06.01.2014 17:29, Andrey Borzenkov wrote: > В Пн, 06/01/2014 в 11:34 +, Leif Lindholm пишет: >> On Wed, Jan 01, 2014 at 12:54:36PM +0400, Andrey Borzenkov wrote: >>> According to UEFI 2.4 specification, default boot file name on AArch64 >>> is BOOTAA64.EFI (3.4.1.1 Removable Media Boot Behav

Re: [PATCH] fix 32 bit compilation on MinGW-w64

2014-01-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead On 29.12.2013 11:10, Andrey Borzenkov wrote: > Use _FILE_OFFSET_BITS macro to distinguish between native MinGW and > 32 bit under MinGW-64. The latter does not require fseeko/ftello > redefinition which it already does in case of _FILE_OFFSET_BITS=64. > > --- > include/grub/osdep/hostfil

Re: [PATCH] Add apple_set_os command

2014-01-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 30.12.2013 17:04, Andreas Heider wrote: > +static const grub_efi_char8_t apple_os_version[] = "Mac OS X 10.9"; > +static const grub_efi_char8_t apple_os_vendor[] = "Apple Inc."; > + Can those be optionally supplied on command line? E.g. apple_set_os [[VENDOR] VERSION] On the other hand we shoul

Re: [patch] arm64: set correct length of device path end entry

2014-01-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead. On 07.01.2014 18:06, Leif Lindholm wrote: > The length of the Device Path End entry in the grub_linux_boot() > funtcion is incorrectly set to 0. This triggers an assert failure > in debug builds of Tianocore. > > The correct length is 4 bytes (1 byte type, 1 byte subtype, > 2 bytes lengt

Re: [patch] arm64: set correct length of device path end entry

2014-01-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 07.01.2014 18:06, Leif Lindholm wrote: > The length of the Device Path End entry in the grub_linux_boot() > funtcion is incorrectly set to 0. This triggers an assert failure > in debug builds of Tianocore. > > The correct length is 4 bytes (1 byte type, 1 byte subtype, > 2 bytes length). > > R

Re: [PATCH] Improve ext2 driver to allow embedding of the boot loader code.

2014-01-09 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09.01.2014 22:07, Dr. Tilmann Bubeck wrote: > This patch extends the ext2 driver to allow embedding core.img into the > filesystem. This allows the long needed installation of GRUB into a partition > without the need to use (unsafe) block lists. > > It is realized using the ioctl(EXT4_IOC_SWAP_

Re: [PATCH] add part_apple to EFI rescue image to fix missing prefix

2014-01-11 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 07.01.2014 19:31, Andrey Borzenkov wrote: > On Mac rescue image is booted from HFS+ partition, so bootpath looks like > /ACPI(a0341d0,0)/PCI(1,1f)/ATAPI(0,0,0)/HD(3,5d1,ca3,,20,0)/EndEntire > > grub fails to find device for this path because it cannot scan partition > table. The

Re: [PATCH] add part_apple to EFI rescue image to fix missing prefix

2014-01-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 12.01.2014 08:31, Andrey Borzenkov wrote: > В Sat, 11 Jan 2014 15:58:04 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 07.01.2014 19:31, Andrey Borzenkov wrote: >>> On Mac rescue image is booted from HFS+ partition, so bootpath looks like &g

Re: conflicting types for 'grub_list_push' on MinGW (include loop)

2014-01-13 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 13.01.2014 20:44, Andrey Borzenkov wrote: > В Mon, 13 Jan 2014 18:33:41 + > Colin Watson пишет: > >> On Mon, Jan 13, 2014 at 10:17:05PM +0400, Andrey Borzenkov wrote: >>> I'm not sure what to do here. list.h needs misc.h apparently only for >>> definition of ATTRIBUTE_ERROR which in turn d

Re: conflicting types for 'grub_list_push' on MinGW (include loop)

2014-01-13 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 13.01.2014 19:33, Colin Watson wrote: > On Mon, Jan 13, 2014 at 10:17:05PM +0400, Andrey Borzenkov wrote: >> I'm not sure what to do here. list.h needs misc.h apparently only for >> definition of ATTRIBUTE_ERROR which in turn does not appear to be used >> anywhere else. This is not fatal so may

Re: Request a freeze exception for vlantag feature

2014-01-14 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09.01.2014 17:58, Paulo Flabiano Smorigo wrote: > Thu, Jan 09, 2014 at 07:05:16AM +0400, Andrey Borzenkov wrote: >> В Wed, 8 Jan 2014 16:57:28 -0200 >> Paulo Flabiano Smorigo пишет: >> >>> + >>> + inter->vlantag.pcp = vlantag >> 12; >>> + inter->vlantag.dei = (vlantag >> 11) & 0x1; >>

Re: [PATCH] Use _W64 to detect MinGW W64-32 instead of _FILE_OFFSET_BITS

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 14.01.2014 04:05, Andrey Borzenkov wrote: > +/* 32 bit on Mingw-w64 already redefines them if _FILE_OFFSET_BITS=64 */ Do you mean 64-bit ? signature.asc Description: OpenPGP digital signature ___ Grub-devel mailing list Grub-devel@gnu.org https://li

Re: [PATCH] reintroduce BUILD_LDFLAGS for the cross-compile case

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead. On 12.01.2014 13:11, Andrey Borzenkov wrote: > This allows providing separate LDFLAGS for build and host environment, which > are not necessary the same for cross-compile case. In particular, it allows > building host programs statically to not depend on presence of libraries at > run-tim

Re: [PATCH] Ignore EPERM when modifying kern.geom.debugflags

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
go ahead On 17.01.2014 03:55, Colin Watson wrote: > Many tests fail when run as a non-root user on FreeBSD. The failures > all amount to an inability to open files using grub_util_fd_open, > because we cannot set the kern.geom.debugflags sysctl. This sysctl is > indeed important to allow us to do

Re: [PATCH] Use _W64 to detect MinGW W64-32 instead of _FILE_OFFSET_BITS

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 16:53, Andrey Borzenkov wrote: > В Sat, 18 Jan 2014 16:22:21 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 14.01.2014 04:05, Andrey Borzenkov wrote: >>> +/* 32 bit on Mingw-w64 already redefines them if _FILE_OFFSET_BITS=64 */ >

Re: [PATCH v2] fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 17:09, Andrey Borzenkov wrote: > In file included from util/misc.c:36:0: > ./include/grub/emu/misc.h:56:1: error: 'libintl_printf' is an unrecognized > format function type [-Werror=format=] > char * EXPORT_FUNC(xasprintf) (const char *fmt, ...) __attribute__ ((format > (printf, 1,

Re: [PATCH] Improve DejaVuSans detection

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 16:58, Andrey Borzenkov wrote: > Look also in /usr/share/fonts/truetype, it is installed in this path on > openSUSE. > > Prefer DejaVuSansMono if found, on openSUSE DejaVuSans is proportional font. > It's not right solution. Proportional fonts must be preffered for themes. Only term

Re: [PATCH] add BUILD_EXEEXT support to fix make clean on Windows

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead. On 18.01.2014 17:20, Andrey Borzenkov wrote: > Add $(BUILD_EXEEXT) to ensure files are removed. Also add CLEANFILES where > appropriate. > > --- > Makefile.am | 16 > Makefile.util.def | 2 +- > configure.ac | 21 - > grub-cor

Re: [PATCH] use MODULE_FILES for genemuinit* instead of MOD_FILES

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 17:27, Andrey Borzenkov wrote: > While on it, pass detected > nm arguments instead of hardcoding them. please make this part a separate patch. This would indicate that you support non-portable nm output which in this branch isn't the case. Why do you need it in the first place? si

Re: conflicting types for 'grub_list_push' on MinGW (include loop)

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 15.01.2014 19:14, Andrey Borzenkov wrote: > + * Copyright (C) 2014 Free Software Foundation, Inc. please preserve copyright years when copying code around (just copying whole string and adding 2104 is fine) Otherwise, go ahead. signature.asc Description: OpenPGP digital signature __

Re: [PATCH] use MODULE_FILES for genemuinit* instead of MOD_FILES

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 18:12, Andrey Borzenkov wrote: > В Sat, 18 Jan 2014 17:55:38 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 18.01.2014 17:27, Andrey Borzenkov wrote: >>> While on it, pass detected >>> nm arguments instead of hardcoding them

Re: [PATCH] fix removal of {cpu,machine} links on mingw/msys

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 28.12.2013 10:58, Andrey Borzenkov wrote: > At least on Windows 2003 using "ln -s dir1 dir2" in msys shell succeeds, > but results in what looks like hard link. Subsequent "rm -f dir2" (e.g. > during second config.status invocation) fails. Check that we also can > remove link to directory. > >

Re: [PATCH] fix removal of {cpu,machine} links on mingw/msys

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 19:32, Andrey Borzenkov wrote: > В Sat, 18 Jan 2014 19:14:43 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 28.12.2013 10:58, Andrey Borzenkov wrote: >>> At least on Windows 2003 using "ln -s dir1 dir2" in msys shell succe

Re: [PATCH] use MODULE_FILES for genemuinit* instead of MOD_FILES

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 19:36, Andrey Borzenkov wrote: > grub_emu_init.c: grub_emu_init.h genemuinit.sh $(MOD_FILES) Forgot to update this one? Otherwise go ahead. signature.asc Description: OpenPGP digital signature ___ Grub-devel mailing list Grub-devel@gnu.o

Re: [PATCH v2] fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 20:02, Andrey Borzenkov wrote: > +fw.write (f.read ().replace ("(printf,f,a)", > "(__printf__,f,a)").replace ("(printf,f,a)", "(__printf__,f,a)")) Why replace twice? signature.asc Description: OpenPGP digital signature ___ Grub-d

Re: [PATCH] add GRUB_WINDOWS_DLLS to make windowsdir to allow shipping runtime files

2014-01-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 17:26, Andrey Borzenkov wrote: > export GRUB_EXTRA_DLLS="/path/to/liblzma.dll /path/to/libintl.dll" > make > make windowszip Perhaps a better name to indicate that you could use it to add any extra files to zip. Perhaps GRUB_WINDOWS_EXTRA_DIST ? signature.asc Description: OpenPGP d

Re: [PATCH] normalize default prefix in grub-mkimage

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.12.2013 18:41, Andrey Borzenkov wrote: > This fixes bogus "C:\boot\grub" at runtime for Windows build as well as > the case when /boot is on separate mount point for other systems. > grub-mkimage shouldn't perform any FS-based resolving, that's job of the caller. This default should either b

Re: [PATCH] increase network try interval gradually

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead for trunk. On 20.01.2014 20:29, Paulo Flabiano Smorigo wrote: > Hi all, > > This patch changes GRUB net interval gradually over time to avoid timeout > problems. I'm currently doing tests in a network with heavy traffic. In this > network GRUB fails with the original timeout value. > > -

Re: [PATCH] look for DejaVu also in /usr/share/fonts/truetype

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead On 12.01.2014 13:15, Andrey Borzenkov wrote: > It is installed in this path on openSUSE. > > --- > configure.ac | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure.ac b/configure.ac > index 7c5d080..e80c074 100644 > --- a/configure.ac > +++ b/configure.ac

Re: booting btrfs

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 13.01.2014 06:05, Michael Chang wrote: > --split --run=10_linux,20_linux_xen You shouldn't assume that only files you installed are the ones available. E.g. memtest adds its own config to /etc/grub.d. To disable os-prober use GRUB_DISABLE_OS_PROBER signature.asc Description: OpenPGP digital

Re: [PATCH] add a exit condition even for no stop case

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead for trunk On 20.01.2014 20:48, Paulo Flabiano Smorigo wrote: > Hi all, > > As I said in the my last email, I'm running tests in a network with > heavy traffic, like, over 150 arp requests comming every second. Under these > condition, I found an issue in the receive_packets function. > >

Re: [PATCH] Improve ext2 driver to allow embedding of the boot loader code.

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.01.2014 08:49, Dr. Tilmann Bubeck wrote: > > The blocklist is fixed and stable and will never change. What guarantees that it won't change on grub-setup invocation? I'm under impression that it will change on every grub-setup invocation as file gets recreated. signature.asc Description: O

Re: [PATCH] Improve DejaVuSans detection

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 18:04, Andrey Borzenkov wrote: > В Sat, 18 Jan 2014 17:26:16 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 18.01.2014 16:58, Andrey Borzenkov wrote: >>> Look also in /usr/share/fonts/truetype, it is installed in this pa

Re: [PATCH] Improve DejaVuSans detection

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 16:58, Andrey Borzenkov wrote: > Look also in /usr/share/fonts/truetype, it is installed in this path on > openSUSE. > > Prefer DejaVuSansMono if found, on openSUSE DejaVuSans is proportional font. > > Add detected path name to summary output. > > --- > configure.ac | 13 -

Re: [PATCH] add GRUB_WINDOWS_DLLS to make windowsdir to allow shipping runtime files

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 19.01.2014 05:15, Andrey Borzenkov wrote: > В Sun, 19 Jan 2014 02:23:41 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 18.01.2014 17:26, Andrey Borzenkov wrote: >>> export GRUB_EXTRA_DLLS="/path/to/liblzma.dll /path/to/libintl.dll&quo

Re: Booting from RAID (was: Re: booting btrfs)

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 13.01.2014 07:12, Andrey Borzenkov wrote: > On Mon, Jan 13, 2014 at 9:53 AM, Chris Murphy wrote: > >> There are other problems with Fedora that prevent this from being usable >> now, including grubby which can't update grub.cfg during kernel updates, >> when /boot is on a Btrfs subvolume. So

Re: [PATCH] Improve ext2 driver to allow embedding of the boot loader code.

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 21.01.2014 09:28, Andrey Borzenkov wrote: > On Tue, Jan 21, 2014 at 12:14 PM, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: >> On 10.01.2014 08:49, Dr. Tilmann Bubeck wrote: >>> >>> The blocklist is fixed and stable and will never change. >> What

Re: [PATCH] Improve ext2 driver to allow embedding of the boot loader code.

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 21.01.2014 09:41, Andrey Borzenkov wrote: > On Tue, Jan 21, 2014 at 12:32 PM, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: >> On 21.01.2014 09:28, Andrey Borzenkov wrote: >>> On Tue, Jan 21, 2014 at 12:14 PM, Vladimir 'φ-coder/phcoder' >>&g

Re: [PATCH] Add linuxefi module

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 21.01.2014 14:43, Colin Watson wrote: > I would be inclined to say that linuxefi should be essentially an > internal implementation detail, and that linux should forward to > linuxefi if appropriate. Current 32-bit protocol is very useful on platforms like coreboot. Removing its use in GRUB com

Re: [PATCH] Add linuxefi module

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 21.01.2014 17:24, Andrey Borzenkov wrote: > В Tue, 21 Jan 2014 00:28:08 +0100 > Lubomir Rintel пишет: > >> >> module = { >> + name = linuxefi; >> + efi = loader/i386/efi/linux.c; >> + efi = lib/cmdline.c; >> + enable = i386_efi; >> + enable = x86_64_efi; >> +}; >> + > > Is it relevant

Re: [PATCH] add GRUB_WINDOWS_DLLS to make windowsdir to allow shipping runtime files

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead. On 21.01.2014 17:33, Andrey Borzenkov wrote: > В Tue, 21 Jan 2014 08:26:04 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 19.01.2014 05:15, Andrey Borzenkov wrote: >>> В Sun, 19 Jan 2014 02:23:41 +0100 >>> Vladimir '

Re: [PATCH] Improve DejaVuSans detection

2014-01-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 21.01.2014 17:16, Andrey Borzenkov wrote: > Yes, I realized that. The problem is, unifont may be missing (user is > free to override it with GRUB_FONT) If user overrides our fonts and gets ugly display it's his fault. You can assume unifont availability. signature.asc Description: OpenPGP dig

Re: [RFC] Allow separate boot block and core.img location?

2014-01-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 21.01.2014 19:02, Chris Murphy wrote: >>> 3. Truecrypt encrypted "primary" for Windows Use truecrypt loader. That's funny how truecrypt guys push their agenda but never there when it comes to coding or even testing. signature.asc Description: OpenPGP digital signature

Re: [PATCH] Add linuxefi module

2014-01-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.01.2014 00:29, Colin Watson wrote: > On Tue, Jan 21, 2014 at 05:29:03PM +0100, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: >> This part is from RH "Secureboot" patch. Few things are right about that >> patch. Whatever signature verifications would ne

Re: [PATCH] normalize default prefix in grub-mkimage

2014-01-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 21.01.2014 17:48, Andrey Borzenkov wrote: > В Tue, 21 Jan 2014 08:19:24 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 27.12.2013 18:41, Andrey Borzenkov wrote: >>> This fixes bogus "C:\boot\grub" at runtime for Windows build as we

Re: grub-shell: Pass -no-pad to xorriso when building floppy images

2014-01-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 16.01.2014 15:53, Colin Watson wrote: > On Thu, Jan 16, 2014 at 03:05:44PM +0100, Thomas Schmitt wrote: >> Hi, >> >>> +mkrescue_args="${mkrescue_args} -- -no-pad" >> >> This "--" is most probably not what you want. > [...] >> mkrescue_args="${mkrescue_args} -no-pad" > > This doesn't work

Re: [PATCH v2] fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h

2014-01-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.01.2014 20:09, Andrey Borzenkov wrote: > В Sat, 18 Jan 2014 20:07:31 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 18.01.2014 20:02, Andrey Borzenkov wrote: >>> +fw.write (f.read ().replace ("(printf,f,a)", &

Re: [PATCH v2] fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h

2014-01-25 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead On 25.01.2014 16:51, Andrey Borzenkov wrote: > В Fri, 24 Jan 2014 21:34:17 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 18.01.2014 20:09, Andrey Borzenkov wrote: >>> В Sat, 18 Jan 2014 20:07:31 +0100 >>> Vladimir '

<    5   6   7   8   9   10   11   12   13   14   >