Commit Graph

165253 Commits

Author SHA1 Message Date
mrg a41df38359 - put netbsd.ofppc and ofwboot.ofppc in the root of ofppciso.cd.
- create a mostly working sysinst/ramdisk environment.  i was
able to successfully run sysinst, but the screen displays many
"bad format `p'" errors i am yet to track down entirely that
make it somewhat difficult to see.
2008-01-02 11:39:01 +00:00
mrg a386f0e8b3 build an INSTALL kernel. it's just GENERIC with md(4) root space. 2008-01-02 11:32:15 +00:00
mrg 0738c9d4c5 port the prep parts to ofppc. this is tested on a pegasosII box and
with a suitable ramdisk etc, you can actually install successfully.

mostly the changes from port-prep are to switch the prep mkbootimage
to an msdos boot partition with a copy of ofwboot in it.
2008-01-02 11:30:30 +00:00
mrg 8403b85c70 add support for PART_BOOT_PI_FLAGS and PART_BOOT_PI_MOUNT defines that
allow PART_BOOT support to set flags / mountpoint for the boot partition.

will be used for ofppc port to create an msdos /boot.
2008-01-02 11:23:22 +00:00
sborrill 37c7a4d0f3 Configuration file is boot.cfg, not boot.cnf, so fix comments 2008-01-02 10:39:39 +00:00
dyoung 80c0fcd21b Improve device detach routine. Now I can detach nsclpcsio0 and
its children.

Fix an off-by-one bug in the sensor initialization which stopped
it from completing.

Extract sensor initialization into a new subroutine.  If there is
an error while initializing sensors, do not let sc_sme dangle.
2008-01-02 10:21:08 +00:00
dyoung 09767a906c In sysmon_envsys_create(), initialize the callout structure. Stops
panics with a DIAGNOSTIC kernel.

In sysmon_envsys_find_40(), wait until an envsys is not busy before
settings its busy flag, in the pattern of sysmon_envsys_find().
2008-01-02 10:15:53 +00:00
sketch 9e7635573e Seasonal addition, HNY: Happy New Year! 2008-01-02 09:14:17 +00:00
dogcow fad5ee1397 const char casting, to make gcc happy. (not that sun2 compiles these days
without other patches.)
2008-01-02 06:53:09 +00:00
pooka b0e1200d26 unstaticate putterdebug 2008-01-02 05:27:21 +00:00
dyoung 5493a07f14 Use LIST_FOREACH(). 2008-01-02 03:06:02 +00:00
mrg 3259c65b6e add COMPAT_40, raid and RAID_AUTOCONFIG options. 2008-01-02 02:32:25 +00:00
dyoung 5b4182ee05 Use TAILQ_FOREACH(). 2008-01-02 02:29:14 +00:00
dyoung 66938db654 Cosmetic: fix indentation. 2008-01-02 02:25:27 +00:00
dyoung a142fc9c6b Add a debug message with aprint_debug_dev(). Use the right bus
tag.
2008-01-02 02:05:19 +00:00
yamt 2754ee1338 note what's sampled. 2008-01-02 01:17:41 +00:00
yamt 9bc4e5ed37 explain the output of fmt.sh 2008-01-02 01:06:31 +00:00
dyoung 60e2cd65a0 Fix XEN2_DOMU (and amd64?) builds: move ether_mediastatus(),
ether_mediachange() to their own module that we compile only if
the kernel configuration demands support for both MII buses and
ethernet.  Thanks to Tom Spindler for suggesting that these routines
move to dev/mii/.
2008-01-02 00:41:07 +00:00
yamt 7c8b847a3a minimum documentation. 2008-01-01 23:42:56 +00:00
yamt e0979e932f mention tprof. 2008-01-01 23:27:09 +00:00
pooka ffd37c1db1 pass mmap to file systems 2008-01-01 22:31:42 +00:00
pooka d89e3e05a2 emulate a couple more locking interfaces 2008-01-01 22:03:24 +00:00
yamt 72af27bc88 comment a usage. 2008-01-01 21:39:50 +00:00
yamt cfa944ec37 a dumb formatter for tprof. should be rewritten. 2008-01-01 21:37:50 +00:00
yamt 8415a5d75a a dumb program to talk with the tprof driver. 2008-01-01 21:33:26 +00:00
yamt 48a1e4c2c1 a simple performance monitor based profiler, inspired from linux oprofile. 2008-01-01 21:28:37 +00:00
yamt 13d9847b0a add swapgs. 2008-01-01 21:24:17 +00:00
christos 8bb176858f block signals before playing with files. From Anon Ymous 2008-01-01 21:22:55 +00:00
yamt cfb66876d1 try to detect processor resource sharing topologies. ie. package/core/smt IDs. 2008-01-01 20:32:10 +00:00
yamt 7aa31c1c3b make the nmi handler safer.
XXX should use IST.
2008-01-01 19:49:05 +00:00
dholland 5e6732eb9c Don't allow negative args for the -A and -B options, because they
lead to SIGSEGV in the output formatting code.
Fixes PR 37657 from Jeffrey E. Bedard.
2008-01-01 17:45:01 +00:00
njoly dfd4477d85 s/i386/__i386__/. 2008-01-01 17:40:22 +00:00
chris 736004cf1c Add property to aceride to allow the forcing of compat mode.
This allows cats to override the BIOS (aka ABLE) settings, which enable
native mode, but doesn't route the interrupts correctly.

