LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel Panic: could not find kernel image (https://www.linuxquestions.org/questions/slackware-14/kernel-panic-could-not-find-kernel-image-4175528263/)

Ztcoracat 12-14-2014 04:11 PM

Kernel Panic: could not find kernel image
 
Hi:

My 64-bit AMD desktop is in kernel panic mode.

I tried using the Live Slackware DVD and at the prompt I typed:
mount /dev/sda1 /mnt. The konsole than returned: Could not find kernel image. So I tried typing huge.s to see if it would boot the kernel.

Do I have to complete a fresh installation of Slackware?

The screen went to black and than displayed this message:

number22 12-14-2014 04:49 PM

mismatch kernel and glibc or missing file system modules to read disk.

you probably trying boot from older Slackware cd/dvd to boot later versions Slackware root disk.

Ztcoracat 12-14-2014 04:55 PM

Here's some more details about the circumstances:

This desktop has 2 hard drives.
The 500 GB HDD Western Digital is what I installed Slackware to over the summer.
The new drive that I just installed last week is a Seagate 1 TB HDD and I installed Debian on it.

The first installation of Debian failed. It would take me to a log-in, I'd log in the screen flashed black and
took me directly back to log-in again. Due to the failure I re-installed Debian again and the second install worked properly.

Before I installed Debian I edited the lilo.conf file with a argument letting LILO know about Debian:
Code:

other = /dev/sdb
lablel = debian

I didn't have sound at the first boot of Debian nor at all the other previous boots either.
I booted into Slackware yesterday and the video's would play for a minute but crash.
After rebooting into Slackware I'm stuck in kernel panic mode.
I put the Slackware DVD in the CDROM drive and shut down the tower.

Once the Slackware DVD boots I don't know what to try at this point.

Ztcoracat 12-14-2014 04:57 PM

Quote:

Originally Posted by number22 (Post 5284637)
mismatch kernel and glibc or missing file system modules to read disk.

you probably trying boot from older Slackware cd/dvd to boot later versions Slackware root disk.

The Live Slackware DVD I'm booting with is Slackware 14.1-

Can anything be done at this point or do I need to re-install?

Ser Olmy 12-14-2014 04:59 PM

Quote:

Originally Posted by Ztcoracat (Post 5284610)
I tried using the Live Slackware DVD and at the prompt I typed:
mount /dev/sda1 /mnt. The konsole than returned: Could not find kernel image.

That's not the Linux console, it's the bootloader prompt. You can specify the name of one of the kernel images on the DVD and various parameters, but you cannot run commands.

Have you tried booting the system by following the onscreen instructions? Those that start with "In a pinch, you can boot your system from here..."?

If you type huge.s root=/dev/sda1 rdinit= ro (note the space after rdinit=), the bootloader will load the "huge.s" kernel from the DVD, which in turn will try to mount /dev/sda1 as the root file system. If you installed Slackware to a partition other than /dev/sda1, modify the command line accordingly.

number22 12-14-2014 05:16 PM

Quote:

Originally Posted by Ztcoracat (Post 5284640)
The Live Slackware DVD I'm booting with is Slackware 14.1-

Can anything be done at this point or do I need to re-install?

Maybe your disk has older version Slackware, it is best and easy just reinstall with new Slackware.

Live DVD is not same as installation DVD, if you arleady has live DVD then you already has a working slackware, you just need lsblk to see all disk, and then use mount command to chose disk to mount.

Ztcoracat 12-14-2014 05:30 PM

Quote:

Originally Posted by Ser Olmy (Post 5284642)
That's not the Linux console, it's the bootloader prompt. You can specify the name of one of the kernel images on the DVD and various parameters, but you cannot run commands.

Have you tried booting the system by following the onscreen instructions? Those that start with "In a pinch, you can boot your system from here..."?

If you type huge.s root=/dev/sda1 rdinit= ro (note the space after rdinit=), the bootloader will load the "huge.s" kernel from the DVD, which in turn will try to mount /dev/sda1 as the root file system. If you installed Slackware to a partition other than /dev/sda1, modify the command line accordingly.


If I recall correctly it's kernel 3.10. but I don't remember the extension-
I haven't booted the system by following the onscreen instructions because the on screen instructions take me directly into a fresh installation.

Do you mean that there should not be a space after rdinit= it should look like this instead?
Code:

huge.s root=/dev/sda1 rdinit=ro

Ser Olmy 12-14-2014 05:35 PM

Quote:

Originally Posted by Ztcoracat (Post 5284653)
I haven't booted the system by following the onscreen instructions because the on screen instructions take me directly into a fresh installation.

It mounts your root file system and boots the installed Slackware system using the kernel from the DVD. It does not start the installer.
Quote:

Originally Posted by Ztcoracat (Post 5284653)
Do you mean that there should not be a space after rdinit= it should look like this instead?

There should definitely be a space after rdinit=. It means "do not use the supplied RAM disk image":
Code:

huge.s root=/dev/sda1 rdinit= ro

Ztcoracat 12-14-2014 05:43 PM

Ok, thanks; Ser Olmy:-

At the bootloader prompt I'll type it the way you've posted it in code tags.

Once it boots the installed Slackware os what should I do from there?
(aside from looking in /var/log to find out what's going on)

Ser Olmy 12-14-2014 05:48 PM

The error message says the kernel can't mount root, so you should check /etc/lilo.conf and make sure the root directive specifies the right partition. It looks like the current setting is /dev/sda2, actually.

If you make any changes to lilo.conf, remember to run lilo afterwards to apply the changes to the bootloader.

Ztcoracat 12-14-2014 06:20 PM

Quote:

Originally Posted by Ser Olmy (Post 5284660)
The error message says the kernel can't mount root, so you should check /etc/lilo.conf and make sure the root directive specifies the right partition. It looks like the current setting is /dev/sda2, actually.

If you make any changes to lilo.conf, remember to run lilo afterwards to apply the changes to the bootloader.

Booting the Live Slackware DVD now....

I'll post what I see in lilo.conf so you can see it, bb-

Ser Olmy 12-14-2014 06:24 PM

Quote:

Originally Posted by Ztcoracat (Post 5284667)
Booting the Live Slackware DVD now....

The Slackware DVD does not contain a live system, just the installer.

Ztcoracat 12-14-2014 06:34 PM

I tried to look at the /etc/lilo.conf at the boot prompt but that's not working.
After a few min's it appeared to boot the kernel image and now I'm being asked for info. on the keyboard-
Code:

$ Enter 1 to select a keyboard map.
What am I doing wrong?

Ser Olmy 12-14-2014 06:41 PM

Then you must have tried to run some sort of command from the boot prompt, which obviously didn't work. Eventually the default kernel booted with no options, leading you straight to the installer. That is not what you wanted.

This is what you need to do:
  1. Boot from the DVD
  2. At the boot prompt, type huge.s root=/dev/sda1 rdinit= ro and press Enter
  3. Wait as the kernel loads and the system boots
  4. Log in and troubleshoot the boot issue
If step 3 doesn't get you to the login prompt, try specifying /dev/sda2 as the root file system. If it still doesn't work, make a note of any error messages and return here.

Ztcoracat 12-14-2014 07:05 PM

Quote:

Originally Posted by Ser Olmy (Post 5284681)
Then you must have tried to run some sort of command from the boot prompt, which obviously didn't work. Eventually the default kernel booted with no options, leading you straight to the installer. That is not what you wanted.

This is what you need to do:
  1. Boot from the DVD
  2. At the boot prompt, type huge.s root=/dev/sda1 rdinit= ro and press Enter
  3. Wait as the kernel loads and the system boots
  4. Log in and troubleshoot the boot issue
If step 3 doesn't get you to the login prompt, try specifying /dev/sda2 as the root file system. If it still doesn't work, make a note of any error messages and return here.

I tried steps 1-3 and never make it to log in. I also tried /dev/sda2 as well--
After the kernel loads this is what I have:

Code:

No filesystem could mount root tried: reiserts ext3 ext 2 ext4 vfat msdos iso96 60 ntfs romfs
udf jfs sfs ocfs2 btrfs

Kernel panic-not syncing: vfs Unable to mount root fs on unknown-block (8,1)
Call Trace
dum_stack +0x9d/0x1b
panic +0xc2/0x1ba
mount_block_root+0x2aa/0x2bg
Mount_root+0x9d/0xa0
prepare_namespac+0x16c/0x1a4
kernel_init_freeable+0x1d1/0x1df
? do_early_param+0x88/0x88
? rest_init+0x80/0x80
ret_from_fork+0x7c/0xbo
? rest_init+0x80/0x80

The prompt is flashing as well as the lights on the keyboard and the keyboard is temporarily not working.

Ser Olmy 12-14-2014 07:13 PM

That's normal when the kernel can't find a file system on the specified partition.

Have you actually installed any flavor of Linux on this system?

Ztcoracat 12-14-2014 07:26 PM

Quote:

Originally Posted by Ser Olmy (Post 5284688)
That's normal when the kernel can't find a file system on the specified partition.

Have you actually installed any flavor of Linux on this system?

Yes, I installed Slackware 14.1 on the Western Digital 500 GB HDD (sda1) in July of 2014 and it was running fine until
yesterday.

I installed Debian on the 1 TB HDD last week.(dev/sdb1)

number22 12-14-2014 07:29 PM

You should read http://slackbook.org/html/index.html first and understand some basic concept of unix.

First all, how many hard disks you are planning to use, how is each disk partitioned?

physical disk 1 from bios, usually called /dev/sda
physical disk 2 from bios, usually called /dev/sdb
your dvd player might be called /dev/sdc or /dev/cdrom

partition1 on first disk; called /dev/sda1
partition2 on second disk called /dev/sdb2

Do you even know where is your old Slackware installed at?

if you know, then mount it to /mnt, and find your way to lilo.conf file and then using vi editor find line says
Code:

boot =/dev/sdX    #change x to slackware hard disk.
if your kernel is older < 3.10.7 you need to find and change
Code:

image = /boot/vmlinuz
root=/dev/sdx#  #slackware partion for /.
label=old_slackware

save these changes and run command
lilo -A /dev/sdx# <active the slackware partion
lilo -M /dev/sdx mbr < update physical disk mbr record

run plain lilo again just make sure every thing is in order, no errors.

Ser Olmy 12-14-2014 07:41 PM

Quote:

Originally Posted by Ztcoracat (Post 5284691)
Yes, I installed Slackware 14.1 on the Western Digital 500 GB HDD (sda1) in July of 2014 and it was running fine until
yesterday.

I installed Debian on the 1 TB HDD last week.(dev/sdb1)

Did anything in particular happen yesterday? Did you by any chance update either OS (Slackware or Debian)?

It would be helpful to know the exact partition layout of your hard drives. Could you post the output from fdisk -l /dev/sda and fdisk -l /dev/sdb? Just boot from the Slackware DVD, select a language and press Enter at the login prompt. You will then find yourself at a command prompt from where you can run fdisk

Ztcoracat 12-14-2014 07:46 PM

My Slackware filesystem is gone/hosed.

I booted w/o the Slackware DVD and typed F11 several times to boot to the 1 TB HDD.

Debian is the first os in the Grub Menu and Slackware is the second choice.

There is no sign of my 500 GB Toshiba HDD and the Slackware I installed on it-
-::-I would like to know what happened to my Slackware os and what hosed it?-::-

Code:

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1              1  1953525167  976762583+  ee  GPT
det@debian:~$


number22 12-14-2014 07:47 PM

you can't have 2 OS on 2 different disk drive and both called /dev/sda1; when you add additional disk drive; driver letter changes and it might switch order.

never mind I misread your last comments about Slackware on /dev/sdb1

Ser Olmy 12-14-2014 07:49 PM

So you're saying that fdisk -l /dev/sda returns an error? And/or that there is no /dev/sda device node?

Ztcoracat 12-14-2014 07:59 PM

Quote:

Originally Posted by Ser Olmy (Post 5284696)
Did anything in particular happen yesterday? Did you by any chance update either OS (Slackware or Debian)?

It would be helpful to know the exact partition layout of your hard drives. Could you post the output from fdisk -l /dev/sda and fdisk -l /dev/sdb? Just boot from the Slackware DVD, select a language and press Enter at the login prompt. You will then find yourself at a command prompt from where you can run fdisk

I updated Debian a few days ago and upon doing so I got this error:
Code:

unreliable CPU thermal sensor mointoring disabled
The 2 GB swap and the EXT 4 journaling file system I created for Slackware on sda1 and sda2 is gone:-
Code:

det@debian:~$ fdisk -l/dev/sda1
bash: fdisk: command not found
debiancat@debian:~$ fdisk -l/dev/sda2
bash: fdisk: command not found


Ztcoracat 12-14-2014 08:01 PM

Quote:

Originally Posted by Ser Olmy (Post 5284704)
So you're saying that fdisk -l /dev/sda returns an error? And/or that there is no /dev/sda device node?

Sadly,/dev/sda doesn't exist.
-:-I can't even see the 500 GB HDD from my Debian os under devices-:-

colorpurple21859 12-14-2014 08:06 PM

issue the fdisk command as root in debian and what is the ouput of lspci

colorpurple21859 12-14-2014 08:09 PM

another thing is to check all cables to disk are seated correctly

number22 12-14-2014 08:11 PM

there is space between -l and /dev/sda

you can use parted /dev/sda print to see partition table if you don't have fdisk/ and disk system using efi.

Ser Olmy 12-14-2014 08:13 PM

Quote:

Originally Posted by Ztcoracat (Post 5284710)
The 2 GB swap and the EXT 4 journaling file system I created for Slackware on sda1 and sda2 is gone:-
Code:

det@debian:~$ fdisk -l/dev/sda1
bash: fdisk: command not found
debiancat@debian:~$ fdisk -l/dev/sda2
bash: fdisk: command not found


That error message isn't telling you the drive is gone. It says you can't run the fdisk command, probably due to insufficient privileges. Try: sudo fdisk -l /dev/sda
Quote:

Originally Posted by Ztcoracat (Post 5284711)
Sadly,/dev/sda doesn't exist.

So, to be clear: ls /dev/sda returns an error?

Ztcoracat 12-14-2014 08:21 PM

Quote:

Originally Posted by Ser Olmy (Post 5284719)
That error message isn't telling you the drive is gone. It says you can't run the fdisk command, probably due to insufficient privileges. Try: sudo fdisk -l /dev/sda

So, to be clear: ls /dev/sda returns an error?

Using the Debian terminal running that cmd doesn't return anything but this:

Code:

dt@debian:~$ sudo ls /dev/sda
[sudo] password for debiancat:
/dev/sda
dt@debian:~$ sudo fdisk -l /dev/sda
dt@debian:~$ sudo fdisk -l /dev/sda
dt@debian:~$


Ztcoracat 12-14-2014 08:25 PM

Quote:

Originally Posted by colorpurple21859 (Post 5284714)
issue the fdisk command as root in debian and what is the ouput of lspci

Code:

dt@debian:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 1)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780C [Radeon 3100]
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02


Ser Olmy 12-14-2014 08:25 PM

Well, /dev/sda is clearly there, but fdisk doesn't seem able to access it.

The drive could very well be defective. Try:
Code:

sudo smartctl -a /dev/sda

Ztcoracat 12-14-2014 08:29 PM

Quote:

Originally Posted by Ser Olmy (Post 5284726)
Well, /dev/sda is clearly there, but fdisk doesn't seem able to access it.

The drive could very well be defective. Try:
Code:

sudo smartctl -a /dev/sda

Code:

dt@debian:~$ sudo smartctl -a /dev/sda
[sudo] password for debiancat:
sudo: smartctl: command not found
det@debian:~$


Ser Olmy 12-14-2014 08:33 PM

I guess you don't have smartmontools installed. You could apt-get install smartmontools or use a live distribution like System Rescue CD which has most of these tools included.

Ztcoracat 12-14-2014 08:38 PM

Quote:

Originally Posted by Ser Olmy (Post 5284728)
I guess you don't have smartmontools installed. You could apt-get install smartmontools or use a live distribution like System Rescue CD which has most of these tools included.

I'll have to look and see in the stack of DVD's that I have if I have a System Rescue CD.
I think I do have one-

Code:

det@debian:~$ sudo apt-get install smartmontools
[sudo] password for debiancat:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
E: Unable to locate package smartmontools
det@debian:~$


Ser Olmy 12-14-2014 08:43 PM

Debian certainly has a smartmontools package available, so I don't know why apt-get can't find it.

colorpurple21859 12-14-2014 08:47 PM

run
Code:

sudo apt-get update
then try installing smartmontools

Ztcoracat 12-14-2014 08:55 PM

I took a picture of Grub after I typed e for edit so you can see what I have.

Ztcoracat 12-14-2014 09:13 PM

Quote:

Originally Posted by colorpurple21859 (Post 5284734)
run
Code:

sudo apt-get update
then try installing smartmontools

Code:

dt@debian:~$ sudo apt-get update
[sudo] password for debiancat:
Get:1 http://security.debian.org jessie/updates InRelease [84.1 kB]
Get:2 http://security.debian.org jessie/updates/main Sources [14 B]
Get:3 http://security.debian.org jessie/updates/contrib Sources [14 B]
Get:4 http://security.debian.org jessie/updates/main amd64 Packages [14 B]
Get:5 http://security.debian.org jessie/updates/contrib amd64 Packages [14 B]
Get:6 http://security.debian.org jessie/updates/contrib Translation-en [14 B]
Get:7 http://security.debian.org jessie/updates/main Translation-en [14 B]
Fetched 84.2 kB in 5s (15.4 kB/s)   
Reading package lists... Done
debiancat@debian:~$ sudo apt-get install smartmontools
Reading package lists... Done
Building dependency tree     
Reading state information... Done
E: Unable to locate package smartmontools
dt@debian:~$


colorpurple21859 12-14-2014 09:37 PM

what happens if you unplug the cable to the debian hard drive then try to boot the slackware drive, either directly or with the slackware dvd.

Ztcoracat 12-14-2014 09:49 PM

Quote:

Originally Posted by colorpurple21859 (Post 5284753)
what happens if you unplug the cable to the debian hard drive then try to boot the slackware drive, either directly or with the slackware dvd.

I would have to kill the power to the case and unplug the 1 TB drive and I really don't want to do that.
--That would be my last thing on my list I would want to try--
I was very careful when I installed the new 1 TB HDD.

I'm looking for the Rescue CD so I can see if the smartmontools are on the disk.

Ztcoracat 12-14-2014 10:20 PM

Booting the 'System Rescue CD' I choose boot into a 64 bit Linux Graphical GUI with other choices.

What can I run for you in the Rescue Terminal in order for you to get the information you need to help me?


@Ser Olmy:
I downloaded the smartmontools from the link you posted; thanks.

Ztcoracat 12-14-2014 10:39 PM

The Slackware partition's are there-

Ztcoracat 12-14-2014 11:46 PM

Quote:

Originally Posted by Ser Olmy (Post 5284726)
Well, /dev/sda is clearly there, but fdisk doesn't seem able to access it.

The drive could very well be defective. Try:
Code:

sudo smartctl -a /dev/sda

I tried running the smartcltl cmd after installing the smartmontools-
Code:

det@debian:~$ sudo smartctl -a /dev/sda
[sudo] password for debiancat:
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16-2-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:              /2:0:0:0
Product:             
Compliance:          SPC-5
User Capacity:        600,332,565,813,390,450 bytes [600 PB]
Logical block size:  774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
det@debian:~$


Ser Olmy 12-15-2014 05:13 AM

Quote:

Originally Posted by Ztcoracat (Post 5284790)
Code:

det@debian:~$ sudo smartctl -a /dev/sda
[sudo] password for debiancat:
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16-2-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:              /2:0:0:0
Product:             
Compliance:          SPC-5
User Capacity:        600,332,565,813,390,450 bytes [600 PB]
Logical block size:  774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.


I think it's fairly safe to say that this drive is history.

colorpurple21859 12-15-2014 05:34 AM

Quote:

I think it's fairly safe to say that this drive is history.
If it was me, I would first recheck cables, then if that doesn't work, try with the debian drive disconnected and lastly with cables installed as orginally before the debian drive was added, before calling the slackware drive dead.tt

Ztcoracat 12-15-2014 12:43 PM

If in fact this drive is history I won't be able to install any distribution on it and the installer will fail.
I'll try to install Slackware again and see if it works. If not that I'll know (past experience) that the drive is done for-

If the drive isn't done for than the only other thing I'm thinking is that; not being able to mount the /dev/sda2 partiton is because the kernel rolled over and died.

Checking the cables is a good idea I'll look and see.
I hate taking that case apart but it looks like the only other thing to try aside from seeing if a fresh install sticks.

I hope the drive isn't history as I just purchased it 6 months ago.

Would kernel panic cause a drive to go south?

Diantre 12-15-2014 05:12 PM

Quote:

Originally Posted by Ztcoracat (Post 5285009)
Would kernel panic cause a drive to go south?

I'd say it's the other way around, a drive going south would cause the kernel to panic. In any case, I'd like to second what colorpurple21859 said, disconnect the debian drive, and check cables on the Slackware drive (if possible, replace them). Then, you might try booting from your rescue cd/dvd and issue the smartctl command from there. If you keep getting the same results, then most probably the drive is gone.

As a final test, I would try the drive in another computer, just to discard hardware problems on the original system.

Ztcoracat 12-15-2014 07:38 PM

I tried to install Slackware to the drive and no dice. After typing cfdisk to start partitioning I got:
Code:

FATAL ERROR:Cannot read disk drive
I also tried to install Linux Mint and when I was finished creating the necessary partitions I got:
Code:

Input/output Error (something about the drive, can't remember)
I'll disconnect the cables and take the case apart tomorrow; too late tonight-

-:- I don't think that HDD would fit in my Sony Vaio to try and see if it works.-:-

Diantre 12-16-2014 02:04 AM

Quote:

Originally Posted by Ztcoracat (Post 5285168)
-:- I don't think that HDD would fit in my Sony Vaio to try and see if it works.-:-

Probably not... :)

But with a USB hard disk enclosure, it would be possible.

Ztcoracat 12-16-2014 07:26 PM

Quote:

Originally Posted by Diantre (Post 5285368)
Probably not... :)

But with a USB hard disk enclosure, it would be possible.

I'll have to purchase an enclosure for the drive.

I think you guys are right about the drive.
I wiped the drive last night with Dariks Boot And Nook. And tried to install Slackware. It's not happening.

The power supply plug is in the way to the 500 GB HDD.

I played tug of war with the power supply for about 20 min's and can't get it.
So...I'm going to have to wait for a friend of mine to take care of it and in the meantime I'll purchase an enclosure for it.

I'll install Slackware alongside Mint maybe tomorrow-

Can you recommend a zero fill application for drive that's giving me issue's?


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