* Re: req for testers: 2.2.x fbcon alpha fixesZ
@ 1999-06-28 18:06 greg meno
0 siblings, 0 replies; 10+ messages in thread
From: greg meno @ 1999-06-28 18:06 UTC (permalink / raw)
To: axp-list
hello,
my platform is redhat 5.2 LX164 the patch(2.2.10-fbcon-cfb-alpha-fixes-6)
went smooth with the matrox millenium I/II code it boots up with the little
penguin logo.
quirks I've seen so far are:
milo: boot sda2:vmlinux.gz video=matrox:vesa:0x108
with these parameters my machine locked hard... it should'nt do that right?
and cat /dev/fb0 > ~/sshot
this should work also ?
I get "cat: /dev/fd0: Bad address "
thanks
-GReg
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: req for testers: 2.2.x fbcon alpha fixes
@ 1999-06-27 11:32 Jurgen Kramer
1999-06-27 15:22 ` req for testers: 2.2.x fbcon alpha fixesZ Jeff Garzik
0 siblings, 1 reply; 10+ messages in thread
From: Jurgen Kramer @ 1999-06-27 11:32 UTC (permalink / raw)
To: axp-list
Hi,
Unfortunately it still doesn't work. The funtion writel_na and relatives are all
external funtions and can not be found by the linker. Here is the output:
<snip>
make all_targets
make[3]: Entering directory `/usr/src/linux-2.2/drivers/video'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
-DBWIO_ENABLED -DEXPORT_SYMTAB -c fbcon.c
fbcon.c: In function `fbcon_show_logo':
fbcon.c:2050: warning: implicit declaration of function `writel_na'
fbcon.c:2058: warning: passing arg 2 of `pyxis_bw_writeb' makes integer from pointer
without a cast
fbcon.c:2080: warning: passing arg 2 of `pyxis_bw_writeb' makes integer from pointer
without a cast
fbcon.c:2090: warning: passing arg 2 of `pyxis_bw_writeb' makes integer from pointer
without a cast
fbcon.c:2132: warning: passing arg 2 of `pyxis_bw_writeb' makes integer from pointer
without a cast
fbcon.c:2161: warning: passing arg 2 of `pyxis_bw_writeb' makes integer from pointer
without a cast
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
-DBWIO_ENABLED -DEXPORT_SYMTAB -c fbmem.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
-DBWIO_ENABLED -DEXPORT_SYMTAB -c fbcon-cfb8.c
fbcon-cfb8.c: In function `fbcon_cfb8_putc':
fbcon-cfb8.c:136: warning: implicit declaration of function `writel_na'
fbcon-cfb8.c: In function `fbcon_cfb8_revc':
fbcon-cfb8.c:225: warning: implicit declaration of function `readl_na'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
-DBWIO_ENABLED -DEXPORT_SYMTAB -c fbcon-cfb16.c
fbcon-cfb16.c: In function `rectfill':
fbcon-cfb16.c:93: warning: implicit declaration of function `writel_na'
fbcon-cfb16.c:99: warning: passing arg 2 of `scr_writew' from incompatible pointer type
fbcon-cfb16.c: In function `fbcon_cfb16_revc':
fbcon-cfb16.c:239: warning: implicit declaration of function `readl_na'
<snip>
I tried to (quickly) locate the real write function but could not find it in all the
_write __write etc. spaghetti.
Jurgen
Jeff Garzik wrote:
> Jurgen Kramer wrote:
> >
> > Hi,
> >
> > I just tested your patch but unfortunately it does not compile. It goes wrong
> > when linking the kernel.
>
> Oops, that is an artifact of a [supposedly] unrelated includes change in
> my tree.
>
> To fix, simply add
>
> #include <asm/io.h>
>
> to fbcon.c and fbcon-cfb*.c.
>
> I am regenerating the patch, and should be up soon as
> http://havoc.gtf.org/garzik/kernel/files/UNTESTED/2.2.10-fbcon-cfb-alpha-fixes-3.bz2
>
> Thanks!
>
> Jeff
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: req for testers: 2.2.x fbcon alpha fixesZ
1999-06-27 11:32 req for testers: 2.2.x fbcon alpha fixes Jurgen Kramer
@ 1999-06-27 15:22 ` Jeff Garzik
1999-06-27 16:25 ` Jurgen Kramer
0 siblings, 1 reply; 10+ messages in thread
From: Jeff Garzik @ 1999-06-27 15:22 UTC (permalink / raw)
To: axp-list
On Sun, 27 Jun 1999, Jurgen Kramer wrote:
> Unfortunately it still doesn't work. The funtion writel_na and relatives are all
> external funtions and can not be found by the linker. Here is the output:
What is your platform? It compiled fine for me on RH6.0, both on my
AlphaStation 200 and my roommate's Pentium 166.
Regards,
Jeff
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: req for testers: 2.2.x fbcon alpha fixesZ
1999-06-27 15:22 ` req for testers: 2.2.x fbcon alpha fixesZ Jeff Garzik
@ 1999-06-27 16:25 ` Jurgen Kramer
1999-06-27 17:23 ` Jeff Garzik
1999-06-27 17:39 ` Quant-X Alpha Linux Support
0 siblings, 2 replies; 10+ messages in thread
From: Jurgen Kramer @ 1999-06-27 16:25 UTC (permalink / raw)
To: axp-list
My platform is RH 6.0 on a 164SX.
Jeff Garzik wrote:
> On Sun, 27 Jun 1999, Jurgen Kramer wrote:
> > Unfortunately it still doesn't work. The funtion writel_na and relatives are all
> > external funtions and can not be found by the linker. Here is the output:
>
> What is your platform? It compiled fine for me on RH6.0, both on my
> AlphaStation 200 and my roommate's Pentium 166.
>
> Regards,
>
> Jeff
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: req for testers: 2.2.x fbcon alpha fixesZ
1999-06-27 16:25 ` Jurgen Kramer
@ 1999-06-27 17:23 ` Jeff Garzik
1999-06-27 18:32 ` Quant-X Alpha Linux Support
` (2 more replies)
1999-06-27 17:39 ` Quant-X Alpha Linux Support
1 sibling, 3 replies; 10+ messages in thread
From: Jeff Garzik @ 1999-06-27 17:23 UTC (permalink / raw)
To: axp-list
Excellent feebdack; I just discovered that certain Alpha platforms
define their own I/O functions. Anyway, here is the updated patch:
http://gtf.org/garzik/kernel/files/UNTESTED/2.2.10-fbcon-cfb-alpha-fixes-5.bz2
Regards,
Jeff
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: req for testers: 2.2.x fbcon alpha fixesZ
1999-06-27 17:23 ` Jeff Garzik
@ 1999-06-27 18:32 ` Quant-X Alpha Linux Support
1999-06-27 19:37 ` Jurgen Kramer
1999-06-27 20:15 ` Richard Henderson
2 siblings, 0 replies; 10+ messages in thread
From: Quant-X Alpha Linux Support @ 1999-06-27 18:32 UTC (permalink / raw)
To: axp-list
Hi Jeff !
On Sun, Jun 27, 1999 at 01:23:05PM -0400, Jeff Garzik wrote:
> Excellent feebdack; I just discovered that certain Alpha platforms
Thank you.
I'm not really sure but I also think the sparc-stuff is broken.
+extern __inline__ void writel_na(unsigned int b, unsigned long addr)
+{
+ *(volatile unsigned long*)addr = b;
^^^^
+}
I would _heavily_ suggest to use '*(volatile unsigned int*)addr = b;'
BTW: I still have not applied your patch because of visual rejects.
;-}
--
ciao -
Stefan Traby
Quant-X Alpha Linux Support
Quant-X Service & Ph: (+43) 4212 90555-0
Consulting Ges.m.b.H. Fax: (+43) 4212 90555-555
http://www.quant-x.com Email: support@quant-x.com
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: req for testers: 2.2.x fbcon alpha fixesZ
1999-06-27 17:23 ` Jeff Garzik
1999-06-27 18:32 ` Quant-X Alpha Linux Support
@ 1999-06-27 19:37 ` Jurgen Kramer
1999-06-27 23:21 ` Quant-X Alpha Linux Support
1999-06-27 20:15 ` Richard Henderson
2 siblings, 1 reply; 10+ messages in thread
From: Jurgen Kramer @ 1999-06-27 19:37 UTC (permalink / raw)
To: axp-list
Hmm, I was just going to try the fixes-5 patch but it appears it's another format
I can't use patch.
It looks like a CVS file...
Greetings,
Jurgen
Jeff Garzik wrote:
> Excellent feebdack; I just discovered that certain Alpha platforms
> define their own I/O functions. Anyway, here is the updated patch:
>
> http://gtf.org/garzik/kernel/files/UNTESTED/2.2.10-fbcon-cfb-alpha-fixes-5.bz2
>
> Regards,
>
> Jeff
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: req for testers: 2.2.x fbcon alpha fixesZ
1999-06-27 19:37 ` Jurgen Kramer
@ 1999-06-27 23:21 ` Quant-X Alpha Linux Support
0 siblings, 0 replies; 10+ messages in thread
From: Quant-X Alpha Linux Support @ 1999-06-27 23:21 UTC (permalink / raw)
To: axp-list
Hi Jurgen !
On Sun, Jun 27, 1999 at 09:37:04PM +0200, Jurgen Kramer wrote:
> Hmm, I was just going to try the fixes-5 patch but it appears it's another format
> I can't use patch.
> It looks like a CVS file...
Hmm, yes. I also don't know how to apply a "cvs diff" patch. ;-(
unified. I always use cvs export followed by a normal diff.
But pipe the diff through the following perl-hack.
It should work (using "patch -p1")
(IMHO only if you don't use timestamp options).
------------------------------------------------------------
#!/usr/bin/perl
while(<>) {
if (/^Index:\s+/) {
s@^\w+:\s+@@;
chomp;
$_ = "diff -ruN x/$_ y/$_\n--- x/$_\n+++ y/$_\n";
<>; <>; <>; <>; <>; <>; <>;
}
print;
}
------------------------------------------------------------
--
ciao -
Stefan Traby
Quant-X Alpha Linux Support
Quant-X Service & Ph: (+43) 4212 90555-0
Consulting Ges.m.b.H. Fax: (+43) 4212 90555-555
http://www.quant-x.com Email: support@quant-x.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: req for testers: 2.2.x fbcon alpha fixesZ
1999-06-27 17:23 ` Jeff Garzik
1999-06-27 18:32 ` Quant-X Alpha Linux Support
1999-06-27 19:37 ` Jurgen Kramer
@ 1999-06-27 20:15 ` Richard Henderson
1999-06-28 1:28 ` Jeff Garzik
2 siblings, 1 reply; 10+ messages in thread
From: Richard Henderson @ 1999-06-27 20:15 UTC (permalink / raw)
To: axp-list
On Sun, Jun 27, 1999 at 01:23:05PM -0400, Jeff Garzik wrote:
> Excellent feebdack; I just discovered that certain Alpha platforms
> define their own I/O functions. Anyway, here is the updated patch:
It'd be better to make that `_na' addition once in asm-alpha/io.h
rather than in all of the core_foo.h files.
r~
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: req for testers: 2.2.x fbcon alpha fixesZ
1999-06-27 16:25 ` Jurgen Kramer
1999-06-27 17:23 ` Jeff Garzik
@ 1999-06-27 17:39 ` Quant-X Alpha Linux Support
1 sibling, 0 replies; 10+ messages in thread
From: Quant-X Alpha Linux Support @ 1999-06-27 17:39 UTC (permalink / raw)
To: axp-list
Hi Jurgen !
On Sun, Jun 27, 1999 at 06:25:50PM +0200, Jurgen Kramer wrote:
> My platform is RH 6.0 on a 164SX.
That is not the problem. ;-}
You are building a "SX kernel" but the define for writel_na
is only active if you build a "generic kernel".
So the patch is a bit broken.
Jeff, could you fix that in asm-alpha/io.h ?
IMHO you should move the thing totally out of #ifdef's
(except __ALPHA_IO_H ;-}).
In fact it should be faster (about 0.00000000001%) if you build
a non-generic kernel because __writel will be not accessed through
the machine vector ;-}
> Jeff Garzik wrote:
>
> > On Sun, 27 Jun 1999, Jurgen Kramer wrote:
> > > Unfortunately it still doesn't work. The funtion writel_na and relatives are all
> > > external funtions and can not be found by the linker. Here is the output:
> >
> > What is your platform? It compiled fine for me on RH6.0, both on my
> > AlphaStation 200 and my roommate's Pentium 166.
> >
> > Regards,
> >
> > Jeff
> >
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
ciao -
Stefan Traby
Quant-X Alpha Linux Support
Quant-X Service & Ph: (+43) 4212 90555-0
Consulting Ges.m.b.H. Fax: (+43) 4212 90555-555
http://www.quant-x.com Email: support@quant-x.com
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~1999-06-28 19:04 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-28 18:06 req for testers: 2.2.x fbcon alpha fixesZ greg meno
-- strict thread matches above, loose matches on Subject: below --
1999-06-27 11:32 req for testers: 2.2.x fbcon alpha fixes Jurgen Kramer
1999-06-27 15:22 ` req for testers: 2.2.x fbcon alpha fixesZ Jeff Garzik
1999-06-27 16:25 ` Jurgen Kramer
1999-06-27 17:23 ` Jeff Garzik
1999-06-27 18:32 ` Quant-X Alpha Linux Support
1999-06-27 19:37 ` Jurgen Kramer
1999-06-27 23:21 ` Quant-X Alpha Linux Support
1999-06-27 20:15 ` Richard Henderson
1999-06-28 1:28 ` Jeff Garzik
1999-06-27 17:39 ` Quant-X Alpha Linux Support
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox