Commit Graph

186621 Commits

Author SHA1 Message Date
mbalmer
1ce3f76abb Fix typo, no code change. 2009-12-23 09:23:53 +00:00
mbalmer
43a53fa2dc Fix typo in a comment, no code change. 2009-12-23 09:22:16 +00:00
mbalmer
c84c875a15 Bump date. 2009-12-23 09:18:48 +00:00
mbalmer
a72f71643d Fix typo in comments, no code change. 2009-12-23 09:17:40 +00:00
mbalmer
8a65aabe5b Fix typo in command output. 2009-12-23 09:13:21 +00:00
wiz
b7b8b3a374 Bump date for defaulting UGEN_BULK_RA_WB to on. 2009-12-23 09:10:07 +00:00
roy
0e40647876 Import dhcpcd-5.1.4 2009-12-23 08:33:58 +00:00
roy
5f8a05b17d Import dhcpcd-5.1.4
Changes from dhcpcd-5.1.3 include:
 * dhcpcd logs even in quiet mode.
 * Sleep for 1/100th of a second to give time for kernel to send RELEASE.
 * -S option now works.
 * Only warn about using CSR on bind.
2009-12-23 08:30:06 +00:00
pgoyette
07dad0134f Since we're using the active cooling levels as warning threshold, we
should store the value in the correct location.  We're already setting
the correct flag bit.

Should resolve problem reported by Frank Wille on current-users...
2009-12-23 02:29:46 +00:00
pooka
3454464e10 Technically we're supposed to use flags from the RUMP_NAMEI namespace
instead of NAMEI directly.  Probably doesn't matter in practise,
since the chances of this running on non-NetBSD are low.  But make
it correct anyway.
2009-12-23 01:15:11 +00:00
pooka
81eb543b62 Use NAMEI_INRENAME to improve the situation with detecting on when
to save componentname instead of looking at SAVESTART.  Not perfect,
but better.  Also, try to be more forgiving of kernel bugs.
2009-12-23 01:11:39 +00:00
pooka
e1bbdeb452 regen: INRENAME 2009-12-23 01:09:57 +00:00
pooka
3142d3ac31 Define namei flag INRENAME and set it if a lookup operation is part
of rename.  This helps with building better asserts for rename in
the DELETE lookup ... the RENAME lookup is quite obviously a part
of rename.
2009-12-23 01:09:24 +00:00
pooka
bb27c3b9ac unifdef -D UGEN_BULK_RA_WB
Default behaviour unchanged, the feature must still be explicitly
enabled for a ugen fd.
2009-12-23 01:04:45 +00:00
darran
666c22984b Add libdwarf files. 2009-12-23 00:33:25 +00:00
elad
4f2529fdb9 Including sysctl.h once is enough. 2009-12-23 00:21:38 +00:00
darran
ebf62180d8 Add libdwarf to the build. 2009-12-23 00:17:40 +00:00
darran
c6ebd49b09 Fix a signed vrs unsigned cast. 2009-12-23 00:12:57 +00:00
mrg
dfb480e0a2 enable mem space if it isn't already enabled. several bioses leave
this not enabled, and viaide kind of depends upon it.

fixes viaide(4) on several machines.

idea from PR 38011, but reworked a little.
2009-12-23 00:11:36 +00:00
darran
73d7a467ee while (0) -> while (/*CONSTCOND*/0) 2009-12-23 00:11:30 +00:00
darran
e65b189966 Add build glue. 2009-12-23 00:10:15 +00:00
darran
bd99ed90ac Add a script to prepare libdwarf for import. 2009-12-23 00:06:53 +00:00
darran
88d2277d90 Import libdwarf from FreeBSD 8.0-RC1.
ok tls@.
2009-12-23 00:03:21 +00:00
dsl
9193c05dda Add support for partition being aligned on non-cylinder boundaries.
Info can be specified with -A parameter.
Default is based on how the first partition is defined.
For empty disks larger than 128GB (arbitrary figure) use 1MB alignment.
2009-12-22 21:55:12 +00:00
dsl
5cb32d7a27 Editing partitions larger than 1TB works better if 'decimal' returns
64 bit integer values!
2009-12-22 21:04:37 +00:00
dsl
668acfeeca Use sizeof correct type, not pointer to wrong type.
Fixes PR/42498.
This has been wrong since the initial import!
2009-12-22 20:50:46 +00:00
pooka
ca10ccf636 Limit DIOCGPART and struct partinfo visibility to _KERNEL. 2009-12-22 18:55:25 +00:00
pooka
8b5875c7e6 Add a simple example of how to run the kernel umass/USB in userspace
and attach it back to the host kernel using pud(4).  The result is
pretty much indistinguisable from if kernel drivers were used.

It's possible to e.g. mount a file system backed by the userspace
block device driver:

golem> disklabel ./rumpsd0d
[...]
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d:   1994752         0     unused      0     0        # (Cyl.      0 -   3895)
 e:   1994512       240      MSDOS                     # (Cyl.      0*-   3895)

golem> s mount_msdos ./rumpsd0a /mnt
mount_msdos: "./rumpsd0a" is a non-resolved or relative path.
mount_msdos: using "/usr/home/pooka/src/umserv/rumpsd0a" instead.
mount_msdos: /usr/home/pooka/src/umserv/rumpsd0a on /mnt: Device not configured

