SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi folks
I upgraded my slackware9.1 to Slackware10.1 using swaret.
I then downloaded kernel 2.6.0 , moved it to /usr/src/, followed the steps as I learnt from this forum and compiled it successfully
My system is HP Pavilion ze5200 Laptop
Now my ACPI is working properly and I can use Battery Monitor
But I face the following problems and I am looking for any assistance to set right
1. I can't connect to internet any more
running netconfig is of no use
2. my console is very small now. (640 X 480). How can I configure to increase it to the full display size (1280 X 1024) ? I know how to set display in x windows but not for the tty terminals.
3. Sound is not working. It says can't find /dev/dsp
4. Booting into X flickers for a moment and then the display is good. But with kernel 2.4.0 no such probelm. Can I use the old xorg.conf file instead of the new one or is there any work around for this.
5. How can I configure my ATI Radeon driver instead of the VESA ?
first : why do you use the 2.6.0 ? ( sure that's the right version.? )
better get the latest.....( 2.6.11.5 )
and your Q.'s :
1) if you type ( as root in a console ) " # ifconfig " , what do you get ?
( is it there as eth0 .... )
if not, look at how your nic is recognised with " #lspci ", and load the proper module with " #modprobe <mod-name> "
use " #lsmod " to check if it's loaded.
2)you'll need to compile framebuffer-support for your graph.card into the kernel
and use the " vga=xxx" option in lilo.conf. ( then rerun " lilo" )
3)/dev/dsp might not exist ? check that...
4)&5) try " radeon " for the display driver in xorg.conf.
1. ifconfig does not return eth0. I will try to load the modules as you have suggested and see the result
In /etc hosts, hosts.config, networks are all fine. How can I bring up the eth0 ?
2./etc/lilo.conf already contains
vga = 773
which means VESA frame buffer console with 1024X768X256. Same is the case with kernel 2.4.0 but everything is fine. I don't understand how to add the frame-buffer support in the kernel compilation. Does it mean, I need to compile the kernel again with the support ? If so where exactly it is?
3. /dev/dsp is right there but still it is not working. By the way I don't know where the boot log messages are saved. there is no such /var/log/dmesg anymore in 10.1. So I am not able to post the exact boot message here which complains that ALSA is missing like that.
4.I will try radeon in lilo.conf for the driver as you suggested.
if you used " netconfig " then the config file " /etc/rc.d/rc.inet1.conf " should contain all info.
( check that )
if thats ok, make sure "/etc/rc.d/rc.inet1" is executable.
then just run
1.Nothing works for the internet and it could not find eth0 at all
It fails while trying to start the dhcpd server and complains that STD......ADDR not found.
2. I added frame buffer support but still the console is small.
3. /dev/dsp is fine with rwxrwzrwx permissions. But could not get sound.
One thing I don't understand is that, both the kernels use the same lilo.conf file. So my settings should not be a problem since both I have vga = 773 in the file. I suspect that 2.4.0 Kernel takes the vesa buffer by default. But while compiling Kernel 2.6.0 it takes the Radeon AGP 345M driver and that is the problem. I don't know how to tweak it.
Same is the case for sound also.
lspci output is the same in both the kernels but sound is not working for kernel 2.6.0
======================================================
I don't know where is the boot log message is saved. if you can help me to find out that, then the boot log will be much informative to get more info regarding the problem. I searched but it is not in /var/log/dmsg.
======================================================
The only advantage I am having is that ACPI works fine after compiling.
I compiled 2 to 3 times with different options for frame buffer support, console buffer support, alsa sound etc., but in vain.
***Note : When I installed Slackware 9.1 from cd and upgraded it to version 10.1, there is nothing inside /usr/src. i.e. no .config at all. I put 2.6.0 kernel there and created a new config file using menu config. My question is how can I revert back to the original position, that to my 2.4.0 config. If I can do that, then I will use that same original .config for 2.6.0 with only the ACPI support and that is what I need.
Congrats, you succeed to configure and compile a running kernel from scratch (without an old config). You can be proud of that, it is not easy
You are very close to perfect as you have only internet and sounds issue.
thing to check in kernel config (cd to your kernel dir) :
- For framebuffer
Have you video select enabled ?
grep CONFIG_VIDEO_SELECT .config
- For sound, I suppose you are already in audio group in /etc/group
/dev/dsp is a symlink in 2.6 kernel so you have to ls -l the original file to find permissions
Do you have hotplug and udev enabled ?
/etc/rc.d/rc.hotplug and /etc/rc.d/udev need to be executable
- For internet, post the output of
/sbin/lspci | grep net
Hi,
Well i'm not an expert, but lemme see if i can help. Your main problem as i can see, is that you don't have any modules installed, that's why lsmod doesn't display anything. You compiled your kernel with "*" options or with "M" options ?
Hi
Actually I don't remember that. But I simply used <space> bar if I want to include something. Somtimes it is * and some time it is M. Is there any difference between these things? I am a newbie and I appreciate any help.
Well, the only difference is when you choose "M" you are telling the kernel that those will compile as modules, you can load them with insmod or you can remove them with rsmod. And when you choose "*" you are inlcuding them in the kernel, they are not modules. and you can't remove them or add them, unless you recompile the kernel.
By the way, why you downloaded the 2.6.0 kernel ? why you don't download and install the new kernel 2.6.11 ? maybe it has support for your hardware and maybe you will have less problems with your laptop.
install udev slackware package, udev/2.6 kernel works fine
From your lspci output, try to enable as module (if you can):
Device Drivers-->Networking support-->
Ethernet (10 or 100Mbit)
EISA, VLB, PCI and on board controllers
National Semiconductor DP8381x series PCI Ethernet
hmm...in kernel 2.6.11.5 there is no " CONFIG_FB_VESA=y "
i have the rest, and it's doing ok here.
but, even with " vga=normal " in the lilo.conf, i get a logo ?
i allways thought "vga=normal" wouldn't give anything but text.
strange thing....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.