summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
Commit message (Collapse)AuthorAgeFilesLines
* o Don't tell that there's such a thing as a C suffix for specifyingmarcel2003-11-041-7/+22
| | | | | | | | a partition size on ia64. It's not true. o Ask for a mountpoint for EFI partitions as well and check that it isn't "/". o On ia64 we may need to add EFI partitions. Make sure we pass the right arguments to Create_Chunk_DWIM() in that case.
* o Add PART_EFI so that we can use it instead of PART_FAT on ia64marcel2003-11-023-26/+58
| | | | | | | | | | to better deal with the fact that we need an EFI partition and that we need to have a mountpoint for it. o When creating a new partition, add EFI to the list of types the user can select from. This makes it easy to create an EFI. o Do not include wizard.c on ia64. o The user cannot create a partition on ia64 that's a multiple of the cylinder size. We don't have a notion of cyclinders.
* o Do not define WITH_SYSCONS and WITH_MICE on ia64. We cannot havemarcel2003-11-011-2/+2
| | | | | | a generic kernel with syscons. o Do not define WITH_SLICES on ia64. We only label because we're going to create GPT disks.
* o Compile-out "wizard" mode on ia64.marcel2003-11-011-4/+26
| | | | | | | | | o Also allow swap and filesystem partitions outside a freebsd slice. This is typically the case for GPT. o Allow chunks of type "whole" to be displayed at the top. This is to allow a GPT disk to be labeled. We need a slice out of which we can make partitions, but a GPT disk doesn't have slices. For GPT disks a chunk of type "whole" can then be used as a placeholder.
* o Compile-out "wizard" mode on ia64.marcel2003-11-011-2/+4
| | | | | o Do not set bootblocks on ia64. It's not even a functionality in libdisk on ia64.
* When we pass a string as auxillary data (type long), be sure to convertpeter2003-10-261-1/+2
| | | | it to a suitable type for the initialization.
* Various NFS-related bug fixes (mostly related to using variable_get()des2003-10-192-0/+4
| | | | | | instead of variable_cmp() to test boolean rc.conf variables). Submitted by: hmp
* Tweak "system security profiles:rwatson2003-09-281-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | (1) Don't modify the configuration of the NFS server as a result of selecting a profile. We already explicitly prompt for the NFS server configuration during install, and the user may not get much advance notice that we're turning it off again. Instead, use profiles (for better or for worse) only for security tuning. (2) Don't modify the sendmail setting as part of the security profile: use the default from /etc/defaults/rc.conf rather than explicitly specifying. Note that the default in /etc/defaults/rc.conf is more conservative than the explicit rc.conf entry added by sysinstall during install, as it does not permit SMTP delivery. (3) Update "congratulations on your profile" text to reflect these changes. Note that security profiles now affect only the securelevel and sshd settings. My leaning would be to make sshd an explicit configuration option, move securelevels to the security menu, and drop security profiles entirely. However, that requires more plumbing of sendmail than I'm currently willing to invest. We may want to add a "permit SMTP delivery" question to the install process.
* - Another update to list of FTP siteskensmith2003-09-281-0/+17
| | | | Approved by: murray
* Fix a cut n paste typo I introduced in rev 1.211.trhodes2003-09-271-1/+1
| | | | | | | PR: 57012 Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version) Friendly prod provided by: murray MFC: after re approval
* Update list of FTP sites.kensmith2003-09-241-124/+117
| | | | Approved by: jhb
* Name moderate security settings "Moderate", not "Medium"eivind2003-09-181-1/+1
|
* Referring to FreeBSD versions later than 2.0R as "fairly recent" is prettyphk2003-09-181-2/+1
| | | | | | | archaic at this point in time. Pretend nobody runs FreeBSD 1.x anymore in order to not confuse people needlessly. Laplink support probably doesn't even work at this point in time anyway...
* Fix 3 'cast to pointer from integer of different size' warnings.marcel2003-09-171-6/+9
| | | | While here, fix the long line bugs in the same statements.
* Remove the unrequired -bi from the newaliases line. Note in the commit logtrhodes2003-09-111-1/+1
| | | | | | that the last change should have read: exim_enable="YES" in the changes listing. Discussed with: ceri
* With the exim port upgrade, modify sysinstall(8):trhodes2003-09-101-12/+10
| | | | | | | | | | | | | - Add 'enable_exim="YES"' to rc.conf(5) - Use the default exim configuration file from the port - When using sendmail, disable some more scripts that use sendmail specific parameters - Have sysinstall tweak mailer.conf(5) substitution - Use 'N' flag for newsyslog(8) Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> Reviewed by: sheldonh, simon Tested by: myself (trhodes) and submitter
* Add a device driver for the Broadcom BCM4401 ethernet controller,wpaul2003-09-091-0/+1
| | | | | | | | | | | | | | written by Stuart Walsh and Duncan Barclay (with some kibbitzing by me). I'm checking it in on Stuart's behalf. The BCM4401 is built into several x86 laptop and desktop systems. For the moment, I have only enabled it in the x86 kernel config because although it's a PCI device, I haven't heard of any standalone NICs that use it. If somebody knows of one, we can easily add it to the other arches. This driver uses register/structure data gleaned from the Linux driver released by Broadcom, but does not contain any of the code from the Linux driver itself. It uses busdma.
* Take the support for the 8139C+/8169/8169S/8110S chips out of thewpaul2003-09-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rl(4) driver and put it in a new re(4) driver. The re(4) driver shares the if_rlreg.h file with rl(4) but is a separate module. (Ultimately I may change this. For now, it's convenient.) rl(4) has been modified so that it will never attach to an 8139C+ chip, leaving it to re(4) instead. Only re(4) has the PCI IDs to match the 8169/8169S/8110S gigE chips. if_re.c contains the same basic code that was originally bolted onto if_rl.c, with the following updates: - Added support for jumbo frames. Currently, there seems to be a limit of approximately 6200 bytes for jumbo frames on transmit. (This was determined via experimentation.) The 8169S/8110S chips apparently are limited to 7.5K frames on transmit. This may require some more work, though the framework to handle jumbo frames on RX is in place: the re_rxeof() routine will gather up frames than span multiple 2K clusters into a single mbuf list. - Fixed bug in re_txeof(): if we reap some of the TX buffers, but there are still some pending, re-arm the timer before exiting re_txeof() so that another timeout interrupt will be generated, just in case re_start() doesn't do it for us. - Handle the 'link state changed' interrupt - Fix a detach bug. If re(4) is loaded as a module, and you do tcpdump -i re0, then you do 'kldunload if_re,' the system will panic after a few seconds. This happens because ether_ifdetach() ends up calling the BPF detach code, which notices the interface is in promiscuous mode and tries to switch promisc mode off while detaching the BPF listner. This ultimately results in a call to re_ioctl() (due to SIOCSIFFLAGS), which in turn calls re_init() to handle the IFF_PROMISC flag change. Unfortunately, calling re_init() here turns the chip back on and restarts the 1-second timeout loop that drives re_tick(). By the time the timeout fires, if_re.ko has been unloaded, which results in a call to invalid code and blows up the system. To fix this, I cleared the IFF_UP flag before calling ether_ifdetach(), which stops the ioctl routine from trying to reset the chip. - Modified comments in re_rxeof() relating to the difference in RX descriptor status bit layout between the 8139C+ and the gigE chips. The layout is different because the frame length field was expanded from 12 bits to 13, and they got rid of one of the status bits to make room. - Add diagnostic code (re_diag()) to test for the case where a user has installed a broken 32-bit 8169 PCI NIC in a 64-bit slot. Some NICs have the REQ64# and ACK64# lines connected even though the board is 32-bit only (in this case, they should be pulled high). This fools the chip into doing 64-bit DMA transfers even though there is no 64-bit data path. To detect this, re_diag() puts the chip into digital loopback mode and sets the receiver to promiscuous mode, then initiates a single 64-byte packet transmission. The frame is echoed back to the host, and if the frame contents are intact, we know DMA is working correctly, otherwise we complain loudly on the console and abort the device attach. (At the moment, I don't know of any way to work around the problem other than physically modifying the board, so until/unless I can think of a software workaround, this will have do to.) - Created re(4) man page - Modified rlphy.c to allow re(4) to attach as well as rl(4). Note that this code works for the sample 8169/Marvell 88E1000 NIC that I have, but probably won't work for the 8169S/8110S chips. RealTek has sent me some sample NICs, but they haven't arrived yet. I will probably need to add an rlgphy driver to handle the on-board PHY in the 8169S/8110S (it needs special DSP initialization).
* The PCMCIA Standard dictates that those funny cards you insert intoimp2003-08-201-1/+1
| | | | | laptops are "PC Cards" and uses said term consistantly. Allow my foolish hobgoblins to get the better of me and become consistant.
* Add a new variable 'skipPCCARD'. This variable will cause sysinstallimp2003-08-203-1/+5
| | | | | | | | | to ignore all PC Card devices. Submitted by: Anders Nordby PR: bin/37650 MFC After: 2 weeks
* Remove the vestiges of the old pre-"X_AS_PKG" way we used to handled theobrien2003-08-195-207/+1
| | | | | | installing XFree86 (version 3.3.6 and before). Reviewed by: jhb
* Expand the fdisk size display toggling to include GB.obrien2003-08-191-2/+6
|
* Instead of unconditionally refusing to install if no swap partitionsdas2003-08-101-3/+4
| | | | are specified, prompt the user with a yes/no box.
* Always put an entry for ::1. It may avoid useless DNS lookupume2003-08-031-8/+5
| | | | | | for localhost. MFC after: 3 days
* Give users the ability to select an alternative MTA during the installation.trhodes2003-07-124-33/+252
| | | | | | | | This option adds Postfix and Exim to the list, however, qmail is not added due to license restrictions. Collaborated with: Simon L. Nielsen <simon@nitro.dk> Reviewed by: jhb, re@, -audit.
* GRRR. Do not force Dangerously Dedicated mode on amd64 when you selectpeter2003-06-041-1/+1
| | | | | | | 'use entire disk'. Neither for ia64 while I'm here - it needs a MBR if its going to use fdisk+disklabel. The ia64 case is mostly academic though because you'd be creating two partitions (dos + freebsd) rather than a single freebsd-only partition.
* Teach sysinstall to recognize if acpi was turned off from the bootloader,scottl2003-05-313-0/+51
| | | | | | and then ask the user if this should be made permanent. Approved by: re
* Add __amd64__ ifdefs to enable the bootblock handling code, slices, etc.peter2003-05-245-9/+9
| | | | | Approved by: re (murray) Obtained from: obrien
* The "krb5" distribution was merged with "crypto", record the death.ru2003-05-222-5/+3
| | | | | Reviewed by: jhb Approved by: re (jhb)
* Reword the infamouse mouse dialog to ask if you have a PS/2, serial, orjhb2003-05-131-1/+1
| | | | | | | | bus mouse instead of if you have a non-USB mouse. Requested by: many Prodded by: dougb Approved by: re (scottl)
* Teach sysinstall about the ServeRAID disk device.scottl2003-05-111-0/+1
|
* Add the dragon screen saver.murray2003-05-051-0/+2
| | | | | PR: bin/51571 MFC After: 1 week
* Don't use UFS2 by default during the install process on PC98, as therwatson2003-04-212-11/+18
| | | | | | | | | | | PC98 boot blocks don't support UFS2. We keep newfs(8) defaulting to UFS2. Warn users that FreeBSD can only boot from a root file system smaller than 1.5TB; hopefully this will get fixed by the patches currently floating around on -CURRENT. Reviewed by: nyan
* Add device driver support for the ASIX Electronics AX88172 USB 2.0wpaul2003-04-201-0/+1
| | | | | | | | | | | ethernet controller. The driver has been tested with the LinkSys USB200M adapter. I know for a fact that there are other devices out there with this chip but don't have all the USB vendor/device IDs. Note: I'm not sure if this will force the driver to end up in the install kernel image or not. Special magic needs to be done to exclude it to keep the boot floppies from bloating again, someone please advise.
* Throw the switch--change to UFS2 as our default file system format forrwatson2003-04-204-19/+37
| | | | | | | | | | | | | | | | | | | | FreeBSD 5.1-RELEASE and later: - newfs(8) will now create UFS2 file systems unless UFS1 is specifically requested (-O1). To do this, I just twiddled the Oflag default. - sysinstall(8) will now select UFS2 as the default layout for new file systems unless specifically requested (use '1' and '2' to change the file system layout in the disk labeler). To do this, I inverted the ufs2 flag into a ufs1 flag, since ufs2 is now the default and ufs1 is the edge case. There's a slight semantic change in the key behavior: '2' no longer toggles, it changes the selection to UFS2. This is very similar to a patch David O'Brien sent me at one point, and that I couldn't find. Approved by: re (telecon) Reviewed by: mckusick, phk, bmah
* style.Makefile(5)obrien2003-04-041-1/+1
|
* Remove ftp2.it.FreeBSD.org from the list of mirrors.roam2003-03-141-2/+0
| | | | | Submitted by: Alex Dupre <sysadmin@alexdupre.com> Approved by: silence on -arch
* Remove a function prototype for `crc' and an associated comment whichrobert2003-03-091-3/+0
| | | | were useless for at least seven years and eight months.
* KerberosIV deorbit sequence: Un-teach sysinstall about KerberosIV. I'mmarkm2003-03-082-8/+2
| | | | | not 100% sure that I've done this in the right way. If folks want to revisit this, please be my guest.
* Use correct interface name (it's different on -current).sobomax2003-03-051-1/+1
| | | | | Submitted by: Brooks Davis <brooks@one-eyed-alien.net> MFC after: 20 days
* Remove local hack that somehow slipped into the previous commit.sobomax2003-03-051-1/+1
| | | | MFC after: 20 days
* Add missed description for the `ds' (disc(4)) pseudo-interface.sobomax2003-03-051-1/+2
| | | | | Sponsored by: Porta Software Ltd MFC after: 20 days
* Add a new variable `noInet6', which if set disables IPv6 configurationsobomax2003-02-271-0/+1
| | | | | | dialog for network interfaces. MFC after: 20 days
* - Increase the maximum device name length.jwd2003-02-271-1/+1
| | | | | | | | - Actually check that the entered device name does not exceed the maximum device name length. PR: misc/18466 MFC after: 2 weeks
* s/to try and retry/to retry/ceri2003-02-191-1/+1
| | | | | | | PR: misc/48226 Submitted by: Gary W. Swearingen <swear@attbi.com> MFC After: 2 days Approved by: murray (mentor)
* Relocate a call to enable inetd so that it is set regardless ofrwatson2003-02-061-2/+1
| | | | | | | whether the user chooses to edit inetd.conf. PR: 39311 Reported by: Martin Faxer <gmh003532@brfmasthugget.se>
* Fixup capitalization in some of the Startup menu entries.jhb2003-02-031-6/+6
| | | | Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* Teach sysinstall about the em(4) device.trhodes2003-01-271-0/+1
| | | | | | | | PR: 46439 Submitted by: Dan Lukes <dan@obluda.cz> Approved by: re (murray) Tested? yes MFC: 1 day
* Correct typo.murray2003-01-261-1/+1
| | | | Submitted by: Andreas Kohn <andreas.kohn@gmx.net> (via -STABLE)
* Change the nominal swap calculation from 1/2 physical memory to 1/8dillon2003-01-251-1/+1
| | | | | | | | | | | | | | physical memory. The default is still 2x physical memory. The nominal calculation is used to back-off swap auto-allocation ('A'uto command) when the disk is not large enough to accomodate all filesystem auto-defaults. This gives other partitions (like /usr) more priority over swap on smaller disks. This should help solve reported auto-sizing failures on machines with small hard drives and huge amounts of memory. For example, a machine with 2G of disk and 4G of memory will fail to auto-size without this fix. MFC after: 3 days
OpenPOWER on IntegriCloud