RE: [PATCH]: xHCI/EHCI - Windows - BIOS bug interaction.

2013-12-19 Thread Melki Christian (consultant)
Aleš, You're right. The code was not meant to be final commit or anything. Just a base for discussion. I have added a filter for the chipset in question in my code, but I'm more curious about odd cases. What happens if BIOS intentionally sets ports to USB 3.0 in the port routing registers of sai

Re: booting btrfs

2013-12-19 Thread Chris Murphy
On Dec 19, 2013, at 11:14 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > 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

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

2013-12-19 Thread Chris Murphy
On Dec 19, 2013, at 9:31 AM, joe fresh wrote: > The intent there was to install the boot block (boot.img) into the first > sector of sda1, which is what my suggested workaround would have done as well. > Also, if sda1 happens to be a fat or ntfs volume, this would need to be > tweaked to ensure

[PATCH v2 1/2] fdt: additions required for arm64 Linux loader

2013-12-19 Thread Leif Lindholm
- Add grub_fdt_create_empty_tree() function. - Add 64-bit setprop. --- grub-core/lib/fdt.c | 29 + include/grub/fdt.h | 20 2 files changed, 49 insertions(+) diff --git a/grub-core/lib/fdt.c b/grub-core/lib/fdt.c index 9f34dc7..57d6f30 100644

[PATCH v2 2/2] arm64: add EFI Linux loader

2013-12-19 Thread Leif Lindholm
--- grub-core/Makefile.core.def|3 +- grub-core/loader/arm64/linux.c | 479 include/grub/arm64/linux.h | 54 + include/grub/efi/api.h |4 + 4 files changed, 539 insertions(+), 1 deletion(-) create mode 100644 grub-core/loader

Re: [PATCH] add arm64 UEFI Linux loader

2013-12-19 Thread Leif Lindholm
On Thu, Dec 19, 2013 at 08:06:03PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >> 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 th

Re: [PATCH]: xHCI/EHCI - Windows - BIOS bug interaction.

2013-12-19 Thread Aleš Nesrsta
Dne 19.12.2013 12:33, Melki Christian (consultant) napsal(a): >... > I'm not an USB expert. :) In this case we are two... :) According to your patch: Even if this patch looks good for me, I am afraid it is not good way to handle xHCI from EHCI module. From my point of view it is maybe little bit

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

2013-12-19 Thread Aleš Nesrsta
Hi Vladimir, it would be fine if the bugfix, posted by me in ML thread "EHCI/USBMS corrections" (12/16/2013), will be included in the final release. It solves serious bug. I tested it on four different PCs - it is working fine, I saw no negative results, and it helps on PCs where the problem, des

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: [PATCH] add arm64 UEFI Linux loader

2013-12-19 Thread Leif Lindholm
On Wed, Dec 18, 2013 at 06:23:06PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >>> + if (!orig_fdt) > >>> +{ > >>> + fdt_loaded = 0; > >>> + /* Look for FDT in UEFI config tables. */ > >>> + tables = grub_efi_system_table->configuration_table; > >>> + > >>> + for

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' Serbinenko >>> wrote: Hello, all. I've just uploa

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: 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 mounted >> with subvolid. >> > > Can

[PATCH] grub-mkconfig: only use scripts that are executable

2013-12-19 Thread Lars Wendler
commit ec824e0f2a399ce2ab3a2e3353d372a236595059 breaks grub-mkconfig if one of the pre-defined config files are not executable. This patch fixes https://bugs.gentoo.org/494716 Signed-off-by: Lars Wendler --- util/grub-mkconfig.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/grub-

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

2013-12-19 Thread joe fresh
sda1 was just an example taken from the original request:grub-install --boot-block-location=/dev/sda1 --core-img-location=/dev/sda The intent there was to install the boot block (boot.img) into the first sector of sda1, which is what my suggested workaround would have done as well. Also, if sda1

Re: booting btrfs

2013-12-19 Thread Andrey Borzenkov
В 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 mounted > with subvolid. > Can it cause compatibility issues? It means if config file tha

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

2013-12-19 Thread Andrey Borzenkov
В 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' Serbinenko > > wrote: > >> Hello, all. I've just uploaded 2.02~beta1. This also means that we're > >> now

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

2013-12-19 Thread Lennart Sorensen
On Thu, Dec 19, 2013 at 05:28:16AM -0500, joe fresh wrote: > Isn't this as simple as: > > grub-install /dev/sda > dd if=/dev/sda of=/dev/sda1 bs=512 count=1 > followed by restoring DOS MBR... ? sda1 might not like having it's first sector overwritten. -- Len Sorensen __

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 would be exceptions. The major points to do before rel

Re: [Xen-devel] pvgrub2 is merged

2013-12-19 Thread Stefano Stabellini
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.12.2013 15:35, Fabio Fantoni wrote: > >>> Il 17/12/2013 15:10, Fabio Fantoni ha scritto: > Il 17/1

RE: [PATCH]: xHCI/EHCI - Windows - BIOS bug interaction.

2013-12-19 Thread Melki Christian (consultant)
Addition: Seems to be intel pantherpoint chipset specific. So the issue is likely far smaller than I initially thought. Code should probably be enclosed with vendor/product id test. I'm not an USB expert. :) Regards, Christian > -Original Message- > From: grub-devel-bounces+christian.mel

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

2013-12-19 Thread joe fresh
Isn't this as simple as: grub-install /dev/sda dd if=/dev/sda of=/dev/sda1 bs=512 count=1 followed by restoring DOS MBR... ? Cheers! - Original Message - From: Andrey Borzenkov Sent: 12/16/13 02:36 PM To: grub-devel@gnu.org Subject: [RFC] Allow separate boot block and core.img location?

[PATCH]: xHCI/EHCI - Windows - BIOS bug interaction.

2013-12-19 Thread Melki Christian (consultant)
Hi. Request for comments (patch is a local repository patch) so far: I noticed on some Dell 7010 machines the following behaviour with GRUB. Machine is cold-booted. - > USB keyboard works in GRUB -> Windows boots -> Windows does warm reboot -> USB keyboard does not work in GRUB. This only happe

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 exceptions on case-by-case basis >> but it would be exce