From owner-freebsd-questions Tue Sep 5 10:52:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rz.uni-ulm.de (sirius-giga.rz.uni-ulm.de [134.60.241.36]) by hub.freebsd.org (Postfix) with ESMTP id 697DD37B43E for ; Tue, 5 Sep 2000 10:52:15 -0700 (PDT) Received: from lilith (lilith.wohnheim.uni-ulm.de [134.60.106.64]) by mail.rz.uni-ulm.de (8.9.3/8.9.3) with SMTP id TAA21560; Tue, 5 Sep 2000 19:52:06 +0200 (MEST) Message-ID: <009301c01762$02347500$4011a8c0@wohnheim.uniulm.de> From: "Siegbert Baude" To: "Kevin Oberman" Cc: "freebsd-questions@freebsd.org" References: <200009051440.e85EelU13423@ptavv.es.net> Subject: Re: Problems with slice setup in Fujitsu disk Date: Tue, 5 Sep 2000 19:52:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Kevin, > I am running LBA and the total number of sectors on the disk is not > divisible by 255. And, when I boot up in verbose mode, I see that > disk seems to have 63 sectors/track with 16 heads. > ad2: 13029MB (26684784 sectors), 26473 cyls, 16 heads, 63 S/T, 512 B/S This is another common Layout. In fact my dmesg show also 63s/16h, although my mapping for all partitions is 64s/255h. Donīt know, why the kernel believes in this mapping. fdisk shows the correct numbers. Note: The smaller values will result in less waste at the disk end (for me this is not only 400KB but some MB). THe disadvantage however is, that the 1024 cylinder boundary is already at 500MB! Important for the boot problem before 4.1 . > I suspect that it is all working as expected. It's too bad that even > in LBA mode, the some part of the system insists on behaving like I > have CHS addressing, as that wastes almost 400 KB. I donīt know why all partition tools (not only FBSDīs but also DOS, Linux, BeOS, OS/2) insist on this partition end on a cylinder boundary. I think it shouldnīt be necessary. Maybe some things are malformed and based on this behaviour. > In any case, I am starting to feel that this is all a red herring and > that my problem is with disk ad2, even though I can't find a problem > with it. But the error logged by the kernel, "dscheck(#ad/0x20010)", > makes me thing that the real problem is with disk ad2. I really would > like to be able to decode those messages. Did you grep the sources for this error? > Yes, I can move all of my data over to ad0 and try setting up the ad2 disk > from scratch. But I'd prefer to have a better idea of what's happening > before I take this sort of step. Youīre increased experience will prevent you to make the same error again :-) This was true for me at least. > I'm thinking of re-stating it in a shorter form. Maybe that will get > someone more familiar with the disk drivers attention. Good idea. > Other than my inability to use dd(1) to duplicate partitions, I have > had no problems, either. It's just that dd(1) seems to be far the best > tool for the job! What happens if you dd with the size of the smaller partition? Ciao Siegbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message