Commit Graph

169941 Commits

Author SHA1 Message Date
dholland
880d196c7a fix typo in error message 2008-05-14 19:32:18 +00:00
dyoung
c288de686c Match printf argument type (uintmax_t) to format string (PRIuMAX). 2008-05-14 19:24:48 +00:00
dholland
0c2366cfe9 Print kernel version string along with the size output, to avoid having
to dig it out manually if installing by version number... and also to
make it somewhat easier to notice up front if one accidentally boots
the wrong test kernel. not like I've ever done that. ;-)

PR kern/38563.
2008-05-14 18:15:41 +00:00
reinoud
4e1e69dd64 Added UDF write support. 2008-05-14 16:52:35 +00:00
reinoud
e979c658c9 Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
        all operations can be performed on the file system though the
        sheduling is currently optimised for archiving workloads.

        mv(1)/rename(2) is currently only implemented for non-directories.
2008-05-14 16:49:47 +00:00
sjg
20275ee931 Do not set vars in VAR_GLOBAL context, if they have been set on the
command line.
Add a suitable unit-test.
2008-05-14 14:27:02 +00:00
tsutsui
b87210fa51 Normalize my licenses. 2008-05-14 13:29:27 +00:00
ad
bf1cf71fcd - cpu_attach: ensure that the boot processor is set up before trying to
initialize APs. We need the lapic set up and the boot processor may
  not be attached first.

- mp_cpu_start: write back and invalidate the data cache before starting the
  init IPI sequence. If a buggy BIOS has left the AP with cache disabled,
  it might not be able to participate in the cache coherency protocol.
