From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philippe Gerum In-Reply-To: <20071013161211.GB24909@domain.hid> References: <470E8BFE.4070804@domain.hid> <1192179524.5149.23.camel@domain.hid> <470F3B03.1040501@domain.hid> <20071012110054.GA26325@domain.hid> <470FD0AC.6040700@domain.hid> <470FD795.9070008@domain.hid> <20071012215152.GA17187@domain.hid> <1192226314.6499.174.camel@domain.hid> <1192285734.8592.4.camel@domain.hid> <4710D953.1030604@domain.hid> <20071013161211.GB24909@domain.hid> Content-Type: text/plain Date: Sat, 13 Oct 2007 18:35:21 +0200 Message-Id: <1192293321.6804.4.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: Philippe Gerum Subject: Re: [Xenomai-core] [PATCH] fix hw-timer setup/cleanup for i386 Reply-To: rpm@xenomai.org List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stelian Pop Cc: Jan Kiszka , Xenomai-core@domain.hid On Sat, 2007-10-13 at 18:12 +0200, Stelian Pop wrote: > On Sat, Oct 13, 2007 at 04:42:27PM +0200, Jan Kiszka wrote: > > > Where do you get ENODEV? On nucleus startup? Please provide > > /proc/timer_list output of the working and non-working setups. > > It turns out that I had the Linux NMI watchdog enabled (nmi_watchdog=1 > on the command line) and this was causing the -ENODEV problems. Once > removed, I'm able to boot and successfully run all configurations: UP, > UP + APIC, UP + APIC + IO_APIC, SMP. And the latencies are back to normal. > The clock event layer turns off the APIC timer when the NMI watchdog is set to use the IO-APIC. Unfortunately, using nmi_watchdog=2 may just not work at all on broken hardware with recent kernels (like the one I have just in front of me...). > Maybe we should detect that the NMI watchdog is enabled and issue a > warning message, this would save others a few hours and many kernel > builds... There is work in progress on the NMI issue, but this message will likely appear until we've fixed this properly. > > This is with your timer cleanup patch, of course. > > > PS: For unknown reasons your mails don't make it to my web.de address, > > only to the list. Do you get any error messages? > > I did get one saying: > : host mx-ha02.web.de[217.72.192.188] refused to talk to me: > 554 Transaction failed. For explanation visit > http://freemail.web.de/reject/?ip=88.191.70.230 > > I didn't investigate yet what's happenning. > -- Philippe.