how to insmod?
From where and how do I insmod?
I think I "made" this driver OK after a few attempts (I got no errors finally) but the readme and man insmod are'nt clear (to me) about how to "insmod" This is what I tried : [root@localhost ADM8211]# insmod 8211.o Warning: loading 8211.o will taint the kernel: no license See http://www.tux.org/lkml/#export-tainted for information about tainted modu les 8211.o: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including inva lid IO or IRQ parameters. You may find more information in syslog or the output from dmesg [root@localhost ADM8211]# Thanks for any help. |
The warning in queston says that your kernel is contaminated with propretary code nobody nows a thing. That is, from that point on, if your kernel panics, nobody is interested (especially the kernel hackers) and nobody can do a thing for it (or maybe the company you got the driver from); means also that your system is not secure anymore.
The error line says that you don't have the device in question. Are you sure you are installing a correct driver to correct device? |
It just means the code isn't GPL - it isn't like your computer's going to burst into flames while people at LQ turn their backs on you. :rolleyes: Some drivers are buggy, some aren't, regardless of license. A proprietary driver is not a security risk, as such. The only way it could be is if you eyeball every line of code on your completely-from-source box. Relative to that, any binary is a security risk, regardless of license.
*Did* you find more info in syslog or dmesg? And, as ToniT says - maybe wrong driver/device. |
[root@localhost teabear]# modprobe -v 8201.o
modprobe: Can't locate module 8201.o depmod returns quietly to the command line [root@localhost teabear]# lsmod Module Size Used by Not tainted parport_pc 25544 1 (autoclean) lp 8160 0 (autoclean) parport 34472 1 (autoclean) [parport_pc lp] snd-seq-oss 32000 0 (unused) snd-seq-midi-event 6080 0 [snd-seq-oss] snd-seq 42544 2 [snd-seq-oss snd-seq-midi-event] snd-pcm-oss 43652 0 snd-mixer-oss 14200 0 [snd-pcm-oss] snd-intel8x0 22020 0 snd-pcm 79588 0 [snd-pcm-oss snd-intel8x0] snd-timer 18436 0 [snd-seq snd-pcm] snd-ac97-codec 45720 0 [snd-intel8x0] snd-mpu401-uart 4704 0 [snd-intel8x0] snd-rawmidi 17760 0 [snd-mpu401-uart] snd-seq-device 5832 0 [snd-seq-oss snd-seq snd-rawmidi] snd-page-alloc 9044 0 [snd-intel8x0 snd-pcm] snd 41380 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device] soundcore 6340 0 [snd] nfsd 75280 8 (autoclean) ppp_async 9312 0 (unused) ppp_generic 24292 0 [ppp_async] slhc 6564 0 [ppp_generic] af_packet 14856 2 (autoclean) sr_mod 19384 0 (autoclean) floppy 55932 0 sis900 15244 1 (autoclean) supermount 84032 2 (autoclean) ide-cd 33956 0 cdrom 32608 0 [sr_mod ide-cd] ide-scsi 11376 0 scsi_mod 106176 2 [sr_mod ide-scsi] ehci-hcd 19212 0 (unused) usb-ohci 21080 0 (unused) usbcore 74988 1 [ehci-hcd usb-ohci] rtc 9004 0 (autoclean) ext3 60048 2 jbd 39264 2 [ext3] asus p4s533-mx mobo, how do I find out what chipset? iblitzz netwave point PCI 11Mbps 802.11b Wireless LAN PCI adapter with a ADMtek ADM8211 chipset. I got the driver from ADMtek website. The finished driver should be 8201.o ( the driver package comes with 3 choices I think. (1).redhat 7.3 (2). redhat 8.0 (3). If you get the source code and want to compile it yourself ) I have read a couple of post where people have gotten this driver to work with distros other than red hat. [root@localhost teabear]# dmesg following are outtakes: Linux version 2.4.22-10mdk (nplanel@no.mandrakesoft.com) (gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)) #1 Thu Sep 18 12:30:58 CEST 2003 ACPI: have wakeup address 0xc0001000 ACPI: RSDP (v000 ASUS ) @ 0x000f5710 ACPI: RSDT (v001 ASUS P4S533MX 0x42302e31 MSFT 0x31313031) @ 0x05ffc000 ACPI: FADT (v001 ASUS P4S533MX 0x42302e31 MSFT 0x31313031) @ 0x05ffc0c0 ACPI: BOOT (v001 ASUS P4S533MX 0x42302e31 MSFT 0x31313031) @ 0x05ffc030 ACPI: MADT (v001 ASUS P4S533MX 0x42302e31 MSFT 0x31313031) @ 0x05ffc058 ACPI: DSDT (v001 ASUS P4S533MX 0x00001000 MSFT 0x0100000b) @ 0x00000000 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 Pentium 4(tm) XEON(tm) APIC version 20 ACPI: LAPIC_NMI (acpi_id[0x00] polarity[0x1] trigger[0x1] lint[0x1]) Kernel command line: root=/dev/hda1 devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda5 splash=silent vga=788 Found and enabled local APIC! PCI: ACPI tables contain no PCI IRQ routing entries eth0: Realtek RTL8201 PHY transceiver found at address 1. eth0: Using transceiver found at address 1 as default eth0: SiS 900 PCI Fast Ethernet at 0x8800, IRQ 7, 00:0c:6e:3c:87:97. eth0: Media Link On 100mbps full-duplex [root@localhost teabear]# cat /etc/modules.conf probeall scsi_hostadapter ide-scsi alias sound-slot-0 snd-intel8x0 above snd-intel8x0 snd-pcm-oss probeall usb-interface usb-ohci ehci-hcd [root@localhost teabear]# cat /proc/interrupts CPU0 0: 1116672 XT-PIC timer 1: 2261 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 482 XT-PIC SiS SI7012 7: 966 XT-PIC eth0 8: 1 XT-PIC rtc 9: 0 XT-PIC usb-ohci, usb-ohci, ehci_hcd 12: 104722 XT-PIC PS/2 Mouse 14: 32005 XT-PIC ide0 15: 70 XT-PIC ide1 NMI: 0 LOC: 1116610 ERR: 0 MIS: 0 [root@localhost teabear]# cat /proc/pci PCI devices found: Bus 0, device 0, function 0: Host bridge: Silicon Integrated Systems [SiS] SiS651 Host (rev 2). Master Capable. Latency=32. Non-prefetchable 32 bit memory at 0xe8000000 [0xebffffff]. Bus 0, device 1, function 0: PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP) (rev 0). Master Capable. No bursts. Min Gnt=8. Bus 0, device 2, function 0: ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 37). Bus 0, device 2, function 5: IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 0). IRQ 11. Master Capable. Latency=128. I/O at 0xa400 [0xa40f]. Bus 0, device 2, function 7: Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev 160). IRQ 3. Master Capable. Latency=32. Min Gnt=52.Max Lat=11. I/O at 0x9400 [0x94ff]. I/O at 0x9000 [0x907f]. Bus 0, device 3, function 0: USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 15). IRQ 9. Master Capable. Latency=32. Max Lat=80. Non-prefetchable 32 bit memory at 0xe7000000 [0xe7000fff]. Bus 0, device 3, function 1: USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2) (rev 15). IRQ 9. Master Capable. Latency=32. Max Lat=80. Non-prefetchable 32 bit memory at 0xe6800000 [0xe6800fff]. Bus 0, device 3, function 3: USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller (rev 0). IRQ 9. Master Capable. Latency=32. Max Lat=80. Non-prefetchable 32 bit memory at 0xe6000000 [0xe6000fff]. Bus 0, device 4, function 0: Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 145). IRQ 7. Master Capable. Latency=32. Min Gnt=52.Max Lat=11. I/O at 0x8800 [0x88ff]. Non-prefetchable 32 bit memory at 0xe5800000 [0xe5800fff]. Bus 0, device 14, function 0: Network controller: PCI device 1317:8201 (Linksys) (rev 17). IRQ 10. Master Capable. Latency=32. Min Gnt=64.Max Lat=128. I/O at 0x8400 [0x84ff]. Non-prefetchable 32 bit memory at 0xe5000000 [0xe50003ff]. Bus 1, device 0, function 0: VGA compatible controller: Silicon Integrated Systems [SiS] SiS65x/M650/740 PCI/AGP VGA Display Adapter (rev 0). IRQ 11. Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff]. Non-prefetchable 32 bit memory at 0xe7800000 [0xe781ffff]. I/O at 0xd800 [0xd87f]. [root@localhost teabear]# lspci 00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS651 Host (rev 02) 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP) 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 25) 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0) 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller 00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 91) 00:0e.0 Network controller: Linksys: Unknown device 8201 (rev 11) 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] SiS650/651/M650/740 PCI/AGP VGA Display Adapter [root@localhost teabear]# scanpci pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x1039 device 0x0651 Silicon Integrated Systems [SiS] SiS651 Host pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x1039 device 0x0001 Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP) pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x1039 device 0x0962 Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] pci bus 0x0000 cardnum 0x02 function 0x05: vendor 0x1039 device 0x5513 Silicon Integrated Systems [SiS] 5513 [IDE] pci bus 0x0000 cardnum 0x02 function 0x07: vendor 0x1039 device 0x7012 Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator pci bus 0x0000 cardnum 0x03 function 0x00: vendor 0x1039 device 0x7001 Silicon Integrated Systems [SiS] SiS7001 USB Controller pci bus 0x0000 cardnum 0x03 function 0x01: vendor 0x1039 device 0x7001 Silicon Integrated Systems [SiS] SiS7001 USB Controller pci bus 0x0000 cardnum 0x03 function 0x03: vendor 0x1039 device 0x7002 Silicon Integrated Systems [SiS] SiS7002 USB 2.0 pci bus 0x0000 cardnum 0x04 function 0x00: vendor 0x1039 device 0x0900 Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet pci bus 0x0000 cardnum 0x0e function 0x00: vendor 0x1317 device 0x8201 Linksys Device unknown pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1039 device 0x6325 Silicon Integrated Systems [SiS] SiS650/651/M650/740 PCI/AGP VGA Display Adapter [root@localhost teabear]# Dont know about bios settings but will go try to set them now if it may help. I tried to insmod again but got a different result this time, when I tried before I got a huge amount of "not resolving" errors. Output this time: [root@localhost ADM8211]# insmod 8211.o Warning: loading 8211.o will taint the kernel: no license See http://www.tux.org/lkml/#export-tainted for information about tainted modules Module 8211 loaded, with warnings [root@localhost ADM8211]# Thanks so much for helping, I hope this last bit looks promising? |
yes it seems that you have succesfully installed the wlan driver.;)
What you need next, is some userspace tools to configure the wlan adapter. Search for the package containing iwconfig (wireless-tools in debian) to set wireless-spesific settings. |
In mandrake I found "wireless-tools-26-1mdk and installed them ( the readme for driver said they recomended wireless-tools-25 but didnt specify a distro at that point)
Should the ...-26... work? if its what I need, I havent been able to find it (the wireless tools) All I know to do is type in the name of the file at the command prompt, the "run" dialog box , search (with gui tool) for "wireless" and look through my menus Thanks for the help |
Version 26 should work (I'm using it successfully). When installed, you should now be able to run 'iwconfig', see 'man iwconfig' for details .
Also this howto from hp might be useful. |
man iwconfig and the howto seem to tell me everything except where the start button is.
Any chance I could try to take this thing out for a "defaults" spin? Thanks for your help and input |
If iwconfig sees your device, then 'ifconfig eth0 up' with some settings is probably the start button you are looking for. You do have an other end to have a connection with?
|
Thanks ToniT,
Here is iwconfig when I open it without any options: lo no wireless extensions. eth0 no wireless extensions. eth1 IEEE 802.11-DS ESSID:"Blitzz" Nickname:"" NWID:off/any Mode:Managed Frequency:2.417GHz Access Point: 00:E0:98:B1:2D:07 Bit Rate=11Mb/s Tx-Power=47 dBm Sensitivity:0/65535 Retry limit:3 RTS thr=2346 B Fragment thr=2346 B Encryption key:off Power Management:off Link Quality:100 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 Do you see anything to tip me off how its going so far? Yes I am using a iblitzz netwave wireless AP with four port Router. It is working with my on board nics and cat5 cable. The router is then plugged into a ADSL modem. What shold happen when I type "ifconfig eth1 up" ? Thanks |
Where did the smiley faces come from , I havent had that problem before - sorry
|
Please hit the edit button and select 'Disable Smilies in This Post' or use [_code] and [_/code] blocks (without underscore; just scrambed here to prevent actual displaying of those blocks.)
If the router works as a dhcp server, then you should be able to run (after the ifconfig eth1 up) 'pump -i eth1' or 'dhclient eth1' and have yourself a working network connection. If there is no dhcp server available, then you have to assign those manually. See earlier discussion or some other manual on how to do it. |
All times are GMT -5. The time now is 04:30 PM. |