From: "Michael S. Zick" <mszick@morethan.org>
To: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Can't write to hard drives on a K200
Date: Tue, 26 Sep 2006 21:28:36 -0500 [thread overview]
Message-ID: <200609262128.36997.mszick@morethan.org> (raw)
In-Reply-To: <4519BA09.5070000@emenaker.com>
On Tue September 26 2006 18:38, Joe Emenaker wrote:
> Joel Soete wrote:
> >> 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
> Well, I did the entire drive with:
> dd if=/dev/zero of=/dev/sda bs=512 count=10 count=8388314
> and that worked fine.
>
> I also tried your
> dd if=/dev/zero of=/dev/sda bs=512k
> and that worked too (8192 records in, 8192 records out).
>
> So... dd works, (c)fdisk doesn't. I guess I could just get someone to
> partition a blank hd just the way I want and then send me their
> partition table (dd if=/dev/sdX bs=512 count=1 | gzip -9 | mail ....),
> then I could dd it on this end and I'd be all set, huh?
>
> Well, there's another option. I could plug the drives into a SCSI card
> on a PC... but I've tried that, and I can't get that to work. If someone
> wants to help me with *that*, I'd appreciate that as well, since I
> clearly don't understand all of the intricacies of SCSI, because I
> couldn't get the PC to recognize the drive(s). I *think* it had to do
> with the drives being (apparently) "single-ended"... but I don't know.
>
It is hard to say -
The drive's firmware reported a model number that indicates SE - but
it also reported an HP revision number for the drive firmware. Which,
as Dave pointed, means the model number reported may not be complete.
The driver reported that the drives where using differential - this
might stand a better chance of being correct.
The driver in pa-risc is a derivative of the {open,free,net}BSD
driver - it should negotiate with the attached drive(s) the proper
SCSI connection or tri-state the SCSI bus to prevent drive/adapter
damage.
Still with me?
differential comes in two flavors - High Voltage and Low Voltage
I am guessing from the chip's age that its version of differential is HVD.
If your pa-risc machine has connectors to external drives - they should
be labeled - now that label you can trust.
Another thing to consider - as I recall, the dmesg of your machine has
reported two SCSI controllers - the one not using the ncr53c driver has
only the CD-ROM on it - you might consider adding a drive
(of the proper type - check your dmesg) to the scsi chain with the
CD-ROM on it.
Another thing that might be worth trying - DD your live-cd image onto
one of the hard drives - if there are no read/write problems with DD,
it should work.
An cd-rom image on a hard drive? Yes, that does work for me - I have
an iso image DD copied to a 100Mb removable (zip) SCSI-2 drive. Linux
doesn't care about media type vs filesystem type.
Mike
> - Joe
>
_______________________________________________
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-27 2:28 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
2006-09-26 23:38 ` Joe Emenaker
2006-09-27 2:28 ` Michael S. Zick [this message]
[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=200609262128.36997.mszick@morethan.org \
--to=mszick@morethan.org \
--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