- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Porting gnu kits to OpenVMS Alpha & CPU type
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 06:07 AM
07-19-2006 06:07 AM
Do any of you out there have any experience with this kind of thing?
It looks like I could fix the GMP config.sub and config.guess pieces if I had a piece of c code or bash script that would return the CPU TYPE. I could see about invoking SDA and generating the output from CLUE CONFIG, but I'm not sure how easy that will be inside of a bash script.
Or do you know another way for me to get gmp.h? Or is there another way to do what I want?
Have any of you built the SSH2 kit on Alpha?
Thanks for any leads/hints/solutions!
Robert Boyd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 08:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 08:30 AM
07-19-2006 08:30 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 08:37 AM
07-19-2006 08:37 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
Now I just need to do a lookup of the number 8 in the table of cpu types?
! SYSTEM_TYPE and CPU_TYPE fields. It is possible that platforms with
literal HWRPB_CPU_TYPE$K_EV3 = 1; ! Reduced functionality EVAX
literal HWRPB_CPU_TYPE$K_EV4 = 2; ! First fully functional EVAX
literal HWRPB_CPU_TYPE$K_MANNEQUIN = 3; ! Mannequin simulator
literal HWRPB_CPU_TYPE$K_LCA = 4; ! Low Cost Alpha
literal HWRPB_CPU_TYPE$K_EV5 = 5; ! CMOS 5 EVAX
literal HWRPB_CPU_TYPE$K_EV45 = 6; ! EV4 shrink on CMOS 5 process
literal HWRPB_CPU_TYPE$K_EV56 = 7; ! EV5 shrink on CMOS 6 process
literal HWRPB_CPU_TYPE$K_EV6 = 8; ! CMOS 6 EVAX
literal HWRPB_CPU_TYPE$K_PCA56 = 9; ! Low cost EV56
literal HWRPB_CPU_TYPE$K_PCA57 = 10;
literal HWRPB_CPU_TYPE$K_EV67 = 11; ! EV6 shrink, cmos 7
literal HWRPB_CPU_TYPE$K_EV68CB = 12; ! EV6 shrink, cmos 8
literal HWRPB_CPU_TYPE$K_EV68A = 13; ! Samsung
literal HWRPB_CPU_TYPE$K_EV68CX = 14;
literal HWRPB_CPU_TYPE$K_EV7 = 15; !
literal HWRPB_CPU_TYPE$K_MAX_CPU_TYPE = 15;
What I want to do is reverse lookup of the number I suppose. Looks like it's time to write a perl or DCL routine to extract the HWRPBDEF module from the C library and build a reverse lookup table.
Robert
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 08:42 AM
07-19-2006 08:42 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
We have some perl scripts which depended on using the FTP module. On some of our systems we are having to move to using SSH, so we're hoping to be able to make a modification to the scripts to use the SSH or SSH2 module instead.
If porting the SSH2 module gets to be too hairy, we may have to use callouts to DCL using the HP TCP/IP SSH capability instead. We'd like to keep the scripts more generic though since we'll be doing similar things on other platforms.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 08:58 AM
07-19-2006 08:58 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
See http://www.process.com/tcpip/mndocs51/USER_GUIDE/Ch08.htm#E54E27 for information on how to do this for MultiNet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 09:43 AM
07-19-2006 09:43 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
If you have any suggestions how to limit the FTP service to only respond to requests coming through the tunnel and no others, that would be great.
The obvious thing going on here is shutting down services that require/allow users to put unencrypted passwords onto the LAN.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 10:53 AM
07-19-2006 10:53 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
my $cpu_word = qr/[a-zA-Z0-9]+/ ;
my $number = qr/[0-9]+/ ;
my @cpu_types = () ;
#
# Find the appropriate records in the include file
#
foreach (`library/text SYS\$SHARE:SYS\$LIB_C.TLB/extract=HWRPBDEF/output=sys\$output`)
{
# print ;
if ( m/HWRPB_CPU_TYPE\$K_($cpu_word)\s*($number)\s*/ ) {
@cpu_types[$2] = "alpha".$1 ;
# print $2,"=",$1,"\n"
}
}
# Turn the array into a text list
# my $cpu_list = join(',', @cpu_types) ;
# print $cpu_list, "\n" ;
#
# find out the cpu type from GETSYI
#
my $cpu_type = `write sys\$output f\$getsyi("cputype")` ;
#print "Cpu type $cpu_type = @cpu_types[$cpu_type]" ;
printf "%s", lc(@cpu_types[$cpu_type]) ;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 12:24 AM
07-20-2006 12:24 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
http://dcl.openvms.org/stories.php?story=06/03/21/8098045
Just adapt it (it should be easy)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 12:33 AM
07-20-2006 12:33 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
$ in :== wr sys$output
$pipe ( in "exam exe$gq_cputype" ) | ana/sys | ( read sys$pipe p ; -
read sys$pipe p ; read sys$pipe p ; read sys$pipe p ; def/job p &p)
$ cpuhex = f$extr(26,8,f$trn("p"))
$ cpu = %X'cpuhex'
$ sh symb cpu
$ deas/job p
$ exit
Seems to work on my DS10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 12:34 AM
07-20-2006 12:34 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 01:05 AM
07-20-2006 01:05 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
$ in :== wr sys$output
$pipe ( in "exam exe$gq_cputype" ) | ana/sys | sea sys$pipe exe$gq_cputype | -
( read sys$pipe p ; def/job p &p)
$ cpuhex = f$elem(1,".",f$elem(1,":",f$trn("p")))
$ cpu = %X'cpuhex'
$ sh symb cpu
$ deas/job p
$ exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 01:15 AM
07-20-2006 01:15 AM
Re: Porting gnu kits to OpenVMS Alpha & CPU type
http://groups.google.com/group/comp.os.vms/browse_frm/thread/e9ad6f9251b68762
for some chat on the same topic
Purely Personal Opinion