Thanks Thetargos,
but donīt i have to do nothing about the bzImage? Or doing "make [clean] bzImage dep modules modules_install" and "updatebd" will do it? Can you tell me the exact steps that i should do after installing the new kernel. I thought that we needed to do more commands between the "make [clean] bzImage dep modules modules_install" command and the "GRUB" file. Once again, thanks Ivo Letra |
Quote:
Code:
# make [clan] {dep} modules modules_install install |
Problems after installation
Dear members
I still have various problems with this new kernel, my CD-Writer is the most important one: 1) CRWRITER: When I use Gnome Toaster, and hit the 'Scan Bus' button, it detects the following device: Memorex, CD-RW 8220s at: /dev/scd0 However, if I try to mount that device 'mount -tiso9600 /dev/scd0 /cdr' I get the following error: mount: /dev/scd0 is not a valid block device 2) MODULES NOT LOADING AUTOMATICALLY when I run the following script /sbin/generate-modprobe.conf I receive the following error: 'modprobe: QM_MODULES: Function not implemented Warning: not translating path[toplevel]=/lib/modules/2.6 alias binfmt-204 binfmt_aout alias binfmt-263 binfmt_aout (bunch of other modules after those) The /etc/modprobe.conf file isn't created by that command). What I have to do is copy the '/etc/modules.conf/ file and save it as '/etc/modprobe.conf' However the modules won't load automatically. As a matter of fact my box runs this shell script every time it boots in order to load the modules that I want: #!/bin/sh modprobe -v nvidia modprobe -v snd modprobe -v snd-cmipci modprobe -v snd-via82xx modprobe -v soundcore modprobe -v snd-pcm-oss modprobe -v snd-mixer-oss modprobe -v snd-seq-oss lsmod startx (Again here I have a problem since it starts in Gnome always and I prefer KDE. It doesn't goes to the login screen) MISC PROBLEMS 1) Which of these should I add to my /etc/ld.so.conf a) /home/programs/drivers/sound/alsa/lib b) /home/programs/drivers/sound/alsa If my sound is working ok, why should I add those lines? I created symbolic links at the default installation folders to the /home/programs/drivers/sound/alsa files |
Soluions:
The CD-R was successfully mounted using these commands: modprobe -v sr_mod My new /etc/modprobe.conf file (head) looks as follows: alias eth0 8139too alias scsi_hostadapter sr_mod alias scsi_hostadapter aic7xxx alias usb-controller ehci-hcd alias char-major-195 nvidia Is the 'alias scsi_hostadapter sr_mod' line correct? Another question. APM: Seems to work ok but with a few problems: 1) I can suspend my machine but: when I return my box from 'Lock and Suspend', I have to switch from the 'Arts' to 'Esound' or 'Oss' plugins in XMMS in order to continue listening to music 2) When I enter this command 'poweroff -n' (which works for my kernel 2.4.20) the computer does a nice procedure, however in the end it only displays a 'Power Down' message, and I have to manually power it down. The module is loading and working since I am able to suspend the machine. user@localhost linux-2.6.5]# lsmod | grep apm apm 17648 2 Regards Xavier |
The CDWRITER problem:
Why do you mount it as /dev/scd0/cdr instead of plain /dev/scd0? (i.e. does the symlink of cdrom points to that device?) Modprobe (and modules) problem: How exaclty are you running the /sbin/generate-modprobe.conf command? (should be from within /etc/ and you must give a file from which take the required fields, in this case modules.conf; as well as the output file, modprobe.conf) About ld.so.conf, since you installed ALSA in a jailed environment (i.e. no other users, but the user to which the /home/$USER directory belongs, will be able to use programs linked to it). Adding the path will result in a system wide search path for the libararies, which will not be found for other users, but the one who owns the forlder. You'd want those lines in ld.so.conf for programs linked to ALSA lib to find it and hence use ALSA features. Of your problems, the one that certainly intrigues me the most is the one related to modprobe.conf... I find it very odd that this file does not load the modules as you tell it to. |
One correction would be to change the line(s)
Quote:
Code:
alias scsi_hostadapter sr_mod |
I can't find any help for the /sbin/generate-modprobe.conf command
could you please give me an example? How to run that file in order to create a new /etc/modprobe.conf file from an existing /etc/modules.conf file? Regards |
Quote:
Code:
cd /etc |
Dear Thetargos
I still receive the same error: [root@localhost etc]# /sbin/generate-modprobe.conf modules.conf modprobe.conf modprobe: QM_MODULES: Function not implemented Warning: not translating path[toplevel]=/lib/modules/2.6 No /etc/modprobe.conf file is generated Regards |
And you said that making your own won't get your modules loaded, right?
Here's my whole modprobe.conf file, use it as a guide: Code:
include /etc/modprobe.conf.dist Code:
# default modutils aliases Again, remember this is on a Fedora Core 1 setup. |
[root@localhost etc]# /sbin/generate-modprobe.conf /etc/modules.conf /etc/modprobe.conf
modprobe: QM_MODULES: Function not implemented Warning: not translating path[toplevel]=/lib/modules/2.6 alias binfmt-204 binfmt_aout When I type the /sbin/generate-modprobe.conf command, the following error appears. Here's my /etc/modprobe.conf file: alias eth0 8139too alias scsi_hostadapter sr_mod alias scsi_hostadapter1 aic7xxx alias usb-controller ehci-hcd alias char-major-195 nvidia # ALSA portion alias char-major-116 snd alias snd-card-0 snd-cmipci alias snd-card-1 snd-via82xx # End ALSA portion # OSS/Free portion alias char-major-14 soundcore alias sound-slot-0 snd-card-0 alias sound-slot-1 snd-card-1 #card1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss #card2 alias sound-service-1-0 snd-mixer-oss alias sound-service-1-3 snd-pcm-oss alias sound-service-2-12 snd-pcm-oss However, if I start the computer, the modules won't load (I think that only the ethernet and usb controllers load) So what I've been doing now is running S99modules, here's the script: #!/bin/sh lsmod modprobe -v nvidia modprobe -v sr_mod modprobe -v snd modprobe -v snd-cmipci modprobe -v snd-via82xx modprobe -v soundcore modprobe -v snd-pcm-oss modprobe -v snd-mixer-oss modprobe -v snd-seq-oss lsmod Now the sound works, however a) When I hear XMMS, and I suspend the machine, I need to change the output (that happened to me before on linux 2.4.2) b) I can't shutdown the computer My question is a) could anybody help me with the modprobe.conf? (modules.conf worked fine with 2.4.2) b) Why did APM worked with 2.4.2 and it isn't able to shutdown the computer? My PC is from the 2000 year, so I doubt it has ACPI. I think that maybe I need to rebuild the kernel and change some stuff in the "apm" module. Regards Xavier |
For the shut down problem, give ACPI a try ;) (I had the same problem with a self compiled kernel on my old Athlon 700 machin e more than 5 years old, and it properly shuts down).
What version of module-init-tools (modutils) do you have installed? |
I downloaded and installed the following package:
module-init-tools-3.0-pre10.tar.gz regards Xavier |
Do you have all the appropriate options in /etc/modprobe.conf?
|
Yes I do
|
All times are GMT -5. The time now is 11:45 AM. |