Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
03-22-2005, 06:22 PM
|
#1
|
LQ Newbie
Registered: Mar 2005
Posts: 7
Rep:
|
Problems after Kernel 2.6.0 compilation
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 ?
Regards
|
|
|
03-22-2005, 06:35 PM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
hi there,
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.
egag.
|
|
|
03-23-2005, 06:17 AM
|
#3
|
LQ Newbie
Registered: Mar 2005
Posts: 7
Original Poster
Rep:
|
Problems after Kernel 2.6.0 compilation
Hi egag
Thanks for the suggestions.
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.
I appreciate any help
Regards
K.Suresh
|
|
|
03-23-2005, 08:32 AM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
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
#/etc/rc.d/rc.inet1 stop
#/etc/rc.d/rc.inet1 start
this script takes care of lo and eth .
and framebuffer support is under graphics support in the kernel config menu.
check permissions on /dev/dsp ( maybe it's a symlink to /dev/sound/dsp )
perm.'s should be rw-rw-r--
i think the radeon driver will give you better results.
egag
|
|
|
03-24-2005, 06:17 PM
|
#5
|
LQ Newbie
Registered: Mar 2005
Posts: 7
Original Poster
Rep:
|
Problems after Kernel 2.6.0 compilation
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.
ksr
Last edited by ksrjapan; 03-24-2005 at 06:22 PM.
|
|
|
03-24-2005, 06:38 PM
|
#6
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552
|
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
And the output of lsmod would be usefull too
|
|
|
03-25-2005, 07:32 PM
|
#7
|
LQ Newbie
Registered: Mar 2005
Posts: 7
Original Poster
Rep:
|
Hi I am putting the results as below
grep CONFIG_VIDEO_SELECT .config says that it is not set.
If I change it to CONFIG_VIDEO_SELECT=yes, do I need to recompile the kernel.
/dev/dsp is a syslink to /dev/dsp0
/dev/dsp is lrwxrwxrwx
/dev/dsp0 is crw-rw--w-
/etc/rc.d/rc.hotplug is -rwx-r-xr-x
/etc/rc.d/udev is not there
lsmod says
lsmod : QM_MODULES :Function is implemented.
This is the lspci | grep net
00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
This is the lspci output
00:00.0 Host bridge: ATI Technologies Inc: Unknown device cbb2 (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
00:08.0 Modem: ALi Corporation Intel 537 [M5457 AC-Link Modem]
00:0a.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
00:0c.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
00:0f.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:11.0 Bridge: ALi Corporation M7101 PMU
00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 340M
By the way where is the boot log message actually saved.
While loading, it tries to run dhcpd and then it says that something is missing like
ioctl SIOCGIFHWADDR : No such device
How can I check the boot log messages. I could not find inside the /var/log directory.
ksr
|
|
|
03-25-2005, 10:43 PM
|
#8
|
Member
Registered: Feb 2004
Distribution: Slackware
Posts: 230
Rep:
|
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 ?
|
|
|
03-26-2005, 12:55 AM
|
#9
|
LQ Newbie
Registered: Mar 2005
Posts: 7
Original Poster
Rep:
|
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.
ksr
|
|
|
03-26-2005, 09:19 AM
|
#10
|
Member
Registered: Feb 2004
Distribution: Slackware
Posts: 230
Rep:
|
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.
|
|
|
03-26-2005, 09:25 AM
|
#11
|
Member
Registered: Feb 2004
Distribution: Slackware
Posts: 230
Rep:
|
Oh by the way, i recommend you follow the instructions of shilo's thread, maybe the instructions will help you a lot.
|
|
|
03-26-2005, 12:33 PM
|
#12
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552
|
Quote:
/etc/rc.d/udev is not there
|
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
|
|
|
03-27-2005, 06:13 AM
|
#13
|
LQ Newbie
Registered: Mar 2005
Posts: 7
Original Poster
Rep:
|
Thanks for every help
I recompiled kernel 2.6.11 and now internet and sound are fine (compiled as in built in the kernel using *)
But still my console is very small though I configured graphic card to have frame buffer support.
Any clue
|
|
|
03-27-2005, 10:02 AM
|
#14
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552
|
For the console size make sure you configured the kernel with :
CONFIG_VIDEO_SELECT=y
CONFIG_VGA_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FB_VESA=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
#optional
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
|
|
|
03-27-2005, 10:42 AM
|
#15
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
Quote:
Originally posted by keefaz
For the console size make sure you configured the kernel with :
CONFIG_VIDEO_SELECT=y
CONFIG_VGA_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FB_VESA=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
#optional
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
|
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....
egag
|
|
|
All times are GMT -5. The time now is 03:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|