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.
Quoted 4 lines · 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>
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 14 lines · Nick Warne
Quoted 9 lines · 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.
Quoted 8 lines
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.
Quoted 1 line · 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
Quoted 2 lines
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
Quoted 9 lines · Lee Revell
Quoted 1 line · On Mon, 2006-03-13 at 08:42 -0300, j4K3xBl4sT3r wrote:
1. before, the mouse worked fine. now, it doesnt works
Probably
/dev/input/micevs./dev/psauxisueQuoted 2 lines
2. before, the sound worked. and now, still working, just with ALSA, no OSS support (tested with mpg321 and ogg123 on bash terminal)
Quoted 6 lines
Best:
aoss ./oss-appNot 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
Signature · 1 line
178: alg.Padding = PaddingMode.None;
Quoted 13 lines · Pavel Machek
Quoted 12 lines · Lee Revell
Quoted 1 line · On Mon, 2006-03-13 at 08:42 -0300, j4K3xBl4sT3r wrote:
1. before, the mouse worked fine. now, it doesnt works
Probably
/dev/input/micevs./dev/psauxisueQuoted 2 lines
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
Quoted 6 lines
Quoted 3 lines
Not as good:
modprobe snd-pcm-oss
./oss-appCould 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
Hi!
Quoted 15 lines
Quoted 15 lines
Quoted 14 lines
Quoted 1 line
1. before, the mouse worked fine. now, it doesnt works
Probably
/dev/input/micevs./dev/psauxisueQuoted 2 lines
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-appNot as good:
modprobe snd-pcm-oss
./oss-app
Quoted 7 lines
Quoted 2 lines
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
Signature · 1 line
Thanks, Sharp!
Quoted 2 lines · Pavel Machek
Aha, I see. Does snd-pcm-oss have all the features OSS used to have on that hardware?
Yes.
Lee
Quoted 10 lines · 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)
Quoted 2 lines
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>
Quoted 15 lines · Chris Largret
Quoted 10 lines · 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)Quoted 2 lines
This situation happened on the Slackware 10.2, assuming a Kernel Update.
Quoted 8 lines
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
Quoted 2 lines · 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
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. =/
Quoted 15 lines · Lee Revell
Quoted 2 lines · 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_PNPis enabled.Lee