Commit Graph

10525 Commits

Author SHA1 Message Date
jmcneill
77deea4733 Add man page for pseudo-audio device driver. 2007-11-11 17:45:18 +00:00
agc
f2e9f627b5 Only use the bottom 20bits for an inode number to prevent the inode number creeping out of range for fts 2007-11-11 09:31:31 +00:00
agc
762d3dee18 Use the new virtual inode number, which is calculated at directory entry
insertion time, to prevent fts thinking that we have directory cycles.
2007-11-11 09:25:37 +00:00
agc
8abe1b3c75 Include a (random) inode number in the virtual directory information that
is held. Return this as part of the virtual entry information.

Prevents problems with fts code thinking that some directories create
a cycle.
2007-11-11 09:23:29 +00:00
jmcneill
7eb0882f87 Wups, bump date. 2007-11-10 20:55:33 +00:00
jmcneill
70e507c576 It's mixer_ctrl_t, not mixer_ctl_t. 2007-11-10 20:54:56 +00:00
manu
0e66fc990c tell about 88E8055 support 2007-11-09 03:54:45 +00:00
xtraeme
e11006338a Add support for the VMS logical device on nsclpcsio(4) and clean up
the code. This provides 14 voltage sensors in addition to the previous
3 temperature sensors supported in the TMS logical device.

Adapted from OpenBSD, tested by dyoung.
2007-11-09 01:09:47 +00:00
agc
43385f0ea1 Initial import of a working iSCSI initiator, which uses reFUSE and
libpuffs.

With a round of applause to Antti Kantee for helping out with puffs
debugging, and a huge thank you to Greg Oster, who has fixed numerous
bugs over the last week (unfortunately, the bugs are all mine), and
provided enthusiasm and drive.

Right now, the initiator is fulling working for only a single target,
and should be considered to be in a state of flux.  Having said that,
Greg completed a run of build.sh with the storage on the iSCSI target,
and found times to be within 0.5% of direct attached storage.  Cache
effects apply.

The initiator should be portable to everything that uses the FUSE
interface. That's right - a portable iSCSI initiator.

Storage (LUNs exported by the target) is, at the present time,
presented as a regular file called "storage". This will likely
change in the future.

% priv obj/iscsifs -u agc inspiron1300 /mnt &
[1] 13158
inspiron1300.wherever.co.uk: 10.4.0.42:3260,1 iqn.1994-04.org.netbsd.iscsi-target:target0
inspiron1300.wherever.co.uk: 10.4.0.42:3260,1 iqn.1994-04.org.netbsd.iscsi-target:target1

% ls -al /mnt/inspiron1300.wherever.co.uk/target0/
total 576
drwxr-xr-x  2 agc  agc        512 Nov  8 21:07 .
drwxr-xr-x  2 agc  agc        512 Nov  8 21:07 ..
lrw-r--r--  1 agc  agc         44 Nov  8 21:07 hostname -> inspiron1300.wherever.co.uk
lrw-r--r--  1 agc  agc          9 Nov  8 21:07 ip -> 10.4.0.42
lrw-r--r--  1 agc  agc         16 Nov  8 21:07 product -> NetBSD iSCSI
-rw-r--r--  1 agc  agc  104857088 Nov  8 21:07 storage
lrw-r--r--  1 agc  agc         43 Nov  8 21:07 targetname -> iqn.1994-04.org.netbsd.iscsi-target:target0
lrw-r--r--  1 agc  agc          8 Nov  8 21:07 vendor -> NetBSD
lrw-r--r--  1 agc  agc          4 Nov  8 21:07 version -> 0

FFS needs a block device, and so vnconfig can be used to sit on top of
the regular file.

% mount -vv | grep iscsifs
/dev/puffs on /mnt type puffs|refuse:iscsifs (nosuid, nodev, fsid: 0xcb04/0x6acb, reads: sync 0 async 0, writes: sync 0 async 0)
% priv vnconfig vnd0 /mnt/inspiron1300.wherever.co.uk/target0/storage
% priv mount /dev/vnd0a /iscsi
% df
Filesystem   1K-blocks       Used      Avail %Cap Mounted on
/dev/dk0      28101396   21491182    5205146  80% /
kernfs               1          1          0 100% /kern
procfs               4          4          0 100% /proc
ptyfs                1          1          0 100% /dev/pts
/dev/puffs           0          0          0 100% /mnt
/dev/vnd0a       99214       8209      86045   8% /iscsi
% mount -vv | grep iscsi
/dev/puffs on /mnt type puffs|refuse:iscsifs (nosuid, nodev, fsid: 0xcb04/0x6acb, reads: sync 0 async 0, writes: sync 0 async 0)
/dev/vnd0a on /iscsi type ffs (local, fsid: 0xe00/0x78b, reads: sync 1 async 0, writes: sync 2 async 0)
2007-11-08 23:12:03 +00:00
drochner
2a6ead9f9c also install zone.tab and iso3166.tab from tzdata, some applications
(evolution, KDE) want the former at least, and other OSes install it
(as the Makefile in tzcode suggests)
2007-11-08 20:14:07 +00:00
uwe
a49ad7c9c4 PR 34995 is wrong about 'xn' - wsvt25 entry does need it, so bring it back.
Fixes display weirdness easily reproducible with emacs.
2007-11-07 22:40:32 +00:00
pooka
ec865a5b29 Actually, daemonize the file servers before mounting. I might require
at some point that the local protocol handler does not change after
the file system has been mounted.
2007-11-05 17:54:31 +00:00
pooka
4b0f2948e2 Pull the daemonizing code out of the library mainloop into the file
servers.  Calling daemon() (i.e. fork()ing) inside a library can
cause nice surprises for e.g. threaded programs.  As discussed with
Greg Oster & others.
2007-11-05 17:48:17 +00:00
tls
b21c402a7b Remove MKPRIVATELIB from BIND libraries; move library reachover
directories and Makefiles from src/usr.sbin/bind to src/lib; make
BIND libraries build shared.  Saves about 1MB-1.5MB per installed
executable, about 5MB for a base+etc minimal installation of NetBSD.
2007-11-04 23:28:16 +00:00
yamt
8d2f958716 write a HISTORY section. 2007-11-04 22:36:18 +00:00
xtraeme
b3893f8d6a Sync with latest round of changes and improve vastly sysmon_envsys(9). 2007-11-03 23:05:56 +00:00
xtraeme
e78213b924 Sync with FreeBSD 1.116, this adds information about FreeBSD 1.0.2,
DragonFlyBSD 1.10.0 and OpenBSD 4.2.
2007-11-03 05:24:05 +00:00
xtraeme
2d11ff0c0c Remove "scsibus* at mfi?" from synopsis, we don't need it on NetBSD. 2007-11-02 08:59:56 +00:00
christos
2ea9efab12 sort models, and better reflect reality on the model numbers. From Anon Ymous 2007-10-30 20:56:00 +00:00
xtraeme
e3b08fdabe Add coretemp(4). A new driver for Intel Core's on-die thermal sensor,
available on Intel Core or newer CPUs.

Ported from FreeBSD. Tested by rmind on i386 and joerg on amd64.

Enabled with "options INTEL_CORETEMP".
2007-10-29 00:42:28 +00:00
rjs
08f1734743 Fix typo. s/conat/const 2007-10-28 21:33:23 +00:00
christos
95a01f2aff PR/37210: Jonathan Kollasch: Add seeprom man page. 2007-10-25 17:32:23 +00:00
pooka
bb8c674435 add RSVP. from Jim Wyllie on tech-userlevel and Denis Lagno
in PR misc/37194
2007-10-24 09:38:40 +00:00
pooka
1d8cbeebb1 Note that CIRCLEQ_LOOP first appeared in NetBSD 4.0. 2007-10-22 15:01:18 +00:00
nisimura
c1578f1153 fix an editorial error. 2007-10-19 05:11:07 +00:00
nisimura
6c83afd245 change the description reflecting recent driver modifications. 2007-10-19 04:57:48 +00:00
minskim
11b36d4969 Remove the MKUUCP entry as uucp is no longer in src. 2007-10-18 22:39:02 +00:00
garbled
11ab7e4b00 Fix a few more misc. pmppc references 2007-10-17 23:39:11 +00:00
garbled
e246c3104b Change pmppc references to evbppc 2007-10-17 23:36:56 +00:00
garbled
7be2407c76 Remove the section 8 pmppc manpages 2007-10-17 23:11:34 +00:00
garbled
1d1d527ff1 Remove the man4.pmppc but move the contents over to man4.evbppc as they
still contain worthwhile information.
2007-10-17 23:10:04 +00:00
billc
be65260f34 Populated a few popular ones. 2007-10-17 07:22:14 +00:00
joerg
545f4d8d88 Sync callout(9) man page with bool changes. 2007-10-16 09:17:44 +00:00
xtraeme
f2b7f02f51 Remove reference to unexistent cpu(4) manpage. 2007-10-15 20:32:51 +00:00
pooka
430c2395ef - uvn_attach.9
+ ubc_uiomove.9
2007-10-15 14:00:49 +00:00
pooka
72133aa8cb document ubc_uiomove() 2007-10-15 13:39:50 +00:00
plunky
11054f05ab make it clear that no deactivate call will be made if the activate returns
an error.
2007-10-14 10:10:04 +00:00
xtraeme
fe47e4a5cf umidi(4) entries plus quirks for Roland UA25, UA4FX and SonicCell.
Submitted by DHOYASHIKI Shinichi via PR kern/36834.
2007-10-14 01:08:35 +00:00
christos
69b65d4f45 another one, from tiocsti via elad. 2007-10-13 22:55:52 +00:00
pooka
be762f2f50 add HFIW and HSIW
(these acronyms contributed by Jared D. McNeill and his contributors)
2007-10-12 00:14:20 +00:00
pooka
de3b90f940 add testing option -l, which causes the flush of the page cache of
the node under lookup (if found)
2007-10-11 23:03:00 +00:00
xtraeme
e37a405299 Remove the BUGS section, event delivery of the status has been
there for many years already.
2007-10-11 18:33:49 +00:00
pooka
ceb690c88e when removing file, free last block also 2007-10-11 13:50:42 +00:00
xtraeme
7ade6d03ad Fix the problems described in:
http://mail-index.netbsd.org/current-users/2007/07/16/0012.html

- Introduce sme_class into the sysmon_envsys struct to specify a
  class; currently there are two classes: SME_CLASS_ACADAPTER and
  SME_CLASS_BATTERY.

- Add a new envsys event: PENVSYS_EVENT_LOW_POWER that is reached when
  all SME_CLASS_BATTERY devices are in CRITICAL/LOW state and there's not
  any SME_CLASS_ACADAPTER connected.

- Add the 'low-power' event into the sensor_battery script that will
  shutdown the system gracefully via 'shutdown -p'. If powerd(8) is
  not running, cpu_reboot(9) with RB_POWERDOWN is used.

- Make acpiacad(4) a SME_CLASS_ACADAPTER device and acpibat(4) a
  SME_CLASS_BATTERY device.

Update the documentation accordingly to these changes.
2007-10-10 23:25:39 +00:00
pooka
934299af2e * uvn_attach() is a goner
* document UBC_FAULTBUSY
2007-10-10 11:05:15 +00:00
hannken
3c258e6a15 Bump date. 2007-10-08 10:32:38 +00:00
hannken
3856acafe2 Update the file system copy-on-write handler.
- Instead of hooking the handler on the specdev of a mounted file system
  hook directly on the `struct mount'.

- Rename from `vn_cow_*' to `fscow_*' and move to `kern/vfs_trans.c'.  Use
  `mount_*specific' instead of clobbering `struct mount' or `struct specinfo'.

- Replace the hand-made reader/writer lock with a krwlock.

- Keep `vn_cow_*' functions and mark as obsolete.

- Welcome to NetBSD 4.99.32 - `struct specinfo' changed size.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2007-10-07 13:38:53 +00:00
xtraeme
21f9bf1683 Fix a typo. 2007-10-07 05:33:06 +00:00
xtraeme
5c2d51b913 Sync with the new configuration file format and recent changes
to the envsys framework.
2007-10-07 04:19:51 +00:00
reed
2d8c92dafd My last commit accidently added the links for some other manpages.
Remove those for now.
And commit them later at same time with distrib/sets/lists/base/mi.
Sorry!
2007-10-06 11:39:36 +00:00