Which reminds me: drivers/video/fbmem.c at least seems to treat the
return value of ioremap() as a virtual address, since it calls
copy_{to,from}_user on it directly...
You're right. And the trouble there is that you can't easily find out which
ioremap() variant was used...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
From: James Simmons <hidden> Date: 2004-03-02 17:55:57
Hopefully one fb_write and fb_read in fbmem.c moves over to using
accelerated blits this can go away.
On Tue, 2 Mar 2004, Geert Uytterhoeven wrote:
On Tue, 2 Mar 2004, Kars de Jong wrote:
quoted
Which reminds me: drivers/video/fbmem.c at least seems to treat the
return value of ioremap() as a virtual address, since it calls
copy_{to,from}_user on it directly...
You're right. And the trouble there is that you can't easily find out which
ioremap() variant was used...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2004-03-02 23:14:39
On Tue, 2004-03-02 at 23:15, Geert Uytterhoeven wrote:
On Tue, 2 Mar 2004, Kars de Jong wrote:
quoted
Which reminds me: drivers/video/fbmem.c at least seems to treat the
return value of ioremap() as a virtual address, since it calls
copy_{to,from}_user on it directly...
You're right. And the trouble there is that you can't easily find out which
ioremap() variant was used...
And... it's illegal to call copy_to/from_user on the return of
ioremap anyway. Not only for semantic reasons, but also for practical
reasons, for example, ioremap returns non cacheable space on PPC,
and copy_to/from_user uses "cache hints" to speed up the copy.
Ben.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
From: James Simmons <hidden> Date: 2004-03-02 23:50:01
quoted
On Tue, 2 Mar 2004, Kars de Jong wrote:
quoted
Which reminds me: drivers/video/fbmem.c at least seems to treat the
return value of ioremap() as a virtual address, since it calls
copy_{to,from}_user on it directly...
You're right. And the trouble there is that you can't easily find out which
ioremap() variant was used...
And... it's illegal to call copy_to/from_user on the return of
ioremap anyway. Not only for semantic reasons, but also for practical
reasons, for example, ioremap returns non cacheable space on PPC,
and copy_to/from_user uses "cache hints" to speed up the copy.
Ug. More reason to replace the code with imageblit calls. The new fb_write
code for some reson tho scrambles the console screen and then scrolls the
screen below where I'm writing. I haven't figured out way yet.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2004-03-03 00:13:58
the code with imageblit calls. The new fb_write
code for some reson tho scrambles the console screen and then scrolls the
screen below where I'm writing. I haven't figured out way yet.
BTW. Have had a chance to look into those memory corruption issues
I told you about ? I've been rather busy lately...
Ben.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
From: James Simmons <hidden> Date: 2004-03-03 19:15:39
No. I lost my SCSI driver. So I lost my main machine. I need a new driver
but don't have the money to buy a drive right now. Maybe someone would be
kind to donate me a Ultra Wide SCSI 2 drive.
On Wed, 3 Mar 2004, Benjamin Herrenschmidt wrote:
quoted
the code with imageblit calls. The new fb_write
code for some reson tho scrambles the console screen and then scrolls the
screen below where I'm writing. I haven't figured out way yet.
BTW. Have had a chance to look into those memory corruption issues
I told you about ? I've been rather busy lately...
Ben.
From: Richard Smith <hidden> Date: 2004-03-03 22:56:41
James Simmons wrote:
No. I lost my SCSI driver. So I lost my main machine. I need a new driver
but don't have the money to buy a drive right now. Maybe someone would be
kind to donate me a Ultra Wide SCSI 2 drive.
On Wed, 3 Mar 2004, Benjamin Herrenschmidt wrote:
Sorry for sending this via the list but I still have not fixed our
mailserver to be able to send mail to james directly.
James:
1) How big of a drive to you have to have? I've got some 4 gigers I can
donate.
2) Do you have any way to use SCA drives?
--
Richard A. Smith
rsmith@bitworks.com
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
From: James Simmons <hidden> Date: 2004-03-03 23:24:13
Sorry for sending this via the list but I still have not fixed our
mailserver to be able to send mail to james directly.
James:
1) How big of a drive to you have to have? I've got some 4 gigers I can
donate.
The driver that died was 9 Gigs.
2) Do you have any way to use SCA drives?
Its a older (4 years old) machine with built in Ultra Wide 2 scsi support.
Its 68 pin. I believe my mother board supports 80 pin as well. I have to
look.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
From: Richard Smith <hidden> Date: 2004-03-03 23:36:47
James Simmons wrote:
quoted
1) How big of a drive to you have to have? I've got some 4 gigers I can
donate.
The driver that died was 9 Gigs.
Ok. But do you _have_ to have that much. Will 4 get you going? Or if
you can do multiple drives I have a few you could raid them or lvm them
into a big drive.
quoted
2) Do you have any way to use SCA drives?
Its a older (4 years old) machine with built in Ultra Wide 2 scsi support.
Its 68 pin. I believe my mother board supports 80 pin as well. I have to
look.
Unless you have a RAID backplane in your setup I doubt you motherboard
does SCA (80-pin) devices. Nice if so then nice motherboard.
--
Richard A. Smith
rsmith@bitworks.com
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
From: James Simmons <hidden> Date: 2004-03-03 23:47:13
quoted
The driver that died was 9 Gigs.
Ok. But do you _have_ to have that much. Will 4 get you going? Or if
you can do multiple drives I have a few you could raid them or lvm them
into a big drive.
No problem. Th reason for such a big drive before was it was a SuSE
distro. like most distors they throw everything including the kitchen sink
at you. I was use a debian system which I would strip down. I have no
problem doing mulitple drives. LVM is really cool :-)
quoted
quoted
2) Do you have any way to use SCA drives?
Its a older (4 years old) machine with built in Ultra Wide 2 scsi support.
Its 68 pin. I believe my mother board supports 80 pin as well. I have to
look.
Unless you have a RAID backplane in your setup I doubt you motherboard
does SCA (80-pin) devices. Nice if so then nice motherboard.
I don't think so then.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
From: Richard Smith <hidden> Date: 2004-03-04 00:29:06
James Simmons wrote:
quoted
quoted
The driver that died was 9 Gigs.
Ok. But do you _have_ to have that much. Will 4 get you going? Or if
you can do multiple drives I have a few you could raid them or lvm them
into a big drive.
No problem. Th reason for such a big drive before was it was a SuSE
distro. like most distors they throw everything including the kitchen sink
at you. I was use a debian system which I would strip down. I have no
problem doing mulitple drives. LVM is really cool :-)
Ok. Then I have 3 4Gib drives you can turn into a 12Gib setup. if you
can work out the SCA issue. They are SCA drives.
quoted
Unless you have a RAID backplane in your setup I doubt you motherboard
does SCA (80-pin) devices. Nice if so then nice motherboard.
I don't think so then.
The 80-pin connector for SCA has both Power and scsi ID all in one which
is why its used for RAID backplanes. They make SCA to 50 and 68 pin
adapters that have std pc power jacks on them. You will still need a
terminator though probally.
Have you looked on e-bay? 9Gib 68 pin drives are closeing for <= $20
18Gib for < $30. Which is less than what 3 SCA to 68 pin converters is
going to cost.
I have $20 I'll donate for you to buy a new drive. Got a pay-pal or
someother internet money account?
--
Richard A. Smith
rsmith@bitworks.com
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click