Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 1998 23:52:54 +0300
From:      Plamen Petkov <plamendp@techno-link.com>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   invalid 'end' of disk slice ?
Message-ID:  <35E32426.1373FE1F@techno-link.com>

next in thread | raw e-mail | index | archive | help
This is (a part) of my /var/log/messages (result of Boot: -v option):

...........
Aug 25 23:12:37 phome /kernel: ppc0 at 0x378 irq 7 on isa
Aug 25 23:12:37 phome /kernel: ppc0: Generic chipset (EPP/NIBBLE) in
NIBBLE mode
Aug 25 23:12:38 phome /kernel: ppi0: <generic parallel i/o> on ppbus 0
Aug 25 23:12:38 phome /kernel: nlpt0: <generic printer> on ppbus 0
Aug 25 23:12:38 phome /kernel: nlpt0: Interrupt-driven port
Aug 25 23:12:38 phome /kernel: vpo0: <Adaptec aic7110 scsi> on ppbus 0
Aug 25 23:12:38 phome /kernel: vpo0 waiting for scsi devices to settle
Aug 25 23:12:38 phome /kernel: (vpo0:6:0): "IOMEGA ZIP 100 J.03" type 0
removable SCSI 2
Aug 25 23:12:38 phome /kernel: sd0(vpo0:6:0): Direct-Access
===>  Aug 25 23:12:38 phome /kernel: sd0(vpo0:6:0): ILLEGAL REQUEST
asc:24,0 Invalid field in CDB
Aug 25 23:12:38 phome /kernel: sd0 could not mode sense (4). Using
ficticious geometry
Aug 25 23:12:38 phome /kernel: 96MB (196608 512 byte sectors)
Aug 25 23:12:38 phome /kernel: sd0(vpo0:6:0): with 96 cyls, 64 heads,
and an average 32 sectors/track
........

I have ZIP 100 parallel port drive; using ppbus-971125. BTW, works just
fine, mount-able, r/w, newfs, etc.
I realy can't understand this ILLEGAL REQUEST.
Oh, well... the next Q.

....somewhere at the end of /var/log/messages....
Aug 25 23:12:39 phome /kernel: wd1s1: type 0xa5, start 0, end = 6303023,
size 6303024
=======> Aug 25 23:12:39 phome /kernel: wd1s1: C/H/S end 781/79/63
(3941279) != end 6303023: invalid
Aug 25 23:12:39 phome /kernel: wd0s1: type 0x6, start 63, end = 2048255,
size 2048193 : OK
Aug 25 23:12:39 phome /kernel: wd0s2: type 0x5, start 2048256, end =
6297983, size 4249728 : OK
Aug 25 23:12:40 phome /kernel: wd0s5: type 0x6, start 2048319, end =
4096511, size 2048193 : OK
Aug 25 23:12:40 phome /kernel: wd0<extended>: type 0x5, start 4096512,
end = 6297983, size 2201472 : OK
Aug 25 23:12:40 phome /kernel: wd0s6: type 0x6, start 4096575, end =
6297983, size 2201409 : OK
...........

Why this  C/H/S end .... invalid ? And if invalid - HOW TO fix it ?
I mean not what kind of program to use, but realy HOW ? Disk geometry ?
I realy get messed with this :-(

fdisk OUTPUT

phome# fdisk wd1
******* Working on device /dev/rwd1 *******
parameters extracted from in-core disklabel are:
cylinders=1250 heads=80 sectors/track=63 (5040 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1250 heads=80 sectors/track=63 (5040 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 0, size 6303024 (3077 Meg), flag 80
        beg: cyl 0/ sector 1/ head 0;
        end: cyl 781/ sector 63/ head 79
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

The  wd0 is a DOS/W95 (~3 GB).  wd1 (~3 GB) is FreeBSD 2.2.6-R
dedicated.

Frankly, I remember it was ME  entering  781 cyl (/stand/sysinstall ->
Partition). But is was because otherwise FreeBSD /booteasy/ was not able
to boot. (booteasy recycling 'cause of diskgeometry mish-mach).

Wich is the right geometry? I think  781 cyl (actualy I KNOW it, BIOS
LBA mode etc..), but how to get this 1250 cyl out of my  way ?   I am
realy afraid to play with fdisk -u   :-))  And how the hell  it appears
to be 1250?  *THIS* number is not mine ;-)

I do not encounter ANY problem in my box. I typed -v at boot: prompt
almost impulsive, just trying, playng.. and you see... 'invalid ...
blah-blah'... :-(

A looong msg..sorry

--
! REMOVE THE *SPAM*
---
Plamen Petkov
plamendp*SPAM*@techno-link.com
ICQ: 2214327





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35E32426.1373FE1F>