Commit Graph

196910 Commits

Author SHA1 Message Date
emaste
cc4c44cb58 MFC PS3 vt(4) console support
r265871 (nwhitehorn):

  Move the PS3 framebuffer console to use vt instead of syscons and
  adjust GENERIC64 for PowerPC to use vt with it.

  Much to my chagrin, PS3 support seems to have bitrotted somewhat since
  the last time I tried it. ehci panics on attach and interrupt handling
  seems to be faulty. This should be fixed soon...

r269783 (dumbbell):

  Fix two files forgotten in r269783 (vt_generate_cons_palette)

r268895 (nwhitehorn):

  Enable X11 via xf86-video-scfb on the Playstation 3. This commit made
  from an xterm running for the first time on said Playstation.

Approved by:	nwhitehorn
Relnotes:	yes
2014-09-04 18:15:36 +00:00
se
ec5503de3e Fix debug output that has erroneously been committed with the last update.
Obtained from:	Jan Beich
2014-09-04 17:21:54 +00:00
rodrigc
6f8ba46826 MFC r270512 r270513 r270754
- add comments which describe exit status codes of /usr/sbin/bhyve
   - move bhyvectl --destroy outside of the while loop
   - Use "file -s" so that we can run vmrun.sh against special devces such as
     /dev/md memory files systems or zvols
2014-09-04 16:55:01 +00:00
emaste
741bbf130d MFC r260047: Clean up license text
- Renumber Regents clauses
  - Remove clause 3 and 4 from TNF license, following upstream change

Sponsored by:	The FreeBSD Foundation
2014-09-04 16:51:45 +00:00
tijl
1e988094dc MFC r270757:
In r253839 the default behaviour of ld(1) was changed such that all
libraries that need to be linked into an executable or library have to be
listed on the command line explicitly.  This commit fixes a bug in ld(1)
where it would scan dependencies of the libraries on the command line and
link them if needed if they were also found in ld.so.cache.

The important bit of the patch is the initialisation of needed.by such that
libraries found by scanning dependencies are marked as such and not used in
the link.

The patch is a backport of binutils git commit
d5c8b1f8561426b41aa5330ed60f578178fe6be2

The author gave permission to use it under GPLv2 terms.

PR:		192062
2014-09-04 16:05:12 +00:00
se
3d900a4d5b MFC r270931: Fix typo ("by" -> "be"). 2014-09-04 13:47:55 +00:00
se
395db98c3c MFC r270647: Add references to vt(4) and the configuration files in /usr/sha
MFC r270653: Update man-pages to correctly refer to changed pathes and namin
MFC r270657: More man pages that need to know about vt in addition to syscon
MFC r270659: (by pluknet@) Missed comma.
MFC r270660: Back-out the references to vt(4) from this man-page. It appears
MFC r270933: Add references to vt(4) to further man-pages.
MFC r270934: Final patches to the tools used to convert syscons keymaps for
MFC r270935: Add vt(4) support to the console initialisation script, specifi

Second batch of MFCs to add support for Unicode keymaps for use with vt(4).

It contains the following changes:

- Add references to vt(4) to relevant man-pages.
- Update comment in defaults/rc.conf to mention vt
- Update rc.d/syscons to warn about syscons keymaps used under vt.
  An attempt is made to identify the vt keymap to load instead.
- Minor changes to the conversion tool based on mail comments on keymaps.

Relnotes:	yes
2014-09-04 13:45:16 +00:00
gjb
b97bfa455f Document r271069, Mac Mini 3,1 support added to asmc(4).
Sponsored by:	The FreeBSD Foundation
2014-09-04 11:15:38 +00:00
dumbbell
82aaaa84fb drm/radeon: Fix a memory leak when radeonkms is unloaded
This an MFC of r270750.
2014-09-04 09:42:36 +00:00
gjb
68b3b15c73 Document r262566, sshd(8) startup script creates ed25519 keys
if ENOENT on startup.

Sponsored by:	The FreeBSD Foundation
2014-09-04 02:14:57 +00:00
gjb
f9b0b57357 Document r264438, mdconfig(8) rc.conf(5) listing is no longer
required to be sequential.

Sponsored by:	The FreeBSD Foundation
2014-09-04 02:14:55 +00:00
gjb
d270d2b3cb Document r259141, jail(8) ipv6 allocation startup bug.
Sponsored by:	The FreeBSD Foundation
2014-09-04 02:14:53 +00:00
neel
e7f9a84216 MFC r270289:
Change file permissions for some setuid executables so they are "o+r".
The executable itself doesn't contain any privileged information.

An example of where this is useful is when makefs(8) is creating an image
that includes /sbin/shutdown. This can now be done without root privileges.
2014-09-04 01:38:31 +00:00
pfg
4480b8a63d MFC r270844:
Minor space/tab cleanups.

