Commit Graph

2459 Commits

Author SHA1 Message Date
jkh
661bd21d90 kernel space savings allow reactivation of NFS installs. 2000-01-03 10:00:09 +00:00
jkh
c9fa7d9f73 nuke debugging symbols from kern.flp kernels. 2000-01-03 09:59:37 +00:00
jkh
1a4e8a1971 Only print "couldn't install distributions" popup if any
actual distributions were found to go along with the residual
mask value.
1999-12-29 01:49:11 +00:00
wpaul
b39a79861d This commit adds device driver support for the ADMtek AN986 Pegasus
USB ethernet chip. Adapters that use this chip include the LinkSys
USB100TX. There are a few others, but I'm not certain of their
availability in the U.S. I used an ADMtek eval board for development.
Note that while the ADMtek chip is a 100Mbps device, you can't really
get 100Mbps speeds over USB. Regardless, this driver uses miibus to
allow speed and duplex mode selection as well as autonegotiation.
Building and kldloading the driver as a module is also supported.

Note that in order to make this driver work, I had to make what some
may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer()
function will use tsleep() for synchronous transfers that don't complete
right away. This is a problem since there are times when we need to
do sync transfers from an interrupt context (i.e. when reading registers
from the MAC via the control endpoint), where tsleep() us a no-no.
My hack allows the driver to have the code poll for transfer completion
subject to the xfer->timeout timeout rather that calling tsleep().
This hack is controlled by a quirk entry and is only enabled for the
ADMtek device.

Now, I'm sure there are a few of you out there ready to jump on me
and suggest some other approach that doesn't involve a busy wait. The
only solution that might work is to handle the interrupts in a kernel
thread, where you may have something resembling a process context that
makes it okay to tsleep(). This is lovely, except we don't have any
mechanism like that now, and I'm not about to implement such a thing
myself since it's beyond the scope of driver development. (Translation:
I'll be damned if I know how to do it.) If FreeBSD ever aquires such
a mechanism, I'll be glad to revisit the driver to take advantage of
it. In the meantime, I settled for what I perceived to be the solution
that involved the least amount of code changes. In general, the hit
is pretty light.

Also note that my only USB test box has a UHCI controller: I haven't
I don't have a machine with an OHCI controller available.

Highlights:

- Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part.
- Updated usbdevs and regenerated generated files
- Updated HARDWARE.TXT and RELNOTES.TXT files
- Updated sysinstall/device.c and userconfig.c
- Updated kernel configs -- device aue0 is commented out by default
- Updated /sys/conf/files
- Added new kld module directory
1999-12-28 02:01:18 +00:00
jkh
6628432cee Sacrifice, for now, NFS and NETGRAPH on the alpha boot floppy
so that we can get it back onto 1.44MB boot media again.  This
does not affect the i386 class build.
1999-12-25 07:22:10 +00:00
dcs
f39fe09d78 configSamba is gone, and is not coming back. 1999-12-23 10:16:46 +00:00
phk
6a0bba96a2 Don't barf on the releasename symlink in the ftp area on make rerelease. 1999-12-22 18:56:14 +00:00
jkh
b71f510e43 Fix the brain-o which prevented the Custom installation item from
working.  It was, as I predicted, a stupid bug and thanks to the
submitter for spotting it.  I'll also re-roll some 3.4-RELEASE install
floppies for this.
1999-12-22 01:44:57 +00:00
dcs
aac552da07 configApache does not exist anymore.
PR:		9582
Submitted by:	Stephan Lagerholm <istephan@unilog.se>
1999-12-20 19:22:57 +00:00
grog
5cdd5a30ef Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand.  Previously /sbin and /bin were symlinks to
/stand.  Now /bin and /stand are symlinks to /sbin.
1999-12-20 02:16:55 +00:00
grog
b8a9fdaa2b Add content. This was one of the files that somehow got checked in
empty.  An empty loader.rc will enable the kernel to boot, but it
won't find init (because the MFS file system hasn't been loaded).
1999-12-20 02:15:04 +00:00
grog
12414271a6 Accept a lot of programs from the first floppy.
Reenable build of ppp and ipfw.

Include pccardd.
1999-12-20 02:13:28 +00:00
grog
4d2d57d100 Define RELEASE_CRUNCH as a make variable. Previously it was defined
as a preprocessor variable only.  This broke the build of ppp.  This
problem still exists in the old-style directories.

Debugging-help-supplied-by: brian
1999-12-20 02:12:27 +00:00
grog
9228fe234f Move even more programs to the second floppy as the kernel bloats. 1999-12-20 02:10:55 +00:00
grog
fae25755f6 Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand.  Previously /sbin and /bin were symlinks to
/stand.  Now /bin and /stand are symlinks to /sbin.
1999-12-20 02:10:16 +00:00
grog
6855e801ec Handle building individual targets better. It's still broken; the
only way to be sure the build works correctly is to do a 'make all'.
But with these changes, it's easier to test individual targets.  In
particular, ensure that the vnode file systems are mounted before
writing to them.

Ensure that we don't get CVS directories on our floppies.

Use kgzip instead of kzip to compress the loader.  This saves a few
kB.

Remove some test cruft.
1999-12-20 02:07:42 +00:00
jkh
b4b3bd7bb3 Whoops, this function is supposed to return a boolean status, not
flags.
1999-12-20 00:16:10 +00:00
jkh
81c7927f94 Do better things with router configuration (use proper display variable,
for one thing - it's router_enable to check, not router).
1999-12-19 22:38:59 +00:00
jkh
1d70a13d49 Whoops, I broke the doc browser (not that anyone would notice since nobody
READS the docs, but anyway.. :).  Fix it.
1999-12-19 22:28:41 +00:00
jkh
0745b20d3b D'oh! Inserted a clear() in a *very* wrong place with my last commit. 1999-12-19 20:41:06 +00:00
jkh
271f076406 Bah, I got the MFC and this commit backwards. :) 1999-12-19 19:42:02 +00:00
jkh
d686cb2f42 MFC: can't stop tweaking this compulsively. 1999-12-19 07:02:46 +00:00
jkh
b844608749 cosmetics missed in last commit. 1999-12-19 06:50:44 +00:00
jkh
bead2e7139 More cosmetic surgery and a nasty null pointer bug in index.c fixed. 1999-12-19 06:34:22 +00:00
jkh
a9a9f9ac90 Be paranoid about refreshing after an action. 1999-12-19 04:06:46 +00:00
imp
f7dd0a4025 Add sn device: smc 91xx based ethernet controllers 1999-12-18 06:23:03 +00:00
jkh
0b50cdfa85 Yet more cosmetic fixes (I have a little time to kill while waiting for
something else, so I might as well tweak 3.4's look-and-feel for the better
while I'm at it - final release build should be sometime later on tonite).
1999-12-18 03:13:19 +00:00
jkh
597529e0d5 Add more strategic screen clears 1999-12-18 02:29:24 +00:00
jkh
47050d6c13 Better screen handling in X desktop setup.
Don't get cute with nested dialogs now.
1999-12-18 02:04:02 +00:00
jkh
d42718b143 Add another strategic screen clear. 1999-12-17 03:00:28 +00:00
jkh
38d1286e58 In retrospect, msgNotify() should leave its contents on the screen
longer to give the user something to look at while things are happening.
Change it to do so and insert the appropriate screen saves elsewhere.
1999-12-17 02:46:04 +00:00
jkh
ec81652781 Bump default root size to 50MB on i386 (70MB on Alpha).
Requested incessantly by:	billf
1999-12-17 02:02:51 +00:00
jkh
9a3f1f4929 Correct slight stuff-up in previous patch. 1999-12-16 02:14:30 +00:00
jkh
c4a2fd34b9 Update to use MD disk instead of MFS 1999-12-16 02:08:52 +00:00
jkh
c1c6d497b5 Copy the loader.help file to the boot floppy. 1999-12-16 00:58:58 +00:00
jkh
25b59a777c don't mknod stuff without making sure it's not there first. 1999-12-16 00:51:38 +00:00
jkh
68303bfb69 Correct comment about creating a boot floppy.
Submited by:	Jack O'Neill <jack@germanium.xtalwind.net>
1999-12-16 00:36:05 +00:00
jkh
b8ea83e2b2 Properly disable COMPAT_3X for alpha. 1999-12-15 18:55:27 +00:00
jkh
61075c3a9d Put up some more helpful dialog boxes.
Adjust some text to make more sense.
1999-12-15 01:30:52 +00:00
joerg
28f8af6c91 Step #2 of fixing the fixit floppy.
Kill duplicates for programs that have been in the boot crunched image
as well as on the fixit floppy (pwd, newfs, hostname, test).  Our
space is really too valuable to have them around there twice.  I doubt
pwd needs to be there at all since it's a builtin into sh(1) anyway
(oh, and the same applies to test(1) IIRC), but heck, leave them by
now.

Use the new `fixit' target in MAKEDEV to create the /dev nodes on
the floppy, instead of including the kitchensink...

Finally, tune the values used for creating the floppy.  I currently
end up with

Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused
/dev/vnn0c       1363     1301      -47   104%     368      14    96%

...which is not quite ideal yet, but at least a working configuration
again.
1999-12-14 22:41:09 +00:00
hm
a53726a684 update to isdn4bsd beta release 0.90 1999-12-14 21:14:28 +00:00
obrien
18701ab58a Document `chown's move. 1999-12-14 04:54:55 +00:00
jkh
d3944eb60a Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic,
keyboard accelerators.

This requires my recent update to libdialog to work properly and will
probably also exhibit some other "interesting" behavior while the last
few missing screen clears are found (which is why I'm not going to MFC
immediately).  At least now, however, sysinstall does not gratuitously
redraw random screens at the drop of a hat and drive serial console
installers out of their minds.
1999-12-14 04:25:29 +00:00
jkh
003a13cc32 Make kerberos4 conditional. 1999-12-14 00:47:23 +00:00
jkh
64485eb0e0 Conditionalize kerberos4 to keep sources in sync. 1999-12-14 00:44:05 +00:00
sheldonh
bdd5e708ab Add a warning about the perils of using an older version of sysinstall
to upgrade to a newer version of FreeBSD.

PR:		12777
Reported by:	wayne@staff.msen.com (Michael R. Wayne)
1999-12-13 16:30:55 +00:00
cpiazza
59edc2ecbd Extra capital letter in COnsole 1999-12-13 06:08:24 +00:00
jkh
576686e566 Note that Tekram controllers are supported again.
PR:		15090
Reported by:	Ilmar S. Habibulin <ilmar@ints.ru>
1999-12-12 21:06:44 +00:00
cpiazza
0dd43eafe6 sd->da, wd->ad 1999-12-12 19:12:45 +00:00
dillon
87823f200f Add blurb on massive improvements to NFS
Reviewed by:	jkh
1999-12-12 09:53:11 +00:00