lkml.org 
[lkml]   [1999]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectPROBLEM: PCI trouble : can not mount /dev/cdrom
From
Date

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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.035 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site