From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 7 21:40:20 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5AC216A4CE for ; Fri, 7 Nov 2003 21:40:20 -0800 (PST) Received: from adsl-63-198-35-122.dsl.snfc21.pacbell.net (adsl-63-198-35-122.dsl.snfc21.pacbell.net [63.198.35.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22EFF43FA3 for ; Fri, 7 Nov 2003 21:40:20 -0800 (PST) (envelope-from j_guojun@lbl.gov) Received: from lbl.gov (localhost.pacbell.net [127.0.0.1]) ESMTP id hA85ebkd000602 for ; Fri, 7 Nov 2003 21:40:37 -0800 (PST) (envelope-from j_guojun@lbl.gov) Sender: jin@adsl-63-198-35-122.dsl.snfc21.pacbell.net Message-ID: <3FAC81D5.3AF5B8E2@lbl.gov> Date: Fri, 07 Nov 2003 21:40:37 -0800 From: "Jin Guojun [NCS]" X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.9-RELEASE i386) X-Accept-Language: zh, zh-CN, en-US, en MIME-Version: 1.0 To: hackers@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: 4.9 KLDload error X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 05:40:20 -0000 A KLD module ncs_time_ctl.ko compiled on both 4.8 and 4.9 hosts can be loaded by kldload on any 4.8 machine. But neither .ko files can be loaded on a 4.9 machine. The error is: 4.9 # kldload -v ./ncs_time_ctl.ko kldload: can't load ./ncs_time_ctl.ko: Exec format error kldload should give more error information on what function it failed to load. Is this possible a 4.9 bug in kldload? or does some KLD mechanism has been changed in 4.9-RELEASE? Is there any way to analyze what is wrong in the 4.9 LKD system? -- ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov --- Distributed Systems Department http://www.itg.lbl.gov/~jin M/S 50B-2239 Ph#:(510) 486-7531 Fax: 486-6363 Lawrence Berkeley National Laboratory, Berkeley, CA 94720