Re: 2.6.3 - Badness in pci_find_subsys at drivers/pci/search.c:167

From: Greg KH (greg_at_kroah.com)
Date: 02/24/04

  • Next message: Rik van Riel: "Re: [PATCH] vm-fix-all_zones_ok (was Re: 2.6.3-mm3)"
    Date:	Tue, 24 Feb 2004 14:30:43 -0800
    To: marcel cotta <mc123@mail.ru>
    
    

    On Tue, Feb 24, 2004 at 05:04:55PM +0100, marcel cotta wrote:
    > i came across this while playing with hdparm
    >
    > Call Trace:
    > [<c0264128>] pci_find_subsys+0xe8/0xf0
    > [<c026415f>] pci_find_device+0x2f/0x40
    > [<c02e5d89>] ide_system_bus_speed+0x69/0x90
    > [<c02e528e>] ali15x3_tune_drive+0x1e/0x250

    Ugh, this is due to calling system_bus_clock() from within an interrupt.
    Is there any good reason to do this? Can't we just cache the bus speed
    in the local device structure if we really have to do this from within
    an interrupt?

    thanks,

    greg k-h
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Rik van Riel: "Re: [PATCH] vm-fix-all_zones_ok (was Re: 2.6.3-mm3)"

    Relevant Pages

    • Re: /proc/stats intr field looks odd, although /proc/interrupts seems correct
      ... > interrupt line. ... Ugh. ... > How can we expect anything to parse that line? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.9-rc2-mm4 e100 enable_irq unbalanced from
      ... > the ISR can't be called before calling request_irq, ... > the hardware is initialized before calling request_irq, ... The e100 in my laptop seems to emit a spurious interrupt on ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] 3c59x: read current link status from phy
      ... there is only one interrupt that for data transmission (both Tx ... The MII registers are not ... Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: is killing zombies possible w/o a reboot?
      ... An interrupt could be received at any time, ... in uninterruptible state because it is uninterruptible ... Processes must never get stuck in D, it's a kernel bug. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Baycon
      ... It is an invasive interrupt at *best*. ... got the wit to recognise that calling when wageearners are likely to be ... It is still a demand for attention, ... few people I can call without feeling stress about it, ...
      (rec.arts.sf.composition)