Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 10 Jan 2002 09:43:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 10 Jan 2002 09:43:04 -0500 Received: from [149.168.208.41] ([149.168.208.41]:62727 "EHLO ice.dpi.state.nc.us") by vger.kernel.org with ESMTP id ; Thu, 10 Jan 2002 09:43:00 -0500 Message-ID: <3C3DA9DC.D00C3C72@hcssystems.com> Date: Thu, 10 Jan 2002 09:49:00 -0500 From: Josh Wyatt X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.19-6.2.1 i686) X-Accept-Language: en MIME-Version: 1.0 To: "'Kernel-Mailingliste'" CC: josh.wyatt@hcssystems.com Subject: Softdog support on non-x86 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi All, I've researched this question and haven't been able to find a suitable answer. The answer may be "it's painless as-is, just go for it". It might also be "give up now while you still have your pants". I'd like to use the software watchdog timer, softdog.c, on the Sparc architecture, using kernel 2.2.17. I used this to build the module: cd /usr/src/linux-2.2.17/drivers/char gcc -c -DMODVERSIONS -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes softdog.c The module builds fine with some warnings. After copying it over to /lib/modules/2.2.17/misc/softdog.o and running depmod -a, I get modprobe: ELF file not for this architecture I haven't tried modprobe'ing the module yet, the above message frightens me. Is this driver safe for the sparc architecture? If not, what would it take? Or did I screw up somwehere along the way? Please CC: me as I am not on the list. Thanks in advance, Josh Wyatt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/