Most of them were ripped from the GSoC 2104
SMAP + kpatch project (but unrelated).
Only cosmetic changes.

Taken from:	Oliver Pinter (op@)
2014-09-04 00:40:41 +00:00
gavin
27085e5c8f Merge r268303 from head:
Add support to asmc(4) for Macmini 3,1.

PR:		190195
Submitted by:	fbsdbugs2 sentry.org
Relnotes:	yes
2014-09-03 23:29:06 +00:00
gavin
5f36460b01 Merge r270677 from head:
Fix xref, pam(8) -> pam(3)

PR:		193045
Submitted by:	rsimmons0 gmail com
2014-09-03 23:18:13 +00:00
gavin
05eec28993 Merge r270259 from head:
Add a missing brace to callout_init_rm() to fix syntax.
2014-09-03 23:15:54 +00:00
gavin
a380783d19 Merge r270251 from head:
Fix return type of callout_init_rm() and add return type to
  callout_deactivate().

PR:		192520
Submitted by:	ngie
2014-09-03 23:14:26 +00:00
gavin
538845af85 Merge r269871 from head:
Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait()

Submitted by:	Malcolm Douglas via freebsd-doc
Reviewed by:	jhb
2014-09-03 23:11:39 +00:00
gavin
4f60c52cd1 Merge r269488 from head:
For reasons which are not clear, r254263 broke some PCMCIA and CardBus
  bridges in strange ways, either rendering them unable to detect
  insertion and removal events, or possibly unable to read from the
  device behind the bridge.

  This fixes at least one laptop, a Toshiba Tecra M5 with a Texas
  Instruments PCxx12 (d=0x8039 v=0c104c) bridge.  The very similar
  Tecra M9 has the same bridge, but worked fine without this change.

  The bridge chip has no I/O port BAR, and there is nothing in the spec
  to suggest I/O decoding should be enabled; however enabling it fixes
  the issue.  Add an XXX comment to this effect.

Discussed with:		jhb, imp
2014-09-03 23:08:21 +00:00
gavin
982eceeac0 Merge 270872 from head:
Fix character case in examples for "camcontrol security" - should be
  "-U user" not "-u user".

PR:		193179
Submitted by:	milios ccsys com
2014-09-03 23:04:23 +00:00
gjb
dff59f47ed Document libc updates from illumos and Apple.
Submitted by:	pfg
Sponsored by:	The FreeBSD Foundation
2014-09-03 20:53:11 +00:00
marius
e31bbc3dc1 MFC: r270885, r270948
- Nuke unused sdhci_softc.
- Static'ize sdhci_debug local to sdhci.c.
- Const'ify PCI device description strings.
- Nuke redundant resource ID members from sdhci_pci_softc.
- Nuke unused hw.sdhci_pci.debug tunable.
- Add support for using MSI instead of INTx, controllable via the tunable
  hw.sdhci.enable_msi (defaulting to on) and tested with a RICOH R5CE823 SD
  controller.
- Use NULL instead of 0 for pointers.
2014-09-03 20:07:26 +00:00
gjb
478f4fda1a Minor rewording to the r260387 entry.
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:48:33 +00:00
gjb
788030ad60 Document r270890, pathchk(1): Ensure bytes >= 128 are considered
non-portable characters.

Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:45 +00:00
gjb
edcd7cfaa7 Document r270997, zdb(8) included in /rescue.
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:43 +00:00
gjb
2f29c013bf Document r270810, hptnr(4) update to 1.0.1.
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:41 +00:00
gjb
59f561a488 Document r270892, autofs(5)
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:39 +00:00
gjb
f77dd08d74 Minor rewording to the r260385 entry.
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:37 +00:00
gjb
8c9c43b55e Remove a generalized sentence regarding iSCSI updates that
should be covered by the past few commits.

Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:35 +00:00
gjb
c0977ad13c Expand r262855 to illustrate how to enable the test suite.
Submitted by:	jmmv
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:33 +00:00
gjb
dc49e9fd5f Document r265524, iSCSI performance optimizations.
Submitted by:	trasz
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:31 +00:00
gjb
f2a8669af3 Document r265524, iSCSI lock contention optimizations.
Submitted by:	trasz
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:29 +00:00
gjb
3cfb12d1c4 Document r265523, kern.iscsi.fail_on_disconnection
Submitted by:	trasz
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:27 +00:00
gjb
0fff2a660f Document r269065, iSCSI redirection handling
Submitted by:	trasz
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:25 +00:00
emaste
17962ed655 MFC r270288 by dumbbell: vt(4): Constify vt_buf argument of vtbuf_iscursor()
Sponsored by:	The FreeBSD Foundation
2014-09-03 14:06:12 +00:00
emaste
41ee2454d8 MFC r270280 by dumbbell: vt(4): Pause the flush timer while swithing window
This fixes bad looking refresh when switching window: squares instead
  of text, flashing screen, and so on. In the worst case, vt_flush() came
  at a very inappropriate timing and the screen was not refreshed at all
  (leaving squares all over the place).

  This doesn't fix the flickering of the screen with vt_vga, because the
  sync signal is temporarily stopped and the video memory is cleared.

