Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
new kernel (2.6.14-gentoo-r2) stops the internet
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
2kvolts2005
n00b
n00b


Joined: 27 Aug 2005
Posts: 18

PostPosted: Sun Nov 13, 2005 4:58 am    Post subject: new kernel (2.6.14-gentoo-r2) stops the internet Reply with quote

I successfully upgraded my kernel to 2.6.14-gentoo-r2. on the reboot i found that all of my hardware was still working but my internet connection does not work.

i can connect to the internet using my old kernel 2.6.12-gentoo-r6

i am building a gateway. and i have been following the howto found on gentoo's site.

why does booting with my new x.x.14 kill the internet? what didnt i do?

after a kernel upgrade must i have to rc-update everything again?
Back to top
View user's profile Send private message
reynolds531
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 260
Location: Rochester, NY

PostPosted: Sun Nov 13, 2005 5:19 am    Post subject: Reply with quote

How are you connecting to the internet? What driver are you using? Is it built into the kernel or a module?

If you're using a module, then it may have to be recompiled against the new kernel before it will work. That's the general procedure with ndiswrapper, for instance. If you are using ndiswrapper, that could be the source of your problem, since there have been reports it doesn't work with the 2.6.14 kernel, at least not unless you use the 1.5 version.

In any event, you'll probably have to provide more specific information before someone can help you.
Back to top
View user's profile Send private message
120!
n00b
n00b


Joined: 19 Sep 2005
Posts: 9
Location: Switzerland

PostPosted: Sun Nov 13, 2005 1:24 pm    Post subject: Reply with quote

if you're using ndiswrapper, you may have to use iwconfig to set your essid manually (at least it's what happened to me when I upgraded to 2.6.14).
So I did:
iwconfig wlan0 essid my_essid

before starting the net.wlan0 service.
Back to top
View user's profile Send private message
Bachus
n00b
n00b


Joined: 04 Sep 2004
Posts: 69
Location: Leiden, The Netherlands

PostPosted: Tue Nov 15, 2005 6:41 am    Post subject: Reply with quote

Same problem here. ndiswrapper won't compile against the ney kernel:
Code:
Lothlorien ~ # emerge ndiswrapper
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ndiswrapper-1.2 to /
>>> md5 files   ;-) ndiswrapper-1.5.ebuild
>>> md5 files   ;-) ndiswrapper-1.2.ebuild
>>> md5 files   ;-) files/digest-ndiswrapper-1.2
>>> md5 files   ;-) files/digest-ndiswrapper-1.5
>>> md5 files   ;-) files/ndiswrapper-1.2-suspend2.patch
>>> md5 src_uri ;-) ndiswrapper-1.2.tar.gz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.14-gentoo-r2
 * Checking for suitable kernel configuration options:
>>> Unpacking source...
>>> Unpacking ndiswrapper-1.2.tar.gz to /var/tmp/portage/ndiswrapper-1.2/work
 * Applying ndiswrapper-1.2-suspend2.patch ...                                                                                        [ ok ] * The only kernels that will work are gentoo-sources, vanilla-sources, and suspend2-sources.
 * No other kernels are supported. Kernels like the mm kernels will NOT work.
 * Converting ndiswrapper-1.2/driver/Makefile to use M= instead of SUBDIRS= ...                                                       [ ok ]>>> Source unpacked.
cc -Wall -g -DNDISWRAPPER_VERSION=\"1.2\"    -c -o loadndisdriver.o loadndisdriver.c
gcc -o loadndisdriver loadndisdriver.o
 * Preparing ndiswrapper module
make -C //usr/src/linux M=/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver \
        NDISWRAPPER_VERSION=1.2 \
        EXTRA_VERSION= modules


*** WARNING: Kernel seems to have 4K size stack option (CONFIG_4KSTACKS) removed; many Windows drivers will need at least 8K size stacks. You should read wiki about 4K size stack issue. Don't complain about crashes until you resolve this.


make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo-r2'
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/hal.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/iw_ndis.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/loader.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/misc_funcs.o
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/loader.c: In function `register_devices':
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/loader.c:963: warning: assignment from incompatible pointer type
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/ndis.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/ntoskernel.o
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/ndis.c:1721:5: warning: "LINUX_KERNEL_VERSION" is not defined
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/pe_linker.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/proc.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/wrapper.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/usb.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/divdi3.o
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/wrapper.c:287:54: macro "halt" passed 1 arguments, but takes just 0
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/wrapper.c: In function `miniport_halt':
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/wrapper.c:287: warning: statement with no effect
make[2]: *** [/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/wrapper.o] Error 1
make[1]: *** [_module_/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r2'
make: *** [default] Error 2

!!! ERROR: net-wireless/ndiswrapper-1.2 failed.
!!! Function linux-mod_src_compile, Line 505, Exitcode 2
!!! Unable to make                                  KSRC=//usr/src/linux KVERS=26 all.
!!! If you need support, post the topmost build error, NOT this status message.


First time ndiswrapper won't compile after kernel upgrade. What's wrong?
Back to top
View user's profile Send private message
John-Boy
Guru
Guru


Joined: 23 Jun 2004
Posts: 446
Location: Desperately seeking moksha in all the wrong places

PostPosted: Tue Nov 15, 2005 5:49 pm    Post subject: Reply with quote

If you're having ndiswrapper issues, use the testing version (1.5), I couldn't get 1.2 to emerge either.
_________________
Like the Roman, I seem to see "the River Tiber foaming with much blood"
Back to top
View user's profile Send private message
vib5252
n00b
n00b


Joined: 15 Nov 2005
Posts: 20

PostPosted: Tue Nov 15, 2005 10:55 pm    Post subject: emerge to use the testing ndiswrapper? Reply with quote

hi guys,

I am a noob at gentoo and recently switched from debian. I also realized that the new kernel 2.6.14-r2 doesn't work with the ndiswrapper-1.2 and would like use the 1.5 from testing. Is there a way other than going to the ndiswrapper site to get 1.5 version, I mean can u use emerge to use a testing ebuild?

thx
Back to top
View user's profile Send private message
reynolds531
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 260
Location: Rochester, NY

PostPosted: Tue Nov 15, 2005 11:40 pm    Post subject: Reply with quote

Portage will download version 1.5 automatically since there's already an ebuild for that version in the system:

http://packages.gentoo.org/search/?sstring=ndiswrapper

All you have to do is to let portage know that you want to install the unstable version of ndiswrapper (assuming that the rest of your system is on the stable branch).

You can do that by editing the file /etc/portage/package.keywords (or creating it if it's not already there). Include the following line:

Code:
net-wireless/ndiswrapper


Then when you emerge ndiswrapper, it should download and install version 1.5.
Back to top
View user's profile Send private message
vib5252
n00b
n00b


Joined: 15 Nov 2005
Posts: 20

PostPosted: Wed Nov 16, 2005 12:09 am    Post subject: Reply with quote

thanks ;-)
Back to top
View user's profile Send private message
Bachus
n00b
n00b


Joined: 04 Sep 2004
Posts: 69
Location: Leiden, The Netherlands

PostPosted: Thu Nov 17, 2005 10:31 am    Post subject: Reply with quote

Hmmm sorry. But I'll stick to my 'old' 2.6.13 kernel and ndiswrapper 1.2 then ;)
Back to top
View user's profile Send private message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: USA

PostPosted: Thu Nov 17, 2005 5:49 pm    Post subject: Reply with quote

uhm theres ndiswrapper 1.5. works fine if you rename the ebuild and comment out the patches. my gf has been using it without a problem on her laptop for about a month.


-Feld
_________________
< bmg505> I think the first line in reiserfsck is

if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); }
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum