From owner-freebsd-stable@FreeBSD.ORG Wed Oct 19 18:45:03 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 607C7106566B for ; Wed, 19 Oct 2011 18:45:03 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id CFB0C8FC0C for ; Wed, 19 Oct 2011 18:45:02 +0000 (UTC) Received: by wwi18 with SMTP id 18so2949640wwi.31 for ; Wed, 19 Oct 2011 11:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=hZpV6mytL/i4guYtI24mnTfXSxE4FEY4XjBBJWBRphU=; b=U+sd9q/HNMYasFzVD+CGC2YZVadd2Q+kj26PTnbyN390Py2OVxSmFkOzuUVFa9jdz6 A5+dMd2gAFrVZEilJgzMf4XzCobiq5Qg7/Yk/j0jiZWh4VpzPV/mNbSflHZpnNqLiyBA a/a862liUsaxnsDjIQ4BDShv16UCAJZ8PNpOQ= Received: by 10.227.27.229 with SMTP id j37mr2932612wbc.57.1319049901587; Wed, 19 Oct 2011 11:45:01 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id i29sm11337313wbp.22.2011.10.19.11.44.56 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Oct 2011 11:44:58 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 19 Oct 2011 11:43:17 -0700 From: YongHyeon PYUN Date: Wed, 19 Oct 2011 11:43:17 -0700 To: Marco Steinbach Message-ID: <20111019184317.GB10843@michelle.cdnetworks.com> References: <20111017002213.GB3338@michelle.cdnetworks.com> <4E9EA1E5.7000801@executive-computing.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E9EA1E5.7000801@executive-computing.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: Call for testers : ALi/ULi M5261/M5263 ethernet controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2011 18:45:03 -0000 On Wed, Oct 19, 2011 at 12:09:41PM +0200, Marco Steinbach wrote: > YongHyeon PYUN wrote on 17.10.2011 02:22: > >Hi, > > > >If you have ALi/ULi M5261/M5263 ethernet controller please try the > >patch at the following URL and let me know how it works. > >http://people.freebsd.org/~yongari/dc/dc.uli562x.diff > > > >The patch was generated against latest HEAD and it should be > >cleanly applied to latest stable/8 and stable/7. > > > >Thanks. > > > Thank you for working on this. Although the patch applies cleanly, it > doesn't seem to work for me. I'm getting the following message upon boot: > > dc0: port 0xe400-0xe4ff mem > 0xff6fec00-0xff6fecff irq 17 at device 17.0 on pci0 > dc0: attaching PHYs failed > device_attach: dc0 attach returned 6 > > The device doesn't show up in ifconfig. > > FreeBSD x2.c0c0.intra 8.2-STABLE FreeBSD 8.2-STABLE #2 r226509M: Wed Oct > 19 11:37:33 CEST 2011 > root@x2.c0c0.intra:/usr/obj/usr/src/sys/GENERIC i386 > > > dc0@pci0:0:17:0: class=0x020000 card=0x52631849 chip=0x526310b9 > rev=0x40 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'ULi PCI Fast Ethernet Controller (Albatron K8ULTRA-U > Pro)' > class = network > subclass = ethernet > > > > It's a lab machine, so I'm completely free to try out anything you might > suggest. > Thanks for testing! I already got a feedback from user and the user also said the patch does not work. I'm trying to debug the issue as the user is willing to provide remote access. However it seems it's somewhat hard for the user to setup remote debugging environments. BTW, can you setup remote debugging environments like the following URL? http://people.freebsd.org/~yongari/remote_debugging.txt I'll let you know if I manage to make it work. > Here's the complete output of pciconf -lv: > > hostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x169510b9 > rev=0x00 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'ULi M1695 K8 Northbridge with PCIe and hypertransport' > class = bridge > subclass = HOST-PCI > pcib1@pci0:0:1:0: class=0x060400 card=0x00000000 chip=0x524b10b9 > rev=0x00 hdr=0x01 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'ALi PCIe Bridge' > class = bridge > subclass = PCI-PCI > pcib2@pci0:0:2:0: class=0x060400 card=0x00000000 chip=0x524c10b9 > rev=0x00 hdr=0x01 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'ALi PCIe Bridge' > class = bridge > subclass = PCI-PCI > pcib3@pci0:0:3:0: class=0x060400 card=0x00000000 chip=0x524d10b9 > rev=0x00 hdr=0x01 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > class = bridge > subclass = PCI-PCI > hostb1@pci0:0:4:0: class=0x060000 card=0x00000000 chip=0x168910b9 > rev=0x00 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'ULi M1689 K8 Northbridge with AGP and hypertransport' > class = bridge > subclass = HOST-PCI > pcib4@pci0:0:5:0: class=0x060400 card=0x00000000 chip=0x524610b9 > rev=0x00 hdr=0x01 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'ULi AGP 3.0 Controller' > class = bridge > subclass = PCI-PCI > pcib5@pci0:0:6:0: class=0x060401 card=0x00000000 chip=0x524910b9 > rev=0x00 hdr=0x01 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'HyperTransport to PCI Bridge (M5249)' > class = bridge > subclass = PCI-PCI > isab0@pci0:0:7:0: class=0x060100 card=0x15631849 chip=0x156310b9 > rev=0x70 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'ALI M1563 South Bridge with Hypertransport Support' > class = bridge > subclass = PCI-ISA > none0@pci0:0:7:1: class=0x068000 card=0x71011849 chip=0x710110b9 > rev=0x00 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'ALI M7101 Power Management Controller' > class = bridge > none1@pci0:0:8:0: class=0x040100 card=0x08501849 chip=0x545510b9 > rev=0x20 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'AC'97 Audio Controller (M1563M Southbridge)' > class = multimedia > subclass = audio > dc0@pci0:0:17:0: class=0x020000 card=0x52631849 chip=0x526310b9 > rev=0x40 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'ULi PCI Fast Ethernet Controller (Albatron K8ULTRA-U > Pro)' > class = network > subclass = ethernet > atapci2@pci0:0:18:0: class=0x01018a card=0x52291849 chip=0x522910b9 > rev=0xc7 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'EIDE Controller (M5229 Southbridge)' > class = mass storage > subclass = ATA > atapci3@pci0:0:18:1: class=0x01018f card=0x52891849 chip=0x528910b9 > rev=0x10 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'M5289 SATA/Raid controller (ULI M1567/M1689 )' > class = mass storage > subclass = ATA > ohci0@pci0:0:19:0: class=0x0c0310 card=0x52371849 chip=0x523710b9 > rev=0x03 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'OpenHCI 1.1 USB to 2.0 (M5273 A1 for windows 98)' > class = serial bus > subclass = USB > ohci1@pci0:0:19:1: class=0x0c0310 card=0x52371849 chip=0x523710b9 > rev=0x03 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'OpenHCI 1.1 USB to 2.0 (M5273 A1 for windows 98)' > class = serial bus > subclass = USB > ohci2@pci0:0:19:2: class=0x0c0310 card=0x52371849 chip=0x523710b9 > rev=0x03 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'OpenHCI 1.1 USB to 2.0 (M5273 A1 for windows 98)' > class = serial bus > subclass = USB > ehci0@pci0:0:19:3: class=0x0c0320 card=0x52391849 chip=0x523910b9 > rev=0x01 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'USB EHCI2.0 Controller (527210B9)' > class = serial bus > subclass = USB > hostb2@pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 > rev=0x00 hdr=0x00 > vendor = 'Advanced Micro Devices (AMD)' > device = 'Athlon64/Opteron/Sempron (K8 Family) HyperTransport > Technology Configuration' > class = bridge > subclass = HOST-PCI > hostb3@pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 > rev=0x00 hdr=0x00 > vendor = 'Advanced Micro Devices (AMD)' > device = 'Athlon64/Opteron/Sempron (K8 Family) Address Map' > class = bridge > subclass = HOST-PCI > hostb4@pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 > rev=0x00 hdr=0x00 > vendor = 'Advanced Micro Devices (AMD)' > device = 'Athlon64/Opteron/Sempron (K8 Family) DRAM Controller' > class = bridge > subclass = HOST-PCI > hostb5@pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 > rev=0x00 hdr=0x00 > vendor = 'Advanced Micro Devices (AMD)' > device = 'Athlon64/Opteron/Sempron (K8 Family) Miscellaneous > Control' > class = bridge > subclass = HOST-PCI > atapci0@pci0:3:0:0: class=0x010601 card=0x03601849 chip=0x2360197b > rev=0x00 hdr=0x00 > vendor = 'JMicron Technology Corp.' > device = 'JMicron 20360/20363 AHCI Controller' > class = mass storage > subclass = SATA > > > > MfG CoCo