dmesg troubleshooting

Predrag Punosevac punosevac72 at gmail.com
Wed Apr 19 20:10:15 PDT 2017


Matthew Dillon wrote:
 
> Your BIOS appears to be trying to emulate an ATA controller.  There is
> no AHCI attachment.  Go into setup and see if you can tell your BIOS to
> enable AHCI instead of ATA.
> 
> -Matt

Almost a year later even after adjusting BIOS settings (SATA controller
was trying to emulate ATA controller so I switched to AHCI) I kept
seeing 

intr 16 on cpu0 at 40001/40000 hz, livelocked limit engaged!
intr 16 on cpu0 at 11963/20000 hz, livelock removed

even on the 

dfly# uname -a DragonFly dfly.bagdala2.net 4.8-RELEASE DragonFly
v4.8.0.1.g86163-RELEASE #4: Tue Mar 28 07:56:27 EST 2017
root at dfly.bagdala2.net:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64

Then I stumbled recently on this post 

http://yrabbit.freeshell.org/en/2012/03/04/dragonfly-bsd-under-qemu.html

and sure enough 

echo 'hw.ioapic_enable=0' >> /boot/loader.conf.local reboot

made 

intr 16 on cpu0 at 40001/40000 hz, livelocked limit engaged!
intr 16 on cpu0 at 11963/20000 hz, livelock removed

disapear from dmesg. Unfortunatelly I don't know enough about Advanced
Programmable Interrupt Controller

https://en.wikipedia.org/wiki/Advanced_Programmable_Interrupt_Controller

so I am not sure if the above is just bandage for an actual bug which
looks like it should have being fixed 

http://lists.dragonflybsd.org/pipermail/bugs/2012-March/244444.html


Thanks,
Predrag





> 
> On Sat, Apr 16, 2016 at 4:10 PM, Predrag Punosevac
> <punosevac72 at gmail.com>
> wrote:
> 
> > Sepherosa Ziehau wrote:
> >
> > > On Tue, Apr 5, 2016 at 11:09 AM, Predrag Punosevac
> > > <punosevac72 at gmail.com> wrote:
> > > > Sepherosa Ziehau <sepherosa at gmail.com> wrote:
> > > >
> > > >> Please post the output of 'vmstat -iv'
> > > >
> > > > dfly# vmstat -iv
> > > > interrupt                                total       rate
> > > > irq4     0: sio0                             0          0
> > > > irq9     0: acpi0                            0          0
> > > > irq16    0: ehci0/atapci0/atapci1  61925216594      35565
> > >
> > >
> > > I'd suspect its EHCI, do you have anything uses USB?  If not,
> disable
> > > the EHCI from BIOS and see whether it works for you or not.
> >
> > I disabled completely USB from BIOS. The error is still there here is
> the
> > new output from vmstat
> >
> > intr 16 on cpu0 at 40001/40000 hz, livelocked limit engaged!
> > dfly# vmstat -iv
> > interrupt                                total       rate
> > irq4     0: sio0                             0          0
> > irq9     0: acpi0                            0          0
> > irq16    0: atapci0/atapci1            7508403      35085
> > irq18    0: re0                            265          1
> > irq192   0: swi_siopoll                      0          0
> > irq196   0: swi_vm                           0          0
> > irq1     1: atkbd0                           7          0
> > irq3     1: sio1                             0          0
> > irq195   1: swi_cambio                      38          0
> > irq197   1: swi_mp_taskq/swi_taskq        1738          8
> > Total                                  7510451      35095
> >
> >
> > Any idea? Looks like DF has a problem with HDD SATA controller.
> >
> > Predrag
> >
> >
> >


More information about the Users mailing list