Re: 3.10.9-rt5 with Atmel AT91SAM9G25 SoC triggers "Trying to free already-free IRQ 1"

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

 



* Michael Langfinger | 2013-09-01 12:40:07 [+0200]:

>Hello Sami,
Hi Michael,

>I attached the output of the boot process (with your patch applied)
>below. The first one is from kernel 3.10.9-rt5 with
>CONFIG_PREEMPT_RT_FULL set, the second one is from kernel 3.10.9-rt5
>with CONFIG_PREEMPT_RTB.
>
>If you need any further information, please let me know!

The problem does not look -RT specific.
>
>Kind regards,
>Michael Langfinger
>
>
>Starting linux kernel ..., machid: 0x1035
>
>Uncompressing Linux... done, booting the kernel.
…
>NR_IRQS:16 nr_irqs:16 16
>------------[ cut here ]------------
>WARNING: at kernel/irq/manage.c:1268 __free_irq+0x90/0x1a8()
>Trying to free already-free IRQ 1

here someone calls free_irq() on IRQ1 but it was not requested.

>Modules linked in:
…
>------------[ cut here ]------------
>WARNING: at kernel/irq/manage.c:1268 __free_irq+0x90/0x1a8()
>Trying to free already-free IRQ 1
The same thing here
>Modules linked in:
…
>genirq: Flags mismatch irq 16. 00002080 (at91_rtc) vs. 000152a0
>(at91_tick)
The the RTC comes with IRF_ONESHOT but the tick does not want this.

>at91_rtc fffffeb0.rtc: IRQ 16 already in use.
>at91_rtc: probe of fffffeb0.rtc failed with error -16
…
>genirq: Flags mismatch irq 16. 00002080 (ttyS0) vs. 000152a0
>(at91_tick)
>atmel_serial: atmel_startup - Can't get irq
The same is true for your uart (ttyS0). Since it can't get the interrupt
it will unregister and your console will be soon gone.

>Waiting 1sec before mounting root device...
…
>genirq: Flags mismatch irq 16. 00002080 (ttyS0) vs. 000152a0
>(at91_tick)
>atmel_serial: atmel_startup - Can't get irq
>
>[ the last two lines are repeated several times, then the system
>hangs ]

I don't understand why uart tries over and over to request that
interrupt but it simply doesn't work.
I am a little confused why at91 is having everything (or more than one
device) is on irq 16. It should have only one device on each
interrupt since they have usually dedicated irq lines.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux