From owner-freebsd-stable@freebsd.org Fri Nov 17 06:55:05 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 870B0DBC376 for ; Fri, 17 Nov 2017 06:55:05 +0000 (UTC) (envelope-from amdmiek@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B8D87CE4E for ; Fri, 17 Nov 2017 06:55:05 +0000 (UTC) (envelope-from amdmiek@gmail.com) Received: by mail-io0-x235.google.com with SMTP id t11so7764673iof.13 for ; Thu, 16 Nov 2017 22:55:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=1QAJLynHRUxx+SX71lnXjs22UhJQpgpq9NlKymAJTt4=; b=put8p9/rI09nCGE0+NhoTomqPIG5g6t3Q5/6yZum/p6nHNFk6Ln+I8s7TidSXRFIDd pKszrl3mB8oQMqYQfvcutpjaaOS3+VfcN3UUSNC1EeTM7rj3+vVbwRO59/1VXHLjQ5S9 y4BZcWpv21FUpi8S/GvbO0GDSrBlI3KR4heLpojqhAXtMWsy/kdRvhTw6/oCAptf84mW o42AFIKrPMtrXC5wmCS4Pw+pJ0+Io5ff83Ont8f6MOmwtm7zC1M7w2mnXoiN85Sy9LQw 2wbWy839+Wbu/YvHzICVpxR1HlCTaDm9WztxOCn1MHLesn5pgJd6IAZz23+zFECKFxHB ApVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=1QAJLynHRUxx+SX71lnXjs22UhJQpgpq9NlKymAJTt4=; b=jxo1CtwmNLJDuWZ5Tt0E+kDNiFDqRKAHDMCNXqXO+Dwff1gaH11nBnuk/cUJIkF9Sg j+ndOik6gO2uopTX4pi1+7NrBZ46cJp7AaLJ2XSHQUYMDxk4mDC6C+v3ycaFbK2YmBOj 2h1YbADdXzimlZmfGz+7Y4dS9BttAOUaigIoezE/NAZpL0fUtbimogIigzVGNAHsoGNP 9VXde/biwOnm6sCVrJokFOoA5RcdhmeAhdmMyfGVFPjBDI+KQW+RwFeuFuIDm4wZNkFK L7c5v4g/7OSZBWq/y5DjNTULAIch8U4/SxgaOzwlYR+WQP+t/gn10B9y393UTBRPWm2+ U+Iw== X-Gm-Message-State: AJaThX4xZ2uI5SsBizpAYykhhaXPYCsE/KYgRkXdzO7GMwZ6GZ/tO3j1 Rbu6S2WxBNGPWNNwodh5Q1lRpSdGw9rOWi9d28o= X-Google-Smtp-Source: AGs4zMYL/tqxEGsyINP82RQRackOWLxUdOmOidwQF+uhYmMBfBH8wVyMSGL44K4jIQwSeF69fke9ozXjgD/8ruMul4s= X-Received: by 10.107.3.170 with SMTP id e42mr1772327ioi.88.1510901704267; Thu, 16 Nov 2017 22:55:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.9.200 with HTTP; Thu, 16 Nov 2017 22:55:03 -0800 (PST) Received: by 10.2.9.200 with HTTP; Thu, 16 Nov 2017 22:55:03 -0800 (PST) In-Reply-To: References: From: Mike Black Date: Fri, 17 Nov 2017 09:55:03 +0300 Message-ID: Subject: Re: D-Link DGE530T issue To: freebsd-stable Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2017 06:55:05 -0000 Hello. I looked into svn code for 8.3R and 11.1R and there seems no changes in descriptors/identifiers. So I think that NIC is being wrongly identified during startup process - it is being recognized with a wrong PCI VID. How can this be checked or fixed? I use a loadable kernel module after a startup, so there is no useful messages during boot process. 15 =D0=BD=D0=BE=D1=8F=D0=B1. 2017 =D0=B3. 11:00 PM =D0=BF=D0=BE=D0=BB=D1=8C= =D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Mike Black" =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > Hello > > I've got old PCI NIC D-Link DGE530T Rev 11 with SysKonnect chip on it. > Years ago it worked in FreeBSD 8/9 Stable with if_sk driver. > > Now I'm runnig > 11.1-STABLE FreeBSD 11.1-STABLE #1 r323214: Sat Nov 11 19:06:20 MSK 2017 > amd_miek@diablo.miekoff.local:/usr/obj/usr/src/sys/DIABLO64 amd64 > 1101502 1101502 > > But recently I plugged this card back and it's not being recognized by a > driver. > > pciconf says that is > none0@pci0:5:1:0: class=3D0x020000 card=3D0x4b011086 chip=3D0x4b011= 086 > rev=3D0x11 hdr=3D0x00 > vendor =3D 'J. Bond Computer Systems' > class =3D network > subclass =3D ethernet > bar [10] =3D type Memory, range 32, base 0xfebec000, size 16384, > enabled > bar [14] =3D type I/O Port, range 32, base 0xee00, size 512, enable= d > cap 01[48] =3D powerspec 2 supports D0 D1 D2 D3 current D3 > cap 03[50] =3D VPD > > According /usr/share/misc/pci_vendors this D-link should have 4b011186 no= t > 4b011086. > I looked into driver code (if_sk) and it expects 1186 card also. > I googled about this issue but found no one similar in a recent years > So I'd like to know what's wrong - some changes in driver in a recent > years or smth going wrong while OS detecting this NIC. But that's > confusing, because this exact NIC worked years ago... > > -- > amd_miek > Think different. > Just superior. > > > =D0=91=D0=B5=D0=B7 > =D0=B2=D0=B8=D1=80=D1=83=D1=81=D0=BE=D0=B2. www.avast.ru > > <#m_6570072101733768544_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >