211952 Commits

Author SHA1 Message Date
jdc
de43881a9a Appease gcc -Wuninitialized when cross-compiling on amd64. Problem noticed
by Hisashi Fujinaka on current-users.
2012-07-04 07:03:30 +00:00
is
706521afb9 As discussed on tech-net@: Don't display expected EHOSTUNREACH for all but
the last connect attempts in terse mode.
2012-07-04 06:09:37 +00:00
christos
a3e3a29e66 regen 2012-07-04 01:08:57 +00:00
christos
fe3cff1f52 add another sierra device 2012-07-04 01:08:26 +00:00
abs
9560c9d7a4 Sync devices with GENERIC, and include bpfilter to allow dhcpcd to work 2012-07-03 22:42:47 +00:00
abs
bd1c4855ff All apply to vax only:
- Drop KERNFS from INSTALL kernel
- Add dmesg to sysinst ramdisk
- Add 'ramdisk' target to MAKEDEV and use
- Add dhcpcd to sysinst ramdisk
- Drop old install.md script
- Misc install image cleanup (reduce diff to zaurus of all things)
2012-07-03 21:49:55 +00:00
cheusov
536626eb4d Fix documentation for function kauth_register_key (PR 46641). 2012-07-03 21:35:04 +00:00
christos
3e56f3e419 no home-brewed NETBSDSRCDIR please (fix the build) 2012-07-03 21:07:41 +00:00
sjg
645c5e28e0 An X!= command, can cause Shell_Init() to be called before Job_ParseShell().
Job_ParseShell() should call Shell_Init() again if needed
to ensure shellPath is correct.
2012-07-03 21:03:40 +00:00
rkujawa
2c5ae203fd Add DIAGNOSTICS section. 2012-07-03 19:09:44 +00:00
njoly
3415668230 mudflap debug libraries are gcc 4.5 specific. 2012-07-03 18:12:05 +00:00
tsutsui
8c7e5abe07 Apply patch:
PR/46583: BIOS bootloader problems with partitions that start above 1TB

Should be pulled up to netbsd-6.
2012-07-03 15:24:37 +00:00
christos
a105182ca5 Don't kill the iso partition at 'a' when we have a udf raw partition.
Makes cd0a mountable again. Should be pulled up to 6 (after people
verify that it works in the broken cases)
http://mail-index.netbsd.org/current-users/2012/06/14/msg020415.html
2012-07-03 13:03:47 +00:00
wiz
af8d65b903 Finish previous. 2012-07-03 09:28:08 +00:00
wiz
6d7c70fb69 Reference libusbhid instead of usb(3) (which was the predecessor for libusbhid).
Bump date.
2012-07-03 09:27:52 +00:00
abs
36d6d3048d - Increase MAXPARTITIONS for vax from 8 to 16, using the standard NetBSD
mechanism to ensure all existing /dev nodes continue to work
- Adjust boot block layout to fit additional partitions
- Adjust number of inodes on install media
2012-07-02 22:42:18 +00:00
oki
294c971b23 add reference to usb(3) and zlib(3). 2012-07-02 21:44:09 +00:00
jym
4f243d2e19 Document atop(9), ptoa(9), round_page(9) and trunc_page(9). 2012-07-02 21:10:30 +00:00
wiz
76576e4292 Sort description of flags. 2012-07-02 20:02:43 +00:00
bouyer
db81001feb ata(4): added support for sata Port MultiPliers (PMP) 2012-07-02 18:16:46 +00:00
bouyer
03c9df05c6 Add sata Port MultiPlier (PMP) support to the ata bus layer,
as described in
http://mail-index.netbsd.org/tech-kern/2012/06/23/msg013442.html
PMP support in integrated to the atabus layer.
struct ata_channel's ch_drive[] is not dynamically allocated, and ch_ndrive
(renamed to ch_ndrives) closely reflects the size of the ch_drive[] array.
Add helper functions atabus_alloc_drives() and atabus_free_drives()
to manage ch_drive[]/ch_ndrives.
Add wdc_maxdrives to struct wdc_softc so that bus front-end can specify
how much drive they really support (master/slave or single).
ata_reset_drive() callback gains a uint32_t *sigp argument which,
when not NULL, will contain the signature of the device being reset.
While there, some cosmetic changes:
- added a drive_type enum to ata_drive_datas, and stop encoding the
  probed drive type in drive_flags (we were out of drive flags anyway).
