[H-GEN] RH modules

Christopher Biggs chris at stallion.oz.au
Tue May 19 23:33:46 EDT 1998


Paul Gearon <gearon at computer.org> moved upon the face of the 'Net and spake thusly:

> Hi all,
> Does anyone out there in RedHat Linux land know which module 
> char-major-4 is?  I'm running my sparc headless at the moment, and 
> every 5 minutes /var/log/messages is getting a whole series of 
> messages that look something like this:
> 

ls -l /dev | grep ^c | grep " 4,"

will tell you:

Console and serial ports.

> Now this indicates 2 problems to me.  The first is that modprobe is 
> trying to load char-major-4 and can't find it.  Then when it tries 
> printing this to the console it can't find the console and init emits 
> an error.

/dev/console *IS* char-major-4.  

Init is trying to write "Init version blahquux starting." to
/dev/console, but there's no such device.  It tries to load the
module, and there's no such module.  Urk!

(When you want to stop kerneld/kmod trying to load a module that you
don't have, put "alias char-major-mumble off" in /etc/conf.modules)

Is your console *working*?   You need *something* as console, even if
it's only a serial port with no device connected.

> Secondly, (and this one should be simple) how do I appropriately 
> redirect the console?  I've never had to do this before now.

try passing console=/dev/<someserialport> as a boot parameter.

Hmmm, I wonder if /dev/null works...?

cjb
--
|Christopher Biggs -- chris at stallion.oz.au - PGP mail preferred. MIME OK.|
|Stallion Technologies, Brisbane, Australia.    <http://www.stallion.com>|
|PGP Key ID: C94AA9E1  [37 84 06 6B C0 1C B9 Bd  D5 9D 0F 70 79 31 02 A5]|
\___Use key-server or email me "Subject: sendpgpkey" to get my PGP key___/

-----BEGIN GEEK CODE BLOCK	
Version: 3.1   
GCS>AT d? s:+ a-- C++(++++) UL++++ UC+++$ UA>--- P+@ L++>+++ E+++>++++++   
W+ N++ o K+++ w+>--- O M@ V-- PS(+++) PE@ Y+>++ PGP+++ t++() 5 X++ R tv-   
b+++>++++ DI+++ D G++ e++ h>--- r++>+++ y+ 
------END GEEK CODE BLOCK------



----------------------- HUMBUG General List --------------------------------
echo "unsubscribe general" | mail majordomo at humbug.org.au # To Unsubscribe



More information about the General mailing list