Commit Graph

196429 Commits

Author SHA1 Message Date
jakllsch
570b66fb3c Note new GPT support in the x86 boot code. 2011-01-06 19:49:37 +00:00
christos
621e83eac4 match printf formats and types from Patrick Welche 2011-01-06 19:34:28 +00:00
jruoho
ef2b108701 Fix a comment. 2011-01-06 18:57:22 +00:00
riz
e048211e44 Clarify the 'dkctl addwedge' usage message after creating a GPT
partition.
2011-01-06 17:51:28 +00:00
jakllsch
1f8f195455 Use less bogus CHS addresses in PMBR.
With the ending head set at 0xff one machine I have will never leave
the initial startup screen if such a disk is present.  Additionally,
Wikipedia suggests without citiation that 254 is the maximium allowable
value for the head, and this seems to be the case.
2011-01-06 17:42:10 +00:00
pgoyette
c2f7c581b7 mktime test has been atf-ified 2011-01-06 17:22:14 +00:00
pgoyette
8659b0cd02 Atf-ify test for mktime(3) 2011-01-06 17:20:48 +00:00
njoly
faebd471be Remove single-quote forgotten in previous cleanup. 2011-01-06 16:37:35 +00:00
jakllsch
5da707b805 UFS is called FFS in the NetBSD case. Display as such and accept as input. 2011-01-06 16:30:40 +00:00
njoly
a3bf2b2cf7 Fix macro, OS -> Os. 2011-01-06 15:24:33 +00:00
njoly
416b82e2e3 Fix macro (DV -> Dv). 2011-01-06 15:22:20 +00:00
njoly
96b2d8096a Start unprivileged filesystem tests. For now, only chown/chmod owner
checks.
2011-01-06 15:19:09 +00:00
tsutsui
28707b7779 Move pmap_aliasmask initialization from pmap_bootstrap.c
to machdep.c:hp300_init() before the first pmap(9) use.
2011-01-06 14:19:54 +00:00
tsutsui
1e4ed35788 Use #ifdef CACHE_HAVE_VAC rather than #ifdef M68K_MMU_HP where
the pmap code indends.
(though currently only MMU_HP machines have VAC in pmap_motorola ports)
2011-01-06 13:49:16 +00:00
pooka
964d204966 In case of LOCKDEBUG, expect certain text in the kernel output. 2011-01-06 13:42:45 +00:00
pooka
97936d4ea0 antipasto 2011-01-06 13:36:48 +00:00
tsutsui
9e8faec263 Move VA allocation of ledbase to leds.c just before pmap_enter(9)
to reduce MD quirk in pmap_bootstrap.c.
2011-01-06 13:25:32 +00:00
pooka
11cf07aa55 +tp 2011-01-06 13:13:44 +00:00
pooka
051cd8569e Add some tests for lock errors. Notably, some of them fare nicely
with just the pthread consistency checks (which are enabled by
default in rumpuser), but others require real LOCKDEBUG.
2011-01-06 13:12:52 +00:00
pooka
04056e47b5 give the outside world some idea of if we have LOCKDEBUG or not 2011-01-06 13:09:17 +00:00
tsutsui
3012955196 Move bootinfo address initialization to locore.s and machdep.c
to reduce MD quirks in pmap_bootstrap.c.
Also print bootinfo_pa in consinit() so that we can see
at least MMU is properly enabled after boot.

Tested on HP382.
2011-01-06 13:03:47 +00:00
blymn
0a965fa7ed Back out change for assume_default_colors as it was not correct. 2011-01-06 11:29:40 +00:00
pooka
cd73d116db Support LOCKDEBUG. To use it, compile sys/rump with RUMP_LOCKDEBUG=yes.
requested by martin (sparc64 gdb cannot reliably produce a stack trace)
2011-01-06 11:22:54 +00:00
cegger
f150925704 recognize Radeon HD 4200. This lets radeondrm(4) attach.
"go ahead" macallan@
2011-01-06 11:07:48 +00:00
pooka
51426b1ada cwdi0 lock is now initialized in proc0_init() 2011-01-06 10:20:57 +00:00
dholland
78dfa763ff fix typo, from Ryo HAYASAKA in PR 44332. 2011-01-06 08:30:09 +00:00
dholland
f4f54a9c39 Fix "-exec blah blah {} +" so it only matches when the {} is last, as
per the standard. Per (brief) discussion on tech-userlevel.

