Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* IDE disk problems with RH7.2 on DPW500a
@ 2003-01-21  7:28 Tim Pugh
  2003-01-21  8:51 ` Kelledin
  2003-01-22  0:22 ` Magnus Lindström
  0 siblings, 2 replies; 4+ messages in thread
From: Tim Pugh @ 2003-01-21  7:28 UTC (permalink / raw)
  To: axp-list

*This message was transferred with a trial version of CommuniGate(tm) Pro*

I'm looking for experiences from people using RH7.2 and IDE drives on a 
Digital Personal Workstation 500a.  My own experiences have been mixed.

Under RH7.0 for alpha, I was running the OS on a scsi disk connected to 
QLogic board.  I needed more disk space for user files, so I installed 
an IDE drive which worked, and filesystem checks (e2fsck) worked as 
well.  There were some filesystem corruption at times, but the 
filesystem check always seemed to fix it.

Looking for a better filesystem and OS, I upgrade to RH7.2 alpha.  Here 
starts my problems.

After installing RH7.2 on a new SCSI disk (no problems) from an IDE 
CDROM (no problems), the system reports filesystem problems with my IDE 
disk drive.  After running a filesystem check, it was evident from the 
endless number of inode and other fixes to the drive, the system had 
just corrupted the IDE's filesystem beyond repair.  The filesystem check 
failed me in a major way!

Having a backup of the IDE data on an external SCSI disk, I reformatted 
the IDE disk.  (Well "reformat" isn't what I would call it.  Where is a 
format command for SCSI and IDE disks under linux?)  I used fdisk to 
remake the disk partitions and mkfs to install the filesystem.

I installed an ext3 filesystem on the IDE drive and did an extensive 
badblock check, writing patterns.  After the badblock check, the mkfs 
command aborted, reporting bad blocks at block 0, the super block 
location.  I tried it again, same message.  (I also installed a new IDE 
drive and cable, same problem.  It's not a disk or cable problem, it 
must be something else. )

Ok, maybe the problem is with the badblock check program.  I do it 
again, but only with the read-only badblock check, and the filesystem is 
built successfully.

I mount the drive, and now begin to transfer the backup from an external 
scsi disk to the IDE disk.  Shortly into the file transfer ( attempted 
transfer with gtar and cp), the kernel freezes/panics and I have to 
reset the machine.  Here's the message:

kernel:  Assertion failure in journal_bmap_Rb5b0f71f() at journal.c:602: 
"ret != 0"

After doing a hard reset to the machine and it comes up, restoring scsi 
ext3 filesystems, I run fsck on the IDE disk.  I see fsck trying to fix 
many inodes, file sizes and ...  fsck has again failed to bring sanity 
to the IDE filesystem.  The filesystem is beyond repair.  Start over 
again.  Partition drive, make filesystem, transfer files, boom...kernel 
freeze, same message.  Is there an ext3 filesystem problem?

As a test, I performed the same file transfers to another scsi disk with 
an ext3 filesystem in the system,  no problems.  The problems only occur 
to the IDE drive.  The IDE hardware and cable are fine.  The IDE CDROM 
does not seem to have problems, as there are no messages in the logs, 
and the file transfers from the CDROM are fine.

I believe the IDE controller chips are working because the IDE disk 
worked in RH7.0, but not in RH7.2.  The journal filesystem appears to 
work fine except when it's getting bad I/O transfer results.  I believe 
the problem is in the kernel driver for the IDE controller (maybe due to 
flaky hardware, but I'm not convinced.)  As a test,the IDE disk and 
CDROM were configured as master/slave on a single channel, then 
configured as single devices on seperate IDE channels.  Same problems 
occurred under both configurations.

Conclusion, don't use IDE disk drives with RH7.2 alpha on a DPW500a.
Would an PCI EIDE controller board fix the problem?  Maybe...would it 
use different IDE drivers?  Any experiences before I try it?

Any feedback, experiences, crystal balls would be appreciated.

Thanks in advance.

	- Tim Pugh -




^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: IDE disk problems with RH7.2 on DPW500a
@ 2003-01-21  9:07 Davies, Huw
  0 siblings, 0 replies; 4+ messages in thread
From: Davies, Huw @ 2003-01-21  9:07 UTC (permalink / raw)
  To: axp-list

> From: Kelledin [mailto:kelledin+AXP@skarpsey.dyndns.org]
 
> If that doesn't work, you could try setting the drive to transfer 
> in PIO mode.  This will be a lot slower but potentially more 
> stable.

My experience was that if I used anything other than PIO I got data
corruption - this was with RedHat 7.1 (from a rusty memory).

> Also, I've heard of people installing Promise UDMA133 controllers 
> in the PWS 500a; Linux seems to handle it just fine, although 
> booting from it is obviously a no-go.  If you decide to go the 
> new hardware route, the core IDE layer will be the same, but the 
> hardware-specific part of the IDE driver will be different--so 
> it may or may not step around the problem.  On the bright side, 
> if it all doesn't work out and you have to go back to 7.0, 
> you'll at least have a much faster IDE controller.

I upgraded to a Promise controller and saw much better performance
and no data corruption. At this stage I also had my IDE DVD drive
running off the Promise as well.

Eventually (for non-Linux related reasons) I purchased an Athlon
based system and moved everything to it (needed the PWS500a for
OpenVMS work).

Huw Davies
BUSINESS CRITICAL SERVICES
Compaq, part of the new HP
231 Normanby Road, South Melbourne, 3205

E-mail: Huw.Davies@hp.com

* Personal opinion only *

 




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

end of thread, other threads:[~2003-01-22  0:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-21  7:28 IDE disk problems with RH7.2 on DPW500a Tim Pugh
2003-01-21  8:51 ` Kelledin
2003-01-22  0:22 ` Magnus Lindström
  -- strict thread matches above, loose matches on Subject: below --
2003-01-21  9:07 Davies, Huw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox