Commit Graph

178208 Commits

Author SHA1 Message Date
joerg
3018e10272 Import pkg_install-20090225:
- improve diagnostic for audit-packages wrapper
- new pkg_delete code:
  - topologocial ordering of packages
  - bails out before removing anything if it knows that it will run into
    problems later
  - new option -A: remove automatic installed packages that are no
    longer used (e.g. pkg_add foo; pkg_delete -A foo should not alter
    the list of installed packages)
- less chatty pkg_info for -Q
2009-02-25 21:21:40 +00:00
sno
6adead3ca0 replace c++ style comment by a c-style one 2009-02-25 21:17:21 +00:00
ad
07a1846337 Remove pointless AUTHORS sections. The names are in the source and CVS
history along with everyone else who has contributed.
2009-02-25 20:50:16 +00:00
sketch
bb0a3b607e Use awk and grep host tools where required. 'build.sh release' now works
on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now).
2009-02-25 20:38:30 +00:00
sketch
0d9ab2b40e Make grep a host tool. 2009-02-25 20:36:44 +00:00
mhitch
4df84b8304 Remove outdated comment: vax does now user mi_userret(). 2009-02-25 19:58:03 +00:00
mhitch
daf32f5010 The ci_want_resched check and preempt() call had been removed from
userret() which resulted in no process preemption (and probably
contributed to the signal trap loop locking up the machine that was
recently fixed).  Put the check and preempt() call in the AST trap
handler to restore process preemption.
2009-02-25 19:56:49 +00:00
pooka
928c35bfce add caveat about info displayed by df(1) 2009-02-25 18:05:32 +00:00
sno
8bbd581ff8 restore alphabetically order for my last entry 2009-02-25 17:51:25 +00:00
sno
d41d0a631e Add myself (Jens Rehsack <sno@NetBSD.org>) 2009-02-25 17:50:32 +00:00
jmcneill
079289a3e6 PR# port-i386/40143: Viewing an mpeg transport stream with mplayer causes crash
Not directly related to the PR but this bug was discovered while testing.

In azalia_stream_halt, invalidate the intr ptr to prevent a race condition
where azalia_stream_intr can jump off into lala land during stream shutdown.
2009-02-25 15:46:34 +00:00
christos
7b2f022cd6 don't copy the address of a pointer. Noticed by Anon Ymous 2009-02-25 13:52:18 +00:00
sekiya
223c75c0bc Un-hardcode IP32 serial console bus tags. Fixes regression introduced in revision 1.28. 2009-02-25 09:37:22 +00:00
dyoung
ac7c88b5d2 Look for MAKEDEV.local in both ${SRC_DIR}/dev/ and ${SRC_DIR}/etc/,
so that 'postinstall check makedev' works whether the sources told
by the -s argument are a NetBSD source tree, etc.tgz, or a DESTDIR.
2009-02-25 01:11:50 +00:00
sketch
1e56a266d4 regen. 2009-02-24 22:27:02 +00:00
sketch
7ce9d1c8ea Make 'build.sh tools' work with the Sun Studio compiler, although bugs in
some of the generated tools still prevent building a full release using them.
2009-02-24 22:25:24 +00:00
christos
2c266c8a4c version alphasort. 2009-02-24 18:41:40 +00:00
pooka
54db37b1cf Note change with linux compat. 2009-02-24 12:45:37 +00:00
he
e075a1d038 Follow up the removal of linux_support.S for amd64 and i386. 2009-02-24 12:17:51 +00:00
yamt
80d3528400 nmi_disestablish: fix an inverted condition. pointed out by ad@. 2009-02-24 10:37:27 +00:00
yamt
9ab5d54483 princap -> printcap
(christos said it was just a typo.)

XXX do we want compat for scripts?
2009-02-24 06:10:52 +00:00
yamt
4b64c2cb3d - rewrite x86 nmi dispatcher so that establish and disesablish are safe
on a running system.
- adapt existing users of the api.  (elan)
- adapt tprof_pmi driver to use the api.
2009-02-24 06:03:54 +00:00
macallan
3076c08525 mention sgimips switching to Xorg 2009-02-24 04:05:58 +00:00
macallan
6f06755f15 Switch sgimips over to Xorg 2009-02-24 04:04:40 +00:00
jmcneill
72141a1696 Turn "bogus parameters" aprint_error into aprint_debug, and change the
message to say that the framebuffer was not configured by the firmware.
2009-02-23 23:45:56 +00:00
ad
23267ecce2 Put back /kern, apparently xen uses it (and probably scripts too). 2009-02-23 23:12:24 +00:00
ad
a2517242b7 - Mount /proc automatically. We have fixed a ton of bugs, it's needed for
Linux compat, and we are planning to kill ptrace and make the debugger
  use /proc instead.

- kernfs is hosed at the moment and nothing appears to rely on it any more,
  so disable it. (IPsec did at one point, IIRC).
2009-02-23 22:51:47 +00:00
jdc
7262e977ee Mimic cgsix memory corruption fix (bwtwo and cgthree wscons code is
based on cgsix).  Original commit message:

  Include wsdisplay.h directly in the header to avoid different sizes
  of cgsix_softc depending on proper previous includes by the includer
  due to #ifdef NWSDISPLAY. Thanks to kmem poison check and DEBUG kernels.
