Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* fdisk segfault on XP1000 (RH 7.1)
@ 2001-11-19 18:07 Helge Kreutzmann
  0 siblings, 0 replies; 4+ messages in thread
From: Helge Kreutzmann @ 2001-11-19 18:07 UTC (permalink / raw)
  To: AXP-Liste

Hello,
a colleque of mine has some problems installing RH 7.1 on our XP 1000
systems:

We have some serious problems running swriteboot after having
installed a RedHat 7.1 system on a Compaq XP 1000 workstation.

The installation itself was uneventful, we had neither problems to
partition or format the hard disk, nor to install all the packets.
So far so good.  But then we have to run swriteboot (because RedHat
doesn't), and this is where our problems begin.

swriteboot says, the disklabel is corrupt, and thus, refuses to run.
fdisks verify option segfaults, as does Compaq's JumpStart cd.
Repeating the whole installation procedure does not help.

The BSD disklabel looks like the following:
a:	2	3	boot
b:	4     ...	swap
c:	1     ...	unused	# whole disk
d:    ...

Except for c spanning the whole disk, no two partitions overlap.

As a last remark: We have an identical (wrt hardware) system
which is approx. 6 months newer and which we were able to install
without problems.  And although both systems have the same hard disk
model, the geometry recognized differs (1106/255/63, 8678/64/32;
I don't know if this is important to our problem, but you might
want to know).

Thanks in advance for your help.

Carsten Luckmann
-- 
Helge Kreutzmann, Dipl.-Phys.               Helge.Kreutzmann@itp.uni-hannover.de
  gpg signed mail preferred    gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/




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

* RE: fdisk segfault on XP1000 (RH 7.1)
@ 2001-11-19 18:43 Jemiolo, John
  2001-11-19 18:54 ` Chuck Klein
  2001-11-19 19:56 ` Michal Jaegermann
  0 siblings, 2 replies; 4+ messages in thread
From: Jemiolo, John @ 2001-11-19 18:43 UTC (permalink / raw)
  To: axp-list

you cannot span the entire disk with "c" Start it at the end of the
previous partition, this is NOT like unix where the "c" is the entire
disk, here it's the root filesystem so your effectivly writing over your
boot and swap partitions when the install installs packages in /

JJ 

-----Original Message-----
From: Helge Kreutzmann [mailto:kreutzm@itp.uni-hannover.de]
Sent: Monday, November 19, 2001 1:07 PM
To: AXP-Liste
Subject: fdisk segfault on XP1000 (RH 7.1)


Hello,
a colleque of mine has some problems installing RH 7.1 on our XP 1000
systems:

We have some serious problems running swriteboot after having
installed a RedHat 7.1 system on a Compaq XP 1000 workstation.

The installation itself was uneventful, we had neither problems to
partition or format the hard disk, nor to install all the packets.
So far so good.  But then we have to run swriteboot (because RedHat
doesn't), and this is where our problems begin.

swriteboot says, the disklabel is corrupt, and thus, refuses to run.
fdisks verify option segfaults, as does Compaq's JumpStart cd.
Repeating the whole installation procedure does not help.

The BSD disklabel looks like the following:
a:	2	3	boot
b:	4     ...	swap
c:	1     ...	unused	# whole disk
d:    ...

Except for c spanning the whole disk, no two partitions overlap.

As a last remark: We have an identical (wrt hardware) system
which is approx. 6 months newer and which we were able to install
without problems.  And although both systems have the same hard disk
model, the geometry recognized differs (1106/255/63, 8678/64/32;
I don't know if this is important to our problem, but you might
want to know).

Thanks in advance for your help.

Carsten Luckmann
-- 
Helge Kreutzmann, Dipl.-Phys.
Helge.Kreutzmann@itp.uni-hannover.de
  gpg signed mail preferred    gpg-key: finger
kreutzm@rigel.itp.uni-hannover.de
    64bit GNU powered
http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/



_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: fdisk segfault on XP1000 (RH 7.1)
  2001-11-19 18:43 fdisk segfault on XP1000 (RH 7.1) Jemiolo, John
@ 2001-11-19 18:54 ` Chuck Klein
  2001-11-19 19:56 ` Michal Jaegermann
  1 sibling, 0 replies; 4+ messages in thread
From: Chuck Klein @ 2001-11-19 18:54 UTC (permalink / raw)
  To: axp-list, Helge.Kreutzmann

Jemiolo, John wrote:

>you cannot span the entire disk with "c" Start it at the end of the
>previous partition, this is NOT like unix where the "c" is the entire
>disk, here it's the root filesystem so your effectivly writing over your
>boot and swap partitions when the install installs packages in /
>
>JJ 
>
>-----Original Message-----
>From: Helge Kreutzmann [mailto:kreutzm@itp.uni-hannover.de]
>Sent: Monday, November 19, 2001 1:07 PM
>To: AXP-Liste
>Subject: fdisk segfault on XP1000 (RH 7.1)
>
>
>Hello,
>a colleque of mine has some problems installing RH 7.1 on our XP 1000
>systems:
>
>We have some serious problems running swriteboot after having
>installed a RedHat 7.1 system on a Compaq XP 1000 workstation.
>
>The installation itself was uneventful, we had neither problems to
>partition or format the hard disk, nor to install all the packets.
>So far so good.  But then we have to run swriteboot (because RedHat
>doesn't), and this is where our problems begin.
>
>swriteboot says, the disklabel is corrupt, and thus, refuses to run.
>fdisks verify option segfaults, as does Compaq's JumpStart cd.
>Repeating the whole installation procedure does not help.
>
>The BSD disklabel looks like the following:
>a:	2	3	boot
>b:	4     ...	swap
>c:	1     ...	unused	# whole disk
>d:    ...
>
>Except for c spanning the whole disk, no two partitions overlap.
>
>As a last remark: We have an identical (wrt hardware) system
>which is approx. 6 months newer and which we were able to install
>without problems.  And although both systems have the same hard disk
>model, the geometry recognized differs (1106/255/63, 8678/64/32;
>I don't know if this is important to our problem, but you might
>want to know).
>
>Thanks in advance for your help.
>
>Carsten Luckmann
>
You can span the whole disk with c, you just have to remember its 
purpose is for dumps of a whole system disk. You will need to use 
"swriteboot -f3" to tell it to ignore the fact that the boot partition 
and the c partition overlap, per "man swriteboot". Also if you look at 
one of the console outputs at the end of the install you will see a 
message about swriteboot failing due to overlap.

-- 
Edward (Chuck) Klein, Jr.             | email: edward.c.klein@boeing.com
Boeing Phantom Works		      | voice: (425) 865-5629
P.O. Box 3707, M/S 7L-40              | fax: (425) 865-2965
Seattle, WA  98124-2207






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

* Re: fdisk segfault on XP1000 (RH 7.1)
  2001-11-19 18:43 fdisk segfault on XP1000 (RH 7.1) Jemiolo, John
  2001-11-19 18:54 ` Chuck Klein
@ 2001-11-19 19:56 ` Michal Jaegermann
  1 sibling, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 2001-11-19 19:56 UTC (permalink / raw)
  To: axp-list

On Mon, Nov 19, 2001 at 01:43:01PM -0500, Jemiolo, John wrote:
> you cannot span the entire disk with "c"

Yes, you can.  Linux does not care.  You do _not need_ that partition
with Linux but if it is there there is no harm done (well, you have only
seven partitions left for other purposes).  I have many disks in actual
use to show it.  You may _want_ that partition if the same disk will be
ever accessed by something else.


> Start it at the end of the
> previous partition, this is NOT like unix where the "c" is the entire
> disk, here it's the root filesystem so your effectivly writing over your
> boot and swap partitions when the install installs packages in /

Note that 'c' partition you from the original message was of a type
"unused" so the above does not apply.

A version of 'fdisk' as supplied by Red Hat has a nasty habit of dumping
a core if there are traces of an old "FAT style" partition table on a
disk and you attempt to write a new "BSD-like" one.  This was reported
quite a few times both to Red Hat and utils-linux maintainer, and
reports included proposed patches, but apparently without results (I did
not check for that problem the latest version utils-linux).  Maybe there
are also some other troubles of that sort with "leftovers"?  If this is
indeed the case you should be able to work around by overwriting first
two, say, sectors with nulls ('dd if=/dev/zero of=/dev/sda count=2' or
something like that) and writing a new disk label on a "clean slate".  I
never had troubles with any variant of 'fdisk' after such sweeping.

If you are trying to fix an existing labelling make careful notes about
partition boundaries.  You likely want to restore them and not to
reinstall everything from scratch. :-)

  Michal




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

end of thread, other threads:[~2001-11-19 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-19 18:43 fdisk segfault on XP1000 (RH 7.1) Jemiolo, John
2001-11-19 18:54 ` Chuck Klein
2001-11-19 19:56 ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
2001-11-19 18:07 Helge Kreutzmann

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