Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756410AbcKCI4u convert rfc822-to-8bit (ORCPT ); Thu, 3 Nov 2016 04:56:50 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:40180 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755346AbcKCI4s (ORCPT ); Thu, 3 Nov 2016 04:56:48 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.56 with qID uA38uUuk008563, This message is accepted by code: ctloc85258 From: Hayes Wang To: Mark Lord , David Miller CC: nic_swsd , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH net] r8152: Fix broken RX checksums. Thread-Topic: [PATCH net] r8152: Fix broken RX checksums. Thread-Index: AQHSMypesTCefyf3Q0+uiksQ3ScZXKDCK5vwgANWLgCAAXP9gA== Date: Thu, 3 Nov 2016 08:56:30 +0000 Message-ID: <0835B3720019904CB8F7AA43166CEEB20104878A@RTITMBSV03.realtek.com.tw> References: <9fb6be7b-95f3-6e59-c0f4-1d6c3357416d@pobox.com> <20161030.205755.1198665157526465556.davem@davemloft.net> <1f847ae0-4928-01e7-f1e7-3cbc37529961@pobox.com> <20161030.235342.134481656830778556.davem@davemloft.net> <0835B3720019904CB8F7AA43166CEEB201047353@RTITMBSV03.realtek.com.tw> <201611030159.uA31x0np004648@rtits1.realtek.com> In-Reply-To: <201611030159.uA31x0np004648@rtits1.realtek.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.177.128] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1411 Lines: 42 Mark Lord [mailto:mlord@pobox.com] > Sent: Thursday, November 03, 2016 2:30 AM > To: Hayes Wang; David Miller [...] > I have poked at it some more, and thus far it appears that it is > only necessary to disable TCP rx checksums. The system doesn't crash > when only IP/UDP checksums are enabled, but does when TCP checksums are on. > > This happens regardless of whether RX_AGG is disabled or enabled, > and increasing/decreasing the number of RX URBs (RTL8152_MAX_RX) > doesn't seem to affect it. I test Raspberry Pi v1, but I couldn't boot with NFSROOT through both onboard nic and RTL8152. I get following error. VFS: Unable to mount root fs via NFS, trying floppy. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) However, if I start the system without NFSROOT, I could mount the nfs fs. Any idea? NFS server: Fedora 24 Raspberry Pi OS: 2016-09-23-raspbian-jessie Content of /etc/exports: /nfsexport *(rw,sync,no_root_squash) I change the cmdline.txt from dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles to dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs nfsroot=192.168.94.2:/nfsexport ip=192.168.94.22 rw rootwait quiet splash plymouth.ignore-serial-consoles Best Regards, Hayes