Commit Graph

12952 Commits

Author SHA1 Message Date
martin 3bcdf0bd06 Add support for ext2fs to i386/amd64 ramdisks.
This is usefull for setup with various xen hosting providers.
Prompted by Blair Sadewitz.
2012-06-17 14:59:15 +00:00
joerg c9196b81ce Update LLVM/Clang snapshot to r158533. This brings in support for
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
2012-06-16 17:01:02 +00:00
riz 49449523c7 Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
adapt the urtwn(4) driver to use the new files.  The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.

While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.

urtwn(4) can now operate without needing external files installed.  Tested
on my Edimax adapter.
2012-06-14 04:14:35 +00:00
martin 853d84df1f The NetBSD logo, when rendered with a binary transparency mask like we
used to do it for the xdm greeter, looks extremely ugly.
Unfortunately xdm has no means to load and mix alpha channel images,
so provide a png file and precomputed xpms with proper background colour
for the greeter.
If users change their greeter resources and change the background, they will
have to regenerate that xpm file, provide proper instructions for this.
While there, use less clunky fonts (hi Jared!).
XXX the fonts are not exactly perfect, if anyone feels like fine tuning
this further, please be my guest.
2012-06-13 18:51:35 +00:00
njoly 8d31656afc New testcase to check limits flags for ulimit builtin. 2012-06-11 18:32:59 +00:00
jdf e68bb1b900 Change name of author from Nudleman to Nudelman.
See less(1) or http://en.wikipedia.org/wiki/Less_(Unix) for reference.
Patch provided by Bug Hunting
2012-06-08 12:39:42 +00:00
martin c1004a7836 Add a basic test for infocmp - this would have cought todays terminfo
lossage (PR lib/46553).
2012-06-06 21:23:10 +00:00
christos 1a812b26a7 add colorbars 2012-06-06 00:16:01 +00:00
christos e2fcebd868 bump for bind-9.9.1-P1 2012-06-05 00:37:46 +00:00
rkujawa 553cd10b7f Add empb(4) page to distribution list 2012-06-04 20:19:28 +00:00
joerg fc67b0cd11 Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00
joerg 1907ec3a61 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
njoly 10f0e4d416 Add run(4) cat page. 2012-06-02 10:06:29 +00:00
nonaka c9051a9fd6 Use /libdata/firmware/run instead of /libdata/firmware/rum for run(4) firmwares. 2012-06-01 13:19:38 +00:00
skrll 54d811b02d Fix t_backtrace.debug entry. 2012-06-01 10:52:38 +00:00
christos a190c7e200 add urtw.4 2012-05-30 18:35:13 +00:00
nonaka 9cdb1c70e5 Add a driver for Ralink Technology RT2700U/RT2800U/RT3000U USB IEEE
802.11a/b/g/n wireless network devices, ported from OpenBSD by FUKAUMI Naoki,
arranged by me.
2012-05-30 14:30:32 +00:00
martin c79e048034 Add 32bit libexecinfo version 2012-05-29 22:43:24 +00:00
martin ec626ba614 Add n64/o32 versions of libexecinfo 2012-05-29 15:42:42 +00:00
christos 1ca0030a87 sets for execinfo test 2012-05-27 19:18:13 +00:00
skrll 870a53450d Install intrdefs.h 2012-05-27 11:26:38 +00:00
matt a05c03dcb4 Restore libexpat which got replaced by libexecinfo 2012-05-27 02:35:43 +00:00
matt 7a072d6271 Fix some libexecinfo set problems. 2012-05-27 02:27:28 +00:00
christos d6f5e10914 libexecinfo sets 2012-05-26 22:15:03 +00:00
wiz 9f48981dbb really mark wake as obsolete. 2012-05-26 06:59:25 +00:00
tsutsui 43c1a70bcc Most contents in ftp://ftp.NetBSD.org/pub/NetBSD/packages/ seem removed
recently (do we have any announcment?) so update pakcages URLs and
descriptions accordingly.
2012-05-26 05:51:13 +00:00
tsutsui f03261f467 Fix regression by my dumb patch in PR/45990.
sysinst fails with "floating exception" after
changing MBR partition size in MBR editor menu
if the target disk doesn't have valid MBR partition
or has a valid partition 0 whose offset is not 1MB aligned
(like 63 sectors).

read_mbr() (which calls get_ptn_alignment()) is called
before set_bios_geom(), so bhead is not initialized there
and ptn_alignment could be zero.

To workaround, explicitly call get_ptn_alignment() again
in edit_mbr() to update ptn_alignemnt per BIOS geom values.
2012-05-26 05:09:59 +00:00
uebayasi 6b4d01fdae Rename wake(8) to wakeonlan(8). Approved by core@. 2012-05-26 01:58:17 +00:00
jnemeth ad2783f75a PR/46393 - Nat Sloss -- add gpt(8) to /rescue 2012-05-25 21:46:13 +00:00
jdf cb54fe064f Changed returncodes to -1 of mount_disks in case of error (before, they were
inverted).
Add message mount_failed to be displayed when a mount fails, offering the
opportunity to go on anyway (fix for PR install/12020).
2012-05-21 22:38:25 +00:00
martin 6c3cc552c2 Calling _lwp_create() with a bogus ucontext could trigger a kernel
assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently
discovered by YAMAMOTO Takashi and Joel Sing.

To avoid this, introduce a cpu_mcontext_validate() function and move all
sanity checks from cpu_setmcontext() there. Also untangle the netbsd32
compat mess slightly and add a cpu_mcontext32_validate() cousin there.

Add an exhaustive atf test case, based partly on code from Joel Sing.

Should finally fix the remaining open part of PR kern/43903.
2012-05-21 14:15:16 +00:00
jruoho af62c3b4d8 Add a test case for PR kern/46463. From Richard Hansen. 2012-05-18 15:25:25 +00:00
rkujawa 6109f7ffaf Add xsurf(4) man page to distribution list. 2012-05-15 17:47:48 +00:00
jdf 7b75438926 Adds a check to determine the root filesystem for determining the path of the
rc.conf. Without, the menu would fail as it tried to `chroot ""` (target_root
returns "" for / as root).
2012-05-15 15:50:58 +00:00
martin b5e206ee7a Tweak a few grammar errors 2012-05-15 08:47:53 +00:00
abs cc2189268d Enable wsfb X server on vax. Likely to be keyboard and mouse issues, but
with three additional lines of an ioctl() case in the kernel 'startx' will
display the traditional three xterms
2012-05-14 08:42:03 +00:00
mrg 3f86678fb0 document a large chunk of the USB interface. some of this is kind of
generic and depends upon understanding USB itself (and since i don't
really that well, i might have gotten some wrong.)
2012-05-13 09:00:51 +00:00
nisimura 2a5eed591c Add KURO-BOX/T4 support to sysinst. Tested good with the target
machine.
2012-05-12 08:31:52 +00:00
nisimura 9f50cde583 - have wd[23] and raid[01] device nodes for 4 drive NAS models.
- let sysinst to have atactl(8), dkctl(8) and raidctl(8).
2012-05-11 21:22:10 +00:00
christos ffef77d400 add {rndc,ddns}-confgen 2012-05-09 22:04:05 +00:00
martin af2edddc59 Retry previous, but with proper path this time. 2012-05-09 08:17:33 +00:00
martin e90a004d0c Fix harmless error preventing auto-finding non-ISO9660 formatted CD
partitions (when offering sets from CD).
2012-05-08 13:51:34 +00:00
martin 9ac338c2e4 Add a few modules in booke/4xx compat lists - should fix the evbppc build. 2012-05-08 13:22:36 +00:00
christos 9f6de85630 add tgamma{,f} 2012-05-05 17:52:27 +00:00
christos bd00465ee0 bump libssh 2012-05-02 02:43:00 +00:00
riz 89f7ad6034 Check for del_rc_conf() == 0, not !del_rc_conf(), and fix a couple of
instances where the check was wrong.  sysinst now properly saves dhcp
and host config again.
2012-05-01 18:28:47 +00:00
riz 4ca684e9f6 Don't have pkgin prompt before updating the database. 2012-04-30 19:57:52 +00:00
martin 0aeedd76fe Add missing white spaces at end of line (meaning forced line breaks) 2012-04-30 19:49:26 +00:00
martin 23b152e8d9 Translate enable_binpkg 2012-04-30 19:43:45 +00:00
riz 29b07b45cc Check if the network is up before attempting to install pkgin. If not,
configure it.
2012-04-30 19:05:29 +00:00