Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Re: Install disk woes
  2000-10-21  4:56 Install disk woes Rob B
@ 2000-10-21  4:00 ` JJ
  2000-10-23  0:28   ` Rob
  2000-10-23  4:00   ` Marble Head
  0 siblings, 2 replies; 6+ messages in thread
From: JJ @ 2000-10-21  4:00 UTC (permalink / raw)


After you get into fdisk and type "b" to get the "bsd disklabel" mode, there
is a command which will print out the entire label, including the drive
characteristics (cyl/head/sectors) type a "m" and look at the options, I
think it's  "s"  or a letter around the high end..

Sounds like you have a Cylinder wrap,  (writing past the last cylinder and
wrapping to the start of the disk)

If you can get a jumpstart CD (download & burn) It makes the setup a lot
easier..
But if not, Star your First partition on cyl 2,  and if its a old dist (5.2)
stop at lastcyl-1)

What's the dist/version??

JJ

 Rob B <loop@spamfree.techie.com> wrote in message
news:7h9I5.2535$SF5.60510@ozemail.com.au...
> Hi all,
>
> I'm installing Debian potato on a PC-64 (again ...)  I now have a SCSI
disk
> and a Tekram DC390U controller, so SRM is happy.  After partitioning with
a
> BSD disklabel, partway through installing the base system, this error
comes
> up and halts the machine:
>
> Ext2-fs error (device sd(8,5)): ext2_add_entry: bad entry in directory #2:
> rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0
>
> fdisk asks for a few parameters during partitioning, one of which is the
> cylinder count.  I can't seem to find this sort of info anywhere on IBM's
> website (the drive is an DORS-32160)
>
> Any thoughts?
>
> TIA
> Rob
>
>





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Install disk woes
@ 2000-10-21  4:56 Rob B
  2000-10-21  4:00 ` JJ
  0 siblings, 1 reply; 6+ messages in thread
From: Rob B @ 2000-10-21  4:56 UTC (permalink / raw)


Hi all,

I'm installing Debian potato on a PC-64 (again ...)  I now have a SCSI disk
and a Tekram DC390U controller, so SRM is happy.  After partitioning with a
BSD disklabel, partway through installing the base system, this error comes
up and halts the machine:

Ext2-fs error (device sd(8,5)): ext2_add_entry: bad entry in directory #2:
rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0

fdisk asks for a few parameters during partitioning, one of which is the
cylinder count.  I can't seem to find this sort of info anywhere on IBM's
website (the drive is an DORS-32160)

Any thoughts?

TIA
Rob




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Install disk woes
  2000-10-21  4:00 ` JJ
@ 2000-10-23  0:28   ` Rob
  2000-10-23  4:00   ` Marble Head
  1 sibling, 0 replies; 6+ messages in thread
From: Rob @ 2000-10-23  0:28 UTC (permalink / raw)


It's Debian 2.2 (potato).  I would use the Jumpstart CD but the CD-ROM is
an IDE model, which SRM on the Cabriolet can't see. 

fdisk reports that the last cylinder is 1017, so i'll try stopping before
that. 

Thanks
Rob

john.jemiolo@mindspring.com (JJ) wrote in
<8stne2$pr1$1@slb7.atl.mindspring.net>: 

>Sounds like you have a Cylinder wrap,  (writing past the last cylinder
>and wrapping to the start of the disk)
>
>If you can get a jumpstart CD (download & burn) It makes the setup a lot
>easier..
>But if not, Star your First partition on cyl 2,  and if its a old dist
>(5.2) stop at lastcyl-1)
>
>What's the dist/version??
>
>JJ
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Install disk woes
  2000-10-21  4:00 ` JJ
  2000-10-23  0:28   ` Rob
@ 2000-10-23  4:00   ` Marble Head
  2000-10-23  4:00     ` Michal Jaegermann
  1 sibling, 1 reply; 6+ messages in thread
From: Marble Head @ 2000-10-23  4:00 UTC (permalink / raw)


Also, be sure not to use the first cylinder.
No first or last!!!  It will screw you!!!

JJ wrote:

> After you get into fdisk and type "b" to get the "bsd disklabel" mode, there
> is a command which will print out the entire label, including the drive
> characteristics (cyl/head/sectors) type a "m" and look at the options, I
> think it's  "s"  or a letter around the high end..
>
> Sounds like you have a Cylinder wrap,  (writing past the last cylinder and
> wrapping to the start of the disk)
>
> If you can get a jumpstart CD (download & burn) It makes the setup a lot
> easier..
> But if not, Star your First partition on cyl 2,  and if its a old dist (5.2)
> stop at lastcyl-1)
>
> What's the dist/version??
>
> JJ
>
>  Rob B <loop@spamfree.techie.com> wrote in message
> news:7h9I5.2535$SF5.60510@ozemail.com.au...
> > Hi all,
> >
> > I'm installing Debian potato on a PC-64 (again ...)  I now have a SCSI
> disk
> > and a Tekram DC390U controller, so SRM is happy.  After partitioning with
> a
> > BSD disklabel, partway through installing the base system, this error
> comes
> > up and halts the machine:
> >
> > Ext2-fs error (device sd(8,5)): ext2_add_entry: bad entry in directory #2:
> > rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0
> >
> > fdisk asks for a few parameters during partitioning, one of which is the
> > cylinder count.  I can't seem to find this sort of info anywhere on IBM's
> > website (the drive is an DORS-32160)
> >
> > Any thoughts?
> >
> > TIA
> > Rob
> >
> >




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Install disk woes
  2000-10-23  4:00   ` Marble Head
