From owner-freebsd-current Sun Oct 24 11: 8:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from sand2.sentex.ca (sand2.sentex.ca [209.167.248.3]) by hub.freebsd.org (Postfix) with ESMTP id 1BD52150D4 for ; Sun, 24 Oct 1999 11:08:49 -0700 (PDT) (envelope-from mike@sentex.net) Received: from gravel (ospf-mdt.sentex.net [205.211.164.81]) by sand2.sentex.ca (8.8.8/8.8.8) with SMTP id OAA01726; Sun, 24 Oct 1999 14:08:37 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <4.1.19991024140341.04a188b0@granite.sentex.ca> X-Sender: mdtancsa@granite.sentex.ca X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sun, 24 Oct 1999 14:08:34 -0400 To: Mike Smith From: Mike Tancsa Subject: Re: Mylex 960 Cc: freebsd-current@freebsd.org In-Reply-To: <199910241712.KAA13058@dingo.cdrom.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 01:12 PM 10/24/99 , Mike Smith wrote: >> I tried the latest this morning, and still the same issue. >> Oct 24 09:52:08 slag2a /kernel: mlx0: I/O error - attempt to writt to write >> beyond end of drive >> Oct 24 09:52:08 slag2a /kernel: mlx0: I/O error - attempt to write beyond >> end of drive >> FreeBSD 4.0-CURRENT #0: Sun Oct 24 09:34:47 EDT 1999 >> >> How should I be fdisking and disklabling the drive ? Anything different >> than >> dd if=/dev/zero of=/dev/rmlxd0 bs=1k count=1 >> disklabel -Brw mlxd0 auto >> disklabel -e mlxd0 >> newfs /dev/rmlxd0e > >That's OK as long as you make the 'e' partition correctly. Try >newfs'ing the 'c' partition instead. It'd also help to see the boot >messages from the driver and the disklabel, since it looks like the >controller and the disklabel disagree about the size of the drive. Yup, here you go Oct 24 10:41:09 slag2a /kernel: mlx0: irq 15 at device 10.0 on pci0 Oct 24 10:41:09 slag2a /kernel: mlx0: Mylex DAC960P/PD, 1 channel, firmware 3.51, 4MB RAM Oct 24 10:41:09 slag2a /kernel: mlxd0: on mlx0 Oct 24 10:41:09 slag2a /kernel: mlxd0: 4040MB (8273920 sectors), RAID 5 (online) Oct 24 10:41:09 slag2a /kernel: amr0: irq 5 at device 13.0 on pci0 Oct 24 10:41:09 slag2a /kernel: amr0: firmware UF80 bios 1.61 16MB memory, chipset e1 Oct 24 10:41:09 slag2a /kernel: amrd0: on amr0 Oct 24 10:41:09 slag2a /kernel: amrd0: 4340MB (8888320 sectors), state 0x2 properties 0x31 Oct 24 10:41:09 slag2a /kernel: Creating DISK amrd0 slag2a# newfs /dev/rmlxd0c /dev/rmlxd0c: 8273920 sectors in 2020 cylinders of 1 tracks, 4096 sectors 4040.0MB in 127 cyl groups (16 c/g, 32.00MB/g, 7936 i/g) slag2a# disklabel mlxd0 # /dev/rmlxd0c: type: SCSI disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 128 sectors/cylinder: 4096 cylinders: 2020 sectors/unit: 8273920 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: 8273920 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2019) slag2a# fdisk mlxd0 ******* Working on device /dev/rmlxd0 ******* parameters extracted from in-core disklabel are: cylinders=2020 heads=128 sectors/track=32 (4096 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=2020 heads=128 sectors/track=32 (4096 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 0, size 50000 (24 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 0; end: cyl 1023/ sector 63/ head 255 Hmmm... This last bit looks odd. ---Mike ********************************************************************** Mike Tancsa, Network Admin * mike@sentex.net Sentex Communications Corp, * http://www.sentex.net/mike Cambridge, Ontario * 01.519.651.3400 Canada * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message