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 >