Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 13:57:10 +0000 (GMT)
From:      Carlos A M dos Santos <casantos@cpmet.ufpel.tche.br>
To:        questions@freebsd.org
Subject:   disklabel: ioctl DIOCWLABEL: Operation not supported by device
Message-ID:  <Pine.BSF.4.21.0009131209270.4865-100000@gate.cpmet.ufpel.tche.br>

next in thread | raw e-mail | index | archive | help

Hello.

I'm trying to install FreeBSD in an AMD K6II-500 system with a PC-100
motherboard (atapci0: <SiS 5591 ATA33 controller>) and an old Quantum
LPS420 hard disk (1010 cylinders, 16 heads, 51 sectors per track,
operating in PIO mode 3, if it helps). During the installation process, I
got an error when sysinstall tried to format the disk and create
partitions. I inserted the fixit floppy disk and issued the following
commands:

	# dd if=/dev/zero of=/dev/rda1 count=2
	# disklabel -Brw ad0 auto

and got the message

	disklabel: ioctl DIOCWLABEL: Operation not supported by device

I even tried with an old FreeBSD 3.3 install floppy set and got the same
results. I'm sure the disk is not demaged because I could fill it with
zeros with

	# dd if=/dev/zero bs=/dev/wd0 bs=417792

Moving the same disk to another machine with:

	atapci0: <Intel PIIX3 ATA controller>

I could write a disk label without problems, but moving the disk back to
the first machine I could not even read the label!

Any help will be appreciated. Thanks in advance.
  
--
Carlos A. M. dos Santos

Federal University of Pelotas         Meteorological Research Center
Av. Ildefonso Simoes Lopes 2791       Pelotas, RS, Brasil, CEP 96060-290
WWW: http://www.cpmet.ufpel.tche.br   RENPAC (X.25): 153231641
Phone: +55 53 277-6767                FAX: +55 53 277-6722




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009131209270.4865-100000>