Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2012 12:43:33 +0100
From:      Milan Obuch <freebsd-hardware@dino.sk>
To:        freebsd-hardware@freebsd.org
Subject:   Re: PER-C40C minipci card under FreeBSD
Message-ID:  <20120221124333.0e8a9763@atom.dino.sk>
In-Reply-To: <20120220220237.7474cc1e@atom.dino.sk>
References:  <20120220220237.7474cc1e@atom.dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Feb 2012 22:02:37 +0100
Milan Obuch <freebsd-hardware@dino.sk> 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: <simple comms, UART> at device 13.0 (no driver attached)
> puc0: <Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)> 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: <simple comms, UART> at device 14.0 (no driver attached)
puc0: <Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120221124333.0e8a9763>