2006-03-12 18:15:36

by marcos cunha

[permalink] [raw]
Subject: Kernel config problem between 2.4.x to 2.6.x!

First of all I would like to show my PC hardware:

Athlon 700Mhz processor
Asus K7M mobo (Via chipsets, sound, modem and network offboard)
SoundBlaster 16 (ISA bus)
Diamond Stealth III / A200 (core S3 Savage 4)
128 MB RAM PC100
DVDROM/CDRW LG GCC-44800
NIC LG 10/100 - core Via Rhine, from mobo
Mouse connected through a HID device

Network connection through a DSL modem (using eth0) by PPPoE

I've tried to configure a linux system with the minimal and updated
software, using the linuxfromscratch.org books. Tried 4 times before
finishing it, took a long time, 2 weeks, due to some experiences and
time loss (some softwares compiled/tested for a very long time, like
GLibC and GetText, around 1 hour+). Currently I have a targz of this
system, Kernel 2.6.15.4 (recent one) with GCC 4.0.2, Binutils 2.15.4
and GLibC 2.3.6.

I tried also installing the lastest Slackware (10.2, comes with 2.4.x
kernel) distro, got it working very well, until installed the Kernel
2.6.x.

The problem is:

1. On the slack system, when I install the 2.6.x, everything on the
system starts crashing, the Xorg doesnt starts anymore, the network
doesnt works anymore (DSL by PPPoE), and also the sound.

2. On my own distro, I've started with the 2.6.x kernel, but still
getting the network problem, and the sound card doesnt work, the
PNPDUMP finds nothing, the ALSA simply doesnt work too, and I get some
errors, that doesnt happen on the 2.4.x system, while compiling the
Net-Tools package (linuxfromscratch doesnt consider it as essential on
the LFS book, it just appears over the BLFS book).

Any suggestion? The config of my kernel includes ACPI, APM, ALSA, Elf
a.out and misc binaries as build-in, ext2 and ext3 built-in, Netfilter
as module (tried also as built-in), VESA VGA / Framebuffer, SCSI and
IDE drivers, USB mass storage.

Thanks in advance,
jake.


2006-03-12 20:43:21

by Chris Largret

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

On Sun, 2006-03-12 at 15:15 -0300, j4K3xBl4sT3r wrote:

> Any suggestion? The config of my kernel includes ACPI, APM, ALSA, Elf
> a.out and misc binaries as build-in, ext2 and ext3 built-in, Netfilter
> as module (tried also as built-in), VESA VGA / Framebuffer, SCSI and
> IDE drivers, USB mass storage.

Could you provide the output from lsmod and dmesg?

--
Chris Largret <http://daga.dyndns.org>

2006-03-13 11:42:09

by marcos cunha

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

On 3/12/06, Nick Warne <[email protected]> wrote:
> On 12/03/06, j4K3xBl4sT3r <[email protected]> wrote:
> > I tried also installing the lastest Slackware (10.2, comes with 2.4.x
> > kernel) distro, got it working very well, until installed the Kernel
> > 2.6.x.
> >
> > The problem is:
> >
> > 1. On the slack system, when I install the 2.6.x, everything on the
> > system starts crashing, the Xorg doesnt starts anymore, the network
> > doesnt works anymore (DSL by PPPoE), and also the sound.
>
> Well, I don't know what is going on your end, but I use base Slack 10,
> and when I installed I was on 2.4.x.
>
> Then I upgraded to 2.6.x but used the .config supplied by Pat to build
> a base kernel, which all worked. Then I modified from there.
>
> The only issue I had (later in 2.6.x development) was udev needed
> upgrading (search lkml for that thread).
>
> Nick
>

I've tried on the last 2 hrs like you, copying the .config from the
2.4.x kernel (slack 10.2) to the newest stable 2.6.15.4. The situation
now was:

1. before, the mouse worked fine. now, it doesnt works
2. before, the sound worked. and now, still working, just with ALSA,
no OSS support (tested with mpg321 and ogg123 on bash terminal)
3. strangely, the X worked fine after the kernel update, is DRM and
AGPGART needed by Xorg?
4. before, the PPPoE connected within the 2 first "." (seconds?). Now,
doesnt work, I always get TIMEOUT from PPPoE.
5. the PNPDUMP returns a empty file on the isapnptools (from the
compilation, this is the only file that gets fully compiled)

This situation happened on the Slackware 10.2, assuming a Kernel
Update. I've tryed to do the same on the last 10 mins, but the
compilation of the kernel took too long, around 50 min (I did a small
kernel just with IDE and got on 5min, and a smart kernel for my system
took 15~ mins).

On the LFS system, I still cant compile net-tools, gpm. =/

@Chris, I couldn't get the dmesg, cuz I put fire on my HDC1 first =P
and lsmod doesnt matter to much since most hardware I compile as
built-in, so it doesn't show. But I did a TarGz of this distro hehe,
so I'll try it again and show up to you here.

j4k3.

2006-03-13 18:06:42

by Lee Revell

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

On Mon, 2006-03-13 at 08:42 -0300, j4K3xBl4sT3r wrote:
> 1. before, the mouse worked fine. now, it doesnt works

Probably /dev/input/mice vs. /dev/psaux isue

> 2. before, the sound worked. and now, still working, just with ALSA,
> no OSS support (tested with mpg321 and ogg123 on bash terminal)


Best:
aoss ./oss-app

Not as good:
modprobe snd-pcm-oss
./oss-app

Lee

2006-03-14 00:52:56

by Chris Largret

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

On Mon, 2006-03-13 at 08:42 -0300, j4K3xBl4sT3r wrote:

> 1. before, the mouse worked fine. now, it doesnt works
> 2. before, the sound worked. and now, still working, just with ALSA,
> no OSS support (tested with mpg321 and ogg123 on bash terminal)
> 3. strangely, the X worked fine after the kernel update, is DRM and
> AGPGART needed by Xorg?
> 4. before, the PPPoE connected within the 2 first "." (seconds?). Now,
> doesnt work, I always get TIMEOUT from PPPoE.
> 5. the PNPDUMP returns a empty file on the isapnptools (from the
> compilation, this is the only file that gets fully compiled)
>
> This situation happened on the Slackware 10.2, assuming a Kernel
> Update.

I'm running Slackware 10.2 on my server with the 2.6 kernel. Did you
remember to chmod +x /etc/rc.d/rc.udev? It is either an issue with /dev
or an issue with the drivers not being initialized correctly.

--
Chris Largret <http://daga.dyndns.org>

2006-03-14 01:31:53

by marcos cunha

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

On 3/13/06, Chris Largret <[email protected]> wrote:
> On Mon, 2006-03-13 at 08:42 -0300, j4K3xBl4sT3r wrote:
>
> > 1. before, the mouse worked fine. now, it doesnt works
> > 2. before, the sound worked. and now, still working, just with ALSA,
> > no OSS support (tested with mpg321 and ogg123 on bash terminal)
> > 3. strangely, the X worked fine after the kernel update, is DRM and
> > AGPGART needed by Xorg?
> > 4. before, the PPPoE connected within the 2 first "." (seconds?). Now,
> > doesnt work, I always get TIMEOUT from PPPoE.
> > 5. the PNPDUMP returns a empty file on the isapnptools (from the
> > compilation, this is the only file that gets fully compiled)
> >
> > This situation happened on the Slackware 10.2, assuming a Kernel
> > Update.
>
> I'm running Slackware 10.2 on my server with the 2.6 kernel. Did you
> remember to chmod +x /etc/rc.d/rc.udev? It is either an issue with /dev
> or an issue with the drivers not being initialized correctly.
>
> --
> Chris Largret <http://daga.dyndns.org>
>
>

doesnt matter executing the rc.udev, I run udevd and udevstart on my
system. and doesnt work =S

2006-03-14 01:37:20

by Lee Revell

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

On Mon, 2006-03-13 at 22:31 -0300, j4K3xBl4sT3r wrote:
> doesnt matter executing the rc.udev, I run udevd and udevstart on my
> system. and doesnt work =S

Did you read the "post Halloween document" describing changes from 2.4
to 2.6 or the LWN coverage of the 2.4->2.6 transition? It's not
supposed to be a seamless upgrade...

udev must be working if ALSA works as it also depends on device nodes.

IIRC isapnptools is not needed if CONFIG_PNP is enabled.

Lee

2006-03-14 20:50:11

by marcos cunha

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

eheh.. I dont know about this "Halloween document", I'm not a kernel
developer, just a Linux user, I'm building DISTROS, not PATCHES or
smth for the kernel, since I dont have this exp level on hardware
coding.

Btw, I got a way to run sound on my distro, fixing (one of) my
problem(s). I've rebuilt my kernel with built-in ALSA, and sb16
modules. When I tryed to do modprobe on snd16 or sbawe, it says that
there is no SB16/AWE board. So I installed alsa-lib and alsa-utils
anyways and got, amazing, working. Just a option to disable the ISA
PlugAndPay. So, I cannot work with the ISAPNP? My dmesg's isapnp from
kernel shows "No cards founds", the problem is on my BIOS config or
what?

And about the DSL PPPoE, it was really strange, on the last bzImage
(ALSA), I've included full PPP support as modules. When I did
pppoe-connect, I got TIMED OUT, but at this time, ip route gave me a
ppp0 link to my ISP and changed my default gateway. But neither lynx
nor wget found nothing... try out pinging 200.165.152.155, it's my DNS
unique server. =/

On 3/13/06, Lee Revell <[email protected]> wrote:
> On Mon, 2006-03-13 at 22:31 -0300, j4K3xBl4sT3r wrote:
> > doesnt matter executing the rc.udev, I run udevd and udevstart on my
> > system. and doesnt work =S
>
> Did you read the "post Halloween document" describing changes from 2.4
> to 2.6 or the LWN coverage of the 2.4->2.6 transition? It's not
> supposed to be a seamless upgrade...
>
> udev must be working if ALSA works as it also depends on device nodes.
>
> IIRC isapnptools is not needed if CONFIG_PNP is enabled.
>
> Lee
>
>

2006-03-16 12:16:46

by Pavel Machek

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

On Po 13-03-06 13:06:35, Lee Revell wrote:
> On Mon, 2006-03-13 at 08:42 -0300, j4K3xBl4sT3r wrote:
> > 1. before, the mouse worked fine. now, it doesnt works
>
> Probably /dev/input/mice vs. /dev/psaux isue
>
> > 2. before, the sound worked. and now, still working, just with ALSA,
> > no OSS support (tested with mpg321 and ogg123 on bash terminal)
>
>
> Best:
> aoss ./oss-app
>
> Not as good:
> modprobe snd-pcm-oss
> ./oss-app

Could snd-pcm-oss be fixed? If OSS is to be removed from kernel, it
would be nice to have working and compatible emulation.
Pavel
--
178: alg.Padding = PaddingMode.None;

2006-03-16 19:06:14

by Lee Revell

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

On Thu, 2006-03-16 at 12:25 +0100, Pavel Machek wrote:
> On Po 13-03-06 13:06:35, Lee Revell wrote:
> > On Mon, 2006-03-13 at 08:42 -0300, j4K3xBl4sT3r wrote:
> > > 1. before, the mouse worked fine. now, it doesnt works
> >
> > Probably /dev/input/mice vs. /dev/psaux isue
> >
> > > 2. before, the sound worked. and now, still working, just with ALSA,
> > > no OSS support (tested with mpg321 and ogg123 on bash terminal)
> >
> >
> > Best:
> > aoss ./oss-app
> >
> > Not as good:
> > modprobe snd-pcm-oss
> > ./oss-app
>
> Could snd-pcm-oss be fixed? If OSS is to be removed from kernel, it
> would be nice to have working and compatible emulation.

Well, snd-pcm-oss is a working and compatible emulation, but it can't
provide all of the features that ALSA implements in userspace like
channel routing, mixing of multiple streams, software volume control,
etc. So aoss is the recommended way to run OSS apps on a moden distro.

Lee

2006-03-16 20:39:00

by Pavel Machek

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

Hi!

> > > > 1. before, the mouse worked fine. now, it doesnt works
> > >
> > > Probably /dev/input/mice vs. /dev/psaux isue
> > >
> > > > 2. before, the sound worked. and now, still working, just with ALSA,
> > > > no OSS support (tested with mpg321 and ogg123 on bash terminal)
> > >
> > >
> > > Best:
> > > aoss ./oss-app
> > >
> > > Not as good:
> > > modprobe snd-pcm-oss
> > > ./oss-app
> >
> > Could snd-pcm-oss be fixed? If OSS is to be removed from kernel, it
> > would be nice to have working and compatible emulation.
>
> Well, snd-pcm-oss is a working and compatible emulation, but it can't
> provide all of the features that ALSA implements in userspace like
> channel routing, mixing of multiple streams, software volume control,
> etc. So aoss is the recommended way to run OSS apps on a moden distro.

Aha, I see. Does snd-pcm-oss have all the features OSS used to have on
that hardware? If so, sorry for the noise (but please tell me).
Pavel
--
Thanks, Sharp!

2006-03-16 20:49:14

by Lee Revell

[permalink] [raw]
Subject: Re: Kernel config problem between 2.4.x to 2.6.x!

On Wed, 2006-03-15 at 23:13 +0000, Pavel Machek wrote:
> Aha, I see. Does snd-pcm-oss have all the features OSS used to have on
> that hardware?

Yes.

Lee