Discussed last year on tech-kern and port-cats.
2008-01-01 14:57:05 +00:00
chris cf792ccc84 Update libkvm to be able to deal with arm kernel core dumps.
These changes allow savecore to successfully save a kernel core dump.

Final part of fixing PR cats/18026
2008-01-01 14:10:37 +00:00
chris 85047bd3d7 Add kcore.h to the files installed on arm. 2008-01-01 14:08:03 +00:00
chris c93dd30159 Add support for kcore headers to arm32 kernel core dumps.
The kcore code is based on i386's kcore header handling.

Having an asm stub for dumpsys, to dump the registers onto the stack, and
then call the C code to do the memory dump is based on amd64's core dump
code.

This allows a successful core dump on cats.

Part of fixing PR cats/18026.
2008-01-01 14:06:42 +00:00
yamt e01ad62b66 always consider T_NMI as !T_USER regardless of trapframe. 2008-01-01 13:40:20 +00:00
jmmv e92603e152 Revert previous by removing the apm entry. Even though the driver seems
to work, we do not build any userland support for it; see 1.183's commit
message.  Per jmcneill@'s request.
2008-01-01 13:35:36 +00:00
yamt e550a539ee add x86_cpuid2, which can specify ecx register. 2008-01-01 12:51:08 +00:00
yamt aa3e923c59 add some dependencies on assym.h. 2008-01-01 11:35:33 +00:00
jmmv b35cc6641f Add a trimmed-down configuration file for the VMware Fusion virtual machine
suitable for the subset of hardware devices it provides.
2008-01-01 11:20:42 +00:00
jmmv 4d71e761d0 Add the ACPI apm emulation device. 2008-01-01 11:05:27 +00:00
jmmv 14b3c39f2a Add and enable piixpm. Confirmed working under VMware Fusion. 2008-01-01 10:48:36 +00:00
jnemeth ab591ccf7c put back etc/systrace and mark as obsolete 2008-01-01 10:47:54 +00:00
jnemeth 058ba778d1 put back rescue/systrace and mark as obsolete 2008-01-01 10:45:12 +00:00
he aa5a643b16 Follow up the change to soackaddr_dl by using CLLADDR() and propagating
const to camentry().
2008-01-01 01:04:20 +00:00
ad 90d0dce26b Welcome to 2008.
Don't forget to update copyright notices when you add new code.
2008-01-01 00:00:18 +00:00
ad 6f612ecfc5 Put back ttclos, a lot of the drivers use it. 2007-12-31 23:33:08 +00:00
dyoung 73a1d6fbf5 Don't buffer packets while the link is down, but drop them on the
floor like most other ethernet drivers do.

bnx(4) has "vanilla" MII media-handling, so use ether_mediachange
and ether_mediastatus.
2007-12-31 22:52:14 +00:00
dyoung b50b53e4c1 struct ethercom changed. Welcome to 4.99.47. 2007-12-31 22:49:39 +00:00