From owner-freebsd-hardware Mon Nov 11 14:15:40 1996 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA14673 for hardware-outgoing; Mon, 11 Nov 1996 14:15:40 -0800 (PST) Received: from lserver.infoworld.com (lserver.infoworld.com [192.216.48.4]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA14619 for ; Mon, 11 Nov 1996 14:14:56 -0800 (PST) From: BRETT_GLASS@infoworld.com Received: from ccgate.infoworld.com (ccgate.infoworld.com [192.216.49.101]) by lserver.infoworld.com (8.7.5/8.7.3/GNAC-GW-1.2) with SMTP id OAA15596; Mon, 11 Nov 1996 14:14:21 -0800 (PST) Received: from ccMail by ccgate.infoworld.com (SMTPLINK V2.11) id AA847750238; Mon, 11 Nov 96 14:52:47 PST Date: Mon, 11 Nov 96 14:52:47 PST Message-Id: <9610118477.AA847750238@ccgate.infoworld.com> To: Harlan Stenn , rschof@mccomm.nl, michaelv@MindBender.serv.net Cc: freebsd-hardware@freebsd.org Subject: Re: After changing to an AHA2940 I can't boot the kernel. Sender: owner-hardware@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Most likely problem: the sector mapping on one controller is different from that on the other. The BIOS always tries to boot from what it sees as the first sector on the disk -- the Master Boot Record (or MBR). That's cylinder 0, head 0, sector 0. But SCSI disks don't address storage in terms of those physical parameters; they use block numbers. So SCSI controllers for the PC platform map those parameters to a block number. The mapping doesn't necessarily start at the first block on the disk, though. In fact, many controllers store private information in a few reserved blocks at the beginning of the disk. If you switch controllers, the number of reserved blocks might be different, or their contents might look like gibberish to the new controller. The only answer: back up, change controllers, repartition, make new file systems, restore. Usually, the controller writes its private information (if any) when you rewrite the MBR -- that is, as you partition. --Brett