Re: Fedora core 2 upgrade problems: x.org and kernel

From: Lenard (lenard_at_127.0.0.1)
Date: 05/31/04


Date: Mon, 31 May 2004 02:06:22 GMT

On Mon, 31 May 2004 00:41:54 +0200, Mats Löfdahl wrote:

> I'm trying to read up on what people have had to do to install the 2.6
> kernel under FC1, but if somebody has a clue as to what I should do
> under FC2, some advice would be much appreciated. If at all possible, I
> don't want to do anything that would break going back to 2.4, should
> that become necessary.

If you running running FC1 with the 2.6 kernel then you need to do some
work....

First step as root create a sys directory (mkdir /sys) and either modify
/etc/rc.d/rc.sysinit or modify /etc/fstab for this new directory(sysfs);

/etc/rc.d/rc.sysinit modification(first few lines are where to edit);

# Mount /proc (done here so volume labels can work with fsck)
#update_boot_stage RCproc
action $"Mounting proc filesystem: " mount -n -t proc /proc /proc

action $"Mounting sys filesystem: " mount -t sysfs none /sys (the line
                                                                to add)

/etc/fstab modification(add the following line entry);

 none /sys sysfs defaults 0 0

Install the ALSA RPM's and configure (/etc/modules.conf) for your sound
card; http://www.alsa-project.org/

Next create the /etc/modprobe.conf file (assuming that you have the latest
modutils RPM installed). Running with the 2.4 kernel, as root, type
something like; /sbin/generate-modprobe.conf /etc/modprobe.conf

(Do this after you get ALSA installed and working with the 2.4 kernel)

And still as root add the following to /etc/rc.d/rc.local (this is needed
for both the 2.4 and 2.6 kernels with ALSA sound);

# Restore the default defined AlSA volume levels

/bin/aumix-minimal -f /etc/aumixrc -L >/dev/null 2>&1;

And if you want (optional) the speaker 'beeps' add;

# Restore the PC Speaker beeps
/sbin/modprobe pcspkr

Then create a /etc/aumixrc file, example below;

vol:85:85:P
pcm:85:85:P
speaker:85:85:P
line:85:85:P
mic:85:85:R
cd:85:85:P
igain:85:85:P
line1:85:85:P
phin:85:85:P
video:85:85:P

Adjust the defined levels to suit you.

Your mouse problem might be solved modifying the 2.6 kernel boot option by
adding 'psmouse.proto=imps' to the line that begins with kernel /vmlinuz
(assuming grub is your boot loader). This might solve the mouse problem
with FC2 also.

-- 
"In short, without this exclusive franchise, called the Windows API,
we would have been dead a long time ago." M$ Senior VP Bob Muglia '96


Relevant Pages

  • Re: FC2 doubtful quality?
    ... Should I fall back to FC1 instead of using ... kernel 2.6 and x.org. ... I use FC2 on my desktop ... Switching to another distro, SuSE, Mandrake or whatever, might not be ...
    (Fedora)
  • unsubscribe
    ... >>removed APIC from the kernel completely. ... >>I am having no luck getting sound to work. ... > Otherwise I suggest you run xmms in a terminal and try to play something. ... xmms plays just fine via tha Alsa ...
    (Debian-User)
  • Re: new install, sound not working (+2 bonus problems)
    ... sid + 2.6 kernel is pretty bold for a new user, ... I've spent a lot of time messing with ALSA under the 2.4's, ... Did you only compile ALSA stuff, ... you show me the sound portions of the .config for this kernel? ...
    (Debian-User)
  • Re: [2.6 patch] schedule obsolete OSS drivers for removal
    ... the ALSA kernel API can go public and documented (altough I ... libraries over it. ...
    (Linux-Kernel)
  • Re: [2.6 patch] schedule obsolete OSS drivers for removal
    ... > recommend to use ALSA API directly with apps. ... At the same time the kernel API itself should be suitable to ... > I, at least, have never thought that the OSS _API_ would die. ...
    (Linux-Kernel)