Hozzászólások
Tehát:
1. letölt, kicsomagol
2. make ...config
3. make
make install kell?
make modules_install kell?
Jelenleg a kernelt a következő grub rész indítja:
title UHU-Linux
kernel (hd2,1)/boot/bzImage root=/dev/ide/host0/bus1/target0/lun0/part2
initrd (hd2,1)/boot/initrd
Ez alapján mehet az új kernel, ha annak a nevével helyettesítem a régit az új indító részben? pl:
title UHU-Linux-2-6-4
kernel (hd2,1)/boot/vmlinuz264 root=/dev/ide/host0/bus1/target0/lun0/part2
initrd (hd2,1)/boot/initrd
Üdv: Gyömbér
- A hozzászóláshoz be kell jelentkezni
Szia!
Nagyon jó anyagok vannak, amik alapján tudsz kernelt fordítani:
érdemes keresni a tldp.fsf.hu-n a kernel howtot, itt a hup fórumaiban,
meg a www.linuxforum.hu oldalon, valamint a fellow.uw.hu
is sok okosság van :)
de röviden:
1, kernel.org, kernel leszed.
2, kicsomi (általában) az /usr/src/ könyvtárba
3, az /usr/src be linux link készítése a kernel könyvtárára
(4,) ha kell, akkor megpeccs! ...segítség...
5, make menuconfig
6, config mentése
(7,) ha a kerneled 2.4.x: make dep
8-9 párhuzamosan is mehet
8, nohup make bzImage 1> bzImage_out 2> bzImage_err
9, nohup make modules 1> modules_out 2> modules_err
ha 8-9 hiba nélkül lement, akkor
10 make modules_install
11 cp /usr/src/kernel/arch/i386/boot/bzImage /boot/bzImage_uj_kernel
(12) ha hibát is akarsz keresni (debuggolni): cp /usr/src/System.map /boot/System.map_uj_kernel
13 grub megpatkolása:tedd be a grubba
ha 2.6.x-et használsz az initrd-s sor nem feltétlen szügséges.
title UHU-Linux uj_kernel
kernel (hd2,1)/boot/bzImage_uj_kernel root=/dev/ide/host0/bus1/target0/lun0/part2
initrd (hd2,1)/boot/initrd
14 rebootm, ha minden ok menni fog
- A hozzászóláshoz be kell jelentkezni
Köszönöm!
Ezt az üzenetet már 2.6.4 alól írom... 8)
Nem is volt olyan nehéz...
Üdv: Gyömbér
- A hozzászóláshoz be kell jelentkezni
Akkor már csak egyetlen problémám van: VmWare. Telepítés után a konfiguráláskor a következő a baja:
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.4/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config2/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config2/vmmon-only/driver-2.6.4'
make[2]: Leaving directory `/tmp/vmware-config2/vmmon-only/driver-2.6.4'
make[2]: Entering directory `/tmp/vmware-config2/vmmon-only/driver-2.6.4'
In file included from /lib/modules/2.6.4/build/include/asm/smp.h:18,
from /lib/modules/2.6.4/build/include/linux/smp.h:17,
from /lib/modules/2.6.4/build/include/linux/sched.h:23,
from /lib/modules/2.6.4/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.4/build/include/asm/mpspec.h:6:25: mach_mpspec.h: Nem létező fájl vagy könyvtár
In file included from /lib/modules/2.6.4/build/include/asm/smp.h:18,
from /lib/modules/2.6.4/build/include/linux/smp.h:17,
from /lib/modules/2.6.4/build/include/linux/sched.h:23,
from /lib/modules/2.6.4/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.4/build/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/lib/modules/2.6.4/build/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/lib/modules/2.6.4/build/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/lib/modules/2.6.4/build/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/lib/modules/2.6.4/build/include/asm/mpspec.h:50: error: `MAX_APICS' undeclared here (not in a function)
In file included from /lib/modules/2.6.4/build/include/asm/smp.h:20,
from /lib/modules/2.6.4/build/include/linux/smp.h:17,
from /lib/modules/2.6.4/build/include/linux/sched.h:23,
from /lib/modules/2.6.4/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.4/build/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
/lib/modules/2.6.4/build/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /lib/modules/2.6.4/build/include/linux/smp.h:17,
from /lib/modules/2.6.4/build/include/linux/sched.h:23,
from /lib/modules/2.6.4/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.4/build/include/asm/smp.h:71:26: mach_apicdef.h: Nem létező fájl vagy könyvtár
In file included from /lib/modules/2.6.4/build/include/linux/smp.h:17,
from /lib/modules/2.6.4/build/include/linux/sched.h:23,
from /lib/modules/2.6.4/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.4/build/include/asm/smp.h: In function `hard_smp_processor_id':/lib/modules/2.6.4/build/include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID'
../linux/driver.c: At top level:
../linux/driver.c:133: warning: initialization from incompatible pointer type
../linux/driver.c: In function `init_module':
../linux/driver.c:246: error: structure has no member named `prev'
../linux/driver.c:247: error: structure has no member named `next'
../linux/driver.c: In function `Panic':
../linux/driver.c:1304: warning: implicit declaration of function `_exit'
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
make[2]: *** [driver.o] Error 1
make[2]: Leaving directory `/tmp/vmware-config2/vmmon-only/driver-2.6.4'
make[1]: *** [driver] Error 2
make[1]: Leaving directory `/tmp/vmware-config2/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
Tudtok ezen segíteni vagy van már erre is valami megoldás :?: :?: :?:
Üdv: Gyömbér
- A hozzászóláshoz be kell jelentkezni
De mintha gyorsabb lenne ez a 2.6.4-es kernel, mint a 2.4-es társa. Vagy csak érzéki csalódás???
Üdv: Gyömbér
- A hozzászóláshoz be kell jelentkezni
[quote:d9e0e6b75f="gyomber"]
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please visit our Web site at
"http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
Tudtok ezen segíteni vagy van már erre is valami megoldás :?: :?: :?:
Üdv: Gyömbér
http://thomer.com/linux/migrate-to-2.6.html
- A hozzászóláshoz be kell jelentkezni
Elvileg minden összejött, csak azt nem tudtam UHU 1.1.1 alatt elérni, hogy a W$-os hdd-ket elérjem userként. Miért van az, hogy a rendszer az /mnt alá befűzi a hdd-ket, de azokat csak root-ként lehet elérni??? 0500 kóddal jönnek létre a csatlakozások. Ezt a jogosultságot MC-vel nem tudom átlőni, mert azt írja ki rá, hogy azért nem, mert csak olvasható fájlrendszer. Kérdés: ha ezt az NTFS fájlrendszert írhatónak állítom be a kernel konfignál, akkor ez lehetséges lesz majd? Mármint az, hogy nem csak rootként lehet használni? :? :? :? :roll: :roll: :roll:
- A hozzászóláshoz be kell jelentkezni
Olyannal próbálkozz, hogy felveszed magad a disk, cdrom, floppy és más hasonló csoportokba.
- A hozzászóláshoz be kell jelentkezni
[quote:0ed6912779="begin"]Olyannal próbálkozz, hogy felveszed magad a disk, cdrom, floppy és más hasonló csoportokba.
Nem biztos, hogy a legjobb otlet. Szerintem jobb az /etc/fstab -ban az opciokhoz hozzafuzni az umask=022 -t.
- A hozzászóláshoz be kell jelentkezni
Tud valaki segíteni? Honnan, milyen, érdemes-e?
Üdv: Gyömbér :roll: :roll: :roll:
- A hozzászóláshoz be kell jelentkezni
[quote:a7be3e3a95="gyomber"]Tud valaki segíteni? Honnan, milyen, érdemes-e?
Üdv: Gyömbér :roll: :roll: :roll:
Leszeded a forrast, leforgatod, beallitod a grub-ot. Diohejban ennyi.
- A hozzászóláshoz be kell jelentkezni