Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-02 Thread Diederik de Haas
On vrijdag 2 maart 2018 09:49:39 CET John Paul Adrian Glaubitz wrote: > Here's an updated patch sparc64-support.patch which should address the > issue, > it contains these two patches: > > http://lists.gnu.org/archive/html/grub-devel/2018-03/msg00016.html > > http://lists.gnu.org/archive/html/grub-

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-02 Thread John Paul Adrian Glaubitz
On 03/02/2018 02:58 PM, Diederik de Haas wrote: Still works without segfaults. Any particular info you'd like to see as well? No. But you should re-test version -3 that was just uploaded once it becomes available. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-02 Thread John Paul Adrian Glaubitz
Hi! Here's an updated patch sparc64-support.patch which should address the issue, it contains these two patches: > http://lists.gnu.org/archive/html/grub-devel/2018-03/msg00016.html > http://lists.gnu.org/archive/html/grub-devel/2018-03/msg00018.html @Martin and Diederik, could you test these up

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread John Paul Adrian Glaubitz
On 03/01/2018 05:15 PM, Diederik de Haas wrote: No more segfaults :-) Alright. Attaching an updated patch for sparc64 support for Colin. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread Diederik de Haas
On donderdag 1 maart 2018 17:02:28 CET John Paul Adrian Glaubitz wrote: > I have updated the packages with the patch I just came up with: > > https://people.debian.org/~glaubitz/grub-891773/ > > Can you retry? No more segfaults :-) signature.asc Description: This is a digitally signed message p

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread John Paul Adrian Glaubitz
On 03/01/2018 03:22 PM, Diederik de Haas wrote: So it didn't seem to have fixed the issue, but maybe some additional info. If you need other info or want me to run other (debugging) commands, let me know. Preferably with detailed instructions as I just learned today how to do the 'bt' command.

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread John Paul Adrian Glaubitz
On 03/01/2018 04:06 PM, John Paul Adrian Glaubitz wrote: Let me test a patch. The problem is that of_path is empty here and the strcat tries to append "disk" to an empty buffer which fails. This fixes it for me: diff --git a/grub-core/osdep/linux/ofpath.c b/grub-core/osdep/linux/ofpath.c inde

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread John Paul Adrian Glaubitz
Looking at the code in grub-core/osdep/linux/ofpath.c, the issue is most likely that the buffer that of_path is pointing to of_path_of_nvme() is not large enough to hold both the contents of *of_path and disk[MAX_DISK_CAT]. Let me test a patch. Adrian -- .''`. John Paul Adrian Glaubitz : :'

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread John Paul Adrian Glaubitz
On 03/01/2018 03:30 PM, John Paul Adrian Glaubitz wrote: On 03/01/2018 03:22 PM, Diederik de Haas wrote: #2  of_path_of_nvme (sys_devname=0x55973f55efd0 "/dev/nvme0n1", devnode=0x55973f55d950 "/dev/nvme0n", devicenode=0x55973f55df10 "nvme0n", device=) at ../../grub-core/osdep/linux/ofpath.

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread John Paul Adrian Glaubitz
Adding GRUB upstream. On 03/01/2018 03:22 PM, Diederik de Haas wrote: #2 of_path_of_nvme (sys_devname=0x55973f55efd0 "/dev/nvme0n1", devnode=0x55973f55d950 "/dev/nvme0n", devicenode=0x55973f55df10 "nvme0n", device=) at ../../grub-core/osdep/linux/ofpath.c:388 It crashes in of_path_of_nv

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread Diederik de Haas
On donderdag 1 maart 2018 15:14:40 CET John Paul Adrian Glaubitz wrote: > >> If you have a .deb package, then yes. > > > > I just uploaded a patched version of grub2 to my Debian webspace [1]. > > PS: grub-probe is located in the grub-common package, so it should hopefully > be enough to just ins

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread John Paul Adrian Glaubitz
On 03/01/2018 03:10 PM, John Paul Adrian Glaubitz wrote: If you have a .deb package, then yes. I just uploaded a patched version of grub2 to my Debian webspace [1]. PS: grub-probe is located in the grub-common package, so it should hopefully be enough to just install grub-common_2.02+dfsg

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread John Paul Adrian Glaubitz
On 03/01/2018 03:07 PM, Diederik de Haas wrote: On donderdag 1 maart 2018 14:25:25 CET John Paul Adrian Glaubitz wrote: It might be that this patch fixes it [1]. I can build a grub package with the patch and provide it for testing purpose. Anyone who is affected by the bug would be willing to te

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread Diederik de Haas
On donderdag 1 maart 2018 14:25:25 CET John Paul Adrian Glaubitz wrote: > It might be that this patch fixes it [1]. I can build a grub package > with the patch and provide it for testing purpose. Anyone who is > affected by the bug would be willing to test my packages? If you have a .deb package,

Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread John Paul Adrian Glaubitz
nrelated to the sparc64 patches. Please send all followups related to NVME devices to #891773 *only*. I'm adjusting severities etc. accordingly, as it was never possible to get accurate information about the original report of #871229 (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=87122

Processed: Re: Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread Debian Bug Tracking System
Processing control commands: > severity 871229 important Bug #871229 [grub2-common] /usr/sbin/update-grub: running update-grub segment faults Severity set to 'important' from 'critical' > tag 871229 moreinfo Bug #871229 [grub2-common] /usr/sbin/update-grub: running u

Processed: Re: Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread Debian Bug Tracking System
Processing control commands: > severity 871229 important Bug #871229 [grub2-common] /usr/sbin/update-grub: running update-grub segment faults Ignoring request to change severity of Bug 871229 to the same value. > tag 871229 moreinfo Bug #871229 [grub2-common] /usr/sbin/update-grub: r

Bug#871229: Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread Colin Watson
or the original report of #871229 to have been due to this same bug, as I only applied the patch in question in 2.02+dfsg1-2. Please send all followups related to NVME devices to #891773 *only*. I'm adjusting severities etc. accordingly, as it was never possible to get accurate information about the original report of #871229 (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871229#25). -- Colin Watson [cjwat...@debian.org]

Bug#871229: Bug#891773: Related bug #871229 (but it didn't break my system))

2018-03-01 Thread Diederik de Haas
Backtrace: # gdb /usr/sbin/grub-probe core GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO W

Bug#871229: /usr/sbin/update-grub: running update-grub segment faults

2018-02-28 Thread Sven Hartge
On Wed, 28 Feb 2018 22:37:41 +0100 Martin Zobel-Helas wrote: > I get segfaults when running update-grub on my Lenovo Thinkpad x270 > running Debian unstable from today. I see the same on my Dell Precision 7520. > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > Core

Bug#871229:

2018-02-28 Thread Beren Minor
Hello, I have the same issue, with a NVME drive as well. It looks like the segmentation fault comes from grub-probe, when called with --target=hints_string. Attached grub-probe.log is the output of the command that leads to a segfault. Trying with gdb doesn't give much more information, the call

Bug#871229: /usr/sbin/update-grub: running update-grub segment faults

2018-02-28 Thread IOhannes m zmoelnig
Package: grub-common Version: 2.02+dfsg1-2 Followup-For: Bug #871229 Dear Maintainer, today, when running a regular unstable->unstable upgrade i also experienced a segmentation fault. i do these updates regularly, e.g. the last update of grub-common (2.02-2 -> 2.02+dfsg1-1) happened on &qu

Bug#871229: /usr/sbin/update-grub: running update-grub segment faults

2017-08-09 Thread Steven Jones
Sorry unable to capture an output I have tried to use pastebin but the case isnt being updated with the links. regards Steven From: Colin Watson Sent: Monday, 7 August 2017 8:28 p.m. To: steven.jo...@vuw.ac.nz; 871...@bugs.debian.org Subject: Re: Bug#871229

Bug#871229: /usr/sbin/update-grub: running update-grub segment faults

2017-08-07 Thread Colin Watson
On Mon, Aug 07, 2017 at 02:15:46PM +1200, steven.jo...@vuw.ac.nz wrote: > *** Reporter, please consider answering these questions, where appropriate *** > >* What led up to the situation? >* What exactly did you do (or not do) that was effective (or > ineffective)? >* What was the

Bug#871229: Acknowledgement (/usr/sbin/update-grub: running update-grub segment faults)

2017-08-06 Thread Thing
; * What outcome did you expect instead? > > That the boot order gets updated. > > > On 7 August 2017 at 14:30, Debian Bug Tracking System < > ow...@bugs.debian.org> wrote: > >> Thank you for filing a new Bug report with Debian. >> >> You can fo

Bug#871229: Acknowledgement (/usr/sbin/update-grub: running update-grub segment faults)

2017-08-06 Thread Thing
ith Debian. > > You can follow progress on this Bug here: 871229: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871229. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the pa

Bug#871229: /usr/sbin/update-grub: running update-grub segment faults

2017-08-06 Thread steven.jo...@vuw.ac.nz
Package: grub2-common Version: 2.02~beta2-22+deb8u1 Severity: critical File: /usr/sbin/update-grub Justification: breaks the whole system Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you d