Re: SCSI Hard Drive Issues Netra

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 bs=512

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@xxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux