Date: Tue, 15 Sep 2015 07:04:53 -0700 From: Sreenath Battalahalli <sreenathbh@rocketmail.com> To: Gary Palmer <gpalmer@freebsd.org> Cc: Marius Strobl <marius@alchemy.franken.de>, freebsd-net@freebsd.org Subject: Re: realtek interface not working Message-ID: <1442325893.26688.YahooMailBasic@web184304.mail.ne1.yahoo.com> In-Reply-To: <20150912104347.GA45080@in-addr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Will you be submitting the patch upstream to support the new device revisio= n? rgds, Sreenath -------------------------------------------- On Sat, 9/12/15, Gary Palmer <gpalmer@freebsd.org> wrote: Subject: Re: realtek interface not working To: "Sreenath Battalahalli" <sreenathbh@rocketmail.com> Cc: "Marius Strobl" <marius@alchemy.franken.de>, freebsd-net@freebsd.org Date: Saturday, September 12, 2015, 10:43 AM =20 On Fri, Sep 11, 2015 at 10:57:36PM -0700, Sreenath Battalahalli wrote: > Hi Marius, >=20 > Thanks for the patch. I manually made changes to the two files, and after building the kernel and installing it, > I can see the re0 interface. I am now sending this email using the new laptop. >=20 > However, I am a bit confused by the dmesg output. I see two sets of lines pertaining to the re0 device. >=20 > $dmesg | grep -i re0 > =20 > re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x3000-0x30ff mem 0xb0604000-0xb0604fff,0xb0600000-0xb0603fff irq 18 at device 0.0 on pci2 > re0: Using 1 MSI-X message > re0: turning off MSI enable bit. > re0: ASPM disabled > re0: Chip rev. 0x54000000 > re0: MAC rev. 0x00100000 > re0: Unknown H/W revision: 0x54000000 > device_attach: re0 attach returned 6 > re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x3000-0x30ff mem 0xb0604000-0xb0604fff,0xb0600000-0xb0603fff irq 18 at device 0.0 on pci2 > re0: Using 1 MSI-X message > re0: ASPM disabled > re0: Chip rev. 0x54000000 > re0: MAC rev. 0x00100000 > miibus0: <MII bus> on re0 > re0: Using defaults for TSO: 65518/35/2048 > re0: Ethernet address: 2c:60:0c:92:0f:c2 >=20 > seems the driver attempted to initialize the device twice? >=20 > Anyway, it is working now. =20 The kernel dmesg buffer can be preserved over a reboot, so it's possible the lines up to and including "device_attach: re0 attach returned 6" are from the reboot before you installed the patch.=A0 Rather than just grep for re0, do "dmesg | less" or "dmesg | more" and check the context of the=20 "device_attach: re0 attach returned 6" error and see if there are any=20 indications of a reboot between that line and the next re0 probe lines, e.g. "Copyright (c) 1992-2015 The FreeBSD Project" =20 Regards, =20 Gary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1442325893.26688.YahooMailBasic>