Commit Graph

172028 Commits

Author SHA1 Message Date
macallan
f675bba464 fix incomplete device_t-ification
Now it works again.
2008-08-01 19:33:07 +00:00
pooka
fb5f9816d8 regen: sys___sysctl 2008-08-01 19:33:02 +00:00
pooka
bcfb021366 rumpify sys___sysctl 2008-08-01 19:32:35 +00:00
jmcneill
551b501a8f linux_sys_rt_sigreturn: properly restore stack flags, pointed out by
Juan RP and modified by myself. ok christos@
2008-08-01 18:49:28 +00:00
dyoung
4668b21b50 Always initialize the union of sockaddrs. I used to initialize it
only in the AF_UNSPEC/AF_INET/AF_INET6 cases.  Maybe this will fix
the AF_APPLETALK problem that is@ reports:

random84# ifconfig nfe0 atalk 3.14
ifconfig: SIOCAIFADDR: Invalid argument
2008-08-01 18:05:56 +00:00
dillo
7767511f21 Increase delay after channel reset from 100ms to 500ms, suggested by bouyer.
Fixes unreliable drive detection on NVIDIA MCP67.
2008-08-01 17:41:54 +00:00
dillo
f6bd05d87b Force ahcisata to attach to NVIDIA MCP65 and MCP67, as they don't
work with viaide.

Reviewed by bouyer.
2008-08-01 17:17:35 +00:00
apb
10c7b7cb02 #include <sys/tree.h> to get a definition for SPLAY_ENTRY.
Needed by third party code, such as lsof.
2008-08-01 16:55:48 +00:00
matt
c54e2d5527 Fix bug where SRR1 (%r2) was being accidently misused and modifed
in place of segreg (%r1).

From Konrad Karpowicz <konradk at pacomp dot pl>.
2008-08-01 16:32:03 +00:00
ws
d172dc9df5 Destroy our mutex on detach in order to avoid
an "allocation contains active lock" panic
when halting a LOCKDEBUG kernel.
2008-08-01 16:09:45 +00:00
dillo
2a16dc1a4e Add API version 2.6 variant of fuse_setup.
Reviewed by agc.
2008-08-01 15:54:09 +00:00
simonb
8e5470fdb2 Handle 't' suffix for terabytes for number arguments. 2008-08-01 15:32:29 +00:00
christos
181678b02c fix -w using:
http://www.linuxfromscratch.org/patches/downloads/grep/\
grep-2.5.1-option_w-1.patch
2008-08-01 15:24:35 +00:00
pooka
b6113580a4 __{BEGIN,END}_DECLS 2008-08-01 14:50:28 +00:00
pooka
c19f1a2afd Support ukfs_modload(), which dlopens and vfs_attaches rump file
system modules for use.  Sneakily this solves the problem with the
dynamic linker not wanting to handle the modules link set for
binaries where more than one file system library is included during
the link phase and therefore only one of the file systems getting
vfs_attach()ed in rump "boot".  But more importantly, this is really
TRTTD, since now applications can be built, linked and shipped
completely independently of the file systems they support.

tested by Arnaud Ysmal
2008-08-01 14:47:28 +00:00
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