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, 4 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, 5 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, 5 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, 6 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, 6 months
GFS and Fedora
by Giulio Sorrentino
Which could be advantages for home users using that filesystem?
17 years, 6 months
what does FC5 x86-64 upgrade do with i386?
by Jack Howarth
I am still a bit unclear on what I should expect when attempting
to upgrade a FC4 x86-64 installation to FC5 x86-64. Specifically, I
have installed the i386 firefox and associated plugin rpms on the
FC4 x86-64 machine using yum.repos.d entries of fedora.i386.repo,
fedora-updates.i386.repo and fedora-extras.i386.repo (which are all
disabled by default). How exactly does the anaconda react to the
presence of the i386 rpms on a x86-64 machine? Will they be removed
in favor of the x86-64 rpms form FC5?
Also I have asked this several times here before but never gotten
a response. How are people keeping their i386 rpms properly updated
on a x86-64 machine? So far I can see no other option than to manually
reinstall the i386 packages with yum (using --enable-repo) when new
versions are available. However that is a very painful process and
makes it very difficult to keep the i386 rpms on a x86-64 machine
properly updated.
Thanks in advance for any comments.
Jack
17 years, 7 months
Changing the Color Coded Filesystem
by General Manager
Hello,
Can Anyone tell me how I can change the color files systems. The color blue
for the "Directories" is really hard to see.
Also is there a way to change the background color?
Thanks
17 years, 7 months
FC 5 cd/dvd,floppy devices missing.
by david walcroft
Hi,
As the header states I have no devices in fstab,media or desktop
setup. How do install them, I guess a package didn't get installed
Thanks david
17 years, 8 months
kudzu and modems.
by akonstam@trinity.edu
I can't understand the behavior of kudzu in respect to my serial
modem. After initial installation it detects the modem but after that
it is ignored. What I mean is I can remove the modem and kudzu ignores
the change, or I can remove the modem from the kudzu database and
kudzu ignores the change. I can run: kudzu --class MODEM and kudzu
will remove all my hardware from its database except the MOUSE but it
still ignores the modem.
How can I get kudzu to notice that I have changed, removed or added
the modem?
--
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
One Trinity Place.
San Antonio, TX 78212-7200
telephone: (210)-999-7484
email:akonstam@trinity.edu
17 years, 8 months