2008-05-14 12:53:49 +00:00
jmcneill
05f909b7fa Fix memory leak on attach/resume. 2008-05-14 12:15:47 +00:00
tron
1fec9888f6 Mention "netgroup" support in getent(1). 2008-05-14 11:45:47 +00:00
tron
684e3b35bd Add support for "netgroup" database. The output format matches what
Linux produces (because Solaris doesn't support this).
2008-05-14 11:44:09 +00:00
dogcow
14c78766c5 I have no idea why the assembler doesn't like
bc	25,0,label
so replace it with
	bdnz+	label
which is the same thing.
2008-05-14 09:04:26 +00:00
he
30e1f3f935 Bump ramdisk size to compensate for recent bloat. 2008-05-14 08:08:31 +00:00
garbled
562fa2cf46 Add rs6000 to the headerlist. Pointed out by Michael Muller 2008-05-14 07:08:40 +00:00
matt
082a2ff75b Back out SD/MMC inclusion which shouldn't have been comitted. 2008-05-14 01:58:29 +00:00
ad
5d1d928fe1 Be more conservative during AP startup. Don't let the AP access the lapic
or do any setup until the boot processor has finished the init sequence,
and add a few more delays.
2008-05-13 22:39:17 +00:00
christos
5b61e403a2 don't play with timevals directly, use the macros. From OpenBSD 2008-05-13 22:16:27 +00:00
dyoung
e6c098fa6e rtinit() should pass RTM_ADD to ifa->ifa_rtrequest instead of cmd,
after all.
2008-05-13 20:49:33 +00:00
dyoung
e78c6441d1 Cosmetic; reduce excessive parenthesization. 2008-05-13 20:40:33 +00:00
mjf
cedc21b1f9 Do not dereference this->intr if it's NULL. 2008-05-13 20:21:19 +00:00
dyoung
9efe814c6c In rtinit(), when cmd == RTM_ADD, pass cmd instead of RTM_ADD to
ifa->ifa_rtrequest(), in preparation for handling rtinit(RTM_CHANGE)
in the RTM_ADD branch.
2008-05-13 20:21:09 +00:00
ad
62118300c8 intr_string: don't bother printing the legacy irq number when using the
ioapic. It's confusing.
2008-05-13 20:19:26 +00:00
dyoung
4dbd129d42 Simplify the RT_DPRINTF() calls. 2008-05-13 20:18:11 +00:00
dyoung
2d716f631f Replace a call to rtrequest() with single dst, mask, gateway
arguments, with a call to rtrequest1() with the rt_addrinfo those
single arguments come from.  No functional change intended.
2008-05-13 20:16:30 +00:00
jmcneill
8981ea449c Remove BUGS section as hardware volume buttons are now supported. 2008-05-13 20:04:28 +00:00
jmcneill
e8535e3b85 Hook hardware volume buttons into pmf. 2008-05-13 19:24:06 +00:00
dyoung
518ccec3d5 bzero -> memset, bcopy -> memcpy. 2008-05-13 18:24:01 +00:00
dyoung
76766729c4 Use an AF_LINK socket to add/delete/get link-layer addresses. 2008-05-13 18:10:17 +00:00
dyoung
2f604e903b Let us call ioctl(SIOC[ADG]LIFADDR) with a link-layer address on
an AF_LINK socket, only, to be consistent with SIOC[ADG]LIFADDR
behavior on AF_INET and AF_INET6 sockets.  Let us create AF_LINK
sockets for this purpose.  Note that most operations on AF_LINK
sockets are not implemented.
2008-05-13 18:09:22 +00:00
dyoung
6f1527c315 Delete unreachable SIOCSIFADDR/AF_LINK case. 2008-05-13 17:58:52 +00:00
dyoung
ec34b3825c Change bzero() to memset(), non-overlapping bcopy() to memcpy().
Remove unnecessary casts to struct route *.
2008-05-13 17:53:52 +00:00
dyoung
0f58320be0 Cosmetic: use __arraycount(). s/0/NULL/ where appropriate. Pass
"null" instead of 0 to printf %s.  Remove superfluous parentheses
in return statements.  Compare pointers with NULL instead of "testing
truth."
2008-05-13 17:51:26 +00:00
dyoung
e77c76146a Build af_link.c. Should fix 'build.sh release' failures. 2008-05-13 15:53:27 +00:00
tnn
88a92b676a Change a couple of stray selwakeup references to selnotify.
Also fix typo.
2008-05-13 15:52:51 +00:00
christos
e3ec2bf190 Add ppc bits; untested 2008-05-13 15:35:40 +00:00
tsutsui
d4fd069bec Use WARNS=2, which just works. 2008-05-13 15:27:30 +00:00
tsutsui
269bbddf81 Remove complete items (multi function PCI interrupts, zs on Qube2700). 2008-05-13 15:06:40 +00:00
joerg
816cef7d46 Restore the behaviour intended by rev 1.51 with the patch I actually
send out for testing. The wrong version ended up in the commit.
Original description:
Don't use the legacy interrupt when deciding how to route IOAPIC pins.
On some modern systems not all devices have the PCI interrupt line
set, typically the cardbus bridge is affected and it would result in
different interrupt vectors used for the same IOAPIC pin.
To allow this, simplify the code by checking for an existing match first
and only allocate a new entry if that doesn't exist. For the IOAPIC case
don't bother with the reserveration on the primary CPU for ISA
interrupts, just use them.
2008-05-13 14:29:17 +00:00
tsutsui
e04f8f6085 On netboot specify only FS_OPS(nfs) explicitly for file_system[] fs_ops.
Trying block device fs_ops like ext2fs on netboot could be problematic
on some conditions since not all libsa functions handle errors properly.
2008-05-13 14:26:20 +00:00
tsutsui
416b7a7683 Remove an unused extern declaration. 2008-05-13 14:20:58 +00:00
ad
6cd3bc13e5 PR port-amd64/38478 (panic on boot when attaching cpu17)
Don't 'sti' before returning from an interrupt that is masked in software.
We could recurse and burn stack.
2008-05-13 14:12:31 +00:00
ad
ef159c840a PR kern/35296 option PIC_DELAY not use 2008-05-13 13:43:47 +00:00
wiz
4c5d505382 Fix typos. 2008-05-13 12:46:14 +00:00
ad
5128f21c03 Back out 1.50 until the assumptions about NUM_LEGACY_IRQS are removed.
Until then there are not enough free interrupt sources on UP systems.
(Sorry Joerg.)
2008-05-13 12:14:06 +00:00
ad
cefdd6012a In panic, we busy wait if another CPU is already panicking. Don't spl0(),
because we could recurse and run off the end of the stack. Pointed out by
chs@.
2008-05-13 11:54:45 +00:00
ad
25eae6f894 AMD and IDT/VIA strings were swapped. 2008-05-13 11:22:15 +00:00
rjs
a05db5ae83 Regen. 2008-05-13 10:44:02 +00:00
rjs
a82c71d83a Add SIS 756 Host Bridge. 2008-05-13 10:43:21 +00:00
wiz
b766901d20 Bump date; punctuation improvements. 2008-05-13 09:33:36 +00:00
wiz
d9ba6548dc cvs-1.11.23 out. 2008-05-13 09:31:19 +00:00