LinuxQuestions.org
Review your favorite Linux distribution.
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 07-11-2005, 11:43 AM   #31
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15

Strange, too, since modprobe.conf is full of stuff and rc.modules is too.
 
Old 07-11-2005, 11:51 AM   #32
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
what do you get when you try to load a module with " modprobe "
...or run /etc/rc.d/rc.modules ?

egag
 
Old 07-11-2005, 11:54 AM   #33
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Well, I remember my first slack install thread, so I went ahead and tried modprobe [modules here] that worked for last time adding to rc.modules, and it always says it doesn't know that module.
I'll go try running rc.mdules now
 
Old 07-11-2005, 12:04 PM   #34
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
bash-2.05b# ./rc.modules
FATAL: Module agpgart not found.
./rc.modules: line 252: ehci-hcd: command not found
./rc.modules: line 253: usbcore: command not found
./rc.modules: line 254: emu10k1-gp: command not found
./rc.modules: line 255: gameport: command not found
./rc.modules: line 256: eepro100: command not found
./rc.modules: line 257: mii: command not found
FATAL: Module ide_scsi not found.


EDIT: Also, on boot, it spits this after failing to load ALSA:
FATAL: snd_pcm_oss not found
FATAL: snd_mixer_oss not found

 
Old 07-11-2005, 12:12 PM   #35
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Is it possible by any chance, that you compiled the mentioned
modules as built-in features in the kernel and not as modules ?

I always compile agpgart and alsa drivers as modules for my part
You don't need ide_scsi with 2.6 kernel but ide_cd instead
 
Old 07-11-2005, 12:19 PM   #36
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Doesn't the kernel compilation save a file? I think it was .config or something. Would me posting that here help any?
 
Old 07-11-2005, 12:29 PM   #37
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
It is a huge file
Better is for you to understand how to configure things
as module or as built-in. For my first kernel compile I
didn't succeed at the first time, but experience comes
from practice.

Last edited by keefaz; 07-11-2005 at 12:31 PM.
 
Old 07-11-2005, 12:44 PM   #38
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Did it anyway, can't hurt >_<
http://as.switch2hosting.com/kernel_config
 
Old 07-11-2005, 12:45 PM   #39
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Ok, so I'll recompile again. Corrections for this time?
 
Old 07-11-2005, 12:57 PM   #40
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
In block device, you may want CONFIG_BLK_DEV_LOOP support
(Loopback device support, to mount iso image files for example)

You enabled a lot of modules in config
 
Old 07-11-2005, 01:05 PM   #41
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Hi Ray, glad to see you made some progess. I thought I would chip in again:

for your atapi cdrom devices

in your 2.6 kernel entry in the file /etc/lilo.conf, add

append="hdx=ide-cd"

where x = a,b,c, or d according to the following:

primary ide
master=a
slave=b
secondary ide
master=c
slave=d

eg append="hdb=ide-cd"

this does away with the need for scsi support for cdrom devices (new to 2.6 kernels)
 
Old 07-11-2005, 03:02 PM   #42
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
No idea how my disks are setup >_<
How would I find out if it's primary, secondary, slave or master? I'm thinking it's primary master since I only got one HDD correct? Or is it about partitions?

Last edited by RayQ; 07-11-2005 at 03:10 PM.
 
Old 07-11-2005, 04:46 PM   #43
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
if you read dmesg it will tell you where your drives are mounted. The other way is to look inside your computer. Chances are, if you have one ribbon connecting the hd and the cdrom to the mobo, they are hda and hdb respectively. more likely you have two ribbons, the hd is on hda, so the cdrom would be hdc.

heres some dmesg output:

Probing IDE interface ide0...
hda: ST3120026A, ATA DISK drive
Probing IDE interface ide1...
hdc: PLEXTOR CD-R PX-W4012A, ATAPI CD/DVD-ROM drive

easy, innit!
 
Old 07-11-2005, 04:57 PM   #44
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Maybe this helps with the modules?
Code:
bash-2.05b# make -j5 modules
  CHK     include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  drivers/acpi/video.o
  CC [M]  drivers/acpi/ibm_acpi.o
  CC [M]  lib/libcrc32c.o
  CC [M]  net/ipv4/netfilter/iptable_raw.o
  CC [M]  drivers/base/firmware_class.o
  CC [M]  net/ipv4/netfilter/ipt_NOTRACK.o
  CC [M]  drivers/net/dummy.o
  CC [M]  drivers/net/s2io.o
  CC [M]  drivers/scsi/dpt_i2o.o
  CC [M]  drivers/usb/input/touchkitusb.o
  CC [M]  drivers/scsi/ipr.o
  CC [M]  drivers/scsi/sata_sis.o
  CC [M]  drivers/usb/misc/cytherm.o
  CC [M]  drivers/scsi/sata_sx4.o
  CC [M]  drivers/usb/misc/phidgetservo.o
drivers/scsi/dpt_i2o.c: In function `adpt_isr':
drivers/scsi/dpt_i2o.c:2030: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2031: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2042: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2043: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2046: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2048: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2055: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2062: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2069: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c: In function `adpt_i2o_to_scsi':
drivers/scsi/dpt_i2o.c:2239: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2243: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2248: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2259: warning: passing arg 1 of `readl' makes pointer from integer without a cast
  Building modules, stage 2.
  MODPOST
  CC      drivers/acpi/ibm_acpi.mod.o
  CC      drivers/acpi/video.mod.o
  CC      drivers/base/firmware_class.mod.o
  CC      drivers/net/dummy.mod.o
  CC      drivers/net/s2io.mod.o
  CC      drivers/scsi/dpt_i2o.mod.o
  CC      drivers/scsi/ipr.mod.o
  CC      drivers/scsi/sata_sis.mod.o
  CC      drivers/scsi/sata_sx4.mod.o
  CC      drivers/usb/input/touchkitusb.mod.o
  CC      drivers/usb/misc/cytherm.mod.o
  CC      drivers/usb/misc/phidgetservo.mod.o
  CC      lib/libcrc32c.mod.o
  CC      net/ipv4/netfilter/ipt_NOTRACK.mod.o
  CC      net/ipv4/netfilter/iptable_raw.mod.o
  LD [M]  drivers/acpi/ibm_acpi.ko
  LD [M]  drivers/acpi/video.ko
  LD [M]  drivers/base/firmware_class.ko
  LD [M]  drivers/net/dummy.ko
  LD [M]  drivers/net/s2io.ko
  LD [M]  drivers/scsi/dpt_i2o.ko
  LD [M]  drivers/scsi/ipr.ko
  LD [M]  drivers/scsi/sata_sis.ko
  LD [M]  drivers/scsi/sata_sx4.ko
  LD [M]  drivers/usb/input/touchkitusb.ko
  LD [M]  drivers/usb/misc/cytherm.ko
  LD [M]  net/ipv4/netfilter/ipt_NOTRACK.ko
  LD [M]  lib/libcrc32c.ko
  LD [M]  drivers/usb/misc/phidgetservo.ko
  LD [M]  net/ipv4/netfilter/iptable_raw.ko
bash-2.05b# make modules_install
  INSTALL drivers/acpi/ibm_acpi.ko
  INSTALL drivers/acpi/video.ko
  INSTALL drivers/base/firmware_class.ko
  INSTALL drivers/net/dummy.ko
  INSTALL drivers/net/s2io.ko
  INSTALL drivers/scsi/dpt_i2o.ko
  INSTALL drivers/scsi/ipr.ko
  INSTALL drivers/scsi/sata_sis.ko
  INSTALL drivers/scsi/sata_sx4.ko
  INSTALL drivers/usb/input/touchkitusb.ko
  INSTALL drivers/usb/misc/cytherm.ko
  INSTALL drivers/usb/misc/phidgetservo.ko
  INSTALL lib/libcrc32c.ko
  INSTALL net/ipv4/netfilter/ipt_NOTRACK.ko
  INSTALL net/ipv4/netfilter/iptable_raw.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map  2.6.12; fi
 
Old 07-11-2005, 05:11 PM   #45
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Not sure what you are doing there. It is ok to add modules without a total recompile as the kernel 2.6 is smart nowadays, but you cannot add modules if the same stuff is already in the kernel. Until you know what you are doing, i would recompile the whole thing.

You can afford to be selective about what you include. Read the help that goes with each option and make an informed decision.
For instance, i have no idea what phidgetservo.ko is, do you think you need this?
 
  


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
problems booting compiled 2.6.11 kernel monkeyman2000 Debian 7 05-28-2005 07:16 PM
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 08:41 AM
problems with compiled kernel masood_gandhi Linux - Newbie 4 12-30-2004 12:04 PM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 09:40 AM
Compiled Kernel>little problems Akshito Linux - Software 0 08-18-2003 02:20 AM

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

All times are GMT -5. The time now is 11:25 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