From owner-freebsd-scsi Sun Oct 18 15:11:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA14125 for freebsd-scsi-outgoing; Sun, 18 Oct 1998 15:11:44 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA14118 for ; Sun, 18 Oct 1998 15:11:41 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id QAA16345; Sun, 18 Oct 1998 16:11:16 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199810182211.QAA16345@panzer.plutotech.com> Subject: Re: 2.2.7-RELEASE + CAM = mt.o problem? In-Reply-To: <362A59CD.797A20A2@airnet.net> from Kris Kirby at "Oct 18, 98 04:12:45 pm" To: kris@airnet.net (Kris Kirby) Date: Sun, 18 Oct 1998 16:11:16 -0600 (MDT) Cc: scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Kris Kirby wrote... > >From a (supposedly) clean source tree (Meaning I rm -r'd /usr/src and > restored from a backup) I applied the patches and it stopped on mt.o: > "Undefined symbol '_stringtocomp' referenced from text segment". Any > ideas? I do have a copy of the CVS-Repository. I've got an idea -- follow the directions! If you want to apply the patches, follow the instructions from the README at: ftp://ftp.FreeBSD.ORG/pub/FreeBSD/development/cam/README Here's a quote: ======================================================================== BACKUP YOUR OLD SRC TREE AND KERNEL!!!! cp /kernel /kernel.works Get the code: ftp://ftp.FreeBSD.org/pub/FreeBSD/cam/3.0CAM-19980716-SNAP.diffs.gz ftp://ftp.FreeBSD.org/pub/FreeBSD/cam/2.2CAM-19980716-SNAP.diffs.gz or ftp://ftp.kdm.org/pub/FreeBSD/cam/3.0CAM-19980716-SNAP.diffs.gz ftp://ftp.kdm.org/pub/FreeBSD/cam/2.2CAM-19980716-SNAP.diffs.gz On a FreeBSD-current/FreeBSD-stable system from ~0200 PDT on 19980716 # Apply the patches. All patches include "src" in them, so # assuming your src tree is in "/usr": ======================================================================== Notice that it says a source tree/system from ~0200PDT on July 16th. Like I said yesterday, the last 2.2 snapshot isn't guaranteed to apply cleanly to a 2.2.7 tree. It was made a day or two before 2.2.7, and many things were merged into the -stable tree from -current in the intervening time period. If you're going to apply the diffs to a source tree that isn't from the time that was specified in the README file, you've got to have at least enough knowledge of C to fix up any resulting problems. Another alternative is either downloading the release from: ftp://ftp.FreeBSD.ORG/pub/FreeBSD/development/cam/2.2CAM-19980716-SNAP or downloading the entire (correctly) patched source tree from the 'src' subdirectory of the release directory. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message