Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 1994 14:40:27 MST
From:      steve@khoros.unm.edu (Steven Jorgensen)
To:        freebsd-questions@freebsd.org
Subject:   Disk config problem
Message-ID:  <9412272140.AA08469@borris.khoros.unm.edu>

next in thread | raw e-mail | index | archive | help

	Sorry if this is the wrong list to post this to.

	I'm trying to get FreeBSD 2.0 installed and configured
	on my system.  I'm almost there, but I have a few problems
	remaining.   Note that I am installing from the CDROM from
	Walnut Creek.

	1.  I'm trying to install the boot records correctly so that
	    I can boot msdos and freebsd from the harddisk, but I can't
	    seem to find a configuration that works.  I have 3 SCSI
	    disks attached to my Adaptec 1542CF, and here is how I
	    have them set up:

		disk 0 is a 1.7GB disk totally dedicated to freebsd.  I
		have set up this disk with one fdisk partition holding
		the whole disk, and this partition is split into /, swap,
		/usr, and /user.  This setup works great to boot freebsd.

		disk 1 is a 200meg disk with msdos 6.2 on it.

		disk 2 is a 1.7 GB disk split between msdos and freebsd
		(3 fdisk partitions are msdos, and 1 fdisk is a single
		 freebsd partition I use for extra storage space)

	     Now, if I set my adaptec to have disk 0 ignore the bios scan,
	     it will boot dos correctly.  If I tell disk 0 to NOT ignore the
	     bios scan it booted freebsd.   This was rather annoying, so
	     I tried to install the boot menu on disk 0.  Now it offers me
	     a menu of freebsd or "disk 2".  So, I select freebsd, and it
	     just reboots the machine from scratch.  If I select disk 2, it
	     comes back with a "missing operating system" which just isn't
	     true.  I checked the FAQ before installing, and it mentioned
	     that the mapping of disk > 1GB didn't work correctly, so it has
	     been off during the entire install procedure.

	     I am just about at the end of things I know to try, so I'm
	     mailing to this list.  Any suggestions?  Note that this
	     machine previously had a different unix on it, and I installed
	     the boot menu on disk 1, and told disk 0 to ignore the bios
	     scan.  Thus dos wouldn't even know about disk 0, and the boot
	     menu just told disk 0 to boot directly.  I'd prefer this method
	     the most, but when I used the floppy to boot sd(0,a)/kernel with
	     disk 0 ignoring the bios scan, it gave me a rather bizarre error.
	     
	2.  I also trying to set up my slip connection using startslip.  I
	    read the slip.FAQ, but it appearently uses seyon or kermit to
	    initiate the connection to the other modem, and then uses slattach.
	    This method works for me, but it requires that I be at home and
	    start up the connection by hand.  I'd rather use startslip to
	    start it from my /etc/rc file on bootup.  The slip.FAQ doesn't
	    even mention this program, so I assume it was written before this
	    program existed.   I've played extensively with startslip, because
	    it had some poor assumptions about what the login prompt would
	    look like from the host computer, but it still has some remaining
	    problems, and I believe they are related to the fact that the
	    tty my modem is on is not in clocal mode by default.  When I
	    run kermit and set my tty to the one my modem is on, I can
	    execute startslip and it will dial the remote host, and connect
	    the slip connect correctly.  However, if I just use startslip
	    alone, it hangs when trying to open the tty with my modem on it.  
	    stty -a tells me the only difference is that kermit puts the
	    tty in clocal mode.  So I tried setting clocal via stty,
	    and that doesn't appear to do anything.  I also tried changing
	    startslip to open the port nonblocking.  This gives me a
	    valid file descriptor, but doesn't actually allow me to read
	    or write to the port.  I would prefer just to set that port
	    to clocal by default if that's possible.  If not, can someone
	    tell me how to do it from startslip similar to the way kermit
	    must do it? (I couldn't find this code in kermit)

	3.  Finally, I'm trying to set up my printcap to print to my Deskjet
	    560c printer.  I don't have my printcap entry available right
	    now, but I'm pretty sure it's set up correct (I had an example to
	    work from.)  The problem is that when I lpr a file, takes the
	    file does nothing.  No error is printed in the printer log, and
	    no error is given to stderr.  I'm using the apsfilter script to
	    preprocess the file for my printer, and I suspect that may be
	    the problem.  However, when I send a file to this script
	    by itself, and redirect the output to my parallel port device,
	    it seems to print just fine.  Any ideas what I am doing
	    wrong?  If you'd like to see the printcap, I'll email it
	    tonight when I get home.  

	Wow, this got long. :)  Thanks in advance for any help.

						Steve

-- 
-------------------------------------------------------------
Steven Jorgensen        | Khoral Research Inc.
steve@khoros.unm.edu    | 6001 Indian School, Suite 200
(505) 837-6500          | Albuquerque, NM 87110
------------------------+------------------------------------
This Space for Rent.	| URL: http://www.khoros.unm.edu
-------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9412272140.AA08469>