[lkml]   [2003]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: Why kernel 2.5.58 only mounts / (not home etc)
On Sat, 18 Jan 2003 16:48:44 -0800 (GMT-08:00), Alessandro Suardi wrote:
>As I reported in the same thread as the breakage of modules in 2.5.59,
> module autoloading doesn't work for me since 2.5.58. Using Rusty's
> module-init-tools 0.9.8 or 0.9.9-pre. Same utils work flawlessly under
> 2.4.21-pre3.
>I can't run PPP, mount iso9660 CDs, run IrDA - anything modular needs
> manual modprobing in both 2.5.58 and 2.5.59 + Kai's fix.

Module autoloading works fine for me, including PPP and getting
all isofs/cdrom/ide-scsi/etc stuff loaded when mounting a CD.

Relevant .config:


Sample /etc/modprobe.conf:

# ethernet
alias eth0 tulip

# sound
alias sound-slot-0 emu10k1
alias char-major-14 emu10k1

# ide-scsi
alias scsi_hostadapter ide-scsi

install agpgart /sbin/modprobe --ignore-install agpgart && /sbin/modprobe intel-agp
remove agpgart /sbin/modprobe -r intel-agp ; /sbin/modprobe -r --ignore-remove agpgart

# /dev/rtc
install char-major-10-135 /bin/true

# parport
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7 dma=3

# ftape3
options ftape ft_fdc_base=0x360 ft_fdc_irq=6 ft_fdc_dma=2

alias block-major-11 sr_mod
alias char-major-6 lp
install char-major-10 /bin/true
alias char-major-10-182 perfctr
alias char-major-21 sg
alias char-major-27 zftape
alias char-major-108 ppp_generic
alias iso9660 isofs
install net-pf-4 /bin/true
install net-pf-5 /bin/true
alias net-pf-17 af_packet
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias tty-ldisc-3 ppp_async

If you're running a RedHat system, you'll also need the following
patch to /etc/rc.d/rc.sysinit. Without it the kernel's modprobe and
hotplug functionalities will be disabled by rc.sysinit.

--- /etc/rc.d/rc.sysinit.~1~ 2002-08-22 23:10:52.000000000 +0200
+++ /etc/rc.d/rc.sysinit 2003-01-14 03:04:57.000000000 +0100
@@ -334,7 +334,7 @@

-if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
+if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; then

(RedHat users should also comment out or remove the /sbin/update line in
/etc/inittab, but that's unrelated to the use of modules.)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.049 / U:1.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site