LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-01-2003, 04:27 PM   #1
Conor Long
LQ Newbie
 
Registered: Apr 2003
Posts: 5

Rep: Reputation: 0
Red Hat 8.0 - unable to access SCCI drive


Hi

I'm new to Linux so hopefully this is a very basic question.

I'm trying to install Redhat 8.0 on a Compaq Professional Workstation. I have an IBM Ultra SCSI HDD.

The problem happens during the install when I try to partition the
drive. I get the following message:

"The partition table on device sda was unreadable. To create new partitions it must be initialized, causing the loss of ALL DATA on this drive." I click Yes and am not surprised by this message as the HDD is blank. (Note - the HDD works correctly with DOS).

Then I get "input/output error during read on /dev/sda".
If I try to retry I keep on getting the same message.
If I ignore the message I get "input/output error during write on /dev/sda".
If I press cancel I can see there are a lot of 112 messages on the screen (if that means anything).

I cannot get past this stage no matter what I try.

From my basic understanding it seems that the installation is having problems reading and writing to the HDD. Any ideas?

Any help would be greatly appreciated.

Cheers
Conor
 
Old 04-01-2003, 04:34 PM   #2
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
the hard disk is bad or you're using incompatible scsi drivers
 
Old 04-02-2003, 03:33 AM   #3
Conor Long
LQ Newbie
 
Registered: Apr 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Pretty sure that the HDD and drivers are ok. To verfiy this I fromatted the drive in DOS and was able to create and delete directories. I don't think that I would have been able to do this if I had problems with the drive or drivers.

To confirm this I could try installing windoze but would really prefer to use Linux.
 
Old 04-02-2003, 01:20 PM   #4
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
what do dos drivers have to do with Linux???
 
Old 04-02-2003, 05:12 PM   #5
Conor Long
LQ Newbie
 
Registered: Apr 2003
Posts: 5

Original Poster
Rep: Reputation: 0
as I mentioned I am new to Linux. not really sure what to do. is there somewhere that I can read up on scsi drivers for Linux?

thanks
 
Old 04-02-2003, 06:07 PM   #6
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
The only thing I could suggest is the kernel documentation. RedHat should have a kernel-doc package that describes them.

You'll need to figure out which scsi controller you're using first and which driver you're using

lsmod will show you currently loaded modules.
lspci will show you all pci devices

With each of those one or more lines may have to do with scsi. Using that information you should be able to read through the kernel docs to find the appropriate driver.
 
Old 04-03-2003, 12:47 AM   #7
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 458

Rep: Reputation: 42
Two possible suggestions based on the limited information given.

1) Try the following: "dd if=/dev/zero bs=512 count=1 of=/dev/sda" . I know I sometimes get old AIX disks and linux cannot read or process their labels easily which requires wiping out existing disk info. Perhaps there is for some reason some incompatible information written on the disk. This may help, the fact that you have written a dos (vfat?) filesystem on it and your system does not pick this up indicates that this may belp.

2) Try sformat by Jörg Schilling. Available here: ftp://ftp.berlios.de/pub/sformat It is pretty good as diagnosing and fixed SCSI harddrive problems.

Other than that I am at a loss. I have IBM ultra SCSI disks on a couple of different adapter types, including an Adaptec AHA-2940 (or the narrow variety so it is old). Please post the type of controller and appropriate lines from bootup sequence for controller and drive (try output from dmesg or appropriate files in /var/log. Any information on the kernel/modules etc. as previously asked will also be helpful. Do you have any other SCSI devices on this controller besides this harddrive?
 
Old 04-04-2003, 04:20 AM   #8
Conor Long
LQ Newbie
 
Registered: Apr 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry - looks like I didn't explain myself clearly enough. I have a pc that atm just contains dos. I do not have an OS running on it. When I try to install Red Hat it fails due to the error msg indicating that it cannot read/write to the SCSI drive. Therefore I cannot run any Linux commands on this PC because I can't install Linux.

The following information is displayed when I boot up the PC - "SCSI Device Detected - System Board, SCSI ID 1:IBM DDYS-T18350M"

I am pretty sure that the HHD is the only device I have on the controller.
 
Old 04-04-2003, 06:25 AM   #9
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
Seems that your SCSI hard disk is not supported by the default RHat install kernel.
Inside your RHat8 CD1, you'll find a Readme under 'images' folder:

<<The files in this directory are raw disk images. Some are boot disks for booting the Red Hat Linux installation program. Others are driver disks to support loading the installation program from less common hardware. Follow the instructions in the Red Hat Linux Installation Guide, Chapter 2, section "Making Installation Diskettes" to create the disks.
The following driver disks are available:
drvblock.img - Supplemental Block Device Drivers>>

Seems like you need to make a pair of boot disks for the installation to find your disk.
 
Old 04-04-2003, 08:42 AM   #10
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 458

Rep: Reputation: 42
Yes, get a boot disk, either from redhat or toms http://www.toms.net/rb/. See if you can get the warm and fuzzy root prompt and then if you can detect/access your SCSI hardware. There should not be any problem with the SCSI disk, it would be handled by the SCSI board/controller once it has a proper driver. Do you have any idea what type of controller you have? The best your posts indicate is that it is perhaps an integrated SCSI on the System board and is on a Compaq Professional Workstation. Perhaps I could find the specs on the net for this box if they are consistent, but it would be easier if you could figure this out from your documentation or system probing.
 
Old 04-07-2003, 05:11 AM   #11
Conor Long
LQ Newbie
 
Registered: Apr 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Here's an update:

The PC I amusing is a Compaq Professional Workstation 5100. For details see http://h18000.www1.hp.com/support/te...kstation_5100/

The HDD I am using is an IBM Ultrastar 36LZX.

I was able to create a boot disk using boot.img. This enables me to boot from the CDROM. SInce I already could boot from my CDROM I got the same error message as before.

I then created a a disk using drvblock.img. I wasn't really sure how to use this disk - I tried using it as a boot disk but kept getting the message "602-Diskette Boot Record Error". Perhaps I am doing something incorrect?

What are my next steps:
1. Use the utilities on http://www.toms.net/rb/
2. I have a copy of Mandrake 9.0. I think I will try installign that and see how I get on.
3. Maybe use Redhat 9.0 and hope my problem has gone away (unlikely I think)
4. Install windoze to get more info on the SCSI drive??

I'll update the thread when I get more info.

As always any help greatly appreciated.
 
Old 04-07-2003, 10:34 AM   #12
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 458

Rep: Reputation: 42
I have a feeling that the basic problem may be an incompatibility between the Compaq machine and linux (and/or multi-boot systems). I did a quick google on the Compaq Professional Workstation 5100 and found the following document: http://www.pumpkininc.com/content/doc/guide/ag-6.pdf .

An excerpt: "It appears impossible to have the 5011's onboard SCSI controller coexist with an ultra ATA controller when bootable drives are connected to the later." I am presuming you have windows on the IDE drive.

I would copy more but this document has been recklessly written as copy prohibited -- the first such monster I have run across.

There is some interesting information on the bios and boot partition which is apparently VERY nonstandard. Get Toms http://www.toms.net/rb/ as I mentioned before. If it boots, it can be the first start, as it is a complete (if small) linux system. Then see if fdisk /dev/sda works or if it recognizes the harddrive at all. If you can format that drive, you could probably manually install a system there and boot from floppy. Hey, having lilo on a floppy is not so bad and certainly saves corrupting your harddrive partition tables.

Anyway, I would say your drive is probably fine, but your controller is somewhat hosed by the manufacturer. Just my two cents.
 
Old 05-26-2003, 11:09 AM   #13
edamons
LQ Newbie
 
Registered: May 2003
Posts: 1

Rep: Reputation: 0
Hi
Iam having a simular problem.
My motherboard is a P2B-DS and I want to install redhat 8.0 on a
18 gig scsi harddrive. the motherboard has a onboard scsi card.
what does happen during the formating of the partitions it hangs

Please help?
 
Old 07-02-2003, 05:19 PM   #14
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
Lads I suggest that you check out this software, it is diagnostic software for compaq pro 5100 ws. Full instructions at this URL.

http://h18007.www1.hp.com/support/fi...nload/722.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to edit grub in red hat randrake Linux - Enterprise 1 05-14-2004 02:28 AM
Unable to start Red Hat Linux 9 ffilc7373 Linux - Newbie 2 02-10-2004 01:51 PM
Unable to boot up Red Hat 7.1 0r 7.2 biill robinson Red Hat 1 09-02-2003 05:22 PM
Red Hat 9 - unable to login i003783 Linux - Software 14 08-10-2003 12:44 PM
Red Hat 7 install on hard drive using ULTRA100 drive fbwr75215 Linux - Software 4 04-15-2001 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration