From owner-freebsd-hackers Mon Oct 19 08:56:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA18068 for freebsd-hackers-outgoing; Mon, 19 Oct 1998 08:56:56 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lab321.ru (anonymous1.omsk.net.ru [62.76.128.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA17999 for ; Mon, 19 Oct 1998 08:56:18 -0700 (PDT) (envelope-from kev@lab321.ru) Received: from lab321.ru (uucp@localhost) by lab321.ru (8.9.1a/8.9.1a) with UUCP id WAA14148; Mon, 19 Oct 1998 22:53:41 +0700 (OSS) Received: from localhost (kev@localhost) by hmansy.lab321.ru (8.8.8/8.8.5) with SMTP id VAA00417; Mon, 19 Oct 1998 21:45:51 +0600 (ESS) X-Authentication-Warning: hmansy.lab321.ru: kev owned process doing -bs Date: Mon, 19 Oct 1998 21:45:51 +0600 (ESS) From: Core Dumped at Khanty-Mansiysk To: Wilko Bulte cc: hackers@FreeBSD.ORG Subject: Re: Fujitsu MO 640 (M2513A) In-Reply-To: <199810181735.TAA01593@yedi.iaf.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: --- sd.c.orig Mon Oct 19 21:31:37 1998 +++ sd.c Mon Oct 19 21:34:53 1998 @@ -318,6 +318,11 @@ printf("sd%ld: Forcing sector size to %d\n", unit, SECSIZE); sd->params.secsiz = SECSIZE; } + /* 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. 10tx. -- Best wishes, Eugeny Kuzakov Laboratory 321 ( Omsk, Russia ) kev@lab321.ru ICQ#: 5885106 p.s. Sorry for my russian english. :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message