Commit Graph

172063 Commits

Author SHA1 Message Date
pooka b629cd421b expose module_compatible() 2008-08-01 14:05:15 +00:00
pooka efc1eab889 72 for wapbl 2008-08-01 13:34:31 +00:00
marcus ae05e8ed7a Fixed a compilation warning. 2008-08-01 11:33:06 +00:00
simonb a3458e2123 Oop, fsck(8) not fsck(4). 2008-08-01 07:53:39 +00:00
simonb 1114d85d1b Note problems with old fsck(8). 2008-08-01 07:53:05 +00:00
simonb 8099f0b8d1 Add a note about WAPBL and backwards compatibility. 2008-08-01 07:34:57 +00:00
skrll 6fd21ccbbf Improve the debug output ever so slightly. 2008-08-01 07:11:24 +00:00
simonb 341c391a77 Note that current GNU grep is GPLv3. 2008-08-01 02:20:03 +00:00
cegger 7c9b29a47a backout rev. 1.175:
options VGA_POST already existed which makes config barf.
2008-07-31 23:56:00 +00:00
oster 9921f79434 Make MSDOS filesystems work again after WAPBL merge. Fixes a quite
repeatable panic in fstrans_getstate() found while searching for a
different USB bug.  Also makes the code somewhat more readable.

Patch from Juergen Hannken-Illjes with a small rearrangement from me.

Approved by: hannken
2008-07-31 23:49:50 +00:00
drochner 551e75d811 -ubsa needs to be attached as whole device on USB, because it sets
the configuration. The match/attach code was assuming whole-device
 attach args all the time.
-Use the first (ie index 0) configuration for ubsa -- it makes the
 code work in at least one case (PR kern/39211 by Frank Wille), and
 there is no indication that an alternative configuration would
 be needed. (I've admittedly never seen a usb device with more than
 one configuration.)
This fixes mistakes when uhmodem support was added, and the changes were
not tested with a Huawei device yet. So please test if you can.
2008-07-31 22:01:15 +00:00
perry 9a87cf1721 note the current version of gnu grep is 2.5.3 2008-07-31 20:22:06 +00:00
matt a1469c2d6d Generalize previous fix so that both NS and NA packets are checked. 2008-07-31 18:24:07 +00:00
matt fc3801b3c9 If a neighbor solictation isn't from the unspecified address, make sure
that the source address matches one of the interfaces address prefixes.
2008-07-31 18:01:36 +00:00
christos 0e56257433 Document the remaining boot flags. 2008-07-31 17:08:23 +00:00
simonb fbdf47e4b0 Just use printf(...) instead of fprintf(stdout, ...). 2008-07-31 15:55:41 +00:00
simonb 8afa0436e9 Pretty-print the journal log size with humanize_number(3). 2008-07-31 15:50:29 +00:00
hannken 85271ee0ad Ffs snapshots don't work (yet) with WAPBL:
- no snapshot creation on logging file systems.
- refuse to mount logging file systems with persistent snapshots.

Ok: Simon Burge <simonb@netbsd.org>
2008-07-31 15:37:56 +00:00
christos 2703aa2d0d enable -P 2008-07-31 15:25:18 +00:00
christos 8bba9bd7b0 document P 2008-07-31 15:24:09 +00:00
christos 3457928c2a Add Picky flag; this produces more warnings:
1. long a; int i; a = i * i;
   suggests casting i to long, so that we gain precision in the multiplication.
2. warns about magnitude comparisons in enums.
3. warns about possible sign extension issues when integer types become widened.
2008-07-31 15:21:34 +00:00
simonb b91e1531e4 Mention WAPBL. 2008-07-31 15:19:44 +00:00
joerg f45c989c53 Micro-optimise VarQuote by exploiting that meta characters are normally
rare and skipping over normal characters with strcspn is therefore
faster. Further simplify logic by always setting newline and precompute
the size of the string.

OK christos@
2008-07-31 15:19:19 +00:00
joerg 2ad045d932 Meta characters are a constant, mark it so. 2008-07-31 14:59:39 +00:00
joerg 9937b08bc5 Add description of VGA_POST default and what it is good for. 2008-07-31 14:20:52 +00:00
joerg ca906ffece Include VGA_POST by default in GENERIC and ALL on x86 now that the code
is conditional.
2008-07-31 14:15:00 +00:00
simonb dd19be8c80 Update a bit. 2008-07-31 14:14:07 +00:00
joerg 0b2a6aef84 machdep.acpi_vbios_reset = 2 --> vga_pci_resume will use x86emu to do a
POST when options VGA_POST is present.
2008-07-31 14:05:05 +00:00
simonb 4a733c2463 s/journalling/journaling/ 2008-07-31 12:30:15 +00:00
ws f83cc7d5ab Calling fxp_init within the interrupt handler results in
a hang (continuous assertion of FXP_SCB_STATACK_RNR).
Instead do it in the ioctl routine after receiving a
signal from the interrupt handler.
2008-07-31 12:28:28 +00:00
hannken fb6f2c9b30 Resolve a deadlock when fs_nodealloccg() initializes more inodes on
an UFS2 file system.  With the current cylinder group buffer busy it
calls ffs_getblk().  This runs through copy-on-write and may need the
current cylinder group buffer to allocate a new block for the snapshot.

While here write the cylinder group buffer synchronously after
cg_initediblk was changed because fsck_ffs will trust it.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2008-07-31 09:35:09 +00:00
simonb 0800f2fb9f Be consistent with #define<tab>. 2008-07-31 08:44:21 +00:00
cegger e2775dc02b Add "options WAPBL" to Xen configs 2008-07-31 08:43:13 +00:00
simonb 2a3d67b697 Remove needless white-space change that crept in through wapbl branch
merge.
2008-07-31 08:42:01 +00:00
simonb bc6528ab7a Add Greg Oster's man page for WAPBL. Still a work in progress,
expect updates.

Thanks a lot to Greg for cribbing together the info and getting
this going.
2008-07-31 08:28:17 +00:00
simonb 64c83a728a Wrap long lines, break lines on start of new letter. 2008-07-31 08:01:59 +00:00
simonb dc9029a896 Regen for "options WAPBL". 2008-07-31 07:48:37 +00:00
simonb ef38d7e5a7 Move "options WAPBL" so that it also gets added to INSTALL kernels. 2008-07-31 07:47:43 +00:00
simonb ae9bf9b493 Regen for "options WAPBL". 2008-07-31 07:45:39 +00:00
simonb 73252465b8 Move "options WAPBL" so that it also gets added to INSTALL kernels. 2008-07-31 07:45:04 +00:00
simonb 0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
simonb 36d65f1138 Merge the simonb-wapbl branch. From the original branch commit:
Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
   journaling code.  Originally written by Darrin B. Jewell while
   at Wasabi and updated to -current by Antti Kantee, Andy Doran,
   Greg Oster and Simon Burge.

OK'd by core@, releng@.
2008-07-31 05:38:04 +00:00
uebayasi d1dfd4fec7 Display t_outcv* channels as "ttyout*", not "ttycan*". 2008-07-31 01:46:40 +00:00
mrg 9fab5b3e9a use ${FONTCONFIG} instead of the long version. 2008-07-31 01:37:58 +00:00
mrg 55503ed73c XXX: -Wno-error for ffcheck.c and register.c 2008-07-31 01:37:23 +00:00
mrg ed5d239d77 XXX: -Wno-error for extutil.c 2008-07-31 01:36:33 +00:00
mrg 898939e96d XXX: -Wno-error for StBytes.c 2008-07-31 01:35:04 +00:00
mrg 3141b62a31 XXX: -Wno-error for sm_client.c / sm_manager.c 2008-07-31 01:33:54 +00:00
mrg 36bfdec773 be sure to decend into sys/rump during "make obj". fixes builds on r/o src. 2008-07-31 01:11:53 +00:00
dsl 0109c05abd Fix 'total' output from 'du -sc'.
Simplify the change (adding -d<depth>) that broke it by noting that
-d0 is supposed to be the same as -s.
Calling fts_set(fts,p,FTS_SKIP) here is also pointless.
2008-07-30 22:03:40 +00:00