Install Error

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4985

Unanimated

08-09-2008 23:09:51

Okay, this is a really noobish question, but I'd really like to know.

I read on the main page today that this (I think) driver supports HostAP mode. Yeah, I wanted that. I set everything up on the page that tells you how to set everything up (you know, hours in the terminal) and after downloading everything, how do I install the driver?

IvD

09-09-2008 17:24:35

Well with git you have the entire kernel source tree, so you just have to follow "how to compile and install Linux Kernel from source" howtos found on the internet. (tip use google to find them)

Unanimated

09-09-2008 21:25:21

So, I have to recompile my kernel?

IvD

09-09-2008 21:26:21

Well you said you downloaded rt2x00, and that is a complete kernel, so if you want to use that, you need to compile it.

Unanimated

10-09-2008 12:32:11

After I compile it, what do I do with it then?

IvD

10-09-2008 13:06:44

Well like I said, you should _read_ some documentation about compiling and installing kernel sources...

Unanimated

10-09-2008 23:10:01

Okay, I'm following this guide[/url1q64lq57] on compiling the kernel. When I reboot my computer (it's almost done compiling), what will I have to do? Do I boot into this new kernel, or the old one?

Unanimated

11-09-2008 00:34:23

Okay, when I boot into it, it loads, then it comes up with an error saying it can't mount something. I think it's saying that it can't mount my hard drive.

Nazcafan

11-09-2008 09:57:29

you might have forgotten to add support to your hard drive when you configured your kernel options with make menuconfig.

What distribution are you using? In some cases it might be a better option to use you distro kernel config file as a basis and then just add the rt2x00 support through menuconfig. (if possible)

Unanimated

12-09-2008 12:34:45

I'm using Ubuntu 8.04.

Unanimated

14-09-2008 18:57:51

Also, how do I delete my faulty kernel? I'm sure it's taking up a lot of space on my hard drive that I really don't want to be taken up if the kernel doesn't work.

Unanimated

15-09-2008 00:10:53

Or, how can I reconfigure it?

Unanimated

16-09-2008 12:35:17

When I reconfigured it again using sudo xconfig, a random error came up when it was almost done compiling.

Unanimated

17-09-2008 12:34:11

Okay, this is a really simple problem - is anyone going to help me more?

IvD

17-09-2008 12:59:05

Also, how do I delete my faulty kernel? I'm sure it's taking up a lot of space on my hard drive that I really don't want to be taken up if the kernel doesn't work.[/quote1vn47l72]

When you install your kernel it will override your old kernel, otherwise you might want to check the contents of /boot to see what it contains.


When I reconfigured it again using sudo xconfig, a random error came up when it was almost done compiling.
[/quote1vn47l72]

"random error" doesn't really qualify as valid error message unless it complains about "random" itself which is very unlikely, and even in that case if will give an actual error message.

Unanimated

18-09-2008 12:42:46

I have to go to school pretty soon, I'll try it again afterwards and post the error message.

Unanimated

18-09-2008 22:22:54

I've been reading some threads lately and the contents of those threads suggest that somehow there is a way to put this kernel into my current kernel. How do I do that, or does that happen automatically?

IvD

19-09-2008 17:08:03

What do you mean?

Unanimated

21-09-2008 06:41:00

Like integrate the features in this kernel into the kernel I'm currently using.

IvD

21-09-2008 07:49:13

you can use the wireless-compat package from linux-wireless.org, but you will loose master mode capabilities.

Unanimated

22-09-2008 12:38:45

Are there any other options?

IvD

22-09-2008 17:45:47

You can manually patch your kernel with the patches from Johannes Berg to enable master mode.

Unanimated

29-09-2008 20:10:55

First, where can I find those?

And second, I recompiled and installed the kernel, and I got the same result when I tried to boot into it. I looked at all the options in menuconfig, and I can't find anything for my hard drive.

IvD

29-09-2008 21:57:58

Well as Nazcafan suggested, copy the kernel configuration from your Ubuntu kernel to make sure you have all the required options enabled.

Unanimated

30-09-2008 02:19:29

Hehe - where can I find that?

gwingerde

01-10-2008 11:05:12

You should be able to find a gzip-compressed version of the configuration at /proc/config.gz

Unanimated

01-10-2008 12:38:35

I didn't find one there, but running "whereis config.gz" in the terminal led me to /usr/share/man/man5, where there is a file called config.5ssl.gz. I'll try using that... after school.

gwingerde

01-10-2008 13:01:48

Since you are using Ubuntu, you can have a look at http//www.howtoforge.com/kernel_compilation_ubuntu_p2 to see how to get a copy of the Ubuntu built kernel.

Sapphire

26-11-2008 07:59:26

Hi. Just cloned rt2x00.git this night (using this http//rt2x00.serialmonkey.com/wiki/ind ... structions ) and compiled it (using this http//www.howtoforge.com/kernel_compilation_ubuntu_p2 )
Successfully booted with this kernel. )
But there's some thing I can't understand... Somewhy X doesn't use xorg.conf, but uses xorg.conf.failsafe, and I can't find a moment where this decision is made. It says in the very beginning of Xorg.0.log (==) Using config file "/etc/X11/xorg.conf.failsafe". But why can that happen?

PS Everything is alright on my default kernel, 2.6.24-21-generic.

PPS I'm in Ubuntu 8.04.1 if this means something

upd Just have realized that I've probably chosen a wrong topic)) Because it's not exactly about install error... Sorry) That's because I was building kernel instead of sleeping at night)))

upd Well, I've found out that the problem is about nvidia drivers in this new kernel. I can't install it... I've got an old card (GeForce4 Ti 4200), maybe I won't be able to use it's drivers in this kernel, don't know. And also there's no sound devices in the system. Didn't try to fix it yet, but this is one more problem )
Do you know something about installing nvidia drivers on this rt2x00.git's kernel?