All of lore.kernel.org
 help / color / mirror / Atom feed
* More on the Sun Disk Label Issue
@ 2006-04-10 22:48 Jim Gifford
  2006-04-10 23:03 ` David S. Miller
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Jim Gifford @ 2006-04-10 22:48 UTC (permalink / raw)
  To: sparclinux

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.

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

end of thread, other threads:[~2006-04-15  2:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-10 22:48 More on the Sun Disk Label Issue Jim Gifford
2006-04-10 23:03 ` 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

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.