Re: Rép. : Re: [Rtlinuxgpl] "rmmod hello" crashing with rtl3.2rc1 cvs

Der Herr Hofrat <[email protected]> Tue, 17 May 2005 10:53:04 +0200 (CEST)
Newsgroups gmane.linux.real-time.rtlinux.general
Message-ID <[email protected]>
> 
> I've tryed to compile kernel without SMP support but sadly it doesn't
> compile so the test is very fast ! ;-)
> It failed with error in ksyms.o (linux/kernel_stat.h smp_nums_cpu
> undeclared), perhaps caused by the rtlinux patch applied before.
> 
> I've joined the file .config used, but I'm not sure it can help a lot.
>
BTW: the .config you attached had SMP turned on  

with smp turned on rmmod hello hangs after turning off SMP:

make menuconfig  (turn of SMP otherwirs its your .cofnig)
cp .config no_smp
make distclean 
cp no_smp .config
make oldconfig
make dep
make bzImage

while : ; do insmod hello.o ; rmmod hello; done

does not hang. 

pleas check your rebuild procedure - it would be important to find if there
is a UP problem aswell - currently I only can reproduce the hang with SMP
set.

thx !
hofrat
_______________________________________________
Rtl mailing list
[email protected]
http://hq.fsmlabs.com/mailman/listinfo/rtl
http:/www.rtlinux-gpl.org/