From owner-freebsd-questions Thu Sep 27 9: 8:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rush.telenordia.se (mail.telenordia.se [194.213.64.42]) by hub.freebsd.org (Postfix) with SMTP id CD70537B4CF for ; Thu, 27 Sep 2001 09:08:10 -0700 (PDT) Received: (qmail 17189 invoked from network); 27 Sep 2001 18:08:09 +0200 Received: from bb-62-5-36-29.bb.tninet.se (HELO there) (62.5.36.29) by mail.telenordia.se with SMTP; 27 Sep 2001 18:08:09 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Mark Rowlands To: "Bolmerg-Berliner, Ludger - Munich" , "'freebsd-questions@freebsd.org'" Subject: Re: boot problem with MYLEX raid controller Date: Thu, 27 Sep 2001 18:08:08 +0200 X-Mailer: KMail [version 1.3] References: <9CC75130B051D511B7F500034723859E211B2A@mxx0021.munich.munichre.com> In-Reply-To: <9CC75130B051D511B7F500034723859E211B2A@mxx0021.munich.munichre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010927160810.CD70537B4CF@hub.freebsd.org> 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 On Thursday 27 September 2001 4:39 pm, Bolmerg-Berliner, Ludger - Munich wrote: > Hi > > I have a machine with a MYLEX raid controller configured for Raid 1. I have > successfully installed FreeBSD 4.2 on that machine. When I try boot from > disk I just get a "operating system not found message" > > I can boot from CD, interrupt the boot process, set the current device to > the disk and than boot from disk. > > dmesg shows the following messages: > > ... > mlx0: port 0x2000-0x207f mem > 0xfc000000-0xfdffffff,0xfa410000-0xfa41007f irq 15 at device 8.0 on pci3 > mlx0: controller initialisation in progress... > mlx0: initialisation complete. > mlx0: DAC1164PVX, 3 channels, firmware 5.07-0-87, 32MB RAM > mlxd0: on mlx0 > mlxd0: 8679MB (17774592 sectors) RAID 1 (online) > mlxd1: on mlx0 > mlxd1: 17299MB (35428352 sectors) RAID 1 (online) > .... > Waiting 15 seconds for SCSI devices to settle > sa0 at ahc0 bus 0 target 4 lun 0 > sa0: Removable Sequential Access SCSI-2 device > sa0: 10.000MB/s transfers (10.000MHz, offset 32) > no devsw (majdev=0 bootdev=0xa0200000) > cd0 at ahc0 bus 0 target 5 lun 0 > cd0: Removable CD-ROM SCSI-2 device > cd0: 20.000MB/s transfers (20.000MHz, offset 16) > cd0: cd present [329626 x 2048 byte records] > Mounting root from ufs:/dev/mlxd0s1a > > What puzzles me is the fact that I cannot read the disklabel from the disk. > # disklabel -r mlxd0 > disklabel: bad pack magic number (label is damaged, or pack is > unlabeled) > > and reading the disklabel from memory shows strange entries: > # disklabel mlxd0 > # /dev/mlxd0: > type: SCSI > disk: amnesiac > label: fictitious > flags: > bytes/sector: 512 > sectors/track: 32 > tracks/cylinder: 128 > sectors/cylinder: 4096 > cylinders: 4339 > sectors/unit: 17774592 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # milliseconds > track-to-track seek: 0 # milliseconds > drivedata: 0 > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] c: > 17774592 0 unused 0 0 # (Cyl. 0 - 4339*) > > Any glue what could be wrong? there is a drive geometry option in the controller setup, one of the options is for drives > 8gb...that is the one you should NOT be using. I can't remember the other option... it is either < 2gb or <8gb but that is the one you want. -- Passionate hatred can give meaning and purpose to an empty life. -- Eric Hoffer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message