11-29-2013
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
SCO 5.0.5
Our system hiccuped last week during mkdev tape command.
Actually was at the point where it generated a kernel to reflect the new scsi tape I was trying to add and the system appeared to hang and we aborted the process.
starting fresh no tape devices defined.
run mkdev tape define... (0 Replies)
Discussion started by: sighbrrguy
0 Replies
2. SuSE
Hi All,
Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff.
Cheers,
Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies
3. UNIX for Dummies Questions & Answers
I am familiar with the AIX commands lsdev, mkdev, rmdev and so on. Have been asked to look at a very old Sequent Quad box running Dynix/ptx - believed to be version 2.4.1 ! These commands don't appear to be present. Can anyone please identify the equivalent Dynix commands? I've been handed the... (0 Replies)
Discussion started by: itboss
0 Replies
4. AIX
does AIX change the protocol used to transmit over the serial port binded to the system console, during the boot process?
I'm getting no message on the serial port binded to the console, once the control is passed to the kernel. On the LED I have a 0c46 message. (4 Replies)
Discussion started by: nilleb
4 Replies
5. Solaris
I am running Apache:
# httpd -version
Server version: Apache/1.3.26 (Unix)
Server built: Jul 15 2002 03:27:01
On a V280:
# uname -a
SunOS bsmweb01 5.8 Generic_108528-23 sun4u sparc SUNW,Sun-Fire-280R
#
I am assessing the server for additional applications. I ran vmstat 10 and a... (9 Replies)
Discussion started by: jabberwocky
9 Replies
6. Solaris
Hi gurus
Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value
Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies
7. AIX
Greetings,
Does anyone know how to load AIX kernel extensions on reboot? I know that Oracle loads it's postwait kernel extension via a executable in /etc/inittab. I'm assuming this executable calls the "sysconfig" system call and loads it. What if I wrote my own? What is the proper way in AIX to... (3 Replies)
Discussion started by: jbleistein
3 Replies
8. Linux
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
9. AIX
On a fresh bare metal (no LPARs) install of AIX 7.2 running cfgmgr is returning..
# cfgmgr
Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm2 ):
0514-040 Error initializing a device into the kernel.
Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm3 ):
... (1 Reply)
Discussion started by: c3rb3rus
1 Replies
LEARN ABOUT MINIX
getmajor
getmajor(9F) Kernel Functions for Drivers getmajor(9F)
NAME
getmajor - get major device number
SYNOPSIS
#include <sys/types.h>
#include <sys/mkdev.h>
#include <sys/ddi.h>
major_t getmajor(dev_t dev);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
dev Device number.
DESCRIPTION
getmajor() extracts the major number from a device number.
RETURN VALUES
The major number.
CONTEXT
getmajor() can be called from user or interrupt context.
EXAMPLES
Example 1: Using getmajor()
The following example shows both the getmajor() and getminor(9F) functions used in a debug cmn_err(9F) statement to return the major and
minor numbers for the device supported by the driver.
dev_t dev;
#ifdef DEBUG
cmn_err(CE_NOTE,"Driver Started. Major# = %d,
Minor# = %d", getmajor(dev), getminor(dev));
#endif
SEE ALSO
cmn_err(9F), getminor(9F), makedevice(9F)
Writing Device Drivers
WARNINGS
No validity checking is performed. If dev is invalid, an invalid number is returned.
SunOS 5.10 11 Apr 1991 getmajor(9F)