[Bug 1779817] Re: no internet after suspending

2018-07-24 Thread Kai-Heng Feng
Alright, I'll build an Bionic kernel without this commit.

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng)

** Summary changed:

- no internet after suspending
+ r8169 no internet after suspending

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  r8169 no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-22 Thread Jan Rathmann
During the last days I tried to bisect the commit that caused the
regression, but I'm not sure if the result is correct.

According to git the bad commit is
b489141369f78ead6ed540cff29ac1974852cd7f

Can anyone confirm?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-19 Thread Mateusln
I'm in the same situation as
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/comments/12

Same Ethernet model, using kubuntu 18.04 after the kernel update
4.15.0-24, If I boot into 4.15.0-23 it works.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-17 Thread Kai-Heng Feng
If we are sure that the r8169 works on older kernel, but not on the
latest one, we can use kernel bisection to find which commit causes the
regression:

First, find the last good -rc kernel and the first bad -rc kernel from
http://kernel.ubuntu.com/~kernel-ppa/mainline/

Then,
$ sudo apt build-dep linux
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ git bisect start
$ git bisect good $(the good version you found)
$ git bisect bad $(the bad version found)
$ make localmodconfig
$ make -j`nproc` deb-pkg
Install the newly built kernel, then reboot with it.
If the issue still happens,
$ git bisect bad
Otherwise,
$ git bisect good
Repeat to "make -j`nproc` deb-pkg" until you find the commit that causes the 
regression.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-13 Thread Steve Dodd
I'm not sure if I'm in the right bug thread, 4.15.0-24 stopped my
r8168/9 NIC working after suspend, was fine in prior versions. I have
tested Kai's lp1779817-2 kernel above but it does not help.

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-12 Thread Jan Rathmann
I have tested https://people.canonical.com/~khfeng/lp1779817-2/ , and it
still does not fix the bug for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-11 Thread Kai-Heng Feng
I've finished backporting all r8169 changes from net-next to 18.04 kernel. 
Please give it a try:
https://people.canonical.com/~khfeng/lp1779817-2/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-06 Thread craig p hicks
search for "r8168 for 4.15 kernel" and you will see problem from across
many linux distributions.

I am trying to follow

https://www.unixblogger.com/2016/08/11/how-to-get-your-realtek-
rtl8111rtl8168-working-updated-guide/

and change the "more stable" r8168.  Neither the Ubuntu repo of r8168
nor the realtek download of r8168 are compiling cleanly however.  Seems
like kernel 4.15 included changes to an interface

previously "setup_timer" is now "timer_setup"

but it might not be as simple as a name change.  I'm looking at this
patch for a different project (not r8168) :
http://patchwork.dpdk.org/patch/31739/  .  You will see more logic there
than a simple name change.  (It could be an unrelated change, I can't
tell.)

So maybe the 4.15 update for the r8169 driver didn't get the necessary
logic changes and that is why there is a bug (?)

I'm trying to compile the Realtek r8168 version now, just using pointer
casts to get it to compile.

Does @kaihengfeng have information about changes to r8169?  Ubuntu has a
repo r8168-dkms but (in my setup) it has many more compile errors than
realtek's r8168 :(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-06 Thread Jan Rathmann
Kai-Heng, I have tested mainline kernel 4.18-rc3 from
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc3/ and it seems
not to fix the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-05 Thread Kai-Heng Feng
Jan, does you issue fixed by mainline kernel v4.18-rc3?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-05 Thread Jan Rathmann
Kai-Heng:
I have tried the kernel under https://people.canonical.com/~khfeng/lp1779817/ 
and I see no change on my system (bug still there; reloading network driver 
after resume from suspend is still necessary).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-05 Thread Kai-Heng Feng
Please try this kernel:
https://people.canonical.com/~khfeng/lp1779817/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-04 Thread Danute
I tested with kernel linux-
modules-4.18.0-041800rc3-generic_4.18.0-041800rc3.201807012030_amd64 and
it's fixed. Thank you.

** Tags added: kernel-fixed-upstream

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1779817] Re: no internet after suspending

2018-07-03 Thread Joseph Salisbury
Did this issue start happening after an update/upgrade?  Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.18 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc3



** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779817

Title:
  no internet after suspending

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs