Hi, > On Tue, 2004-04-20 at 17:58, Aivils wrote: >> Hi all! >> >> My 2.6.5 will not start until i applay patch bellow: >> --- linux-2.6.5/kernel/softirq.c 2004-04-04 06:36:47.000000000 +0300 >> +++ linux-2.6.5/kernel/softirq.chg.c 2004-04-20 10:48:28.000000000 +0300 >> @@ -409,8 +409,8 @@ static int __devinit cpu_callback(struct >> >> switch (action) { >> case CPU_UP_PREPARE: >> - BUG_ON(per_cpu(tasklet_vec, hotcpu).list); >> - BUG_ON(per_cpu(tasklet_hi_vec, hotcpu).list); >> + per_cpu(tasklet_vec, cpu).list = NULL; >> + per_cpu(tasklet_hi_vec, cpu).list = NULL; >> p = kthread_create(ksoftirqd, hcpu, "ksoftirqd/%d", hotcpu); >> if (IS_ERR(p)) { >> printk("ksoftirqd for %i failed\n", hotcpu); > > This patch should be completely unnecessary. > > One possibility is that your compiler isn't obeying the section > attribute for some reason. Please send .config and output of "gcc -v". > > Thanks! > Rusty. $ gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1) .config is attached. BTW exactly these line were deleted from kernel/softirq.c in 2.6.4, the body of tasklet_init_cpu weren't carried correctly to its new place. ... > @@ -299,58 +300,24 @@ > > EXPORT_SYMBOL(tasklet_kill); > > -static void tasklet_init_cpu(int cpu) > -{ > - per_cpu(tasklet_vec, cpu).list = NULL; > - per_cpu(tasklet_hi_vec, cpu).list = NULL; > -} > - > -static int tasklet_cpu_notify(struct notifier_block *self, > - unsigned long action, void *hcpu) > -{ > - long cpu = (long)hcpu; > - switch(action) { > - case CPU_UP_PREPARE: > - tasklet_init_cpu(cpu); > - break; > - default: > - break; > - } > - return 0; > -} ... This changes caused that the linuxconsole.sf.net patch against newer kernels (>2.6.3) did not boot. The .config is from 2.6.6-rc2-mm1 + changes from linuxconsole.sf.net patch. Do you want the whole patch to investigate? Best regards, Zoltán Böszörményi