From owner-freebsd-questions Wed Jul 31 9:35:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 934DE37B401 for ; Wed, 31 Jul 2002 09:35:09 -0700 (PDT) Received: from hotmail.com (f95.law9.hotmail.com [64.4.9.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57CBC43E31 for ; Wed, 31 Jul 2002 09:35:09 -0700 (PDT) (envelope-from soheil_h_y@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 31 Jul 2002 09:35:09 -0700 Received: from 217.218.72.159 by lw9fd.law9.hotmail.msn.com with HTTP; Wed, 31 Jul 2002 16:35:05 GMT X-Originating-IP: [217.218.72.159] From: "soheil h" To: freebsd-questions@FreeBSD.ORG Subject: MAKING KERNEL ( emergency ) Date: Wed, 31 Jul 2002 21:05:05 +0430 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 31 Jul 2002 16:35:09.0363 (UTC) FILETIME=[3C1B8030:01C238B0] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi list just for a test to make a new kernel i make a copy of GENERIC to MYKERN at /root ( same as what said in the handbook) i change the /usr/src/sys/netinet/ip.h and append to it 'struct tcphdr' from ./tcp.h and ranamed it 'struct tcpS' and define a 'struct tcpS * soheil' variable to see the tcphdr in the ip packets passing through me it doesn't have any error i usr method 2 in the handbook ( the new way kernel making : "make buildkernel KERNCONF=MYKERN) but it takes some error on scsi devices source code before the (at dev/aha , aic , aic7xxx , ...) never the errors are the same compilation of my netinet/ip_input.c after i edit the MYKERN remove all SCSI and RAID from options fortunately it compiles the netinet/ip_input.c without any error it pas the net ,netinet, nfs, and any network sources after that it takes an error on sys/pci the last output lines are these cc -c -O -pipe .... /usr/src/sys/pci/if_sis.c {standard input}: Assembler message: {standard input}:2438: Error: Unknown pseudo-op: '.p2alygn' *** Error code 1 Stop in ...... sometimes the error is like this: syntax error machine/atomic.h by the way never the errors are the same i want to know how these errors can happened? and please make me know if i have to use method one ( traditional kernel makeing) or any errors i may make thanx S