Terry Eck <[EMAIL PROTECTED]> wrote:

> I've installed RH 6.1 using stock kernel and modules.
> I'm getting a warning in /var/log/messages stating:
> modprobe: can't locate module char-major-108
> tail end of /var/log/messages:
> ....
> Nov 20 16:54:26 localhost modprobe: can't locate module char-major-108
> Nov 20 16:54:26 localhost pppd[12420]: pppd 2.3.10 started by root, uid 0
> Nov 20 16:54:26 localhost pppd[12420]: Using interface ppp0
>   [SNIP]
> Nov 20 17:01:54 localhost pppd[12420]: Sent 51622 bytes, received 351687 bytes.
> Nov 20 17:01:54 localhost pppd[12420]: Exit.
>
> I think it is associated with loading ppp module(s) but I
> don't know if it is a problem. Can anyone help?

Okay, as I said before, I've had similar problems, and now
I'm convinced that the solution really is to add the correct
"alias" lines to /etc/conf.modules. 

I definitely needed this line to get my parallel port
printer to work:

   alias parport_lowlevel parport_pc

And these lines to get ppp to work:

   alias tty-ldisc-3 ppp_deflate 
   alias char-major-108 ppp 

The procedure seems to be, when linux complains it can't
find a module, you have to alias that module to some *.o 
file that actually exists in the /lib/modules/2.2.12-20
tree.  Figuring out which module you should be using is the
trick.  If you can't find any documentation to tell you what
to use, you can sometimes get it by making some educated
guesses based on the module names. 

I'm not certain, but it does seem that you need to reboot in
order to get changes to the /etc/conf.modules file to take
(I haven't had any luck with just doing modprobes or whatever).

And it isn't at all clear to me why RedHat hasn't been able
to hack some way of doing this automagically (we're up to a
*.1 release now... I'd expect a *.0 to be a little rough,
but by now I'd really like to have a few less stupid setup
problems like this.)

Particulars of my system: I'm running RedHat 6.1, upgraded
from RedHat 5.2, on an Intel architecture machine.  I've
also installed the revised RPM for lpr.  It's out on the
redhat site under security errata.  (And buried in the notes

about it is a hint about the change you need to make to
conf.modules.  Nice of them to say something about it,
eh?). 

And here's the current state of my /etc/conf.modules file:

alias parport_lowlevel parport_pc
options parport_pc io=0x378,0x278 irq=7,auto
alias sound sb 
options opl3 io=0x388 
alias midi awe_wave 
post-install awe_wave /usr/bin/sfxload
/etc/midi/GU11-ROM.SF2 
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x300 
alias eth0 tulip 
alias scsi_hostadapter initio 
alias tty-ldisc-3 ppp_deflate 
alias char-major-108 ppp 

(Note: my sound card still isn't working on my system, so I
wouldn't assume that "alias sound sb" is the correct line to
use.)


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to