Peter Wemm
a6575097c6
Load the first page of the file and use the headers in it. This should
...
avoid the need to seek back to offset zero which is causing trouble on
the Alpha with a gzipped kernel.
1998-10-17 03:06:38 +00:00
Alexander Langer
04fb8e53fc
Complete the description of sio flag 0x40.
...
Reviewed by: bde
1998-10-16 22:26:19 +00:00
Mike Smith
d800cebf61
Turn of disk debugging by default (suppress annoying "partition marked as
...
unused" diagnostic on floppies).
1998-10-16 19:26:11 +00:00
KATO Takenori
e165741792
Commented out bs driver.
1998-10-16 16:22:35 +00:00
Jordan K. Hubbard
908dcbd2a4
fixup for alpha.
1998-10-16 10:14:21 +00:00
Jordan K. Hubbard
2f40a12b31
fixup for the alpha. tag slid forward, since it's benign for the x86.
1998-10-16 10:13:09 +00:00
Jordan K. Hubbard
042b91764a
Back to -current again.
1998-10-16 06:55:36 +00:00
Jordan K. Hubbard
9af06d794b
post-tag version bump. We're now back at 3.0-current!
1998-10-16 06:55:07 +00:00
Peter Wemm
64e85001f6
Update SMP-GENERIC to something a bit more recent based on GENERIC.
...
Approved by: jkh
1998-10-16 04:44:05 +00:00
Peter Wemm
00e280ca86
Missed this file.
1998-10-16 04:31:35 +00:00
Peter Wemm
a654d07295
Sample initial set of kld-ified modules. Not all have been completely
...
converted yet. These are more of a starting point. This is NOT connected
to the parent Makefile.
OK'ed by jkh (who is ever so patiently waiting)
1998-10-16 04:30:52 +00:00
Jordan K. Hubbard
00347c3f1e
Bump freebsd version #.
1998-10-16 04:28:04 +00:00
Peter Wemm
aa855a598d
*gulp*. Jordan specifically OK'ed this..
...
This is the bulk of the support for doing kld modules. Two linker_sets
were replaced by SYSINIT()'s. VFS's and exec handlers are self registered.
kld is now a superset of lkm. I have converted most of them, they will
follow as a seperate commit as samples.
This all still works as a static a.out kernel using LKM's.
1998-10-16 03:55:01 +00:00
Peter Wemm
df481e793f
Fix some bugs in link_aout.c caused by using uninitialized malloc space.
...
Pre-Approved by: jkh
1998-10-16 03:45:35 +00:00
Peter Wemm
08a04a8985
Update the kld glue
...
Pre-Approved by: jkh
1998-10-16 03:32:03 +00:00
Peter Wemm
3323768d99
"fix" the gzipped kernel load problem by having the loader check that it
...
can seek back to the first PT_LOAD and doing a close/reopen if it cannot.
This is because the first PT_LOAD section includes the ELF headers.
This fixes gzipped kernels on the i386, it should solve mike's problem
for the Alpha.
1998-10-16 03:04:15 +00:00
Jordan K. Hubbard
fd4dfac938
Change to 3.0-RELEASE in anticipation of the tag.
1998-10-16 02:08:20 +00:00
David E. O'Brien
d1436a882b
Add commented out bpf entry. (DHCP is popular here, and this is required).
...
Ok'ed by: jkh
1998-10-16 01:30:11 +00:00
Justin T. Gibbs
1964f204c9
-Wunused cleanup.
...
Correct a problem where an external bus reset on the 'background' channel of
a Twin Channel EISA controller could put the driver into an infinite loop.
Noticed by: Twin Channel bug, Joerg Wunsch <joerg@FreeBSD.org>
Submitted by: -Wunused, Poul-Henning Kamp <phk@freebsd.org>
1998-10-15 23:49:27 +00:00
Justin T. Gibbs
b9450b7b2f
-Wunused cleanup.
...
Fixed bug in advansys.c where we did not properly clean up ccb_info data
structures in softc teardown.
Submitted by: Poul-Henning Kamp <phk@freebsd.org>
1998-10-15 23:47:14 +00:00
Justin T. Gibbs
4663e36736
-Wunused cleanup.
...
Submitted by: Poul-Henning Kamp <phk@freebsd.org>
1998-10-15 23:46:33 +00:00
Justin T. Gibbs
0a42741c4a
Honor CAM_TAG_ACTION_NONE.
1998-10-15 23:17:58 +00:00
Justin T. Gibbs
bb1f2fe47f
Add a mechanism to send a non-tagged transaction even if a device is
...
currently operating in a tagged mode. The SIM driver should determine
if a device is in tag mode by looking at the CAM_TAG_ACTION_VALID flag
in the ccb header. If the flag is set, the tag_action field is either
a SCSI II tag message (simple, ordered, head) or CAM_TAG_ACTION_NONE
to specify that no tagging should be performed.
1998-10-15 23:17:35 +00:00
Robert Nordier
67ac585edf
Fix path to sio.s
1998-10-15 22:08:13 +00:00
Doug Rabson
43c6fba4f6
Fix a typo preventing the correct value of kernend from being picked up
...
from the bootstrap. Also change some debug printfs from #if 0 to
#ifdef DEBUG_CLUSTER to make it easier to debug startup memory problems.
1998-10-15 22:00:54 +00:00
Doug Rabson
94bb328025
Change some printfs so that ELF_VERBOSE prints meaningful values on the alpha.
1998-10-15 21:56:47 +00:00
Doug Rabson
6214a95af0
Fix the bootinfo so that the right values actual make it into the kernel.
1998-10-15 21:55:58 +00:00
Robert Nordier
da55c91100
Add serial, dual, and probe-keyboard support.
1998-10-15 20:04:21 +00:00
Warner Losh
ca1a3d8c33
Reduce the number of ccbs to 16, per the aha documentation. Move
...
bogus comment to proper place.
This should fix the hangs people are seeing under very heavy load, at
least it does for me. Please let me know if you continue to have
problems.
1998-10-15 19:53:30 +00:00
Kenneth D. Merry
50642f180c
Fix several potential buffer overrun conditions. These changes have been
...
tested both in the kernel and in userland. Also, fix a couple of printf
warnings that show up when CAMDEBUG is defined.
Reviewed by: imp
Partially submitted by: imp
1998-10-15 19:08:58 +00:00
Justin T. Gibbs
bc1b1dad36
Bring back support for honoring the primary channel setting for twin channel
...
EISA adapters. This could have caused the system to find the wrong root
disk.
Reviewed by: J Wunsch <j@ida.interface-business.de>
1998-10-15 18:21:50 +00:00
Kenneth D. Merry
11021a1ab5
Clean up some unused variables.
...
Reviewed by: ken
Submitted by: phk
1998-10-15 17:46:26 +00:00
Peter Wemm
434bf653d2
- bzero() after malloc() bug fix
...
- look up relocation symbol names in correct table bugfix.
- remove unused (initialized to 0) variable and conditional free() of it.
1998-10-15 17:16:24 +00:00
Peter Wemm
bd4e381b03
- bzero() after malloc(). This is especially obvious when kern_malloc is
...
compiled with DIAGNOSTIC.
- Don't break from the preload module processing loop prematurely.
1998-10-15 17:12:12 +00:00
Peter Wemm
ddd62546e1
Fix sysinit_add().
...
- Don't include multiple copies of the previous sysinit in the new one.
- Leave space for and explicitly null terminate the new list.
1998-10-15 17:09:19 +00:00
Peter Wemm
f03d6f87b3
Get the last used address via a more conservative method, don't depend
...
on the module chain being in increasing address order.
1998-10-15 17:06:36 +00:00
Doug Rabson
e4b0567b9b
Change a bogus cast to the correct one.
1998-10-15 09:53:27 +00:00
Doug Rabson
216a0f2d7f
Don't frob the user stack directly, use suword instead. This fixes the
...
elf_freebsd_fixup() panic which many people have noticed on the alpha.
1998-10-15 09:52:19 +00:00
Doug Rabson
67fc32a9ff
Use the interface name as well as the method name when creating the method
...
description.
Submitted by: Nick Hibma <nick.hibma@jrc.it>
1998-10-15 09:50:45 +00:00
Søren Schmidt
8de3e08bf8
Make the next_writeable address specific for each drive, there might
...
be more than one burner online.
1998-10-15 08:11:55 +00:00
Peter Wemm
456aa5a8cf
Forgot to commit this; the alpha uses the kld symbol interface now. The
...
tables that db_elf.c is expecting are not loaded in that format any more.
1998-10-15 02:01:50 +00:00
Kenneth D. Merry
1b6833dbb1
Narrow the quirk entry for the Seagate Elite 9 a bit to just cover drives
...
with 71* firmware revisions. Scott Mace <smace@intt.ORG> reports that
drives with 00* firmware revisions do tagged queueing just fine.
1998-10-14 22:51:51 +00:00
Kenneth D. Merry
8597eafed0
Disable tagged queueing for the Seagate Elite 9GB drives. They tend to get
...
hung up when you send tags to them too quickly. (CAM is able to recover
from the problem, but this just avoids it altogether.)
Reviewed by: gibbs
Reported by: Bret Ford <bford@uop.cs.uop.edu>
and: Martin Renters <martin@tdc.on.ca>
1998-10-14 21:17:39 +00:00
Kenneth D. Merry
a937ccdc09
Disable the 'devstat_end_transaction' busy count printf until after 3.0
...
release goes out the door. We know there's a bug in the devstat
implementation in the wd driver, but bde and msmith haven't been able to
fix it yet.
So, disable the printf to avoid confusing/worrying people.
Suggested by: msmith
1998-10-14 20:44:05 +00:00
Robert Nordier
898adc1c96
Activate boot2.
1998-10-14 20:40:56 +00:00
Matt Jacob
9eefce67dc
Andrew Gallatin reported some internal queue overflows with MAXISPREQUEST
...
at 256. So- to be safe, let's roll back to 64 while we do some more
investigating.
1998-10-14 16:55:00 +00:00
Dmitrij Tejblum
f74d75a2b6
Backed out rev. 1.164. It caused problems on SMP.
...
PR: 8309
1998-10-14 15:05:52 +00:00
Peter Wemm
eb49863f1b
Link fdboot to boot1 as well.
1998-10-14 13:19:52 +00:00
Peter Wemm
9fd9f49c01
Fix a warning I missed before.
1998-10-14 10:08:35 +00:00
Peter Wemm
68d2bdcbb0
Typo fix.
1998-10-14 10:04:32 +00:00