golem> s mount_msdos ./rumpsd0e /mnt
mount_msdos: "./rumpsd0e" is a non-resolved or relative path.
mount_msdos: using "/usr/home/pooka/src/umserv/rumpsd0e" instead.
golem> df -h /mnt
Filesystem                               Size       Used      Avail %Cap Mounted on
/usr/home/pooka/src/umserv/rumpsd0e      974M       5.2M       968M   0% /mnt

etcetc.
2009-12-22 18:36:02 +00:00
pooka
c23e4f05d3 Don't -I from $S/sys. 2009-12-22 17:50:22 +00:00
pooka
789329033b Handle DIOCGPART in-kernel because a userspace server doesn't have
a chance in phobos of handling it.  This makes it possible to do a
kernel mount of most file systems with the block device backed by
a pud userspace server.

-  i'm too young to compile
-  hey, no tty rough
-  hurd me plenty
=> abstraction-violence
-  nightmare!
2009-12-22 17:32:03 +00:00
tsutsui
3a10dd62fc Don't forget to initialize data32iot and data32ioh in via_sata_chip_map_new().
This makes 32bit UDMA xfer work properly on VIA VT6421.
2009-12-22 16:32:41 +00:00
pooka
8245a2442d +_PATH_PUD 2009-12-22 14:24:37 +00:00
pooka
d18276c5b5 Fix block device open for non-REG backends. 2009-12-22 14:18:33 +00:00
pooka
6c9d0b51cb fix pasto 2009-12-22 14:12:40 +00:00
jmmv
64244235e4 Note import of atf 0.7. 2009-12-22 13:41:41 +00:00
jmmv
77eb4fd2ef Update file sets to match atf 0.7. 2009-12-22 13:38:40 +00:00
jmmv
8fd5b13660 Update build files to match atf 0.7. 2009-12-22 13:38:10 +00:00
jmmv
21361fb856 Merge atf 0.7. 2009-12-22 13:36:56 +00:00
pooka
c5aba687b9 Create sashimi nodes too. 2009-12-22 13:34:35 +00:00
jmmv
12aa0b5af8 Import atf 0.7. Changes in this release:
* Added build-time checks to atf-c and atf-c++.  A binding for atf-sh
  will come later.

* Migrated all build-time checks for header files to proper ATF tests.
  This demonstrates the use of the new feature described above.

* Added an internal API for child process management.

* Converted all plain-text distribution documents to a Docbook canonical
  version, and include pre-generated plain text and HTML copies in the
  distribution file.

* Simplified the contents of the Makefile.am by regenerating it from a
  canonical Makefile.am.m4 source.  As a side-effect, some dependency
  specifications were fixed.

* Migrated all checks from the check target to installcheck, as these
  require ATF to be installed.

* Fixed sign comparison mismatches triggered by the now-enabled
  -Wsign-compare.

* Fixed many memory and object leaks.
2009-12-22 13:25:45 +00:00
wiz
7a07d59d7b Remove trailing whitespace, make HTML-ready, sort sections. 2009-12-22 11:56:14 +00:00
nonaka
118e8385d3 remove "mount -t kernfs" line. 2009-12-22 11:15:52 +00:00
nonaka
6f567e45e4 Add /usr/bin/{tset,more}. 2009-12-22 11:15:25 +00:00
nonaka
5a5f67b6bf "Full installation" should install kernel. 2009-12-22 11:14:33 +00:00
nonaka
bec75c8a18 delete makedev init from all_md entry. 2009-12-22 11:12:40 +00:00
mbalmer
d009e08802 Fix LIS. 2009-12-22 09:47:56 +00:00
nakayama
2570d7a0b1 Add -DAVOID_CPIO on sparc. 2009-12-22 09:12:42 +00:00
cegger
3b140d483b Import acpidump from FreeBSD per request from jmcneill@
Changes made in the port:
- adapt path to iasl from /usr/sbin/iasl to /usr/bin/iasl
- fix realpath() usage to accomplish NetBSD's behaviour
- use EXIT_FAILURE/EXIT_SUCCESS everywhere
- fix crash on corrupt DSDT file and print proper error message
- implemented additional ACPI table parsers for
  BERT, BOOT, CPEP, DBGP, EINJ, ERST, HEST, MSCT, SBST,
  SLIT, SPCR, TCPA, WAET, WDAT and WDRT
2009-12-22 08:44:03 +00:00
cegger
de1cae9a73 msg.txt 2009-12-22 08:44:02 +00:00
cegger
09f2089b95 Import acpidump from FreeBSD per request from jmcneill@
Changes made in the port:
- adapt path to iasl from /usr/sbin/iasl to /usr/bin/iasl
- fix realpath() usage to accomplish NetBSD's behaviour
- use EXIT_FAILURE/EXIT_SUCCESS everywhere
- fix crash on corrupt DSDT file and print proper error message
- implemented additional ACPI table parsers for
  BERT, BOOT, CPEP, DBGP, EINJ, ERST, HEST, MSCT, SBST,
  SLIT, SPCR, TCPA, WAET, WDAT and WDRT
2009-12-22 08:44:02 +00:00