Re: SMP IPI issues on Loongson 3A based machines

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

 



Hi,

On Sun, Jul 27, 2014 at 12:20:11PM +0800, 陈华才 wrote:
> Hi,
> 
> Which version of gcc do you use, we found that kernel built by gcc<4.5 have the "irq not handled" issue.

It was with gcc-4.7.

> I haven't reproduce mysqld issue yet (I don't have enough time), but I think I can reproduce it next week.

Ok, thanks. If you want to reproduce it easily, here is a chroot to
trigger the problem: http://temp.aurel32.net/mysql-chroot.tar.xz
Unpack it, and run "chroot ./mysql-chroot ./root/bug.sh".

Note also that we have been able to trigger the problem even with
a kernel built with PREEMPT=y, by building llvm-toolchain-3.5. The
kernel messages on the console look the same, though we haven't
debugged the issue further yet.

Thanks,
Aurelien

> 
> ------------------ Original ------------------
> From: "Aurelien Jarno"<aurelien@xxxxxxxxxxx>
> Date: Sat, Jul 26, 2014 10:51 PM
> To: "陈华才"<chenhc@xxxxxxxxxx>;
> Cc: "linux-mips"<linux-mips@xxxxxxxxxxxxxx>;"Andreas Barth"<aba@xxxxxxxxx>;
> Subject: Re: SMP IPI issues on Loongson 3A based machines
> 
> 
> On Sat, Jul 26, 2014 at 02:05:28PM +0800, 陈华才 wrote:
> > Hi,
> > 
> > I'm debugging, please wait for some time.
> 
> Great, thanks! Does it means you have been able to reproduce the issue?
> If not I can provide you a copy of the chroot I used to reproduce the
> issue.
> 
> I also tried with the kernel from
> http://dev.lemote.com/cgit/linux-official.git/ but unfortunately 
> I haven't been able to get it working correctly with
> PREEMPT_VOLUNTARY=yes. I have tried with the kernel from the master
> branch and after merging the v3.15.6 tag. In one of the case I got the
> following backtrace on the serial console:
> 
> | [   75.128906] irq 17, desc: ffffffff80c911e0, depth: 1, count: 0, unhandled: 0
> | [   75.136718] ->handle_irq():  ffffffff80289a18, handle_bad_irq+0x0/0x2d0
> | [   75.144531] ->irq_data.chip(): ffffffff80cbe210, 0xffffffff80cbe210
> | [   75.144531] ->action():           (null)
> | [   75.144531]    IRQ_NOPROBE set
> | [   75.144531] unexpected IRQ # 17
> 
> Aurelien
> 
> -- 
> Aurelien Jarno                          GPG: 4096R/1DDD8C9B
> aurelien@xxxxxxxxxxx                 http://www.aurel32.net

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@xxxxxxxxxxx                 http://www.aurel32.net


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux