LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-25-2002, 01:46 AM   #1
chaines
LQ Newbie
 
Registered: Jun 2002
Posts: 6

Rep: Reputation: 0
Help! Reboots when scanning SCSI channel


Hi all

Running Slackware 2.2.19 with raid 5 on a Megaraid 300 card, three Seagate 9Gb SCSI drives and one hot swap.

Problems started yesterday when the server spontaneously rebooted itself every 20-40 minutes. Had to use fsck a couple of times to get /dev/sd3a partition right after the sudden reboots, but managed to recover the server each time. I changed UPS, power cable etc in between outages to eliminate those. Eventually around 4pm the server ceased to complete booting at all.

Where I am at:

Linux starts booting, goes past LILO, picks up the IDE CDROM drive okay, and then:
.
.
.
scsi:1host
scsi0:scanning channel 1 for devices

At this point the server reboots itself.

I have tried:

- changing ram
- changed power cords, ups
- removing all unneccesary cards
- selecting an 2.2.16 kernel that was still on the server
- made a boot disk RAWRITE megaraid.s a:
- ran consistency check in Megaraid BIOS 100% okay
- all 3 drives are ONLine in megaraid bios condition optimal,

What concerns me is that the boot disk which I made from a Slackware 7 CD with 'RAWRITE megaraid.s a:' causes the server to reboot at exactly the same point.

Anyone got any ideas of where to go next?

Much appreciated - Cameron
 
Old 06-25-2002, 01:59 AM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Its sounds liek with the multiple kernels you've tried that it isn't a software issue.

Offhand, if you want to make uber-certain of the RAM: www.memtest86.org (coolest thing since microwave burritos) but I'm with you, doubt its that too...


SCSI voodoo sucks... but it sounds like the line isn't terminated and is causing the Raid card's BIOS to hiccup and reboot... Honestly, I had a kernel panic chase around the other day and finally decided to start from the ground up: changing my BIOS and SCSI card BIOS back to defaults and then went adding devices back in from there. Also, the worlds biggest longshot, but scsi cabling has been know to just flake out over time...

Luck,

Finegan
 
Old 06-25-2002, 03:45 AM   #3
chaines
LQ Newbie
 
Registered: Jun 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, also tried to boot from CD...

Thanks for the reply, I will try the cable tomorrow. Just seems odd that I can do checks on the drives from the megaraid setup, you would think that that means all is well with the drives.

With the boot disk, I read later that megaraid.s supports the 4XX Megaraid cards, but does not mention the Megaraid 300. I wonder if the incorrect kernel would cause a reboot.

I also tried booting off a bootable slackware 8 CD but it did not detect the Megaraid card - I tried bare.i and scsi.s, but did nto detect the card in either case. But it also did not reboot :-)

Tomorrow we load up some other drives, set up a stack and try and load an os on those drives to see if we can fault the megaraid, hotswap or cabling.

Cam
 
Old 06-25-2002, 04:01 AM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
For 8.0 there's a raid.i also that probably has the right support for your card. What I had assumed from that starting post was that this behavior was rather sudden and that the machine had been running under slack 8.0 for quite a while? If not, and maybe even just for the heck of it, the 2.2.19 and 2.2.16 kernels are pretty ancient, Slack8.1 comes with 2.4.18 and a lot of re-working has gone into the RAID sections of the kernel over th past year and a half that 2.2.19 has been out. That cable guess really is a long shot in the dark too, but isn't that just about the last piece of hardware left to sort through?

Also, never underestimate the power of the motherboard's BIOS to have doinked things up.

Cheers,

Finegan
 
Old 06-25-2002, 04:15 AM   #5
chaines
LQ Newbie
 
Registered: Jun 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, I will try raid.i

Thanks again, its always hard to post *all* the details, so I prolly left some important stuff out. The server has been running 18 months now on Slackware 7. The reason I booted off a Slackware 8 disk is because my 7 disk went AWOL, and v8 disk was all I had on hand!

Will try the raid.i option in the morning, thanks.

BTW, I only touched Linux for the first time in February, I inherited this server with the job! The server only does DHCP, Squid and SMTP, and runs Apache and PHP4 for my own use. I have managed to set up critical services on other servers in the interim, so we are at least operational and connected!
 
Old 06-25-2002, 07:29 PM   #6
chaines
LQ Newbie
 
Registered: Jun 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Duh, its 8, not 7

Sorry, it has been running 8, not 7 as I said earlier. Tried a rawrite raid.s a: boot disk again this morning, same behaviour, reboots when it scans the scsi channel
 
Old 06-26-2002, 12:17 AM   #7
chaines
LQ Newbie
 
Registered: Jun 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Okay, put a couple of other drives in, created a new stack, and tried to load Windows XP Pro as a test. Tried three times, and the PC rebooted spontaneously each time, at a different point, with anywhere from 30 minutes to 10 minutes of the install process left. Tomorrow we changed the Megaraid card. Phew.
 
Old 06-27-2002, 11:29 PM   #8
chaines
LQ Newbie
 
Registered: Jun 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Got a new Megaraid card... same problem. Where next? Took the server offsite to where we had access to more parts, and work just in is that it seems that it is the mainboard of all things! Can't beleive it, will beleive it when the new board arrives Monday. In the mean time I have learned a lot I guess about Linux, server hardware, and abotu FreeBSD too which is what I just set up the interim server with. Sigh.
 
Old 06-28-2002, 07:47 PM   #9
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
I hate chasing hardware problems too, when its such a mess as to what's up that you have no idea. A long time ago I started carrying around with me a copy of tomsrtbt, available at www.toms.net, a bootable linux distro on a floppy. A friend of mine with a lot more varied hardware to deal with (where Tom's limited nature just wouldn't cut it), went one step further and has a hard drive with a bloated no-X install of Slack 8 and the newest kernel on it to diagnose hardware issues. Just a thought, although it seems like a length to go to, it works really well.

Luck with the Mobo swap.

Cheers,

Finegan
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanning new scsi hardware with RH AS3 consty Linux - Hardware 0 11-16-2005 03:21 PM
scanning for new scsi devices hodgsonjk Linux - Hardware 2 05-13-2005 06:01 PM
Re-Scanning a SCSI BUS Crazy Joe Davol Linux - Hardware 6 08-15-2004 12:18 PM
Dual Channel SCSI Controller problem John Micheal Linux - Hardware 1 04-07-2004 06:56 AM
Mandrake 9.1 scanning for SCSI rufius Linux - Hardware 3 08-15-2003 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:14 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