Commit Graph

185892 Commits

Author SHA1 Message Date
tnozaki b95326704e don't use pathname directly as msgq()'s first argument of format string. 2009-11-24 13:12:01 +00:00
cegger 1b91587f84 Remove X86_MAXPROCS. This fixes PR port-xen/41755.
This also reduces diff to x86/x86/cpu.c as a nice side effect.
'looks good' bouyer@
2009-11-24 13:04:04 +00:00
njoly 4898628cc1 Regen for personality(2) update. 2009-11-24 10:44:41 +00:00
njoly 675b20da1b Update personality(2) to match Linux definition where the argument is an
unsigned long.
2009-11-24 10:42:43 +00:00
rmind 04fb2d7bab Amend #ifdef with DIAGNOSTIC case, avoids gcc warning about unused var. 2009-11-23 18:20:46 +00:00
cegger 370d100bc1 make iasl build again.
patch from tnn@
2009-11-23 17:16:50 +00:00
pooka 1b8aa8bae0 Fix rev 1.10 a bit: currently raw devices are correct for newfs/tunefs,
and the cooked one should be used for mount.
2009-11-23 16:41:26 +00:00
cegger 29e2a7eb92 evaluate _RTV as preparation for passive cooling. 2009-11-23 14:42:39 +00:00
pooka 3d17105af3 Include link.h instead of the NetBSD-specific link_elf.h. Use
dlinfo() only if __ELF__ is defined.
2009-11-23 14:39:35 +00:00
pooka a874bbf6dc Add more rumpdev configurations to rumptest. 2009-11-23 14:07:45 +00:00
pooka 09dbb89b44 If cpu_disklabel includes struct dkbad, define __HAVE_DISKLABEL_DKBAD.
This allows use of subr_disk_mbr on all archs.  Default to it for
the rump disk component.  No functional change for regular kernels.
(The other option would've been to include dkbad in disklabels
everywhere, but arguably this approach has less possible side-effects,
especially given that wedges and related magic will take over the
world any second now).
2009-11-23 13:40:08 +00:00
tsutsui 64dbdb6579 Don't try installboot(8) if offset of PART_A is not zero.
As man page says, installboot(8) is required only OpenFirmware 1 and 2
machines and even on such machines the root partition has to be at the
beginning of the disk to make installboot(8) work.

On OpenFirmware version 3 machines, the strategy provided by
installboot(8) doesn't work, and they need to have an extra
native partition (HFS or FAT16) which can be recognized by
the newer firmware to put a loadable bootloader.
If PART_A has some offset, we can assume the disk is partitioned
for a machine with OF3, which does't require installboot(8).

Eventually, we should provide an independent partitioning method
for OpenFirmware 3 machines (fdisk MBR partition + FAT16 partition
for ofwboot.xcf as OpenBSD does), but it may require some new API
to get OF version in sysinst.
2009-11-23 13:25:02 +00:00
pooka f8d9830a1a Add rf_paritymap.c, which is now required for raidframe. 2009-11-23 12:23:20 +00:00
pooka bb7f50bcca kern_physio is already provided by rumpvfs 2009-11-23 11:20:25 +00:00
cegger 9d14eb5043 Update ACPI_SRAT_CPU_AFFINITY to match ACPI specification 4.0.
XXX I don't know if this already happened upstream but it will sooner or later
if not.
2009-11-23 10:50:38 +00:00
plunky 369de522d5 fix VIS_HTTPSTYLE to not convert "safe" ($-_.+) and "extra" (!*'(),)
characters as mentioned in rfc1738 and rfc1808 and, I think intended
all along in this code but the logic was inverted.

Don't use strchr as it also matches the NUL character which we want
to escape, just compare against the chars directly as done in the
FreeBSD code.
2009-11-23 10:08:47 +00:00
kiyohara d3d39bd6e8 - Wait the ready 5sec, not 5msec.
- Set IFM_ACTIVE to ifm_status instead of ifm_active.  ifconfig(8) always said
  'no carrier'...
2009-11-23 09:41:53 +00:00
dholland 2c1d94d187 When converting an if/panic to a KASSERT it's necessary to reverse the
sense of the test. Makes i386 boot again.

HI RMIND
2009-11-23 05:01:12 +00:00
rmind dbd9b86792 Remove some unecessary includes sys/user.h header. 2009-11-23 02:13:44 +00:00
rmind eaddd78061 Use lwp_getpcb() in compat code, clean from struct user. 2009-11-23 00:46:06 +00:00
abs 02e99d3d5c Do not include FPU_EMULATE in ATARITT only config 2009-11-23 00:18:37 +00:00
rmind 3dc24f5a91 Use lwp_getpcb() on m68k ports, clean from struct user usage. 2009-11-23 00:11:42 +00:00
bouyer e0e426bb85 For amd64, introduce a third free list distinct from the default free list
for memory between 16M and 4G. On large memory machine, this avoids
the 32bit-accessible memory being eaten by various kernel early allocation,
causing 32bit bus_dma(9) memory allocation to fail at boot time.
Tested on a system with 48GB RAM; based on netbsd-5 patch proposed on
port-amd64 3 days ago.
2009-11-22 21:41:03 +00:00
dsl 9a2a9c3ff9 Remove "splurious interrupt" message. The IRQ might be shared.
Fixes PR/11410
2009-11-22 21:18:42 +00:00
christos aabb31871d PR/42363: Yasuoka Masahiko:
racoon uses a wrong IPsec-SA handle that is for other peer in case it
receives a ISAKMP message for IPsec-SA that has the same message-id as
the message-id that is received before.

racoon uses message-id to find the handle of IPsec-SA.  The message-id
is a unique number for each peer, but different peers may use the same
value.

Different Windows Vista or Windows 7 peers seem to use the same
message-id.  racoon can handle the first Windows's Phase-2, but it
cannot handle the second Windows.  Because racoon misunderstands the
message for the second Windows as the message for the first Windows.

>Category:       bin
>Synopsis:       racoon uses a wrong IPsec-SA that is for different peer
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 22 18:25:00 +0000 2009
>Originator:     yasuoka@iij.ad.jp
2009-11-22 19:34:55 +00:00
mbalmer 0ae57f90dd more s/the the/the/ 2009-11-22 19:09:15 +00:00
plunky 60e7a7b128 add translation for "802.1Q" ethertype 2009-11-22 18:53:44 +00:00
mbalmer 9b182ae0ac s/the the/the/ 2009-11-22 18:45:27 +00:00
mbalmer f0a888ee5f make sense 2009-11-22 18:43:27 +00:00
mbalmer 124961627e s/the the/the/ 2009-11-22 18:40:26 +00:00
pooka 16f3281f94 Remove extra crud which hasn't been up-to-date in eons. 2009-11-22 18:36:16 +00:00
pooka 5a9a1f8306 Update. Especially, describe ukfs_mount_disk(), ukfs_release() flags
and return value, and remove obsolete info in BUGS.
2009-11-22 18:14:49 +00:00
mbalmer 4c993ba354 one more the 2009-11-22 18:07:39 +00:00
mbalmer ca310c45c1 remove one the to much. 2009-11-22 18:05:50 +00:00
mbalmer 25c6d8b7c2 the doo doo doo, the daa daa daa... 2009-11-22 18:04:37 +00:00
mbalmer a4ce4bde9a remove the the double the. 2009-11-22 18:02:22 +00:00
dsl 8fee27ec00 Align to the destination buffer.
This probably costs 1 clock (on modern cpus) in the normal case.
But gives a big benefit when the destination is misaligned.
In particular when the source has the same misalignment - although
that may not be a gain on Nehalem!
Fixes PR/35535
2009-11-22 17:25:47 +00:00
jmmv df61ab1eba Fix panic when trying to delete a directory entry (hi yamt!) by not
attempting to release a pnbuf that does not exist.

I.e. fixes "mkdir a ; unlink a/.".  And actually, this was caught by the
automated tests.
2009-11-22 17:09:58 +00:00
snj c88ba29086 Kill space before a period. 2009-11-22 16:50:13 +00:00
kiyohara 04ffa2b739 Move definition 'void gxlcd_cnattach(void)' to gumstixvar.h. 2009-11-22 12:05:14 +00:00
kiyohara 64ba3e027a Add GPIO configuration 'LCD backlight on'.
Remove 'XXXX' in comment.  That GPIO config is power on the Marvell 88W8385.
2009-11-22 12:00:56 +00:00
christos 211ea3b037 don't use the raw device in example. From rudolph 2009-11-22 00:02:56 +00:00
jakllsch 84f4ce4699 Change bus_space_subregion() size for each SATA PHY register from 1 to 4,
as we do a bus_space_read_4() within these subregions.
2009-11-21 23:47:01 +00:00
jakllsch fb0df3c9f4 Fix matching of CX700. Should address PR/39063.
Also,

Change bus_space_subregion() size for each SATA PHY register from 1 to 4,
as we do a bus_space_read_4() within these subregions.

Use PCI_MAPREG_START where appropriate.
2009-11-21 23:44:25 +00:00
jakllsch 58999a2a5a regen. 2009-11-21 22:59:03 +00:00
jakllsch 96746a2c6d Add CX700 and VX800/VX820 LPC bridge IDs. 2009-11-21 22:58:17 +00:00
wiz ca692c48bd Fix typo and uppercase UID. 2009-11-21 22:32:52 +00:00
christos a6560122c5 whitespace police 2009-11-21 21:57:47 +00:00
rmind 7721462952 Use lwp_getpcb() on ARM (and acorn26/32), clean from struct user usage. 2009-11-21 20:32:13 +00:00
dsl 64659593d2 Don't call lwp_getpcb() when not KERNEL. 2009-11-21 19:59:51 +00:00