LinuxQuestions.org
Visit Jeremy's Blog.
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 05-01-2010, 10:58 AM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 552

Rep: Reputation: 45
kernel panic with second hard drive connected


I have a sata drive used for storing music and videos formated with jfs that is somehow corrupted. I can boot the pc with the drive connected using a Slax CD but can not boot using my Slackware install with kernel 2.6.33.2. I can only boot Slackware with this sata drive disconnected

I want to try and recover the music and videos on this hd with jfsrec.

Is there a way to force the boot process with the cabling connected to this drive?
 
Old 05-01-2010, 11:55 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Do it with a live cd like system rescue cd
 
Old 05-01-2010, 12:29 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,149

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Or see if your problem is that your fstab is asking for a file system check on the drive at the wrong physical address. If so, try changing it to use a UUID= or LABEL= form or just change the boot-time check options (at the end of the device description line) to "0 0". Perhaps a noauto in the options field might also help, although the "noauto" is ignored when a fsck is implied by nonzero check option values. (You should be able to do this using the Slack CD.)
 
Old 05-01-2010, 12:38 PM   #4
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 552

Original Poster
Rep: Reputation: 45
Thanks, I'm running photrec now from the old Slax CD. Photorec was not included on the CD so I compiled it in an empty partition on a another ide drive (hdb1) and so far one mp3 and one ISO recovered.

I had hoped to do this with slackware booted up so I could do something else while photrec did its stuff. Maybe I'll go read a book while I wait :^)
 
Old 05-01-2010, 01:03 PM   #5
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 552

Original Poster
Rep: Reputation: 45
Quote:
Or see if your problem is that your fstab is asking for a file system check on the drive at the wrong physical address
Thanks for the suggestion but the drive is not even listed in /etc/fstab. I could always mkdir somwhere and mount the dev later but the problem is that the system will not even get through a boot without a kernel panic. Something is seriously odd on that disk. I can not even run /sbin/lilo without errors when that sata drive is connected. I couldn't figure out what was wrong with my install of slack current 2 days ago. I was getting big EBDA errors and such at boot until I figured out it was this drive that was causing all the grief.

This is going to be a forever job as I'm only scannong for mp3's and ISO's this cycle since the bad drive is 230gb and the target recup drive is only 80 gb. Photorec says 6 hours plus and counting.
 
Old 05-02-2010, 12:49 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,149

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
OK, here's another suggestion: One of my (older) systems failed this morning with a "kernel panic" during the boot (which was the first time it had been booted in several months). After a while, I figured out that the drive cable had failed (from age, I guess, since it wasn't being used). I replaced it with a spare, and I'm now using that system to send this note (while downloading updates to make the system current).

Last edited by PTrenholme; 05-02-2010 at 12:50 PM.
 
  


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
Kernel Panic on USB Hard Drive FredGSanford Bluewhite64 7 09-24-2008 12:56 AM
Slackware 12 on USB hard drive Kernel Panic mpyusko Slackware - Installation 6 12-15-2007 11:40 AM
kernel panic when added new hard drive kaviazzz Suse/Novell 4 03-04-2007 06:02 PM
Kernel panic on install to blank hard drive dismas Slackware - Installation 1 09-30-2005 06:06 PM
New Hard Drive Causes Kernel Panic darkfire55 Linux - Hardware 4 11-28-2004 02:59 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration