Commit Graph

166355 Commits

Author SHA1 Message Date
pooka b7b052548e Nuke local copy of getcwd_common(), we compile in the real thing now. 2008-01-25 06:43:30 +00:00
pooka 22b1964406 Include vfs_getcwd.c too. It isn't used currently, but it's linked. 2008-01-25 06:42:29 +00:00
pooka 625cda7eb5 vn_write: include f_advice in VOP_WRITE 2008-01-25 06:32:20 +00:00
rafal 2e86943de9 Make this compile after Andrew's fix (remove now-unused variables) 2008-01-25 02:12:10 +00:00
jmcneill 89ea9cce51 Note uhub(4) attachment speed enhancement. 2008-01-25 01:10:39 +00:00
ad bba572530b pthread_mutex_lock_slow: remove "deliberate deadlock" code that's not
needed with 1:1. PR lib/37524.
2008-01-25 01:09:18 +00:00
jmcneill a06bac7d44 Speed up uhub attachment considerably. Rather than powering up each port
individually then waiting for it to become stable, power them up all
at once and then delay. Don't even bother delaying if we are a root hub,
as this is handled separately in the event thread. From OpenBSD.
2008-01-25 00:29:12 +00:00
xtraeme 4ecda2ed63 Fixed two warnings:
- Missing .El directive.
	- Fix .Bl width argument.

Not being wizd yet, but I try...
2008-01-25 00:05:35 +00:00
christos 2d1f1d1dae PR/37862: Wolfgang Stukenbrock: ypwhich uses only UDP and not TCP 2008-01-24 23:56:55 +00:00
ad f75e36826b Document returning parameter. Fixes PR misc/37612. 2008-01-24 23:06:10 +00:00
ad 927229e57b quotaoff: ignore clean vnodes. Fixes PR kern/37818. 2008-01-24 22:55:21 +00:00
pooka 2b1b5d29b8 Use namei() etc. from kernel sources instead of a reimplementation.
To accommodate, give the rootvnode its own vnode op vector with a
simple lookup operation.  This is used for looking up the file
system's device vnode instead of doing that directly in a homesmoked
namei().
2008-01-24 22:41:07 +00:00
jmcneill f1caab8ba5 In ioapic_reenable, don't try to remap the apic id if it is already correct. 2008-01-24 22:20:58 +00:00
ad f9a31c8cd0 spec_fsync: don't assert that 'vp' holds the block device open. If it's
not open, there shouldn't be dirty buffers so vinvalbuf() is harmless.
2008-01-24 21:05:52 +00:00
ad 6da461f692 Fix broken assertion. 2008-01-24 21:04:12 +00:00
garbled 9e09960721 Now that we have support in ofwboot to correctly guess the right kernel,
produce a CD that works on both the 7044 and the pegasos.
2008-01-24 20:08:39 +00:00
pooka daadf5acef Make work again by repairing spec_node_init() and not being afraid
to use it.
2008-01-24 20:06:46 +00:00
garbled 2849d0b8df Add padding to align the rodata section. This fixes a strange bug
where the bootloader would freak out if various printfs were enabled or
disabled.

Add code to autodetect a 64bit cpu, and attempt to load a different set
of kernels if they exist.

Bump version to 1.9
2008-01-24 19:52:53 +00:00
rmind 75f3a93931 Add schedctl(8) manual page.
/etc/rc.d/wizd start
2008-01-24 19:34:05 +00:00
ad 7b081426cb Destroy mutex when detaching. PR kern/37819. 2008-01-24 18:50:15 +00:00
ad d9231f613d Fix 'panic: dangling vnode'. 2008-01-24 18:31:52 +00:00
joerg c0e2333a0f Add regression test and benchmark for the upcoming cpu_in_cksum.
This is inspired by an older test case written by Charles Hannum.
cvs: ----------------------------------------------------------------------
2008-01-24 18:12:29 +00:00
ad 1de89e3a92 vclean: fix inverted test. 2008-01-24 17:57:14 +00:00
ad 703069c0e9 specfs changes for PR kern/37717 (raidclose() is no longer called on
shutdown). There are still problems with device access and a PR will be
filed.

- Kill checkalias(). Allow multiple vnodes to reference a single device.

- Don't play dangerous tricks with block vnodes to ensure that only one
  vnode can describe a block device. Instead, prohibit concurrent opens of
  block devices. As a bonus remove the unreliable code that prevents
  multiple file system mounts on the same device. It's no longer needed.

- Track opens by vnode and by device. Issue cdev_close() when the last open
  goes away, instead of abusing vnode::v_usecount to tell if the device is
  open.
2008-01-24 17:32:52 +00:00
hannken 0409981d90 si_mount_dtor(): destroy si_vnlock before free. 2008-01-24 17:29:56 +00:00
hannken ca2bbf9908 Fix a typo from the vmlocking2 merge: vmark() the right vnode. 2008-01-24 16:26:44 +00:00
ad ac0f434359 Make sparse dumps the default. 2008-01-24 15:31:23 +00:00
tnn 340f654f47 While here, also add HBA 2008-01-24 15:04:24 +00:00
pooka d25a6ab97f Don't use PAGE_SIZE when faking physmem, as it's not always available
at compile-time.  We could init it runtime, but it's just a random
number anyway.
2008-01-24 15:02:16 +00:00
tnn a105ac09e3 Add HCI 2008-01-24 15:01:21 +00:00
rmind aa633f0365 Fix the return values to conform the standard and/or be compatible with
other systems.  Reported by <drochner>.
2008-01-24 14:41:12 +00:00
ad fef8681585 Mark some callouts/workqueues/kthreads MPSAFE. 2008-01-24 13:57:52 +00:00
bouyer 5c1336b0c3 Fix bad cut'n'paste from bouyer-xeni386, restore use of pool_cache_put()
instead of pool_cache_destruct_object(). Pointed out by yamt@
2008-01-24 13:55:09 +00:00
skrll b54ed17ae6 Add "\n" to printf format. 2008-01-24 12:50:35 +00:00
pooka 9af1c338e2 Default physmem was too tight, increase to 256megs from 0 bytes. 2008-01-24 08:34:49 +00:00
wiz bb68da1ff2 + postfix-2.5.0. 2008-01-24 07:49:30 +00:00
tnn 1b0f7f4f5a Mention vfs_subr2.c. 2008-01-24 07:11:25 +00:00
tnn 9c6c94658e vattr_null lives in vfs_subr2.c now. 2008-01-24 07:02:31 +00:00
jnemeth 2f20e8136d PR/37467 - Ben Wong -- add some information about the default account file 2008-01-24 05:27:10 +00:00
garbled 0beb82c81b Add another optional argument to mkbootinfo.sh, the location of the bitmap. 2008-01-24 01:12:57 +00:00
garbled 3f14a58f67 Make this output the icon in 16 byte rows, which seems to be what IBM wants.
Change the makefile to make it compile on modern pkgsrc versions of netpbm.
2008-01-23 23:22:02 +00:00
garbled 9d727f97fa Default /dev/console to 9600, add new bridge mode kernel sets to build. 2008-01-23 23:18:50 +00:00
garbled e87796b3eb Change bsddisklabel.c to export it's functions rather than declaring them
all static.  This makes it possible to write a md_make_bsd_partitions()
function without having to copy all of bsddisklabel.c into md.c.

Make ofppc sysinst install sanely and in a bootable manner on both my
7044, and my pegasos.  The only thing the user needs to do is pick the
right kernel set.
2008-01-23 23:15:37 +00:00
garbled 7c8654b9e9 Add an install kernel for 64bit bridge mode cpus. This will hopefully go
away in the next few months.
2008-01-23 23:11:22 +00:00
garbled ad9b9c40d6 Add a new mkbootinfo.sh script that builds a bootinfo.txt file. Remove a
printf in ofwboot.
2008-01-23 23:09:42 +00:00
ad 27c0e63a2a layer_node_find: if we find a node being cleaned out, then ignore it and
continue.  A thread trying to clean out the extant layer vnode needs to
acquire the shared lock (i.e. the lower vnode's lock), which our caller
already holds. To allow the cleaning to succeed the current thread must make
progress.  So, for a brief time more than one vnode in a layered file system
may refer to a single vnode in the lower file system.
2008-01-23 20:11:32 +00:00
bouyer ff5ef96736 Terminate the bouyer-xeni386 branch. 2008-01-23 20:11:16 +00:00
joerg 84d9249277 Initialise the Local Vector Table of the primary LAPIC directly after
enabling it. Explicitly initialise LINT0 as ExtInt and LINT1 as NMI,
the platform default. Mask the NMIs on the application processors and
mask the ExtInt if a IOAPIC was found.

With this patch, "disable ioapic" is supposed to work and it will allow
enabling the local APIC on all systems that have one to gain e.g. the
better clock interrupt.
2008-01-23 20:02:15 +00:00
bouyer 1eabf62edb Note i386 PAE support in Xen 2008-01-23 19:53:59 +00:00
bouyer 61d4b35251 build XEN3PAE kernels as part of release. 2008-01-23 19:52:24 +00:00