LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-10-2003, 10:33 PM   #1
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Question How can I translate what a modprobe error means?


I keep getting alot of them at boot and shutdown. One Ive been able to remember (they go by so fast) is 'Modprobe: cant find Char-major-10-135' and I have no clue what that means.

On another note, It mounts 8 different cd-roms, when I only have one, and I cant figure out why. Also, it says ALSA cant start from a modprobe error as well. My LAN wont start either, but it doesnt give me an error message for that. Can someone help me with at least some of this? Googleing has done nothing for me so far.

EDIT: On a side note, I was trying to install lm_sensors and GAIM, and I get alot of conflicts, mainly involving perl stuff. What do I need to download or install to make these work?

Last edited by Kramer; 11-10-2003 at 10:37 PM.
 
Old 11-11-2003, 12:23 AM   #2
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
What distro are you using ?

dmesg | less should provide you with the error messages ? Are you using a custom kernel ? What type of cdrom do you have ?

It may be looking for CDrom types but may only mount one -- what does a "mount" show you ?
 
Old 11-11-2003, 03:43 AM   #3
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
The major-minor thing works this way:
- each device node had a internal number/code the kernel uses. If you type "ls -l /dev" you'll see all kinds of numbers.
- note there are 2 kind of devices: block devices; for example, /dev/hd.. and character devices; for example, /dev/tty.. Their codes are completely independent from each other.

if a device file is accessed, the kernel will use it's code to determine what device is being accessed. If a driver hasn't been loaded for it, the kernel will try to load it. (with modprobe off course)

The kernel knows about a lot of module names referring to the devices, but if it doesn't, it will try to load a "type-major-majornumber-minornumber" module. In /etc/modules.conf, you can set an alias for this file. This is my modules.conf, it could be helpfull. After modifying modules.conf, you need to run depmod -a
Code:
### APM
alias char-major-10-134 apm

### webcam (I use mod_quickcam instead)
alias quickcam off

### DRI (graphics accelerator)
alias char-major-226 fglrx


# Somehow detected :-s
alias char-major-178    off
alias sound-slot-1      off
alias sound-service-1-0 off
The "alias char-major-226 fglrx" line tells modprobe that it should load fglrx (the ati driver) for the device no 226. The "alias .. off" disables the loading of a certain module.

I've been looking in /usr/src/linux/Documentation/devices.txt, and the char-10-135 seams to correspond to "/dev/rtc"; the real time clock! Have you been compiling your kernel without rtc support? Linux uses a software based clock, because it's more accurate, and stores the time into the real time clock at shutdown.


and there is another thing: what other programs are you running..? I've noticed that smartd for example, scans all possible ide devices when it's started. (until the S.M.A.R.T. capable devices are specified in it's configuration file)

use the information from /usr/src/linux/Documentation/devices.txt to find out what devices are being probed.

Last edited by yapp; 11-11-2003 at 03:45 AM.
 
Old 11-11-2003, 07:39 AM   #4
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Im running Mandrake 9.1, and I can mount and unmount my CD rom manually since I know which one it is, but I still have 8 other ones sitting on my desktop that say they are all mounted at /mnt/cdrom. I am toying with a custom kernel. At the beginning it tells me all this hardware has been added (the extra drives). The drive I have is a Toshiba SD-R2102, which is a CD-RW/DVD combo. As far as the modprobe errors, Ill see if I can look them up in the Documentation files today. What about all the perl errors that I get when I try to install something?
 
Old 11-11-2003, 08:21 AM   #5
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
please give us the output of those gaim and lm_sensors installation.

and what does the "mount" command tell you about the mounted drives? could you post this here too?)
 
Old 11-11-2003, 09:46 AM   #6
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Sure, I can once I get out of this lab, and back to my room. My ethernet doesnt work in my new kernel, which I cant figure out, since it starts at boot, and I made sure I compiled it in my kernel, but it still wont connect. Ill post the error messages later on.
 
Old 11-11-2003, 01:10 PM   #7
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Ok, first for the lm_sensors

Conflicts were detected:

perl(Fcntl) is needed by lm_sensors
perl(POSIX) "
perl(strict) "
perl(subs) "
perl(vars) "

Install aborted.


Now on to GAIM:

perl-base = 2:5.8.1 is needed by gaim
libgaim-remote = 0.72 "
perl-base = 2:5.8.1 "
libgaim-remote.so.0 "
perl(AutoLoader) "
perl(Carp) "
perl(Exporter) "
perl(XSLoader) "
perl(strict) "
perl(warnings) "

Install aborted.

Any Ideas
 
Old 11-11-2003, 10:49 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
The 8 cdroms I believe is caused by some config setting in the scsi section. Maybe probe all luns on startup, not exactly sure but it's in scsi config somewhere.
 
Old 11-12-2003, 02:41 AM   #9
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
The Perl modules that it seams to require are default modules installed with Perl. Either you don't have Perl installed correctly, or you've missed some -developer packages some distributions seam to require. (they have separated developer stuff from the binary releases.. )

afaik, gaim doesn't require Perl, but I could be mistaken. How do you install these files? For example, a binary (rpm/dep) release has this limitation; you should install all dependencies linked to the binary executable.
 
Old 11-12-2003, 07:05 AM   #10
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
I got it figured out. Both of those packages were developer releases from the Cooker.
 
Old 02-28-2004, 12:49 PM   #11
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
Hi I installed the fglrx driver for my Radeon 9800 from ati in SuSe 9.0 - and it seems to work ok - but I can't get any 3D working. I noticed in Suse modules.conf that there is an agp section which reads as follows:

Code:
# required for DRI support on SiS chips
options sisfb mem=12288 mode=none

########################################################################
# AGP
########################################################################

pre-install mga /sbin/modprobe "-k" "agpgart"
pre-install r128 /sbin/modprobe "-k" "agpgart"
pre-install radeon /sbin/modprobe "-k" "agpgart"
options agpgart agp_try_unsupported=1

options snd-emu10k1 snd_enable=1 snd_index=0
And I wondered if any of these lines might be conflicting with the something in Suse and preventing me from accessing the 3D layer.

Should I edit this and if so what should I edit?

Also the line above that says:

Code:
alias char-major-226 fglrx
I don't understand how the number 226 was arrived at for the device number. Is this significant or should I copy this?

GJ
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What this error message means? walmart Other *NIX 8 03-16-2005 01:28 PM
rpmdb: PANIC error, please tell me what it means natbrazil Fedora 3 02-09-2005 05:32 PM
More and more crashes. PLEASE tell me what this error means! jeffreybluml Linux - Newbie 16 05-28-2004 03:19 PM
not sure what this error message means. Cass944 Linux - Software 1 05-11-2004 05:43 PM
Anyone know what this 'error' means? BxBoy Linux - General 2 02-21-2004 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:38 PM.

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