@ 2000-10-23  4:00     ` Michal Jaegermann
  2000-10-24  4:00       ` Rob
  0 siblings, 1 reply; 6+ messages in thread
From: Michal Jaegermann @ 2000-10-23  4:00 UTC (permalink / raw)


Marble Head (Marble.Head@nospam.guacamole.com) wrote:
: Also, be sure not to use the first cylinder.
: No first or last!!!  It will screw you!!!

Sigh!  Posting such cathegorical recipies leads only to "cargo cult
computer usage" and/or "cargo cult programming".  (If you do not
know what "cargo cult" is seek in anthropology materials).

Older versions of fdisk had off-by-one bug and when used to write
BSD-type labels they were proposing an upper limit for the last
partition one higher then a reported few lines earlier a total number
of sectors on a disk.  If you would use the lower number instead
of a proposed "default" you would be fine; otherwise the last partition
would "wrap around" with nasty consequences if you would ever write
anything in this last sector.  Current versions of fdisk do not have
this bug therefore do not use obsolete variants of fdisk (or pay
a close attention to what is going on).

When booting via SRM you also need a space for a boot block IF
you are ever going to boot from that disk; otherwise you do not care.
Also if you have "DU-compatible" partitioning on that disk then you
have an "unused" partition 'c' which covers all sectors of disk.
As this is not a "data partition" the fact that some of its sectors
can be overlaid by a boot block is not doing any harm.  You indeed
do not want to do that with your data or swap or you will have
a "food fight" for a disk space on hands.

  Michal



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Install disk woes
  2000-10-23  4:00     ` Michal Jaegermann
@ 2000-10-24  4:00       ` Rob
  0 siblings, 0 replies; 6+ messages in thread
From: Rob @ 2000-10-24  4:00 UTC (permalink / raw)


On 24 Oct 2000, Michal Jaegermann spake thus in
<8t1uho$kqm$1@rover.ucs.ualberta.ca>: 

>Older versions of fdisk had off-by-one bug and when used to write
>BSD-type labels they were proposing an upper limit for the last
>partition one higher then a reported few lines earlier a total number
>of sectors on a disk.  If you would use the lower number instead
>of a proposed "default" you would be fine; otherwise the last partition
>would "wrap around" with nasty consequences if you would ever write
>anything in this last sector.  Current versions of fdisk do not have
>this bug therefore do not use obsolete variants of fdisk (or pay
>a close attention to what is going on).
>
>When booting via SRM you also need a space for a boot block IF
>you are ever going to boot from that disk; otherwise you do not care.
>Also if you have "DU-compatible" partitioning on that disk then you
>have an "unused" partition 'c' which covers all sectors of disk.
>As this is not a "data partition" the fact that some of its sectors
>can be overlaid by a boot block is not doing any harm.  You indeed
>do not want to do that with your data or swap or you will have
>a "food fight" for a disk space on hands.
>
>  Michal

Does Debian 2.2 come with an "olser version"?  How do I know if this disk-
wrap phenomenon is occurring?

Rob



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-10-24  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-21  4:56 Install disk woes Rob B
2000-10-21  4:00 ` JJ
2000-10-23  0:28   ` Rob
2000-10-23  4:00   ` Marble Head
2000-10-23  4:00     ` Michal Jaegermann
2000-10-24  4:00       ` Rob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox