]> Zhao Yanbai Git Server - minix.git/log
minix.git
12 years agoVFS: remove erroneous assert
Thomas Veerman [Mon, 20 Feb 2012 09:10:58 +0000 (09:10 +0000)]
VFS: remove erroneous assert

The assert was meant as an additional check to the assert in link.c:198.
The reasoning behind the assert in link.c:198 is that once you've
obtained a write lock on a vmnt, you can't get an additional read lock
on the same vmnt. However, that does not always hold for the assert in
path.c:281 where the situation could be that you've obtained a read lock
and managed to get another read lock (this is possible). In other words,
the assert in path.c:281 is not the right place to check for that
situation.

12 years agopkgin_cd clarification in motd
Ben Gras [Fri, 17 Feb 2012 23:39:08 +0000 (00:39 +0100)]
pkgin_cd clarification in motd

12 years agobetter cpp
Ben Gras [Fri, 17 Feb 2012 22:53:25 +0000 (23:53 +0100)]
better cpp

12 years agox11 on cd needs perl, drop groff for space
Ben Gras [Fri, 17 Feb 2012 15:55:46 +0000 (15:55 +0000)]
x11 on cd needs perl, drop groff for space

12 years agoVFS: various select fixes
Thomas Veerman [Fri, 17 Feb 2012 13:36:57 +0000 (13:36 +0000)]
VFS: various select fixes

- Fix locking bug when unable to send DEV_SELECT request. Upon failure
  VFS tried to cancel the select operation, but this failed due to trying
  to lock a filp that was already locked to send the request in the first
  place. Do_select_request now handles locking of filps itself instead of
  relying on the caller to do it.  This fixes a crash when killing INET.
- Fix failure to revive a process after a non-blocking select operation
  yielded no ready select operations when replying DEV_SEL_REPL1.
- Improve readability by using OK, SUSPEND, and standard error values as
  results instead of having separate macros in select.
- Don't print not having a driver for a major device; after killing a driver
  select will trigger this printf.

12 years agotest set: remove GCC specificity
Thomas Veerman [Fri, 17 Feb 2012 16:12:44 +0000 (16:12 +0000)]
test set: remove GCC specificity

12 years agoservers: fix clang warnings in iso9660fs and vm
Arun Thomas [Fri, 17 Feb 2012 14:35:27 +0000 (15:35 +0100)]
servers: fix clang warnings in iso9660fs and vm

12 years ago/usr/lib/cpp script to invoke clang -E
Ben Gras [Fri, 17 Feb 2012 14:43:50 +0000 (14:43 +0000)]
/usr/lib/cpp script to invoke clang -E

. mainly to keep X working

12 years agokernel/utility.c: fix implicit decl warnings
Arun Thomas [Fri, 17 Feb 2012 14:24:24 +0000 (15:24 +0100)]
kernel/utility.c: fix implicit decl warnings

12 years agoFixes to allow versionless packages on cd
Ben Gras [Fri, 17 Feb 2012 14:26:46 +0000 (14:26 +0000)]
Fixes to allow versionless packages on cd

12 years agoUse objcopy to build ramdisk object
Antoine Leca [Tue, 17 Jan 2012 15:04:58 +0000 (16:04 +0100)]
Use objcopy to build ramdisk object

. during build, uses much less memory,
  disk space, and time
. lets us throw out bintoc

12 years agogzip boot modules.
Ben Gras [Thu, 16 Feb 2012 23:06:42 +0000 (23:06 +0000)]
gzip boot modules.

. import gzip

12 years agoRemove obsolete INSTALLFLAGS from makefiles
Arun Thomas [Thu, 16 Feb 2012 22:26:38 +0000 (23:26 +0100)]
Remove obsolete INSTALLFLAGS from makefiles

12 years agomkboot: ensure image target dir is cleaned up
Arun Thomas [Thu, 16 Feb 2012 22:08:22 +0000 (23:08 +0100)]
mkboot: ensure image target dir is cleaned up

12 years agoStrip only the image binaries
Arun Thomas [Thu, 16 Feb 2012 18:14:33 +0000 (19:14 +0100)]
Strip only the image binaries

12 years agofix shell tests - no cc or aal
Ben Gras [Thu, 16 Feb 2012 12:10:39 +0000 (12:10 +0000)]
fix shell tests - no cc or aal

12 years agoinstall library manpages
Ben Gras [Thu, 16 Feb 2012 01:48:46 +0000 (01:48 +0000)]
install library manpages

. harmonize bsd.lib.mk and bsd.man.mk with netbsd files
. throw out minix section 3 (library calls) manpages,
  replaced by netbsd ones that are now installed

12 years agono symlink for dropped manpage
Ben Gras [Thu, 16 Feb 2012 00:52:19 +0000 (00:52 +0000)]
no symlink for dropped manpage

12 years agoMore cleaning up
Antoine Leca [Tue, 14 Feb 2012 18:58:27 +0000 (19:58 +0100)]
More cleaning up

12 years agolibblockdriver: attribute usage bugfix
David van Moolenbroek [Wed, 15 Feb 2012 13:22:45 +0000 (14:22 +0100)]
libblockdriver: attribute usage bugfix

12 years agoupdateboot script for netbsd bootloader
Evgeniy Ivanov [Wed, 15 Feb 2012 02:51:27 +0000 (03:51 +0100)]
updateboot script for netbsd bootloader

12 years agore-enable update-superblock check
Ben Gras [Wed, 15 Feb 2012 02:46:01 +0000 (03:46 +0100)]
re-enable update-superblock check

This reverts commit cdbc4bfb13b9446a00da95efa1e13ebaa4f35741.

12 years agosimplify chrootmake.sh
Ben Gras [Wed, 15 Feb 2012 00:19:12 +0000 (01:19 +0100)]
simplify chrootmake.sh

. just use make world

12 years agoRemove elle(1) editor, due to an incompatible license
David van Moolenbroek [Tue, 14 Feb 2012 14:47:02 +0000 (15:47 +0100)]
Remove elle(1) editor, due to an incompatible license

12 years agoDon't update mtab upon mounting procfs
Thomas Veerman [Tue, 14 Feb 2012 15:44:21 +0000 (15:44 +0000)]
Don't update mtab upon mounting procfs

It causes an ugly error message when booting from cd and it gets
overwritten by `printroot >/etc/mtab` in /etc/rc anyway.

12 years agoAdded UPDATING note about newer clang required.
Ben Gras [Tue, 14 Feb 2012 15:42:33 +0000 (16:42 +0100)]
Added UPDATING note about newer clang required.

12 years agouser(8): remove output file from source
David van Moolenbroek [Tue, 14 Feb 2012 14:47:51 +0000 (15:47 +0100)]
user(8): remove output file from source

12 years agoMake ELF kernel boot faster
Antoine Leca [Sat, 11 Feb 2012 23:19:00 +0000 (00:19 +0100)]
Make ELF kernel boot faster

12 years agoupdate_bootcfg script
Evgeniy Ivanov [Mon, 13 Feb 2012 08:08:25 +0000 (12:08 +0400)]
update_bootcfg script

. script to make neat menu entries for all /boot/minix/* dirs
  in /boot.cfg, read by new bootloader
. invoked when new images are created

12 years agoFull switch to clang/ELF. Drop ack. Simplify.
Ben Gras [Sat, 11 Feb 2012 18:31:25 +0000 (19:31 +0100)]
Full switch to clang/ELF. Drop ack. Simplify.

There is important information about booting non-ack images in
docs/UPDATING. ack/aout-format images can't be built any more, and
booting clang/ELF-format ones is a little different. Updating to the
new boot monitor is recommended.

Changes in this commit:

. drop boot monitor -> allowing dropping ack support
. facility to copy ELF boot files to /boot so that old boot monitor
  can still boot fairly easily, see UPDATING
. no more ack-format libraries -> single-case libraries
. some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases
. drop several ack toolchain commands, but not all support
  commands (e.g. aal is gone but acksize is not yet).
. a few libc files moved to netbsd libc dir
. new /bin/date as minix date used code in libc/
. test compile fix
. harmonize includes
. /usr/lib is no longer special: without ack, /usr/lib plays no
  kind of special bootstrapping role any more and bootstrapping
  is done exclusively through packages, so releases depend even
  less on the state of the machine making them now.
. rename nbsd_lib* to lib*
. reduce mtree

12 years agomake panic() work for multiboot/elf case
Evgeniy Ivanov [Sun, 12 Feb 2012 15:11:47 +0000 (19:11 +0400)]
make panic() work for multiboot/elf case

. we cannot use the boot monitor to print the system diag buffer
. for serial, we do nothing, just reset, everything is already printed
. for not-serial, we print the current diag buffer using direct video
  memory access from the kernel

12 years agoclang compile fixes
Ben Gras [Sat, 11 Feb 2012 17:46:09 +0000 (18:46 +0100)]
clang compile fixes

12 years agorelease: fix for rm -rf
Ben Gras [Sat, 11 Feb 2012 14:48:12 +0000 (15:48 +0100)]
release: fix for rm -rf

. new rm can return failure exit code

12 years agoELF hardlinks in /boot for compatibility with old boot.
Evgeniy Ivanov [Tue, 14 Feb 2012 08:10:15 +0000 (12:10 +0400)]
ELF hardlinks in /boot for compatibility with old boot.

12 years agoVFS: replace VFS with AVFS
Thomas Veerman [Mon, 13 Feb 2012 15:28:04 +0000 (15:28 +0000)]
VFS: replace VFS with AVFS

12 years agolibmthread: fix typo in comments
Thomas Veerman [Mon, 13 Feb 2012 13:42:28 +0000 (13:42 +0000)]
libmthread: fix typo in comments

12 years agolibmthread: add guard pages to stacks
Thomas Veerman [Mon, 13 Feb 2012 12:02:12 +0000 (12:02 +0000)]
libmthread: add guard pages to stacks

Add guard pages to the top of the stack to catch overflow errors.
Moreover, fix a bug where libmthread would keep using a stack that was
just deallocated; a detached thread would deallocate its own stack after
it was finished running).

12 years agolibmthread: don't free() user allocated stack space
Thomas Veerman [Fri, 10 Feb 2012 09:16:00 +0000 (09:16 +0000)]
libmthread: don't free() user allocated stack space

12 years agolibblockdriver: increase stack size to 8KB per thread
David van Moolenbroek [Thu, 9 Feb 2012 21:28:18 +0000 (22:28 +0100)]
libblockdriver: increase stack size to 8KB per thread

12 years agosilence makewhatis in daily script
Ben Gras [Fri, 10 Feb 2012 16:24:54 +0000 (17:24 +0100)]
silence makewhatis in daily script

12 years agosys: move some include dirs
Antoine Leca [Fri, 10 Feb 2012 16:02:47 +0000 (17:02 +0100)]
sys: move some include dirs

. sys/machine should be sys/arch/i386

12 years ago.gitignore: add another generated directory
Antoine Leca [Fri, 10 Feb 2012 16:01:42 +0000 (17:01 +0100)]
.gitignore: add another generated directory

12 years agoAVFS: reinitialize lookup object before reuse
Thomas Veerman [Fri, 10 Feb 2012 09:35:19 +0000 (09:35 +0000)]
AVFS: reinitialize lookup object before reuse

12 years agoAlso clean share/*, including zoneinfo
Antoine Leca [Thu, 9 Feb 2012 23:46:55 +0000 (00:46 +0100)]
Also clean share/*, including zoneinfo

12 years agoFix shutdown message in setup.sh
Evgeniy Ivanov [Tue, 7 Feb 2012 18:55:18 +0000 (22:55 +0400)]
Fix shutdown message in setup.sh

12 years agoProper banner for CD.
Evgeniy Ivanov [Tue, 7 Feb 2012 18:54:08 +0000 (22:54 +0400)]
Proper banner for CD.

12 years agoWarn users about non NetBSD mbr.
Evgeniy Ivanov [Tue, 7 Feb 2012 18:52:36 +0000 (22:52 +0400)]
Warn users about non NetBSD mbr.

New boot doesn't work with old mbr, when there are multiple MINIX
partitions. Warn user about it and suggest to install new mbr.

12 years agoSupport reinstall and new boot.
Evgeniy Ivanov [Tue, 7 Feb 2012 15:14:27 +0000 (19:14 +0400)]
Support reinstall and new boot.

12 years agoBuild both old boot and new boot (for setup).
Evgeniy Ivanov [Mon, 6 Feb 2012 13:56:49 +0000 (17:56 +0400)]
Build both old boot and new boot (for setup).

12 years agoBuild release CD based on new boot.
Evgeniy Ivanov [Thu, 2 Feb 2012 11:02:34 +0000 (15:02 +0400)]
Build release CD based on new boot.

Also add stuff for usb stick and hdemu.

12 years agowriteisofs: also boots plain binaries with -B
Antoine Leca [Tue, 17 Jan 2012 15:08:40 +0000 (16:08 +0100)]
writeisofs: also boots plain binaries with -B

With -n -b file, a.out boot images can be used for CD booting;
with the new -n -B file option, plain binary (like bootxx_cd9660)
can be used instead.
Restore working the -h and -f options while there.
And add a new -F option for 2.8MB floppy image.

12 years agowriteisofs: improve compatibility
Antoine Leca [Fri, 3 Feb 2012 10:24:48 +0000 (11:24 +0100)]
writeisofs: improve compatibility

Register file timestamps
Remember the path tables in the primary descriptor
Put the size of the parent directory in the \1 entry, not own size
Allow the use of -b option without -a

Notes:
* Still missing the man page
* Filenames are still trimmed to 12 characters, because of
  8.3 MS-DOS inherited compatibility (ISO9660 level 1);
  also note that 7.4 or 9.2 filenames are accepted though
* Final . at end of filenames without extension is still missing
* VMS-compatible ;1 version suffix is still omitted
* Limit of 65,535 directories in path tables is not checked

12 years agoAdd new boot to the setup.
Evgeniy Ivanov [Mon, 30 Jan 2012 13:21:41 +0000 (17:21 +0400)]
Add new boot to the setup.

12 years agoBuild ELF for release (chrootmake).
Evgeniy Ivanov [Mon, 30 Jan 2012 13:40:16 +0000 (17:40 +0400)]
Build ELF for release (chrootmake).

12 years agoSwitch part/autopart to new mbr bootblock
Antoine Leca [Thu, 12 Jan 2012 17:14:44 +0000 (18:14 +0100)]
Switch part/autopart to new mbr bootblock

12 years agoFixes for loading kernel with multiboot
Ben Gras [Thu, 9 Feb 2012 17:49:24 +0000 (18:49 +0100)]
Fixes for loading kernel with multiboot

While parsing command line, only consider "variable=value" to
be part of environment.

Patch by Antoine Leca.

12 years agoAllow human readable name for the root device.
Evgeniy Ivanov [Tue, 31 Jan 2012 11:48:14 +0000 (15:48 +0400)]
Allow human readable name for the root device.

Instead of using rootdev= or ramimagedev= in the boot monitor
which are changed to numbers and cannot be used with other
loaders, rootdevname= or ramimagename= are (MINIX-style)
device names always stored as strings.

Patch by Antoine Leca.

12 years agoRotate kernels/images/modules.
Evgeniy Ivanov [Mon, 30 Jan 2012 12:27:23 +0000 (16:27 +0400)]
Rotate kernels/images/modules.

Kernels and system services are stored in a single directory in the
/boot/minix/ and rotated like /boot/images. /boot/minix_latest slink
is created automatically.
System serives are prefixed by "modNN_" to allow to easily load them
using "mod*" pattern.

12 years agoIntegrate new boot stuff into build scheme.
Evgeniy Ivanov [Wed, 25 Jan 2012 19:32:10 +0000 (23:32 +0400)]
Integrate new boot stuff into build scheme.

- Build sys with everything else.
- Gitignore files built by new boot stuff.

12 years agoRemove libkern, leave just header.
Evgeniy Ivanov [Wed, 25 Jan 2012 12:29:07 +0000 (16:29 +0400)]
Remove libkern, leave just header.

Boot stuff dependencies from NetBSD.

Patch by Antoine Leca. Relocated to src/sys.

The port is using the same libminc.a as usual MINIX services (and does
not use NetBSD libkern); the headers imported from NetBSD sys/ tree
have been kept to a minimum (still numbers higher than 30 though.)

Note the peculiar way to use libraries (libsa, libi386, etc.): the
source code is shared, but each component builds its own copy of the
library, with its own set of preprocessor defines.

12 years agoPort cdboot.
Evgeniy Ivanov [Sat, 14 Jan 2012 18:43:40 +0000 (22:43 +0400)]
Port cdboot.

12 years agoImport cdboot.
Evgeniy Ivanov [Sat, 14 Jan 2012 18:33:29 +0000 (22:33 +0400)]
Import cdboot.

12 years agoPort MBR.
Evgeniy Ivanov [Tue, 10 Jan 2012 16:43:33 +0000 (20:43 +0400)]
Port MBR.

Patch by Antoine LECA.

12 years agoImport sys/arch/i386/stand/mbr.
Evgeniy Ivanov [Tue, 10 Jan 2012 10:01:31 +0000 (14:01 +0400)]
Import sys/arch/i386/stand/mbr.

12 years agoPort installboot as installboot_nbsd and rename the old one.
Evgeniy Ivanov [Tue, 10 Jan 2012 09:45:46 +0000 (13:45 +0400)]
Port installboot as installboot_nbsd and rename the old one.

Also following functionality was added:
- Add install_master to the installboot from NetBSD.
- Check if enough space for bootxx.

Old installboot was renamed to installboot_minix.

12 years agoImport usr.sbin/installboot.
Evgeniy Ivanov [Tue, 10 Jan 2012 08:46:52 +0000 (12:46 +0400)]
Import usr.sbin/installboot.

12 years agoPort bootxx.
Evgeniy Ivanov [Mon, 9 Jan 2012 14:11:34 +0000 (18:11 +0400)]
Port bootxx.

12 years agoAdjust boot from NetBSD.
Evgeniy Ivanov [Sat, 4 Feb 2012 10:21:30 +0000 (14:21 +0400)]
Adjust boot from NetBSD.

- Add load_mods command to boot2 (load_mods /dir/mod*).
- Rename resulting binary to boot_monitor.
- Change default banner when used in MINIX.

12 years agoFix bug in libsa/ls.
Evgeniy Ivanov [Sat, 4 Feb 2012 17:26:58 +0000 (21:26 +0400)]
Fix bug in libsa/ls.

12 years agoInitial import of libsa, libkern, bootxx, boot.
Evgeniy Ivanov [Mon, 9 Jan 2012 14:07:58 +0000 (18:07 +0400)]
Initial import of libsa, libkern, bootxx, boot.

12 years agoAVFS/APFS: small cleanup
Thomas Veerman [Thu, 9 Feb 2012 16:33:24 +0000 (16:33 +0000)]
AVFS/APFS: small cleanup

12 years agoAVFS: fix various system call interruption issues
Thomas Veerman [Thu, 9 Feb 2012 14:24:28 +0000 (14:24 +0000)]
AVFS: fix various system call interruption issues

 - When cancelling ioctls, VFS did not remember which file descriptor
   to cancel and sent bogus to the driver.
 - Select state was not cleaned up when select()ing process was
   interrupted.
 - Process trying to do a system call at the exact same time as a user
   trying to interrupt the process, could cause the system call worker
   thread to overwrite state belonging to the worker thread trying to
   exit the process. This led to hanging threads and eventual system hang
   when this happens often enough.

12 years agolibchardriver: fix open reply for async devices
Thomas Veerman [Thu, 9 Feb 2012 10:32:08 +0000 (10:32 +0000)]
libchardriver: fix open reply for async devices

12 years ago-lminixutil link fixes
Ben Gras [Fri, 3 Feb 2012 13:03:59 +0000 (14:03 +0100)]
-lminixutil link fixes

. not available and not needed for clang

12 years agoEnlarge ramdisk size (blocks).
Evgeniy Ivanov [Fri, 23 Dec 2011 10:56:15 +0000 (14:56 +0400)]
Enlarge ramdisk size (blocks).

12 years agoNBSD INCLUDES - fixed missing vm_remap_ro() proto
Tomas Hruby [Thu, 2 Feb 2012 23:55:38 +0000 (23:55 +0000)]
NBSD INCLUDES - fixed missing vm_remap_ro() proto

12 years agoinet: strncmp() fix
Ben Gras [Fri, 3 Feb 2012 13:49:18 +0000 (14:49 +0100)]
inet: strncmp() fix

12 years agotemporarily disable update-superblock check
Ben Gras [Tue, 31 Jan 2012 15:17:06 +0000 (16:17 +0100)]
temporarily disable update-superblock check

. incompatible with installboot -d FSDEV on mounted filesystems
. should be re-enabled when netbsd boot loader is default

12 years agoAPFS: fix link issue when compiling with Clang
Thomas Veerman [Thu, 2 Feb 2012 15:00:01 +0000 (15:00 +0000)]
APFS: fix link issue when compiling with Clang

12 years agoINET: fix 'improved' assert
Thomas Veerman [Thu, 2 Feb 2012 11:53:52 +0000 (11:53 +0000)]
INET: fix 'improved' assert

12 years agoRemove unused variables
Thomas Veerman [Thu, 2 Feb 2012 10:47:06 +0000 (10:47 +0000)]
Remove unused variables

12 years agoINET: fix a few GCC compilation warnings
Thomas Veerman [Tue, 31 Jan 2012 15:43:00 +0000 (15:43 +0000)]
INET: fix a few GCC compilation warnings

12 years agolibpuffs: make GCC happy
Thomas Veerman [Wed, 1 Feb 2012 11:44:26 +0000 (11:44 +0000)]
libpuffs: make GCC happy

12 years agoAVFS: only put mount point when it was used as one
Thomas Veerman [Wed, 1 Feb 2012 11:34:40 +0000 (11:34 +0000)]
AVFS: only put mount point when it was used as one

When a mount operation fails and the FS exits, free_proc could try and
clean up resources associated with the mount point before the mount
thread itself can do that. However, the clean up procedure should only
clean up resources that were actually in use.

12 years agoservice: allow starting service with user's realuid
Thomas Veerman [Wed, 1 Feb 2012 13:21:56 +0000 (13:21 +0000)]
service: allow starting service with user's realuid

12 years agoe1000: reset hardware before stopping
Thomas Veerman [Mon, 30 Jan 2012 14:32:31 +0000 (14:32 +0000)]
e1000: reset hardware before stopping

12 years agoINET: remove erroneous assert
Thomas Veerman [Mon, 30 Jan 2012 15:14:19 +0000 (15:14 +0000)]
INET: remove erroneous assert

The queue may contain established connections which have
tc_connInprogress clear.

12 years agoDon't panic on a misconfigured machine
Thomas Veerman [Mon, 30 Jan 2012 15:12:12 +0000 (15:12 +0000)]
Don't panic on a misconfigured machine

12 years agoAdd permission test for bind and socket
Thomas Veerman [Fri, 27 Jan 2012 16:06:43 +0000 (16:06 +0000)]
Add permission test for bind and socket

Also, apply forbidden patch to VFS from AVFS (fixes hanging test56 if
it has the permission test).

12 years agoINET: drop privileges upon startup
Thomas Veerman [Fri, 27 Jan 2012 14:21:10 +0000 (14:21 +0000)]
INET: drop privileges upon startup

12 years agoAPFS: drop privileges upon startup
Thomas Veerman [Fri, 27 Jan 2012 14:18:41 +0000 (14:18 +0000)]
APFS: drop privileges upon startup

Move SERVICE_LOGIN to rs.h global header so it's accessible for all.

12 years agoAVFS: make forbidden check for specific proc instead of fp
Thomas Veerman [Fri, 27 Jan 2012 13:54:35 +0000 (13:54 +0000)]
AVFS: make forbidden check for specific proc instead of fp

12 years agoAVFS: initialize root FS before receiving new work
Thomas Veerman [Fri, 27 Jan 2012 13:38:40 +0000 (13:38 +0000)]
AVFS: initialize root FS before receiving new work

12 years agoPM: extend srv_fork to set a specific UID
Thomas Veerman [Fri, 27 Jan 2012 11:50:11 +0000 (11:50 +0000)]
PM: extend srv_fork to set a specific UID

Currently, all servers and drivers run as root as they are forks of
RS. srv_fork now tells PM with which credentials to run the resulting
fork. Subsequently, PM lets VFS now as well.

This patch also fixes the following bugs:
 - RS doesn't initialize the setugid variable during exec, causing the
   servers and drivers to run setuid rendering the srv_fork extension
   useless.
 - PM erroneously tells VFS to run processes setuid. This doesn't
   actually lead to setuid processes as VFS sets {r,e}uid and {r,e}gid
   properly before checking PM's approval.

12 years agoPrevent the ramdisk makefile from failing if the last image is not ELF
Erik van der Kouwe [Fri, 27 Jan 2012 12:09:26 +0000 (13:09 +0100)]
Prevent the ramdisk makefile from failing if the last image is not ELF

12 years agoSMP - clock calibration spurious IRQ deadlock fix
Tomas Hruby [Thu, 26 Jan 2012 11:39:40 +0000 (11:39 +0000)]
SMP - clock calibration spurious IRQ deadlock fix

 - this patch fixes a deadlock which may occur if we get a
   spurious interrupt while calibrating clocks during the boot
   time. Since we never handle interrupts while in the kernel
   (BKL locked) the interrupt code locks the lock. This is a
   different situation, a corner case, boot time only. We do not
   return to userspace but to the kernel, so the BKL is not
   unlocked. So we need irq handler which leaves the BKL
   unlocked.  The clock handler does it already, this patch adds
   a dummy spurious irq handler for the same reason. It is better
   to handle the situation this way to keep the normal runtime
   code simple.

12 years agoSMP - no_apic=0 and acpi=1 set when CONFIG_SMP=y
Tomas Hruby [Wed, 25 Jan 2012 19:02:13 +0000 (19:02 +0000)]
SMP - no_apic=0 and acpi=1 set when CONFIG_SMP=y

- this is a temporary change which makes images compiled for SMP
  boot in SMP mode by default.

- this change is needed until we can configure the multiboot
  images from the boot loader again.

12 years agoRevert 93b9873a562b11dfedf5f4e53ef87bf256d80207
Tomas Hruby [Wed, 25 Jan 2012 18:59:18 +0000 (18:59 +0000)]
Revert 93b9873a562b11dfedf5f4e53ef87bf256d80207

- non need to have free PDEs per CPU since we only run one
  instance of the kernel at any time

12 years agomtree: zoneinfo dirs
Ben Gras [Fri, 20 Jan 2012 18:13:20 +0000 (19:13 +0100)]
mtree: zoneinfo dirs

12 years agoDon't overwrite old mv, ln, cp, etc man pages with new rm
Antoine Leca [Thu, 19 Jan 2012 10:12:55 +0000 (10:12 +0000)]
Don't overwrite old mv, ln, cp, etc man pages with new rm