From: Joel Soete <soete.joel@scarlet.be>
To: Joe Emenaker <joe@emenaker.com>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Can't write to hard drives on a K200
Date: Tue, 26 Sep 2006 12:13:10 +0000 [thread overview]
Message-ID: <45191956.4060800@scarlet.be> (raw)
In-Reply-To: <4518662C.6020103@emenaker.com>
Joe Emenaker wrote:
> I've booted a Gentoo install CD, which puts me in a root shell. The
> first step, I guess, is to partition the drives... but the thing won't
> let me.
>
> > When I try to write from "cfdisk /dev/sda", it gives me:
> > Wrting partition table to disk...
> > end_request: I/O error, dev sda, sector 0
> > Buffer I/O error on device sda, logical block 0
> > lost page write due to I/O error on sda
> > SCSI device sda: 8388314 512-byte hdwr sectors (4295 MB)
>
> Just in case it was a glitch in cfdisk, I tried writing from fdisk, as
> well:
>
> > Calling ioctl() to re-read partition table.
> > end_request: I/O error, dev sda, sector 0
> > Buffer I/O error on device sda, logical block 0
> > lost page write due to I/O error on sda
> > SCSI device sda: 8388314 512-byte hdwr sectors (4295 MB)
> > sda: Write Protect is off
> > SCSI device sda: drive cache: write through w/ FUA
> > SCSI device sda: 8388314 512-byte hdwr sectors (4295 MB)
> > sda: Write Protect is off
> > SCSI device sda: drive cache: write through w/ FUA
>
> Hrmmm.... so maybe the disks are read-only somehow, right? Well then how
> come I can dd like so:
>
> dd if=/dev/zero of=/dev/sda bs=512 count=10
>
> That works fine. So.... anybody have any idea what's going on?
>
If that doesn't matter to completely erase your disk try the same cmdl without count param, i.e.
dd if=/dev/zero of=/dev/sda bs=512
Or to be quicker:
dd if=/dev/zero of=/dev/sda bs=512k (e.g.)
(I don't remember where [c ]fdisk write its "partition table" but) my hypothesis is that could be out of first 5k?
btw, iirc you have severall other disks on this system, didn't you have the opportunity to switch this disk with another one
or, if possible, choose another disk (sdb, sdc, sdd?) to install your distro?
Hth,
Joel
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
next prev parent reply other threads:[~2006-09-26 12:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4518662C.6020103@emenaker.com>
2006-09-26 0:06 ` SPAM: [parisc-linux] Can't write to hard drives on a K200 Michael S. Zick
2006-09-26 12:13 ` Joel Soete [this message]
2006-09-26 23:38 ` Joe Emenaker
2006-09-27 2:28 ` Michael S. Zick
[not found] <J6B9MR$91CD8B56571F1770C341CEA677BE5E0B@scarlet.be>
[not found] ` <200609290939.19381.mszick@morethan.org>
[not found] ` <20060929145622.GM5017@parisc-linux.org>
2006-10-11 16:14 ` Michael S. Zick
2006-10-12 1:19 ` Grant Grundler
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=45191956.4060800@scarlet.be \
--to=soete.joel@scarlet.be \
--cc=joe@emenaker.com \
--cc=parisc-linux@lists.parisc-linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox