* [parisc-linux] build success
@ 1999-06-09 21:26 Tor Arntsen
1999-06-09 21:43 ` [parisc-linux] Trying to get HP-UX working Alan Cox
1999-06-09 22:06 ` [parisc-linux] build success Alex deVries
0 siblings, 2 replies; 13+ messages in thread
From: Tor Arntsen @ 1999-06-09 21:26 UTC (permalink / raw)
To: parisc-linux
Alex deVries mailed me and said he used the default configs, so I just
pressed return to all make config questions and hey presto it compiled
(except for one thing, coming back to that).
Cross-compiling environment: SGI Octane, irix 6.5, self-built cross compiler
and binutils (from CVS), linux kernel from cvs.
One little thing failed for me (people are obviously cross-compiling on
Linux in general, I guess). There is no /bin/bash on SGI, it mostly lives
in /usr/freeware/bin. The following patch fixed it for me (typical Perl
portability hack):
------
Index: arch/parisc/hp//boot/boot_tools/createheader.sh
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/hp/boot/boot_tools/createheader.sh,v
retrieving revision 1.1
diff -u -r1.1 createheader.sh
--- createheader.sh 1999/06/09 18:28:04 1.1
+++ createheader.sh 1999/06/09 21:20:20
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# This is a script that creates a header given the
# ipl and vmlinux file locations.
------
-Tor
^ permalink raw reply [flat|nested] 13+ messages in thread
* [parisc-linux] Trying to get HP-UX working
1999-06-09 21:26 [parisc-linux] build success Tor Arntsen
@ 1999-06-09 21:43 ` Alan Cox
1999-06-09 22:27 ` xomina
` (3 more replies)
1999-06-09 22:06 ` [parisc-linux] build success Alex deVries
1 sibling, 4 replies; 13+ messages in thread
From: Alan Cox @ 1999-06-09 21:43 UTC (permalink / raw)
To: Tor Arntsen; +Cc: parisc-linux
Well I have the HP a hub and some cabling. The web console works great (cute
hack) and it understands my subnetting although it came shipped on an
IP address belonging to RIPE not HP or RFC1597 (duh)
I can't however get HP/UX to set up an interface
194.168.151.23 netmask 255.255.255.224
which I really need to do. Also before I go and build all the sane tools
so the box is usable has anyone already built a big tar file of HP/UX binaries
of gcc/bash/fileutils etc ?
Alan
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: [parisc-linux] Trying to get HP-UX working
1999-06-09 21:43 ` [parisc-linux] Trying to get HP-UX working Alan Cox
@ 1999-06-09 22:27 ` xomina
1999-06-09 22:43 ` John David Anglin
1999-06-09 22:48 ` Alan Cox
1999-06-09 22:50 ` Erik Paulson
` (2 subsequent siblings)
3 siblings, 2 replies; 13+ messages in thread
From: xomina @ 1999-06-09 22:27 UTC (permalink / raw)
To: Alan Cox; +Cc: parisc-linux
On Wed, 9 Jun 1999, Alan Cox wrote:
> which I really need to do. Also before I go and build all the sane tools
> so the box is usable has anyone already built a big tar file of HP/UX binaries
> of gcc/bash/fileutils etc ?
here's the gnu directory taken from my HP-UX 10.20 machine at work. it
includes the info/, man/, include/, etc directories, so let me know if
you'd prefer just bin/. it's 11.5 MB gzipped right now. and go easy, i
put it on my lowly P120 Debian machine... 8)
http://209.181.241.33/~oig/gnu.tar.gz
ryan
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: [parisc-linux] Trying to get HP-UX working
1999-06-09 22:27 ` xomina
@ 1999-06-09 22:43 ` John David Anglin
1999-06-09 23:04 ` xomina
1999-06-09 22:48 ` Alan Cox
1 sibling, 1 reply; 13+ messages in thread
From: John David Anglin @ 1999-06-09 22:43 UTC (permalink / raw)
To: xomina; +Cc: alan, parisc-linux
>
>
> On Wed, 9 Jun 1999, Alan Cox wrote:
>
> > which I really need to do. Also before I go and build all the sane tools
> > so the box is usable has anyone already built a big tar file of HP/UX binaries
> > of gcc/bash/fileutils etc ?
>
> here's the gnu directory taken from my HP-UX 10.20 machine at work. it
> includes the info/, man/, include/, etc directories, so let me know if
> you'd prefer just bin/. it's 11.5 MB gzipped right now. and go easy, i
> put it on my lowly P120 Debian machine... 8)
Are they static so that they will work without shared libraries?
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [parisc-linux] Trying to get HP-UX working
1999-06-09 22:43 ` John David Anglin
@ 1999-06-09 23:04 ` xomina
0 siblings, 0 replies; 13+ messages in thread
From: xomina @ 1999-06-09 23:04 UTC (permalink / raw)
To: John David Anglin; +Cc: parisc-linux
On Wed, 9 Jun 1999, John David Anglin wrote:
> > here's the gnu directory taken from my HP-UX 10.20 machine at work. it
>
> Are they static so that they will work without shared libraries?
oops, no, they appear to be dynamic. at least, i assume that's what this
means:
mercury:/usr/local/gnu/bin> chatr bash
bash:
shared executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
internal name:
bash
shared library list:
dynamic /usr/lib/libc.1
shared library binding:
deferred
static branch prediction disabled
data page size: 4K
instruction page size: 4K
mercury:/usr/local/gnu/bin>
sorry, i didn't install them on this machine, and wasn't aware they
weren't statically-linked. comes from being a non-kernel programmer and
being a bit hasty to find something i could possibly help out with, i
suppose!
ryan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [parisc-linux] Trying to get HP-UX working
1999-06-09 22:27 ` xomina
1999-06-09 22:43 ` John David Anglin
@ 1999-06-09 22:48 ` Alan Cox
1 sibling, 0 replies; 13+ messages in thread
From: Alan Cox @ 1999-06-09 22:48 UTC (permalink / raw)
To: xomina; +Cc: alan, parisc-linux
> here's the gnu directory taken from my HP-UX 10.20 machine at work. it
> includes the info/, man/, include/, etc directories, so let me know if
> you'd prefer just bin/. it's 11.5 MB gzipped right now. and go easy, i
> put it on my lowly P120 Debian machine... 8)
>
> http://209.181.241.33/~oig/gnu.tar.gz
Grabbing. You win an official hero point
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [parisc-linux] Trying to get HP-UX working
1999-06-09 21:43 ` [parisc-linux] Trying to get HP-UX working Alan Cox
1999-06-09 22:27 ` xomina
@ 1999-06-09 22:50 ` Erik Paulson
1999-06-09 22:52 ` Matt Taggart
1999-06-10 14:48 ` Fredrik Soderblom
3 siblings, 0 replies; 13+ messages in thread
From: Erik Paulson @ 1999-06-09 22:50 UTC (permalink / raw)
To: Alan Cox; +Cc: parisc-linux
>
> Well I have the HP a hub and some cabling. The web console works great (cute
> hack) and it understands my subnetting although it came shipped on an
> IP address belonging to RIPE not HP or RFC1597 (duh)
>
> I can't however get HP/UX to set up an interface
>
> 194.168.151.23 netmask 255.255.255.224
>
> which I really need to do. Also before I go and build all the sane tools
> so the box is usable has anyone already built a big tar file of HP/UX binaries
> of gcc/bash/fileutils etc ?
There's alot of stuff on the HP-UX Porting center; we've got a mirror here
at hpux.cae.wisc.edu, there's also a UK one at http://hpux.csc.liv.ac.uk
-Erik
>
> Alan
>
> ---------------------------------------------------------------------------
> To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with
> `unsubscribe' as the subject.
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [parisc-linux] Trying to get HP-UX working
1999-06-09 21:43 ` [parisc-linux] Trying to get HP-UX working Alan Cox
1999-06-09 22:27 ` xomina
1999-06-09 22:50 ` Erik Paulson
@ 1999-06-09 22:52 ` Matt Taggart
1999-06-09 23:19 ` Alan Cox
1999-06-10 13:21 ` Steven Pritchard
1999-06-10 14:48 ` Fredrik Soderblom
3 siblings, 2 replies; 13+ messages in thread
From: Matt Taggart @ 1999-06-09 22:52 UTC (permalink / raw)
To: Alan Cox; +Cc: Tor Arntsen, parisc-linux
Alan Cox writes...
>I can't however get HP/UX to set up an interface
>
> 194.168.151.23 netmask 255.255.255.224
Are you getting errors or do you just need to know where to make changes?
If it's the former, post the errors and maybe someone can help. If its the
latter, you probably want to edit /etc/rc.config.d/netconf
>which I really need to do. Also before I go and build all the sane tools
>so the box is usable has anyone already built a big tar file of HP/UX
binaries
>of gcc/bash/fileutils etc ?
I think it would be nice for all the developers to be sync'ed up and using
the latest tools. Right?
Does it make sense to go one step further and package them in either HP's
SD depot format or alternatively RPM(and provide RPM on HP-UX)? I have some
SD experience and could automate the packaging if needed.
Another, somewhat larger, option would be to produce a custom HP-UX image
for the people working on the port. We can slap that image on bootable CDs
for distribution. Rebuilding a system from one of these CD's only takes
about 20 minutes. The image could be rebuilt fairly easily if it needed to
be updated. I can also help with this if needed.
What does everyone think?
Thanks,
--
Matt Taggart Technical Consulting Lab
taggart@fc.hp.com Workstation Systems Division
Ft Collins, CO Hewlett Packard
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [parisc-linux] Trying to get HP-UX working
1999-06-09 22:52 ` Matt Taggart
@ 1999-06-09 23:19 ` Alan Cox
1999-06-10 8:57 ` Piotr Strzy¿ewski
1999-06-10 13:21 ` Steven Pritchard
1 sibling, 1 reply; 13+ messages in thread
From: Alan Cox @ 1999-06-09 23:19 UTC (permalink / raw)
To: Matt Taggart; +Cc: alan, tor, parisc-linux
> >I can't however get HP/UX to set up an interface
> >
> > 194.168.151.23 netmask 255.255.255.224
>
> Are you getting errors or do you just need to know where to make changes?
> If it's the former, post the errors and maybe someone can help. If its the
> latter, you probably want to edit /etc/rc.config.d/netconf
Umm webconsole doesnt support cut/paste
ifconfig lan0 194.168.151.23 netmask 255.255.255.224
ifconfig: ioctl (SIOCSIFNETMASK): bad value
Which is kind of a problem
> for distribution. Rebuilding a system from one of these CD's only takes
> about 20 minutes. The image could be rebuilt fairly easily if it needed to
> be updated. I can also help with this if needed.
>
> What does everyone think?
A set of GNU tools for HP/UX in a easy format is probably going to make many
HP/UX users happy too - SCO has the "skunkware" CD which is basically a
GNU brain transplant or SCO and is a similar idea.
Alan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [parisc-linux] Trying to get HP-UX working
1999-06-09 23:19 ` Alan Cox
@ 1999-06-10 8:57 ` Piotr Strzy¿ewski
0 siblings, 0 replies; 13+ messages in thread
From: Piotr Strzy¿ewski @ 1999-06-10 8:57 UTC (permalink / raw)
To: parisc-linux; +Cc: Alan Cox
Alan Cox wrote:
> > >I can't however get HP/UX to set up an interface
> > >
> > > 194.168.151.23 netmask 255.255.255.224
> >
> > Are you getting errors or do you just need to know where to make changes?
> > If it's the former, post the errors and maybe someone can help. If its the
> > latter, you probably want to edit /etc/rc.config.d/netconf
>
> Umm webconsole doesnt support cut/paste
>
> ifconfig lan0 194.168.151.23 netmask 255.255.255.224
> ifconfig: ioctl (SIOCSIFNETMASK): bad value
>
> Which is kind of a problem
Alan - this is from man ifconfig on HP-UX 10.20:
Supernets
A supernet is a collection of smaller networks. Supernetting is a
technique of using the netmask to aggregate a collection of smaller
networks into a supernet. This technique is particularly useful for
class C networks. A Class C network can only have 254 hosts. This
can be too restrictive for some companies. For these companies, a
netmask that only contains a portion of the network part can be
applied to the hosts in these class C networks to form a supernet.
This supernet netmask should be applied to those interfaces that
connect to the supernet using the ifconfig command. For example, a
host can configure its interface to connect to a class C supernet,
192.6, by configuring an IP address of 192.6.1.1 and a netmask of
255.255.0.0 to its interface.
And this is the example on HP-UX 10.20:
# ifconfig lan0 191.1.1.1 netmask 255.255.255.224
# ifconfig lan0
lan0: flags=862<BROADCAST,NOTRAILERS,RUNNING,MULTICAST>
inet 191.1.1.1 netmask ffffffe0 broadcast 191.1.1.31
# ifconfig lan0 192.1.1.1 netmask 255.255.255.224
ifconfig: ioctl (SIOCSIFADDR): Can't assign requested address
# ifconfig lan0 192.1.1.1
# ifconfig lan0
lan0: flags=862<BROADCAST,NOTRAILERS,RUNNING,MULTICAST>
inet 192.1.1.1 netmask ffffff00 broadcast 192.1.1.255
I can only say - 'This is HP :-)'. Their ideas are sometimes strange for
me. :-).
gucio
--
gucio -> Piotr Strzyżewski
E-mail: gucio@zeus.polsl.gliwice.pl
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [parisc-linux] Trying to get HP-UX working
1999-06-09 22:52 ` Matt Taggart
1999-06-09 23:19 ` Alan Cox
@ 1999-06-10 13:21 ` Steven Pritchard
1 sibling, 0 replies; 13+ messages in thread
From: Steven Pritchard @ 1999-06-10 13:21 UTC (permalink / raw)
To: Matt Taggart; +Cc: parisc-linux
Matt Taggart said:
> Does it make sense to go one step further and package them in either HP's
> SD depot format or alternatively RPM(and provide RPM on HP-UX)? I have some
> SD experience and could automate the packaging if needed.
Just for reference, the samba 2.0.x source has packaging scripts for
HP-UX. I figured out how to build HP-UX packages from that example.
(It's pretty easy, although when you get done, building the package
isn't as simple as "rpm -ba" or "rpm --rebuild".)
Steve
--
steve@silug.org | Linux Users of Central Illinois
(217)698-1694 | Meetings the 4th Tuesday of every month
Steven Pritchard | http://www.luci.org/ for more info
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [parisc-linux] Trying to get HP-UX working
1999-06-09 21:43 ` [parisc-linux] Trying to get HP-UX working Alan Cox
` (2 preceding siblings ...)
1999-06-09 22:52 ` Matt Taggart
@ 1999-06-10 14:48 ` Fredrik Soderblom
3 siblings, 0 replies; 13+ messages in thread
From: Fredrik Soderblom @ 1999-06-10 14:48 UTC (permalink / raw)
To: Alan Cox; +Cc: Tor Arntsen, parisc-linux
On Wed, 9 Jun 1999, Alan Cox wrote:
> I can't however get HP/UX to set up an interface
>
> 194.168.151.23 netmask 255.255.255.224
You'll need to tell it to allow for subnet zero (RFC1878)
on pre 11.x:
# nettune -s ip_check_subnet_addr 0
on 11.x:
# ndd -set /dev/ip ip_check_subnet_addr 0
--
Fredrik Soderblom, Sr Technical Consultant
Phone: (int) +46-8-4442140, Fax: (int) +46-8-4442447
Internet: fredrik.soderblom@hp.se, URL: http://people.hp.se/frso
Hewlett-Packard Sverige AB, Box 19, S-164 93 Kista, Sweden
PGPprint: AE 74 BF 05 24 C3 18 99 33 9D A6 18 96 03 8A 29
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [parisc-linux] build success
1999-06-09 21:26 [parisc-linux] build success Tor Arntsen
1999-06-09 21:43 ` [parisc-linux] Trying to get HP-UX working Alan Cox
@ 1999-06-09 22:06 ` Alex deVries
1 sibling, 0 replies; 13+ messages in thread
From: Alex deVries @ 1999-06-09 22:06 UTC (permalink / raw)
To: Tor Arntsen; +Cc: parisc-linux
Tor Arntsen wrote:
>
> Alex deVries mailed me and said he used the default configs, so I just
> pressed return to all make config questions and hey presto it compiled
> (except for one thing, coming back to that).
Ack. I'm having problems hitting 'reply all'.
> -#!/bin/bash
> +#!/usr/bin/env bash
I've changed this to /bin/sh, and that's committed now.
- Alex
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~1999-06-10 14:47 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-09 21:26 [parisc-linux] build success Tor Arntsen
1999-06-09 21:43 ` [parisc-linux] Trying to get HP-UX working Alan Cox
1999-06-09 22:27 ` xomina
1999-06-09 22:43 ` John David Anglin
1999-06-09 23:04 ` xomina
1999-06-09 22:48 ` Alan Cox
1999-06-09 22:50 ` Erik Paulson
1999-06-09 22:52 ` Matt Taggart
1999-06-09 23:19 ` Alan Cox
1999-06-10 8:57 ` Piotr Strzy¿ewski
1999-06-10 13:21 ` Steven Pritchard
1999-06-10 14:48 ` Fredrik Soderblom
1999-06-09 22:06 ` [parisc-linux] build success Alex deVries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox