frosterrj Posted October 8, 2003 Report Share Posted October 8, 2003 Ok, so I have just gotten DSL, and its working in a wired config, and I am currently writing using Mozilla 1.4 on MDK 9.1. I dont know how this happened, buy OMG! I just plugged the lan cable into my Xircom 56k/100 lan/modem and I'm surfing. It didnt do that yesterday! Now that's plug and play!! I have never had this machine on a lan of anykind before, so I'm really surprised. My wireless card (ok, just to clarify, the DSL modem is a wireless 2wire) is a Dlink DWL-650 <B> Cardbus Adapter (PCMCIA) with H/W:M1 according to the crap on the back of the box. Supposedly this is a prism chipset, but I'm not sure. Can anyone confirm? My current problem is that I can get no card info after booting with the card in the PCMCIA slot using this: [root@localhost robert]# /sbin/cardctl ident Socket 0: no product info available Socket 1: no product info available but I know PCMCIA and Eth0 are loaded on boot (I watched the scrolling lines, all ended with OK). But when I eject the card, insert the Xircom I get this: /sbin/cardctl ident Socket 0: no product info available Socket 1: product info: "Xircom", "CreditCard Ethernet 10/100 + Modem 56", "CEM56", "1.00" manfid: 0x0105, 0x110a function: 2 (serial) So, from the other posts, I try ifconfg -a: all I got wat the lo (sorry forgot to get the data), and not eth0. After inserting the Xircom I get: [root@172 robert]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:10:A4:C4:D8:51 inet addr:172.XX.X.XX Bcast:172.XX.XXX.XXX Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:86 errors:0 dropped:0 overruns:0 frame:0 TX packets:72 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:34073 (33.2 Kb) TX bytes:5815 (5.6 Kb) Interrupt:3 Base address:0x300 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:505 errors:0 dropped:0 overruns:0 frame:0 TX packets:505 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:34358 (33.5 Kb) TX bytes:34358 (33.5 Kb) and here is lsmod before Xircom insertion: Module Size Used by Not tainted udf 90464 0 (autoclean) sg 34636 0 (autoclean) (unused) lp 8096 0 (unused) parport_pc 25096 1 parport 34176 1 [lp parport_pc] neofb 15560 0 (unused) binfmt_misc 7020 1 nm256_audio 70556 0 sound 70644 0 [nm256_audio] soundcore 6276 0 [sound] ac97 4800 0 [nm256_audio] nfsd 74256 0 (autoclean) ds 8456 2 yenta_socket 13056 2 pcmcia_core 57184 0 [ds yenta_socket] ppp_async 9216 0 (unused) ppp_generic 24060 0 [ppp_async] slhc 6564 0 [ppp_generic] af_packet 14952 0 (autoclean) ide-floppy 15580 0 (autoclean) ide-tape 48304 0 (autoclean) ide-cd 33856 0 (autoclean) cdrom 31648 0 (autoclean) [ide-cd] floppy 55100 0 nls_iso8859-1 3516 2 (autoclean) nls_cp850 4316 2 (autoclean) vfat 11820 2 (autoclean) fat 37944 0 (autoclean) [vfat] supermount 15296 2 (autoclean) sd_mod 13132 0 (autoclean) (unused) usb-storage 73016 0 (unused) scsi_mod 103540 2 [sg sd_mod usb-storage] usbmouse 2936 0 (unused) keybdev 2720 0 (unused) mousedev 5300 1 hid 20900 0 (unused) input 5664 0 [usbmouse keybdev mousedev hid] printer 8448 0 (unused) usb-uhci 24684 0 (unused) usbcore 72992 1 [usb-storage usbmouse hid printer usb-uhci] rtc 8060 0 (autoclean) ext3 59756 1 jbd 39100 1 [ext3] after Xircom is in, the xir2cps.cs module loads, that's all thats different that I can tell. SO I cant get the machine to even see the wireless card in the socket so I cant get to the card manfid or module loading yet. I did get the hex ids from windows for the Dlink, tried editing the pcmcia config putting the manfid in, but that just caused a halt during boot at the portmapper line. Any ideas? It feels like I'm so close, but just missing something. I tried MCC, but under hardware ethernet just shows ethernet, no eth0, and nothing in the config sections for and Dlink cards. Thanks for the input. Robert Quote Link to comment Share on other sites More sharing options...
frosterrj Posted October 8, 2003 Author Report Share Posted October 8, 2003 sorry, forgot to put this output: [root@172 robert]# cat /etc/modules.conf probeall scsi_hostadapter usb-storage probeall usb-interface usb-uhci alias sound-slot-0 nm256_audio Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted October 8, 2003 Report Share Posted October 8, 2003 Try putting the DLink card in and open a console and. as root modprobe 8211 And then see if you get any info about the card. From what I can find out, that card is actually a AMDTek chipset, which uses the 8211 driver and not prism. But, if that doesn't work, try: modprobe prism2_cs and see. Quote Link to comment Share on other sites More sharing options...
frosterrj Posted October 8, 2003 Author Report Share Posted October 8, 2003 Thanks for the reply. After modprobe 8211, just says modprobe: Can't locate module 8211. I've tried the prism2 before as well, but I get nothing in cardctl ident. Funny thing is, I originally got a DWL-650+ that I figured I could never get to work since its 802.11b @ 22mbs, but I got some cardctl info from that one. Not sure how. I think something fundamental is missing here, not to do with the wireless driver, MDK just isnt seeing the hardware for some reason. Any more ideas? Appreciate the help. Robert Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted October 8, 2003 Report Share Posted October 8, 2003 Whoops, for the 8211, you have to download it and compile it from here: http://www.admtek.com.tw/download/nic/adm8..._src_105.tar.gz That's the one I bet it is. instead. Also, are you sure you tried prism2_cs or did you try just prism2? Quote Link to comment Share on other sites More sharing options...
frosterrj Posted October 8, 2003 Author Report Share Posted October 8, 2003 Thanks for the link. I think its malformed or something - "page cannot be found" error. I'm pretty sure it was prism2_cs that I tried. Can you check the url? I tried just www.admtek.com and got and error as well. R Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted October 8, 2003 Report Share Posted October 8, 2003 Just tried the link myself, it gets me the file. As for your link, even though you are missing the .tw on the end, it still even redirects me to the site. If you can't get it for whatever reason, I can download it and email it to you. Try holding down Shift when you click the link...or right-click and 'Save Link Target As..' Quote Link to comment Share on other sites More sharing options...
frosterrj Posted October 8, 2003 Author Report Share Posted October 8, 2003 OK, shift + click worked ok. We'll see what happens. Another question. how do I gracefull remove the Xircom card so I dont get a lock up? R Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted October 8, 2003 Report Share Posted October 8, 2003 You should be able to do ifdown eth0 (or whatever the Xircom is) and then rmmod <<Xircom-modulename>> then remove it. I just downloaded the file and did a test run (I don't have the card, so it's not a real test, but I just wanted to make sure it will compile). You'll have to edit the Makefile to point to the correct linux src directory. On the second line, change this: -I/usr/src/linux-2.4/include It should be -I/usr/src/linux/include or, in my case: -I/usr/src/linux-2.4.22-10mdk/include If the -I/usr/src/linux/include doesn't work, try -I/usr/src/`uname -r`/include to whatever the src directory is for your kernel sources (you have to install the kernel source of course) urpmi kernel-source Quote Link to comment Share on other sites More sharing options...
frosterrj Posted October 8, 2003 Author Report Share Posted October 8, 2003 this is getting weird. Just chaged the line to the kernel path, did make, all went ok, then this: [root@172 ADM8211]# insmod 8211.o 8211.o: kernel-module version mismatch 8211.o was compiled for kernel version 2.4.21-0.18mdkcustom while this kernel is version 2.4.21-0.18mdk. there's no kernel named 2.4.21-0.18mdkcustom in the usr/src/linux tree! Heres[root@172 robert]# cd /usr/src [root@172 src]# ls linux@ linux-2.4.21-0.13mdk/ linux-2.4.21-0.18mdk/ RPM/ the tree: the 2.24.21-0.18mdk is what is running. [root@172 src]# uname -r 2.4.21-0.18mdk so how do I get it out now? I'll change the line in the make to 'uname -r' and remake. Would that even help? R Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted October 8, 2003 Report Share Posted October 8, 2003 Yes, that would help. make sure it is `uname -r` (those aren't quotes, they're backticks...to the left of the 1 key, above Tab...and you need them) Quote Link to comment Share on other sites More sharing options...
frosterrj Posted October 8, 2003 Author Report Share Posted October 8, 2003 made the backtick change, but [root@172 ADM8211]# make make: Nothing to be done for `all'. how do I get it to know its not made? BTW, just saw the kernel-sources for newest kernel in MCC. Its now up to -25mdk and is 154MB??? SOund right? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted October 8, 2003 Report Share Posted October 8, 2003 Try make clean && make Quote Link to comment Share on other sites More sharing options...
frosterrj Posted October 9, 2003 Author Report Share Posted October 9, 2003 Ok, looks like make clean cleared up the old make, but the new make spwewed out a lot and just errored out. Here's the output, any ideas? Not sure what to do with the below.... Thanks again [root@172 ADM8211]# make clean && make rm -f 8211.o adm8211.o gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -I/usr/src/`uname -r`/in clude -fomit-frame-pointer -fno-strict-aliasing -Wno-trigraphs -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386 -c adm8211.c In file included from /usr/include/linux/prefetch.h:13, from /usr/include/linux/list.h:6, from /usr/include/linux/timer.h:4, from adm8211.c:7: /usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (no t in a function) /usr/include/asm/processor.h:55: requested alignment is not a constant In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:46, from adm8211.c:11: /usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/irq.h:65: requested alignment is not a constant In file included from /usr/include/linux/interrupt.h:46, from adm8211.c:11: /usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/hardirq.h:16: requested alignment is not a constant In file included from adm8211.c:11: /usr/include/linux/interrupt.h:129: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/interrupt.h:129: requested alignment is not a constant In file included from adm8211.c:13: /usr/include/linux/netdevice.h:165: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/netdevice.h:165: requested alignment is not a constant In file included from adm8211.c:13: /usr/include/linux/netdevice.h:507: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/netdevice.h:507: requested alignment is not a constant In file included from /usr/include/linux/module.h:297, from adm8211.c:31: /usr/include/linux/version.h:2:2: #error "====================================== =================" /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l inux,asm}/ header" /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5:2: #error "" /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro m a well-defined" /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10:2: #error "included via other system header file s - user space" /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well." /usr/include/linux/version.h:13:2: #error "" /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15:2: #error "" /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17:2: #error "" /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis ts and points to" /usr/include/linux/version.h:20:2: #error " the matching kernel source directo ry" /usr/include/linux/version.h:21:2: #error "" /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t o" /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl ude/linux/version.h" /usr/include/linux/version.h:24:2: #error "" /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t he following" /usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27:2: #error "" /usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in clude" /usr/include/linux/version.h:29:2: #error "" /usr/include/linux/version.h:30:2: #error " instead of" /usr/include/linux/version.h:31:2: #error "" /usr/include/linux/version.h:32:2: #error " -I/usr/include/linux" /usr/include/linux/version.h:33:2: #error "" /usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi ngly." /usr/include/linux/version.h:35:2: #error "===================================== ==================" In file included from adm8211.c:31: /usr/include/linux/module.h:299: parse error before "UTS_RELEASE" adm8211.c: In function `adm8211_init_one': adm8211.c:211: warning: implicit declaration of function `pci_request_regions' adm8211.c: In function `adm8201_remove': adm8211.c:1080: warning: implicit declaration of function `pci_release_regions' make: *** [adm8211.o] Error 1 Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted October 9, 2003 Report Share Posted October 9, 2003 Ok, it looks like the `uname -r` in there didn't work like I thought it would. Instead of `uname -r` put 2.4.21-0.18mdk this time with no backticks. Then go back and make clean && make Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.