From owner-freebsd-hackers Mon Oct 19 09:08:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA19148 for freebsd-hackers-outgoing; Mon, 19 Oct 1998 09:08:45 -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 JAA19025 for ; Mon, 19 Oct 1998 09:07:53 -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 XAA16153; Mon, 19 Oct 1998 23:06:20 +0700 (OSS) Received: from localhost (kev@localhost) by hmansy.lab321.ru (8.8.8/8.8.5) with SMTP id VAA00471; Mon, 19 Oct 1998 21:51:47 +0600 (ESS) X-Authentication-Warning: hmansy.lab321.ru: kev owned process doing -bs Date: Mon, 19 Oct 1998 21:51:46 +0600 (ESS) From: Core Dumped at Khanty-Mansiysk To: Wilko Bulte cc: hackers@FreeBSD.ORG Subject: Re: Fujitsu MO 640 (M2513A) In-Reply-To: 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 Mon, 19 Oct 1998, Core Dumped at Khanty-Mansiysk wrote: Also I looked at /usr/src/sbin/i386/fdisk/fdisk.c. fdisk support up to 2048 sector size (MAX_SEC_SIZE). Why not try this patch... Not so good, that it production server. I want to be sure, that it will be work. > 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. :) > > -- Best wishes, Eugeny Kuzakov Laboratory 321 ( Omsk, Russia ) kev@lab321.ru ICQ#: 5885106 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message