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: <Mylex version 3 RAID interface> 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: <Mylex System Drive> on mlx0
Oct 24 10:41:09 slag2a /kernel: mlxd0: 4040MB (8273920 sectors), RAID 5
(online)
Oct 24 10:41:09 slag2a /kernel: amr0: <AMI MegaRAID> 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: <MegaRAID logical drive> 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:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
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 * [EMAIL PROTECTED]
Sentex Communications Corp, * http://www.sentex.net/mike
Cambridge, Ontario * 01.519.651.3400
Canada *
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message