Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-12-05 Thread Aleš Nesrsta
Hi Javier, I went through this e-mail thread and I noted one possibly interesting thing: You sent debug output file ttyUSB0_new.txt at 27.10.2013. There is one very interesting part: the begin of this file - there are these lines: " Now booting the Boot with GNU GRUB2 Loading file: (wd0,0)/grub.

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-12-05 Thread Aleš Nesrsta
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Javier, I went through this e-mail thread and I noted one possibly interesting thing: You sent debug output file ttyUSB0_new.txt at 27.10.2013. There is one very interesting part: the begin of this file - there are these lines: " Now booting the

Re: Restrictive file permissions

2013-12-05 Thread Daniel Kahn Gillmor
On 12/05/2013 04:20 PM, Jonathan McCune wrote: > On Thu, Dec 5, 2013 at 10:10 AM, Colin Watson wrote: > >> I think we should identify the call sites that really need restricted >> permissions, explicitly lock them down, and open things back up for >> everything else. > > I agree that this policy

Restrictive file permissions

2013-12-05 Thread Colin Watson
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/osdep/bsd/hostdisk.c:93: ret = open (os_dev, flags, S_IRUSR |

Re: [PATCH] Replace print statement with sys.stdout.write for python3 compatibility

2013-12-05 Thread Colin Watson
On Thu, Dec 05, 2013 at 04:31:55PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 04.12.2013 16:28, Mike Gilbert wrote: > > On Wed, Dec 4, 2013 at 5:12 AM, Colin Watson wrote: > >> On Tue, Dec 03, 2013 at 08:14:09PM -0500, Mike Gilbert wrote: > >>> Gmail likes to mangle patches, so I'm

Re: [Xen-devel] pvgrub2 is merged

2013-12-05 Thread Fabio Fantoni
Il 05/12/2013 16:50, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto: On 29.11.2013 12:28, Fabio Fantoni wrote: I updated git to commit 69ca97c820a623f85baf2db1627e19bef9c24e44 and the regression persist. I've just tested it here and it works perfectly. Are you sure you don't have a typo in va

Re: [Xen-devel] pvgrub2 is merged

2013-12-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.11.2013 12:28, Fabio Fantoni wrote: > I updated git to commit 69ca97c820a623f85baf2db1627e19bef9c24e44 and the > regression persist. I've just tested it here and it works perfectly. Are you sure you don't have a typo in variable name? signature.asc Description: OpenPGP digital signature __

Re: [PATCH] Replace print statement with sys.stdout.write for python3 compatibility

2013-12-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04.12.2013 16:28, Mike Gilbert wrote: > On Wed, Dec 4, 2013 at 5:12 AM, Colin Watson wrote: >> On Tue, Dec 03, 2013 at 08:14:09PM -0500, Mike Gilbert wrote: >>> Gmail likes to mangle patches, so I'm attaching it. >> >> Could we please use the clearer bilingual form of "from __future__ >> import

Re: [PATCH] On Linux, read partition start offsets from sysfs if possible

2013-12-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Looks good. Go ahead. On 05.12.2013 13:17, Colin Watson wrote: > This lets us cope with block device drivers that don't implement > HDIO_GETGEO. Fixes Ubuntu bug #1237519. > > * grub-core/osdep/linux/hostdisk.c (sysfs_partition_path): New > function. > (sysfs_partition_start): Likewise. > (grub_u

Re: [PATCH] On Linux, read partition start offsets from sysfs if possible

2013-12-05 Thread Colin Watson
On Thu, Dec 05, 2013 at 12:17:23PM +, Colin Watson wrote: > This lets us cope with block device drivers that don't implement > HDIO_GETGEO. Fixes Ubuntu bug #1237519. Brandon Hansen also pointed out in this bug that hd_geometry.start is unsigned long rather than unsigned long long, and thus i

[PATCH] On Linux, read partition start offsets from sysfs if possible

2013-12-05 Thread Colin Watson
This lets us cope with block device drivers that don't implement HDIO_GETGEO. Fixes Ubuntu bug #1237519. * grub-core/osdep/linux/hostdisk.c (sysfs_partition_path): New function. (sysfs_partition_start): Likewise. (grub_util_find_partition_start_os): Try sysfs_partition_start before HDIO_GETGEO. -

Re: fdt: fix for add_subnode()

2013-12-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 05.12.2013 10:11, Francesco Lavra wrote: > Hi, > > On 12/04/2013 04:28 PM, Leif Lindholm wrote: >> The current fdt support fails to update the size of the dt_struct after >> adding a new node. Attached is the suggested fix. > > Looks ok to me. > Looks ok to me as well, go ahead. > -- > France

Re: fdt: fix for add_subnode()

2013-12-05 Thread Francesco Lavra
Hi, On 12/04/2013 04:28 PM, Leif Lindholm wrote: > The current fdt support fails to update the size of the dt_struct after > adding a new node. Attached is the suggested fix. Looks ok to me. -- Francesco ___ Grub-devel mailing list Grub-devel@gnu.org