[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kernel panic
From: |
mi |
Subject: |
Re: kernel panic |
Date: |
Wed, 2 Apr 2003 22:03:10 +0200 |
Hello,
perhaps you remember. Got a kernel panic when booting with grub from floppy,
though the same kernel / system always did bootup ok with lilo (mbr).
This was kernel 2.4.17 custom, then; a very early compile two years ago, when
i didn't know about most of it's functions.
So i recompiled a 2.4.17 this days, and this one works with grub alright !
Also 2.4.18, 2.4.5 and 2.2.22 with (nearly) the same settings.
So i think the old kernel was misconfigured.
Strange however that it only affected grub, not lilo.
David Balazic [Montag, 24. März 2003 16:00]:
>| The first obvious difference is the usage of the "vga=" option
>| with lilo, but not with grub.
Nope. Tried the same with grub. Did hang anyway.
Here's a diff from the two 2.4.17 kernels:
Eexcluded some networking options i checked two years ago, but never did
apply the targeted hardware, then. The hang was at the point mounting swap,
though, and i think it's probably a deal with blockdevice options, or the
fact that grub booted the root system directly from floppy -- where lilo did
chain from one mbr to the other.
diff between kernel versions:
# 2.4.17-0 (old) | 2.4.17-1 (new)
-------------------------------------------------------------------------------------------------
========== Block devices
CONFIG_BLK_DEV_FD=m | CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_LOOP=m | CONFIG_BLK_DEV_LOOP=y
CONFIG_MD=y | # CONFIG_MD is not set
CONFIG_IDEDMA_NEW_DRIVE_LISTINGS=y
CONFIG_BLK_DEV_VIA82CXXX=y | # CONFIG_BLK_DEV_VIA82CXXX is not set
CONFIG_IDEDMA_IVB=y | # CONFIG_IDEDMA_IVB is not set
========= FS ( until now, ext2 only here )
# CONFIG_EXT3_FS is not set | CONFIG_EXT3_FS=y
# CONFIG_JBD is not set | CONFIG_JBD=y
========= Codepages ( i have no DOS FS here and no networking )
CONFIG_SMB_NLS_REMOTE="cp437" | CONFIG_SMB_NLS_REMOTE="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y | CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_850=y | CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_ISO8859_1=y | CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_15=y | CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_UTF8 is not set | CONFIG_NLS_UTF8=m
======== FRamebuffer /Textconsole (Matrox Mystique)
CONFIG_FB_MATROX_MILLENIUM=y | # CONFIG_FB_MATROX_MILLENIUM is not
se
CONFIG_FB_VIRTUAL=m | # CONFIG_FB_VIRTUAL is not set
CONFIG_FBCON_CFB4=m | CONFIG_FBCON_CFB4=y
CONFIG_FBCON_MAC=m | # CONFIG_FBCON_MAC is not set
CONFIG_FBCON_HGA=m | # CONFIG_FBCON_HGA is not set
# CONFIG_FONT_SUN12x22 is not set | CONFIG_FONT_SUN12x22=y
CONFIG_DRM_MGA=y | CONFIG_DRM_MGA=m
================ APM (but no apm daemon running)
CONFIG_APM=m | CONFIG_APM=y
# CONFIG_APM_DO_ENABLE is not set | CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y | # CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set | CONFIG_APM_DISPLAY_BLANK=y
# CONFIG_APM_RTC_IS_GMT is not set | CONFIG_APM_RTC_IS_GMT=y
--------------------------------------------------------------------
So, since it works now, i won't track anymore. I have to go on, there's a lot
to do. Going to install grub now into the mbr's. Then setting up the multi-os
configuration....will be some hd's and several OS in the end.
I did try the chain function from the commandline, and i am able to chain
from hdc bootmenu back to the floppy, and vice versa. lilo didn't do that
backwards, not even with mapping. Tried also many other commands.
It's great !
I want to express that i'm thankful there are open source
developers creating such useful things.
regards
micha.
>| >
>| > I. Config for mbr LILO of ide drive hd0 = hda:
>| > ---------------------------------------------------------------
>| >
>| > read-only
>| > lba32
>| > vga=ask
>| > boot = /dev/hda
>| > install = /boot/boot.b
>| > map = /boot/map
>| > message=/boot/bootmsg.txt
>| > prompt
>| > timeout=100
>| > # -------------- Image Section:
>| > other = /dev/hdc
>| > label = woodyC
>| > alias = 4
>| > loader=/boot/chain.b
>| > map-drive = 0x80
>| > to = 0x83
>| >
>| > image = /boot/vmlinuz
>| > label = kiste-2.19 # an old SuSe i have to wipe out ...
>| > alias = 1
>| > root = /dev/hda6
>| >
>| > image = /boot/vmlinuz
>| > label = potato-2.19 # my first Debian; now my rescue system
>| > ;-) alias = 2
>| > root = /dev/hdc11
>| >
>| > image = /boot/vmlinuz
>| > label = woody-2.19 # But usually i let it chain by timeout
>| > (image 0). alias = 3
>| > root = /dev/hdc6
>| >
>| > II. Config for mbr LILO of ide drive hd1 = hdc:
>| > ---------------------------------------------------------------
>| >
>| > lba32
>| > boot=/dev/hdc
>| > install=/boot/boot-menu.b
>| > map=/boot/map
>| > delay=400
>| > message=/boot/bootmsg.txt
>| > prompt
>| > timeout=200
>| > vga=0
>| >
>| > image=/boot/vmlinuz # this one doesn't wotk with grub from
>| > floppy. label=Woody
>| > root=/dev/hdc6
>| > read-only
>| > alias=1
>| >
>| > image=/boot/POTATO/vmlinuz
>| > label=Potato
>| > read-only
>| > root=/dev/hdc11
>| > optional
>| > alias=2
>| >
>| > other=/dev/hda
>| > label=boot_hda
>| > alias=3
>| > loader=/boot/chain.b
>| > map-drive = 0x83 # didn't get it working with
>| > lilo. to = 0x80
>| >
>| > ------------------------------------------------------------------------
>| >-----------------------
>| >
>| > In a few days, i go pick it up with Kernel 2.4.18 and 2.4.20.
>| > If i get the same with 4.18 i'll try to file a bug report.
>| > Thank you for the hint.
>| >
>| > micha.
>| >
>| > >| > When i boot a 2.4.17 kernel ( no matter if from the harddrive or
>| > >| > from the floppy) it comes up ok, but then freezes, after 'Mounted
>| > >| > root (ext2) readonly' .... only occasionally with some error
>| > >| > reporting (see below). The root filesystem is on ide1 (master) =
>| > >| > (hd1,5) = hdc6, a logical partition about 17 GB 'far' from the
>| > >| > rim. I don't use any 'lba' option for grub. i did some tracking...
>| > >| > My first idea was to pass the --no-mem-option; but that did not
>| > >| > match.... Next idea, swap: there's a swap on each of both drives;
>| > >| > so the kernel has to access the a ide drive that was inactive
>| > >| > before. That's a difference i can imagine to my current 'fixed'
>| > >| > LILO configuration, that chains from ide0 to ide1.
>| > >| > But excluding the ide0-swap from /etc/fstab won't match, either.
>| > >| > No i tried to boot a 2.2.19 kernel from ide0.
>| > >| > That worked !
>| > >| > Next i copied this kernel to ide1, and voila ! there it works, too.
>| > >| > Also from floppy.
>| > >| > So it seems to be a 2.4.17 specific problem.
>| > >| >
>| > >| > Here's the first lines of it's error output, that occurs not every
>| > >| > time, so I'm not sure if this is related to the freezing or not:
>| > >| >
>| > >| > Unable to handle paging request at virtual address f604c487
>| > >| > printing eip: c0118e3e
>| > >| > xpde: 000000000000
>| > >| > Oops: 0002
>| > >| > [ much more stuff below, but no human language words...]
>| >
>| > _______________________________________________
>| > Bug-grub mailing list
>| > address@hidden
>| > http://mail.gnu.org/mailman/listinfo/bug-grub
--
micha.
[Prev in Thread] |
Current Thread |
[Next in Thread] |