From owner-freebsd-hackers Mon Oct 19 10:17:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25545 for freebsd-hackers-outgoing; Mon, 19 Oct 1998 10:17:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA25540 for ; Mon, 19 Oct 1998 10:17:06 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id LAA23656; Mon, 19 Oct 1998 11:14:08 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199810191714.LAA23656@panzer.plutotech.com> Subject: Re: Fujitsu MO 640 (M2513A) In-Reply-To: from Core Dumped at Khanty-Mansiysk at "Oct 19, 98 09:45:51 pm" To: kev@lab321.ru (Core Dumped at Khanty-Mansiysk) Date: Mon, 19 Oct 1998 11:14:08 -0600 (MDT) Cc: wilko@yedi.iaf.nl, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Core Dumped at Khanty-Mansiysk wrote... > On Sun, 18 Oct 1998, Wilko Bulte wrote: > > > > I have troubles with this device. > > > I tryed to add the following lines to disktab: > > > fujitsumo640|FUJITSU M2513A 1500|\ > > > :ty=removable:dt=SCSI:se#2048:nc#310352:nt#1:ns#64:nc#606:\ > > > :pc#300000:oc#0:\ > > > :ta=4.2BSD:ba#8192:fa#1024: > > What errors does it give? Can't you use 'disklabel sd# auto'? > no reason to try disklabel w/o creation partition. > When I tryed "fdisk sd1", kernel says: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Oct 19 21:28:24 hmansy /kernel: sd1: Can't deal with 2048 bytes logical blocks > Oct 19 21:28:24 hmansy /kernel: Debugger("sd") called. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > I am no especialist in scsi details. > Now trying experiences.... > Now compiling kernel with this my patch: > [ ... ] > + /* Hack for Fujitsu MO640 */ > + if ( sd->params.secsiz == 2048 ){ > + printf("sd%ld: Fujitsu MO640 with his fucking 2048 sectors ?Forcing sector size to %d\n", unit, SECSIZE); > + sd->params.secsiz = SECSIZE; > + } > > if (sd->params.secsiz != SECSIZE) { /* XXX One day... */ > printf("sd%ld: Can't deal with %d bytes logical blocks\n", [ ... ] > Coments ? :) > I really need to work with MO640. I don't want install NT only because > this reason. > :( > > Any help appropriated. You may want to try installing 3.0-release. The 3.0 tree has better support for devices with sector sizes other than 512 bytes. At the very least, we'll be better able to help you get your drive working under 3.0 than under the 2.x branch. (I think, though, that 3.0 should work for you without modification.) Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message