From owner-freebsd-hardware@FreeBSD.ORG Sun Feb 19 08:01:37 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9879106564A for ; Sun, 19 Feb 2012 08:01:37 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id ECD248FC14 for ; Sun, 19 Feb 2012 08:01:36 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:99b7:eaf3:ff5b:3a4f]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 15ED04AC2D for ; Sun, 19 Feb 2012 12:01:33 +0400 (MSK) Date: Sun, 19 Feb 2012 12:01:32 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <491178624.20120219120132@serebryakov.spb.ru> To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: RocketRAID 2720SGL support? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2012 08:01:37 -0000 Hello, Freebsd-hardware. It seems, RocketRAID 2720SGL could be good (and cheap! ~$140!) solution for ``home'' usage as dumb HBA (8xSAS/SATA in PCIe x8 for $140?! Are you kidding!?). Are they supported by FreeBSD? Any plans to support? --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-hardware@FreeBSD.ORG Sun Feb 19 12:35:25 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F077106566C; Sun, 19 Feb 2012 12:35:25 +0000 (UTC) (envelope-from michael@fuckner.net) Received: from dedihh.fuckner.net (dedihh.fuckner.net [81.209.183.161]) by mx1.freebsd.org (Postfix) with ESMTP id 08E6A8FC14; Sun, 19 Feb 2012 12:35:24 +0000 (UTC) Received: from dedihh.fuckner.net (localhost [127.0.0.1]) by dedihh.fuckner.net (Postfix) with ESMTP id 7439511D4F; Sun, 19 Feb 2012 13:17:55 +0100 (CET) X-Virus-Scanned: amavisd-new at fuckner.net Received: from dedihh.fuckner.net ([127.0.0.1]) by dedihh.fuckner.net (dedihh.fuckner.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id IZ5ns5sbEN2B; Sun, 19 Feb 2012 13:17:23 +0100 (CET) Received: from c64.rebootking.de (e176162141.adsl.alicedsl.de [85.176.162.141]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by dedihh.fuckner.net (Postfix) with ESMTPSA id 7EEF511D41; Sun, 19 Feb 2012 13:17:23 +0100 (CET) Message-ID: <4F40E853.4070500@fuckner.net> Date: Sun, 19 Feb 2012 13:17:23 +0100 From: Michael Fuckner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: freebsd-hardware@freebsd.org References: <491178624.20120219120132@serebryakov.spb.ru> In-Reply-To: <491178624.20120219120132@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: lev@FreeBSD.org Subject: Re: RocketRAID 2720SGL support? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2012 12:35:25 -0000 On 02/19/2012 09:01 AM, Lev Serebryakov wrote: > Hello, Freebsd-hardware. > > It seems, RocketRAID 2720SGL could be good (and cheap! ~$140!) > solution for ``home'' usage as dumb HBA (8xSAS/SATA in PCIe x8 for > $140?! Are you kidding!?). > > Are they supported by FreeBSD? Any plans to support? > I think it is supported by hpt27xx I would stick to LSI since they are not really more expensive and known to work. Regards, Michael! From owner-freebsd-hardware@FreeBSD.ORG Mon Feb 20 11:07:06 2012 Return-Path: Delivered-To: freebsd-hardware@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D2F51065675 for ; Mon, 20 Feb 2012 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 420F68FC08 for ; Mon, 20 Feb 2012 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1KB76GE090120 for ; Mon, 20 Feb 2012 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1KB75W4090118 for freebsd-hardware@FreeBSD.org; Mon, 20 Feb 2012 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Feb 2012 11:07:05 GMT Message-Id: <201202201107.q1KB75W4090118@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-hardware@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-hardware@FreeBSD.org X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2012 11:07:06 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/156241 hardware [mfi] 'zfs send' does not prevents disks to suspend if 1 problem total. From owner-freebsd-hardware@FreeBSD.ORG Mon Feb 20 21:12:51 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 125A71065674 for ; Mon, 20 Feb 2012 21:12:51 +0000 (UTC) (envelope-from freebsd-hardware@dino.sk) Received: from loki.netlab.sk (ns3.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 70FE98FC18 for ; Mon, 20 Feb 2012 21:12:50 +0000 (UTC) Received: from atom.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by loki.netlab.sk with ESMTPSA; Mon, 20 Feb 2012 22:03:37 +0100 id 00033C0D.4F42B529.0001636C Date: Mon, 20 Feb 2012 22:02:37 +0100 From: Milan Obuch To: freebsd-hardware@freebsd.org Message-ID: <20120220220237.7474cc1e@atom.dino.sk> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: ak5rwz4-aUa>hPFZlcg,bXxn.(TN}e9DGFrKU\.i_'B[&5=pAd9o"j)5VSUYW:BRQG#^42Ev$Il|; Ztn=,C X-Operating-System: FreeBSD/amd64 8.2-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: PER-C40C minipci card under FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2012 21:12:51 -0000 Hi, is somebody using $subject? I need to get this card working in order to get more serial ports in ALIX boards. Unfortunately, all I am getting is hangup - last lines on console are pci0: at device 13.0 (no driver attached) puc0: port 0x1440-0x145f,0x1480-0x149f mem 0x80040000-0x80040fff,0x80080000-0x80080fff irq 12 at device 13.1 on pci0 puc0: Reserved 0x20 bytes for rid 0x10 type 4 at 0x1440 puc0: [FILTER] and nothing more happens (second line is wrapped here, very long for mail). In verbose boot, there are some related lines a bit sooner while doing pci bus scan: found-> vendor=0x1415, dev=0x9505, revid=0x01 domain=0, bus=0, slot=13, func=0 class=07-00-06, hdrtype=0x00, mfdev=1 cmdreg=0x0103, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=12 powerspec 2 supports D0 D2 D3 current D0 map[10]: type I/O Port, range 32, base 0x1000, size 3, enabled map[14]: type I/O Port, range 32, base 0x1040, size 3, enabled map[18]: type I/O Port, range 32, base 0x1080, size 3, enabled map[1c]: type I/O Port, range 32, base 0x10c0, size 3, enabled map[20]: type I/O Port, range 32, base 0x1400, size 5, enabled map[24]: type Memory, range 32, base 0x80000000, size 12, enabled found-> vendor=0x1415, dev=0x9511, revid=0x01 domain=0, bus=0, slot=13, func=1 class=06-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x0103, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=12 powerspec 2 supports D0 D2 D3 current D0 map[10]: type I/O Port, range 32, base 0x1440, size 5, enabled map[14]: type Memory, range 32, base 0x80040000, size 12, enabled map[18]: type I/O Port, range 32, base 0x1480, size 5, enabled map[1c]: type Memory, range 32, base 0x80080000, size 12, enabled (Boot lines from console are actually from WRAP, but they are not different, only device is moved to 12 or 14 depending on slot used on ALIX). Has anyboady an idea where does kernel actually hang and what need to be debugged? I have no problem to build a new kernel and test anything, I just need something to begin. Oh, and this was done with 8.3-PRERELEASE sources from today morning as this is version chosen for now, but I will try tomorrow to repeat this test with CURRENT sources, just to try whether something is already changed. In any case, if someone has any experience with mentioned minipci serial card, I would like to hear them. Regards, Milan From owner-freebsd-hardware@FreeBSD.ORG Tue Feb 21 11:43:48 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C35106564A for ; Tue, 21 Feb 2012 11:43:48 +0000 (UTC) (envelope-from freebsd-hardware@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 94F238FC0A for ; Tue, 21 Feb 2012 11:43:46 +0000 (UTC) Received: from atom.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by loki.netlab.sk with ESMTPSA; Tue, 21 Feb 2012 12:44:32 +0100 id 00033C0A.4F4383A0.000001AD Date: Tue, 21 Feb 2012 12:43:33 +0100 From: Milan Obuch To: freebsd-hardware@freebsd.org Message-ID: <20120221124333.0e8a9763@atom.dino.sk> In-Reply-To: <20120220220237.7474cc1e@atom.dino.sk> References: <20120220220237.7474cc1e@atom.dino.sk> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: ak5rwz4-aUa>hPFZlcg,bXxn.(TN}e9DGFrKU\.i_'B[&5=pAd9o"j)5VSUYW:BRQG#^42Ev$Il|; Ztn=,C X-Operating-System: FreeBSD/amd64 8.2-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: PER-C40C minipci card under FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 11:43:48 -0000 On Mon, 20 Feb 2012 22:02:37 +0100 Milan Obuch wrote: > Hi, > > is somebody using $subject? I need to get this card working in order > to get more serial ports in ALIX boards. Unfortunately, all I am > getting is hangup - last lines on console are > > pci0: at device 13.0 (no driver attached) > puc0: port > 0x1440-0x145f,0x1480-0x149f mem > 0x80040000-0x80040fff,0x80080000-0x80080fff irq 12 at device 13.1 on > pci0 > puc0: Reserved 0x20 bytes for rid 0x10 type 4 at 0x1440 > puc0: [FILTER] > > and nothing more happens (second line is wrapped here, very long for > mail). > > In verbose boot, there are some related lines a bit sooner while doing > pci bus scan: > > found-> vendor=0x1415, dev=0x9505, revid=0x01 > domain=0, bus=0, slot=13, func=0 > class=07-00-06, hdrtype=0x00, mfdev=1 > cmdreg=0x0103, statreg=0x0290, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=12 > powerspec 2 supports D0 D2 D3 current D0 > map[10]: type I/O Port, range 32, base 0x1000, size 3, > enabled map[14]: type I/O Port, range 32, base 0x1040, size 3, > enabled map[18]: type I/O Port, range 32, base 0x1080, size 3, > enabled map[1c]: type I/O Port, range 32, base 0x10c0, size 3, > enabled map[20]: type I/O Port, range 32, base 0x1400, size 5, > enabled map[24]: type Memory, range 32, base 0x80000000, size 12, > enabled > found-> vendor=0x1415, dev=0x9511, revid=0x01 > domain=0, bus=0, slot=13, func=1 > class=06-80-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0103, statreg=0x0290, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=12 > powerspec 2 supports D0 D2 D3 current D0 > map[10]: type I/O Port, range 32, base 0x1440, size 5, > enabled map[14]: type Memory, range 32, base 0x80040000, size 12, > enabled > map[18]: type I/O Port, range 32, base 0x1480, size 5, > enabled map[1c]: type Memory, range 32, base 0x80080000, size 12, > enabled > > (Boot lines from console are actually from WRAP, but they are not > different, only device is moved to 12 or 14 depending on slot used on > ALIX). > > Has anybody an idea where does kernel actually hang and what need to > be debugged? I have no problem to build a new kernel and test > anything, I just need something to begin. > > Oh, and this was done with 8.3-PRERELEASE sources from today morning > as this is version chosen for now, but I will try tomorrow to repeat > this test with CURRENT sources, just to try whether something is > already changed. > I tested with fresh 10-CURRENT sources and got exactly the same result, just two lines less in output. Last lines before hang are pci0: at device 14.0 (no driver attached) puc0: port 0x1840-0x185f,0x1880-0x189f mem 0xe0080000-0xe0080fff,0xe00c0000-0xe00c0fff irq 11 at device 14.1 on pci0 (this time on ALIX, but only device number differs) > In any case, if someone has any experience with mentioned minipci > serial card, I would like to hear them. > > Regards, > Milan > From owner-freebsd-hardware@FreeBSD.ORG Tue Feb 21 21:59:15 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16999106566C for ; Tue, 21 Feb 2012 21:59:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id E2F448FC08 for ; Tue, 21 Feb 2012 21:59:14 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 9CABD46B2C; Tue, 21 Feb 2012 16:59:14 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 04726B960; Tue, 21 Feb 2012 16:59:14 -0500 (EST) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Tue, 21 Feb 2012 16:40:30 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120220220237.7474cc1e@atom.dino.sk> In-Reply-To: <20120220220237.7474cc1e@atom.dino.sk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202211640.30854.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 21 Feb 2012 16:59:14 -0500 (EST) Cc: Milan Obuch Subject: Re: PER-C40C minipci card under FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 21:59:15 -0000 On Monday, February 20, 2012 4:02:37 pm Milan Obuch wrote: > Hi, > > is somebody using $subject? I need to get this card working in order to > get more serial ports in ALIX boards. Unfortunately, all I am getting > is hangup - last lines on console are > > pci0: at device 13.0 (no driver attached) > puc0: port > 0x1440-0x145f,0x1480-0x149f mem > 0x80040000-0x80040fff,0x80080000-0x80080fff irq 12 at device 13.1 on > pci0 > puc0: Reserved 0x20 bytes for rid 0x10 type 4 at 0x1440 > puc0: [FILTER] > > and nothing more happens (second line is wrapped here, very long for > mail). > > In verbose boot, there are some related lines a bit sooner while doing > pci bus scan: > > found-> vendor=0x1415, dev=0x9505, revid=0x01 > domain=0, bus=0, slot=13, func=0 > class=07-00-06, hdrtype=0x00, mfdev=1 > cmdreg=0x0103, statreg=0x0290, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=12 > powerspec 2 supports D0 D2 D3 current D0 > map[10]: type I/O Port, range 32, base 0x1000, size 3, enabled > map[14]: type I/O Port, range 32, base 0x1040, size 3, enabled > map[18]: type I/O Port, range 32, base 0x1080, size 3, enabled > map[1c]: type I/O Port, range 32, base 0x10c0, size 3, enabled > map[20]: type I/O Port, range 32, base 0x1400, size 5, enabled > map[24]: type Memory, range 32, base 0x80000000, size 12, > enabled Looks like this device works differently (the default is expecting the 4 serial ports to all show up in RID 0x10). Can you try this: Index: pucdata.c =================================================================== --- pucdata.c (revision 231973) +++ pucdata.c (working copy) @@ -708,11 +708,20 @@ const struct puc_cfg puc_pci_devices[] = { PUC_PORT_4S, 0x10, 0, 8, }, + /* XXX: Need subdevice/vendor */ { 0x1415, 0x9511, 0xffff, 0, + "AAEON PER-C40C", + DEFAULT_RCLK, + PUC_PORT_4S, 0x10, 4, 0, + }, + +#if 0 + { 0x1415, 0x9511, 0xffff, 0, "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)", DEFAULT_RCLK, PUC_PORT_4S, 0x10, 0, 8, }, +#endif { 0x1415, 0x9521, 0xffff, 0, "Oxford Semiconductor OX16PCI952 UARTs", -- John Baldwin From owner-freebsd-hardware@FreeBSD.ORG Tue Feb 21 22:15:44 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D605106567C for ; Tue, 21 Feb 2012 22:15:44 +0000 (UTC) (envelope-from freebsd-hardware@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 819F28FC08 for ; Tue, 21 Feb 2012 22:15:42 +0000 (UTC) Received: from atom.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by loki.netlab.sk with ESMTPSA; Tue, 21 Feb 2012 23:16:25 +0100 id 00033C0A.4F4417B9.0000198E Date: Tue, 21 Feb 2012 23:15:35 +0100 From: Milan Obuch To: freebsd-hardware@freebsd.org Message-ID: <20120221231535.641419b1@atom.dino.sk> In-Reply-To: <20120221124333.0e8a9763@atom.dino.sk> References: <20120220220237.7474cc1e@atom.dino.sk> <20120221124333.0e8a9763@atom.dino.sk> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: ak5rwz4-aUa>hPFZlcg,bXxn.(TN}e9DGFrKU\.i_'B[&5=pAd9o"j)5VSUYW:BRQG#^42Ev$Il|; Ztn=,C X-Operating-System: FreeBSD/amd64 8.2-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: PER-C40C minipci card under FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 22:15:44 -0000 On Tue, 21 Feb 2012 12:43:33 +0100 Milan Obuch wrote: > On Mon, 20 Feb 2012 22:02:37 +0100 > Milan Obuch wrote: > > > Hi, > > > > is somebody using $subject? I need to get this card working in order > > to get more serial ports in ALIX boards. Unfortunately, all I am > > getting is hangup - last lines on console are > > > > pci0: at device 13.0 (no driver attached) > > puc0: > > port 0x1440-0x145f,0x1480-0x149f mem > > 0x80040000-0x80040fff,0x80080000-0x80080fff irq 12 at device 13.1 on > > pci0 > > puc0: Reserved 0x20 bytes for rid 0x10 type 4 at 0x1440 > > puc0: [FILTER] > > > > and nothing more happens (second line is wrapped here, very long for > > mail). > > After consulting datasheet, I found this part of pucdata.c looks erroneously to me: { 0x1415, 0x9511, 0xffff, 0, "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)", DEFAULT_RCLK, PUC_PORT_4S, 0x10, 0, 8, }, Function 1 is actually local bus/parallel port, and this could really be the reason for hang I observed. Comparing what I found in datasheet with other entries I found replacing above entry with { 0x1415, 0x9505, 0xffff, 0, "Oxford Semiconductor OXuPCI952 UARTs (function 0)", DEFAULT_RCLK, PUC_PORT_2S, 0x10, 4, 0, }, makes me happier, I see some well looking lines in console log: puc0: port 0x1400-0x1407,0x1440-0x1447,0x1480-0x1487,0x14c0-0x14c7,0x1800-0x181f mem 0xe0040000-0xe0040fff irq 9 at device 12.00 uart1: <16550 or compatible> at port 1 on puc0 uart1: fast interrupt uart2: <16550 or compatible> at port 2 on puc0 uart2: fast interrupt Just one thing remains to resolve - it looks like baud rates are incorrect. Connecting two port with null modem cable and running cu -l /dev/cuau1 -s 9600 cu -l /dev/cuau2 -s 9600 makes functioning connection, as in 'what I type in one session appears at the second and vice versa', but when I connect one of my 'new' ports with other serial port, all I see is just some garbage. How could I find where I should put 'the last change' to make baud rates correct? Regards, Milan From owner-freebsd-hardware@FreeBSD.ORG Wed Feb 22 12:58:57 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8D721065670 for ; Wed, 22 Feb 2012 12:58:56 +0000 (UTC) (envelope-from freebsd-hardware@dino.sk) Received: from loki.netlab.sk (ns3.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 558618FC14 for ; Wed, 22 Feb 2012 12:58:55 +0000 (UTC) Received: from atom.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by loki.netlab.sk with ESMTPSA; Wed, 22 Feb 2012 13:59:35 +0100 id 00033C0D.4F44E6B7.00004270 Date: Wed, 22 Feb 2012 13:58:43 +0100 From: Milan Obuch To: freebsd-hardware@freebsd.org Message-ID: <20120222135843.7b3693ff@atom.dino.sk> In-Reply-To: <20120221231535.641419b1@atom.dino.sk> References: <20120220220237.7474cc1e@atom.dino.sk> <20120221124333.0e8a9763@atom.dino.sk> <20120221231535.641419b1@atom.dino.sk> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: ak5rwz4-aUa>hPFZlcg,bXxn.(TN}e9DGFrKU\.i_'B[&5=pAd9o"j)5VSUYW:BRQG#^42Ev$Il|; Ztn=,C X-Operating-System: FreeBSD/amd64 8.2-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: PER-C40C minipci card under FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2012 12:58:57 -0000 On Tue, 21 Feb 2012 23:15:35 +0100 Milan Obuch wrote: [ snip ] > After consulting datasheet, I found this part of pucdata.c looks > erroneously to me: > > { 0x1415, 0x9511, 0xffff, 0, > "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)", > DEFAULT_RCLK, > PUC_PORT_4S, 0x10, 0, 8, > }, > > Function 1 is actually local bus/parallel port, and this could really > be the reason for hang I observed. Comparing what I found in datasheet > with other entries I found replacing above entry with > > { 0x1415, 0x9505, 0xffff, 0, > "Oxford Semiconductor OXuPCI952 UARTs (function 0)", > DEFAULT_RCLK, > PUC_PORT_2S, 0x10, 4, 0, > }, > > makes me happier, I see some well looking lines in console log: > > puc0: port > 0x1400-0x1407,0x1440-0x1447,0x1480-0x1487,0x14c0-0x14c7,0x1800-0x181f > mem 0xe0040000-0xe0040fff irq 9 at device 12.00 > uart1: <16550 or compatible> at port 1 on puc0 > uart1: fast interrupt > uart2: <16550 or compatible> at port 2 on puc0 > uart2: fast interrupt > [ snip ] This is final patch which works for me: --- pucdata.c.orig 2012-02-21 16:47:33.000000000 +0100 +++ pucdata.c.patched 2012-02-22 12:10:44.000000000 +0100 @@ -696,6 +696,12 @@ PUC_PORT_4S, 0x10, 0, 8, }, + { 0x1415, 0x9505, 0xffff, 0, + "Oxford Semiconductor OXuPCI952 UARTs (function 0)", + DEFAULT_RCLK * 8, + PUC_PORT_2S, 0x10, 4, 0, + }, + { 0x1415, 0x950a, 0x131f, 0x2030, "SIIG Cyber 2S PCIe", DEFAULT_RCLK * 10, @@ -708,11 +714,13 @@ PUC_PORT_4S, 0x10, 0, 8, }, +#if 0 { 0x1415, 0x9511, 0xffff, 0, "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)", DEFAULT_RCLK, PUC_PORT_4S, 0x10, 0, 8, }, +#endif { 0x1415, 0x9521, 0xffff, 0, "Oxford Semiconductor OX16PCI952 UARTs", pciconf -lv tells following about card functions: puc0@pci0:0:12:0: class=0x070006 card=0x00001415 chip=0x95051415 rev=0x01 hdr=0x00 vendor = 'Oxford Semiconductor Ltd' device = 'OXuPCI952 (Dual 16C950 UART)' class = simple comms subclass = UART none1@pci0:0:12:1: class=0x068000 card=0x00001415 chip=0x95111415 rev=0x01 hdr=0x00 vendor = 'Oxford Semiconductor Ltd' device = 'OX16PCI954 (Quad 16950 UART) function 1 (8bit bus)' class = bridge This patch works for me on both 10-CURRENT and 8.3-PRERELEASE. Regards, Milan From owner-freebsd-hardware@FreeBSD.ORG Wed Feb 22 19:27:23 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 672761065677 for ; Wed, 22 Feb 2012 19:27:23 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 277408FC14 for ; Wed, 22 Feb 2012 19:27:23 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id CC8AC46B39; Wed, 22 Feb 2012 14:27:22 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 3EF8BB955; Wed, 22 Feb 2012 14:27:22 -0500 (EST) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Wed, 22 Feb 2012 09:57:55 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120220220237.7474cc1e@atom.dino.sk> <20120221231535.641419b1@atom.dino.sk> <20120222135843.7b3693ff@atom.dino.sk> In-Reply-To: <20120222135843.7b3693ff@atom.dino.sk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202220957.56016.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 22 Feb 2012 14:27:22 -0500 (EST) Cc: Milan Obuch Subject: Re: PER-C40C minipci card under FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2012 19:27:23 -0000 On Wednesday, February 22, 2012 7:58:43 am Milan Obuch wrote: > On Tue, 21 Feb 2012 23:15:35 +0100 > Milan Obuch wrote: > > [ snip ] > > > After consulting datasheet, I found this part of pucdata.c looks > > erroneously to me: > > > > { 0x1415, 0x9511, 0xffff, 0, > > "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)", > > DEFAULT_RCLK, > > PUC_PORT_4S, 0x10, 0, 8, > > }, > > > > Function 1 is actually local bus/parallel port, and this could really > > be the reason for hang I observed. Comparing what I found in datasheet > > with other entries I found replacing above entry with > > > > { 0x1415, 0x9505, 0xffff, 0, > > "Oxford Semiconductor OXuPCI952 UARTs (function 0)", > > DEFAULT_RCLK, > > PUC_PORT_2S, 0x10, 4, 0, > > }, > > > > makes me happier, I see some well looking lines in console log: > > > > puc0: port > > 0x1400-0x1407,0x1440-0x1447,0x1480-0x1487,0x14c0-0x14c7,0x1800-0x181f > > mem 0xe0040000-0xe0040fff irq 9 at device 12.00 > > uart1: <16550 or compatible> at port 1 on puc0 > > uart1: fast interrupt > > uart2: <16550 or compatible> at port 2 on puc0 > > uart2: fast interrupt > > > > [ snip ] > > This is final patch which works for me: > > --- pucdata.c.orig 2012-02-21 16:47:33.000000000 +0100 > +++ pucdata.c.patched 2012-02-22 12:10:44.000000000 +0100 > @@ -696,6 +696,12 @@ > PUC_PORT_4S, 0x10, 0, 8, > }, > > + { 0x1415, 0x9505, 0xffff, 0, > + "Oxford Semiconductor OXuPCI952 UARTs (function 0)", > + DEFAULT_RCLK * 8, > + PUC_PORT_2S, 0x10, 4, 0, > + }, > + > { 0x1415, 0x950a, 0x131f, 0x2030, > "SIIG Cyber 2S PCIe", > DEFAULT_RCLK * 10, > @@ -708,11 +714,13 @@ > PUC_PORT_4S, 0x10, 0, 8, > }, > > +#if 0 > { 0x1415, 0x9511, 0xffff, 0, > "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)", > DEFAULT_RCLK, > PUC_PORT_4S, 0x10, 0, 8, > }, > +#endif > > { 0x1415, 0x9521, 0xffff, 0, > "Oxford Semiconductor OX16PCI952 UARTs", > > pciconf -lv tells following about card functions: > > puc0@pci0:0:12:0: class=0x070006 card=0x00001415 chip=0x95051415 rev=0x01 hdr=0x00 > vendor = 'Oxford Semiconductor Ltd' > device = 'OXuPCI952 (Dual 16C950 UART)' > class = simple comms > subclass = UART > none1@pci0:0:12:1: class=0x068000 card=0x00001415 chip=0x95111415 rev=0x01 hdr=0x00 > vendor = 'Oxford Semiconductor Ltd' > device = 'OX16PCI954 (Quad 16950 UART) function 1 (8bit bus)' > class = bridge > > This patch works for me on both 10-CURRENT and 8.3-PRERELEASE. Hmm, ok. Unfortunately there are other devices that need the commented out entry. I've sent a followup to that original PR to see if that device has a subvendor device ID. -- John Baldwin From owner-freebsd-hardware@FreeBSD.ORG Wed Feb 22 22:35:45 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38AD31065673 for ; Wed, 22 Feb 2012 22:35:45 +0000 (UTC) (envelope-from freebsd-hardware@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 92D748FC13 for ; Wed, 22 Feb 2012 22:35:42 +0000 (UTC) Received: from atom.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by loki.netlab.sk with ESMTPSA; Wed, 22 Feb 2012 23:36:20 +0100 id 00033C0A.4F456DE4.00005B0F Date: Wed, 22 Feb 2012 23:35:36 +0100 From: Milan Obuch To: John Baldwin Message-ID: <20120222233536.314d7f86@atom.dino.sk> In-Reply-To: <201202220957.56016.jhb@freebsd.org> References: <20120220220237.7474cc1e@atom.dino.sk> <20120221231535.641419b1@atom.dino.sk> <20120222135843.7b3693ff@atom.dino.sk> <201202220957.56016.jhb@freebsd.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: ak5rwz4-aUa>hPFZlcg,bXxn.(TN}e9DGFrKU\.i_'B[&5=pAd9o"j)5VSUYW:BRQG#^42Ev$Il|; Ztn=,C X-Operating-System: FreeBSD/amd64 8.2-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hardware@freebsd.org Subject: Re: PER-C40C minipci card under FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2012 22:35:45 -0000 On Wed, 22 Feb 2012 09:57:55 -0500 John Baldwin wrote: [ snip ] > > --- pucdata.c.orig 2012-02-21 16:47:33.000000000 +0100 > > +++ pucdata.c.patched 2012-02-22 12:10:44.000000000 +0100 > > @@ -696,6 +696,12 @@ > > PUC_PORT_4S, 0x10, 0, 8, > > }, > > > > + { 0x1415, 0x9505, 0xffff, 0, > > + "Oxford Semiconductor OXuPCI952 UARTs (function 0)", > > + DEFAULT_RCLK * 8, > > + PUC_PORT_2S, 0x10, 4, 0, > > + }, > > + > > { 0x1415, 0x950a, 0x131f, 0x2030, > > "SIIG Cyber 2S PCIe", > > DEFAULT_RCLK * 10, > > @@ -708,11 +714,13 @@ > > PUC_PORT_4S, 0x10, 0, 8, > > }, > > > > +#if 0 > > { 0x1415, 0x9511, 0xffff, 0, > > "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function > > 1)", DEFAULT_RCLK, > > PUC_PORT_4S, 0x10, 0, 8, > > }, > > +#endif > > > > { 0x1415, 0x9521, 0xffff, 0, > > "Oxford Semiconductor OX16PCI952 UARTs", > > > > pciconf -lv tells following about card functions: > > > > puc0@pci0:0:12:0: class=0x070006 card=0x00001415 chip=0x95051415 > > rev=0x01 > hdr=0x00 > > vendor = 'Oxford Semiconductor Ltd' > > device = 'OXuPCI952 (Dual 16C950 UART)' > > class = simple comms > > subclass = UART > > none1@pci0:0:12:1: class=0x068000 card=0x00001415 chip=0x95111415 > > rev=0x01 > hdr=0x00 > > vendor = 'Oxford Semiconductor Ltd' > > device = 'OX16PCI954 (Quad 16950 UART) function 1 (8bit bus)' > > class = bridge > > > > This patch works for me on both 10-CURRENT and 8.3-PRERELEASE. > > Hmm, ok. Unfortunately there are other devices that need the > commented out entry. I've sent a followup to that original PR to see > if that device has a subvendor device ID. > Do you have some pointers to such devices? I am no real expert, but there must be some difference... Regards, Milan From owner-freebsd-hardware@FreeBSD.ORG Thu Feb 23 14:34:17 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB595106566B for ; Thu, 23 Feb 2012 14:34:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8BA4B8FC17 for ; Thu, 23 Feb 2012 14:34:17 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 40C3346B2C; Thu, 23 Feb 2012 09:34:17 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 9F614B948; Thu, 23 Feb 2012 09:34:16 -0500 (EST) From: John Baldwin To: Milan Obuch Date: Thu, 23 Feb 2012 08:31:09 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120220220237.7474cc1e@atom.dino.sk> <201202220957.56016.jhb@freebsd.org> <20120222233536.314d7f86@atom.dino.sk> In-Reply-To: <20120222233536.314d7f86@atom.dino.sk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202230831.09164.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 23 Feb 2012 09:34:16 -0500 (EST) Cc: freebsd-hardware@freebsd.org Subject: Re: PER-C40C minipci card under FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 14:34:17 -0000 On Wednesday, February 22, 2012 5:35:36 pm Milan Obuch wrote: > On Wed, 22 Feb 2012 09:57:55 -0500 > John Baldwin wrote: > > [ snip ] > > > > --- pucdata.c.orig 2012-02-21 16:47:33.000000000 +0100 > > > +++ pucdata.c.patched 2012-02-22 12:10:44.000000000 +0100 > > > @@ -696,6 +696,12 @@ > > > PUC_PORT_4S, 0x10, 0, 8, > > > }, > > > > > > + { 0x1415, 0x9505, 0xffff, 0, > > > + "Oxford Semiconductor OXuPCI952 UARTs (function 0)", > > > + DEFAULT_RCLK * 8, > > > + PUC_PORT_2S, 0x10, 4, 0, > > > + }, > > > + > > > { 0x1415, 0x950a, 0x131f, 0x2030, > > > "SIIG Cyber 2S PCIe", > > > DEFAULT_RCLK * 10, > > > @@ -708,11 +714,13 @@ > > > PUC_PORT_4S, 0x10, 0, 8, > > > }, > > > > > > +#if 0 > > > { 0x1415, 0x9511, 0xffff, 0, > > > "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function > > > 1)", DEFAULT_RCLK, > > > PUC_PORT_4S, 0x10, 0, 8, > > > }, > > > +#endif > > > > > > { 0x1415, 0x9521, 0xffff, 0, > > > "Oxford Semiconductor OX16PCI952 UARTs", > > > > > > pciconf -lv tells following about card functions: > > > > > > puc0@pci0:0:12:0: class=0x070006 card=0x00001415 chip=0x95051415 > > > rev=0x01 > > hdr=0x00 > > > vendor = 'Oxford Semiconductor Ltd' > > > device = 'OXuPCI952 (Dual 16C950 UART)' > > > class = simple comms > > > subclass = UART > > > none1@pci0:0:12:1: class=0x068000 card=0x00001415 chip=0x95111415 > > > rev=0x01 > > hdr=0x00 > > > vendor = 'Oxford Semiconductor Ltd' > > > device = 'OX16PCI954 (Quad 16950 UART) function 1 (8bit bus)' > > > class = bridge > > > > > > This patch works for me on both 10-CURRENT and 8.3-PRERELEASE. > > > > Hmm, ok. Unfortunately there are other devices that need the > > commented out entry. I've sent a followup to that original PR to see > > if that device has a subvendor device ID. > > > > Do you have some pointers to such devices? I am no real expert, but > there must be some difference... Just the PR referenced in the commit that added these lines: http://www.freebsd.org/cgi/query-pr.cgi?pr=65040 -- John Baldwin