LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   modprobe: Can't locate module char-major-4 (https://www.linuxquestions.org/questions/slackware-14/modprobe-cant-locate-module-char-major-4-a-140555/)

Bruce Hill 01-30-2004 08:15 PM

modprobe: Can't locate module char-major-4
 
I don't really even know how to ask this question, but I looked in /var/log/syslog just because it takes my Slack system about
one minute to boot, and that seems very slow for my hardware. When I ran Debian it booted in about 20 seconds. I noticed this
line and can't determine why it's doing this. I've Googled and searched LQ and read lots, but nothing seems to apply.

Code:

Jan 31 07:37:18 paul modprobe: modprobe: Can't locate module char-major-4
Jan 31 07:37:18 paul last message repeated 31 times

This is all that's in modules config file
Code:

mingdao@paul:Sat Jan 31 09:19:00~$ cat /etc/modules.conf
alias char-major-195 nvidia

Can someone even point me in the right direction to get somewhere with this?

DrOzz 01-30-2004 08:33 PM

i think thats something to do with a generic serial port, and if its not in your modules.conf, did you try looking in /etc/rc.d/rc.modules ?

or i think by adding :
char-major-4 off
to your modules.conf file should stop it also ..

DaHammer 01-30-2004 08:40 PM

Don't recall what that is, but you can turn it off by adding this to your modules.conf

alias char-major-4 off

LinFreak! 01-30-2004 09:33 PM

another place to disable it from is /etc/hotplug/blacklist - just add it to the list.

edit: ignore this, it stops modules loading.

Bruce Hill 01-30-2004 10:45 PM

Quote:

Originally posted by DrOzz
i think thats something to do with a generic serial port, and if its not in your modules.conf, did you try looking
in /etc/rc.d/rc.modules ?

No serial port built-in or modules - nothing in /etc/rc.d/rc.modules.
Quote:

or i think by adding :
char-major-4 off
to your modules.conf file should stop it also ..

When I added it without the word alias...
Code:

mingdao@paul:Sat Jan 31 11:29:02~$ cat /etc/modules.conf
alias char-major-195 nvidia
char-major-4 off
mingdao@paul:Sat Jan 31 11:29:15~$

Code:

mingdao@paul:Sat Jan 31 11:21:39~$ startx


XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.22 i686 [ELF]
Build Date: 16 September 2003
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sat Jan 31 11:21:40 2004
(==) Using config file: "/etc/X11/XF86Config"
NV: could not open control device /dev/nvidiactl (No such device)
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.

X wouldn't start. You need to have the word alias in the line ->
alias char-major-4 off
which did stop that message.

It still boots just as slow. When booting, it gets to this point in 15 seconds
Code:

PCI: Sharing IRQ 11 with 00:1d.7
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is on for TX and on for RX.

and spends about 16 seconds there bringing up the NIC. Then
it finishes the rest in another 15 seconds, still taking 53 secs. to boot.


All times are GMT -5. The time now is 12:55 AM.