bna-linuxiran
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linuxiran] Load Kernel Modules Automatically


From: ocean
Subject: [linuxiran] Load Kernel Modules Automatically
Date: Sun, 11 Jan 2004 03:14:34 -0800 (PST)

Hi
I've been patching my kernel with acpi support for
laptop and have succeeded except in one thing: Loading
ACPI related modules automatically at startup(ac.o
button.o fan.o battery.o processor.o) though I can
probe them using /sbin/modprobe ac...
Kernel version 2.4.20-8acpi
I googled around but in vain. Confed modules.conf
adding probeall and aliases but in vain.(the system
hung at starting atd:.
Someone pointed out something about adding a few lines
an rc.d file but wasn't reliable so didn't try it!
Conf of rc.sysinit seems hard.
What conf or init files should I manipulate to get
them loaded at system's initiallization?
I have the so-called modules in 
/usr/src/linux-2.4.20-8/drivers/acpi/ac.o
/usr/src/linux-2.4.20-8/drivers/acpi/.ac.o.flags
..
/lib/modules/2.4.20-8acpi/kernel/drivers/acpi/ac.o
..
output of /sbin/lsmod after manual probe
:
ppp_deflate             4504   0 (autoclean)
zlib_deflate           21400   0 (autoclean)
[ppp_deflate]
ppp_async               9440   0 (autoclean)
ppp_generic            24444   0 (autoclean)
[ppp_deflate ppp_async]
slhc                    6756   0 (autoclean)
[ppp_generic]
hsfmc97ali             46308   0 (autoclean)
hsfserial              33064   0 (autoclean)
[hsfmc97ali]
hsfengine            1194048   0 (autoclean)
[hsfserial]
hsfosspec              53792   2 (autoclean)
[hsfmc97ali hsfserial hsfengine]
hsfsoar                51240   0 (autoclean)
[hsfmc97ali]
battery                 7936   0 (unused)
fan                     2816   0 (unused)
button                  3788   0 (unused)
ac                      3104   0 (unused)
thermal                 9856   0 (unused)
processor              12440   0 [thermal]
udf                    98400   0 (autoclean)
sr_mod                 18168   2 (autoclean)
trident                33652   2 (autoclean)
ac97_codec             13640   0 (autoclean) [trident]
pcigame                 2952   0 (autoclean) [trident]
gameport                3364   0 (autoclean) [pcigame]
soundcore               6404   2 (autoclean) [trident]
autofs                 13268   0 (autoclean) (unused)
natsemi                19552   1
ipt_REJECT              3928   6 (autoclean)
iptable_filter          2412   1 (autoclean)
ip_tables              15096   2 [ipt_REJECT
iptable_filter]
ide-scsi               12208   1
scsi_mod              107160   2 [sr_mod ide-scsi]
ide-cd                 35676   0
cdrom                  33728   0 [sr_mod ide-cd]
keybdev                 2976   0 (unused)
mousedev                5492   1
input                   5888   0 [keybdev mousedev]
hid                    11768   0 (unused)
usb-uhci               26316   0 (unused)
ehci-hcd               19976   0 (unused)
usbcore                78816   1 [hid usb-uhci
ehci-hcd]
ext3                   70784   4
jbd                    51892   4 [ext3]

output of /etc/modules.conf
:
alias eth0 natsemi
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias ieee1394-controller ohci1394
alias sound-slot-0 trident
post-install sound-slot-0 /bin/aumix-minimal -f
/etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f
/etc/.aumixrc -S >/dev/null 2>&1 || :
alias /dev/ttySHSF[0-9]* /dev/ttySHSF
alias /dev/modem /dev/ttySHSF
alias char-major-240 /dev/ttySHSF
alias /dev/cuaHSF[0-9]* /dev/ttySHSF
alias char-major-241 /dev/ttySHSF
options hsfserial serialmajor=240 calloutmajor=241
alias char-major-242 hsfosspec
alias /dev/hsfdiag hsfosspec
alias /dev/hsfdiag* /dev/hsfdiag
alias char-major-243 /dev/hsfdiag

options hsfosspec dcpmajor=242 diagmajor=243
probeall /dev/ttySHSF hsfpcibasic2 hsfmc97ich
hsfmc97via hsfmc97ali
probeall hsfserial hsfpcibasic2 hsfmc97ich hsfmc97via
hsfmc97ali

besides I have to run klaptopdeamon.
I have acpid run automatically.
/sbin/depmod spits out know errors.
There's another warning I get at boot :
i8253 count too high

output of dmesg|grep ACPI
BIOS-e820: 000000001bf70000 - 000000001bf7c000 (ACPI
data)
 BIOS-e820: 000000001bf7c000 - 000000001bf80000 (ACPI
NVS)
ACPI: have wakeup address 0xc0001000
ACPI: RSDP (v000 PTLTD                      ) @
0x000f6c80
ACPI: RSDT (v001 PTLTD    RSDT   01540.00000) @
0x1bf752a8
ACPI: FADT (v001 ATI    Salmon   01540.00000) @
0x1bf7bf64
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 01540.00000) @
0x1bf7bfd8
ACPI: DSDT (v001    ATI MS2_1535 01540.00000) @
0x00000000
ACPI: BIOS passes blacklist
ACPI: Subsystem revision 20021212
    ACPI-0263: *** Info: GPE Block0 defined as GPE0 to
GPE63
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S3 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table
[\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Link [LNK0] (IRQs 7 10, disabled)
ACPI: PCI Interrupt Link [LNK1] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK2] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK3] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK4] (IRQs 7 10, disabled)
ACPI: PCI Interrupt Link [LNK5] (IRQs 7 *11)
ACPI: PCI Interrupt Link [LNK6] (IRQs 7 10, disabled)
ACPI: PCI Interrupt Link [LNK7] (IRQs *5)
ACPI: PCI Interrupt Link [LNK8] (IRQs 7 10, disabled)
ACPI: Embedded Controller [EC0] (gpe 24)
ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNK8] enabled at IRQ 10
PCI: No IRQ known for interrupt pin A of device
00:10.0<6>PCI: Using ACPI for IRQ routing
ACPI: Processor [CPU0] (supports C1 C2, 2 performance
states)
ACPI: Thermal Zone [THRM] (27 C)
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Battery Slot [BAT1] (battery present)


Is there anything I've 4gotten to mention?

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]