LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-28-2004, 02:22 PM   #1
rockybalboa
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
kernel panic -=- Deleted swap?


I decided to move my swap partition to my other hard drive using Mandrake Control Center utility. All seemed to go well until I rebooted (isn't it always like this?) Anyway, MDK won't boot. First the pertinent specs:
Abit KT7-A MoBo- RAID controller cannot be disabled, but I have it set as pass through (No RAID)
2x Western Digital 80G HDD
hda - Master IDE1-boot sector (using LILO) Win XP setup multiple partitions. Moved swap to hda5
hdb - Master IDE2- MDK10 running /root, /boot, /home, (was) /swap, /tmp, /FAT32

Trying to reboot gives the following errors;
Code:
resuming from /dev/hdb9
 Resuming from device hdb9
 Kernel panic: Resume: Unable to find suspended-data signature (-mispelled?
Tried booting failsafe mode and all other options, all modes give the above errors.
I doubt this is broken hardware. I haven't been having any problems until now so I'm guessing it's all due to the swap moving thing.
I used the Mandrake recover console to mount the partitions and rewrite LILO. But it appears that the swap partition is not there. I tried rewriting all the append lines in lilo.conf using all the partitions. Still no progress.
Would the errors be caused by the loss of the swap file?

Any ideas what I should try next?

Thanks
DW
 
Old 06-28-2004, 03:45 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
Is that all you did was move the swap partition?
Quote:
hdb - Master IDE2 ...
The master on IDE2 is /dev/hdc not /dev/hdb. Was /dev/hdb9 your swap partition?

You can boot the MDK 1st install CD to rescue mode. Use the menu to mount the partitions and enter console mode. Post the output of
fdisk -l /dev/hda (that is a small L)

fdisk -l /dev/hdc (or hdb the drive is the IDE1 slave)

Was the /etc/fstab file modified to reflect the change? Post the /etc/fstab file.
 
Old 06-29-2004, 12:56 AM   #3
rockybalboa
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
This may be a bit long but it's all the data that I thought might help solve the problem. Then again, if I knew what would fix it I would have! Anyway, here goes.
For the record my drives are set up on a RAID controller in RAID 0 configuration (no RAID) First one is IDE1 Master (hde) and the second is IDE2 Master (hdg).
I was able to get my Linux sys up and running (used linux noresume) but can't figure out how to fix it.
I think I'm showing partitions that are not there or some aren't getting recognized or something. My initial thought was right, I had created a swap partition but had failed to format and mount it. I did so right after getting MDK started. DiskDrake or whatever it is won't mount my floppy so I created a backup of my partition table (corrupted by now?) and pushed it over to my WinDrive on IDE1. I also coppied the fstab and other info.
I'm right back to the original error. However; when I go to the DiskDrake hdg9 doesn't even show up, all I see are hdg1,5,7,6,8. I mounted the swap file(on hde) and when I went to exit the utility said it was going to write partition table of hdg. So I canceled it, half of hdg is a 40 GB FAT32 partition full (27GB) of irreplacable music files. Now I'm afraid to even reboot the damn thing.
The following are copies of my fstab and lilo.conf

code:

/dev/hdg1 / ext3 defaults 1 1
/dev/hdg5 /boot ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdg7 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0022,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hde1 /mnt/win_c vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hde5 /mnt/win_d vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hde6 /mnt/win_e vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hde7 /mnt/win_f vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hde8 /mnt/win_g vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hde9 /mnt/win_h vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hde10 /mnt/win_i vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hdg8 /mnt/windows vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hdg6 /usr ext3 defaults 1 2
/dev/hdg9 /var ext3 defaults 1 2

code:

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file
boot=/dev/hde
map=/boot/map
default="windows"
keytable=/boot/us.klt
prompt
nowarn
timeout=300
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hde bios=0x80
disk=/dev/hdg bios=0x81
image=/boot/vmlinuz
label="linux"
root=/dev/hdg1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hdg9 splash=silent"
vga=788
read-only
image=/boot/vmlinuz-2.6.3-7mdk
label="263-7"
root=/dev/hdg1
initrd=/boot/initrd-2.6.3-7mdk.img
append="devfs=mount acpi=ht resume=/dev/hdg9 splash=silent"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdg1
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/hdg9 devfs=nomount"
read-only
other=/dev/hde1
label="windows"
table=/dev/hde
image=/boot/vmlinuz-2.6.3-13mdk
label="263-13"
root=/dev/hdg1
initrd=/boot/initrd-2.6.3-13mdk.img
append="devfs=mount acpi=ht resume=/dev/hdg5 splash=silent"
vga=788
read-only


I also ran the out puts of fdisk -l for each drive
First one hde (IDE1 Master)
Disk /dev/hde: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hde1 * 1 893 7172991 b W95 FAT32
/dev/hde2 894 9729 70975170 f W95 Ext'd (LBA)
/dev/hde5 894 1914 8201151 b W95 FAT32
/dev/hde6 1915 3291 11060721 b W95 FAT32
/dev/hde7 3292 4668 11060721 b W95 FAT32
/dev/hde8 4669 6843 17470656 b W95 FAT32
/dev/hde 6976 8352 11060721 b W95 FAT32
/dev/hde10 8353 9729 11060721 b W95 FAT32
/dev/hde11 6844 6941 787153 82 Linux Swap

Second one (IDE2 Master)
Disk /dev/hde: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdg1 * 1 254 2040223+ 83 Linux
/dev/hdg2 255 9602 75087810 5 Extended
/dev/hdg5 255 266 96358+ 83 Linux
/dev/hdg6 267 1641 11044656 83 Linux
/dev/hdg7 1642 4336 21647556 83 Linux
/dev/hdg8 4451 9602 41383408+ b W95 FAT32
/dev/hdg9 4337 4450 915673+ 83 Linux

I am at a loss. Before I shut down I am going to try to figure out how to move 27GB of stuff off the Win32 partition on hdg. After that I'll reboot, with no idea what to expect. Any more ideas? I could use them.
Thanks for the previous suggestions
DW

Last edited by rockybalboa; 06-29-2004 at 01:21 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
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 11:35 AM
kernel panic -=- Deleted swap? rockybalboa VectorLinux 1 06-28-2004 01:27 PM
I deleted partitions on one hdd and now get "kernel panic..." on other. Any ideas? rose_bud4201 Slackware 18 06-12-2004 11:17 AM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

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

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