[ Astral Projection @ 31.01.2008. 20:48 ] @
trenutno koristim 2.6.17-k7 kernel i htio sam da stavim nešto svježije.. Prvo iz Debian repozitorujuma skinem 2.6.23-k7 i instaliram kernel-image i kernel-headers... I kad odaberem taj kernel dobijem ovu grešku: VFS: Cannot open root device "sda4" or unknown-block(0,0) Please append correct "root=" boot option; here are available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) i naravno *Lock lampice trepere... Samo da kažem da je sda4 root particija i to ext3.. izgleda da debian tim nije uključio podršku za ext3?? Onda sam skinuo kernel-source i sam iskompajlirao kernel, i pri bootu dobijem ovu poruku: Begin: waiting for root file system... i samo tako stoji.. ništa se ne dešava.. Jedino što mi je uspjelo je 2.6.23-amd64, ali imam problema sa nvidijinim drajverima.. Evo loga od nvidia-installera: Code: goran@shiva:~$ cat /var/log/nvidia-installer.log nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Wed Jan 30 21:35:38 2008 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false precompiled interfaces : true no ncurses color : false query latest version : false OpenGL header files : true no questions : false silent : false no recursion : false no backup : false kernel module only : false sanity : false add this kernel : false no runlevel check : false no network : false no ABI note : false no RPMs : false no kernel module : false force SELinux : default no X server check : false force tls : (not specified) force compat32 tls : (not specified) X install prefix : (not specified) X library install path : (not specified) X module install path : (not specified) OpenGL install prefix : (not specified) OpenGL install libdir : (not specified) compat32 install chroot : (not specified) compat32 install prefix : (not specified) compat32 install libdir : (not specified) utility install prefix : (not specified) utility install libdir : (not specified) doc install prefix : (not specified) kernel name : (not specified) kernel include path : (not specified) kernel source path : (not specified) kernel output path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp mirror : ftp://download.nvidia.com RPM file list : (not specified) Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No) -> No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface. -> Performing CC sanity check with CC="cc". -> Performing CC version check with CC="cc". -> Kernel source path: '/lib/modules/2.6.23-1-amd64/build' -> Kernel output path: '/lib/modules/2.6.23-1-amd64/build' -> Performing rivafb check. -> Performing nvidiafb check. -> Performing Xen check. -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi. o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi a.mod.o rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags} rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~ rm -f -f stprof stprof.o symtab.h Modules.symvers rm -f -rf .tmp_versions rm -f Makefile -> Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.23-1-amd64/ build SYSOUT=/lib/modules/2.6.23-1-amd64/build'... sh ./conftest.sh "cc" "cc" /lib/modules/2.6.23-1-amd64/build /lib/modules/2. 6.23-1-amd64/build cc_sanity_check full_output sh ./conftest.sh "cc" "cc" /lib/modules/2.6.23-1-amd64/build /lib/modules/2. 6.23-1-amd64/build select_makefile full_output make --no-print-directory -f Makefile module NVIDIA: calling KBUILD... make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.23-1-amd64/build SUBDIRS=/t mp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv modules test -e include/linux/autoconf.h -a -e include/config/auto.conf || (\ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are mis sing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it ."; \ echo; \ /bin/false) mkdir -p /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/.tmp_ versions rm -f /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/.tmp_ver sions/* make -f scripts/Makefile.build obj=/tmp/selfgz6674/NVIDIA-Linux-x86_64-100.1 4.11-pkg2/usr/src/nv echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz6674/NVI DIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv_compiler.h cc -Wp,-MD,/tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/. nv.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KER NEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-fu nction-declaration -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -p ipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno- sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CF I_SIGNAL_FRAME=1 -fomit-frame-pointer -fno-stack-protector -Wdeclaration-af ter-statement -Wno-pointer-sign -I/tmp/selfgz6674/NVIDIA-Linux-x86_64-100.1 4.11-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar -subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno- common -mso ft-float -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast -qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VE RSION_STRING=\"100.14.11\" -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_ MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESEN T -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP _PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PR ESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME= KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6674 /NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz6674/NVI DIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c In file included from include/linux/list.h:8, from include/linux/preempt.h:11, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from include/linux/utsname.h:35, from /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr /src/nv/nv-linux.h:19, from /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr /src/nv/nv.c:14: include/linux/prefetch.h: In function ‘prefetch_range’: include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a rithmetic In file included from include/linux/sched.h:59, from include/linux/utsname.h:35, from /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr /src/nv/nv-linux.h:19, from /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr /src/nv/nv.c:14: include/linux/nodemask.h: In function ‘__first_node’: include/linux/nodemask.h:229: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function ‘__next_node’: include/linux/nodemask.h:235: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function ‘__first_unset_node’: include/linux/nodemask.h:253: warning: signed and unsigned type in condition al expression In file included from include/asm/pci.h:103, from include/linux/pci.h:781, from /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr /src/nv/nv-linux.h:78, from /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr /src/nv/nv.c:14: include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’: include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *� �� used in arithmetic In file included from include/linux/compat.h:14, from include/asm/mtrr.h:106, from /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr /src/nv/nv-linux.h:112, from /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr /src/nv/nv.c:14: include/asm/compat.h: In function ‘compat_alloc_user_space’: include/asm/compat.h:204: warning: pointer of type ‘void *’ used in arit hmetic /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c: In funct ion ‘nvidia_init_module’: /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c:1326: err or: too many arguments to function ‘kmem_cache_create’ /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c:1435: err or: too many arguments to function ‘kmem_cache_create’ /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c:1569: err or: void value not ignored as it ought to be /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c: In funct ion ‘nvidia_exit_module’: /tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c:1601: err or: void value not ignored as it ought to be make[3]: *** [/tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/ nv.o] Error 1 make[2]: *** [_module_/tmp/selfgz6674/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr /src/nv] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 -> Error. ERROR: Unable to build the NVIDIA kernel module. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com. (naravno sam probao sa x64 verzijom drajvera i to binarni installer, jer debian nema pakete za amd64 kernel) probao sam i make oldconfig & make prepare u /usr/src/linux-source-2.6.23 i tu sam dobio puno grešaka... ima li neko bilo kakve rješenje za ovo? (bilo da mi proradi k7 ili amd64 kernel) :) |