Re: harddisk geometry problem.

2005-11-05 Thread Riccardo Giuntoli
On 11/5/05, Riccardo Giuntoli <[EMAIL PROTECTED]> wrote:
> On 11/5/05, Nick Holland <[EMAIL PROTECTED]> wrote:
> >...
> > btw: also include FULL output of disklabel...
>
> wd1 at pciide0 channel 0 drive 1: 
> wd1: 32-sector PIO, LBA, 9768MB, 20005650 sectors
> wd1(pciide0:0:1): using PIO mode 4, DMA mode 2
> dkcsum: wd1 matches BIOS drive 0x81
>
> Disk: wd1   geometry: 637/255/63 [10233405 Sectors]
> Offset: 0   Signature: 0xAA55
>  Starting   Ending   LBA Info:
>  #: idC   H  S -C   H  S [   start:  size   ]
> 
>  0: 000   0  0 -0   0  0 [   0:   0 ] unused
>  1: 000   0  0 -0   0  0 [   0:   0 ] unused
>  2: 000   0  0 -0   0  0 [   0:   0 ] unused
> *3: A60   1  1 -  636 254 63 [  63:10233342 ] OpenBSD
>
> # Inside MBR partition 3: type A6 start 63 size 10233342
> # /dev/rwd1c:
> type: ESDI
> disk: ad0s1
> label:
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 10157
> total sectors: 10239201
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0   # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
>
> 8 partitions:
> # sizeoffset  fstype [fsize bsize  cpg]
>   a:  1023913863  4.2BSD   2048 16384  328 # Cyl 0*- 
> 10157*
>   c:  10239201 0  unused  0 0  # Cyl 0 - 
> 10157*
>
> p.s: i didn't want to irritate noone...
> --
> Name: Riccardo Giuntoli
> Email: [EMAIL PROTECTED]
> Location: Genova, Italy
> 6BONE Handle: RG581-6BONE
> PGP Key: 0x67123739
> PGP Fingerprint: CE75 16B5 D855 842F AB54
>   FB5C DDC6 4640 6712 3739
> Key server: hkp://wwwkeys.eu.pgp.net
>


--
Name: Riccardo Giuntoli
Email: [EMAIL PROTECTED]
Homepage: http://www.luxoro.org/
Location: Genova, Italy
6BONE Handle: RG581-6BONE
PGP Key: 0x67123739
PGP Fingerprint: CE75 16B5 D855 842F AB54
  FB5C DDC6 4640 6712 3739
Key server: hkp://wwwkeys.eu.pgp.net



Re: harddisk geometry problem.

2005-11-04 Thread Nick Holland
Riccardo Giuntoli wrote:
> Hi there.
> Can someone tell me why during boot my wd1 hd is seen with the correct
> number of sectors and after fdisk sees only half of them?

Yeah.
Because Something's Wrong.

Since you apparently knew what I need to know to give you that
diagnosis, I'm sure you will be very content with it.

If you are NOT satisfied with that explanation, DON'T SNIP THE OUTPUT OF
DMESG AND OTHER PROGRAMS, DAMMIT.

You can not imagine how irritating it is to have someone ask for help
and then deliberately restrict the information they give.  If you knew
what information we needed to answer your question, you would have known
 the answer yourself.

btw: also include FULL output of disklabel...

Nick.



harddisk geometry problem.

2005-11-04 Thread Riccardo Giuntoli
Hi there.
Can someone tell me why during boot my wd1 hd is seen with the correct
number of sectors and after fdisk sees only half of them?

 [EMAIL PROTECTED]:/etc$ dmesg |grep wd1 |grep sectors && fdisk wd1 |grep 
Sectors
wd1: 32-sector PIO, LBA, 9768MB, 20005650 sectors
Disk: wd1   geometry: 637/255/63 [10233405 Sectors]
[EMAIL PROTECTED]:/etc$

Regards.
--
Name: Riccardo Giuntoli
Email: [EMAIL PROTECTED]
Location: Genova, Italy
6BONE Handle: RG581-6BONE
PGP Key: 0x67123739
PGP Fingerprint: CE75 16B5 D855 842F AB54
  FB5C DDC6 4640 6712 3739
Key server: hkp://wwwkeys.eu.pgp.net