Re: another step toward a working driver for Dell 1450 wireless card

Hrant Dadivanyan <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Same here for Dell Wireless 1390 WLAN Mini-PCI Card.
AFAIK, some new functions (mentioned in the dmesg as no matches) are added
in drivers that ndis wrapper doesn't understand. Linux people solve this by
upgrading their ndisulator, I did it fetching older driver - R112196.EXE .
Now it works fine and without an issue for two weeks already.
You can find it at http://ftp.dell.com/network/R112196.EXE or my copy at
ftp://styx.aic.net/pub/FreeBSD/incoming/R112196.EXE .

There was also thread in archives about implementing the functions in ndis
wrapper, but I found nothing about success.

Hrant

>      Under FreeBSD 6.1 I have now managed to convert the Windows XP driver
> text file (bcmwl5.inf) to ASCII and then run it through ndisgen along with
> BCMWL5.SYS to produce a BCMWL5_SYS.ko module, which I've placed into
> /boot/modules for loading during the boot/startup procedure.  If I try to
> load the module with kldload, the system hangs and then reboots.  If I put
> 
> BCMWL5_SYS_load="YES"
> 
> into /boot/loader.conf, I get the following:
> 
> Copyright (c) 1992-2006 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> 	The Regents of the University of California. All rights reserved.
> FreeBSD 6.1-RELEASE #5: Sat Dec 16 11:17:01 CST 2006
>     bennett@hellas:/usr/src/sys/i386/compile/SMP
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3395.01-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf34  Stepping = 4
>   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Features2=0x441d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,<b14>>
>   Logical CPUs per core: 2
> real memory  = 1073389568 (1023 MB)
> avail memory = 1041281024 (993 MB)
> ACPI APIC Table: <DELL   CPi R  >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> ioapic0: Changing APIC ID to 2
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> no match for strrchr
> no match for MmFreeContiguousMemorySpecifyCache
> no match for MmAllocateContiguousMemorySpecifyCache
> no match for MmGetPhysicalAddress
> acpi0: <DELL CPi R  > on motherboard
> Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
> cpu0: <ACPI CPU> on acpi0
> acpi_throttle0: <ACPI CPU Throttling> on cpu0
> cpu1: <ACPI CPU> on acpi0
> acpi_throttle1: <ACPI CPU Throttling> on cpu1
> acpi_throttle1: failed to attach P_CNT
> device_attach: acpi_throttle1 attach returned 6
> acpi_acad0: <AC Adapter> on acpi0
> battery0: <ACPI Control Method Battery> on acpi0
> acpi_lid0: <Control Method Lid Switch> on acpi0
> acpi_button0: <Power Button> on acpi0
> acpi_button1: <Sleep Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> agp0: <Intel 82865 host to AGP bridge> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> pci1: <display, VGA> at device 0.0 (no driver attached)
> uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xbf80-0xbf9f irq 16 at device 29.0 on pci0
> uhci0: [GIANT-LOCKED]
> usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xbf60-0xbf7f irq 19 at device 29.1 on pci0
> uhci1: [GIANT-LOCKED]
> usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
> usb1: USB revision 1.0
> uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xbf40-0xbf5f irq 18 at device 29.2 on pci0
> uhci2: [GIANT-LOCKED]
> usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
> usb2: USB revision 1.0
> uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xbf20-0xbf3f irq 16 at device 29.3 on pci0
> uhci3: [GIANT-LOCKED]
> usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
> usb3: USB revision 1.0
> uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem 0xf8fffc00-0xf8ffffff irq 23 at device 29.7 on pci0
> ehci0: [GIANT-LOCKED]
> usb4: EHCI version 1.0
> usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
> usb4: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
> usb4: USB revision 2.0
> uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub4: 8 ports with 8 removable, self powered
> pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> bge0: <Broadcom BCM5705M Gigabit Ethernet, ASIC rev. 0x3001> mem 0xfaff0000-0xfaffffff irq 18 at device 0.0 on pci2
> miibus0: <MII bus> on bge0
> brgphy0: <BCM5705 10/100/1000baseTX PHY> on miibus0
> brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
> bge0: Ethernet address: 00:11:43:5d:cd:2c
> cbb0: <TI4510 PCI-CardBus Bridge> at device 1.0 on pci2
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> fwohci0: <1394 Open Host Controller Interface> mem 0xfafef800-0xfafeffff,0xfafe8000-0xfafebfff irq 19 at device 1.1 on pci2
> fwohci0: OHCI version 1.10 (ROM=0)
> fwohci0: No. of Isochronous channels is 4.
> fwohci0: EUI64 38:4f:c0:00:38:4e:0c:c1
> fwohci0: Phy 1394a available S400, 2 ports.
> fwohci0: Link S400, max_rec 2048 bytes.
> firewire0: <IEEE1394(FireWire) bus> on fwohci0
> fwe0: <Ethernet over FireWire> on firewire0
> if_fwe0: Fake Ethernet address: 3a:4f:c0:4e:0c:c1
> fwe0: Ethernet address: 3a:4f:c0:4e:0c:c1
> fwe0: if_start running deferred for Giant
> sbp0: <SBP-2/SCSI over FireWire> on firewire0
> fwohci0: Initiate bus reset
> fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
> firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
> firewire0: bus manager 0 (me)
> ndis0: <Dell TrueMobile 1400 Dual Band WLAN Mini-PCI Card> mem 0xfafec000 - 0xfafedfff irq 17 at device 3.0 on pci2
> ndis0: NDIS API version: 5.1
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> ntoskrnl dummy called...
> 
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address	= 0x3fffffff
> fault code		= supervisor read, page not present
> instruction pointer	= 0x20:0x3fffffff
> stack pointer		= 0x28:0xc0c208bc
> frame pointer		= 0x28:0x0
> code segment		= base 0x0, limit 0xfffff, type 0x1b
> 			= DPL 0, pres 1, def32 1, gran 1
> processor eflags	= interrupt enabled, resume, IOPL = 0
> current process		= 0 (swapper)
> trap number		= 12
> panic: page fault
> cpuid = 0
> Uptime: 1s
> Automatic reboot in 15 seconds - press a key on the console to abort
> [At this point, I pressed a key to keep the above messages from being wiped
>  out by a reboot.  --SB]
> --> Press a key on the console to reboot,
> --> or switch off the system now.
> 
> 
> 
>      Note the set of four "No match for" messages early in the boot process,
> right after the keyboard is identified.  After those appear, everything looks
> normal enough until right after the two lines that say,
> 
> firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
> firewire0: bus manager 0 (me)
> 
> At this point, the wireless card is identified, though not entirely correctly.
> The card is a 1450, not a 1400.  (Windows XP correctly identifies the card.)
> Then a series of 14 identical lines follows that say,
> 
> ntoskrnl dummy called...
> 
> after which the panic messages appear.
>      It's progress of a sort because previously I had never gotten it to do
> more than notice that an unidentified network device was at pci2, but with
> no driver attached.  But I still do not have working wireless support in
> FreeBSD.
>      If anyone recognizes any of the weird messages or has any idea where
> I may have gone wrong or anything else that might provide a clue to getting
> the damned thing to work, I would appreciate hearing from you about it.
>      Thanks in advance!
> 
> 
>                                   Scott Bennett, Comm. ASMELG, CFIAG
> **********************************************************************
> * Internet:       bennett at cs.niu.edu                              *
> *--------------------------------------------------------------------*
> * "A well regulated and disciplined militia, is at all times a good  *
> * objection to the introduction of that bane of all free governments *
> * -- a standing army."                                               *
> *    -- Gov. John Hancock, New York Journal, 28 January 1790         *
> **********************************************************************
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "[email protected]"
> 

-- 
Hrant Dadivanyan (aka Ran d'Adi)			ran(at)psg.com
/* "Feci quod potui, faciant meliora potentes." */	ran(at)styx.aic.net
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.