• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Intel Wifi Link 5100 AGN Progress. ndisgen? iwn?

TzunTzai

Member

Thanks: 13
Messages: 97

#1
I have an Intel Wifi Link 5100 AGN on my Toshiba Satellite m305-s4910 laptop.

Progress anyone?

I haven't heard anything regarding the recent development of the iwn driver nor have I heard anything regarding the ndisgen issue that most people have been having with the current NETw5x32.inf and NETw5x32.sys WinXP drivers... Which apparently were fixed in Freebsd 8.0 Current. Actually, I'm going home in a few minutes to give ndisgen in 8.0-BETA3 a try. I'll update with the results.
 

TzunTzai

Member

Thanks: 13
Messages: 97

#2
8.0-BETA3 installed (Via MemStick.img... About time! ;)

msk0 works as long as I disable ACPI.

No luck with iwn0 or ndis0. I'll post the errors in a moment.

Code:
mskc0@pci0:7:0:0:	class=0x020000 card=0xff501179 chip=0x435511ab rev=0x12 hdr=0x00
    vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
    device     = 'Marvell Yukon 88E8040T PCI-E Fast Ethernet Controller (88E8040T)'
    class      = network
    subclass   = ethernet
none1@pci0:8:0:0:	class=0x028000 card=0x12018086 chip=0x42328086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Carte Intel WiFi Link 5100 AGN (Intel WiFi Link 5100)'
    class      = network
 

TzunTzai

Member

Thanks: 13
Messages: 97

#3
When I load iwn (kldload if_iwn) i receive the following error.

dmesg

Code:
fwohci0: <1394 Open Host Controller Interface> mem 0xff501000-0xff501fff,
0xf4700000-0xf47007ff at device 1.0 on pci10
pcib0: unable to route slot 30 INTB
fwohci0: Could not allocate irq
device_attach: fwohci0 attach returned 6
fwohci0: <1394 Open Host Controller Interface> mem 0xff501000-0xff501fff,
0xf4700000-0xf47007ff at device 1.0 on pci10
pcib0: unable to route slot 30 INTB
fwohci0: Could not allocate irq
device_attach: fwohci0 attach returned 6
0#
fwohci0 ???

fwe0: <Ethernet over FireWire> on firewire0 ... ah ok. I guess I'll try to disable it.
 

TzunTzai

Member

Thanks: 13
Messages: 97

#4
And my Belkin Wireless G USB Adapter (F5D7050 v3) no longer works :(

It worked wonderfully with Freebsd 7.2, but not 8.0

I'll post the dmesg in a bit.
 

TzunTzai

Member

Thanks: 13
Messages: 97

#6
Never had this error before. Any ideas?

Code:
0# make buildkernel KERNCONF=KERNEL80

--------------------------------------------------------------
>>> Kernel build for KERNEL80 started on Sun Sep  6 18:06:59 CDT 2009
--------------------------------------------------------------
===> KERNEL80
mkdir -p /usr/obj/usr/src/sys

--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
cd /usr/src/sys/i386/conf;  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:
/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy
/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:
/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  config  -d 
/usr/obj/usr/src/sys/KERNEL80  /usr/src/sys/i386/conf/KERNEL80
config: /usr/src/sys/i386/conf/KERNEL80: Unknown error: 0
*** Error code 2

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
0#
 

nikobordx

Active Member

Thanks: 5
Messages: 107

#11
Hi,
I tried the driver NETw5x32.sys under FreeBSD 8 and i have this error:

Code:
no match for _aulldvrm
no match for KeBugCheck
no match for KeRegisterBugCheckReasonCallback
no match for KeDeregisterBugCheckReasonCallback
ndis0: <Intel(R) WiFi Link 5100 AGN> mem 0xde000000-0xde001fff irq 16 at device 0.0 on pci2
ndis0: [ITHREAD]
ndis0: NDIS API version: 5.1
ndis0: NDIS ERROR: 40001b7c (unknown error)
ndis0: NDIS ERROR: c0001389 (unknown error)
ndis0: init handler failed
device_attach: ndis0 attach returned 6
Someone knows what to do?

Nicolas.
 

TzunTzai

Member

Thanks: 13
Messages: 97

#15
Ok, here's my kernel...

Code:
cpu		I686_CPU
ident		KERNEL80

makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols

options 	SCHED_ULE		# ULE scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
#options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Control Transmission Protocol
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
options 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFSLOCKD		# Network Lock Manager
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
#options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_PART_GPT		# GUID Partition Tables.
options 	GEOM_LABEL		# Provides labelization
options 	COMPAT_43TTY		# BSD 4.3 TTY compat (sgtty)
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	STACK			# stack(9) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	P1003_1B_SEMAPHORES	# POSIX-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
options 	AUDIT			# Security event auditing
options 	MAC			# TrustedBSD MAC Framework
options		FLOWTABLE		# per-cpu routing cache

# To make an SMP kernel, the next two lines are needed
options 	SMP			# Symmetric MultiProcessor Kernel
device		apic			# I/O APIC

# CPU frequency control
device		cpufreq

# Bus support.
device		acpi
device		eisa
device		pci

# ATA and ATAPI devices
device		ata
device		atapicd		# ATAPI CDROM drives
options 	ATA_STATIC_ID	# Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse
device		kbdmux		# keyboard multiplexer
device		vga		# VGA video card driver
device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc
device		agp		# support several AGP chipsets

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet

# Wireless NIC cards
device		wlan		# 802.11 support
options 		IEEE80211_DEBUG	# enable debug msgs
options 		IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
options 		IEEE80211_SUPPORT_MESH	# enable 802.11s D3.0 support
device		wlan_wep	# 802.11 WEP support
device		wlan_ccmp	# 802.11 CCMP support
device		wlan_tkip	# 802.11 TKIP support
device		wlan_amrr	# AMRR transmit rate control algorithm

# Pseudo devices.
device		loop		# Network loopback
device		random	# Entropy device
device		ether		# Ethernet support
device		tun		# Packet tunnel.
device		pty		# BSD-style compatibility pseudo ttys
device		md			# Memory "disks"
#device		gif		# IPv6 and IPv4 tunneling
#device		faith		# IPv6-to-IPv4 relaying (translation)
#device		firmware	# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		rum		# Ralink Technology RT2501USB wireless NICs


# FireWire support
#device		firewire	# FireWire bus code
#device		sbp		# SCSI over FireWire (Requires scbus and da)
#device		fwe		# Ethernet over FireWire (non-standard!)
#device		fwip		# IP over FireWire (RFC 2734,3146)
#device		dcons		# Dumb console driver
#device		dcons_crom	# Configuration ROM for dcons
 

DutchDaemon

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 2,584
Messages: 11,212

#16
No apparent trouble there. Did you [cmd=]rm -rf /usr/obj[/cmd] before trying to compile world and kernel? Or else a previous faulty build will keep haunting you.
 

TzunTzai

Member

Thanks: 13
Messages: 97

#17
Yep, I tried that already.

DutchDaemon said:
No apparent trouble there. Did you [cmd=]rm -rf /usr/obj[/cmd] before trying to compile world and kernel? Or else a previous faulty build will keep haunting you.
 

ale

Daemon

Thanks: 160
Messages: 1,059

#18
This should not be the source of your problem, anyway it could be a problem (on 7 it was, I don't know if something changed about that)
Code:
#options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Control Transmission Protocol
 

TzunTzai

Member

Thanks: 13
Messages: 97

#19
It could be... I'll go through my kernel in detail when I get home tonight. I'll update once i'm done.

Thanks guys!

ale said:
This should not be the source of your problem, anyway it could be a problem (on 7 it was, I don't know if something changed about that)
Code:
#options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Control Transmission Protocol
 

TzunTzai

Member

Thanks: 13
Messages: 97

#20
Removing options SCTP worked. My kernel compiled and installed. However when I reboot I receive a mount error. I'll post the error later today.
 

TzunTzai

Member

Thanks: 13
Messages: 97

#21
Ok, Here's my KERNCONF and here's the error message. Maybe you guys can make something of it...

Code:
Trying to mount root from ufs:/dev/ad4s2a
ROOT MOUNT ERROR:
If you have invalid mount options, reboot, and first try the following from
the loader prompt:

     set vfs.root.mountfrom.options=rw

GENERIC boots just fine with my current /etc/fstab



Code:
cpu		I686_CPU
ident		KERNEL80

makeoptions	DEBUG=-g			# Build kernel with gdb(1) debug symbols
	
options 	SCHED_ULE			# ULE scheduler
options 	PREEMPTION			# Enable kernel thread preemption
options 	INET				# InterNETworking
options 	FFS				# Berkeley Fast Filesystem
options 	SOFTUPDATES			# Enable FFS soft updates support
options 	UFS_ACL				# Support for access control lists
options 	UFS_DIRHASH			# Improve performance on big directories
options 	UFS_GJOURNAL			# Enable gjournal-based UFS journaling
options 	MD_ROOT				# MD is a potential root device
options 	MSDOSFS				# MSDOS Filesystem
options 	CD9660				# ISO 9660 Filesystem
options 	PROCFS				# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS			# Pseudo-filesystem framework
options 	GEOM_PART_GPT			# GUID Partition Tables.
options 	GEOM_LABEL			# Provides labelization
options 	COMPAT_43TTY			# BSD 4.3 TTY compat (sgtty)
options 	COMPAT_FREEBSD4			# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5			# Compatible with FreeBSD5
options 	COMPAT_FREEBSD6			# Compatible with FreeBSD6
options 	COMPAT_FREEBSD7			# Compatible with FreeBSD7
options 	SCSI_DELAY=5000			# Delay (in ms) before probing SCSI
options 	KTRACE				# ktrace(1) support
options 	STACK				# stack(9) support
options 	SYSVSHM				# SYSV-style shared memory
options 	SYSVMSG				# SYSV-style message queues
options 	SYSVSEM				# SYSV-style semaphores
options 	P1003_1B_SEMAPHORES		# POSIX-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING 	# POSIX P1003_1B real-time extensions
options 	PRINTF_BUFR_SIZE=128		# Prevent printf output being interspersed.
options 	KBD_INSTALL_CDEV		# install a CDEV entry in /dev
options 	HWPMC_HOOKS			# Necessary kernel hooks for hwpmc(4)
options 	AUDIT				# Security event auditing
options 	MAC				# TrustedBSD MAC Framework
options		FLOWTABLE			# per-cpu routing cache

# To make an SMP kernel, the next two lines are needed
options 	SMP				# Symmetric MultiProcessor Kernel
device		apic				# I/O APIC

# CPU frequency control
device		cpufreq

# Bus support.
device		acpi
device		eisa
device		pci

# ATA and ATAPI devices
device		ata
device		atapicd				# ATAPI CDROM drives
options 	ATA_STATIC_ID			# Static device numbering

# SCSI peripherals
device		scbus				# SCSI bus (required for SCSI)
device		ch				# SCSI media changers
device		da				# Direct Access (disks)
#device		sa				# Sequential Access (tape etc)
device		cd				# CD
device		pass				# Passthrough device (direct SCSI access)
device		ses				# SCSI Environmental Services (and SAF-TE)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc				# AT keyboard controller
device		atkbd				# AT keyboard
device		psm				# PS/2 mouse
device		kbdmux				# keyboard multiplexer
device		vga				# VGA video card driver
device		splash				# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc				# Need
device		agp				# support several AGP chipsets

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus				# MII bus support
device		msk				# Marvell/SysKonnect Yukon II Gigabit Ethernet

# Wireless NIC cards
device		wlan				# 802.11 support
options 	IEEE80211_DEBUG			# enable debug msgs
options 	IEEE80211_AMPDU_AGE 		# age frames in AMPDU reorder q's
options 	IEEE80211_SUPPORT_MESH		# enable 802.11s D3.0 support
device		wlan_wep			# 802.11 WEP support
device		wlan_ccmp			# 802.11 CCMP support
device		wlan_tkip			# 802.11 TKIP support
device		wlan_amrr			# AMRR transmit rate control algorithm

# Pseudo devices.
device		loop				# Network loopback
device		random				# Entropy device
device		ether				# Ethernet support
device		tun				# Packet tunnel.
device		pty				# BSD-style compatibility pseudo ttys
device		md				# Memory "disks"
#device		gif				# IPv6 and IPv4 tunneling
#device		faith				# IPv6-to-IPv4 relaying (translation)
device		firmware			# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf				# Berkeley packet filter

# USB support
device		uhci				# UHCI PCI->USB interface
device		ohci				# OHCI PCI->USB interface
device		ehci				# EHCI PCI->USB interface (USB 2.0)
device		usb				# USB Bus (required)
#device		udbp				# USB Double Bulk Pipe devices
device		uhid				# "Human Interface Devices"
device		ukbd				# Keyboard
device		ulpt				# Printer
device		umass				# Disks/Mass storage - Requires scbus and da
device		ums				# Mouse
device		rum				# Ralink Technology RT2501USB wireless NICs

# FireWire support
#device		firewire			# FireWire bus code
#device		sbp				# SCSI over FireWire (Requires scbus and da)
#device		fwe				# Ethernet over FireWire (non-standard!)
#device		fwip				# IP over FireWire (RFC 2734,3146)
#device		dcons				# Dumb console driver
#device		dcons_crom			# Configuration ROM for dcons



Isn't there a way to disable any firewire (fwe, fwip) drivers at boot?
 

TzunTzai

Member

Thanks: 13
Messages: 97

#25
KERNEL80 compiled... But no luck with iwn or ndis :(


Code:
drm0: [ITHREAD]
in_scrubprefix: deletion failed
msk0: link state changed to DOWN
msk0: link state changed to UP
pid 1122 (perl5.8.9), uid 0 inumber 53 on /: filesystem full
pid 1122 (perl5.8.9), uid 0: exited on signal 6
pid 1123 (perl5.8.9), uid 0: exited on signal 6
no match for _aulldvrm
no match for KeBugCheck
no match for KeRegisterBugCheckReasonCallback
no match for KeDeregisterBugCheckReasonCallback
ndis0: <Intel(R) WiFi Link 5100 AGN> mem 0xf4600000-0xf4601fff irq 17 at device 0.0 on pci8
ndis0: [ITHREAD]
ndis0: NDIS API version: 5.1
ndis0: NDIS ERROR: 40001b7c (unknown error)
in_scrubprefix: deletion failed
msk0: link state changed to DOWN
msk0: link state changed to UP
ndis0: NDIS ERROR: 40001b7c (unknown error)
0#
Code:
0# ifconfig
msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=10a<TXCSUM,VLAN_MTU,TSO4>
	ether 00:23:8b:55:1f:a5
	inet 192.168.1.69 netmask 0xffffff00 broadcast 192.168.1.255
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet 127.0.0.1 netmask 0xff000000 
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:22:fa:00:6f:52
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
 
Top