Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 1998 21:45:51 +0600 (ESS)
From:      Core Dumped at Khanty-Mansiysk <kev@lab321.ru>
To:        Wilko Bulte <wilko@yedi.iaf.nl>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Fujitsu MO 640 (M2513A)
Message-ID:  <Pine.BSF.3.96.981019212911.268B-100000@hmansy.lab321.ru>
In-Reply-To: <199810181735.TAA01593@yedi.iaf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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