Re: Obscure errors in dmsg, system instability

From: Doug White (dwhite_at_gumbysoft.com)
Date: 09/25/04

  • Next message: Doug White: "Re: How can I mount 2nd Hard disk (IDE)"
    Date: Sat, 25 Sep 2004 13:29:24 -0700 (PDT)
    To: Eirik Øverby <ltning@anduin.net>
    
    

    On Thu, 23 Sep 2004, [ISO-8859-1] Eirik Øverby wrote:

    > On 23. Sep 2004, at 04:15, Doug White wrote:
    >
    > > Is something sharing an interrupt with that device?
    > >
    > > PCI bus errors are generally Bad News .. either some device or the
    > > mobo is inroducing errors.
    >
    > Well.. Yes, there is some interrupt sharing. Relevant parts of dmsg:
    >
    > [ltning@carnen] ~$ dmesg | grep "irq 2"
    > IOAPIC #0 intpin 19 -> irq 2
    > uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq
    > 2 at device 4.2 on pci0
    > ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xd000-0xd0ff mem
    > 0xe2000000-0xe2000fff irq 2 at device 6.0 on pci0
    > amr0: <LSILogic MegaRAID> mem 0xe3000000-0xe300ffff irq 2 at device 9.1
    > on pci0

    Apparently one of these devices doesn't like getting an interrupt when
    there's no data pending. It might be a FreeBSD driver bug, but being a
    3-way share it'll make it hard to untangle.

    > I don't like the fact that the LSI and the Adaptec are sharing IRQs,
    > given that the LSI is the main system drive controller (which is why I
    > don't use the Adaptec at all - and it cannot be disabled in BIOS I
    > think!)...
    >
    > I should perhaps try to reallocate some of the IRQs, but I don't really
    > have a clue how to do that, since I have no VGA in that box.. Ohwell, I
    > guess I just have to rip it open ;)

    Yah .. rearrange the cards in the slots and see what you can convince it
    to do.

    -- 
    Doug White                    |  FreeBSD: The Power to Serve
    dwhite@gumbysoft.com          |  www.FreeBSD.org
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Doug White: "Re: How can I mount 2nd Hard disk (IDE)"

    Relevant Pages

    • Re: PCI Interrupt
      ... devices and ACK the interrupt (I believe RTAI does that in reverse ... On PC hardware or in general, sharing edge-triggered interrupts can ... The fact that some ISA peripherials do respect the open-collector ... generations of the hardware treated the IRQ line very differently. ...
      (Linux-Kernel)
    • Re: [GIT PATCH] more Driver core patches for 2.6.19
      ... For the sharing case, some sort of softirq should be created. ... hard interrupt is generated and the irq handler is executed, ... the irq is delivered to userspace. ...
      (Linux-Kernel)
    • Re: IRQ Sharing
      ... Therefor it is not always feasible to get rid of interrupt sharing. ... The PCI specification explicitly states that PCI devices can share ...
      (Linux-Kernel)
    • Re: IRQ Sharing
      ... other than executing the interrupt handler of both devices. ... When it comes to sharing with other devices I have made the choice to ... > hardwiring them) between on-board devices and PCI slots is also common ... The physic IRQ line can be shared, the only thing i need is the virtual IRQ to ...
      (Linux-Kernel)