RE: drivers/net/usb/r8152.c USB net driver outdated

2017-12-01 Thread Hayes Wang
Cameron Seader [mailto:csea...@suse.com]
> Sent: Thursday, November 30, 2017 11:40 PM
[...]
> I have experienced with kernel 4.14 and the driver 1.09.9 that when a
> system goes into sleep mode and then comes out of sleep that the network
> interface gets set to speed 100 in half duplex. I then have to manually
> set it back to full duplex and speed 1000. The 2.09.0 driver fixes this
> problem and the upstream 4.14 has this bug. So there seems to be
> something significantly different in the way the upstream driver handles
> coming out of sleep.

Maybe you could send me the kernel log first.
I would try to reproduce this issue.

Best Regards,
Hayes




Re: drivers/net/usb/r8152.c USB net driver outdated

2017-11-30 Thread Cameron Seader

On 11/29/2017 08:27 PM, Hayes Wang wrote:

Cameron Seader [mailto:csea...@suse.com]

Sent: Wednesday, November 29, 2017 10:51 AM

[...]

The upstream kernel seems to be outdated with version 1.09.9 of the
drivers/net/usb/r8152.c driver. There is newer hardware now which
requires the newer version where running with the old one becomes
unstable. For example the latest Dell Precision 5520 uses this driver. I
have currently tested the newest driver I can find which is dated
8/30/2017 at version 2.09.0.


The versions of the vendor driver and upstream driver are different,
because I have to know which driver is used. The two drivers are almost
the same except that the upstream driver doesn't include the firmware.
Besides, the upstream driver 1.09.9 has supported the newest chips.

The vendor driver would be updated frequently. And I would submit the
patches to the upstream driver when I feel the settings are stable
enough.


I have experienced with kernel 4.14 and the driver 1.09.9 that when a 
system goes into sleep mode and then comes out of sleep that the network 
interface gets set to speed 100 in half duplex. I then have to manually 
set it back to full duplex and speed 1000. The 2.09.0 driver fixes this 
problem and the upstream 4.14 has this bug. So there seems to be 
something significantly different in the way the upstream driver handles 
coming out of sleep.


Cameron

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: drivers/net/usb/r8152.c USB net driver outdated

2017-11-29 Thread Hayes Wang
Cameron Seader [mailto:csea...@suse.com]
> Sent: Wednesday, November 29, 2017 10:51 AM
[...]
> The upstream kernel seems to be outdated with version 1.09.9 of the
> drivers/net/usb/r8152.c driver. There is newer hardware now which
> requires the newer version where running with the old one becomes
> unstable. For example the latest Dell Precision 5520 uses this driver. I
> have currently tested the newest driver I can find which is dated
> 8/30/2017 at version 2.09.0.

The versions of the vendor driver and upstream driver are different,
because I have to know which driver is used. The two drivers are almost
the same except that the upstream driver doesn't include the firmware.
Besides, the upstream driver 1.09.9 has supported the newest chips.

The vendor driver would be updated frequently. And I would submit the
patches to the upstream driver when I feel the settings are stable
enough.

Best Regards,
Hayes




Re: drivers/net/usb/r8152.c USB net driver outdated

2017-11-29 Thread Petko Manolov
On 17-11-29 10:23:31, Cameron Seader wrote:
> On 11/29/2017 09:55 AM, Petko Manolov wrote:
> > On 17-11-29 09:35:04, Cameron Seader wrote:
> > > On 11/29/2017 03:37 AM, Petko Manolov wrote:
> > > > On 17-11-29 06:11:22, Greg KH wrote:
> > > > > On Tue, Nov 28, 2017 at 07:51:06PM -0700, Cameron Seader wrote:
> > > > > > Greetings, The upstream kernel seems to be outdated with version 
> > > > > > 1.09.9 of the drivers/net/usb/r8152.c driver. There is newer 
> > > > > > hardware now which requires the newer version where running with 
> > > > > > the 
> > > > > > old one becomes unstable. For example the latest Dell Precision 
> > > > > > 5520 
> > > > > > uses this driver. I have currently tested the newest driver I can 
> > > > > > find which is dated 8/30/2017 at version 2.09.0.
> > > > > > 
> > > > > > http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1=56=56=5=4=3=false#RTL8153
> > > > > > 
> > > > > > Attached is the driver.
> > > > > > 
> > > > > > I have compiled this newer driver on Kernel 4.14.1 on openSUSE 
> > > > > > Tumbleweed and have been successful with no issues. It certainly is 
> > > > > > a lot more stable than the previous which caused issues coming out 
> > > > > > of sleep mode where it would drop the speed of the NIC to 100 and 
> > > > > > set it to half duplex.
> > > > > > 
> > > > > > I'm asking that we please look at updating this driver in the 
> > > > > > latest 
> > > > > > kernel.
> > > > > 
> > > > > Care to submit patches to update the existing in-kernel driver to 
> > > > > provide the support that this out-of-tree driver has?  That's the 
> > > > > only 
> > > > > way this is going to happen :)
> > > > 
> > > > Magic firmware blobs in the source.  I love it... :)
> > > > 
> > > 
> > > Petko, Does this mean your looking into this update?
> > 
> 
> Petko, Are you submitting patches to update the existing in-kernel driver to 
> this new one 2.09?

Nope, it ain't me.  I have not authored the driver neither i have access to this
device.  I thought that you're doing the upstreaming.


Petko
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: drivers/net/usb/r8152.c USB net driver outdated

2017-11-29 Thread Cameron Seader

On 11/29/2017 09:55 AM, Petko Manolov wrote:

On 17-11-29 09:35:04, Cameron Seader wrote:

On 11/29/2017 03:37 AM, Petko Manolov wrote:

On 17-11-29 06:11:22, Greg KH wrote:

On Tue, Nov 28, 2017 at 07:51:06PM -0700, Cameron Seader wrote:

Greetings, The upstream kernel seems to be outdated with version 1.09.9
of the drivers/net/usb/r8152.c driver. There is newer hardware now which
requires the newer version where running with the old one becomes
unstable. For example the latest Dell Precision 5520 uses this driver. I
have currently tested the newest driver I can find which is dated
8/30/2017 at version 2.09.0.

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1=56=56=5=4=3=false#RTL8153

Attached is the driver.

I have compiled this newer driver on Kernel 4.14.1 on openSUSE
Tumbleweed and have been successful with no issues. It certainly is a
lot more stable than the previous which caused issues coming out of
sleep mode where it would drop the speed of the NIC to 100 and set it to
half duplex.

I'm asking that we please look at updating this driver in the latest
kernel.


Care to submit patches to update the existing in-kernel driver to provide
the support that this out-of-tree driver has?  That's the only way this is
going to happen :)


Magic firmware blobs in the source.  I love it... :)



Petko,
Does this mean your looking into this update?




Petko,
Are you submitting patches to update the existing in-kernel driver to 
this new one 2.09?


Cameron


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: drivers/net/usb/r8152.c USB net driver outdated

2017-11-29 Thread Petko Manolov
On 17-11-29 09:35:04, Cameron Seader wrote:
> On 11/29/2017 03:37 AM, Petko Manolov wrote:
> > On 17-11-29 06:11:22, Greg KH wrote:
> > > On Tue, Nov 28, 2017 at 07:51:06PM -0700, Cameron Seader wrote:
> > > > Greetings, The upstream kernel seems to be outdated with version 1.09.9 
> > > > of the drivers/net/usb/r8152.c driver. There is newer hardware now 
> > > > which 
> > > > requires the newer version where running with the old one becomes 
> > > > unstable. For example the latest Dell Precision 5520 uses this driver. 
> > > > I 
> > > > have currently tested the newest driver I can find which is dated 
> > > > 8/30/2017 at version 2.09.0.
> > > > 
> > > > http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1=56=56=5=4=3=false#RTL8153
> > > > 
> > > > Attached is the driver.
> > > > 
> > > > I have compiled this newer driver on Kernel 4.14.1 on openSUSE 
> > > > Tumbleweed and have been successful with no issues. It certainly is a 
> > > > lot more stable than the previous which caused issues coming out of 
> > > > sleep mode where it would drop the speed of the NIC to 100 and set it 
> > > > to 
> > > > half duplex.
> > > > 
> > > > I'm asking that we please look at updating this driver in the latest 
> > > > kernel.
> > > 
> > > Care to submit patches to update the existing in-kernel driver to provide 
> > > the support that this out-of-tree driver has?  That's the only way this 
> > > is 
> > > going to happen :)
> > 
> > Magic firmware blobs in the source.  I love it... :)
> > 
> 
> Petko,
> Does this mean your looking into this update?

Sorry, I am not sure what you mean.  


Petko
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: drivers/net/usb/r8152.c USB net driver outdated

2017-11-29 Thread Cameron Seader

On 11/29/2017 03:37 AM, Petko Manolov wrote:

On 17-11-29 06:11:22, Greg KH wrote:

On Tue, Nov 28, 2017 at 07:51:06PM -0700, Cameron Seader wrote:

