Hi Andreas > > this is the default for static variables. The whole kernel relies on the > fact, that they are initialized to zero. How can this change anything? > Are you using a broken compiler? Can you try another version? > > Quoting from the dietlibc FAQ: > > Q: I see lots of uninitialized variables, like "static int foo;". What > gives? > A: "static" global variables are initialized to 0. ANSI C guarantees that. > Technically speaking, static variables go into the .bss ELF segment, > while "static int foo=0" goes into .data. Because .bss is zero > filled by the OS, it does not need to be in the actual binary. So it > is in fact better to not initialize static variables if the desired > initialization value is 0 anyway. The same is true for pointers, by > the way. On all platforms supported by the diet libc, numeric zero > is also the pointer value for NULL. So not initializing a static > pointer yields NULL. > > Regards, > Andreas > Sorry - you're absolutely right, I just took a quick lopok at the wrong sources an made a wrong decision :) The problem are the lot of unnecessary printk statements in printk statements in linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c like: printk("cx24108 debug: entering SetTunerFreq, freq=%d\n",freq); printk("cx24108 debug: select vco #%d (f=%d)\n",i,freq); printk("cx24108 debug: pump=%d, n=%d, a=%d\n",pump,n,a); It was reported over a year ago and no one takes care of these :( This leads to that syslog: May 27 21:46:42 [kernel] cx24108 debug: pump=1, n=49, a=5 May 27 21:46:42 [kernel] cx24108 debug: entering SetTunerFreq, freq=1584564 May 27 21:46:42 [kernel] cx24108 debug: select vco #7 (f=1584564) May 27 21:46:42 [kernel] cx24108 debug: pump=1, n=48, a=31 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1593154 May 27 21:46:43 [kernel] cx24108 debug: select vco #7 (f=1593154) May 27 21:46:43 [kernel] cx24108 debug: pump=1, n=49, a=7 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1582846 May 27 21:46:43 [kernel] cx24108 debug: select vco #7 (f=1582846) May 27 21:46:43 [kernel] cx24108 debug: pump=1, n=48, a=29 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1594872 May 27 21:46:43 [kernel] cx24108 debug: select vco #7 (f=1594872) May 27 21:46:43 [kernel] cx24108 debug: pump=1, n=49, a=9 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1581128 May 27 21:46:43 [kernel] cx24108 debug: select vco #7 (f=1581128) May 27 21:46:43 [kernel] cx24108 debug: pump=1, n=48, a=27 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1596590 May 27 21:46:43 [kernel] cx24108 debug: select vco #7 (f=1596590) May 27 21:46:43 [kernel] cx24108 debug: pump=1, n=49, a=11 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1579410 May 27 21:46:43 [kernel] cx24108 debug: select vco #7 (f=1579410) May 27 21:46:43 [kernel] cx24108 debug: pump=1, n=48, a=26 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1598308 May 27 21:46:43 [kernel] cx24108 debug: select vco #7 (f=1598308) May 27 21:46:43 [kernel] cx24108 debug: pump=1, n=49, a=12 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1577692 May 27 21:46:43 [kernel] cx24108 debug: select vco #7 (f=1577692) May 27 21:46:43 [kernel] cx24108 debug: pump=1, n=48, a=24 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1600026 May 27 21:46:43 [kernel] cx24108 debug: select vco #7 (f=1600026) May 27 21:46:43 [kernel] cx24108 debug: pump=1, n=49, a=14 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1575974 May 27 21:46:43 [kernel] cx24108 debug: select vco #6 (f=1575974) May 27 21:46:43 [kernel] cx24108 debug: pump=0, n=48, a=22 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1601744 May 27 21:46:43 [kernel] cx24108 debug: select vco #7 (f=1601744) May 27 21:46:43 [kernel] cx24108 debug: pump=1, n=49, a=16 May 27 21:46:43 [kernel] cx24108 debug: entering SetTunerFreq, freq=1574256 May 27 21:46:43 [kernel] cx24108 debug: select vco #6 (f=1574256) May 27 21:46:43 [kernel] cx24108 debug: pump=0, n=48, a=20 May 27 21:46:44 [kernel] cx24108 debug: entering SetTunerFreq, freq=1588000 May 27 21:46:44 [kernel] cx24108 debug: select vco #7 (f=1588000) -- Helmut Auer, helmut@xxxxxxxxxxxxx _______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb