Messages in this thread Patch in this message | | | Subject | PROBLEM: PCI trouble : can not mount /dev/cdrom | From | nakamine@bd ... | Date | Sun, 28 Feb 1999 21:05:47 +0900 |
| |
Hi .
kernel version : 2.2.2 pcmcia-cs version : 3.0.9 PCI : adaptec APA-1460A SlimSCSI PCI PC : SONY VAIO PCG-505EX/64
Inserting adaptec APA-1460A SlimSCSI PCI , kernel said "bug: kernel timer added twice at c01adba4." . After that , I'm going to mount /dev/cdrom ( # mount /dev/cdrom ) ,but is in failure .
Changing the position of ":out" in linux/kernel/sched.c, kernel does well .
diff -u --recursive --new-file sched.c.org sched.c
--- sched.c.org Sat Feb 27 19:47:00 1999 +++ sched.c Sun Feb 28 14:48:42 1999 @@ -466,8 +466,11 @@ spin_lock_irqsave(&timerlist_lock, flags); if (timer->prev) goto bug; +out: internal_add_timer(timer); +/* out: +*/ spin_unlock_irqrestore(&timerlist_lock, flags); return;
Are these changes suitable ? NAKAMINE Tomoyuki ( nakamine@bd.mbn.or.jp )
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |