195263 Commits

Author SHA1 Message Date
jmcneill
ed7bfdfad4 Allow for passing more than one module at a time:
$ sudo modunload auvitek xc5000 wintv_eeprom
2010-12-06 23:42:48 +00:00
pgoyette
0139c9e7c5 Make this compile when "options ENVSYS_OBJECTS_DEBUG" is defined. 2010-12-06 23:26:44 +00:00
matt
4d0f1c412f Add a private now S_IS_HIDDEN(symbol) so gas deal with hidden symbols
correctly.
2010-12-06 21:17:00 +00:00
mrg
1153d206d6 install prenice(1) and man page links. 2010-12-06 21:16:53 +00:00
phx
75fc248f8a Apple notebook keyboard support in ukbd(4). 2010-12-06 18:43:47 +00:00
skrll
76d54d05f2 Wrap a printf in #ifdef DEBUG 2010-12-06 18:42:09 +00:00
phx
9efedd612c There should be no MD keymaps in /usr/share/wscons/keymaps. So I made the
PowerBook keymap MI again, after a discussion with <mrg>.
2010-12-06 18:26:28 +00:00
jmmv
42afccf436 Pull up revision c917871de7dd67ba57c17496ad68fe4e4aa8b239:
Fix atf-check match checker to validate lines without newline

Problem found by pooka@.
2010-12-06 18:04:02 +00:00
pooka
335d54d634 Adjust PR format in xfail message so that html test results gain a
link to http://gnats.netbsd.org/44189
2010-12-06 17:30:07 +00:00
pooka
7dec306c60 In the seek test also check that files end up with expected size. 2010-12-06 16:43:26 +00:00
christos
bfb58157c3 adjust errno after kernel change to be EINVAL 2010-12-06 16:37:25 +00:00
christos
d200ee2cb8 change E2BIG -> EINVAL, clearly "argument list too long" is the wrong message
to print.
2010-12-06 16:22:57 +00:00
pooka
49e8823e2c test for 'dd seek=' (could be improved, but at least we have something now) 2010-12-06 15:54:00 +00:00
pooka
39a175ce63 Fix most inopportune typo. from gson & jmmv. 2010-12-06 15:23:29 +00:00
pooka
248168affc Remove PUFFS_WITH_THREADS ifdef garbage, just use libc weak symbols. 2010-12-06 14:50:34 +00:00
skrll
ffb88b81fd Import the binutils-2_19-branch sources as of 2010-04-02. 2010-12-06 14:24:11 +00:00
hauke
e4eca41742 Sync the device names with reality; while we are here, polish a few
sentences, and mention the spif driver works on sun4u/sparc64.
2010-12-06 11:54:04 +00:00
pooka
3ac6e9a428 +tp 2010-12-06 11:32:56 +00:00
pooka
1a21107ad9 Add an xfail test for the mbuf leak described in PR kern/44196.
This is yet another example of a simple test which would be much
trickier to execute against the host kernel.  You would either need
to put networking in a complete lockdown, or do some "statistical"
methods where you trigger the bug many many times and attempt to
ascertain a rising trend in mbuf count.  And, of course, the leaked
mbufs don't go away from the host kernel once the test ends.  In
contrast, we *know* that there is no other networking activity in
a rump kernel, so we can execute the operation exactly once, plus
the leaked mbuf "disappears" when the test is done.
2010-12-06 11:32:01 +00:00
pooka
53fd187690 Allow creation with NULL busname (to be later set with SIOCSLINKSTR). 2010-12-06 10:48:18 +00:00
skrll
0281430f86 s/cannot/can't/ for consistency. 2010-12-06 10:24:04 +00:00
uebayasi
3c4c042ea9 Correct an assertion; pointed out by mrg@ and pooka@, thanks. 2010-12-06 10:22:43 +00:00
pooka
13358eb8c2 Insert word "mbuf" to description of -m (so you can search for it).
No functional change.
2010-12-06 09:28:38 +00:00
pooka
6816648ce4 use -isystem where appropriate 2010-12-06 09:12:34 +00:00
haad
08d72eb06c I have forgot to fix dm_dev_counter here, too. 2010-12-06 09:12:23 +00:00
pooka
0269a0ac61 * test librumpdev_dm
* update rumpcrypto name
2010-12-06 09:08:39 +00:00
haad
e52bc34bd3 We don't need 64 bit variable for dm_device coutner, too. 2010-12-06 09:03:40 +00:00
haad
50cad777f0 Add comment about dm_dev minor, and change it to 32bit value we realy not
going to use so much device minor numbers.
2010-12-06 08:54:49 +00:00
wiz
c0795be10b Bump date for prenice, add serial comma, and fix an xref. 2010-12-06 08:34:28 +00:00
mrg
8c172b0af5 meantion prenice(1). 2010-12-06 04:01:56 +00:00
mrg
79ffd9c9bc add a "prenice <priority> <names>" command.
use it like "prenice -4 mplayer".
2010-12-06 04:00:11 +00:00
christos
efb1585e67 propagate the fixes from /usr/src/sys/net/bpf_filter.c here, so that
we don't merge backwards again.
2010-12-06 01:08:02 +00:00
dholland
eb1ab8ee50 Improve previous to avoid changing the interface of an externally
exposed function. (But note that this function is neither documented
nor declared in any installed header file, and it probably should not
be externally exposed.) Related to PR 44183, closes PR 44186.
2010-12-06 00:05:38 +00:00
jym
44e64860fc Hmm, for 'rof', I believe that C_ROF|C_OF is invalid rather than
C_ROF|C_ROF.

Hi pooka :)
2010-12-05 23:35:59 +00:00
mrg
f705e59458 revert another part of bpf_filter 1.38 that broke the check for divide
by zero while validating the bpf program.

originally spotted by skrll@, and broke atf the month-old atf test for
this exact problem: net_bpf_t_div-by-zero_div_by_zero.
2010-12-05 22:40:56 +00:00
pooka
99f70917f1 dm uses non-MI 64bit atomic ops, so don't include it in the default list. 2010-12-05 22:01:23 +00:00
pooka
76c4650a3f Leave usb-stuff out of alldevs until DELAY() is mi. 2010-12-05 20:39:10 +00:00
pooka
39f08af21d mirror change of -lrumpcrypto ==> -lrumpkern_crypto 2010-12-05 20:13:26 +00:00
pooka
ef4d7c2c36 rumpcrypto now comes as part of RUMPKERNLDADD 2010-12-05 20:12:55 +00:00
pooka
fee25d6c52 rumpcrypto should never have been its own faction, so finally make
it a component under kern, i.e. rumpcrypto -> rumpkern_crypto.
2010-12-05 20:11:21 +00:00
riz
d8ceda082c Add GPT bootloader to "Possibly" list 2010-12-05 18:21:50 +00:00
pooka
7e29270f53 claim ENOTTY for PRU_CONTROL for now 2010-12-05 18:01:46 +00:00
pooka
fdb9b6e9bf Revert previous: it introduces a dependency between sockin and the
netinet rump components and will have to be done another way.
2010-12-05 17:59:12 +00:00
pooka
843bb51b69 dumdidumdum, fix name in previous 2010-12-05 17:45:08 +00:00
pooka
6eb225bba1 Add a rump server which comes with all the drivers currently
available.  In terms of modules it maps to:

