DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th June 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Thanked 0 Times in 0 Posts
Default Firefox for OpenBSD 4.6 on SPARCstation 5

Greetings to all!

Has anyone successfully install Firefox on Sun SPARCstation5 running OpenBSD 4.6? Please let me know where I can get the correct file name.

Thanks in advance.
Reply With Quote
  #2   (View Single Post)  
Old 16th June 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 841
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by CyberJet View Post
Greetings to all!

Has anyone successfully install Firefox on Sun SPARCstation5 running OpenBSD 4.6? Please let me know where I can get the correct file name.

Thanks in advance.
Yes, I have about two years ago when it was released. I am mentioning this because OpenBSD 4.6 is unmaintained. The current release is 4.9. However 4.6 packages are still available. For example my favorite mirror:


http://obsd.cec.mtu.edu/pub/OpenBSD/...kages/sparc64/


The correct name of the file is

mozilla-firefox-3.0.11

I recall vividly that Firefox was almost unusable on Ultra 5. It was very sluggish and too bloated for that old machine.

If I was you I would upgrade to the latest release and try to run something like www/netsurf just for browsing. Notice that Netsurf unfortunately doesn't support Javascript so it is just a browser but unlike Dillo at least supports CSS. Netsurf from ports i slightly outdated being 2.6 (the stable release is 2.7). You can try to update the port yourself. New version fixes specifically some issues discovered on OpenBSD. if you need a full featured browser you will have to try something WebKit based like xxxterm.
Reply With Quote
  #3   (View Single Post)  
Old 16th June 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Thanked 0 Times in 0 Posts
Default

Thank you so much Oko! I will heed your words of wisdom. Perhaps you can help me overcome another issue.

I tried to install OpenBSD 4.9 but for some reason when I run the command to "boot cdrom" as stated on the OBSD quick install it fails with " Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@6,0:d File and args: The file just loaded does not appear to be executable.

When I loaded OBSD4.6 I used this same machine. Please let me know what I'm doing wrong.

Thanks again
Reply With Quote
  #4   (View Single Post)  
Old 16th June 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 337
Thanked 9 Times in 9 Posts
Default

Quote:
Originally Posted by CyberJet View Post
When I loaded OBSD4.6 I used this same machine. Please let me know what I'm doing wrong.

Thanks again
If you have OpenBSD-4.6 installed, you can download bsd.rd for 4.9 (located on the mirrors at /pub/OpenBSD/4.9/`machine`/bsd.rd), boot that, and perform a fresh install from there.
__________________
Linux Admin by Profession. OpenBSD user by choice.
Reply With Quote
  #5   (View Single Post)  
Old 16th June 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Thanked 0 Times in 0 Posts
Default

Thanks Jonathan!

I'll give that a try.
Reply With Quote
  #6   (View Single Post)  
Old 17th June 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rocket357 View Post
If you have OpenBSD-4.6 installed, you can download bsd.rd for 4.9 (located on the mirrors at /pub/OpenBSD/4.9/`machine`/bsd.rd), boot that, and perform a fresh install from there.
Once again I would like to say Thank You.

I have decided to execute bsd.rd but before I do this I would like to get a copy of my pf.conf and copy it to my Windoz machine with WinSCP. I'm not able to do this because the permissions are -rw----------. I have figured out that I can apply a chmod 755 to this file and I can accomplish the task.

Question for my future reference:

What number do I use with chmod to restore the original file permissions? Is there a formula for this?

Regarding the booting of bsd.rd, I have download the file to my home directory. Please correct me if I'm wrong, am I correct in that I must run
this file from the root directory and overwriting the existing bsd.rd?

Again I would like to thank you and all that have contributed to my questions.

Kind Regards,
Reply With Quote
  #7   (View Single Post)  
Old 17th June 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 337
Thanked 9 Times in 9 Posts
Default

pf.conf syntax changed from 4.7 -> 4.8, so you might need to tweak that file.

Converting from rwx to oct is simple. There are three sets of letters in rwxrwxrwx...the first three letters are owner, the second three are group, and the last three are other (everyone else). The numbers are calculated as such:

r = 4
w = 2
x = 1

So if you want rw-------, you'd need 4+2+0 (x is unset) for owner, 0+0+0 for group, and 0+0+0 for other, giving you 600.

Likewise, if you wanted rwxr-xr-x, you'd need 4+2+1 for owner, 4+0+1 for group, and 4+0+1 for other, giving you 755.

