Commit Graph

97327 Commits

Author SHA1 Message Date
briggs
e4b2e00519 We are switching to usr.sbin/installboot. 2002-05-21 01:57:33 +00:00
yamt
381fee523f open device as readonly unless -w is specified. 2002-05-21 01:39:56 +00:00
thorpej
e839580821 Move kernel_lock manipulation info functions so that they will
show up in a profile.
2002-05-21 01:38:26 +00:00
simonb
61ea584c2f Widen the ID field to 7 chars; probably should be auto-sized... 2002-05-21 01:10:06 +00:00
wiz
180ed1d2e0 Add man pages for bm(4), gm(4), and mc(4). Some helpful
information provided by Michael Wolfson and various people on port-macppc.
2002-05-21 00:49:54 +00:00
lukem
6a574a38b0 I made a mistake when converting Izumi Tsutsui's back-end to the shared
bbinfo.c module;  news* boot blocks occupy all of the first 16 sectors,
with a jump instruction to skip the label at bytes 64..511.
Replace news_clearboot() and news_setboot() callbacks with common
news_copydisklable() callback, and set bbinfo_params->offset to
NEWS_BOOT_BLOCK_OFFSET (which is now 0), and ->headeroffset to 0.

(Thanks to Izumi for picking this up; the perils of working on code at 2am)
2002-05-21 00:38:08 +00:00
lukem
f6995335d6 Change NEWS_BOOT_BLOCK_OFFSET from 512 to 0, since parts of bootxx do
get loaded to sector 0 (even though we have to copy the disklabel back in)
2002-05-21 00:19:17 +00:00
itojun
27f3ac7084 use .It for formatting legal section. 2002-05-20 23:48:40 +00:00
mbw
fff05b1d0e sparc now uses dhcp instead of bootparams 2002-05-20 23:07:15 +00:00
itojun
e534b69c1d raise RTF_HOST if destination is a host (/128). from ume 2002-05-20 23:01:32 +00:00
perseant
ec0ca919be Protect v_freelist with splbio(), since HOLDRELE can be called in
interrupt context (through brelvp).  (LFS may be the only subsystem
affected by this problem.)

Tested on i386.
2002-05-20 22:50:57 +00:00
eeh
44c6c3f7d0 Add bootfs to the build list. 2002-05-20 21:50:45 +00:00
eeh
4062a708d3 Add bootfs for cdrom booting. 2002-05-20 21:50:10 +00:00
jdolecek
9caf54f80a readdisklabel(): fabricate sane default disklabel in case there isn't
any on the disk
Implemented by Christian Limpach, sent in port-next68k/16929.
2002-05-20 20:49:16 +00:00
wiz
f02ecb7d7a No .Pp before section headers, and use .Nx instead of NetBSD in one place. 2002-05-20 20:24:49 +00:00
jdolecek
89924fe79b Fix race condition between the DMA handler (which gets called
on spldma), and rest of driver/network code (which runs on splnet) in way
if->if_snd queue is accessed. Solve by using intermediate queue.

Problem found, and fix provided by Christian Limpach in port-next68k/16798
2002-05-20 20:19:36 +00:00
jwise
6851e437d5 Separate various parts of sushi(8) from the *-sysutil-* packages into new
*-sushi-* packages.

Suggested by Allen Barret in PR misc/16900:

>$ grep base-sysutil distrib/sets/lists/base/mi | grep sushi | wc -l
>     288
>$ grep base-sysutil distrib/sets/lists/base/mi | grep -v sushi | wc -l
>     136
>
>In a future where syspkgs are useful, it seems likely that some
>people will want to avoid installing sushi, while others will want to
>be able to upgrade sushi without upgrading the entire system.  Several
>small subsystems, including cron and lpr, have their own syspkg sets,
>and it seems reasonable to do the same for the sushi subsystem.
2002-05-20 19:36:00 +00:00
jwise
8a705cc17d Fill in some COMMENT and DESCR files which were inadvertantly left blank. 2002-05-20 19:19:02 +00:00
jdolecek
56eb55e177 Adapt this to post thorpej-scsipi world.
Fix provided by Christian Limpach in port-next68k/16928.
2002-05-20 18:03:03 +00:00
jdolecek
a36ba752c5 Check for zsc properly, and fix typo in #include.
Pointed out, and patch provided by Christian Limpach in private e-mail.
2002-05-20 17:55:46 +00:00
wiz
5bbb967491 For consistency, use MLINKS, not LINKS. 2002-05-20 16:21:32 +00:00
pooka
0bcdf55e14 gio first appeared in 1.5 2002-05-20 16:19:50 +00:00
lukem
2d570bea0e Convert to NDWO build.
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:14:20 +00:00
lukem
28afa1a617 Convert from usr/mdec/installboot to usr/sbin/installboot.
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:13:39 +00:00
lukem
9f9c6e35b1 convert to using usr/sbin/installboot.
(from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:10:33 +00:00
lukem
d22f5cff9c - use uint8_t instead of char for boot block blobs
- bbinfo_params:
	- replace "int littleendian" with "bbinfo_endian endian"
	- add comments
- shared_bbinfo_clearboot():
	- add callback method to shared_bbinfo_clearboot()
	- don't clear from 0..headeroffset; use a callback to do that
- add news68k and newsmips support.
  From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>, with a rework by me to
  take advantage of the new shared_bbinfo_clearboot() callback.
  (XXX: untested yet)
2002-05-20 16:05:26 +00:00
mycroft
44024682c7 The FIX_RESUME_BUG hack does not work, so remove it.
Also, attempt to clarify the message slightly when updating the EEPROM.
2002-05-20 15:23:01 +00:00
thorpej
e1b93f4526 Don't try to extract gdbserver configury; we don't yet support gdbserver. 2002-05-20 15:19:09 +00:00
atatat
adf9f4096f tweak GECOS for games 2002-05-20 15:08:25 +00:00
atatat
feed2cb114 tweak GECOS for postfix 2002-05-20 15:06:19 +00:00
thorpej
d0a26f03be Add native toolchain bits for "armeb" (big-endian ARM). 2002-05-20 15:05:07 +00:00
lukem
ba66837514 more cosmetic tweaks 2002-05-20 15:04:25 +00:00
thorpej
a2213fccd7 Add native toolchain bigs for "armeb" (big-endian ARM). 2002-05-20 15:03:38 +00:00
blymn
759e545dce * Major rework to allow the TAB character in fields. 2002-05-20 15:00:11 +00:00
lukem
a59ed8d893 cosmetic tweaks 2002-05-20 14:56:10 +00:00
thorpej
2b3592c48e Add armelfb_nbsd linker emulation. 2002-05-20 14:53:54 +00:00
lukem
2a775954a9 - clean up display of supported machines & fstypes to ensure that last
column gets a trailing "," if there's more entries to come.
- if getmachines() or getfstypes() is called with 3 NULL params, just
  print the list of supported items.
- in usage(), call getmachines() and getfstypes() with 3 NULL params.
  (i got sick of typing "installboot -m asdf" to get a list of
  supported machines during testing :)
2002-05-20 14:38:38 +00:00
thorpej
0ee3170e4d Add cases for "armeb" (big-endian ARM). 2002-05-20 14:34:07 +00:00
thorpej
5efacd42c4 Add an armeb-*-netbsdelf* target (big-endian ARM). 2002-05-20 14:24:22 +00:00
lukem
854c067af6 Update to <sys/bootblock.h>'s shared_bbinfo.
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 14:12:23 +00:00
lukem
f35d18a7da Update to <sys/bootblock.h>'s shared_bbinfo.
From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
2002-05-20 14:05:22 +00:00
yamt
f3b8388799 TIOCSLINEDD -> TIOCSLINED 2002-05-20 13:50:26 +00:00
lukem
e9a2250850 - add news{68k,mips} definitions, from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
- be consistent about #define<TAB>
2002-05-20 13:41:42 +00:00
lukem
4af2890237 use new installboot 2002-05-20 13:31:26 +00:00
itojun
a0da78395e correct sha2 interoperability. From: "JuanJo Ciarlante" <jjo@mendoza.gov.ar> 2002-05-20 13:12:45 +00:00
wiz
ccb70a5dbd Add /usr/share/man/{cat,man}4/sgimips. 2002-05-20 11:03:58 +00:00
jdolecek
ee7012d13e linux_sys_getdents64(): remove the oldcall bug workaround cruft,
it's not needed for this call, and update comment accordingly
2002-05-20 06:45:11 +00:00
jdolecek
c118cb14c0 linux_sys_getdents64(): make the d_off member point to next entry, rather
than current one; this is expected (even documented) behaviour of the
new system call
This fixes the endless loop when reading directories on NFS, though
applications won't see all directory entries due to different problem.
Fix by Matthias Scheler and Charles Hannum.
2002-05-20 06:40:37 +00:00
jdolecek
aae43707d7 whitespace fixes 2002-05-20 06:26:46 +00:00
jdolecek
def25b45fa Fix bug introduced in rev. 1.69 - linux_fakedev() returned always
zero for nontranslated raw devices.
This fixes recently discovered jdb /dev/dsp stdin problem, reported
on current-users by Mark Davies.
2002-05-20 06:22:43 +00:00