RE: Interrupt problem

2001-08-24 Thread John Baldwin


On 24-Aug-01 Ollivier Robert wrote:
> Hello,
> 
> John, is your patch (the one for sound interrupts) support to fix this kind
> of problem ?
> 
> interrupt   total   rate
> stray irq0  1  0
> stray irq6  1  0
> stray irq15 1  0
> ata1 irq15  4  0
> ahc0 irq9 739  0
> atkbd0 irq1 28757  0
> psm0 irq12 205535  2
> pcm0 irq558485147684<
> clk irq0  8549201 99
> rtc irq8 10943235127
> fxp0 irq9  575639  6
> Total78788260921
> 
> Sound is configured on this machine but not used at all at the moment so
> that many interrupts is a bit suspect...

That sounds more like a driver problem.  The timeout patch fixed a bug in
tsleep that could result in a hung process.

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Interrupt problem

2001-08-24 Thread Ollivier Robert

According to Ollivier Robert:
> Sound is configured on this machine but not used at all at the moment so
> that many interrupts is a bit suspect...

After discussing it on IRC/#bsdcode, it may be a problem with the way
newpcm deals with ISA sound cards...

Aug 17 22:21:50 caerdonn /boot/kernel/kernel: pcm0:  at port 0x220-0x22f
,0x388-0x38b,0x530-0x53f irq 5 drq 1,3 on isa0

It worked fine a few weeks ago...
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- [EMAIL PROTECTED]
FreeBSD keltia.freenix.fr 5.0-CURRENT #80: Sun Jun  4 22:44:19 CEST 2000

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Interrupt problem? with accton EN2242 MiniPCI 10/100BaseTX.

2001-06-29 Thread Edwin Culp

Quoting Mike Smith <[EMAIL PROTECTED]>:

| > I'm running current and get the following error in dmesg while trying to
| > enable the minipci.  This is a HP n5470 laptop.
| > 
| > dc0:  irq 11 at device 16.0 on pci0
| > dc0: failed to enable I/O ports!
| > device_probe_and_attach: dc0 attach returned 6
| > 
| > It is sharing irq 11 with the cardbus bridge.  As I understand this
| sharing
| > should work but I have my doubts.
| 
| This has nothing to do with interupts; as the error message *clearly* 
| states, the problem is I/O ports.  If you can change the "PnP OS" option 
| in your BIOS setup, you should turn it "off".  The problem is that your 
| BIOS isn't setting up the PCI device.

Thanks, Mike.  That is normally the first thing I do with a new laptop 
installation.  My surprise was that this BIOS almost doesn't let you
change anything and PnP isn't even mentioned.:-(

| 

| 
| If you can't turn the "PnP OS" option off, you're stuck until we finish 
| PCI resource assignment in 5.x.

Sounds like that is the only option that I have.

Thanks, Mike.

ed



---
   The illiterate of the 21st century will not be
 those who cannot read and write, 
   but those who cannot learn, unlearn and relearn. 
--Alvin Toffler

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Interrupt problem? with accton EN2242 MiniPCI 10/100BaseTX.

2001-06-29 Thread Mike Smith

> I'm running current and get the following error in dmesg while trying to
> enable the minipci.  This is a HP n5470 laptop.
> 
> dc0:  irq 11 at device 16.0 on pci0
> dc0: failed to enable I/O ports!
> device_probe_and_attach: dc0 attach returned 6
> 
> It is sharing irq 11 with the cardbus bridge.  As I understand this sharing
> should work but I have my doubts.

This has nothing to do with interupts; as the error message *clearly* 
states, the problem is I/O ports.  If you can change the "PnP OS" option 
in your BIOS setup, you should turn it "off".  The problem is that your 
BIOS isn't setting up the PCI device.

>  To double check I have tried to change the
> cardbus too use irq 10 by changing hints to irq 10 and by adding 
> 
> machdep.pccard.pcic_irq="10"
> 
> to loader.conf.  They don't make any chnge.

It's a CardBus bridge, so this won't work.

> So I haven't been able to confirm
> my suspisions.  Does anyone have a suggestion as to how I might be able to 
> test this or fix it (would be even better:)?

If you can't turn the "PnP OS" option off, you're stuck until we finish 
PCI resource assignment in 5.x.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
   V I C T O R Y   N O T   V E N G E A N C E



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message