From: Jim Gifford <maillist@jg555.com>
To: sparclinux@vger.kernel.org
Subject: Re: SCSI Hard Drive Issues Netra
Date: Thu, 30 Mar 2006 05:44:04 +0000 [thread overview]
Message-ID: <442B7024.9060904@jg555.com> (raw)
In-Reply-To: <442B3557.6090300@jg555.com>
Jim Gifford wrote:
> Jim Gifford wrote:
>> Since I tried working with 2.6.16 and 2.6.16.1, when I attempt to
>> mount my scsi disks, I get invalid disk label. Switch back to
>> 2.6.15.x, and the problem goes away. Any ideas suggestions, I'm stuck
>> at this point to figure out what's wrong. Any help will be appreciated.
>>
> OK, here's what I've been able to find out about the issue
> investigating it a lot further. Some reason it's saying my drives have
> an improper checksum(See error message below).
>
> I'm doing a build on my X1 to see if the issue also exists.
>
> root:~# fdisk /dev/sda
> Detected sun disklabel with wrong checksum.
> Probably you'll have to set all the values,
> e.g. heads, sectors, cylinders and partitions
> or force a fresh label (s command in main menu)
>
>
I took my troubleshooting a little more. Issues the following commands,
then rebooted.
I cleared out the old header and bootloader with
dd if=/dev/zero of=/dev/sda count=1 bsQ2
Then I ran fdisk, which gave me
"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.
--
----
Jim Gifford
maillist@jg555.com
prev parent reply other threads:[~2006-03-30 5:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-30 1:33 SCSI Hard Drive Issues Netra Jim Gifford
2006-03-30 5:25 ` Jim Gifford
2006-03-30 5:44 ` Jim Gifford [this message]
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=442B7024.9060904@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.