| |
| |
| |
|
Page: 1 2
Comments:
<0> Hi everyone <0> quick question, what is the best IDE to use for browsing through the kernel source? and is there any good GUIDES on linux kernel development? <1> hmm <1> i could actually answer that <2> http://www.avemetal.com ! :) <3> i'm a NEWBIE running debian gnu/linux sarge 2.6.8-3 on a laptop P133 80MB RAM and everything work OK except the wireless cards. whenever i insert a card in the pcmcia slots i get : cs: pcmcia_socket0: unable to apply power <3> http://www.kernel.org/pub/linux/utils/kernel/pcmcia/powerbugs.html has NO newbie friendly fix for sarge! <4> What compiler do I need to compile Linux-2.4.26? <4> I have been trying very hard with no success. I have tried both gcc 2.95.3 and 3.4.5 <4> Neither can compile the kernel (from kernel.org). <5> floyy@bitch:~$ cat /proc/version <5> Linux version 2.4.31 (root@tree) (gcc version 3.3.5) #6 Sun Jun 5 19:04:47 PDT 2005 <5> last stable I think in 2.4.* <4> I can compile 2.4.30 fine. <4> Its 2.4.26 that won't work. <4> I suppose ill just have to write a shell script to download and compile every gcc in existance until it finds the one that works?
<4> It has something to do with a fastcall macro. <4> A function will have fastcall in one place, but not in another, the compiler notices this and errorrs. <4> Ill try it with 3.2.2 next, as I just installed it. <4> If that doesnt work I suppose ill give 3.3.5 a shot... <4> nope, gcc-3.3.5 won't work either... <4> Is it even possible to compile 2.4.26? <4> hmmm... the README file says to use 2.95.3 <4> For what reasons wouldn't a kernel compile with the default options with the compiler version the README says to use? <4> you see, we have "extern void FASTCALL(smp_send_reschedule(int cpu));" on line 29 of include/linux/smp.h <4> yet, we have extern void smp_send_reschedule(int cpu); on line 42 of include/asm/smp.h <5> step by step <5> ;) <5> linux from scretch :) <4> floyy: are you telling me to modify the kernel source code by hand? <4> someone must have got this thing to compile at some point... <5> no <5> I am telling you , you are not install somethin propertly.. <4> floyy: I had to install gcc by hand because gentoo won't let me install gcc-2.95.3 <5> i dunno where is mistake <4> I spent several hours working on it before and couldn't figure it out, so I got the 2.95.3 source code and compiled and installed it to /opt/gcc-2.95.3 <4> Someone in ##Linux told me all I have to do it make CC=/opt/gcc-2.95.3/bin/gcc dep bzImage. <4> Is this wrong? <5> i dunno <5> I never had that mistake <4> floyy: how do you select the compielr to use? <5> what kind of question is that ? <4> floyy: What kinds of questions exist? <4> I wasn't aware that there was more than one type... <5> mkdir /usr/src/gcc-build;cd /usr/src/gcc-build/gcc-2.95.2/configure --with-gxx-include-dir=/usr/src/include/g++ \ --enable-shared --enable-languages=c,c++ <3> i'm a NEWBIE running debian gnu/linux sarge 2.6.8-3 on a laptop P133 80MB RAM and everything work OK except the wireless cards. whenever i insert a card in the pcmcia slots i get : cs: pcmcia_socket0: unable to apply power <5> make bootstrap <3> http://www.kernel.org/pub/linux/utils/kernel/pcmcia/powerbugs.html has NO newbie friendly fix for sarge! <5> make install <5> ;) <4> floyy: how does it avoid overwritting your old gcc? <5> rm that pkg <4> rm the old gcc? <4> What if I need it? <5> hmm <5> you install new one <6> spin_unlock_irqrestore ? what do this function ? <7> hi, i know the kernel has support for my nforce mobo with audio etc... should I install the official driver from Nvidia? <7> hi <7> why is the 2.4 kernel still on developing while 2.6 is out? <8> any sparc gurus around? <8> i was hoping someone could explain why the lock is needed in atomic_set() on sparc ... <9> because source is text, compiled is binary, binary uses more than double the character space not to say that it uses it better <10> VIm_Enforcer: you dont compile everything, you optimize and machine code is generally much more compact then C code, read up on compiling on wikipedia <11> hm <11> but then, all the chars, they are converted into bytes <11> so it should be the same <11> nvm <11> i'll read it up <11> :) <11> oh, i see <9> no cos the for return; theres only 1 byte <10> no, you have to interprete the C code, read up itll probably be easier <11> heh <11> i see now <11> my bad <9> search on asm :-)
<11> it's not just simple char to byte conversion <11> :) <11> sorry to bug you with stupid questions :P <11> ubra: :) <10> and while you're at it search for other programming languages like brain**** or shakespear, which might teach you more bout compiling and such <11> heh <9> brain**** heheh ><>,.,. <10> brain**** has really compact source code, but its completely illegible <9> you mean the asm source <9> cos there are some in perl and so <9> oh, nevermind <11> heh <11> when i learn C i'll get to hacking the kernel <9> thougth you meant the compiler <11> :P <10> get "The C Programming Language: Second Edition" <10> good book to get started <11> bobbens: yeap <11> i'll find an ebook <11> :) <10> that one is one of the best, its a bit old but will get you making proper code, unlike th crap you can see slapped together online <9> dont like 21 days C tutorials eh? <11> my words <11> 21 days c tuts for the lose!!! <11> screw them <11> you can't learn how to program in 21 days <11> in any language <11> except maybe for awk <11> :P <11> which rock, btw. <11> s <9> well i did for perl and php <11> bobbens: http://www.fis.cinvestav.mx/~jccorona/manuales/ProgrammingLanguageAnsiC.pdf -- a quick solution :D <9> in like 10 days or so.. knowing good C though <11> ubra: ya, but did you MASTER them? <11> you know programming only when you dream about making scripts <11> ;) <10> VIm_Enforcer: yeah thats the one i meant <9> you mean by master? im not a web designer so i have no interest <11> bobbens: heh, i know, saw it in bookshop <9> i did some weather php page.. database and such.. <11> but it's kinda expensive <10> this might be a bit offtopic for #kernel btw <11> sorry <10> VIm_Enforcer: i have a printed copy <11> heh <10> you might want to try ##C <11> yes, yes, sorry <11> goodbye, see yeo when i get into c <12> hello all. <12> I've some problem regarding sk98lin ver 8.31.2.3 and also the sk98lin on 2.6.16-r6 <12> I'm on DGE-530T and seem to be the vendor driver work... <12> and I found some hint on the web saying I've to disable the sk98lin and make sky2 module? <12> is that right? <13> hi <13> what cause "Kernel panic: Attempted to kill the idle task!" panic <9> init tried to exit() <9> you got that w/o messing with the kernel? <9> paistis <13> what is the w/o messing= <13> problem is solved <13> dram enhanced paging -> boot helps <13> thaks ubra anyway <14> Hey, I have some problems with my hard-drives, and I think it's kernel-related (but i'm not shure), I've looked at google, and found other persons with the same problem... but without a solution. Could someone read http://pastebin.com/715130 and give me some directions... tkx! <9> with out messing.. <9> i dont think its solved <9> you didnt add any modules to the kernel, hacked it in any way? <14> I folllowed the gentoo-handbook and added nvidia drivers <14> but the strange thing is... that I had the same problem with ubuntu <8> sorry, to ask again: wondering if there are any sparc gurus here <14> and still now with all my disk disconnected (exept one) <8> i'm trying to understand why atomic_set() on sparc requires a lock <13> ubra: dram enhanced paging -> boot
Return to
#kernel or Go to some related
logs:
yum install pdflib fc5 #linux ubuntu dpkg was interrupted dpkg --configure -a polite conditional tense Call to undefined function: pma_generate_common_url() in juhazone #linux inefficient array_slice php failed to construct test pipeline #awk
|
|