Commit Graph

6227 Commits

Author SHA1 Message Date
David Greenman
2f8f2dd5bb >From a week or two ago I got kernel panics as soon as I tried to access my
tape drive. I traced it to sys/scsi/scsi_base.c where some code were added
to print the return values of the sense command. My tape drive returned a
extended flags value of 0x20, so the key that is the lower 4 bits, is 0.
The code uses "key-1" to index into a table and then the kernel go to never-
never land.

Here is a fix for this. Will somebody please apply it?

Submitted by:	John Hay
1995-02-15 07:44:07 +00:00
Jordan K. Hubbard
37c4acbb58 Make the email address syntax more regular
Add pointer to Mark Murray's foreign eBones/secure site.
1995-02-15 07:07:18 +00:00
Jordan K. Hubbard
38eb155156 Add Hong Kong mirror. 1995-02-15 06:41:50 +00:00
Jordan K. Hubbard
f87104d983 And fix some more compiler warnings. Then give up. /sys/net* is FULL of
bogus code!  And besides, Poul's doing this already.. It's just that
fixing compiler warnings is sort of like eating potato chips.. :-)
1995-02-15 06:29:47 +00:00
Jordan K. Hubbard
e53e112497 Nuke some more compiler warnings, while I'm at it.. 1995-02-15 06:28:48 +00:00
Jordan K. Hubbard
7543a838ee Fix up include paths, nuke some warnings. 1995-02-15 06:28:29 +00:00
Jordan K. Hubbard
f2eea8100f We can enable pcd0 when we actually have one. 1995-02-15 06:18:15 +00:00
Jordan K. Hubbard
e7891cd349 Boy, no sooner do I clean it up then dirty it again! Clean up the enxio
stuff I should have caught earlier.
1995-02-15 04:51:10 +00:00
Jordan K. Hubbard
a46a6df7e5 Comment out snic0 until it gets updated to the newer scsi code. 1995-02-15 04:49:18 +00:00
Poul-Henning Kamp
b8e4cd2bb3 This is a MS-DOS program, but is does something useful for us:
It boots FreeBSD from a running MS-DOS system.

It's compiled using some MS-DOS tools, but there is a binary
hidden in the uuencoded file.  (Go ahead, flame me if you can come up
with a solution for the problem.  Just saying "this is bad" doesn't count!)

Rod, you were right: one would have to deal with weird interfaces to the
memory managers, and it seems that Christian found them all, and made them
work.

Thanks Christian!

Reviewed by:	phk
Submitted by:	DI. Christian Gusenbauer <cg@fimp01.fim.uni-linz.ac.at>

Christians README:
------------------

Hi Everybody!

This is version 1.5 of "fbsdboot", a program that allows you to boot a kernel
from a MS-DOS partition or a FreeBSD partition. This program runs using DOS.
It works with various memory managers (like  EMM386, 386MAX) under certain
circumstances.

First, a FreeBSD kernel is always loaded to memory starting at 0x100000. To
assure that loading the kernel *does not* overwrite memory used by memory
managers, high memory for the kernel is allocated and after loading the kernel
it's moved to 0x100000.

Second, there are many ways to switch to protected mode which is necessary to
start the kernel. Each BIOS gives you the possibility to use INT15H (AH=89H)
to do that. But some memory-managers like 386max does not allow you to use
this method.

An other way to do the switch is to use DPMI services, but they do not
guarantee, that the protected mode application is executed with privilege
level 0. Therefore this method is *not* used.

VCPI services offer another way to switch to protected mode, and VCPI servers
are built into "emm386.exe", "386max" and "qemm". That's why, this method is
implemented in fbsdboot.exe.

Fbsdboot.exe tries to switch to protected mode using VCPI services. If they're
not available INT15H is used to do the switch. If that fails, it's not possible
for this version of fbsdboot.exe to boot a kernel :-(.

You can get commandline options of fbsdboot if you start it with "-?" as option!

I don't know, if fbsdboot works with QEMM, as I don't have the possibility to
test it.

Enjoy and have fun!

Christian.
cg@fimp01.fim.uni-linz.ac.at


PS: Many thanks to Bruce Evans for his assistance!
1995-02-15 04:45:50 +00:00
David Greenman
7389231d06 Killed the pmap_use_pt and pmap_unuse_pt prototypes as they are now in
machine/pmap.h.
1995-02-15 04:36:31 +00:00
Bill Paul
0e59c1bde3 More DESTDIR lossage. Hopefully this will solve the case of the missing NIS
scripts.
1995-02-15 04:35:55 +00:00
Bill Paul
f464a3788e Fix losing Makefile so that it properly honors DESTDIR when installing
/var/yp/Makefile and /usr/libexec/mknetid. *grumble* *mutter* *mutter*
1995-02-15 04:33:52 +00:00
Poul-Henning Kamp
78ff637a2c YF fix. 1995-02-15 04:21:32 +00:00
Rich Murphey
73b2840c90 Reviewed by: Jordan
Submitted by:	Rich

Make conditionals on BIOSWAIT consistent with usage in io.c.

If you had 'BOOTWAIT=0' in your /etc/make.conf then biosboot wouldn't
compile.  It was '#if' in io.c and '#ifdef' in probe_keyboard.c so I
changed the latter to '#if'.

Even if BOOTWAIT is undefined then '#if BOOTWAIT' becomes
'#if 0' so it should compile either way with this change.
1995-02-15 04:17:59 +00:00
Jordan K. Hubbard
6fc1110b71 Make pkg_install use /var/tmp instead of /tmp
Suggested by:	hsu
1995-02-15 03:48:13 +00:00
David Greenman
efefea024a Fixed two more bugs related to the merged cache changes.
Submitted by:	John Dyson
1995-02-15 03:40:00 +00:00
David Greenman
ad21d87fd5 Woops, change a nfsrv_vput back into a nfsrv_vrele.
Submitted by:	John Dyson
1995-02-15 03:38:12 +00:00
Garrett Wollman
a2cc1fa205 Document TCP MIB variables (tcp.4).
Document IP MIB variables (inet.4).
Document Internet-family protocol-specified route cloning (inet.4).
Delete all references to classed addresses (inet.4).
1995-02-15 03:30:54 +00:00
David Greenman
6b03a7ffc5 Fixed three bugs related to the merged cache changes. The bugs likely would
make NFS servers flakey - probably the cause of freefall's recent hangs.

Submitted by:	John Dyson
1995-02-15 03:03:03 +00:00
David Greenman
a8c6dbca84 >Description:
The "strings" program chokes if you try using "-n".

>How-To-Repeat:

	Try "strings -n SOMENUMBER SOMEFILE".

>Fix:

Here's a "diff -u" patch that corrects the problem.

Submitted by:	Lon Willett <lon%softt.uucp@math.utah.edu> via NetBSD
1995-02-15 02:47:47 +00:00
Jordan K. Hubbard
f4eba1d716 Make /var/yp.
Suggested by: se
1995-02-15 01:51:18 +00:00
Garrett Wollman
8f283fdc8f Move apm(4) to i386 section, since it is i386-specific. 1995-02-15 01:20:03 +00:00
Jordan K. Hubbard
6f96f72b16 Add ISDN entries to LINT. 1995-02-15 00:53:15 +00:00
Jordan K. Hubbard
8c5da82528 Import the ISDN userland utilities. Just about ready to start shaking
this baby out in earnest..
1995-02-15 00:46:26 +00:00
Jordan K. Hubbard
c7fcb45b9c Create a /usr/share/isdn directory. 1995-02-15 00:41:23 +00:00
David Greenman
1564b6f5e0 Slight change of wording on clean flag not set message to appease some
complaints.
1995-02-15 00:23:56 +00:00
David Greenman
69f92856cb >The fix for the missing ".." in the root directory is enclosed below.
Submitted by:	Kirk McKusick
1995-02-15 00:17:56 +00:00
Jordan K. Hubbard
bfbd29a110 I've found two bugs in manctl(8). There are two spurious ";" after a "then"
in the script. The result is the following :

203 [23:47] root@keltia:/build/cvs-1.4A2# manctl
/usr/sbin/manctl: 165: Syntax error: ";" unexpected

Here is the fix :
Submitted by:	Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
1995-02-15 00:07:59 +00:00
Jordan K. Hubbard
19c84690f0 Add device entries for ISDN driver. 1995-02-14 23:48:05 +00:00
Stefan Eßer
9ddf96998e ncr.c:
New config option "NCR_IOMAPPED" makes the driver use port I/O.
Put back in 53c815 defines, submitted by Mikael Hybsch <micke@dynas.se>.
These had got lost between cvs rev. 1.14 and now ...

pci.c:

Really write config space register.
Assign ports starting at 0xbc00.

Submitted by:	wolf
Reviewed by:	se
1995-02-14 23:33:38 +00:00
Garrett Wollman
628e3e3401 After dynamically reducing rtq_reallyold, have in_rtqkill() reduce the
expiration timer of anything which would expire later than that.  (There
should be a way to call this from ip_sysctl() as well, but there currently
isn't.)
1995-02-14 23:11:26 +00:00
Garrett Wollman
ea80aed1a9 Attempt to make the host route cache a bit smarter under conditions of
high load:

	1) If there ever get to be more than net.inet.ip.rtmaxcache entries
	   in the cache, in_rtqtimo() will reduce net.inet.ip.rtexpire by
	   1/3 and do another round, unles net.inet.ip.rtexpire is less than
	   net.inet.ip.rtminexpire, and never more than once in ten minutes
	   (rtq_timeout).

	2) If net.inet.ip.rtexpire is set to zero, don't bother to cache
	   anything.
1995-02-14 23:04:52 +00:00
Stefan Eßer
1bc2211b44 Verify that NCR was mapped to uncached address.
Submitted by:	wolf@kintaro.cologne.de <Wolfgang Stanglmeier>
1995-02-14 22:48:01 +00:00
Jordan K. Hubbard
804b5d8f47 Bring in the ISDN driver entries. 1995-02-14 22:36:49 +00:00
Jordan K. Hubbard
53c1e53822 Add the ISDN entries 1995-02-14 22:34:41 +00:00
Jordan K. Hubbard
730d52ffe3 Add the ISDN entries. 1995-02-14 22:34:04 +00:00
Jordan K. Hubbard
2933703e6d Julian E. says the code is out of date, but I can at least make the
includes look right until we get a chance to fix the rest of this.
1995-02-14 22:33:10 +00:00
Rodney W. Grimes
a533e22a54 Export ${DESTDIR} to h2ph so that the *.ph files end up in the DESTDIR
directories instead of /usr/share/perl.
1995-02-14 21:47:04 +00:00
Gary Palmer
05002e8cb5 Make the checksum target not bomb out if there is a mismatch, just
print a warning. A better fix will come along just as soon as I
work out what it is.
1995-02-14 21:29:28 +00:00
Ugen J.S. Antsilevich
d667b870a2 TS_SNOOP flag added to identify tty is begin snoopped
snoop.h have all structures related to the snp device and stuff
1995-02-14 21:23:48 +00:00
Ugen J.S. Antsilevich
dde8a05baa Here it came-the all-brand-new snoop device..
Users-beware..
It is tested and working for me but probably have some bugs i
didn't noticed so test it and reply...
It can:
 look at what's sent to the user from tty device
 snoop on pty's,vty's and serial tty's
It (still) can't:
 write to tty
 see what user types in local echo mode
It is probably bad styled and
 very dependant on tty_pty.c,sio.c and syscons.c
I would be really happy if another ppl would make their
changes because i am not sure this is the best snoop
we can have..but it is good..:)))))
1995-02-14 21:21:26 +00:00
Ugen J.S. Antsilevich
71ac9ea4e9 cdevsw[] entry for snoop device.
I took 53 and it was too late when Jordan sayd
it better been 60..besides i have no clue how to make it 60..
Jordan- pleeease don't kill me..(This is also useful(??) device..)
1995-02-14 21:16:43 +00:00
Rodney W. Grimes
99fd7a9b42 Add missing ${DESTDIR} so that the sample dir file ends up in the
correct place.
1995-02-14 21:15:58 +00:00
Ugen J.S. Antsilevich
4cba45558a pseudo-device snp 3
Example entry for snoop.
1995-02-14 21:15:12 +00:00
Ugen J.S. Antsilevich
819f72f9f9 kern/tty_snoop.c - optional for snp device
added..
1995-02-14 21:14:11 +00:00
Ugen J.S. Antsilevich
187ec8f5ae Added /dev/snp? entry.. 1995-02-14 21:13:14 +00:00
Rodney W. Grimes
36d9739b48 Remove usage of LINKS and LN_FLAGS=-s, this does not do the correct thing
for symbolic links when $DESTDIR is set.

Add afterinstall: target to handle symbolic link creation.
1995-02-14 21:08:45 +00:00
Stefan Eßer
70b344d1af Added Matt Thomas' e-mail address. 1995-02-14 20:20:46 +00:00
Rodney W. Grimes
4a218a6de8 Remove use of ${DESTDIR} in target of symbolic link, it makes the link
point to the wrong place.
1995-02-14 19:43:09 +00:00