Sponsored Content
Full Discussion: Effect of Preemptive Kernel
Top Forums UNIX for Advanced & Expert Users Effect of Preemptive Kernel Post 101759 by sriram.ec on Monday 13th of March 2006 12:40:21 AM
Old 03-13-2006
Effect of Preemptive Kernel

hi there,

i am porting kernel 2.2 driver program to kernel 2.6. for some extent i am successfull but some times the system gets hanged. what might be the problem? i am not able to get any help from log messages as nothing is being printed at that moment. hey does this kernel preemptiveness and non preemptiveness make any difference?


Thanks for any help i receive................................
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

recursive effect!!

I run the following command in some of my folders... and ended up with a huge mess!! find . -type f -exec perl -e 's/blabla/zzzxxxx/gi' -p -i.bak {} \; I had to kill the process and later when I checked with one of my folders.. ls vaditerm.dt.bak vaditerm.dt.bak.bak... (2 Replies)
Discussion started by: sskb
2 Replies

2. UNIX for Dummies Questions & Answers

How do properties effect script?

Hi, I have noticed that rm -if will perform completely different to rm -fi. Whats the pattern of how I put my options to the script in relation to how it will act. i.e rm -fi treat the remove as interative but rm -if treats it as forced Thansk, Chris. (1 Reply)
Discussion started by: Chiefos
1 Replies

3. Solaris

will this script in crontab effect SUN 9??

Hi all, I work in Sun Solaris 9. I am plan to put the following script(remove90dysOldrfiles.sh) in CRONTAB for removing huge huge number of files those are older than 90 days from different directory. In the Crontab i will set the time for everymidnight it will search 90days older file and... (2 Replies)
Discussion started by: thepurple
2 Replies

4. Virtualization and Cloud Computing

The Network Effect - Part 1

2008-10-31T22:46:14+01:00 http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef010535ce543e970c-800wi Nicholas Carr (and here) has some problems with Tim O'Reilly's theory about the cloud and the network effect. http://feeds.feedburner.com/~f/GeekAndPoke?i=OFn0M... (0 Replies)
Discussion started by: Linux Bot
0 Replies

5. Shell Programming and Scripting

how to give dictionary effect ?

Hello, In google: if we type the text like :- It gives us a question saying :- I want to know how to write a shell script to give this Dictionary effect. example:If we give "lst" then it corrects us saying "list". Can you please help me with a sample code! friends..... (3 Replies)
Discussion started by: nsharath
3 Replies

6. UNIX for Dummies Questions & Answers

DST did not take effect on 3 Linux servers

RHEL AS 3 running on x86 hardware. That have been patched for DST but did not change a few weeks back when time changed over. Explanation of the issue from another party. The servers in questions maintain their TOY clock local time instead of UTC. As by defined functionality It prevents NTP... (1 Reply)
Discussion started by: Steelysteel
1 Replies

7. UNIX for Dummies Questions & Answers

What crontab is in effect after reboot

A basic cron question and I hope I explain it enough. If a person creates a file to use with cron and issues the followin command: crontab I understand this will set the cron entries to whatever is in . However, if we now edit the crontab with: crontab -e and save, how does cron... (3 Replies)
Discussion started by: niswonp
3 Replies

8. Shell Programming and Scripting

Alias has no effect in script

It doesn't have effect in script but it works on the terminal root@server:/opt/kvm/usecases/logs# alias echo='echo -e' root@server:/opt/kvm/usecases/logs# echo "xxxx\n" xxxx root@server:/opt/kvm/usecases/logs# cat xx.sh #!/bin/bash alias echo='echo -n' echo "sssf \n" ... (3 Replies)
Discussion started by: yanglei_fage
3 Replies

9. Shell Programming and Scripting

awk set $1 to itself, effect on $0

jotne posted an interesting thread an hour or two ago, and ended up with the following: awk '{$1=$1} /^+$/' file I had a question about the effect of $1=$1 assignment, and thought it better to start a new thread, because it's really a different topic. $ cat test.sh set -v echo " abcd" | awk... (3 Replies)
Discussion started by: hanson44
3 Replies
BOOTHOWTO(9)						   BSD Kernel Developer's Manual					      BOOTHOWTO(9)

