[Gelistirici] grub
Fatih Aşıcı
fatih at pardus.org.tr
5 Haz 2010 Cmt 19:22:05 EEST
On Saturday 05 June 2010 18:49:36 Onur Küçük wrote:
> On Sat, 5 Jun 2010 18:38:51 +0300
>
> Fatih Aşıcı <fatih at pardus.org.tr> wrote:
> > On Friday 04 June 2010 21:20:42 Onur Küçük wrote:
> > > Devel deki grub ın farklı donanımlarda (desktop, dizüstü, elma
> > >
> > > ailesi vs.) denenmesi lazım. Paketi şu [1] adrese koydum, deneyip
> > > kurulum sırasında çökme yaşanıp yaşanmadığını (dmesg ya
> > > da /var/log/messages a bakabilirsiniz) ve bilgisayarı baştan
> > > başlatınca bir sorun olup olmadığını haber ediniz.
> > >
> > >
> > > [1] http://cekirdek.pardus.org.tr/~onur/tmp/grub-0.97-80.pisi
> >
> > Bu paketle de çökmeye devam ediyor bende. Netbook ile tekrarlıyorum.
> >
> > [82521.464954] grub[21502]: segfault at b7879d80 ip 0805f90a sp
> > b74b5e00 error 6 in grub[8048000+a8000]
> >
> > Bu satırı depodaki grub ile aldım. Aşağıdakileri ise verdiğin
> > linkteki paketle (iki defa kurdum):
> >
> > [82796.889107] grub[24906]: segfault at 417 ip 080570b2 sp b7246ec0
> > error 4 in grub[8048000+a8000] [82842.150662] grub[25520]: segfault
> > at 417 ip 080570b2 sp b72d1ec0 error 4 in grub[8048000+a8000]
> >
> > Farklı bir yerde patlıyor herhalde?
>
> Segment i aynı, aynı yerde patlıyor gibi. gdb le bakabilir misin
> patladığı yere ? stage2/boot.c de load_image de patlıyorsa kernel tipi
> de kernel_type_none gözüküyordur.
>
> Sistemindeki kerneller nasıl, boyutları 5MB ya da daha büyük olan var
> mı ?
Yok.
> 64bit kernel / sistem kullanıyor musun ? 64bit le denemedim,
> sanırım onun için değeri daha büyütmemiz gerekecek.
32bit ile deniyorum.
Bu arada grub-alt.conf dosyasındaki
gfxmenu /boot/grub/message
satırını comment'leyince sorun çıkmıyor.
gdb çıktısı aşağıda:
# gdb --args /sbin/grub --batch --device-map=/boot/grub/device.map
GNU gdb (GDB) 7.0
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /sbin/grub...done.
(gdb) r
Starting program: /sbin/grub --batch --device-map=/boot/grub/device.map
Pardus Linux (http://www.pardus.org.tr), TUBITAK/UEKAE
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd0,0)
root (hd0,0)
grub> kernel /boot/kernel-2.6.31.13-131 root=LABEL=PARDUS_ROOT splash=silent quiet vga=0x314 resume=/dev/sda5
kernel /boot/kernel-2.6.31.13-131 root=LABEL=PARDUS_ROOT splash=silent quiet vga=0x314 resume=/dev/sda5
grub> root (hd0,0)
root (hd0,0)
grub> kernel /boot/kernel-2.6.33-rc5 root=LABEL=PARDUS_ROOT splash=silent quiet i915.modeset=1 vga=0x314 resume=/dev/sda5
kernel /boot/kernel-2.6.33-rc5 root=LABEL=PARDUS_ROOT splash=silent quiet i915.modeset=1 vga=0x314 resume=/dev/sda5
grub> configfile /boot/grub/grub-alt.conf
configfile /boot/grub/grub-alt.conf
Program received signal SIGSEGV, Segmentation fault.
0x080570b2 in run_graphics_menu (entryno=<value optimized out>, heap=0xb7a14ec3 "", num_entries=<value optimized out>,
config_entries=<value optimized out>, menu_entries=0xb7a14dc8 "Pardus 2009.1 Anthropoides virgo [2.6.32.8-133]") at stage2.c:979
979 verbose = (*(unsigned char *) 0x417) & 3 ? 1 : 0; /* SHIFT pressed */
(gdb) bt f
#0 0x080570b2 in run_graphics_menu (entryno=<value optimized out>, heap=0xb7a14ec3 "", num_entries=<value optimized out>,
config_entries=<value optimized out>, menu_entries=0xb7a14dc8 "Pardus 2009.1 Anthropoides virgo [2.6.32.8-133]") at stage2.c:979
p = 0x8102cf8 "\260\336\017\b\260\336\017\b"
verbose = 135257776
gfx_data = 0xb7a14e33
mem0_end = 0
file_len = <value optimized out>
code_start = <value optimized out>
file_start = <value optimized out>
s = 0xb7a14c54 "root (hd0,0)"
buf_size = 134774680
t = <value optimized out>
t2 = 0x241 <Address 0x241 out of bounds>
i = 135277816
max_len = <value optimized out>
selected_entry = 134519749
mem0_start = <value optimized out>
gfx_file_size = <value optimized out>
#1 cmain (entryno=<value optimized out>, heap=0xb7a14ec3 "", num_entries=<value optimized out>, config_entries=<value optimized out>,
menu_entries=0xb7a14dc8 "Pardus 2009.1 Anthropoides virgo [2.6.32.8-133]") at stage2.c:1548
is_opened = <value optimized out>
#2 0x0804b037 in init_bios_info () at common.c:356
memtmp = <value optimized out>
addr = 3080801364
cont = 0
drive = 129
#3 0x08049360 in doit () at asmstub.c:183
simstack = 0x0
#4 0x080494d5 in grub_stage2 () at asmstub.c:266
simstack_alloc_base = <value optimized out>
simstack_size = 6303744
page_size = <value optimized out>
simstack = 0xb7a65ff0
---Type <return> to continue, or q <return> to quit---
realstack = 0xbffff440
status = 0
__PRETTY_FUNCTION__ = "grub_stage2"
#5 0x08048388 in main (argc=3, argv=0xbffff544) at main.c:264
c = -1
hold = 0
Gelistirici mesaj listesiyle ilgili
daha fazla bilgi