Commit Graph

179165 Commits

Author SHA1 Message Date
christos
e78b589366 import new bind 2009-03-22 15:02:24 +00:00
tsutsui
ab6e566655 Add an example to build an ISO from compiled release binaries
by "build.sh release" in RELEASEDIR.
2009-03-22 15:02:23 +00:00
christos
e353dcca6a import new bind 2009-03-22 14:55:05 +00:00
perry
4bfc10355c add missing commas to .Dd fix, pointed out by wiz 2009-03-22 14:29:34 +00:00
pooka
3a6a8a145f Remove clearly incorrect constraint: can't compare range against eof if
offset != start.
2009-03-22 13:38:54 +00:00
pooka
b2ba089f62 Bounds-check requests in case we are operating directly on a regular file. 2009-03-22 09:51:05 +00:00
tsutsui
24d0b20cba Don't remove ${DISTRIBDIR} on cleandir if it isn't default. 2009-03-22 08:43:54 +00:00
tsutsui
f71b3da7ab Check if RSYNC and MKISOFS tools are installed before invoking them.
(otherwise we get strange error messages because MKISOFS is used in pipe)
2009-03-22 08:22:37 +00:00
tsutsui
ce1d70c7a6 Don't put doc files (CHANGES etc.) available in ftp dir into ISOs.
${RELEASEDIR} and ISO images created by build.sh don't have that files.
2009-03-22 07:40:58 +00:00
tsutsui
bbcdef6f71 Print error message properly when ${RELEASE} is not set. 2009-03-22 07:35:43 +00:00
pooka
c7a778f6c1 reference to ABC2009 paper 2009-03-22 05:41:49 +00:00
uwe
1ebb57a8c6 Don't bother trying to attach GPIO, AFE and FIR modules for which we
have no drivers.

Standby TIMER that we don't use.  One of the timers is always out of
standby on my Jornada on boot (WinCE uses it), so save some power.

Standby AFE and FIR for which we have no drivers (I don't know if any
hpcsh hardware actually uses them, so they are likely to be in standby
already anyway).
2009-03-22 02:25:11 +00:00
ad
7c4a91a3e5 uid_init: maxproc -> maxcpus 2009-03-22 00:49:13 +00:00
tsutsui
f5415a224c Fix a bug slipped in rev 1.40 which puts extra MD directories into ISO
on multiple image targets.
2009-03-21 23:52:38 +00:00
ad
2fc1c0de55 Add 2 event counters:
"x86", "io bitmap copy"
"x86", "ldt sync"
2009-03-21 22:55:08 +00:00
tsutsui
7df41f6ef7 cdrtools-2.01.01a27 seems to have another problem on 5.0_RC3 environment
(it complains "Implementation botch" etc.) to build mac68kcd here,
but cdrtools-2.01 is confirmed working.
2009-03-21 22:54:30 +00:00
tsutsui
f263184880 Change default path of mkisofs(8) from /usr/pkg/bin to /usr/local/bin
since recent versions in pkgsrc won't work.
2009-03-21 22:41:57 +00:00
ad
e23c2bc3ad A couple more comments. 2009-03-21 22:17:13 +00:00
ad
b8dea7e04e Add a comment. 2009-03-21 21:42:00 +00:00
ad
416888aeaa Fix the *third* break to this driver from sloppy device_t conversion. 2009-03-21 19:44:26 +00:00
tls
ede5dc65a8 Fix savecore so it uses /dev/ksyms when it can (doesn't override libkvm
default).  Fixes misc/38425.
2009-03-21 19:32:44 +00:00
ad
3c11640e0d Fix 'boot -z' bogons. 2009-03-21 15:01:56 +00:00
ad
418272808a Correction to previous. 2009-03-21 14:48:02 +00:00
ad
d16d704d62 PR port-i386/40143 Viewing an mpeg transport stream with mplayer causes crash
Fix numerous problems:

1. LDT updates are not atomic.

2. Number of processes running with private LDTs and/or I/O bitmaps
   is not capped. System with high maxprocs can be paniced.

3. LDTR can be leaked over context switch.

4. GDT slot allocations can race, giving the same LDT slot to two procs.

5. Incomplete interrupt/trap frames can be stacked.

6. In some rare cases segment faults are not handled correctly.
2009-03-21 14:41:29 +00:00
ad
2600da8765 ffs_sync: ensure that we *do* flush atime updates periodically.
ffs_update() was eating the flag.
2009-03-21 14:35:48 +00:00
ad
7364cd36a3 Allocate sleep queue locks with mutex_obj_alloc. Reduces memory usage
on !MP kernels, and reduces false sharing on MP ones.
2009-03-21 13:11:14 +00:00
ad
912b4160fd Make 'show event', 'dmesg' work with crash(8).
XXX dmesg fails exactly the same way as /sbin/dmesg.
2009-03-21 13:06:39 +00:00
ad
5d2a6ba964 Add -x: summarize events, and do not report on lock types. 2009-03-21 13:02:19 +00:00
drochner
cabe8641e7 Work around a problem with PCMCIA adapter drivers (eg for hpc*) which
attach pcmcia devices before interrupts are enabled. This is unclean
because pcmcia drivers use tsleep(9) in the attach code path but it
worked all the time and it is too late to change this on the 5.0 branch.
So just tolerate it.
Fixes a regression on hpcsh reported by Valeriy E. Ushakov.
2009-03-21 12:35:17 +00:00
wiz
df00d5ab55 Fix merge error. 2009-03-21 10:09:16 +00:00
tsutsui
6c00def18c Add another quirk flag which shows availability of EEPROM command register.
Now we can remove sc_rev which was intended to represent "MAC revision"
used in the Realtek driver.
2009-03-21 10:05:28 +00:00
tsutsui
78a1fca2f2 Add and use a new quirk flag to disable JUMBO MTU,
rather than checking sc_rev values.
2009-03-21 09:18:06 +00:00
tsutsui
200d1adc6c Add hardware checksum support for newer PCIe 8168/8111/8102 chips,
per device info taken from FreeBSD driver.  Tested by snj@ on 8111C.

Should closes PR kern/40955.

Note on old 8169 chips IP hw csum must be enabled to use TCP/UDP hw csums,
but I'm not sure if these newer chips still have the same restriction.
2009-03-21 07:58:30 +00:00
uwe
490f3711c0 Interrupt handling changes (revision 1.23) bumped down _IPL_N to 8 for
some reason.  Restore it to correct 16.

HTF did hpcsh work all this time with hd6446x_imask[_IPL_N] indexed
with IPLs 0..15 is a mistery...  Discovered by accidentally triggering
hd64461 timer interrupt that is not enabled and should have been
masked.

_IPL_N used to be *also incorrect* 15 before Andy's change, which
makes one wonder if dumb luck is severly underappreciated.
2009-03-21 06:11:08 +00:00
pooka
0f732e9cfb remove RANLIB too. pointed out by perry. 2009-03-21 04:59:08 +00:00
uwe
1251c9c4c1 Print only the offending masked HD6446x interrupt, not all of the NIRR. 2009-03-21 04:58:32 +00:00
uwe
89c9d74da9 Fix typo in message. 2009-03-21 03:51:41 +00:00
uwe
ba51317c25 Minor cosmetic. 2009-03-21 03:13:30 +00:00
uwe
76c0e81d47 In the current code the even loop is never exited, but it's cleaner to
have explicit kthread_exit at the end of the event thread routine.
2009-03-21 02:23:03 +00:00
uwe
df7998fac1 Move channel attachment to event thread (we already have one, so it's
easier to do it there rather than mess with config_interrupts()).

From kiyohara@.  Discussed with drochner@, who pointed out that pcmcia
drivers are expected to attach with interrupts enabled.
2009-03-21 02:02:39 +00:00
christos
9114dc885f Fix old userland compat. 2009-03-21 01:11:53 +00:00
perry
c8a35b6227 OpenBSD uses a custom CVS hack to handle Dd fields ($Mdocdate$) which
we don't have. Replace ".Dd $Mdocdate" with ".Dd Month Day Year" so
that the date comes out right when man pages get built. This will
doubtless need hand conflict resolution whenever these pages are
re-imported.

Note that it would be interesting to have some similar facility for
NetBSD, but I don't think a custom rcs keyword is the right thing --
maybe we can teach groff to parse $Date$
2009-03-21 00:15:52 +00:00
reinoud
a3665ba58f Fix panic due to memory leak on symlink creation. A test copy with 3000+
symlinks could get the machine down.
2009-03-20 23:06:52 +00:00
perry
74c461bcb0 Disable inclusion of __DATE__ in the version string. 2009-03-20 21:25:24 +00:00
christos
972af1f99f mention am-utils 2009-03-20 21:17:00 +00:00
christos
e6c7ef55a0 need udf. 2009-03-20 21:15:29 +00:00
christos
e3fc2c5c61 typo 2009-03-20 21:14:21 +00:00
christos
c0b438899b refresh 2009-03-20 21:13:48 +00:00
perry
a24e0ba1bb The Makefile and main.c arranged to put "netbsd-${DATE}" into the
executable. Remove this so that different compiles can be binary
compared. rcsid's for all files are already embedded in the executable
so versions can be easily distinguished. (I didn't catch this on
previous passes because I did my builds on the same day.)

Note: there's a special rule for main.o in Makefile with a purpose I
can't actually discern -- I think it isn't needed, and I've flagged it
with a comment.
2009-03-20 20:48:00 +00:00
drochner
44eb10764a Putting a device into the unconfigured state by an ioctl seems legitimate,
so check for a non-NULL configuration descriptor before dereferencing.
Should fix a crash reported by Nicolas Joly per PR kern/41048.
(It still doesn't look good that the ioctl which unconfigures the device
returns EIO -- either it is legitimate or it isn't -- but since this
is a pullup candidate I don't dare to change user visible behaviour.)
2009-03-20 20:47:43 +00:00