Sponsored by:	The FreeBSD Foundation
2014-09-03 14:00:37 +00:00
emaste
a8ec7c36a3 MFC vt(4) mouse cursor improvements from dumbbell:
r270269:

  vt(4): Handle global and per-window mouse cursor toggle in one place

  Before the global flag was set/unset using the CONS_MOUSECTL ioctl,
  and the per-window flag through the MOUSE_SETLEVEL or MOUSE_SETMODE
  ioctls.

  Also, if the cursor is already enabled/disabled, return immediatly.
  This avoids to reset the cursor's position to the center of the
  screen.

  This matches syscons' behavior.

  While here, remove a trailing space and a redundant variable
  declaration.

r270271:

  vt(4): Mark cursor old position as dirty before reading the dirty area

  Otherwise, the redraw is done during the next vt_flush run.

r270272:

  vt(4): If the cursor is globally disabled, don't mark its position as dirty

  This avoids unnecessary redraw. In particular, during boot, where the
  cursor is disabled and its fake position is [0;0], this triggered a
  refresh of the whole screen each time vt_flush() is called.

r270273:

  vt(4): If the cursor didn't move, don't mark its position as dirty

  Currently, this has no effect, because the cursor is always redrawn
  anyway. But this will be useful after improvements to the
  vd_bitbltchr_t callback API.

  The vt_device structure members used to store the position of the
  cursor as of the last redraw are renamed from vd_mdirty{x,y} to
  vd_mold{x,y}.  The associated comment is fixed too. Also, their value
  is now expressed in pixels, not in character columns/row.

r270275:

  vt(4): Mark the current cursor position as dirty

  Like r270273, this has no effect for now, because the cursor is always
  drawn. This is in preparation of future changes to vd_bitbltchr_t API.

r270278:

  vt(4): Mark cursor position as dirty when we enable/disable it

Sponsored by:	The FreeBSD Foundation
2014-09-03 13:40:02 +00:00
emaste
97f9055278 MFC r270265 by dumbbell:
vt(4): Fix an inconsistency between the mouse cursor bitmap and its mask
2014-09-03 13:31:08 +00:00
emaste
efb15fd1c2 MFC r269437 by nwhitehorn:
Don't assume that the framebuffer driver is using vt_fb_blank() when
  blanking the screen during init.
2014-09-03 13:22:50 +00:00
emaste
0f27004de6 MFC vt(4) work from ray@:
r269188: [Rework vb_buffer and vb_rows assignment]

r269192: Remove special handling of console window size.

  It's done in vt_upgrade() for all windows.

r269193: Update comments.

r269194: Revise font initialization handling.

Sponsored by:	The FreeBSD Foundation
2014-09-03 13:17:44 +00:00
kib
580aa2cf11 Regen. 2014-09-03 09:05:37 +00:00
kib
15564950f5 MFC r270691:
Fix handling of the third argument for fcntl(2).  The native syscall
uses long for arg, which needs translation.
2014-09-03 09:05:16 +00:00
ae
36aab21b56 MFC r270661:
Remove leading '/' from hardlink name when removing them from the
  regular file name. This fixes the problem, when bsdtar can not create
  hardlinks to extracted files.
2014-09-03 08:27:05 +00:00
delphij
4910deb0fc MFC r270260:
Provide compatibility shim for atomic_dec_64_nv.
2014-09-03 08:24:11 +00:00
delphij
0afc26f706 MFC r270248: MFV r270196:
Illumos issue:
    5047 don't use atomic_*_nv if you discard the return value
2014-09-03 08:21:21 +00:00
delphij
ed7e55776a MFC r270247: MFV r270195:
Illumos issue:
    5045 use atomic_{inc,dec}_* instead of atomic_add_*
2014-09-03 08:18:09 +00:00
delphij
65d8a13349 MFC r270239: MFV r270193:
Illumos issues:
    5042 stop using deprecated atomic functions
2014-09-03 08:13:46 +00:00
delphij
ce5601b1da MFC r270189:
Add zdb into rescue environment.

On amd64, this would increase the binary size by 1.1MiB and
make it possible to examine zpool status offline, useful for
recovery and diagnostic purposes.

Submitted by:	sef
Obtained from:	FreeNAS
2014-09-03 08:03:26 +00:00
alc
f97e8c2642 This is a direct commit to account for the renaming of 'cnt' to 'vm_cnt'
in HEAD but not stable/10.
2014-09-03 07:20:09 +00:00