Re: kernel panic on mounting root fs



On Sat, 14 Jan 2006 14:01:45 +0100, Robert Lummert wrote:

> Hello all,
>
> I installed OpenSuse 10 on a PIII PC.
> Everything went ok until I had first time to reboot.
> Grub came up ok and had no problems loading kernel
> and initrd, But mounting the root failed with
> "no such device", "kernel panic" was announced accordingly
> and the rest is freeze. (see boot output below)
> With rescue system I can mount with no problem and fsck
> states no inconsistencies on the reiserfs on hda5 (/), hdb5
> (/srv) or on the ext2fs on hda1(/boot) and hdb1 (/home).

> I reinitialzed the swap on hda5 but all that didn't change
> anything.

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.

> Booting with the save settings doesn't do better
> either (ide=nodma apm=off acpi=off noresume selinux=0 nosmp
> noapic maxcpus=0 edd=off 3).
>
> One strange thing is that in the setup hda is recognized as
> marked for softraid though there is no softraid or
> raidcontroller on the board (a MEDION9901). But linux live CDs,
> previously installed Suse9.3 and a Win2000 system all had no
> problems like that.
>
> Any suggestions? Any problems known for the ide driver
> 7.00alpha2?
>
> TIA
>
> Robert
>
>
> Thats what I could read from the screen after freeze:
>
> 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.

> hda: cache flushes not supported
> hda: hda1 hda2 < hda5 hda6 >

This shows two logical partitions, one should be swap. Which is it?

> hdb: max request size: 128 KiB
> hdb: 5863334 sectors (30020 MB) w/512KiB Cache, CHS=58168/16/63, UDMA(33)

As above.

> 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

> Loading reiserfs
> Waiting for device /dev/hda6 to appear: ok
> rootfs: major=3 minor=6 devn=774
> Mounting root /dev/hda6
> mount: No such device

Do you have your / and swap partitions reversed?

> umount2: Device or resource busy
> Kernel panic - not syncing: Attempted to kill init!

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>

A live CD, like Knoppix will have the fdisk app, as should the rescue
system on the first SUSE install disk. This will create a file, "part.txt"
on the floppy, that you can copy/past from, and add to your next post.
Also include the contents of /boot/grub/menu.lst. If you are posting from
a different machine, you can add this to the floppy by using the command;

# cat /dev/hda1/grub/menu.lst > /dev/fd0/menu.txt

--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."


.



Relevant Pages

  • Re: [SLE] Recover Update of 10.1 from power failure hard crash.
    ... If I were you, since you can't backup your data, I'd pull hda out of the ... I created a 2 GB swap on the ... I seems I am going to have to install 10.0 on the drive and then ... CD's going into rescue system and creating partitions did not seem to ...
    (SuSE)
  • Re: Recommended partitioning scheme
    ... >> event a reinstall is necessary. ... don't install test releases on my main machine. ... > less critical partitions are filled up for some reason. ... > swap be twice what your memory is. ...
    (Fedora)
  • Re: Need advice on how to partition a 10gig hdrive
    ... >> install your fourth kernel. ... Swap size depends on the RAM and the purpose of the ... > possible on the system partitions. ...
    (alt.os.linux)
  • Re: New first time install
    ... > first one has two partitions both XP NTFS. ... > Linux and if possible, use part of it with both systems for file storage. ... /swap 256MB to 1GB swap ... > install, or would it be better to wait for the disk to arrive. ...
    (alt.os.linux.suse)
  • Re: Out of Mem during install Error
    ... |I am trying to install Suse 8.2 on an IBM Thinkpad with 80meg of memory. ... |However, at this stage of loading, it's just loading the install image from ... I need a swap space to load installation, ...
    (alt.os.linux.suse)