Hozzászólások
-
SzerzőBejegyzés
-
Van egy suse linux 10.2 egy 2.6.18.2-34 kernel ami még a telepítéskor került fel alapból. Ezt frissítettem 2.6.19.2 -re de nem tudok bootolni róla. odáig megvan hogy System.map -et meg a bzImage -et áthelyeztem illetve a a menu.lst is ki lett bővítve az új kernel elérési útjával.
Idemásolom az új kenelhez tartozó bejegyzést:
title New_Kernel
root (hd1,1)
kernel /boot/new/vmlinuz root=/dev/hdb2Illetve itt a régi, működő kernelemhet tartozó bejegyzés:
title openSUSE 10.2
root (hd1,1)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hdb2 vga=0x317 resume=/dev/hdb1 splash=silent showopts
initrd /boot/initrd-2.6.18.2-34-defaultIlletve a hibaüzenet amit az új kernelről való bootolási kísérletnél kiír:
VFS: Cannot open root device „hdb2” or unknown block (0,0)
Please append a correct „root=” boot option
Kernel panic – not syncing:VFS:Unable to mount root fs on unkknown – block (0,0)Amint látható ugyan az a „boot opció” van megadva mind2 kernelnél: /dev/hdb2 azzal a különbséggel h az egyik megy a másik meg nem. Pedig mind2 kernel ugyan azon a winyón van. Egy partíción egészen pontosan.
Továbbá az ext3 meg minden ilyen fájlrendszer támogatása bele lett fordítva a kernelbe sőt a winyókat is támogatja. Amúgy egy ata interfésszel ellátott winyóm van secondary slave-nek bekötve a gépbe. Szal a fájlrendszerrel biztosan nincsen hiba.
A régi kernelnél a menu.lst-ben annyival van csak több hogy ott van initrd. Azt olvastam hogy az meg tudná oldani a problémát. De nem tudom hogy hol lehet az új kernelhez tartozó initrd.img vagy hogy van-e egyáltalán.oks megoldottam, felraktam egy gnome-ot meg a monitor frissítést állítottam 70hz-re és egészen nagyszerűen működik. De nem is a gnome-ban rejlik sztem a megoldás (bár megtetszett) hanem inkább a régi 83 hz-s frissítésen, ami nem ugyan az mintha 85 lenne (azt szintén bírom) így 70-en is jó most.
hmm okés, de már csak hnap… 🙂
nah kössz szépen…
igazad van XDD
most már megy. Illetve nem mert kernel-panic és leáll de az konfigurációs probléma. De egy újra konfigurálás megoldja majd a gondot, thx 🙂Amint látod két oprendszerem is van és bár az elsődleges még a winfos meg akarom tanulni használni a Linuxot is mielőbb és teljesen áttérni rá. Nem hiszem h a windows vista-é lenne a jövő… 😀
# Modified by YaST2. Last modification on k jan 16 17:10:07 UTC 2007
default 0
timeout 10
gfxmenu (hd1,1)/boot/message###Don’t change this comment – YaST2 identifier: Original name: windows###
title Winfos XP
rootnoverify (hd0,0)
chainloader (hd0,0)+1###Don’t change this comment – YaST2 identifier: Original name: linux###
title New_kernel_2.6.19.2
root (hd1,1)
kernel /boot/bzimage root=/dev/hdb2 vga=0x317###Don’t change this comment – YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (hd1,1)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hdb2 vga=0x317 resume=/dev/hdb1 splash=silent showopts
initrd /boot/initrd-2.6.18.2-34-default###Don’t change this comment – YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (hd0,0)
chainloader (fd0)+1###Don’t change this comment – YaST2 identifier: Original name: failsafe###
title Failsafe
root (hd1,1)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hdb2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.18.2-34-defaultÖmmm, mit gondolsz melyik disztrubciót kellene használnom, a süsü helyett?
Amúgy elvileg minden benne van a kernelben ami kell (nincs sata-m) kizárólag az scsi eszközöket hagytam ki belőle meg ezt. Asszem még egyszer konfigolom aztán fordítom.Néztem a grub-ban a régi kernelemhez nem csak a kernel helye van megadva hanem alatta egy másik sorban valami initrd is. Nekem olyat miért nem gyárt ahhoz a kernelhez amit fordítottam? Mert a régihez van mint említettem.
Amúgy csak azért fordítok kernelt h tanuljak, gyakorlatot szerezzek, és nem rpm-ből akarom telepíteni.
üdv
nekem kellene egy kis segítség a kernel fordítással kapcsolatban. Suse linux 10.2-t használok és szeretnék egy másik kernelt használni (2.6.19.2) Kezdésnek kicsomagolom, de mikor kiadom a ‘make menuconfig’ parancsot az ugyan lefut de rengeteg hibaüzenetet hagy hátra maga után mígnem leáll, idemásolom az elejét
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ‘chtype’
scripts/kconfig/lxdialog/dialog.h:187: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:193: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:195: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:196: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:197: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:198: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:200: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
scripts/kconfig/lxdialog/checklist.c:116: error: ‘WINDOW’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog/checklist.c:116: error: for each function it appears in.)
scripts/kconfig/lxdialog/checklist.c:116: error: ‘dialog’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: ‘list’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of function ‘getmaxy’
scripts/kconfig/lxdialog/checklist.c:129: error: ‘stdscr’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:130: error: ‘KEY_MAX’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:131: warning: implicit declaration of function ‘getmaxx’
scripts/kconfig/lxdialog/checklist.c:137: error: ‘COLS’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:138: error: ‘LINES’ undeclared (first use in this function)
…
scripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of funct
scripts/kconfig/lxdialog/checklist.c:297: error: ‘KEY_LEFT’ undeclared (first us
scripts/kconfig/lxdialog/checklist.c:298: error: ‘KEY_RIGHT’ undeclared (first u
scripts/kconfig/lxdialog/checklist.c:310: warning: implicit declaration of funct
scripts/kconfig/lxdialog/checklist.c:312: error: ‘KEY_RESIZE’ undeclared (first
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1nem igazán értem mi lehet a probléma, ‘make xconfig’ -al is hibát jelez, továbbá ‘make config’-al működik de kezdő vok ahhoz végképp nem értek. Próbáltam másik kernellel (2.6.16.37) de ugyan ez volt a gond. A kernel dokumentációjában (changes) van egy lista a szükséges programokról és azok verziószámáról ami elengedhetetlen az adott kernel fordításához, megnéztem, ezeknek mind megfelelő a verziószámuk.
pls help :S -
SzerzőBejegyzés
legutóbbi hsz