[Ubuntu-x-swat] [Bug 1760450] Re: [nvidia] Xorg crashed with signal 7 in _dl_fixup() from _dl_runtime_resolve_xsavec() called from nvidia_drv.so

2018-08-07 Thread Alan Jenkins
Hi Vedant.  Change the line in /etc/default/grub e.g.

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet scsi_mod.scan=sync"

and then re-run update-grub.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1760450

Title:
  [nvidia] Xorg crashed with signal 7 in _dl_fixup() from
  _dl_runtime_resolve_xsavec() called from nvidia_drv.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1760450/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1760450] Re: [nvidia] Xorg crashed with signal 7 in _dl_fixup() from _dl_runtime_resolve_xsavec() called from nvidia_drv.so

2018-08-07 Thread Vedant Bhatia
The problem hasn't occurred so far after adding "csi_mod.scan=sync".

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1760450

Title:
  [nvidia] Xorg crashed with signal 7 in _dl_fixup() from
  _dl_runtime_resolve_xsavec() called from nvidia_drv.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1760450/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1760450] Re: [nvidia] Xorg crashed with signal 7 in _dl_fixup() from _dl_runtime_resolve_xsavec() called from nvidia_drv.so

2018-08-06 Thread Vedant Bhatia
Hi. I faced a similar issue and when I tried to add "scsi_mod.scan=sync" to 
/etc/default/grub and then run update-grub I got the following error:
/usr/sbin/grub-mkconfig: 36: /etc/default/grub: scsi_mod.scan=sync: not found


Would appreciate any help, thanks.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1760450

Title:
  [nvidia] Xorg crashed with signal 7 in _dl_fixup() from
  _dl_runtime_resolve_xsavec() called from nvidia_drv.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1760450/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1760450] Re: [nvidia] Xorg crashed with signal 7 in _dl_fixup() from _dl_runtime_resolve_xsavec() called from nvidia_drv.so

2018-06-15 Thread Alan Jenkins
Thanks for your confirmation, Julien.  I have asked Ubuntu to import the
proper fix from upstream and they responded very promptly.  See:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1776887

They have posted a test kernel.  I don't have a ubuntu install to test
it on - only a VM which cannot suspend.  It *might* be useful if someone
wants to volunteer to try using the test kernel.

You could test that your normal suspend still works, and test the
command mentioned in the commit.  I.e.

$ sudo -i
# dd if=/dev/sda of=/dev/null iflag=direct & \
  while killall -SIGUSR1 dd; do sleep 0.1; done & \
  echo mem > /sys/power/state ; \
  sleep 5; killall dd  # stop after 5 seconds

On a "bad" kernel, any time you run this command it should show a
message about an IO error.  On a "good" kernel, the system will appear
to suspend and resume, but there should be no IO error.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1760450

Title:
  [nvidia] Xorg crashed with signal 7 in _dl_fixup() from
  _dl_runtime_resolve_xsavec() called from nvidia_drv.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1760450/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1760450] Re: [nvidia] Xorg crashed with signal 7 in _dl_fixup() from _dl_runtime_resolve_xsavec() called from nvidia_drv.so

2018-06-14 Thread Julien Olivier
I confirm that adding "scsi_mod.scan=sync" does indeed fix this bug.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1760450

Title:
  [nvidia] Xorg crashed with signal 7 in _dl_fixup() from
  _dl_runtime_resolve_xsavec() called from nvidia_drv.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1760450/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1760450] Re: [nvidia] Xorg crashed with signal 7 in _dl_fixup() from _dl_runtime_resolve_xsavec() called from nvidia_drv.so

2018-05-30 Thread Sosha
@Daniel

i use nvidia-driver-396.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1760450

Title:
  [nvidia] Xorg crashed with signal 7 in _dl_fixup() from
  _dl_runtime_resolve_xsavec() called from nvidia_drv.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1760450/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1760450] Re: [nvidia] Xorg crashed with signal 7 in _dl_fixup() from _dl_runtime_resolve_xsavec() called from nvidia_drv.so

2018-05-29 Thread Alan Jenkins
Uh, if anyone else is affected by this, there's a trivial fix upstream
already (and a workaround).  Hop to it, Ubuntu.  gregkh is looking
disappointed at you :-).  I checked, and it looks like you didn't apply
it to you 4.15 tree.  See end for links to the fix etc.


For users: The workaround is to add "scsi_mod.scan=sync" on the kernel command 
line (i.e. edit /etc/default/grub and run `update-grub`).


Please note

1. AFAICT this is near-universal.
   It affects all desktop users of kernel 4.15/4.16 who use suspend
   (and whose workloads use all their RAM).
   It could be avoided by not using SCSI, but it does affect all systems with 
root on SATA.

2. Although this is horrible when it happens (X crash) and can happen on a 
near-daily basis,
   it can be quite difficult for users to analyze and report.  For example, the 
crash doesn't
   have one specific backtrace in Xorg.   It tends to generate several 
different backtraces,
   non-deterministicly.  Sometimes, making a coredump fails, presumably due to 
the same bug
   that causes the crash.

   I remember that Sosha had to make two attempts at reporting this bug
   (though I don't remember what was wrong with the first one).

   Also, it's triggered by a medium-term SIGALRM timer in Xorg.
   This made it really annoying to reproduce, at the time when I didn't know 
the root cause.
   I was able to reproduce the memory pressure needed, but it didn't happen
   when testing suspend+resume... only when I broke for lunch and left the 
machine
   suspended for long enough :).


Fix: "block: do not use interruptible wait anywhere"

in kernel 4.17:
https://github.com/torvalds/linux/commit/1dc3039bc87ae7d19a990c3ee71cfd8a9068f428

in kernel 4.16.8: https://git.kernel.org/pub/scm/linux/kernel/git/stable
/linux-
stable.git/commit/?h=linux-4.16.y=7859056bc73dea2c3714b00c83b253d4c22bf7b6

lack of fix in 4.15.0-23.25 (ubuntu bionic): https://git.launchpad.net
/~ubuntu-kernel/ubuntu/+source/linux/+git/bionic/tree/block/blk-
core.c?id=Ubuntu-4.15.0-23.25#n856

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1760450

Title:
  [nvidia] Xorg crashed with signal 7 in _dl_fixup() from
  _dl_runtime_resolve_xsavec() called from nvidia_drv.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1760450/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp