LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-29-2004, 08:31 AM   #1
cpuone
LQ Newbie
 
Registered: Jul 2004
Location: Oval London
Distribution: mandrake move. 9.1, red hat 9, suse
Posts: 2

Rep: Reputation: 0
Scsi Disk Detection In Mandrake!


Hey Guys,
It has been five straight days of pain!
Please Help!

My Hardware

Adaptec 19160 Ultra SCSI 160 ADAPTER
MSI Master k 7 D - L (ms 6501) red mobo
Seagate Cheeta st318406LC 18 Gig
Ati 9800 AIW
Maxtor 120 Gig IDE


Problem
Condition: SCSI ID of Seagate cheeta is ZERO

Mandrake 9.1 (drakx) fails to detect the cheeta during setup, It wonderfully loads the the adapter module but does not detect SCSI DISK only IDE DISK is detected.

However system boots straight into windoze xp on first partition of the same seagate cheeta disk!


Condition: SCSI ID of cheeta is set to 8

Mandrake setup detects SCSI cheeta and installs smoothly onto the disk, LiLo is configured and installed on MBR.
Restart machine to find that no bootable device detected, it's as though i unplugged my scsi! so bios boots IDE or whatever is available.
(I later took out all other media and left only SCSI) still not detected.


Condition: Revert to SCSI ID Zero

The computer now shows the beautiful blue LILO Screen.
LiLo starts up Windoze xp just fine!

HOWEVER

Mandrake appears to boot up, but hangs at the following lines:

CRC Value mismatch
Unable to read partition table
SCSI Disk error: host 0 Channel 0 ID 0 LUN 0 return code = 8
kernel Panic: no init Found!

My trouble begins

What I have done so far

I have updated the Adapter's bios to the latest.
I have the latest MSI BIOS as well
I tried the other SCSI DISK IDs but only zero is recognised by the computer!
I have re installed Mandrake 4 times with differing IDs only ID 8 is found by drakx!
I took scsi card to another machine. BUT I have the same results ONLY DISK ID ZERO IS RECOGNISED for booting any OS

My Conclusions

My computer for some reason will not load up any OS if the SCSI DISK is not set to ID Zero.
My adaper ID is defaulted at 7 so no conflicts!
The ID value of 8 was stored on some file in linux during installation so hell broke loose when i changed to SCSI ID zero!

The way i see it, my problem can be solved in 2 ways

1) Enable computer to see the disk when SCSI DISK ID is 8

2) Modify linux to search for SCSI DISK ID Zero during boot up

Perhaps there is a third option ? Please i am open to suggestions

I know not how to do 1 or 2 above


Thank You
 
Old 07-29-2004, 09:01 PM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
Some quick thoughts:

1) I would be concerned about why your disk is not detected when set to SCSI IDs 1-6. Is this only an issue with this version of Mandrake? Have you tried other distros with similar results?

2) You probably need to tweak your disk's boot sector when you changed the SCSI ID. If you can boot up with a live CD utility distro - my favorite is the Linux bootable business card (http://www.lnx-bbc.org/), then:
a)mount your disk partitions similar to the way they would be organized when you boot from the disk
b) cd to the root mount point
c) do a "chroot ."
d) invoke lilo (you are going to have to address any errors displayed before you have any hope of going further)
e) leave the chroot environment by invoking <CTRL><D>
f) reboot and cross your fingers
 
Old 08-06-2004, 10:54 AM   #3
cpuone
LQ Newbie
 
Registered: Jul 2004
Location: Oval London
Distribution: mandrake move. 9.1, red hat 9, suse
Posts: 2

Original Poster
Rep: Reputation: 0
Hello Thanx for your reply

Sorry I have taken this long, I have to use a web cafe!

I did as you said and below are the terminal outputs for Chroot, the fstab and lilo.conf files.

That was a very handy command I CHanged my ROOT I always wonderd if that was possible.

Anyway after running LILO I rebooted to find that lilo does not come up anymore just a series of 99 99 99 99 99 99 99 99 99s and then disk boot faliure!

Did I overlook smth?

Thanx

CHROOT


[root@localhost /]# chroot /scsiroot
[root@localhost /]# lilo
Added linux
Added linux-enterpris *
Added linux-smp
Added failsafe
Added windows
[root@localhost /]# exit
[root@localhost /]#



FStab


[root@localhost /]# cd /scsiroot
[root@localhost scsiroot]# cd etc/
[root@localhost etc]# cat fstab
/dev/sda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/sda7 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/sda1 /mnt/windows ntfs iocharset=iso8859-1,ro,umask=0 0 0
none /proc proc defaults 0 0
/dev/sda6 swap swap defaults 0 0


Lilo.conf


[root@localhost etc]# cat lilo.conf
boot=/dev/sda
map=/boot/map
default="linux-enterpris"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/sda5
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=off"
read-only
image=/boot/vmlinuz-enterprise
label="linux-enterpris"
root=/dev/sda5
initrd=/boot/initrd-enterprise.img
append="devfs=mount hdd=ide-scsi acpi=off"
read-only
image=/boot/vmlinuz-smp
label="linux-smp"
root=/dev/sda5
initrd=/boot/initrd-smp.img
append="devfs=mount hdd=ide-scsi acpi=off"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/sda5
initrd=/boot/initrd.img
append="devfs=nomount hdd=ide-scsi acpi=off failsafe"
read-only
other=/dev/sda1
label="windows"
table=/dev/sda

Last edited by cpuone; 08-06-2004 at 11:14 AM.
 
  


Reply



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
About SATA disk detection. beace Linux - Newbie 2 06-20-2006 06:36 AM
SCSI hard disk detection??? jjonstar Linux - Hardware 2 06-11-2005 02:23 AM
SCSI hard disk detection problem on Mandrake Linux 10.0 ludo980 Linux - Hardware 2 12-22-2004 03:36 AM
hard disk detection Xing Linux - Hardware 4 09-03-2003 09:44 AM
Mandrake 9.1 disk/scsi driver? Vyeperman Linux - Hardware 5 08-30-2003 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:07 AM.

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
Open Source Consulting | Domain Registration