Date: Wed, 09 Dec 2009 15:50:02 +0100 From: Petr Cervenka References: <1260281665.792922.9257.nullmailer@domain.hid> <4B1E6B1B.5080306@domain.hid> In-Reply-To: <4B1E6B1B.5080306@domain.hid> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Message-Id: <1260370202.738468.27358.nullmailer@domain.hid> Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai-help] xenomai 2.4.10 - invalid opcode: 0000 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: xenomai-help Jan Kiszka wrote: > >Petr Cervenka wrote: >> Hello, >> I tried to upgrade linux kernel and xenomai and now I have problems wi= th >> freezing computer because of "invalid opcode: 0000". >> It happens without any real-time app. running. Most often when I run X >> with KDE and netbeans (almost 100% probability), but it can freeze als= o >> during the boot. >> It perhaps depends on system load (CPU, disk, IO, ...?). >> >> My configuration: >> SW: >> linux kernel 2.6.30.9, arch: x86_64 >> xenomai-2.4.10, smp >> >> also: >> rtnet-0.9.11 - no driver loaded >> peak-linux-driver-6.11 - no device connected >> >> HW: >> CPU: Intel Core2Duo E7400 >> chipset: Intel 3210 >> system partition is on CF (compact flash) mounted in CF-SATA converter= . >> >> Do you have any advices or tips? Thanks in advice. >> I can provide you by any needed information (.config of linux kernel, >> full systemlog, ...), just ask me. > >Yes, please. I assume your system is otherwise stable (without >Xenomai/I-pipe enabled). > >It would also be nice if you could retry over 2.6.31.x with latest ipipe >patch. And try to switch on CONFIG_IPIPE_DEBUG_TRACE_MCOUNT. That may >give a function back-trace on oops, maybe providing more pointers where >we come from (but it may also make the issue disappear). > >Jan > 1) When I disable Xenomai and I-pipe, the system is more or less stable. = At least I was not able to produce the error (any error). I also ran memtest during the night without any error. 2) It is repeatable also in 2.6.31.7. with adeos-ipipe-2.6.31.1-x86-2.4-0= 8.patch 3) Switching CONFIG_IPIPE_DEBUG_TRACE_MCOUNT on doesn't make the error to= dissapear. So maybe the catched logs could provide you more info. I realized that the error could be different, but there is almost every t= ime "__ipipe_handle_irq" call in the call stack Also a very strange thing happened: When I tried to build "stable" kernel= with disabled Xenomai and I-pipe, I was booted in the "unstable" kernel.= It corrupted the .config file in some time between "make xconfig" and fr= eeze during building. When I checked the .config file next time (because = it failed to continue the compile) big part from the beginning was missin= g and some other binary data were appended to the end. Petr Cervenka