LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-14-2005, 03:39 PM   #1
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Rep: Reputation: 30
Modules and startup speed


I consider my linux knowledge nearing avarage, I've got a http/https/mail/sql/webmail etc etc server running so i know some basic stuff

Now for the desktop (slack current on P4 3Ghz 512MB). It's running pretty wel but some things bother me.

The first thing is the hardware-detection during boot-up, it takes forever. Offcourse i googled and LQ-ed and i understand i can disable it and that i should load the modules i need at startup, but i don't know exactly where to start. I guess i sould do an lsmod right now and load all that modules at startup, but that's a whole bunch:

Code:
Module                  Size  Used by    Tainted: P
snd-pcm-oss            36704   0 (unused)
snd-mixer-oss          12152   2 [snd-pcm-oss]
audio                  41784   0 (unused)
snd-usb-audio          40352   0
snd-usb-lib             7844   0 [snd-usb-audio]
keybdev                 1892   0 (unused)
mousedev                4020   1
hid                    20868   0 (unused)
usbmouse                1880   0 (unused)
input                   3200   0 [keybdev mousedev hid usbmouse]
uhci                   24284   0 (unused)
ehci-hcd               17516   0 (unused)
usbcore                59148   1 [audio snd-usb-audio snd-usb-lib hid usbmouse uhci ehci-hcd]
snd-via82xx            12928   2
gameport                1420   0 [snd-via82xx]
snd-ac97-codec         52472   0 [snd-via82xx]
snd-pcm                54504   0 [snd-pcm-oss snd-usb-audio snd-via82xx snd-ac97-codec]
snd-timer              13412   0 [snd-pcm]
snd-mpu401-uart         3200   0 [snd-via82xx]
snd-rawmidi            12320   0 [snd-usb-lib snd-mpu401-uart]
snd-seq-device          3812   0 [snd-rawmidi]
snd                    31268   0 [snd-pcm-oss snd-mixer-oss snd-usb-audio snd-usb-lib snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc          4712   0 [snd-mixer-oss snd-usb-audio snd-via82xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
soundcore               3396   7 [audio snd]
via-rhine              12336   1
mii                     2272   0 [via-rhine]
crc32                   2880   0 [via-rhine]
nvidia               3643836   6
ntfs                   51232   1 (autoclean)
ide-scsi                9392   0
Should i modprobe at startup for all these modules ? or what would you suggest. ?

The other for which i've also done some reading is the "updating shared library links". I read i could make this run after boot by putting a delay in the command. Is that wise, is updating the shared library links nessecary at every startup ?

lspci gives this output (may be needed to answer some of my questions

Code:
00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0258
00:00.1 Host bridge: VIA Technologies, Inc.: Unknown device 1258
00:00.2 Host bridge: VIA Technologies, Inc.: Unknown device 2258
00:00.3 Host bridge: VIA Technologies, Inc.: Unknown device 3258
00:00.4 Host bridge: VIA Technologies, Inc.: Unknown device 4258
00:00.7 Host bridge: VIA Technologies, Inc.: Unknown device 7258
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:0f.0 IDE interface: VIA Technologies, Inc.: Unknown device 3149 (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
dmesg gives some strange agpgart notification (which i searched for but still have to fix) but it also give is whole lot of PCI Hotplug thingies, anybody know what's wrong ? Or is nothing really wrong ?
This is the output of dmesg

Code:
Linux version 2.4.30 (root@tree) (gcc version 3.3.5) #6 Sun May 1 19:22:52 PDT 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
 BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
 BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=302
Initializing CPU#0
Detected 3029.850 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 6042.41 BogoMIPS
Memory: 515340k/524224k available (1832k kernel code, 8496k reserved, 607k data, 120k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU:     After generic, caps: bfebfbff 00000000 00000000 00000000
CPU:             Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfad20, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Via IRQ fixup
PCI: Using IRQ router VIA [1106/3227] at 00:11.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xe0000000, mapped to 0xe080d000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=3
vesafb: protected mode interface info at c000:e2d0
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10f
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:0f.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci00:0f.1
    ide0: BM-DMA at 0xe600-0xe607, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xe608-0xe60f, BIOS settings: hdc:pio, hdd:pio
hda: Maxtor 6Y080L0, ATA DISK drive
blk: queue c03af460, I/O limit 4095Mb (mask 0xffffffff)
hdc: _NEC DVD_RW ND-2510A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=9964/255/63, UDMA(133)
hdc: attached ide-cdrom driver.
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 hda3 hda4
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  3244.800 MB/sec
   32regs    :  2178.400 MB/sec
   pIII_sse  :  5118.000 MB/sec
   pII_mmx   :  3231.600 MB/sec
   p5_mmx    :  3231.600 MB/sec
raid5: using function: pIII_sse (5118.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,2)) ...
for (ide0(3,2))
ide0(3,2):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 554232k swap-space (priority -1)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Unsupported Via chipset (device id: 0258), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
NTFS driver v1.1.22 [Flags: R/O MODULE]
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7174  Tue Mar 22 06:44:39 PST 2005
via-rhine.c:v1.10-LK1.1.19  July-12-2003  Written by Donald Becker
  http://www.scyld.com/network/via-rhine.html
PCI: Found IRQ 12 for device 00:12.0
PCI: Sharing IRQ 12 with 00:10.0
PCI: Sharing IRQ 12 with 00:10.1
eth0: VIA VT6102 Rhine-II at 0xec00, 00:50:70:f7:05:48, IRQ 12.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
via82xx: Assuming DXS channels with 48k fixed sample rate.
         Please try dxs_support=1 or dxs_support=4 option
         and report if it works on your machine.
PCI: Found IRQ 5 for device 00:11.5
PCI: Sharing IRQ 5 with 00:10.4
PCI: Setting latency timer of device 00:11.5 to 64
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 5 for device 00:10.4
PCI: Sharing IRQ 5 with 00:11.5
ehci_hcd 00:10.4: VIA Technologies, Inc. USB 2.0
ehci_hcd 00:10.4: irq 5, pci mem e0f2a000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:10.4: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 8 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 12 for device 00:10.0
PCI: Sharing IRQ 12 with 00:10.1
PCI: Sharing IRQ 12 with 00:12.0
uhci.c: USB UHCI at I/O 0xe700, IRQ 12
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 12 for device 00:10.1
PCI: Sharing IRQ 12 with 00:10.0
PCI: Sharing IRQ 12 with 00:12.0
uhci.c: USB UHCI at I/O 0xe800, IRQ 12
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:10.2
PCI: Sharing IRQ 11 with 00:10.3
uhci.c: USB UHCI at I/O 0xe900, IRQ 11
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:10.3
PCI: Sharing IRQ 11 with 00:10.2
uhci.c: USB UHCI at I/O 0xea00, IRQ 11
usb.c: new USB bus registered, assigned bus number 5
hub.c: USB hub found
hub.c: 2 ports detected
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
hub.c: new USB device 00:10.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x46d/0xc001) is not claimed by any active driver.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
hub.c: new USB device 00:10.0-2, assigned address 3
usb.c: USB device 3 (vend/prod 0xc45/0x60af) is not claimed by any active driver.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
usb.c: registered new driver usbmouse
input0: Logitech USB Mouse on usb2:2.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
usb.c: registered new driver snd-usb-audio
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Unsupported Via chipset (device id: 0258), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Unsupported Via chipset (device id: 0258), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
spurious 8259A interrupt: IRQ7.
Any help is appreciated, just point me in to the right direction and i'll figure the rest out for myself

Last edited by nukey; 06-14-2005 at 03:46 PM.
 
Old 06-14-2005, 04:20 PM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
You could start by disabling rc.hotplug. That is usually where the slowdown at startup comes, and it's usually useless if you aren't changing your hardware around.

Adding modprobe for the hardware is quicker. It's also quicker to compile the hardware directly into the kernel. The latter option, however, comes at the expense of having more things that can go wrong within the kernel. More accurately, if a driver does crash, it'll bring down the system.

That said, I usually compile directly into the kernel, and I've never had a problem. The only thing that's a module on any of my systems is MadWiFi, for the Atheros-based wlan card in my laptop. For older hardware, you're generally safe. Your system appears to be a VIA 82C-based system. So's my laptop, so you should be fairly safe compiling in.
 
Old 06-14-2005, 04:30 PM   #3
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Some thoughts on tweaking your setup:

1) You get the error message:

Code:
agpgart: Unsupported Via chipset (device id: 0258), you might want to try agp_try_unsupported=1
agpgart: no supported devices found.
You can fix that by adding

Code:
add options agpgart agp_try_unsupported=1
To /etc/modules.conf (2.4 kernel) or /etc/modprobe.conf (2.6 kernel)

2) Speed trick for booting. Uncomment:

Code:
compact        # faster, but won't work on all systems.
You'll get a warning that it may break your system. I'm crazy enough that I took the gamble. No breakage, faster boot. YMMV.

3) Compile a new 2.6 series kernel.

Add pre-emtable option.

Compile for your processor.

You seem to have a 3G P4 processor. I would guess that it has hyperthreading. Enable SMP and hyperthreading.

Get rid of stuff you don't need.

4) Disable hotplug if you want. You seem to use USB devices. Hotplug will load the modules for them "on-the-fly". I like that better than speeding up the boot time by ditching the feature.

5) You can eliminate ldconfig if you like. Just remember to run it whenever you install new software.

6)

Code:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Enable scsi emulation in /etc/lilo.conf if you are wanting to use it. Otherwise, edit /etc/rc.d/rc.modules to remove this error.

7)

Believe the pcihotuplug is for hot swapping. Might be wrong, but if so, you don't need it. Take that out when you recompile.

8)

Gonna take a break for now.
 
Old 06-15-2005, 01:20 AM   #4
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
Thank you both, seems like i've got a little work to do this evening

Does the 2.4 kernel also have support for SMP by the way ?

Have you also got any more tips on the "hardware detection" , i mean if want to load
modules instead of using the hardware-detection should i modprobe for everything
that gets listed with lsmod ?

I did a few 2.4 kernel recompiles, most of them went fine.
For a 2.6 kernel, is it wise to install the 2.6.x kernel first (that comes with the slackware)
and then lateron make menuconfig while taking the slackware's config file to start from ?
 
Old 06-15-2005, 07:30 AM   #5
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
the 2.4 kernel *can* have support for SMP. I don't know whether the install kernel does, but probably not. It increases the kernel size for something that, while it improves performance on SMP systems, actually reduces performance on most other machines.
 
Old 06-15-2005, 09:28 AM   #6
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
Ok, thanks

But can anyone put me in the right direction on how the handle the "hardware detection"/modprobe issue, that one in particular is bothering me and i don't exactly know where to begin.
 
Old 06-15-2005, 05:16 PM   #7
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
Running a 2.6 kernel right know, hardware detection allready seames to take less time that before.

I'm getting a Disabling IRQ #10 after the hardware detection though.

I'm recompiling again right now, finaly found the SMP thingie in the kernel config, damn, annoying when your looking for "SMP" but i first didn't notice the whole words were standing there, not the abbreviation (or however you say or type that :P )

No problems with the agpgart with this kernel by the way.

But the hardware detection is still taking most of the time at startup, i tried to start every module (that's loaded when hardware-detection is on) by other means, they all get loaded, but then my networkcard isn't getting an ip-adress (haven't tested anything else, since i go crazy when i don't have a network connection ). I really think i'm missing something here.
 
Old 06-15-2005, 05:20 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
When did you tried to start every module you need? You shoud do that in /etc/rc.d/rc.modules that's executed before the network is initilizated.
 
Old 06-15-2005, 05:23 PM   #9
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by gbonvehi
When did you tried to start every module you need? You shoud do that in /etc/rc.d/rc.modules that's executed before the network is initilizated.
Yap, that was the problem, thank you
 
Old 06-15-2005, 05:50 PM   #10
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
Ok, the recompile also worked, since "cat /proc/cpuinfo" gives me 2 procs now

Still need a little extra kernel tweaking but right now i'm pretty happy with the boot-time and the system-response.

Thank you all for answering my questions
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modules loading at startup badlife69 Linux - Newbie 1 04-14-2005 10:23 AM
Loading modules on startup badmofo666 Linux - Software 4 08-12-2004 06:35 PM
How to improve startup speed of SuSE (or maybe any other distro) _japsje Linux - Distributions 1 07-12-2004 06:35 PM
Speed up Startup Boffy Mandriva 6 05-09-2004 10:39 AM
how to load modules at startup sasquash Fedora 1 11-18-2003 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration