BUG: spinlock wrong CPU on CPU#1, fgBT878/1849 (Not tainted)
by Alan McIvor
Hi,
I'm trying to upgrade a device driver from FC2 to FC5 and am running
into the problem shown below. This is on a hyperthreading P4 3GHz
running kernel 2.6.15-1.2054_FC5smp. It also happens using kernel
2.6.16-1.2096_FC5smp. There are 16 devices in the machine. For each
there is a fgBT878 process, running at the max SCHED_FIFO
priority. If I reduce the number of devices to 1 or 2, the problem
doesn't appear to happen (i.e., with 16 devices the panic happens
pretty much straight away, with 1 or 2 devices I have run for an
hour). I have no problems with a non-SMP kernel.
What sort of errors should I be looking for in my driver code?
Thanks
Alan McIvor
Reveal Limited
[root@d915 ~]# ok
ok
BUG: spinlock wrong CPU on CPU#1, fgBT878/1849 (Not tainted)
lock: d01b7ef0, .magic: dead4ead, .owner: fgBT878/1849, .owner_cpu: 0
[<c01d6501>] spin_bug+0x87/0xe9 [<c01d65ba>] _raw_spin_unlock+0x57/0x6c
[<c02f2232>] _spin_unlock_irqrestore+0x8/0xc [<d01b0ab0>] bttv_do_ioctl+0x3d7/0x74e [bt878_c]
[<c011d6a9>] activate_task+0x9d/0xaa [<c011da09>] try_to_wake_up+0x353/0x35d
[<d01aa34d>] video_usercopy+0x119/0x18d [videodev] [<c011c78f>] __wake_up_common+0x2f/0x53
[<c02f2156>] __down+0xce/0x107 [<c0136bb7>] hrtimer_cancel+0xa/0x10
[<c02f1b37>] schedule_hrtimer+0x33/0x6e [<c011da13>] default_wake_function+0x0/0xc
[<d01b06d6>] bttv_ioctl+0xe/0x11 [bt878_c] [<d01b06d9>] bttv_do_ioctl+0x0/0x74e [bt878_c]
[<c01717c3>] do_ioctl+0x47/0x5d [<c0171a23>] vfs_ioctl+0x24a/0x25c
[<c0171a7d>] sys_ioctl+0x48/0x5f [<c0103d25>] sysenter_past_esp+0x56/0x79
Kernel panic - not syncing: bad locking
[<c01234b6>] panic+0x3e/0x174 [<c01d6524>] spin_bug+0xaa/0xe9
[<c01d65ba>] _raw_spin_unlock+0x57/0x6c [<c02f2232>] _spin_unlock_irqrestore+0x8/0xc
[<d01b0ab0>] bttv_do_ioctl+0x3d7/0x74e [bt878_c] [<c011d6a9>] activate_task+0x9d/0xaa
[<c011da09>] try_to_wake_up+0x353/0x35d [<d01aa34d>] video_usercopy+0x119/0x18d [videodev]
[<c011c78f>] __wake_up_common+0x2f/0x53 [<c02f2156>] __down+0xce/0x107
[<c0136bb7>] hrtimer_cancel+0xa/0x10 [<c02f1b37>] schedule_hrtimer+0x33/0x6e
[<c011da13>] default_wake_function+0x0/0xc [<d01b06d6>] bttv_ioctl+0xe/0x11 [bt878_c]
[<d01b06d9>] bttv_do_ioctl+0x0/0x74e [bt878_c] [<c01717c3>] do_ioctl+0x47/0x5d
[<c0171a23>] vfs_ioctl+0x24a/0x25c [<c0171a7d>] sys_ioctl+0x48/0x5f
[<c0103d25>] sysenter_past_esp+0x56/0x79
<0>BUG: spinlock lockup on CPU#0, swapper/0, d01b7ef0 (Not tainted)
[<c01d6727>] _raw_spin_lock+0xb9/0xd7
[<d01b0263>] bttv_irq+0x36d/0x42e [bt878_c] [<c01456fe>] handle_IRQ_event+0x23/0x4c
[<c01457b4>] __do_IRQ+0x8d/0xdd [<c0105e8e>] do_IRQ+0x60/0x7b
=======================
[<c010474e>] common_interrupt+0x1a/0x20 [<c0102f2e>] mwait_idle+0x1f/0x33
[<c0102ef6>] cpu_idle+0x8f/0xa8 [<c03c8715>] start_kernel+0x2fe/0x304
17 years, 2 months
Mozilla - Flash Player..
by Ted Gervais
Hi everyone. I am knew to the list and have Fedora Core 5 newly
installed.
Most things are ok but I can't get the plugin for Macromedia Flash
Player installed. I have tried all the methods available to me and
while Fedora tells me that the Flash Player is installed, I don't see it
when I click on Help>About Plugins.
I have tried making sure the Flash Player files are in
~/.mozilla/plugins, and /usr/lib/mozilla, and any other place I think it
might be looking for it. No luck.
I have also tried to install it manually rather than using the automated
process. And still no luck. But in every case, Fedora tells me that
the Flash Player is installed.
Now, how do I tell Mozilla that it is installed.??
--
Ted Gervais
Coldbrook, Nova Scotia
Canada b4r1a7
17 years, 3 months
Re: bacula server
by RYAN M. vAN GINNEKEN
Thanks again mostly u/we got it to work so far. However it is asking for a pile of dependancies. I know give a guy an inch and he will try to take a mile or km here in Canada. Is there a way to install without any gui stuff or mabey i am wrong mabey there is no gui stuff. Some of the dependancies for those dependancies are X11 related.
I do not have any X11 stuff on this box it has no xwindows/gnome system and is minimum install Command prompt only. So before i go ahead and make a big mess of my faily clean fedora box do i really need all these or is there a way to turn some of them off.
Thanks again and sorry about top post i think my clock was messed up not sure how it happend but should be fixed now.
----- Original Message -----
From: Paul Howarth <paul(a)city-fan.org>
To: For users of Fedora Core releases <fedora-list(a)redhat.com>
Sent: Tuesday, March 14, 2006 1:10:02 AM GMT-0700
Subject: Re: bacula server
On Mon, 2006-03-13 at 17:11 -0700, RYAN M. vAN GINNEKEN wrote:
> First off thanks to all for your tremendous help without it i would have probably given up on bacula by now. Lets just say it is a probably a good thing the fedora box is remote so i cannot physically get to it. Got C++ installed managed to get the extras working and seem to have the rpmbuildtree in my home directory. Looks like i am on to a whole new set of problems now, but this is great i think this means progress right?
>
> rpmbuild]$ ls
> bacula-1.38.5-4.src.rpm BUILD RPMS SOURCES SPECS SRPMS
> [rmvg@shoemasters rpmbuild]$ rpmbuild --rebuild --define 'fc3 1' --define 'build_mysql 1' --define 'build_mysql4 1' bacula-1.38.5-4.src.rpm
> Installing bacula-1.38.5-4.src.rpm
> warning: user sbarn does not exist - using root
> warning: user sbarn does not exist - using root
> warning: user sbarn does not exist - using root
> warning: user sbarn does not exist - using root
> warning: user sbarn does not exist - using root
> warning: user sbarn does not exist - using root
> error: You must specify a platform. Please examine the spec file.
> error: line 67: Unknown tag: exit 1
We got the defines wrong. Try this:
$ rpmbuild --rebuild \
--define 'build_fc3 1' \
--define 'build_mysql4 1' \
bacula-1.38.5-4.src.rpm
> ps. I am unaware of top posting not sure what u mean, none of the other lists i am on seem to notice anything. Is this message top posted too?
Yes, it is. See here for an explanation:
http://en.wikipedia.org/wiki/Top-posting
Cheers, Paul.
--
fedora-list mailing list
fedora-list(a)redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
--
Computer King/CaNMail
http://www.computerking.ca http://www.canmail.org
Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials
Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm
Maybe Computer Science should be in the College of Theology. -- R. S. Barton
17 years, 3 months
what is linux-gate.so
by Gavin Li
Hi,
When I do ldd a.out, it depends linux-gate.so.1, what is it? I can't find it
in my whole system.
17 years, 4 months
xmaple and Fc5 (maple 10)
by Joachim Backes
Hi,
having the problem that xmaple (maple-10) does not run on FC5: it exits immediately.
maple-10 itself runs als CLI perfectly, but not as X application.
Did somebody make similar experiences, or did somebody solve this problem?
Any anwer is appreciated.
Regards
--
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
University of Kaiserslautern,Computer Center [RHRK],
Systems and Operations, High Performance Computing,
D-67653 Kaiserslautern, PO Box 3049, Germany
--------------------------------------------------
Phone: +49-631-205-2438, FAX: +49-631-205-3056
http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html
17 years, 4 months
VNC: Which desktop it displays
by Shane Presley
Hello,
I'm running VNC (pre-installed) with FC3. My client/view is on Windows 2000.
To configure VNC I modified /etc/sysconfig/vncservers
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 800x600"
And set a password. Then started the service "service vncserver start"
Starts up fine, and I can connect with my viewer to port 5901.
I'm new to Linux, so I'm confused about what desktop I am seeing. I
know with VNC server on a windows server, you get the display that the
local mouse/keyboard/monitor sees. There's only one desktop.
With FC3, I seem to be getting a new virtual desktop. I guess that
would be useful to run X applications. But is there a way to use VNC
to display the exact same thing that my locally attached
keyboard/mouse/monitor see? So if I change something remotely using
VNC, the local monitor also displays my changes. Just as if I was at
the console?
Thanks
Shane
17 years, 4 months
Installing Python 2.4
by Mariano Draghi
In http://www.python.org/2.4/rpms.html there are RPM packages for FC3,
and a Yum repository provided by python.org (hey! so far FC3 is the only
distro with RPMs provided by python.org itself!)
I'd like to know if anybody have installed these packages, and if they
fit pleasently into FC3. As Fedora uses Python *heavely*, I don't want
to break anything.
So, it's safe to install this, or I'd be better waiting for an official
update? (assuming there are plans for such an update...)
TIA,
--
Mariano
17 years, 4 months
scim and transliteration
by François Patte
Bonjour,
I would like to know if there is an input method in scim which could
provide roman transliteration letters: I need vowel with macron,
consonnant with upper and underdot etc.
I have found "latin pre" and "latin post" virtual keyboard but they do
not provide all composed letters I need. Is it possible to add some
composed letters?
There is also an "unicode" and "utf-8" keyboard: is there a
configuration method of scim which could allow to define keyboard short
cuts giving the letter corresponding to a code; for example, I define
"Alt a" short cut with u+0101 and get a lowercase a-macron, "Alt A" will
give uppercase a macron, and so on.
Thank you for attention and (I hope) answer.
--
François Patte
UFR de mathématiques et informatique
Université René Descartes
http://www.math-info.univ-paris5.fr/~patte
17 years, 4 months
Bash problems?
by Tomas Larsson
Dear group.
How do I do to, within a scrip, check if a directory I empty or not.
Cant find a way to do this in a simple way.
With best regards
Tomas Larsson
Sweden
Verus Amicus Est Tamquam Alter Idem
17 years, 4 months
Warning light on Fedora System
by WGregory
Thanks to the list, I am now able to play an audio sound and recording
from my Fedora 5 box to warn out our night crew of a problem (play
[filename].wav/ogg). I also would like to connect a warning light or
strobe to the system to provide visual warning. In addition to lan, I
have serial and usb ports available on my system.
Does anyone know of such a product? And how to trigger it to alert from
Fedora? Needless to say, also need way to turn if off from the Fedora.
17 years, 5 months