Re: irq256 ????

2008-10-10 Thread Wojciech Puchar

irq22: pcm052848  3
irq23: uhci2 ehci1 1  0
cpu0: timer 33503897   1929


irq256: em042054  2


it's MSI interrupt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


irq256 ????

2008-10-09 Thread Zahemszky Gábor
Hi!

I've just found in my machine's vmstat -i output:

===
$ vmstat -i
interrupt  total   rate
irq1: atkbd0   15524  0
irq6: fdc014  0
irq12: psm0   279947 16
irq15: ata141835  2
irq16: uhci0 drm01407076 81
irq17: atapci0257828 14
irq19: fwohci0++  16  0
irq21: uhci1 ahc0+ 41712  2
irq22: pcm052848  3
irq23: uhci2 ehci1 1  0
cpu0: timer 33503897   1929


irq256: em042054  2

===^

cpu1: timer 33495040   1928
Total   69137792   3981
$ dmesg|fgrep em0
em0: Intel(R) PRO/1000 Network Connection 6.9.5 port 0x30c0-0x30df
mem 0x9030-0x9031,0x90324000-0x90324fff irq 20 at device 25.0 on pci0 
em0: Using MSI interrupt em0: [FILTER]
em0: Ethernet address: 00:19:d1:25:78:0a
$ uname -a
FreeBSD XXX 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct  2 21:35:45 CEST 
2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386 $ 


What's that? (world and kernel are in sync)

Thanks,

Gábor

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ
';set -- $Z;for i;{ [[ $i = ? ]]print $ibreak;[[ $i
= ??? ]]j=$ii=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ $j
= ??? ]]print -n ${j#??} j=;typeset +i i;};IFS=' 0123456789 ';set
-- $Z;for i;{ [[ $i = , ]]i=2;[[ $i = ?? ]]||typeset -l i;j=$j
$i;typeset +l i;};print $j
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: irq256 ????

2008-10-09 Thread Erik Trulsson
On Thu, Oct 09, 2008 at 10:51:36PM +0200, Zahemszky Gábor wrote:
 Hi!
 
 I've just found in my machine's vmstat -i output:
 
 ===
 $ vmstat -i
 interrupt  total   rate
 irq1: atkbd0   15524  0
 irq6: fdc014  0
 irq12: psm0   279947 16
 irq15: ata141835  2
 irq16: uhci0 drm01407076 81
 irq17: atapci0257828 14
 irq19: fwohci0++  16  0
 irq21: uhci1 ahc0+ 41712  2
 irq22: pcm052848  3
 irq23: uhci2 ehci1 1  0
 cpu0: timer 33503897   1929
 
 
 irq256: em042054  2
 
 ===^
 
 cpu1: timer 33495040   1928
 Total   69137792   3981
 $ dmesg|fgrep em0
 em0: Intel(R) PRO/1000 Network Connection 6.9.5 port 0x30c0-0x30df
 mem 0x9030-0x9031,0x90324000-0x90324fff irq 20 at device 25.0 on pci0 
 em0: Using MSI interrupt em0: [FILTER]
 em0: Ethernet address: 00:19:d1:25:78:0a
 $ uname -a
 FreeBSD XXX 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct  2 21:35:45 
 CEST 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386 $ 
 
 
 What's that? (world and kernel are in sync)

It is an MSI-style interrupt [MSI=Message Signaled Interrupt] (available on
PCI-E devices and a few PCI/PCI-X devices.) They get allocated fake
irq-numbers starting at 256.

I.e. it is a feature, and a bug or indication of any problem.





-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: irq256 ????

2008-10-09 Thread Josh Carroll
 I've just found in my machine's vmstat -i output:

 irq256: em042054  2

*snip*

 $ dmesg|fgrep em0
 em0: Intel(R) PRO/1000 Network Connection 6.9.5 port 0x30c0-0x30df
 mem 0x9030-0x9031,0x90324000-0x90324fff irq 20 at device 25.0 on pci0
 em0: Using MSI interrupt em0: [FILTER]
 em0: Ethernet address: 00:19:d1:25:78:0a
 $ uname -a
 FreeBSD XXX 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct  2 21:35:45 
 CEST 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386 $
 

 What's that? (world and kernel are in sync)

For what it's worth, I see the same thing on 7.1-PRERELEASE on a box
with an em0 (PCI card) and on-board PCI-E msk0:

% grep -E '(em0|msk0|mskc0)' /var/run/dmesg.boot
mskc0: Marvell Yukon 88E8056 Gigabit Ethernet port 0xc800-0xc8ff mem
0xfe9fc000-0xfe9f irq 17 at device 0.0 on pci2
msk0: Marvell Technology Group Ltd. Yukon EC Ultra Id 0xb4 Rev 0x03 on mskc0
msk0: Ethernet address: 00:1d:60:bc:cc:39
miibus0: MII bus on msk0
mskc0: [FILTER]
em0: Intel(R) PRO/1000 Network Connection 6.9.5 port 0xec00-0xec3f
mem 0xfebe-0xfebf,0xfebc-0xfebd irq 17 at device 1.0
on pci5
em0: [FILTER]
em0: Ethernet address: 00:0e:0c:6c:b9:16
em0: link state changed to UP

% vmstat -i
interrupt  total   rate
irq1: atkbd0   2  0
irq6: fdc011  0
irq17: em0 atapci1  53621626108
irq18: uhci2 ehci+ 1  0
irq19: fwohci0+   10  0
irq22: atapci2  29345269 59
irq23: uhci3 ehci1 1  0
cpu0: timer991289650   2000
irq256: mskc0   37714212 76
cpu1: timer991279642   2000
cpu2: timer991279641   2000
cpu3: timer991279641   2000
Total 4085809706   8243

And despite the weird interrupt, msk0 is operating just fine.

Regards,
Josh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: irq256 ????

2008-10-09 Thread mike
On Thu, 9 Oct 2008 23:49:54 +0200, in sentex.lists.freebsd.questions
you wrote:
 
 What's that? (world and kernel are in sync)

It is an MSI-style interrupt [MSI=Message Signaled Interrupt] (available on
PCI-E devices and a few PCI/PCI-X devices.) They get allocated fake
irq-numbers starting at 256.

I.e. it is a feature, and a bug or indication of any problem.

And you can see what devices are MSI capable with
pciconf -lvc

e.g

[EMAIL PROTECTED]:5:0:0: class=0x02 card=0x348d8086 chip=0x108c8086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82573E Intel Corporation 82573E Gigabit Ethernet
Controller (Copper)'
class  = network
subclass   = ethernet
cap 01[c8] = powerspec 2  supports D0 D3  current D0
cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
cap 10[e0] = PCI-Express 1 endpoint 

---Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]