LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-29-2003, 11:40 AM   #1
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Kernel 2.6 problems/qns


- kmod no longer autoloads my sound drivers. i have to manually modprobe
my sound driver first (snd-trident). i'm using ASLA with OSS emu. all built as modules where possible. i have the following in my modprobe.conf...

alias char-major-116 snd
options snd major=116
alias snd-card-0 snd-trident
alias char-major-14 soundcore
alias sound-slot-0 snd-trident
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


- IDE cdrom doesn't work.
mounting gives the error: "/dev/cdrom is not a valid block device"
cat-ing the device gives: "/dev/cdrom: No such device or address"
/dev/cdrom is a symlink to /dev/hdc (major 22, minor 0). i have ide-cd compiled as a module (manually modprobing ide-cd doesn't work either). the compiled-in ide bus driver is able to detect the drive from what i can tell

(extracts from dmesg)...
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: IBM-DJSA-210, ATA DISK drive
hdc: CD-224E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 19640880 sectors (10056 MB) w/384KiB Cache, CHS=19485/16/63

i have the following line set in /etc/modprobe.conf
alias block-major-22 ide-probe-mod.

i don't know if this is the problem, but i can't find any module named ide-probe-mod or aliased to anything but commenting this line out doesn't help either. and yes, the drive and disc are fully functional (worked in 2.4.23)

is there something i must add/change in the new modprobe.conf to enable cdrom now? btw, i don't get in any errors in my logs.


- rmmod --all doesn't work anymore on modinitools, is there an equivalent command or swtich to remove all unused modules?


- is the bdflush daemon still required on 2.6? i get the following msg in my logs. "warning: process `update' used the obsolete bdflush system" can i remove bdflush safely?

my setup:
P3 128MB notebook (6100 model)
kernel 2.6.0 built with gcc-3.3.2 and binutils-2.14
glibc-2.3.2 from redhat
mod-initt-tools 0.9.14
modutils 2.4.26
 
Old 12-29-2003, 11:52 AM   #2
tokkee
Member
 
Registered: Dec 2003
Distribution: Debian, OpenBSD
Posts: 46

Rep: Reputation: 15
if you want modules to be loaded automatically at bootup you need to add the module-names to /etc/modules...
 
Old 12-29-2003, 12:29 PM   #3
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by tokkee
if you want modules to be loaded automatically at bootup you need to add the module-names to /etc/modules...
i don't want them to be loaded at boot-time. i want them loaded ON DEMAND. ie via kmod.
 
Old 12-29-2003, 12:30 PM   #4
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Original Poster
Rep: Reputation: 30
i fixed the cdrom part. turns out there's some problem when I load the sis5513 bus mastering driver.
 
Old 12-30-2003, 04:08 AM   #5
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Original Poster
Rep: Reputation: 30
fixed the sound part too . added this line to /etc/modprobe.conf

alias char-major-14-* soundcore

it's kind of funny though, because the line "alias char-major-14 soundcore" already exists. I thought this would load soundcore for all device nodes with major version 14. What's really odd is that other devices work ok with just the major number specified.

Could someone care to explain?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
pls help me with those qns!!! _WeiN_ Linux - General 3 01-18-2005 07:04 AM
autoconf qns ugenn Programming 4 10-31-2004 07:43 AM
More Qns re: linux kernel 2.6.x compile iam whoiam Slackware 2 08-10-2004 06:57 AM
Many Knoppix Qns - Help Needed metabo Linux - Newbie 2 05-11-2004 10:57 PM
I've decided on slackware...now... some qns.... stagnant7 Slackware 5 09-02-2003 04:57 AM


All times are GMT -5. The time now is 01:38 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration