From owner-freebsd-bugs Tue Dec 21 12:20: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0347D1551F for ; Tue, 21 Dec 1999 12:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA52396; Tue, 21 Dec 1999 12:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 21 Dec 1999 12:20:01 -0800 (PST) Message-Id: <199912212020.MAA52396@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ian Dowse Subject: Re: kern/15611: EIDE Large Disk Support, Newfs problem, File system corruption,IBM-DPTA-353750 Reply-To: Ian Dowse Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/15611; it has been noted by GNATS. From: Ian Dowse To: rjbubon@bigi.com Cc: freebsd-gnats-submit@freebsd.org, iedowse@maths.tcd.ie Subject: Re: kern/15611: EIDE Large Disk Support, Newfs problem, File system corruption,IBM-DPTA-353750 Date: Tue, 21 Dec 1999 20:12:03 +0000 In message <19991221193630.A786B154E2@hub.freebsd.org>, rjbubon@bigi.com writes : >1) Using whole disk as one filesystems. Newfs exits with the following: > > 72548384, 72613920, 72679456, 72744992, 72810528, 72876064, 72941600, 7300713 >6, 73072672, 73138208, > 73203744, >write error: 0 >newfs: wtfs: Read-only file system Try turning on LBA mode by or'ing 0x1000 into the flags for wdc0. e.g. in your kernel config file use: controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xb0ffb0ff or alternatively in /boot/kernel.rc, add: flags wdc0 0xb0ffb0ff We have been using an IBM 36Gb disk like this (one filesystem covering the whole disk) without any problems. We're using 3.4, but I know that it worked at least as far back as 3.2. The dmesg output gives: wdc0 at 0x1f0-0x1f7 irq 14 flags 0xb0ffb0ff on isa ... wdc0: unit 1 (wd1): , LBA, DMA, 32-bit, multi-block-16 wd1: 35772MB (73261440 sectors), 4560 cyls, 255 heads, 63 S/T, 512 B/S Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message