From owner-freebsd-questions Mon Nov 27 20:50:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f163.pav1.hotmail.com [64.4.31.163]) by hub.freebsd.org (Postfix) with ESMTP id 43CAA37B4E5 for ; Mon, 27 Nov 2000 20:50:12 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 27 Nov 2000 20:49:36 -0800 Received: from 61.129.200.41 by pv1fd.pav1.hotmail.msn.com with HTTP; Tue, 28 Nov 2000 04:49:36 GMT X-Originating-IP: [61.129.200.41] From: "bsdnewbie bsdnewbie" To: freebsd-questions@FreeBSD.org Subject: _compile .o into kernel? Date: Tue, 28 Nov 2000 12:49:36 +0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 28 Nov 2000 04:49:36.0690 (UTC) FILETIME=[9BE2B920:01C058F6] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, I have a scsi driver "fd.ko", I can now use "kldload ./fd.ko" to load it and the scsi card can work. However, I want to compile this "fd.ko" into kernel so it can be automatically loaded and it also make it possible for me to install my freebsd on the disks attched to the scsi card. So I modify the file "/sys/modules/Makefile" & "/sys/conf/files", and the kernel can successful recompiled. However, when the system reboot, it crashed. It seemed that the system try to load the "fd.ko" too early and the bsd scsi subsystem has not initated. My questions is: how to compile a scsi drive module (I have no source) into the kernel and make it functional? best regards, bsdnewbie Nov 28, 2k _____________________________________________________________________________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message