RE: WI Driver issues, compile of kernel dies, after fidling it drops to db>
I hate replying to my own posts.. Anyways.. It appears The machine I was using as a test machine Either does not support pci 2.2 or is hosed (I'm voting for the latter as the bios seems to be losing its settings every so often)... So you can ignore the long winded issues I type below, sorry if anyone started looking into the problem. Will try different machine and see what happens Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jason Sent: Friday, April 12, 2002 7:38 AM To: Freebsd Current Subject: WI Driver issues, compile of kernel dies, after fidling it drops to db> Dunno what I am doing wrong, maybe I am just missing something. I am trying to get my dlink wireless DWL 520 to compile. If I delete /usr/src/sys, and re cvsup to get clean sources (this is a source as of 4am eastern on the 12th April) and run make KERNCONF=HELB buildkernel, it always dies on the wi driver (which I believe is the driver for my card, with is prism 2 based) (listed at the very bottom is the content of my kernel config file). The card is a PCI card which believe is realy an isa card with a bridge to guts of the pcmcia wireless adapter tacked onto it. When I run the compile, it dies with the following error. /usr/src/sys/dev/wi/if_wi_pci.c:68: card_if.h: No such file or directory When I checked the module directory of /usr/src/sys/modules/wi the file card_if.h does not exist. I do a delete on the /usr/src/sys directory (I decided to keep a clean cvsup'd source in an outside directory which I move back each time), and do a search for card_if, and find that one exists, int the form of card_if.m in /usr/src/sys/dev/pccard/ . I run the following command to create the file. perl /usr/src/sys/kern/makeobjops.pl -h /usr/src/sys/dev/pccard/card_if.m I did this first, without realising to check /usr/src/sys/modules/wi which did have the card_if.h file when I compiled the kernel without the wi driver. After compiling without the wi driver, I noted quite a few card_if.h files located in misc directories, almost all identical. So I copied one of them to /usr/src/sys/modules/wi/ , put the wi driver back in and compiled, the compile ran through with little problems (the umass driver is another story) The following error is what I get when I try the if_wi.ko module Apr 12 06:02:54 helb kernel: module_register: module pccard/if_wi already exists! Apr 12 06:02:54 helb kernel: Module pccard/if_wi failed to register: 17 Apr 12 06:02:54 helb kernel: module_register: module pci/if_wi already exists! Apr 12 06:02:54 helb kernel: Module pci/if_wi failed to register: 17 Apr 12 06:02:54 helb kernel: can't re-use a leaf (wi_cache_mcastonly)! Apr 12 06:02:54 helb kernel: can't re-use a leaf (wi_cache_iponly)! And it won't work, secondly when I goto remove the module.. Its pukes hard and drops me to the db> prompt (I'm still semi new to the bleeding edge crap, usually I use stable, but what the hell, so I have no clue other then taking an image of the screen with my digital camera.. On how to dump a copy of the debug info to a file to add to this email) I also tried the awi driver for fun, it loaded fine, but did nothing, I could not talk to the card, and when I tried to kldunload it, it also dropped me to db> And that is pretty much where I am at.. No idea where to go now except send off what I know and wait for someone to hopefully fix it :) Jason Ps, I also noted a few of these, not sure what they are unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) --- Hardware in the Machine --- Abit BP6 MB with 2 cpu's (working) Generic Linksys Ethernet card (working) Sound Blaster 16 pnp Vibra card (seems to be detected on boot, but no drivers compiled in yet) Dlink DWL 520 (not working, causing issues, this is what I am trying to get up and and running) Diamond Viper V770 Ultra 2 (seems to be working, X acting kinda funny sometimes though, need to kill moused else it cores on startx) -- Dmesg below -- FreeBSD 5.0-CURRENT #3: Fri Apr 12 04:43:33 EDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HELB Preloaded elf kernel "/boot/kernel/kernel" at 0xc03b8000. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (367.50-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 369098752 (360448K bytes) avail memory = 354824192 (346508K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 9 IOAPIC
WI Driver issues, compile of kernel dies, after fidling it drops to db>
Dunno what I am doing wrong, maybe I am just missing something. I am trying to get my dlink wireless DWL 520 to compile. If I delete /usr/src/sys, and re cvsup to get clean sources (this is a source as of 4am eastern on the 12th April) and run make KERNCONF=HELB buildkernel, it always dies on the wi driver (which I believe is the driver for my card, with is prism 2 based) (listed at the very bottom is the content of my kernel config file). The card is a PCI card which believe is realy an isa card with a bridge to guts of the pcmcia wireless adapter tacked onto it. When I run the compile, it dies with the following error. /usr/src/sys/dev/wi/if_wi_pci.c:68: card_if.h: No such file or directory When I checked the module directory of /usr/src/sys/modules/wi the file card_if.h does not exist. I do a delete on the /usr/src/sys directory (I decided to keep a clean cvsup'd source in an outside directory which I move back each time), and do a search for card_if, and find that one exists, int the form of card_if.m in /usr/src/sys/dev/pccard/ . I run the following command to create the file. perl /usr/src/sys/kern/makeobjops.pl -h /usr/src/sys/dev/pccard/card_if.m I did this first, without realising to check /usr/src/sys/modules/wi which did have the card_if.h file when I compiled the kernel without the wi driver. After compiling without the wi driver, I noted quite a few card_if.h files located in misc directories, almost all identical. So I copied one of them to /usr/src/sys/modules/wi/ , put the wi driver back in and compiled, the compile ran through with little problems (the umass driver is another story) The following error is what I get when I try the if_wi.ko module Apr 12 06:02:54 helb kernel: module_register: module pccard/if_wi already exists! Apr 12 06:02:54 helb kernel: Module pccard/if_wi failed to register: 17 Apr 12 06:02:54 helb kernel: module_register: module pci/if_wi already exists! Apr 12 06:02:54 helb kernel: Module pci/if_wi failed to register: 17 Apr 12 06:02:54 helb kernel: can't re-use a leaf (wi_cache_mcastonly)! Apr 12 06:02:54 helb kernel: can't re-use a leaf (wi_cache_iponly)! And it won't work, secondly when I goto remove the module.. Its pukes hard and drops me to the db> prompt (I'm still semi new to the bleeding edge crap, usually I use stable, but what the hell, so I have no clue other then taking an image of the screen with my digital camera.. On how to dump a copy of the debug info to a file to add to this email) I also tried the awi driver for fun, it loaded fine, but did nothing, I could not talk to the card, and when I tried to kldunload it, it also dropped me to db> And that is pretty much where I am at.. No idea where to go now except send off what I know and wait for someone to hopefully fix it :) Jason Ps, I also noted a few of these, not sure what they are unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) --- Hardware in the Machine --- Abit BP6 MB with 2 cpu's (working) Generic Linksys Ethernet card (working) Sound Blaster 16 pnp Vibra card (seems to be detected on boot, but no drivers compiled in yet) Dlink DWL 520 (not working, causing issues, this is what I am trying to get up and and running) Diamond Viper V770 Ultra 2 (seems to be working, X acting kinda funny sometimes though, need to kill moused else it cores on startx) -- Dmesg below -- FreeBSD 5.0-CURRENT #3: Fri Apr 12 04:43:33 EDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HELB Preloaded elf kernel "/boot/kernel/kernel" at 0xc03b8000. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (367.50-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 369098752 (360448K bytes) avail memory = 354824192 (346508K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 9 IOAPIC #0 intpin 17 -> irq 10 IOAPIC #0 intpin 18 -> irq 11 IOAPIC #0 intpin 19 -> irq 5 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee0 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee0 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec0 Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00fdef0 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: p
WI Driver issues, compile of kernel dies, after fidling it drops to db>
Dunno what I am doing wrong, maybe I am just missing something. I am trying to get my dlink wireless DWL 520 to compile. If I delete /usr/src/sys, and re cvsup to get clean sources (this is a source as of 4am eastern on the 12th April) and run make KERNCONF=HELB buildkernel, it always dies on the wi driver (which I believe is the driver for my card, with is prism 2 based) (listed at the very bottom is the content of my kernel config file). The card is a PCI card which believe is realy an isa card with a bridge to guts of the pcmcia wireless adapter tacked onto it. When I run the compile, it dies with the following error. /usr/src/sys/dev/wi/if_wi_pci.c:68: card_if.h: No such file or directory When I checked the module directory of /usr/src/sys/modules/wi the file card_if.h does not exist. I do a delete on the /usr/src/sys directory (I decided to keep a clean cvsup'd source in an outside directory which I move back each time), and do a search for card_if, and find that one exists, int the form of card_if.m in /usr/src/sys/dev/pccard/ . I run the following command to create the file. perl /usr/src/sys/kern/makeobjops.pl -h /usr/src/sys/dev/pccard/card_if.m I did this first, without realising to check /usr/src/sys/modules/wi which did have the card_if.h file when I compiled the kernel without the wi driver. After compiling without the wi driver, I noted quite a few card_if.h files located in misc directories, almost all identical. So I copied one of them to /usr/src/sys/modules/wi/ , put the wi driver back in and compiled, the compile ran through with little problems (the umass driver is another story) The following error is what I get when I try the if_wi.ko module Apr 12 06:02:54 helb kernel: module_register: module pccard/if_wi already exists! Apr 12 06:02:54 helb kernel: Module pccard/if_wi failed to register: 17 Apr 12 06:02:54 helb kernel: module_register: module pci/if_wi already exists! Apr 12 06:02:54 helb kernel: Module pci/if_wi failed to register: 17 Apr 12 06:02:54 helb kernel: can't re-use a leaf (wi_cache_mcastonly)! Apr 12 06:02:54 helb kernel: can't re-use a leaf (wi_cache_iponly)! And it won't work, secondly when I goto remove the module.. Its pukes hard and drops me to the db> prompt (I'm still semi new to the bleeding edge crap, usually I use stable, but what the hell, so I have no clue other then taking an image of the screen with my digital camera.. On how to dump a copy of the debug info to a file to add to this email) I also tried the awi driver for fun, it loaded fine, but did nothing, I could not talk to the card, and when I tried to kldunload it, it also dropped me to db> And that is pretty much where I am at.. No idea where to go now except send off what I know and wait for someone to hopefully fix it :) Jason Ps, I also noted a few of these, not sure what they are unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) --- Hardware in the Machine --- Abit BP6 MB with 2 cpu's (working) Generic Linksys Ethernet card (working) Sound Blaster 16 pnp Vibra card (seems to be detected on boot, but no drivers compiled in yet) Dlink DWL 520 (not working, causing issues, this is what I am trying to get up and and running) Diamond Viper V770 Ultra 2 (seems to be working, X acting kinda funny sometimes though, need to kill moused else it cores on startx) -- Dmesg below -- FreeBSD 5.0-CURRENT #3: Fri Apr 12 04:43:33 EDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HELB Preloaded elf kernel "/boot/kernel/kernel" at 0xc03b8000. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (367.50-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 369098752 (360448K bytes) avail memory = 354824192 (346508K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 9 IOAPIC #0 intpin 17 -> irq 10 IOAPIC #0 intpin 18 -> irq 11 IOAPIC #0 intpin 19 -> irq 5 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee0 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee0 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec0 Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00fdef0 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: por