NAME
boothowto, BOOT_FLAG -- flags passed to kernel during boot or shutdown SYNOPSIS
#include <sys/reboot.h> #include <sys/systm.h> extern int boothowto; #include <sys/boot_flag.h> #define BOOT_FLAG(arg, retval) ... DESCRIPTION
The boothowto variable contains flags passed to the kernel by the boot loader (see boot(8)), or the reboot(2) system call. The value is interpreted as a bit mask, with bits defined by the ``RB_*'' and ``AB_*'' symbols in <sys/reboot.h>. The value is made available via the sysctl(7) variable kern.boothowto. The BOOT_FLAG macro defined in <sys/boot_flag.h> is used by many boot loaders to convert command line options into boothowto flags. Note that not all boot loaders use this macro, and some boot loaders may have incompatible options. Where possible, flags set by the reboot(2) system call will be passed to the new kernel after a reboot; the extent to which this is possible is machine dependent. In the following tables, each flag is listed with its symbolic name, the corresponding numeric value defined in <sys/reboot.h>, and the option letter (if any) understood by the BOOT_FLAG macro. Flags that affect booting or shutting down The following flags affect actions taken during system boot or shutdown. RB_AUTOBOOT 0 The default if no other flags are set. Causes the system to boot in the normal way. RB_ASKNAME 0x00000001 -a This flag causes various parts of the system to prompt: o The boot loader may prompt for the name or location of the kernel to be booted. o The kernel will prompt for the root file system device. o The kernel will prompt for the root file system type. o The kernel will prompt for the location of the dump device. o The kernel will prompt for the path to the init(8) program. Some subsystems set this flag when they are unable to automatically make a decision. RB_SINGLE 0x00000002 -s Boot in single-user mode. If this flag is set, the kernel passes the -s option to init(8). RB_NOSYNC 0x00000004 If this flag is set, then some parts of the shutdown process will be less graceful than usual: o Disks will not be synced (see sync(2) and cpu_reboot(9)). o Devices will not be detached (see autoconf(9)). o File systems will not be unmounted (see cpu_reboot(9), and vfs_shutdown(9)). o The time of day clock will not be set (see resettodr(9)). RB_HALT 0x00000008 -b If this flag is set, then reboot(2) will cause the system to halt instead of rebooting. This flag may be set at boot time, and cannot be cleared by reboot(2). RB_INITNAME 0x00000010 This flag is obsolete. It was previously used to cause the kernel to prompt for the name of the init(8) program, but that function is now controlled by the RB_ASKNAME flag. RB_KDB 0x00000040 -d Gives control to a kernel debugger early in the boot sequence. See ddb(4), ``options KGDB'' in options(4), and ipkdb(9). RB_RDONLY 0x00000080 This flag is deprecated. It previously caused the kernel to mount the root file system in read-only mode, but now that is the default, and this flag has no effect. RB_DUMP 0x00000100 Causes the kernel to dump memory to the dump device during shutdown. See savecore(8), cpu_reboot(9), and dumpsys(9). RB_MINIROOT 0x00000200 -m This flag informs the kernel that a mini-root file system is present in memory. See md(4), and mdsetimage(8). RB_STRING 0x00000400 This flag indicates that a boot string is present. The string may be provided by reboot(2) and will be passed to the boot loader if possible. RB_POWERDOWN (RB_HALT|0x800) This flag is used in conjunction with RB_HALT. If this flag is set, then then system will be powered down if possible. If powerdown is not supported, then the system will halt. RB_USERCONF 0x00001000 -c This flag causes the kernel to invoke the userconf(4) device configuration manager early in the boot sequence. Flags that affect verbosity The following flags affect the verbosity of messages printed by the kernel. These flags are used by several functions described in kprintf(9) to control whether output is sent to the console, the system log, both, or neither. The use of flags that increase verbosity simultaneously with the use of flags that decrease verbosity, is not well defined. AB_NORMAL 0 The default, if none of the other AB_* flags is set, is that ordinary kernel messages are sent both to the console and to the system log. AB_QUIET 0x00010000 -q Boot quietly. Ordinary kernel messages are sent to the system log, but not to the console. Messages printed with aprint_naive(9) are sent to the console, but not to the system log. AB_VERBOSE 0x00020000 -v Boot verbosely. Some messages will be printed that would otherwise not be printed. Both ordinary kernel messages, and messages printed with aprint_verbose(9), will be sent both to the console and to the system log. If this flag is not set, then messages printed with aprint_verbose(9) will be sent only to the sys- tem log. AB_SILENT 0x00040000 -z Boot silently. Most kernel messages will be sent only to the system log, not to the console. The aprint_*() functions display a spinning symbol on the console. AB_DEBUG 0x00080000 -x Boot with debug messages. Machine-dependent flags The following flags have machine-dependent meanings. RB_MD1 0x10000000 -1 Some ports use this flag to disable multiprocessor mode, making them use only a single CPU. The zaurus port uses this flag to enable the serial console. RB_MD2 0x20000000 -2 The i386 and amd64 ports use this flag to disable acpi(4). RB_MD3 0x40000000 -3 This flag is currently not used by any ports. RB_MD4 0x80000000 -4 This flag is currently not used by any ports. SEE ALSO
reboot(2), ddb(4), userconf(4), sysctl(7), boot(8), crash(8), init(8), reboot(8), savecore(8), sync(8), cpu_reboot(9), kprintf(9) HISTORY
The boothowto variable appeared in 4.0BSD. The BOOT_FLAG macro appeared in NetBSD 1.6. The RB_DFLTROOT option is now obsolete. BSD
September 11, 2009 BSD
All times are GMT -4. The time now is 08:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy