LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-25-2005, 04:10 AM   #1
norkers
Member
 
Registered: Feb 2002
Location: earth
Distribution: debian lenny
Posts: 55

Rep: Reputation: 15
kernel nightmare!


Hi all,

I've been having some problems with my system since I upgraded from kernel 2.4.26 to 2.6.11.7. I'm running Slackware 10.1.

Since I compiled my new kernel, the following problems are occuring...

* No sound! - Tried alsoconf, it just says it can't find any sound cards. Gnome can't find any sound devices. I think it's something I've done with the kernel settings, but now even if I boot up 2.4.26 I get the same problem.

* No console! - Works fine with 2.4.26 @ 1024x768, but 2.6.11.7 gives me a blank screen. Linux still boots, and I can log in and 'startx', at which point I get the X dispay. The settings are the same for each of the kernels .config files.

* My CDROMs (2 of) don't work - Apparantly gnome can't open /dev/hdb.

Can anyone please help? I've been up all night recompiling over and over! It's driving me mad.

Thanks,

norkers
 
Old 04-25-2005, 04:15 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
Re: kernel nightmare!

hi there,

Quote:
Originally posted by norkers
Hi all,
I've been having some problems with my system since I upgraded from kernel 2.4.26 to 2.6.11.7. I'm running Slackware 10.1.
Since I compiled my new kernel, the following problems are occuring...
* No sound! - Tried alsoconf, it just says it can't find any sound cards. Gnome can't find any sound devices. I think it's something I've done with the kernel settings, but now even if I boot up 2.4.26 I get the same problem.
* No console! - Works fine with 2.4.26 @ 1024x768, but 2.6.11.7 gives me a blank screen. Linux still boots, and I can log in and 'startx', at which point I get the X dispay. The settings are the same for each of the kernels .config files.
* My CDROMs (2 of) don't work - Apparantly gnome can't open /dev/hdb.
Can anyone please help? I've been up all night recompiling over and over! It's driving me mad.
Thanks,
norkers
1. did you install new alsa-drivers for kernel 2.6.11??? they are under /testing/packages/linux2.6.10
2. i don't know.
3. how your fstad looks like? if you were using hdx=ide-scsi you need to change some things in your /etc/fstab file...

regards

slackie1000
 
Old 04-25-2005, 04:22 AM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
gonna need a little more info on the cdrom part and the sound part (how did you configure your kernel)

for your framebuffer problem, you left out framebuffer support:
go to drivers->graphics support->console display driver support and pick the options you need ( at the very minimum you'll need video mode selection support and frame buffer console support enabled)
 
Old 04-25-2005, 04:29 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
About the console: make sure that these parameters are set correctly:
Code:
CONFIG_INPUT=y
CONFIG_VT=y
CONFIG_VGA_CONSOLE=y
CONFIG_VT_CONSOLE=y
I read that it could happen that these settings are lost during kernel cloning.
 
Old 04-25-2005, 04:46 AM   #5
norkers
Member
 
Registered: Feb 2002
Location: earth
Distribution: debian lenny
Posts: 55

Original Poster
Rep: Reputation: 15
thanks for the quick responses!

slackie1000, here's my fstab. no mention of anything scsi? also how do i go about upgrading ALSA?

Code:
/dev/hda6        swap             swap        defaults         0   0
/dev/hda5        /                ext2        defaults         1   1
/dev/hda7        /vfat            vfat        defaults,users,rw,umask=0 1 0
    1   0
/dev/hda1        /windows         vfat        defaults         1   0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
none            /sys            sysfs           defaults        0   0
/dev/hdb                /media/cdrom            auto    user,exec,noauto,comment 0 0
__J, framebuffer support is defo compiled (plus video mode handling, VGA 16 colour, VESA VGA and nVidia riva support) along with VGA test console and video mode selection support.

i configured sound in the kernel with sound card support (module), plus modules for ALSA & OSS.

abisko00, i checked out what you said and they are all present and correct.

any more ideas?

thanks,

norkers
 
Old 04-25-2005, 04:51 AM   #6
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

i don't know how is your previous installation from slack, but my suggestion is:
Code:
1. find a slack mirror 
2. go to /testing/packages/linux-2.6.10
3. download everything that starts with alsa
4. upgradepkg all of them
concerning your fstab file, looks a bit weird for me.
you have two cdrom drive. right?
afaik, /dev/cdrom is a link? can you check where is pointing?
Code:
ls -lrt /dev/cdrom
and keep posting...

regards

slackie1000
 
Old 04-25-2005, 05:26 AM   #7
norkers
Member
 
Registered: Feb 2002
Location: earth
Distribution: debian lenny
Posts: 55

Original Poster
Rep: Reputation: 15
Hi,

I upgraded ALSA as instructed. No difference I get the following when I run alsaconf...

Code:
modinfo: could not find module snd-opl3sa2
modinfo: could not find module snd-cs4236
modinfo: could not find module snd-cs4232
modinfo: could not find module snd-cs4231
modinfo: could not find module snd-es18xx
modinfo: could not find module snd-es1688
modinfo: could not find module snd-sb16
modinfo: could not find module snd-sb8
ls -lrt /dev/cdrom gives me.

Code:
lrwxrwxrwx  1 root root 3 2005-04-25 10:58 /dev/cdrom -> hdd
there's defo 2, a reader and a writer. if you look the second one is in /media. i've no idea how that's happened!

i have console now btw, i changed lilo.conf to vga=ask to do some testing and seem to be getting somewhere.

thanks,

matt
 
Old 04-25-2005, 06:04 AM   #8
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

is it possible that alsa is compiled as built in your kernel?
do you have something special in your kernel?
alsa can not find your sound card module. i think it is not available in the kernel.
check your .config file. the slackware config for 2.6.10 kernel series has all the sound cards compiled as modules in the kernel.
this is a good idea if you don't know what is necessary for your card.
i didn't understand about the cds issue. is it solved?

regards
slackie1000
 
Old 04-25-2005, 02:34 PM   #9
norkers
Member
 
Registered: Feb 2002
Location: earth
Distribution: debian lenny
Posts: 55

Original Poster
Rep: Reputation: 15
i'm working on the CDs now, i think it's a permissions thing...

my framebuffer device is all good. working fine now. it was the kernel!! you were right __J.

slackie1000, a question for you. it looks like i'm going to have to compile lots of the sound cards into my kernel and try and eliminate them one by one. should they be modules or actually compiled into it?

thanks,

norkers
 
Old 04-25-2005, 02:42 PM   #10
norkers
Member
 
Registered: Feb 2002
Location: earth
Distribution: debian lenny
Posts: 55

Original Poster
Rep: Reputation: 15
still no luck

gnome is giving 'no volume control elements and/or devices' on startup.

alsa still finds no mods.

i have no /dev/dsp.

when i run alsamixer i get...

Code:
alsamixer: function snd_ctl_open failed for default: No such file or directory
hope someone can help.

norkers
 
Old 04-25-2005, 02:53 PM   #11
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

let's concentrate in the sound card issue.
can you post the output of "lspci"???
also the ouput of
Code:
grep -i snd /usr/src/linux/.config
somehow you need to find your driver in the kernel and compile it as module. this is not required but highly recommeded....
do you have hotplug enabled? can you post the output of
Code:
lsmod
regards

slackie1000
 
Old 04-25-2005, 04:20 PM   #12
norkers
Member
 
Registered: Feb 2002
Location: earth
Distribution: debian lenny
Posts: 55

Original Poster
Rep: Reputation: 15
hi,

lspci gives me command not found (am i being thick here?)

grep -i snd /usr/src/linux/.config gives...

Code:
norkers@humdrum:~$ grep -i snd /usr/src/linux/.config
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
hotplug is enabled.

lsmod gives...

Code:
norkers@humdrum:~$ lsmod
Module                  Size  Used by
nvidia               3917180  12
ohci_hcd               19336  0
ehci_hcd               29064  0
usbmouse                4608  0
usbhid                 31232  0
via_agp                 7552  1
parport_pc             22596  0
parport                20992  1 parport_pc
uhci_hcd               29712  0
usbcore               106616  6 ohci_hcd,ehci_hcd,usbmouse,usbhid,uhci_hcd
ne2k_pci                8544  0
8390                    8512  1 ne2k_pci
evdev                   7424  0
ide_scsi               13764  0
agpgart                28648  2 nvidia,via_agp
hope you can make sense of this! thanks for your help.

norkers
 
Old 04-25-2005, 05:07 PM   #13
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
lspci is in /sbin so either use su or just type

Code:
/sbin/lspci
Sound:

Quote:
plus modules for ALSA & OSS
When you say OSS, do you mean ALSA's OSS compatibility modules, or did you try and build both ALSA and OSS?

CD's:

Did you do anything like add SCSI emulation in /etc/lilo.conf for your CDs?

Something like "append=ide-scsi:hdc" (can't remember what it looks like)? If so, comment it out/remove it (it's no longer necessary in the 2.6 series), rerun /sbin/lilo and restart.
 
Old 04-25-2005, 06:29 PM   #14
norkers
Member
 
Registered: Feb 2002
Location: earth
Distribution: debian lenny
Posts: 55

Original Poster
Rep: Reputation: 15
Hi,

okay, output from /sbin/lspci is...

Code:
root@humdrum:/home/norkers# /sbin/lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 1a)
00:07.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 1a)
00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
01:00.0 VGA compatible controller: nVidia Corporation NV15DDR [GeForce2 Ti] (rev a4)
I have compiled both ALSA and OSS as modules on my last kernel rebuild, is this wrong?

no mention of anything SCSI in lilo.conf

thanks,

norkers
 
Old 04-25-2005, 06:40 PM   #15
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Looks like you did not include the needed module for sound.
# CONFIG_SND_VIA82XX is not set

I not positive but recompile with this one as a module. If unsure make them all modules.

Brian1
 
  


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
Tarball Nightmare little_penguin Linux - Software 2 02-09-2005 05:59 PM
Kernel Rebuild Nightmare squirellplaying Linux - General 2 01-20-2005 04:31 PM
Kernel nightmare noobist Mandriva 10 09-04-2004 10:10 AM
ML 8.2 Nightmare! descras Linux - General 2 08-22-2002 04:06 AM
Kernel Compile Nightmare rootlinux Linux - General 11 05-08-2002 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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