From: Jon Smirl <jonsmirl@yahoo.com>
To: Jon Smirl <jonsmirl@yahoo.com>, James Simmons <jsimmons@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
fb-devel <linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: Re: mode setting and console locking, nvidia failure
Date: Mon, 17 May 2004 20:38:11 -0700 (PDT) [thread overview]
Message-ID: <20040518033811.3221.qmail@web14930.mail.yahoo.com> (raw)
In-Reply-To: <20040518030008.43467.qmail@web14925.mail.yahoo.com>
I have a new clue.
From console:
modprobe radeonfb
rmmod radeonfb
works, there is a one line printk on rmmod displayed on console
From X:
modprobe radeonfb
rmmod radeonfb
works, there is a one line printk on rmmod logged
From X:
modprobe radeonfb
VT switch to console
rmmod radeonfb
system hangs, but is a little active Ctrl-Alt-Del prints a line.
Now remove the code that does the printk on exit
From X:
modprobe radeonfb
VT switch to console
rmmod radeonfb
works, line from printk is displayed.
One part of this has got to be a problem with the console semaphore. That
semaphore should not be accessed from an fbdev driver. If you need to access if
from an fbdev driver then the fbdev design is broken. Think about the case with
multiple fbdev's loaded. Since we only have one console all of the fbdev can't
play with the semaphore. That semaphore needs to be controlled from fb/vgacon
and lock only the fbdev that is displaying the console, not the others.
Next experiment is to remove all reference to the console semaphore from my
fbdev driver.
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
next prev parent reply other threads:[~2004-05-18 3:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-16 15:57 mode setting and console locking Jon Smirl
2004-05-16 22:03 ` Benjamin Herrenschmidt
2004-05-17 2:29 ` Jon Smirl
2004-05-17 3:51 ` Jon Smirl
2004-05-17 3:51 ` Benjamin Herrenschmidt
2004-05-17 4:12 ` Jon Smirl
2004-05-17 4:15 ` Benjamin Herrenschmidt
2004-05-17 4:51 ` Re: mode setting and console locking, nvidia failure Jon Smirl
2004-05-17 5:03 ` Jon Smirl
2004-05-17 22:56 ` James Simmons
2004-05-17 23:26 ` Jon Smirl
2004-05-18 3:00 ` Jon Smirl
2004-05-18 3:38 ` Jon Smirl [this message]
2004-05-18 3:37 ` Benjamin Herrenschmidt
2004-05-18 3:53 ` Jon Smirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040518033811.3221.qmail@web14930.mail.yahoo.com \
--to=jonsmirl@yahoo.com \
--cc=benh@kernel.crashing.org \
--cc=jsimmons@infradead.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).