LinuxQuestions.org
Help answer threads with 0 replies.
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 04-07-2005, 06:47 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
problems remain after a 2.6.11.6 kernel build


Yet another kernel problem!

I'm having difficulty getting the 2.6.X kernels to work right on my Compaq K6 1270 laptop that has a mere 96 MB of RAM (6 years old). I specify in menumake that I have an ESS1938 soundcarcd and pick some other ESS and Creative cards for good measure.

My biggest problem is sound. I run alsaconf and it finds my ESS card and sets it up to work in mplayer only. It doesn't work in XMMS or with the CLI play command. I also don't here the pc beep from console when there's an error or when my PCMCIA card is detected at boot. I've built the 2.6.X kernels several times and always have this problem along with a video problem with the man pages (read here how to fix that but then my DSL doesn't get configured).

Should I re-build the kernel again? What do I change in make menuconfig?

I get the following error on the end of a boot (ALSA is configured):

Loading ALSA mixer settings: /usr/sbin/alsactl restore
Loading OSS compatibility modules for ALSA.
FATAL: Module snd_pcm_oss not found.

***********************************************************
I also found these in dmesg:

Linux agpgart interface v0.100 (c) Dave Jones
Linux Kernel Card Services
options: [pci] [cardbus] [pm]
Intel ISA PCIC probe: not found.
Device 'i823650' does not have a release() function, it is broken and must be fixed.
Badness in device_release at drivers/base/core.c:85
[<c018beb3>] kobject_cleanup+0x83/0x90
[<c018bec0>] kobject_release+0x0/0x10
[<c018c813>] kref_put+0x33/0x80
[<c018bee6>] kobject_put+0x16/0x20
[<c018bec0>] kobject_release+0x0/0x10
[<c690b2a6>] init_i82365+0x176/0x18d [i82365]
[<c0127f42>] sys_init_module+0x122/0x1b0
[<c0102277>] syscall_call+0x7/0xb
.................
.............
............
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
mtrr: no more MTRRs available
 
Old 04-07-2005, 07:17 PM   #2
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
I run alsaconf and it finds my ESS card
So ALSA works and you got the right driver for it in the kernel (or as a kernel module)

Quote:
and sets it up to work in mplayer only
Which seems to indicate that mplayer is configured for ALSA

Quote:
It doesn't work in XMMS or with the CLI play command.
SOLUTION #1

Set xmms to output to ALSA and use aplay to output to alsa from the CLI.

So it seems most likely that you did not configure a few things right in your kernel.

Recompile

When you get to sound, choose just about everything under ALSA.

The thing I hate the most about giving kernel compile instructions is that it is hard to get across to people which options to choose. THis should help, though:


This should Match:

Code:
#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
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
THis won't match, but gives you an idea what it should look like:

Code:
#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
# 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_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=m
# 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
Do you have ISA interface cards? if not, get rid of the ISA plug & play to eliminate the next message.

The ipv6 error doesn't matter. You can disable ipv6 if you want, but it doesn't matter.

Get all that working and see what errors you have left.
 
Old 04-07-2005, 07:43 PM   #3
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
For beep do a ' modprobe pcspkr ' If not there then needs to compiled in.

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 04-08-2005, 04:30 PM   #4
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
Great-looks like my sound problems are all fixed with the above advice. I changed the output device to alsa in xmms and aplay works nicely (didn't know I had that). I rebuilt the kernel with all the alsa modules and checked the other sound boxes that were mentioned. I also saw that pcspeaker had been compiled as a module, so I changed that to be built into the kernel instead.

Somehow I did something to the kernel that disabled my DSL/eth0. Not sure what. I'm going to rebuild my kernel again-video problems remain.

Video problem I have is that the man pages won't display and that the terminal viewers don't appear in an X-session.

A couple weeks ago I did this:

Well, there is a problem viewing man-pages, seems to be in slackware.

But this could be corrected just by opening the file:
/etc/udev/rules.d/udev.rules

locating a line that looks like
KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"

and if found change "tty/s%n" to "pty/s%n".

This worked to enable my man pages and terminal windows, but also disabled my PCMCIA NIC card from being configured.

How would I get both video an NIC to work?
 
Old 04-09-2005, 06:44 AM   #5
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
I tried the above for the video (changing tty to pty) and then rebooted. Now sound, video, and internet are all working together. Looks like I've got a working 2.6 kernel!!

Just one note-it took 5 hours to compile the 2.6.11.6 kernel and it takes about twice as long to boot then the 2.4.30 kernel which compiled with the needed alsa driver in under 3 hours. For a slow pc like I have (350 MHz), I'd say stick with the 2.4 kernels for now.

Last edited by linuxhippy; 04-09-2005 at 07:06 AM.
 
  


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
kernel build problems -how to install older gcc version? kpachopoulos Fedora 3 07-04-2005 08:56 AM
HOWTO build gerbv (gerber viewer) on RH8 and remain sane primorec Linux - Software 4 01-27-2005 05:11 PM
Will all of your configuration remain the same after compiling the new kernel ICO Slackware 3 01-12-2004 12:27 AM
Kernel Build Problems jrusso Programming 2 10-22-2003 10:26 AM
Adaptec SCSI and SMP Kernel build problems damien Linux - General 12 09-24-2003 07:23 PM

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

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