All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Gifford <maillist@jg555.com>
To: sparclinux@vger.kernel.org
Subject: More on the Sun Disk Label Issue
Date: Mon, 10 Apr 2006 22:48:26 +0000	[thread overview]
Message-ID: <443AE0BA.8070706@jg555.com> (raw)

My team has determined the cause of the issue is GCC 4.1, when 
util-linux and the kernel is compiled with GCC 4.1, the checksums go out 
of whack. We haven't haven't been able to isolate it down any further. 
Here's what we know so far.

If we compile a Kernel(2.6.12-2.6.15) or util-linux(2.12r, 2.13-pre7) with GCC 4.1 we get
this message during boot-up.
sda:Dev sda Sun disklabel: Csum bad, label corrupted
unknown partition table

If we run fdisk on the machine if booted via a netboot, and attempt to fix the issue. The
following error occurs.

"Device contains neither a valid DOS partition table, nor Sun, SGI or
OSF disklabel
Building a new sun disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable."

Then I configured the label and saved, then I got the following error
message.

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
SCSI device sda: 35378533 512-byte hdwr sectors (18114 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write through w/ FUA
sda:Dev sda Sun disklabel: Csum bad, label corrupted
unknown partition table
SCSI device sda: 35378533 512-byte hdwr sectors (18114 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write through w/ FUA
sda:Dev sda Sun disklabel: Csum bad, label corrupted
unknown partition table
Syncing disks.


I've tested using parted to create the label and the issues seems to 
work for the current session. Investigating this currently.

             reply	other threads:[~2006-04-10 22:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 22:48 Jim Gifford [this message]
2006-04-10 23:03 ` More on the Sun Disk Label Issue David S. Miller
2006-04-11  3:24 ` Jim Gifford
2006-04-11  6:03 ` David S. Miller
2006-04-11  6:12 ` Jim Gifford
2006-04-11  6:36 ` David S. Miller
2006-04-11  6:42 ` Jim Gifford
2006-04-11  6:52 ` David S. Miller
2006-04-15  0:47 ` Jim Gifford
2006-04-15  2:44 ` David S. Miller
2006-04-15  2:48 ` Jim Gifford
2006-04-15  2:56 ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=443AE0BA.8070706@jg555.com \
    --to=maillist@jg555.com \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.