golem> rump.modstat
NAME             CLASS      SOURCE     REFS  SIZE     REQUIRES
bpf              driver     builtin    0     -        -
cd9660           vfs        builtin    0     -        -
cgd              driver     builtin    0     -        -
dm               driver     builtin    0     -        -
efs              vfs        builtin    0     -        -
ext2fs           vfs        builtin    0     -        ffs
fdesc            vfs        builtin    0     -        -
ffs              vfs        builtin    3     -        -
fss              driver     builtin    0     -        -
hfs              vfs        builtin    0     -        -
kernfs           vfs        builtin    0     -        -
ksem             misc       builtin    0     -        -
layerfs          misc       builtin    2     -        -
lfs              vfs        builtin    0     -        ffs
mfs              vfs        builtin    0     -        ffs
msdos            vfs        builtin    0     -        -
nfs              vfs        builtin    1     -        -
nfsserver        misc       builtin    0     -        nfs
nilfs            vfs        builtin    0     -        -
ntfs             vfs        builtin    0     -        -
null             vfs        builtin    0     -        layerfs
pad              driver     builtin    0     -        -
ptyfs            vfs        builtin    0     -        -
puffs            vfs        builtin    0     -        putter
putter           driver     builtin    1     -        -
scsiverbose      misc       builtin    0     -        -
smbfs            vfs        builtin    0     -        -
suser            secmodel   builtin    0     -        -
swsensor         driver     builtin    0     -        -
sysvbfs          vfs        builtin    0     -        -
tmpfs            vfs        builtin    0     -        -
udf              vfs        builtin    0     -        -
umap             vfs        builtin    0     -        layerfs
union            vfs        builtin    0     -        -
usbverbose       misc       builtin    0     -        -
wapbl            vfs        builtin    0     -        -


In terms of interfaces:
golem> rump.ifconfig -C
shmif virt lo carp


and dmesg:
NetBSD 5.99.41 (RUMP-ROAST) #0: Tue Nov 30 15:35:05 CET 2010
        pooka@pain-rustique.localhost:/usr/allsrc/src/sys/rump/librump/rumpkern
total memory = unlimited (host limit)
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "rumpclk" frequency 100 Hz quality 0
cpu0 at thinair0: rump virtual cpu
cpu1 at thinair0: rump virtual cpu
root file system type: rumpfs
mainbus0 (root)
ugenhc0 at mainbus0
usb0 at ugenhc0: USB revision 2.0
uhub0 at usb0: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub0: 1 port with 1 removable, self powered
ugenhc1 at mainbus0
usb1 at ugenhc1: USB revision 2.0
uhub1 at usb1: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub1: 1 port with 1 removable, self powered
ugenhc2 at mainbus0
usb2 at ugenhc2: USB revision 2.0
uhub2 at usb2: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub2: 1 port with 1 removable, self powered
ugenhc3 at mainbus0
usb3 at ugenhc3: USB revision 2.0
uhub3 at usb3: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub3: 1 port with 1 removable, self powered
scsitest0 at mainbus0
scsibus0 at scsitest0: 2 targets, 1 lun per target
cd0 at scsibus0 target 1 lun 0: <RUMPHOBO, It's a LIE, 0.00> cdrom removable
Chicony Electronics Chicony Electronics, class 0/0, rev 2.00/1.00, addr 2, uhub0 port 1 not configured
AuthenTec AuthenTec, class 255/255, rev 1.10/6.21, addr 2, uhub1 port 1 not configured
swwdog0: software watchdog initialized
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture


There a bunch of other stuff which doesn't show up as any of the
above, plus of course the usb drivers which are probed only if I
have the appropriate hardware plugged into my workstation.
2010-12-05 17:37:32 +00:00
pooka
6292852036 Rename Makefile.rump${x} to Makefile.rump${x}comp for consistency. 2010-12-05 16:53:46 +00:00
pooka
a0cc35fc67 include usb_verbose in the component (at least for the time being) 2010-12-05 16:51:00 +00:00
pooka
6c11d60910 whitespace polish 2010-12-05 16:50:09 +00:00
pooka
6dccdaa019 Make build similar to fs, net & dev. 2010-12-05 16:27:42 +00:00
pooka
520524fd92 Fix RUMPFSLIBS etc. As collateral, rename nullfs/umapfs to match
the vfsname, i.e. to "null" and "umap".
2010-12-05 16:11:16 +00:00