Re: kernel panic on mounting root fs



hi imotgm,

[...] Above you say hda5 is /, so it can not be swap. If it is swap, than it can
not be /. One or the other, it can't be both.


Sorry, its hda5 -> swap and hda6 -> / with reiserfs

> [...]
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Loading piix
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Samsung SV2044d, ATA DISK drive
hdb: ST330621A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128 KiB
hda: 39862368 sectors (20409 MB) w/472KiB Cache, CHS=39546/16/63, UDMA(33)

In your BIOS you should have your hard drives set to LBA rather than CHS.

All disks are set to LBA


> [...]
hdb: cache flushes not supported
 hdb: hdb1 hdb2 < hdb5 >
hdc: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive
ide1 at 0x0170-0x0177,0x376 on irq 15
Loading processor
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
Loading thermal
hdc: ATAPI 48X DVD-ROM drive, 512 kB cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Loading fan
ACPI: Fan [FAN0] (on)
Waiting for device /dev/hda5 to appear: ok
Attempting manual resume

resume=<swap partition>

swsuso: Suspend partition has wrong signature?

Somethings messed up in your partition table

I'd too think so, but with fdisk everything seems to be fine, and I
even had look on the bootrecords and checked the typeids at offset
4 for the partition table entries, but no inconsistencies there(0x83
for hda1, 0x05 for hda2, 0x82 for hda5 and 0x83 for hda6).

[...] You told us what you think your disk partitions are. There are
inconsistencies in what you say, and also the boot messages. We need to
know, for sure, what you really have. It would be a good idea to
insert a floppy into it's drive, post the results of;


# fdisk -l > /dev/fd0/part.txt <--that's a small L, and fd<zero>
> [...]
I managed it with the rescue system (basically the same):
fdisk says
------------------------------------------------------------------------
Disk /dev/hda: 20.4 GB, 20409532416 bytes
16 heads, 63 sectors/track, 39546 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         128       64480+  83  Linux
/dev/hda2             129       39546    19866672    5  Extended
/dev/hda5             129        1121      500440+  82  Linux swap / Solaris
/dev/hda6            1122       39546    19366168+  83  Linux

Disk /dev/hdb: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1        1217     9775521   83  Linux
/dev/hdb2            1218        3649    19535040    5  Extended
/dev/hdb5            1218        3649    19535008+  83  Linux


assignments are: ---------------- hda1 -> /boot hda5 -> swap hda6 -> / hdb1 -> /home hdb5 -> /srv

hda1 and hda6 passed fsck and hda5 has been reinitialized with mkswap.

menu.lst is
------------------------------------------------------------------------
# Modified by YaST2. Last modification on Fr Jan 13 23:47:59 UTC 2006

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,0)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,0)
kernel /vmlinuz root=/dev/hda6 vga=0x31a selinux=0 resume=/dev/hda5 splash=silent showopts
initrd /initrd


###Don't change this comment - YaST2 identifier: Original name: floppy###
title Diskette
    chainloader (fd0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,0)
kernel /vmlinuz root=/dev/hda6 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /initrd
.




Relevant Pages

  • Re: kernel panic on mounting root fs
    ... > Grub came up ok and had no problems loading kernel ... Above you say hda5 is /, so it can not be swap. ... This shows two logical partitions, ... system on the first SUSE install disk. ...
    (alt.os.linux)
  • Re: External HD intern?
    ... that allows me to swap out drives. ... I have an IDE ... but sata trays are available. ... I've been considering getting a Hot Swap bay for IDE, ...
    (alt.comp.periphs.mainboard.asus)
  • Swap: 40GB HD
    ... I have a Hitachi Deskstar 40GB IDE HD. ... Warranty until 2006-06-30. ... sealed in antistatic packaging and never used. ... Does anyone have anything to swap for this? ...
    (uk.adverts.computer)
  • Re: Using with
    ... Good grief, give me some credit, I can swap a single letter and keep track ... will run a With faster than one with less physical memory. ... I tried it both compiled and in the IDE. ...
    (microsoft.public.vb.general.discussion)
  • Re: [SLE] swap
    ... > disk movement then I became concerned in caase the scsi had problems so ... > I added the small swap on the large ide. ... If a drive with used swapspace has a problem/crash, ...
    (SuSE)