Download bsd.rd and put it in / (overwrite bsd.rd there), then when you get the boot prompt, type in "boot bsd.rd" to start the installer.
__________________
Linux Admin by Profession. OpenBSD user by choice.

Last edited by rocket357; 17th June 2011 at 04:29 PM.
Reply With Quote
  #8   (View Single Post)  
Old 17th June 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,886
Thanked 214 Times in 189 Posts
Default

Differences for between releases are described in the Upgrade Guides. The big changes to PF syntax occurred with 4.7.

Here are the applicable Upgrade Guides. You are not planning to upgrade, but you will still find them helpful for things like PF.

http://www.openbsd.org/faq/upgrade47.html
http://www.openbsd.org/faq/upgrade48.html
http://www.openbsd.org/faq/upgrade49.html
Reply With Quote
  #9   (View Single Post)  
Old 17th June 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 337
Thanked 9 Times in 9 Posts
Default

Quote:
Originally Posted by jggimi View Post
The big changes to PF syntax occurred with 4.7.
Ahh, that's right...it was the release of 4.7 that contained the changes, not 4.8. Thanks for pointing that out, jggimi.
__________________
Linux Admin by Profession. OpenBSD user by choice.
Reply With Quote
Old 20th June 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Thanked 0 Times in 0 Posts
Default

Good Morning to All and Thank You.

I must confess, I jumped off the cliff without my parachute. I went ahead and attempted to install OBSD4.9 by overwriting the bsd.rd on the root directory. I was a happy camper until the install started to complain that the packages were not in the mirrors that I went to from the list published by OpenBSD.org site. I tried the different ftp sites to no avail.

I believe the install failed because it kept looking for a package named bsd.pm and Cerberus.bsd.tgz (Cerberus is the hostname) which were not on the sites. I exited the process hoping that I can install from the official 4.9 cd I purchased from the BSD site but it does not boot. Here is the error message:

Rebooting with command: cdrom
Boot device: /iommu/sbus/espdma@5,8400000/esp@5,88000000/sd@6,0:d File and arg:

Type help for more info
ok boot cdrom

The file just loaded does not appear to be executable. Why is that?

I have downloaded new images from the official site but I'm still not able to install this beast! Unfortunately, I can't fine my original 4.7 cd.

perhaps you or someone in the group can shed some light on this issues for me.

Again thank you all!
Reply With Quote
Old 20th June 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 337
Thanked 9 Times in 9 Posts
Default

Stupid question, but you're using the correct disk for the sparc architecture, right? I would imagine trying to boot an amd64/i386 disk would give the same error message...
__________________
Linux Admin by Profession. OpenBSD user by choice.
Reply With Quote
Old 20th June 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Thanked 0 Times in 0 Posts
Default

I think I may survive the fall, I was just able create another image and it's booting. I'll report if more trouble.

Thanks,
Reply With Quote
Old 20th June 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Thanked 0 Times in 0 Posts
Default

Yes sir!,

The install going but it's not finding the files it's looking for at ftp5.usa.openbsd.org.

Error retrieving file: 404 Not found
looked at ftp;//ftp5.usa.openbsd.org/pub/OpenBSD/4.9/sparc and found no OpenBSD/sparc 4.9 sets.

The set names looked for were:

bsd
bsd.re
bsd.pm
base49.tgz
etc49.tgz
comp49.tgz
man49.tgz
game49.tgz
xbase49.tgz
xetc49.tgz
xshare49.tgz
xfont49.tgz
xserv49.tgz
site49.tgz
site49-Cerberus.tgz

this is the same error I received when I initiated the bsd.rd after overwriting the 4.7 file.
Please let me know what I'm am doing wrong.

Thanks
Reply With Quote
Old 20th June 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Thanked 0 Times in 0 Posts
Default

Sorry for the typos.

ftp: not ftp;
bsd.rd not bsd.re
Reply With Quote
Old 20th June 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Thanked 0 Times in 0 Posts
Default

Well, I'm finally flying again. I decided to create a cd instead of going to the ftp site.
Reply With Quote
Old 20th June 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 337
Thanked 9 Times in 9 Posts
Default

Quote:
Originally Posted by CyberJet View Post
Well, I'm finally flying again. I decided to create a cd instead of going to the ftp site.
ftp5.usa.openbsd.org is/was having issues. It is/was my preferred mirror. (it appears to be back now, but late last week it was having troubles)

I switched to ftp3.usa.openbsd.org and everything is back on track for me.
__________________
Linux Admin by Profession. OpenBSD user by choice.
Reply With Quote
Old 20th June 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Thanked 0 Times in 0 Posts
Default

Jonathon,

I think I figured out why the ftp install failed.

I was typing in ftp//ftp.openbsd.org/pub/OpenBSD/4.9/sparc and the install wizard would go to: ftp://ftp5.usa.openbsd.org/pub/OpenBSD/4.9/sparc

I think I needed to type: ftp://ftp.openbsd.org/pub/OpenBSD/4.9/sparc/

Please advise.

Thanks again,

Ramon
Reply With Quote
Old 20th June 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,886
Thanked 214 Times in 189 Posts
Default

Use the list of mirror sites by number, rather than typing things by hand. You've had multiple typos here, and, I suspect, while running the install script.
Reply With Quote
Old 20th June 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,886
Thanked 214 Times in 189 Posts
Default

Here's what's in ftp://ftp5.usa.openbsd.org/pub/OpenBSD/4.9/sparc/ right now:
Code:
Last modified       Size       Name     
          Parent Directory
05/Mar/2011 15:02       86.4 KB       INSTALL.sparc    
05/Mar/2011 15:02       1.8 KB       SHA256    
05/Mar/2011 15:02       46 MB       base49.tgz    
05/Mar/2011 15:02       57.5 KB       boot    
05/Mar/2011 15:02       57.5 KB       boot.net    
05/Mar/2011 15:02       9.4 KB       bootxx    
05/Mar/2011 15:02       3.2 MB       bsd    
05/Mar/2011 15:02       3.1 MB       bsd.rd    
05/Mar/2011 15:02       3.2 MB       bsd.scsi3    
05/Mar/2011 15:02       3.7 MB       cd49.iso    
05/Mar/2011 15:02       70.1 MB       comp49.tgz    
05/Mar/2011 15:02       508.1 KB       etc49.tgz    
05/Mar/2011 15:02       1.4 MB       floppy49.fs    
05/Mar/2011 15:02       2.5 MB       game49.tgz    
19/Jun/2011 03:07       1.4 KB       index.txt    
05/Mar/2011 15:02       193.1 MB       install49.iso    
05/Mar/2011 15:02       88.7 KB       installboot    
05/Mar/2011 15:02       8.4 MB       man49.tgz    
05/Mar/2011 15:02       6 MB       miniroot49.fs    
05/Mar/2011 14:44       13.4 MB       xbase49.tgz    
05/Mar/2011 14:44       70 KB       xetc49.tgz    
05/Mar/2011 14:44       37.5 MB       xfont49.tgz    
05/Mar/2011 14:44       4.3 MB       xserv49.tgz    
05/Mar/2011 14:44       2.9 MB       xshare49.tgz
Reply With Quote
Old 20th June 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 337
Thanked 9 Times in 9 Posts
Default

This works for me:

ftp://ftp5.usa.openbsd.org/pub/OpenBSD/4.9/sparc/

or

ftp://ftp3.usa.openbsd.org/pub/OpenBSD/4.9/sparc/

Are you typing in the entire url when it asks for hostname (you shouldn't be)?

When it asks for hostname, type in ftp5.usa.openbsd.org

When it asks for server directory type in pub/OpenBSD/4.9/sparc

That should work.


Quote:
Originally Posted by jggimi View Post
Use the list of mirror sites by number, rather than typing things by hand.
Blarg. I've run current for so long that I'd forgotten about the list. Yes, choose the server you want by number...it'll save you a lot of headache.
__________________
Linux Admin by Profession. OpenBSD user by choice.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange disk messages in dmesg on OpenBSD 4.8/4.9 snapshot on a Sparcstation 20 passthejoe OpenBSD Installation and Upgrading 4 6th April 2011 08:56 PM
porting Firefox 3.5.15 to OpenBSD 4.8 shep OpenBSD Packages and Ports 8 4th November 2010 02:58 AM
sparcstation 20 cgfourteen crashes darf NetBSD General 7 11th March 2010 05:06 AM
OpenBSD on laptop using Firefox gpatrick OpenBSD General 3 22nd December 2009 04:41 PM
Upgrading firefox to firefox 3 -keeping plugins+bookmarks kasse FreeBSD Ports and Packages 11 5th July 2008 01:34 PM


All times are GMT. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick