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
cpu overheating
by Mike Chalmers
When I ran "yum update", when it started to install the updates it
said something like cpu 0 overheating cpu 1 overheating. Then my
screen went black for a second and the next thing I new is I was at
the login screen.
Having problems like this in Linux is unacceptable. That could have
caused major damage. Things like this need to be worked out. Linux
needs to focus more on the here and now and not keep pushing for the
newest technology.
Don't get me wrong I think Linux is a gem. I like the GPL but I don't
like how company's can use people's software and make profit. The
people that make the software should be getting paid if anyone is
getting paid.
Once again, things like this are unacceptable. I am afraid to use
Fedora 6 now. I alos, have am having problems after a clean
installation.
Kind Regards,
Mike
17 years, 2 months
webcam support/hardware compatibility list
by David
I'd like to buy a webcam that has good support in fedora,
preferably without any kernel patches/proprietary drivers.
Any suggestions?
Here are the web cams on my local Office Max shelf (or at
least are on their web site):
Creative WebCam Live! Pro (VF0080)
Creative Labs Live CAM Notebook Pro Webcam (VF0250)
Creative Labs VF0070 Live! Ultra WebCam for Notebooks
Creative WebCam Live! Ultra (VF0060)
Logitech 961399 Labtec Webcam Plus
LOGITECH 961422-0403 QuickCam Orbit MP Webcam
Creative Labs Web Camera VF0180EF Live!
Logitech QuickCam Chat
Logitech Quickcam Pro 5000
Logitech 961403-0403 QuickCam Fusion
Logitech Quickcam Communicate STX
Logitech Deluxe Quickcam for Notebooks
Logitech QuickCam Chat for Skype (961556)
Which of these, if any, will "just work"?
I've looked at:
http://fedoraproject.org/wiki/HCL
and
http://www.linux.com/howtos/Webcam-HOWTO/hardware.shtm
The fedora hardware compatibility list isn't maintained because
it's a rapidly moving target and the webcam howto doesn't give
me a warm fuzzy feeling that I can print it out and go to a local
electronics store and buy a webcam that will just work with fedora.
I don't need a list of webcams - I just want a reference for a
single webcam that is known to work well out of the box with
fedora core drivers and is on store shelves today.
Thanks in advance!
David
_________________________________________________________________
Check out all that glitters with the MSN Entertainment Guide to the Academy
Awards® http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2
17 years, 2 months
Kopete & video
by Anne Wilson
I understand that the fedora package for kopete can send and receive webcam
pictures, but not a full video_sound connection. I also understand that the
latest packages from source can manage both.
Has anyone got video working in kopete? If so, is it the fedora package or
self-compiled? It's easy enough on the configuration page, but I can't get
any sense out of it in use. I can receive messages that my friend wants to
send webcam images, and he can see the same from me, but accepting them seems
to make no difference.
I would think, too, that it would be necessary to open some firewall ports.
Anyone able to comment on this?
Anne
17 years, 2 months
FC6 not connecting
by Beartooth
I have a testbed machine on which I've installed various OSs at various
times, including FC6 from the same set of CDs repeatedly. The last couple
of installs have refused, adamantly, to connect to the Net -- so adamantly
that I had begun to suspect hardware trouble, in the form of some sudden
failure of a cable or my ethernet card, but couldn't find it.
So I booted up a live CD of Puppy Linux. Once I figured out that I needed
to ignore all its dialup stuff and just start with the setup icon, it
connected right up. No sweat at all.
So I took out the CD and tried again. It still kept telling me device eth0
"seems not to be present." I configured an eth1; trying to activate that
got the same result.
I've started from the icon, new to me, that looks like a yellow star on a
blue balloon, with what might be a mouse at its lower left. Properties for
that give a command "/usr/bin/system-config-network"
I can get to a box that lets me tell it to obtain IP address settings
automatically with dhcp, told it yes, and tried with and without the
address of my router. No Joy. The MAC address it has is the one it has
always had; but probing claims that doesn't exist.
I've tried going to the hosts tab and the edit button, putting in or
taking out the IP of the router. No joy.
What do I have to do to this thing?? I've never had to do any of this with
any of the other machines I've installed FC6 on with these same CDs --
nor 5, or 4, or 3, ... -- nor the first time with this same machine.
--
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.
17 years, 2 months
Installation problem of FC6
by Edward S.P. Leong
Dear You,
How can we install FC6 with all packages ( everything ) in Text mode ?
Eg : there is no any message by using "rpm -qa | grep xinetd.d"...
Edward.
17 years, 2 months
FC6 X.11 New Install Failure
by Jeff G
[repost attempt, since last one didn't seem to make it]
on Dell Desktop PC w (standard) Intel/82865G Video adapter
Not sure it's due to adapter, but I continually get a failure with new
installation on Dell Desktop when it gets to trying to load
xorg-x11-fonts-misc-7.1-2.noarch.rpm
it says installating xorg-x11-drivers-7.1-3-i386 (0 bytes)
[note: it really says 0 bytes]
x.org x11 driver installation package
It says package not found either missing or corrupt.
Anyone have any ideas?
Thanks,
Jeff
17 years, 2 months
Need to give a presentation on the benefits of Linux
by Arch Willingham
I am on a committee of a national organization called Associated General Contractors. Our committee is called the Electronic Information Systems committee (http://www.agc.org/page.ww?section=Technology&name=Electronic+Information...) and we are getting ready to have our annual meeting.
As background, I am the MIS person for our company. For the last year +- I have been learning to use Linux. I started with Fedora FC4 then went to FC5 and now FC6. I use it on my personal laptop and have probably installed it twenty times and I am sort of getting the hang of it (sort of being the operative word). I know there are other flavors of Linux but have never used them (not enough time in the day). I have read everything I can get my hands on on Linux and really enjoy using it. I have deployed it to one jobsite as sort of a beta test site. The interesting thing there is that the guy had never really used a computer and had no preconceived notion of "that's not the way Windows does it" and the test has been great.
I have to give a brief presentation this Saturday on Linux to my fellow committee members. There are so many resources I am not sure where to start. Would any of y'all have any suggestions? My thoughts are to sort of outline what it is, how many people use it, the issues surrounding the windows fear factor etc. I don't want to get too deep but I'd like to wake up more people to the virtues of the product.
Any help any of you could provide would be welcome and deeply appreciated!
Arch
Parks Construction
www.tuparks.com
17 years, 2 months
Mount hdd
by Eric Tanguy
I would like to mount a fat32 partition so i create /media/echange and
add /dev/hdd1 /media/echange vfat rw,defaults,user,umask=0000 0 0
to /etc/fstab the partition is mounted without any pb but i would like
this drive appears as a drive in gnome "poste de travail".
How is it possible ?
Thanks
Eric
17 years, 2 months
OT: dual-core or 64 bit?
by Mick M.
Hi list;
this is off topic.
I was wondering which is better a dual-core x86 cpu or an x64 cpu?
Which is actually faster/better in "normal" use?
How about installation problems and hardware cost?
I am not planning any upgrades just yet but am curios.
Mick M.
Death before Decaf!!!
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
17 years, 2 months