On Sun, Mar 1, 2015 at 8:25 PM, Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> wrote: > On Tue, Feb 24, 2015 at 4:46 AM, Michal Šmucr <msmucr@xxxxxxxxx> wrote: >> Hello to all, >> >> I'm getting kernel panics, when I'm using kernel 3.18.7 with recently >> released rt1 and rt2 patches. Platform is x86_64. >> It happens only when root filesystem is at SDHC card. >> At 3.14.31-rt28 or recent plain vanilla kernels I haven't spotted this >> issue. >> >> Boot panic is possible to workaround by adding kernel parameter: >> "scsi_mod.scan=sync", but it still happens during initrd rebuild using >> update-initramfs at Debian Jessie. >> >> Log from panic is attached. > > Seems sdhci_irq is operating on a (non-raw) host->lock and you > are running that code in hard IRQ context, which will trigger the > alarm for operating on a sleeping lock while in atomic context. > (i.e code is not currently -rt friendly as-is). Aha, I see Sebastian already sent out a patch to move it out of hard IRQ context ; didn't immediately see it since it wasn't threaded to this discussion and so it looked unreplied to. P. -- > >> >> Thanks for any comment regarding issue or better way for bug-report, > > In the future, putting the log lines in line (vs attachment) makes > it easier to reply and comment - meaning more people will look > at the report. > > P. > -- > >> >> Michal -- 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