2009-02-23 22:44:27 +00:00
rmind
e52fb16203 genfs_getpages: rework 1.18 revision - move uvm_pagermapout() back.
It is useful to make KVA available ASAP.  Per discussion with <yamt>.
2009-02-23 21:27:51 +00:00
ad
b2dec392e0 Fix some comments. 2009-02-23 20:33:30 +00:00
rmind
f54234d142 Switch Linux futex emulation to native ucas_int(), remove unecessary
futex-specific assembler routines.

Fixes PR/40490.  Reviewed by <ad>.
2009-02-23 20:28:58 +00:00
rmind
f7d3fa20ef Add ucas (CAS for user-space address) support for i386 and amd64.
API provides ucas_int() and ucas_ptr() for now.

Reviewed by <ad>.
2009-02-23 20:27:59 +00:00
pooka
3f2d5fc9ad Default to -o linux. This prevents programs from not working just
because the -o linux flag was not supplied, i.e. it is the sensible
default.  People who absolutely do not want the extra files in
their /proc for whatever aesthetic reason (it's not like they
consume any resources) can do -o nolinux.
2009-02-23 19:47:58 +00:00
pooka
72d8b8b617 Support statvfs@openssh.com extension where available. Makes df(1)
return something other than just 0.
caveat: statvfs is done for the mountpoint path, so might not give
the truth about a directory inside the mountpoint.
2009-02-23 18:43:46 +00:00
weinem
5c0772df92 added myself to the list of developers 2009-02-23 16:42:58 +00:00
cegger
6ec3b632d5 when attach routine fails, also free DMA memory and interrupt mapping.
Diff from OpenBSD's if_age.c rev. 1.2.
ok cube@
2009-02-23 13:39:41 +00:00
wiz
047cc3e3f6 Sort sections. 2009-02-23 08:27:13 +00:00
he
64be3821eb This program also uses the following libs: -lcrypto -lz -lbz2.
Add them explicitly so that this program links for sun2 as well.
2009-02-23 08:25:07 +00:00
wiz
5eb2ad1b22 Fix typo, and restore line that was lost in previous. 2009-02-23 08:14:53 +00:00
cegger
b6d8a5c8fc remove unused age_if_flags softc member 2009-02-23 07:33:58 +00:00
dholland
2fe837fcf9 typo in comment 2009-02-23 03:01:13 +00:00
jmcneill
34c593f760 * Realtek ALC885: Use generic_mixer_autoinit/init_widget
* generic_mixer_create_virtual: if the front l/r DAC doesn't have a volume
  capability, enumerate all peer widgets and search for a volume mixer
  there.
2009-02-23 02:34:57 +00:00
cube
102a4f0ad3 I smell rotting code. (Give a chance to the user to at least set the flags
of the interface, if not use it because it otherwise doesn't work.)
2009-02-23 00:05:44 +00:00
dholland
481da53c30 Restore newfs_lfs after softdep removal (hi ad) 2009-02-22 23:06:23 +00:00
rmind
aa58fb8da4 sched_sync: syncer_data_lock is not released now (regression fix). 2009-02-22 22:26:53 +00:00
ad
59fcf21389 PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.
2009-02-22 20:28:05 +00:00
ad
430f67aa17 PR kern/39564 wapbl performance issues with disk cache flushing
PR kern/40361 WAPBL locking panic in -current
PR kern/40361 WAPBL locking panic in -current
PR kern/40470 WAPBL corrupts ext2fs
PR kern/40562 busy loop in ffs_sync when unmounting a file system
PR kern/40525 panic: ffs_valloc: dup alloc

- A fix for an issue that can lead to "ffs_valloc: dup" due to dirty cg
  buffers being invalidated. Problem discovered and patch by dholland@.

- If the syncer fails to lazily sync a vnode due to lock contention,
  retry 1 second later instead of 30 seconds later.

- Flush inode atime updates every ~10 seconds (this makes most sense with
  logging). Presently they didn't hit the disk for read-only files or
  devices until the file system was unmounted. It would be better to trickle
  the updates out but that would require more extensive changes.

- Fix issues with file system corruption, busy looping and other nasty
  problems when logging and non-logging file systems are intermixed,
  with one being the root file system.

- For logging, do not flush metadata on an inode-at-a-time basis if the sync
  has been requested by ioflush. Previously, we could try hundreds of log
  sync operations a second due to inode update activity, causing the syncer
  to fall behind and metadata updates to be serialized across the entire
  file system. Instead, burst out metadata and log flushes at a minimum
  interval of every 10 seconds on an active file system (happens more often
  if the log becomes full). Note this does not change the operation of
  fsync() etc.

- With the flush issue fixed, re-enable concurrent metadata updates in
  vfs_wapbl.c.
2009-02-22 20:10:25 +00:00
christos
4534498c64 Get the ESCDELAY from the environment. 2009-02-22 20:05:48 +00:00
christos
58e089a802 Document curses environment variables. 2009-02-22 20:04:21 +00:00
ahoka
c0dfcdb337 Add a missing opt_multiboot.h into sys/arch/i386/i386/machdep.c.
Also do the missed rename of multiboot_ksyms_init to
multiboot_ksyms_addsyms_elf to compile with MULTIBOOT set.

This caused a minor and a more serious bug in the past:
- dmesg did not contain the information about the loader
- /dev/ksyms did not work when the kernel was booted with a
  multiboot bootloader (grub for example)

Ok by jmcneill, joerg.
2009-02-22 18:05:42 +00:00