Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* req for testers:  2.2.x fbcon alpha fixes
@ 1999-06-26 20:22 Jeff Garzik
  1999-06-26 22:13 ` Jurgen Kramer
  0 siblings, 1 reply; 14+ messages in thread
From: Jeff Garzik @ 1999-06-26 20:22 UTC (permalink / raw)
  To: axp-list

The 2.2.x framebuffer console access routines haven't been accessing the
screen correctly, which generally resulted in an oops whenever you try
to use a framebuffer driver as your console driver.

The patch at the following URL, against kernel 2.2.10, should fix this:
http://havoc.gtf.org/garzik/kernel/files/UNTESTED/2.2.10-fbcon-cfb-alpha-fixes-2.bz2

I am very interested in making sure this is widely tested (on both
Alphas and other platforms) to make sure it doesn't break anything.  So
if any of you have a moment to test this, that would be great.

In order to test the patch, you will need to enable a framebuffer driver
for your graphics card... which may limit testing to ATI, Permedia, and
Matrox-based cards for now.

Regards,

	Jeff


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: req for testers:  2.2.x fbcon alpha fixes
  1999-06-26 20:22 req for testers: 2.2.x fbcon alpha fixes Jeff Garzik
@ 1999-06-26 22:13 ` Jurgen Kramer
  1999-06-26 23:20   ` Jeff Garzik
  0 siblings, 1 reply; 14+ messages in thread
From: Jurgen Kramer @ 1999-06-26 22:13 UTC (permalink / raw)
  To: axp-list

Hi,

I just tested your patch but unfortunately it does not compile. It goes wrong
when linking the kernel.

Here is the output:

++++++++++++

make[1]: Leaving directory `/usr/src/linux-2.2/arch/alpha/math-emu'
ld -static -T arch/alpha/vmlinux.lds  arch/alpha/kernel/head.o init/main.o
init/version.o \
 --start-group \
 arch/alpha/kernel/kernel.o arch/alpha/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o
arch/alpha/math-emu/math-emu.o \
 fs/filesystems.a \
 net/network.a \
 drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a
drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/pci/pci.a drivers/pnp/pnp.a
drivers/video/video.a \
 /usr/src/linux/arch/alpha/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/alpha/lib/lib.a \
 --end-group \
 -o vmlinux
drivers/video/video.a(fbdev.o): In function `fbcon_cfb8_putc':
fbcon-cfb8.c(.text+0x6a7c): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x6a80): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x6ae0): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x6ae4): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x6b18): undefined reference to `writel_na'
drivers/video/video.a(fbdev.o)(.text+0x6b1c):fbcon-cfb8.c: more undefined references to
`writel_na' follow
drivers/video/video.a(fbdev.o): In function `fbcon_cfb8_revc':
fbcon-cfb8.c(.text+0x7238): undefined reference to `readl_na'
fbcon-cfb8.c(.text+0x723c): undefined reference to `readl_na'
fbcon-cfb8.c(.text+0x7258): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x725c): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x7270): undefined reference to `readl_na'
fbcon-cfb8.c(.text+0x7274): undefined reference to `readl_na'
fbcon-cfb8.c(.text+0x7290): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x7294): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x72a8): undefined reference to `readl_na'
fbcon-cfb8.c(.text+0x72ac): undefined reference to `readl_na'
fbcon-cfb8.c(.text+0x72c8): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x72cc): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x72dc): undefined reference to `readl_na'
fbcon-cfb8.c(.text+0x72e0): undefined reference to `readl_na'
fbcon-cfb8.c(.text+0x72fc): undefined reference to `writel_na'
fbcon-cfb8.c(.text+0x7300): undefined reference to `writel_na'
drivers/video/video.a(fbdev.o): In function `fbcon_cfb16_clear':
fbcon-cfb16.c(.text+0x7b38): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x7b3c): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x7b58): undefined reference to `writel_na'
drivers/video/video.a(fbdev.o)(.text+0x7b5c):fbcon-cfb16.c: more undefined references to
`writel_na' follow
drivers/video/video.a(fbdev.o): In function `fbcon_cfb16_revc':
fbcon-cfb16.c(.text+0x86cc): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x86d0): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x86e8): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x86ec): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x86fc): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x8700): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x8718): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x871c): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x8734): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x8738): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x8750): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x8754): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x8764): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x8768): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x8780): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x8784): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x879c): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x87a0): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x87b8): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x87bc): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x87cc): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x87d0): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x87e8): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x87ec): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x8800): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x8804): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x881c): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x8820): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x8830): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x8834): undefined reference to `readl_na'
fbcon-cfb16.c(.text+0x884c): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x8850): undefined reference to `writel_na'
drivers/video/video.a(fbdev.o): In function `fbcon_cfb16_clear_margins':
fbcon-cfb16.c(.text+0x89c8): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x89cc): undefined reference to `writel_na'
fbcon-cfb16.c(.text+0x89e8): undefined reference to `writel_na'
drivers/video/video.a(fbdev.o)(.text+0x89ec):fbcon-cfb16.c: more undefined references to
`writel_na' follow
drivers/video/video.a(fbdev.o): In function `fbcon_cfb24_revc':
fbcon-cfb24.c(.text+0x9eb0): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9eb4): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9ecc): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9ed0): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9ee0): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9ee4): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9efc): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9f00): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9f10): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9f14): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9f2c): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9f30): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9f4c): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9f50): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9f68): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9f6c): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9f7c): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9f80): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9f98): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9f9c): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9fac): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9fb0): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9fc8): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9fcc): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0x9fe8): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0x9fec): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa004): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa008): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa018): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa01c): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa034): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa038): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa048): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa04c): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa064): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa068): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa07c): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa080): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa09c): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa0a0): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa0b0): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa0b4): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa0cc): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa0d0): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa0e0): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa0e4): undefined reference to `readl_na'
fbcon-cfb24.c(.text+0xa0fc): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa100): undefined reference to `writel_na'
drivers/video/video.a(fbdev.o): In function `fbcon_cfb24_clear_margins':
fbcon-cfb24.c(.text+0xa2a0): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa2a4): undefined reference to `writel_na'
fbcon-cfb24.c(.text+0xa2bc): undefined reference to `writel_na'
drivers/video/video.a(fbdev.o)(.text+0xa2c0):fbcon-cfb24.c: more undefined references to
`writel_na' follow
drivers/video/video.a(fbdev.o): In function `fbcon_cfb32_revc':
fbcon-cfb32.c(.text+0xb610): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb614): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb630): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb634): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb644): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb648): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb660): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb664): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb674): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb678): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb690): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb694): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb6a4): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb6a8): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb6c0): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb6c4): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb6e0): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb6e4): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb700): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb704): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb714): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb718): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb730): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb734): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb744): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb748): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb760): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb764): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb774): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb778): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb790): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb794): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb7b0): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb7b4): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb7d0): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb7d4): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb7e4): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb7e8): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb800): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb804): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb814): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb818): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb830): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb834): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb844): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb848): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb860): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb864): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb878): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb87c): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb89c): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb8a0): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb8b0): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb8b4): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb8cc): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb8d0): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb8e0): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb8e4): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb8fc): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb900): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb910): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb914): undefined reference to `readl_na'
fbcon-cfb32.c(.text+0xb92c): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xb930): undefined reference to `writel_na'
drivers/video/video.a(fbdev.o): In function `fbcon_cfb32_clear_margins':
fbcon-cfb32.c(.text+0xba98): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xba9c): undefined reference to `writel_na'
fbcon-cfb32.c(.text+0xbab4): undefined reference to `writel_na'
drivers/video/video.a(fbdev.o)(.text+0xbab8):fbcon-cfb32.c: more undefined references to
`writel_na' follow
make: *** [vmlinux] Error 1

++++++++++++

I tried to compile the ATI framebuffer.




Jeff Garzik wrote:

> The 2.2.x framebuffer console access routines haven't been accessing the
> screen correctly, which generally resulted in an oops whenever you try
> to use a framebuffer driver as your console driver.
>
> The patch at the following URL, against kernel 2.2.10, should fix this:
> http://havoc.gtf.org/garzik/kernel/files/UNTESTED/2.2.10-fbcon-cfb-alpha-fixes-2.bz2
>
> I am very interested in making sure this is widely tested (on both
> Alphas and other platforms) to make sure it doesn't break anything.  So
> if any of you have a moment to test this, that would be great.
>
> In order to test the patch, you will need to enable a framebuffer driver
> for your graphics card... which may limit testing to ATI, Permedia, and
> Matrox-based cards for now.
>
> 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] 14+ messages in thread

* Re: req for testers:  2.2.x fbcon alpha fixes
  1999-06-26 22:13 ` Jurgen Kramer
@ 1999-06-26 23:20   ` Jeff Garzik
  1999-06-27 11:32     ` Jurgen Kramer
  0 siblings, 1 reply; 14+ messages in thread
From: Jeff Garzik @ 1999-06-26 23:20 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: req for testers:  2.2.x fbcon alpha fixes
  1999-06-26 23:20   ` Jeff Garzik
@ 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; 14+ 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] 14+ messages in thread

* Re: req for testers:  2.2.x fbcon alpha fixesZ
  1999-06-27 11:32     ` Jurgen Kramer
@ 1999-06-27 15:22       ` Jeff Garzik
  1999-06-27 16:25         ` Jurgen Kramer
  0 siblings, 1 reply; 14+ 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] 14+ 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; 14+ 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] 14+ 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; 14+ 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] 14+ 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; 14+ 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] 14+ 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; 14+ 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] 14+ 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; 14+ 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] 14+ 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; 14+ 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] 14+ 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; 14+ 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] 14+ messages in thread

* Re: req for testers:  2.2.x fbcon alpha fixesZ
  1999-06-27 20:15             ` Richard Henderson
@ 1999-06-28  1:28               ` Jeff Garzik
  0 siblings, 0 replies; 14+ messages in thread
From: Jeff Garzik @ 1999-06-28  1:28 UTC (permalink / raw)
  To: axp-list

Richard Henderson wrote:
> 
> 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.

Good point.  Did that, corrected the sparc64 io.h, and regenerated with
diff:
http://havoc.gtf.org/garzik/kernel/files/UNTESTED/2.2.10-fbcon-cfb-alpha-fixes-6.bz2

	Jeff


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: req for testers: 2.2.x fbcon alpha fixesZ
@ 1999-06-28 18:06 greg meno
  0 siblings, 0 replies; 14+ 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] 14+ messages in thread

end of thread, other threads:[~1999-06-28 19:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-26 20:22 req for testers: 2.2.x fbcon alpha fixes Jeff Garzik
1999-06-26 22:13 ` Jurgen Kramer
1999-06-26 23:20   ` Jeff Garzik
1999-06-27 11:32     ` 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
  -- strict thread matches above, loose matches on Subject: below --
1999-06-28 18:06 greg meno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox