LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 05-02-2004, 08:19 PM   #1
lil_drummaboy
Member
 
Registered: May 2003
Location: Victoria, CANADA!
Distribution: OpenBSD, Slackware, Debian
Posts: 85

Rep: Reputation: 15
OpenBSD and Alpha Problems!!!


Hi Everyone,

I installed OpenBSD 3.4 on my old Alpha the other day. Now, I am used to the i386 version of OBSD usualy but i thought there would be no difference. Now, i installed from the boot disk and that all went fine but when I booted up i noticed a strange difference between the alpha port and the i386 port. My alpha's OBSD booted straight into a shell instead of the login prompt. So i checked out this shell and noticed that it was underprivaleged or something because when I tried to change things it said "... Read-only filesystem" so I tried logging in by using the
"# login" command. I logged in as root and the motd came up as usual but I continued to get the "Read-only filesystem" error, even in root!!! So I used the command "# mount -uw /" and then the filesystem is fine. Another strange thing is that I have a /etc/hostname.* file and the NIC isn't configured when I log in and all the services in /etc/rc.conf are not loaded. I have either made a stupid error or this is just plain wierd. If someone could help me that would be greatly, greatly apreciated.
 
Old 05-02-2004, 08:41 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
It sounds like you choose the (s)hell option when booting with bsd.rd. Your default kernel should be bsd, not bsd.rd. Are you still booting off the install CD by any chance?
 
Old 05-03-2004, 06:25 PM   #3
lil_drummaboy
Member
 
Registered: May 2003
Location: Victoria, CANADA!
Distribution: OpenBSD, Slackware, Debian
Posts: 85

Original Poster
Rep: Reputation: 15
I don't have a install CD, i used the floppy34.fs image disk. I do have bsd.rd installed but in the shell of my alpha i type ">>>boot dka0" (dka0=my SCSI drive with bsd installed) and it boots into the mess that I explained. I don't see any reason why it would boot to bsd.rd but if that is the case how could it be solved? After my machine boots it does ask "Enter pathname of shell or RETURN for sh:" but i just hit return, otherwise I have no choices to make on how the machine boots. Have you runned the alpha obsd port before? Does yours do this it?

Last edited by lil_drummaboy; 05-03-2004 at 06:28 PM.
 
Old 05-03-2004, 06:51 PM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
It looks like you need to specify a few variables in your SRM console. Quoting from ftp.openbsd.org/pub/OpenBSD/3.4/alpha/INSTALL.alpha
Quote:
Using the SRM console:
This is not intended to be an exhaustive guide on using the
SRM firmware console. It should, however, give you enough
information to boot OpenBSD/alpha.

To see a list of devices connected to your alpha, you can
use the "show device" command. For booting the devices you
are interested in are "dva0" (the floppy drive) and
"dka*" (the disk drives).

You can set ROM variables by saying "set VARIABLE VALUE".
Some variables you will want to set:
auto_action Determines what happens when you turn power on,
halt, or crash your machine. Valid values
include "halt", "boot", and "restart".
Most users will want to set this to "boot".
bootdef_dev Default boot device (or list of devices).
boot_file Name of the kernel to boot. If this variable is
empty, "bsd" will be loaded. Note that this
variable does not exist in all versions of the SRM
console, in which case you need to always specify a
kernel filename if it differs from "bsd".
boot_osflags Flags to pass to the kernel.
IMPORTANT! For multiuser boot, this needs to be
set to "a".
To see a list of all variables on your machine use the "show"
command with no arguments.

You can bypass the boot_file and boot_osflags values from the command
prompt, with the -fi (to override boot_file) and -fl (to override
boot_osflags) options. For example,
boot -fi bsd -fl ac dka0
will boot the "bsd" kernel with the "ac" flags on dka0. However, some
versions of the SRM console (mainly on DEC 3000 series) will only let
you specify uppercase filenames.
So you need to set bootdef_dev to your disk device (dka0), boot_file to "bsd" (w/o quotes), and boot_osflags to "a" (w/o quotes).

Last edited by chort; 05-03-2004 at 06:55 PM.
 
Old 05-03-2004, 07:13 PM   #5
lil_drummaboy
Member
 
Registered: May 2003
Location: Victoria, CANADA!
Distribution: OpenBSD, Slackware, Debian
Posts: 85

Original Poster
Rep: Reputation: 15
sweet! that seemed to work, thanks alot for your help. I just got these alphas 2 days ago so I am quite new to the alpha arch. Thanks alot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install problems sarge on ALPHA JaNuZz Debian 1 01-03-2005 03:15 PM
More OpenBSD router problems. zaicheke *BSD 2 10-14-2004 07:20 PM
OpenBSD routing problems c_rugby *BSD 7 06-23-2004 03:38 PM
OpenBSD/Alpha/NIC Problem!! lil_drummaboy *BSD 1 05-11-2004 01:13 AM
Alpha w/OpenBSD NIC problem lil_drummaboy Linux - Hardware 0 05-10-2004 08:42 PM


All times are GMT -5. The time now is 05:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration