Commit Graph

12966 Commits

Author SHA1 Message Date
reinoud e631798833 Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
2012-06-30 15:03:56 +00:00
tsutsui 916bfee100 Simply use "mount -u" to (re)mount root file system read-write
rather than denoting it using temporary /tmp/.root_writable file,
because it will never be removed if root file system is on floppy.
Fixes PR port-atari/37470.

Should be pulled up to netbsd-6.
2012-06-30 10:20:26 +00:00
abs 6643654a8a Include racd0 and racd1 on ramdisk 2012-06-28 13:53:49 +00:00
jdf dfc0f5280b Add manpage link entries for libmenu, reformat MAN entry.
On the way, sort the mi list for comp alphabetically.
2012-06-27 22:18:06 +00:00
christos f20c6fee98 rename rfc6056.h to portalgo.h 2012-06-25 15:30:16 +00:00
martin 6817543049 Do not assign to a const pointer, but set the value of the target variable
instead. Makes sysinst at least start up again.
2012-06-23 17:49:58 +00:00
christos a9706a560c Trying to print a function pointer as a string is likely to cause tears.
While here, don't match on the unit either
2012-06-23 14:06:02 +00:00
abs 04c1553d52 - Replace the CD_NAME definition with a CD_NAMES comma separate list,
the default remains "cd0a", but i386 sets "cd0a", "mcd0a" while vax
  takes "cd0a", "racd0a"
- Add get_default_cdrom() to disks.c, which is called in init(). This
  checks the contents of hw.disknames against CD_NAMES. The first one
  found (minus partition letter) is picked, otherwise the first entry
  in CD_NAMES is used
The primary beneficiary is vax systems with an MSCP but no SCSI CD
drive, which now default to (a valid) racd0a rather than an invalid
cd0a.  The obvious example being simh-vax
2012-06-22 20:54:39 +00:00
christos 6072f3e5f9 add recvmmsg test 2012-06-22 18:54:00 +00:00
christos b45bdefd7f add {send,recv}mmsg 2012-06-22 18:30:22 +00:00
pgoyette a461f6ce9e Update sets lists file filemon.h 2012-06-21 04:29:25 +00:00
minoura cb2c856119 Recent sysinst seems to require chroot. 2012-06-19 13:02:47 +00:00
minoura dc89c93791 The x68k installcd is now bootable. 2012-06-19 13:01:53 +00:00
minoura 6dee0bb877 Add xxboot_?fsv?. 2012-06-19 13:00:55 +00:00
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