There should really be a form where you can do the equivalent of
"-exec blah {} blah +", but I think we're going to need to call it
something other than -exec. As it is it's sort of surprising that the
standards people didn't add a different name -- note what happens if
you try to do something like "find ... -exec expr {} + 2 \;".
2011-01-06 08:18:42 +00:00
macallan
5e7d981582 clear the screen before redrawing on reentering text mode 2011-01-06 07:43:05 +00:00
pooka
edeb44ccb3 Add a test for ls, which is just a lazy scheme to have some testing
for puffs_cc(3).
2011-01-06 07:28:32 +00:00
pooka
618d7d9ede +helper 2011-01-06 07:05:51 +00:00
jruoho
0af1ebd4ab Split the code that makes a string from ACPI_DEVICE_INFO::Name to a function. 2011-01-06 07:05:00 +00:00
pooka
b2d5a8ae6c test rumpclient syscalls from a signal handler 2011-01-06 07:00:28 +00:00
pooka
d69edd9332 check that child exits with an expected status 2011-01-06 06:59:25 +00:00
pooka
c45d9404c0 Make rumpclient syscalls safe to call from signal handlers. 2011-01-06 06:57:14 +00:00
jruoho
1bb3132df6 Move the ACPI_ACTIVATE_DEV block around for clarity. 2011-01-06 06:49:12 +00:00
enami
eaefa873fe Fix bugs introduced by previous commit; allocated page needs to be bound
with the anon, and uvmfault_anonget may be called with ufi NULL.
2011-01-06 05:51:57 +00:00
jym
6da35ef6e8 bnx(4) SERDES NICs will definitely work better with the PHY initialization
code... rather than without.

(forgot to commit it two weeks ago -- should be part of the BCM 5709S
patch)
2011-01-06 03:37:55 +00:00
macallan
60e66c6f48 define NO_LEGACY_VGA on macppc and sparc64
May be necessary on other ports as well that have PCI but never use VGA text
mode.
2011-01-06 03:29:12 +00:00
jakllsch
dc93c72587 Pacify Clang -Wformat-security. 2011-01-06 02:45:13 +00:00
christos
221dcf2e47 Since localsub and gmtsub are called recursively to search for the local
time, setting EOVERFLOW at the inmost level will unfortunately persist,
even if later calls to those functions succeed. Move the EOVERFLOW setting
to the top level calls.
2011-01-06 02:41:34 +00:00
jym
53a9d61cb0 Reflect 5709S support in bnx(4) (comment fix) 2011-01-06 02:02:43 +00:00
jakllsch
a5fb435357 Support booting from GPT-partioned disks on PC-BIOS-compatible systems.
Much of the work in this commit was done by Mike Volokhov during GSoC 2009.
2011-01-06 01:08:48 +00:00
jakllsch
6808b172e4 Pass a 64-bit boot partition base LBA into x86 /boot,
while maintaining compatibility with existing bootxx code.
2011-01-05 23:13:01 +00:00
pooka
f4b63a89c1 Release sender lock before zeroing out "wanted" status during
violent disconnect.  Fixes some race conditions (maybe the one
occasionally showing up on tests/rump/rumpkern/t_stress).

thanks to schmonz for some discussion
2011-01-05 22:57:01 +00:00
jmcneill
1dc6287662 reserve a major number for kmixer 2011-01-05 22:35:08 +00:00
jakllsch
1d66d108be NetBSD/x86 BIOS Boot 5.6: now with GUID Partition Table support. 2011-01-05 22:28:05 +00:00
jakllsch
749ebb6927 Note stack/heap changes made in revision 1.47 of Makefile.boot with version 5.5. 2011-01-05 22:24:02 +00:00
jakllsch
ae42e83402 Teach BIOS disk driver about GPT partition tables.
Inspired by Mike Volokhov's GPT booting GSoC project.
2011-01-05 22:06:59 +00:00
jakllsch
4b66284eab Let the compiler determine the correct type for sizeof().
From Mike Volokhov's GPT booting GSoC.
2011-01-05 21:44:23 +00:00
enami
7b2a66bec9 Fix format string; use PRIu64 for uint64_t. 2011-01-05 21:20:44 +00:00