OpenBSD 4.6 on Alpha DS10

View: New views
2 Messages — Rating Filter:   Alert me  

OpenBSD 4.6 on Alpha DS10

by Larry Rohrer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It works --mostly.

dmesg: (portion)

[ using 617920 bytes of bsd ELF symbol table ]
consinit: not using prom console
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  
http://www.OpenBSD.org

OpenBSD 4.6 (GENERIC) #37: Thu Jul  9 21:54:18 MDT 2009
    deraadt@...:/usr/src/sys/arch/alpha/compile/GENERIC
COMPAQ AlphaServer DS10 466 MHz
8192 byte page size, 1 processor.
real mem = 536870912 (512MB)
rsvd mem = 2891776 (2MB)
avail mem = 516390912 (492MB)
mainbus0 at root
cpu0 at mainbus0: ID 0 (primary), 21264-4 (pass 2.3)
cpu0: Architecture extensions: 303<PAT,MVI,FIX,BWX>
tsc0 at mainbus0: 21272 Chipset, Cchip rev 0
tsc0: 2 Dchips, 1 memory bus of 16 bytes
tsc0: arrays present: 512MB (split), 0MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
pci0 at tsp0 bus 0



I had to find a machine that could create a CD-ROM. I had an old imac
that worked. The next problem was finding how to boot from the CD-ROM in
SRM. np. I was then able to install the OS and a number of packages.
THANKS for the alpha port!

Apache 1.3 from the generic alpha install works and apache 2.2 works as
well.



I can not get PHP to work with apache. When I configure apache to use
php with this DSO command httpd it hangs.

LoadModule php5_module /usr/local/lib/php/libphp5.so
I have also tried putting the library in the appropriate /var/www
directory with the same results. If the path is a wrong I get an error
so at least that much I did ok.

When I try to run apache2 it lists a bunch of missing symbols.

for example
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol
'ap_block _alarms'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol
'ap_unblo ck_alarms'


The packages for the alpha seem to have been compiled Jul, 24 2009. I
know 4.6 was released Oct 31 2009 but the date above in dmesg shows July
9 2009. It still seems to be a compilation mismatch.

I have tried bringing up httpd with -u command and I get the same
results. I have tried copying the set of libraries used by php into the
/var/www tree and it still hangs. I have tried a few other things.

I do not really want to compile from source but I am open to suggestions.


I subscribed to the OpenBSD alpha mailing list. It of course is not used
much. So I sent this to the generic list sorry.


Larry Rohrer


PS
oh pkg_info:


# pkg_info
ImageMagick-6.4.5.6 image processing tools
apache-httpd-2.2.11p0 apache HTTP server
apr-mt-1.2.11p2     Apache Portable Runtime
apr-util-mt-1.2.10p3 companion library to APR
aspell-0.60.6p3     spell checker designed to eventually replace Ispell
bzip2-1.0.5         block-sorting file compressor, unencumbered
c-client-2007e      University of Washington's c-client mail access routines
db-4.6.21p0         Berkeley DB package, revision 4
gdbm-1.8.3p0        GNU dbm
gettext-0.17p0      GNU gettext
ghostscript-8.63p7  GNU PostScript interpreter
ghostscript-fonts-8.11p0 35 standard PostScript fonts with Adobe name
aliases
ijs-0.35            raster image transmission library
jasper-1.900.1p0    reference implementation of JPEG-2000
jbigkit-1.6p1       lossless image compression library
jpeg-6bp5           IJG's JPEG compression utilities
lcms-1.18a          color management library
libiconv-1.13       character set conversion library
libltdl-1.5.26      GNU libtool system independent dlopen wrapper
libmcrypt-2.5.8     interface to access block/stream encryption algorithms
libwmf-0.2.8.3p4    WMF handling and conversion library
libxml-2.6.32p2     XML parsing library
mhash-0.9.9.9       strong hash library
mysql-client-5.0.83 multithreaded SQL database (client)
netpbm-10.26.57     toolkit for converting images between different formats
pcre-7.9            perl-compatible regular expression library
pear-1.7.2          base classes for common PHP tasks
pear-HTTP-Request-1.4.0p1 easy way to perform HTTP requests for PHP
pear-Net-Socket-1.0.6p1 network socket interface support for PHP
pear-Net-URL-1.0.14p1 easy parsing of URLs for PHP
pear-utils-1.7.2    utilities for managing pear extensions
php5-core-5.2.10    server-side HTML-embedded scripting language
php5-dba-5.2.10     dba GDBM access extensions for php5
php5-gd-5.2.10      image manipulation extensions for php5
php5-imap-5.2.10    imap, pop3 and nntp extensions for php5
php5-mbstring-5.2.10 multibyte characters extensions for php5
php5-mcrypt-5.2.10  mcrypt encryption/decryption extensions for php5
php5-mysql-5.2.10   mysql database access extensions for php5
php5-pgsql-5.2.10   pgsql database access extensions for php5
php5-pspell-5.2.10  pspell library extensions for php5
php5-xmlrpc-5.2.10  XML RPC functions for php5
phpMyAdmin-3.2.0    tool to handle the administration of MySQL over the web
phpPgAdmin-4.2.2    tool to handle the administration of PostgreSQL over
the web
phplist-2.10.5      web-based double opt-in newsletter manager
png-1.2.35          library for manipulating PNG images
postgresql-client-8.3.7 PostgreSQL RDBMS (client)
postgresql-server-8.3.7 PostgreSQL RDBMS (server)
t1lib-5.1.0p1       Type 1 rasterizer library for UNIX/X11
tiff-3.8.2p4        tools and library routines for working with TIFF images
transfig-3.2.5p0    tools to convert Xfig's .fig files
#




Re: OpenBSD 4.6 on Alpha DS10

by Vadim Zhukov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10 November 2009 г. 22:24:28 Larry Rohrer wrote:

> It works --mostly.
>
> dmesg: (portion)
>
> [ using 617920 bytes of bsd ELF symbol table ]
> consinit: not using prom console
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights
> reserved. Copyright (c) 1995-2009 OpenBSD. All rights reserved.
> http://www.OpenBSD.org
>
> OpenBSD 4.6 (GENERIC) #37: Thu Jul  9 21:54:18 MDT 2009
>     deraadt@...:/usr/src/sys/arch/alpha/compile/GENERIC
> COMPAQ AlphaServer DS10 466 MHz
> 8192 byte page size, 1 processor.
> real mem = 536870912 (512MB)
> rsvd mem = 2891776 (2MB)
> avail mem = 516390912 (492MB)
> mainbus0 at root
> cpu0 at mainbus0: ID 0 (primary), 21264-4 (pass 2.3)
> cpu0: Architecture extensions: 303<PAT,MVI,FIX,BWX>
> tsc0 at mainbus0: 21272 Chipset, Cchip rev 0
> tsc0: 2 Dchips, 1 memory bus of 16 bytes
> tsc0: arrays present: 512MB (split), 0MB, 0MB, 0MB, Dchip 0 rev 1
> tsp0 at tsc0
> pci0 at tsp0 bus 0
>
>
>
> I had to find a machine that could create a CD-ROM. I had an old imac
> that worked. The next problem was finding how to boot from the CD-ROM
> in SRM. np. I was then able to install the OS and a number of
> packages. THANKS for the alpha port!
>
> Apache 1.3 from the generic alpha install works and apache 2.2 works
> as well.
>
>
>
> I can not get PHP to work with apache. When I configure apache to use
> php with this DSO command httpd it hangs.

Hm. Did you tried -STABLE php5 port? There were some problems with
suhoshin patch.

> LoadModule php5_module /usr/local/lib/php/libphp5.so
> I have also tried putting the library in the appropriate /var/www
> directory with the same results. If the path is a wrong I get an error
> so at least that much I did ok.
>
> When I try to run apache2 it lists a bunch of missing symbols.
>
> for example
> /usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol
> 'ap_block _alarms'
> /usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol
> 'ap_unblo ck_alarms'

Yes, modules for Apache 1.x and 2.x are not compatible. I do not
remember, but AFAIK PHP5 port does not provide modules for 2.x.

> The packages for the alpha seem to have been compiled Jul, 24 2009. I
> know 4.6 was released Oct 31 2009 but the date above in dmesg shows
> July 9 2009. It still seems to be a compilation mismatch.

No. It means that kernel was prepared at July, 24. Some time was took by
polishing and preparing packages (mostly for other architectures). Then
it was released - Oct 18, 2009.

> I have tried bringing up httpd with -u command and I get the same
> results. I have tried copying the set of libraries used by php into
> the /var/www tree and it still hangs. I have tried a few other things.

Actually you'll have _more_ problems with disabling Chroot if you're
using stock programs, from base/packages.

> I do not really want to compile from source but I am open to
> suggestions.

Update your ports tree to -STABLE and run "make update" in www/php5.

> I subscribed to the OpenBSD alpha mailing list. It of course is not
> used much. So I sent this to the generic list sorry.

Good idea this time as it's not connected to Alpha problems, as far as I
can see.

--
  Best wishes,
    Vadim Zhukov

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?