[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "BUG: soft lockup" on A1200; was: Re: Updated installation images for Debian Ports 2019-04-20



Hi  Szymon,

On Tue, Jun 18, 2019 at 9:50 PM Szymon Bieganski <S.Bieganski@chello.nl> wrote:
> On 6/18/19 8:56 AM, Geert Uytterhoeven wrote:
> > Can you sprinkle some debug prints
> >     printk("%s:%u\n", __func__, __LINE__);
> >
> > in ide_probe_port() and probe_for_drive() (drivers/ide/ide-probe.c) and retry?
> >
> I've recompiled with addition of these extra lines, and found out that
> the re-enable of irq = 2 hangs (see attached log for details)
>
> ===================
> printk("%s:%u\n", __func__, __LINE__);
>         /*
>          * Use cached IRQ number. It might be (and is...) changed by probe
>          * code above
>          */
> printk("irqd = %u\n", irqd);    // printed last
>         if (irqd) {
>                 enable_irq(irqd);
> printk("enabled IRQ %u\n", irqd);
>         }
> printk("%s:%u\n", __func__, __LINE__);
>         return rc;
>
> ====================
>
>
> The interrupts present on my machine are:
>
> (initramfs) cd
> /proc
> (initramfs) cat interrupts
>            CPU0
>   2:          5      auto      CIAA, apne

Does it make a difference if you remove the PCMCIA Ethernet card?
PCMCIA and IDE share interrupts through Gayle.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


Reply to: