LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems with 2.6.20 kernel (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-2-6-20-kernel-544978/)

Guilherme 04-10-2007 08:03 PM

problems with 2.6.20 kernel
 
hello... well, this are the tipical newbie problems... lol
I changed for 2.6.20 kernel just when this was "born"... I have a huawei usb modem, so I new that this new kernel suports it... I configured it nicely and it worked perfectly, but as every newbie who wants to learn, make mistakes and so I disconfigured all Xorg... lol... because I subdimentionize ~the /usr partition... so, I format the system disk and partitionate it with the necessary size for every...
ok... here everything was ok... with 2.6.12 kernel... i downloaded 2.6.20 again and configured it as well... but this time I couldn't use the huawei modem... well, it was knolaged and it was working... but, I couldn't surf the web, I belive it could be something about sit0... I had it before, but now I cant even if I "modprobe" it. This is now enoght, I configured the kernel again with ipv6 suport (Y) and nothing... but now, the sound is not working, I have a SB LIVE! sound card, and I cannot make it work... but ... this is not enoght, after 2 new kernel configurations. my mouse as (if I'm not wrong) all the usb is not working... i have a microsoft usb modem (as simple as it could be) ... and a Samsung ML1610 printer as well as a mustek webcam...

well ... Sorry, but... what could it be??? ... should I make a .config from the beggining?! ... lol.... what information can I give if you can help me? ... ;)


hugs ;)

guilherme

rocket357 04-10-2007 08:39 PM

Considering you haven't listed your Distribution in your profile, that would be a good place to start...

If you're running something like Slack or Gentoo, I'd say grab the 2.6.20 source and any distro-specific patches for it and do a complete reconfigure and recompile. On Gentoo, you'd do

Code:

emerge -au gentoo-sources # for Gentoo-patched

  -OR-

emerge -au vanilla-sources # for the "vanilla" Linux kernel, no patches

  -OR-

emerge -au hardened-sources # for security patched kernel

and then:

cd /usr/src/linux && make menuconfig

If you need hints at what modules to compile, load up your favorite Linux LiveCD and do lsmod in a terminal...that'll tell you what modules the LiveCD has loaded so you can know what to compile for your new kernel.

Silly question, but are you building drivers as modules or built-in?

And last of all: if you're using a binary driven distro, check the forums for that distro to see what the default .config is (probably a generic build, but you never can tell).

Guilherme 04-10-2007 09:21 PM

oh sorry... my mistake... i shold say it ... I'm using mandriva 2006 ... by the way,... what is your opinion about this distro? ... thanks

no... i'm not building anything... lol... well... I will... I am projecting a ribbon controller with hardware and linux suport... (MIDI controller) ... but not for now..

rocket357 04-10-2007 10:05 PM

I used Mandrake before it was Mandriva, and after the installer gave me a bit of trouble and the initial boot up looked like crap, I said to hell with it (I was on a distro-spree during one weekend...I think I ended up trying out about 10 different distributions).

As such, I can't really comment on current Mandriva, as I'm a Gentoo guy and haven't used recent Mandriva at all. I can, however, offer some generic advice:

Get a LiveCD that all of your hardware works on. Run lsmod and write down or print the output.

Boot back up into Mandriva (if it's usable...seems you're having quite a few problems), and modprobe the given modules. Post error messages you get (if any).

Then hope someone with more Mandriva-specific knowledge comes along! (I don't even know what package manager Mandriva uses...haha)


All times are GMT -5. The time now is 04:53 PM.