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.
just upgraded from 2.4.26 to 2.6.6-rc2 (snapshot yesterday, 2.6.5 had usb bugs)
ive done:
1. upgrade module-init-tools to latest version.
2. upgrade hotplug scripts to latest version
3. got, configured, compiled and installed 2.6.5 kernel.org cleanly, reboot
4. patched to 2.6.6-rc2 (yesterdays snapshot) reboot
5. devfs with /dev-state untouched.
results:
severe: via82xx or xxx drivers and auxilary drivers loaded but not working, no mixer device, not a sound, 8139too must inserted manual, rc.inet1 manual. lmsensors-detect working, but no sensors only eeproms and bttv-i2c outputs. dvb: firmware from dvb 1.1.0 is not accepted: "this is no av7110 firmware".
hint for sound? do i need newest alsa userspace?
i used the 2.4.26 via82 and ac97 drivers before with alsa-libs only, was workaround for xmms distorted sound problems with the alsa drivers. worked fine with xine and xmms, ...
hint for network? some hotplug script or rc.S fucked up?
lmsensors problems are known. news?
it seems modprobe does no longer work with modules.conf , now modprobe.conf(?)
old modules.devfs brought "probeall" errors, deleted probeall content, fixed.
should i delete /dev-state and change devfs config?
no, i do use rc.modules only for forced load of problematic drivers.
[*] Support for frame buffer devices
x x <*> VGA 16-color graphics support
x x[*] VESA VGA graphics support
x x Console display driver support --->
--- VGA text console
x x[*] Video mode selection support
x x < > MDA text console (dual-headed) (EXPERIMENTAL)
x x <*> Framebuffer Console support
x x[*] Select compiled-in fonts
x x[*] VGA 8x16 font
x x Logo configuration ---> [*] Bootup logo
x x[*] Standard black and white Linux logo
x x[*] Standard 16-color Linux logo
x x[*] Standard 224-color Linux logo
x x
fixed. to those of you having problems this is what worked for me..i missed 1 and its in bold. cant be M has to be compiled in for some reason? now for sound! :attempts to install alsa:
I think I know the reason for why it does not work as a module but I'm in now way sure, Just using logic here...
Modules are on the filesystem and the kernel must mount the filesystem before it can read from it. However, during the boot the kernel starts the framebuffer before it mounts the root filesystem. Thus the kernel will need to have the framebuffer-support compiled into it rather than as a module.
At least that's what I can see from looking at my dmesg.
ok 2.6.5 up! FINALLY. i wanna say thank you for all of your input. great community. question though.....i had ati drivers to set my refresh rate correctly. do i need to reinstall the ati drivers? it seems to have its own directory in /lib/modules/fglrx. the refresh rate on my monitor never changed so all is well. i just want to make sure and have everything perfectly running. thanks in advance.
first one is if and when i actually succeed in making my new 2.6.x kernel (something i am still trying to get to work) going can i save it and the system.map and use it on another identical slackware install ???? let's say i have two partitions with slackware 9.1 installed on both of them and i compiled 2.6.x one the first one can i just copy my compiled 2.6.x kernel to the second slack install or do i have to build it for that one too ?????
secondly i am really strugling to get the 2.6.x kernel to work right - after reading this and other forums silly i figured out that my pc don't like me cause it make errors that no one else has so to confuse me - anyhow everytime i compile my 2.6.4 kernel and i reboot there is a diff problem like the one time it didn't wanna show anything even when i fixed everything related to that then on the next reboot i got a pic of a penguin and a | and nothing more and on the next startup i got a kernel panic for no reason - my question is this - IS THAT NORMAL !!! or is the problem between the chair and the keyboard ?????
then i know the diff between modules and built into the kernel but can someone clarify just to make sure i am on the right page y stuff sometimes need to be compiled built into the kernel and sometime they won't work unless they r modules or vice versa - i find it terribly confusing and how would u go about problem solving such issues.
my last question is this - if i need to make one change to something in the kernel do i have to continually rebuild the kernel with the steps from make mrproper right down to make install ????
can anyone tell me how can i get that modules to work? in the last week i haw reinstall slak for 6 times and have recompile the kernel for somethig about 30 times... yes, ive select the module unloading, make modules_install, also install module-init-tools-3.0 (tgz and source) but i still get errors by installing by lan card.
root@client:/home/koki/3c2000# make
gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -DMODULE -I. -DSK_USE_CSUM -I /usr/src/linux-2.6.5/include -D__SMP__ -c -o skge.o skge.c
In file included from /usr/src/linux-2.6.5/include/asm/smp.h:18,
from /usr/src/linux-2.6.5/include/linux/smp.h:17,
from /usr/src/linux-2.6.5/include/linux/sched.h:23,
from /usr/src/linux-2.6.5/include/linux/module.h:10,
from skge.c:344:
/usr/src/linux-2.6.5/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/src/linux-2.6.5/include/asm/smp.h:18,
from /usr/src/linux-2.6.5/include/linux/smp.h:17,
from /usr/src/linux-2.6.5/include/linux/sched.h:23,
from /usr/src/linux-2.6.5/include/linux/module.h:10,
from skge.c:344:
/usr/src/linux-2.6.5/include/asm/mpspec.h:8: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/mpspec.h:9: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/mpspec.h:10: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/mpspec.h:12: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/mpspec.h:19: `MAX_APICS' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/mpspec.h:20: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/mpspec.h:20: conflicting types for `mp_bus_id_to_type'
/usr/src/linux-2.6.5/include/asm/mpspec.h:8: previous declaration of `mp_bus_id_to_type'
/usr/src/linux-2.6.5/include/asm/mpspec.h:22: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/mpspec.h:24: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/mpspec.h:24: conflicting types for `mp_bus_id_to_pci_bus'
/usr/src/linux-2.6.5/include/asm/mpspec.h:12: previous declaration of `mp_bus_id_to_pci_bus'
/usr/src/linux-2.6.5/include/asm/mpspec.h:43: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/src/linux-2.6.5/include/asm/smp.h:20,
from /usr/src/linux-2.6.5/include/linux/smp.h:17,
from /usr/src/linux-2.6.5/include/linux/sched.h:23,
from /usr/src/linux-2.6.5/include/linux/module.h:10,
from skge.c:344:
/usr/src/linux-2.6.5/include/asm/io_apic.h:160: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/io_apic.h:160: conflicting types for `mp_irqs'
/usr/src/linux-2.6.5/include/asm/mpspec.h:22: previous declaration of `mp_irqs'
In file included from /usr/src/linux-2.6.5/include/linux/smp.h:17,
from /usr/src/linux-2.6.5/include/linux/sched.h:23,
from /usr/src/linux-2.6.5/include/linux/module.h:10,
from skge.c:344:
/usr/src/linux-2.6.5/include/asm/smp.h:71:26: mach_apicdef.h: No such file or directory
In file included from /usr/src/linux-2.6.5/include/linux/smp.h:17,
from /usr/src/linux-2.6.5/include/linux/sched.h:23,
from /usr/src/linux-2.6.5/include/linux/module.h:10,
from skge.c:344:
/usr/src/linux-2.6.5/include/asm/smp.h: In function `hard_smp_processor_id':
/usr/src/linux-2.6.5/include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID'
In file included from /usr/src/linux-2.6.5/include/linux/irq.h:20,
from /usr/src/linux-2.6.5/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.5/include/linux/interrupt.h:11,
from h/skdrv1st.h:161,
from skge.c:347:
/usr/src/linux-2.6.5/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux-2.6.5/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.5/include/linux/interrupt.h:11,
from h/skdrv1st.h:161,
from skge.c:347:
/usr/src/linux-2.6.5/include/linux/irq.h: At top level:
/usr/src/linux-2.6.5/include/linux/irq.h:70: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux-2.6.5/include/linux/irq.h:72,
from /usr/src/linux-2.6.5/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.5/include/linux/interrupt.h:11,
from h/skdrv1st.h:161,
from skge.c:347:
/usr/src/linux-2.6.5/include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/hw_irq.h:31: `NR_IRQS' undeclared here (not in a function)
skge.c: In function `skge_probe':
skge.c:504: warning: implicit declaration of function `pci_present'
skge.c:530: warning: implicit declaration of function `init_etherdev'
skge.c:530: warning: assignment makes pointer from integer without a cast
skge.c:679: warning: assignment makes pointer from integer without a cast
skge.c: In function `SkGeBoardInit':
skge.c:1085: warning: passing arg 2 of `request_irq' from incompatible pointer type
skge.c:1088: warning: passing arg 2 of `request_irq' from incompatible pointer type
skge.c: In function `SkGeOpen':
skge.c:1793: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux-2.6.5/include/linux/module.h:515)
skge.c: In function `SkGeClose':
skge.c:1893: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux-2.6.5/include/linux/module.h:527)
make: *** [skge.o] Error 1
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225
Rep:
Hi,
Has anybody compliing the 2.6.5 kernel had problems with netgear network cards?
Specifically there seems to nolonger be support for my netgear PCI network card - sorry I don't have the exact card model to hand - however after checking through the kernel tree there doesn't appear to be support for any netgear 10/100 network cards.
If your Netgear NIC is a FA310TX card then its the same one I used. I got it working on Kernel 2.6.6 with the following:
in your menuconfig or xconfig enable the tulip network card entry and then set the dec 211X setting as a module [M] and then you have 4 other options
leave the one directly below dec 211x as blank
Select the entry below the one that you have left blank after that
and select the NAPI and the sub entry below that as well
once you have all your other system settings in place do you make and then make modules and make modules_install then do your lilo entry
Here's the kicker. If you reboot once you have installed your new kernel the NIC card won't work.
to activate your nic card at start up edit your /etc/rc.d/rc.modules file and locate the /sbin/modprob tulip entry and uncomment it and save the file and then reboot
This should then start the NIC card
Sorry if this is unclear I am working from memory.
1. If this is a question about getting a component PCI device working; soundcards, network cards, wireless network cards, video cards, etc... paste in the output of
/sbin/lspci
Also remember, AGP cards are listed under lspci as well as vanilla pci cards.
Also remember that the onboard IDE controller is another PCI device.
Model numbers from the manufacturers are worthless. For example, a Dlink DWL-520 and a Dlink DWL-520+ have nothing to do with one another, and this took me about a week to sort out for people until I got the lspci listing off of one of them.
or
A Linksys WMP11 and a Linksys WMP11 have nothing to do with one another. Yeah, the same box, manual, slightly different label on the CD, and version 2.7 as opposed to v2.5, one is broadcom, the other prism2.5, one is unsupported the other is well supported, over supported even... by three different driver groups!
By using the /sbin/lspci command, I was able to find out that my Network card was a National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller based card and there is an entry for DP838xx series cards within the modules available as part of the 2.6.5 kernel.
Bit of a stupid mistake really, but hopefully by posting this here, anyone else having a similar problem will realise they need to check exactly what hardware their card etc is using, not just that it's a netgear card and there are apparently no netgear labeled driver available.
Ok, I'm now once again trying to compile my first kernel (2.6.6) successfully. A few weeks ago, I already compiled and installed a 2.6.* kernel (with help of this guide), and everything seemed to work well (except for my sound card, but that's a common and easy to solve problem as I learned), it booted into X and I could use my desktop. But then after a few minutes the desktop just freezed completely, even the keyboard didn't respond anymore.
I know this is impossible for you guys to know why this happened, don't even know why I'm writing this, but maybe someone had similar problems or knows what could cause such a freeze.
Wooo. Upgrade complete. And it seems to work now! Even sound works without any problems.
After the first reboot, it freezed during the boot process, but the 2nd boot worked. Only got a few warnings that "ide-scsi" is deprecated and about 2 missing modules. But I know how to get rid of these.
Nah, it freezed again. But before I give up, how could I find out what the cause of these freezes is?
make install aborted with an error that /etc/lilo.conf could not be found, I don't use Lilo, I use Grub, but I thought this error is not of importance since all the kernel related files have already been moved to their proper locations. But how could I disable that make install tries to write to lilo.conf?
Oh btw, I used the .config from my old 2.4.26 kernel (the one thats in Slackware current) and only removed some exotic stuff that I certainly won't need for my system.
thanx to DaOne and everyone else that contributed to this thread - i finally after 10k of kernel compiles finally got a working 2.6.5 kernel with nvidia sound and NIC working + have a bootsplash going no Questions asked - - very happy -
a couple of questions though i still get some errors bout 3 modules not being able to load one of which is the agpgart the other is scsi and the other is apm - and as far as i know i have all 3 in my kernel - ???????
then y when i type dmesg in CLI i get stuff reading "Badness in pci_find_subsys at drivers/pci/search.c:167" ? ????????????????????
then lastly - y does some thing no like to be in the kernel and only works when it is compiled as a module and vice versa ????????? some thing likes to be "kernelized" and other "modulated" ??????
lastly can someone help me with my nvidia graphics setup - when i type glxgears i get this readout:
===CODE BEGIN===
sv452@sv452:~$ glxgears
2440 frames in 5.0 seconds = 488.000 FPS
2697 frames in 5.0 seconds = 539.400 FPS
2724 frames in 5.0 seconds = 544.800 FPS
2730 frames in 5.0 seconds = 546.000 FPS
===CODE ENDS===
i have a nvidia gforce2 intergrated with 32MB ram - i know it can do better than this i just don't know how ...
I could get the kernel 2.6.6 to boot nicely following the steps in the first post of the topic however i'm getting a problem with the modules which it can't load correctly given the FATAL error during startup.
I don't have a clue about what to do and i'm almost going back to the 2.4.x ...
I think that i could get it solved by installing a kernel-modules.tgz, as once i accidently deleted it (still with the old kernel) and got the same mistake. However i can't find it for the 2.6.6 version except for the xfs one which didn't workout...
OBS.: i've got all the modules wanted commented out from rc.modules ...
Please help (i tried searching the forum but couldn't find any solution...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.