Blaz Antonic | 2 Dec 2005 17:50
Favicon

Re: SPXg support, last call

Hello,

Mailing list software (no doubt in its puny attempt at 'thwarting spam')
silently dumps my e-mail with driver source (~45 KB of text) while it
doesn't mind sharing the great offers for junk clone watches et al with
us. 

I've encountered this problem before but was never bothered enough to
ask for a workaround - how does one go about posting driver sources
without messages magically dissapearing (yes, I waited 24+ hours) ?

Blaz Antonic
--

-- 
Hi! I'm a signature virus!
Copy me into your signature to help me spread!

Jochen Kunz | 2 Dec 2005 20:13
Picon

Re: SPXg support, last call

On Fri, 02 Dec 2005 08:50:48 -0800
Blaz Antonic <blaz.antonic <at> siol.net> wrote:

> how does one go about posting driver sources
> without messages magically dissapearing
Put the source on a FTP or HTTP server and post a URL to it?

Did you get any information for a VAXstation 4000m60?
I may be able to downgrade a m90 to a m60 to run some tests for you. But
I don't want to fsck my hardware needlessly if you already have the
information you need.
--

-- 

tschüß,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/

Johnny Billquist | 4 Dec 2005 04:12
Picon

Re: Errors while compiling userland

Yeah, well, I have several issues with the VAX port currently as well.

When compiling libc, you get:

#   compile  libc/strtod.ln
CC=/usr/src/obj/tooldir.NetBSD-3.99.7-vax/bin/vax--netbsdelf-gcc 
/usr/src/obj/tooldir.NetBSD-3.99.7-vax/bin/vax--netbsdelf-lint -chapbxzF 
-X 272 -d /usr/src/obj/destdir.vax/usr/include  -D_LIBC -DLIBC_SCCS 
-DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc -DHESIOD -DINET6 -DNLS -DYP -I. 
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS -I/usr/src/sys 
-I/usr/src/lib/libc/stdlib -I/usr/src/libexec/ld.elf_so 
-I/usr/src/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/usr/src/lib/libc 
-DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP -DFLOATING_POINT -DALL_STATE 
-DUSG_COMPAT    -i /usr/src/lib/libc/stdlib/strtod.c
/usr/src/lib/libc/stdlib/strtod.c:2013: warning: preprocessing directive 
not recognized within macro arg
/usr/src/lib/libc/stdlib/strtod.c:2013: warning: preprocessing directive 
not recognized within macro arg
/usr/src/lib/libc/stdlib/strtod.c(1061): warning: i set but not used in 
function d2b [191]
/usr/src/lib/libc/stdlib/strtod.c(1255): warning: conversion to 
'unsigned long' due to prototype, arg #3 [259]
/usr/src/lib/libc/stdlib/strtod.c(1256): warning: conversion to 
'unsigned long' due to prototype, arg #3 [259]
/usr/src/lib/libc/stdlib/strtod.c(1396): warning: constant in 
conditional context [161]
/usr/src/lib/libc/stdlib/strtod.c(1685): warning: constant in 
conditional context [161]
/usr/src/lib/libc/stdlib/strtod.c(2010): warning: undefined or invalid # 
(Continue reading)

Johnny Billquist | 4 Dec 2005 04:54
Picon

Another fix for the kernel.

One more thing. The kernel now expects there to be an splraiseipl 
function, which hasn't existed before.
This also makes the kernel compile for VAX fail.
Here is a patch for that one. Maybe someone can commit it?

===================================================================
RCS file: /cvsroot/src/sys/arch/vax/include/intr.h,v
retrieving revision 1.17
diff -c -r1.17 intr.h
*** intr.h      27 Nov 2005 14:01:45 -0000      1.17
--- intr.h      4 Dec 2005 03:49:04 -0000
***************
*** 93,99 ****
                                 : "g" (reg));                   \
   }))

! #define _splraise(reg)                                                \
   ({                                                            \
         register int __val;                                     \
         __asm __volatile ("mfpr $0x12,%0"                       \
--- 93,99 ----
                                 : "g" (reg));                   \
   }))

! #define splraiseipl(reg)                                      \
   ({                                                            \
         register int __val;                                     \
         __asm __volatile ("mfpr $0x12,%0"                       \
***************
*** 115,127 ****
(Continue reading)

Blaz Antonic | 4 Dec 2005 19:35
Favicon

LCSPX/SPXg driver, testers wanted

Hello,

Another week has passed and since I haven't recieved any further replies
or thought of anything else that I wanted to add to driver at the moment
I figured I'd publish it and get some feedback. Even though LCSPX
portion hasn't been tested at all it should work in theory. Driver is
harmless and cannot ruin anything (data or hardware) even if it
misbehaves but do keep a functional kernel somewhere handy just in case
if it blows up on the first try :-)

Prerequisites:
- NetBSD/VAX 2.0.something or newer (tested on 2.0_BETA)
- The driver itself, hosted graciously by James K. Lowden:
http://www.schemamania.org/~blaz/spx.c (md5sum says:
a1a7c5a8d96989b04ab720515021e770  spx.c).
- Vaxstation 4000 model 60 or 9x with LCSPX or SPXg framebuffer (tested
with SPXg framebuffer only) *OR* (if you're feeling inquisitive) VS 3100
with SPX framebuffer. SPXgt framebuffer in 4000/9x will create a
false-positive ID and will mostlikely result in garbage on screen due to
unknown pixel layout of SPXgt framebuffer but should not cause any other
problems (as in: kernel will still be functioning normally). I didn't
receive any ID information about this particular HW combination so I
assume nobody out there uses this paritcular combination or just doesn't
care; either way, it's not my problem :-)
- S3 switch set to serial console if you're using 4000/9x - this is a
workaround for keyboard bug in keyboard driver (dz_vsbus) that nobody
with the know-how can be bothered to fix for what, 1 year now ? Again,
this isn't framebuffer driver bug but keyboard driver bug, please don't
report it to me - I didn't put it there and I don't know how to trigger
DZ interrupt properly in order to fix it. I haven't tested this
(Continue reading)

chistes | 3 Dec 2005 18:32
Picon

CHISTONTOS

- HIJO QUEDO BUENA LA SOPA DE MAMA...SI PAPA PERO LA VAMOS A EXTRAÑAR MUCHO

- POR QUE LAS PELÍCULAS DE CHAPLIN ERAN MUDAS............POR QUE EL DIRECTOR LE DECIA NO CHARLES CHAPLIN

- MAMA, MAMA UNA NENA DE 8 AÑOS PUEDE QUEDAR EMBARAZADA........NO........UFFFFF MENOS MAL

Entra un gallego a un bar con un loro y el cantinero pregunta:
  - ¿Habla el animal?
    Y el loro responde:
  - Y yo qué sé!!

_______________________________________________________________________

. Internet Gratis para toda la vida 

. Sin Programas Extraños en tu Pc.

. Solo crea un Acceso Telefonico y con Usario = internet y Clave = internet
  conectate a los Telefonos :

Buenos Aires y Gran Buenos Aires     5078-3010
Mendoza                              462-3010
Rosario                              517-3010
Cordoba                              536-3010
La Plata                             515-3010
Pilar                                65-6010

_______________________________________________________________________

(Continue reading)

Tom Ivar Helbekkmo | 7 Dec 2005 13:51
Picon

Error cross-compiling lib/libc/rpc/svc_vc.c

Building current CVS HEAD for VAX, on an i386, stops with error
messages for lib/libc/rpc/svc_vc.c:

/usr/src/lib/libc/rpc/svc_vc.c: In function `svc_vc_rendezvous_ops':
/usr/src/lib/libc/rpc/svc_vc.c:771: warning: cast discards qualifiers from pointer target type
/usr/src/lib/libc/rpc/svc_vc.c:773: warning: cast discards qualifiers from pointer target type
/usr/src/lib/libc/rpc/svc_vc.c:775: warning: cast discards qualifiers from pointer target type

This is reproducible using this source file:

#include <stdlib.h>
__dead void ofp(void) __attribute__((__noreturn__));
int main(int argc, char **argv) {
  int (*fp) (char *a, long b, int c);
  fp = (int (*) (char *, long, int)) ofp;
  return 0;
}

I compile the above, using the command line picked directly from the
build, thus:

/usr/local/tools/bin/vax--netbsdelf-gcc -O2 -pipe -Wall \
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
-Wno-sign-compare -Wno-traditional -Wno-uninitialized -Wreturn-type \
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Werror -D_LIBC \
-DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include \
-I/usr/src/lib/libc -DHESIOD -DINET6 -DNLS -DYP \
-I. -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS \
-I/usr/src/sys -I/usr/src/lib/libc/stdlib -I/usr/src/libexec/ld.elf_so \
-I/usr/src/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE \
(Continue reading)

John Klos | 9 Dec 2005 00:20

Apache 2 on VAX

Didn't someone fix this a while ago? VAX running 2.1, latest pkgsrc:

/bin/sh /usr/pkgsrc/www/apache2/work/httpd-2.0.55/libtool --silent 
--mode=link cc    -O2 -I/usr/local/include -I/usr/include  -DNETBSD 
-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/include -I/usr/include 
-I/usr/local/include/apr-0 -I/usr/local/include -I. 
-I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/os/unix 
-I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/server/mpm/prefork 
-I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/modules/http 
-I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/modules/filters 
-I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/modules/proxy 
-I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/include 
-I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/modules/generators 
-I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/server -I/usr/include/openssl 
-I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/modules/dav/main 
-export-dynamic   -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/lib 
-Wl,-R/usr/lib -o htpasswd  htpasswd.lo   -lz -lssl -lcrypto 
/usr/pkgsrc/www/apache2/work/httpd-2.0.55/srclib/pcre/libpcre.la 
/usr/local/lib/libaprutil-0.la -lexpat /usr/local/lib/libapr-0.la -lm 
-lcrypt -lresolv
/usr/pkgsrc/www/apache2/work/.buildlink/lib/libapr-0.so: undefined 
reference to `pthread_cond_signal'
/usr/pkgsrc/www/apache2/work/.buildlink/lib/libapr-0.so: undefined 
reference to `pthread_create'

...

--

-- 
As long as people believe in absurdities they will continue to commit
atrocities.  -Voltaire
(Continue reading)

Jason Thorpe | 9 Dec 2005 07:17

Re: Apache 2 on VAX


On Dec 8, 2005, at 3:20 PM, John Klos wrote:

> Didn't someone fix this a while ago? VAX running 2.1, latest pkgsrc:

I don't see -lpthread (or -pthread) in the link command...

>
> /bin/sh /usr/pkgsrc/www/apache2/work/httpd-2.0.55/libtool --silent  
> --mode=link cc    -O2 -I/usr/local/include -I/usr/include  -DNETBSD  
> -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/include -I/usr/ 
> include -I/usr/local/include/apr-0 -I/usr/local/include -I. -I/usr/ 
> pkgsrc/www/apache2/work/httpd-2.0.55/os/unix -I/usr/pkgsrc/www/ 
> apache2/work/httpd-2.0.55/server/mpm/prefork -I/usr/pkgsrc/www/ 
> apache2/work/httpd-2.0.55/modules/http -I/usr/pkgsrc/www/apache2/ 
> work/httpd-2.0.55/modules/filters -I/usr/pkgsrc/www/apache2/work/ 
> httpd-2.0.55/modules/proxy -I/usr/pkgsrc/www/apache2/work/ 
> httpd-2.0.55/include -I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/ 
> modules/generators -I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/ 
> server -I/usr/include/openssl -I/usr/pkgsrc/www/apache2/work/ 
> httpd-2.0.55/modules/dav/main -export-dynamic   -L/usr/local/lib - 
> Wl,-R/usr/local/lib -L/usr/lib -Wl,-R/usr/lib -o htpasswd   
> htpasswd.lo   -lz -lssl -lcrypto /usr/pkgsrc/www/apache2/work/ 
> httpd-2.0.55/srclib/pcre/libpcre.la /usr/local/lib/libaprutil-0.la - 
> lexpat /usr/local/lib/libapr-0.la -lm -lcrypt -lresolv
> /usr/pkgsrc/www/apache2/work/.buildlink/lib/libapr-0.so: undefined  
> reference to `pthread_cond_signal'
> /usr/pkgsrc/www/apache2/work/.buildlink/lib/libapr-0.so: undefined  
> reference to `pthread_create'
>
(Continue reading)

Johnny Billquist | 10 Dec 2005 04:45
Picon

Re: Error cross-compiling lib/libc/rpc/svc_vc.c

Ok. Here is a patch for the error you reported, Tom...
I don't know if this should be in the repository or not. No other 
architecture should be affected by this patch, but I'm not sure this is 
the "right" way of dealing with this:

--------------
Index: lib/libc/rpc/svc_vc.c
===================================================================
RCS file: /cvsroot/src/lib/libc/rpc/svc_vc.c,v
retrieving revision 1.13
diff -c -r1.13 svc_vc.c
*** lib/libc/rpc/svc_vc.c       9 Sep 2005 15:41:27 -0000       1.13
--- lib/libc/rpc/svc_vc.c       10 Dec 2005 03:43:43 -0000
***************
*** 762,767 ****
--- 762,770 ----
   #ifdef _REENTRANT
         extern mutex_t ops_lock;
   #endif
+ #ifdef __vax__
+ extern void abort(void);
+ #endif

         mutex_lock(&ops_lock);
         if (ops.xp_recv == NULL) {
***************
*** 772,778 ****
                 ops.xp_reply =
                     (bool_t (*) __P((SVCXPRT *, struct rpc_msg *)))abort;
                 ops.xp_freeargs =
(Continue reading)


Gmane