- rename DRIVE_ATAPIST to DRIVE_ATAPIDSCW to better reflect what this
  really is
- remove ata_channel->ata_drives, it's redundant with the pointer in
  ata_drive_datas
- factor out the interpretation of SATA signatures in sata_interpet_sig()

propagate these changes to the ATA HBA drivers, and add support for PMP
to ahcisata(4) and siisata(4).

Thanks to:
- Protocase (http://www.protocase.com/) which provided a system
  with lots of controllers, SATA PMP and drive slots
- Conservation Genomics Laboratory, Department of Biology, New Mexico State
  University for hosting the above system
- Brook Milligan, who set up remote access and has been very responsive
  when SATA cable move was needed
2012-07-02 18:15:44 +00:00
rkujawa
733cb53a6d Update minimal requirements. Note Mediator PCI 1200 support. 2012-07-02 18:13:13 +00:00
jdc
231bfcd1e8 Increase the retry count in sparc64_send_ipi(), and add loops in
mp_pause_cpus() and mp_resume_cpus().
Fixes "RED State Exception" on an 8-way E3500, and allows it to enter and
leave DDB without failing to pause or resume one or more CPU's.
2012-07-02 15:40:33 +00:00
reinoud
d520097578 Fix missing <stdarg.h> include that breaks the autobuild 2012-07-02 12:17:12 +00:00
jdc
9f36442988 Apply lockup fixes from Havard Eidnes/OpenBSD in PR port-sparc64/46260:
- add an additional watchdog for RX overflow
  - re-initialise the chip on device timeout
Also alter the interrupt blanking rate to 8 packets, as per OpenSolaris.
2012-07-02 11:23:40 +00:00
rmind
26e7cf9436 npf_packet_handler: fix gcc unused warning. 2012-07-02 06:55:58 +00:00
wiz
7cb804ff06 xz-5.0.4 out. 2012-07-02 06:52:20 +00:00
chs
4eb9a76aac in cpu_boot_secondary_processors(), wait until all the other CPUs
have registered themselves in kcpuset_running before returning.
recent changes to the TLB invalidation xcall code assume that
any CPU which will receive a broadcast IPI is registered in
kcpuset_running, so ensure that is true by waiting here.
2012-07-02 01:05:48 +00:00
rmind
33b678d7e0 NPF improvements:
- Add NPF_OPCODE_PROTO to match the address and/or protocol only.
- Update parser to support arbitrary "pass proto <name/number>".
- Fix IPv6 address and protocol handling (add a regression test).
- Fix few theorethical races in session handling module.
- Misc fixes, simplifications and some clean up.
2012-07-01 23:21:06 +00:00
rmind
b92d93cc0e Remove the wrapper of frag6_input(), restore the behaviour changed in r1.50.
Fix ip6_reass_packet() wrapper used by NPF.  Remove #if 0 code for handling
overlaping fragments - IPv6 desupported them anyway.  Convert to kmem(9).
2012-07-01 22:04:44 +00:00
rmind
3ec265e103 npf_state_tcp: fix for FIN retransmission and out-of-order ACK case. 2012-07-01 18:13:51 +00:00
wiz
f1915787a7 Remove weird markup. 2012-07-01 17:00:32 +00:00
christos
a7743d3cd2 bump date 2012-07-01 16:18:00 +00:00
perry
3f1917e0e7 forgot the "7"... 2012-07-01 16:17:06 +00:00
perry
27021da1cf Add reference to rfc6056.7 2012-07-01 16:09:12 +00:00
nonaka
cd7cbaa2da regen. 2012-07-01 04:21:10 +00:00
nonaka
74ab589a0b Add NTT DOCOMO L-02C entry. 2012-07-01 04:20:26 +00:00
jym
6f78ccc10d Use setter to set xenguest_handles. 2012-06-30 23:36:20 +00:00
rmind
de067e16be trap: move out info printing to trap_print() on amd64, reduce the differences
between amd64 and i386, add lowest kernel stack address.
2012-06-30 23:33:10 +00:00
jym
4b5a093d68 Extend the xpmap API, as described in [1]. This change is mechanical and
avoids exposing the MD phys_to_machine/machine_to_phys tables directly.
Added:

- xpmap_ptom handles PFN (pseudo physical) to MFN (machine frame number)
translations, and is under control of the domain.
- xpmap_mtop is its counterpart (MFN to PFN), and is under control of
hypervisor.

xpmap_ptom_map()      map a pseudo-phys address to a machine address
xpmap_ptom_unmap()    unmap a pseudo-phys address (invalidation)
xpmap_ptom_isvalid()  check for pseudo-phys address validity

The parameters are physical/machine addresses, like bus_dma/bus_space(9).
As x86 MFNs are tracked by u_long (Xen's choice) while machine addresses
can be 64 bits entities (PAE), use ptoa() to avoid truncation when bit
shifting by PAGE_SHIFT.

I kept the same namespace (xpmap_) to avoid code churn.

[1] http://mail-index.netbsd.org/port-xen/2009/05/09/msg004951.html

XXX will document ptoa/atop/trunc_page separately.
2012-06-30 22:50:36 +00:00
christos
cc70084500 add -w as an alias to -m 2012-06-30 21:31:15 +00:00
tsutsui
c0aba6b3c5 Use 32KB/4KB for default block/fragment size on >= 128 GB partitions
for modern AFT disks.  No particular comments against PR install/46629.
2012-06-30 15:34:01 +00:00
reinoud
e631798833 Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
2012-06-30 15:03:56 +00:00
tsutsui
d1cc886ce4 Fix buffer overrun (off by one). PR port-atari/42717 2012-06-30 12:42:37 +00:00
tsutsui
2c05e4d76c Add a sanity check if secsize returned from getdisksize() isn't bogus.
This prevent possible panic "panic: buf mem pool index 23" later in
vfs_bio.c:buf_mempoolidx().
(I'm not sure if it's okay for getdisksize() to assume that
 partinfo taken from DIOCGPART is properly initialized
 on all disk(9) devices or not)

See also:
http://mail-index.NetBSD.org/source-changes/2012/06/30/msg035298.html
2012-06-30 11:01:41 +00:00
tsutsui
4403aae449 Make sure that disklabel of md(4) device is initialized
in the case where it's configured in MD md_open_hook().

Without this, msdosfs_mountfs() (which is called from msdosfs_mountroot())
will be called with uninitialized disklabel (d_secsize == 0) and
it gets "panic: buf mem pool index 23" later on atari.
This is because getdisksize() doesn't check returned d_secsize value
and msdosfs_mountfs() blindly calls bread(9) with size==0 in that case.

Should be pulled up to netbsd-6 (at least for atari).
2012-06-30 10:52:31 +00:00
tsutsui
72647cb972 Add a dirty hack for atari's ancient installation ramdisk:
Forcibly configure md0, md1, and md2 devices before setroot()
 for atari's traditional "auto-load from floppy on open" md_root device
 which loads installation ramdisk image from floppy.
 md(4) has been changed dynamically configured at first open after 5.0
 and md devices won't appear in "root device:" prompt without this hack.
Tested on TT030.

Should be pulled up to netbsd-6.
2012-06-30 10:37:00 +00:00
tsutsui
916bfee100 Simply use "mount -u" to (re)mount root file system read-write
rather than denoting it using temporary /tmp/.root_writable file,
because it will never be removed if root file system is on floppy.
Fixes PR port-atari/37470.

Should be pulled up to netbsd-6.
2012-06-30 10:20:26 +00:00
jdf
6f43071798 Replace wrong variable type (s/ITEMS/ITEM). 2012-06-30 09:25:55 +00:00
yamt
b4228b70f2 implement descriptor passing. 2012-06-29 13:20:25 +00:00