Greetings, The upstream kernel seems to be outdated with version 1.09.9 of
the drivers/net/usb/r8152.c driver. There is newer hardware now which
requires the newer version where running with the old one becomes unstable.
For example the latest Dell Precision 5520 uses this driver. I have
currently tested the newest driver I can find which is dated 8/30/2017 at
version 2.09.0.

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1=56=56=5=4=3=false#RTL8153

Attached is the driver.

I have compiled this newer driver on Kernel 4.14.1 on openSUSE Tumbleweed
and have been successful with no issues. It certainly is a lot more stable
than the previous which caused issues coming out of sleep mode where it
would drop the speed of the NIC to 100 and set it to half duplex.

I'm asking that we please look at updating this driver in the latest kernel.


Care to submit patches to update the existing in-kernel driver to provide the
support that this out-of-tree driver has?  That's the only way this is going
to happen :)


Magic firmware blobs in the source.  I love it... :)



Petko,
Does this mean your looking into this update?

Cameron

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: drivers/net/usb/r8152.c USB net driver outdated

2017-11-29 Thread Petko Manolov
On 17-11-29 06:11:22, Greg KH wrote:
> On Tue, Nov 28, 2017 at 07:51:06PM -0700, Cameron Seader wrote:
> > Greetings, The upstream kernel seems to be outdated with version 1.09.9 of 
> > the drivers/net/usb/r8152.c driver. There is newer hardware now which 
> > requires the newer version where running with the old one becomes unstable. 
> > For example the latest Dell Precision 5520 uses this driver. I have 
> > currently tested the newest driver I can find which is dated 8/30/2017 at 
> > version 2.09.0.
> > 
> > http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1=56=56=5=4=3=false#RTL8153
> > 
> > Attached is the driver.
> > 
> > I have compiled this newer driver on Kernel 4.14.1 on openSUSE Tumbleweed 
> > and have been successful with no issues. It certainly is a lot more stable 
> > than the previous which caused issues coming out of sleep mode where it 
> > would drop the speed of the NIC to 100 and set it to half duplex.
> > 
> > I'm asking that we please look at updating this driver in the latest kernel.
> 
> Care to submit patches to update the existing in-kernel driver to provide the 
> support that this out-of-tree driver has?  That's the only way this is going 
> to happen :)

Magic firmware blobs in the source.  I love it... :)


Petko
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: drivers/net/usb/r8152.c USB net driver outdated

2017-11-28 Thread Greg KH
On Tue, Nov 28, 2017 at 07:51:06PM -0700, Cameron Seader wrote:
> Greetings,
> The upstream kernel seems to be outdated with version 1.09.9 of the
> drivers/net/usb/r8152.c driver. There is newer hardware now which requires
> the newer version where running with the old one becomes unstable. For
> example the latest Dell Precision 5520 uses this driver. I have currently
> tested the newest driver I can find which is dated 8/30/2017 at version
> 2.09.0.
> 
> http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1=56=56=5=4=3=false#RTL8153
> 
> Attached is the driver.
> 
> I have compiled this newer driver on Kernel 4.14.1 on openSUSE Tumbleweed
> and have been successful with no issues. It certainly is a lot more stable
> than the previous which caused issues coming out of sleep mode where it
> would drop the speed of the NIC to 100 and set it to half duplex.
> 
> I'm asking that we please look at updating this driver in the latest kernel.

Care to submit patches to update the existing in-kernel driver to
provide the support that this out-of-tree driver has?  That's the only
way this is going to happen :)

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


drivers/net/usb/r8152.c USB net driver outdated

2017-11-28 Thread Cameron Seader

Greetings,
The upstream kernel seems to be outdated with version 1.09.9 of the 
drivers/net/usb/r8152.c driver. There is newer hardware now which 
requires the newer version where running with the old one becomes 
unstable. For example the latest Dell Precision 5520 uses this driver. I 
have currently tested the newest driver I can find which is dated 
8/30/2017 at version 2.09.0.


http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1=56=56=5=4=3=false#RTL8153

Attached is the driver.

I have compiled this newer driver on Kernel 4.14.1 on openSUSE 
Tumbleweed and have been successful with no issues. It certainly is a 
lot more stable than the previous which caused issues coming out of 
sleep mode where it would drop the speed of the NIC to 100 and set it to 
half duplex.


I'm asking that we please look at updating this driver in the latest 
kernel.


Thanks,
--
Cameron Seader
Technology Strategist
SUSE
c...@suse.com
(P)+1 208.572.0095
(M)+1 208.420.2167


0008-r8152.53-2.09.0.tar.bz2
Description: application/bzip