Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2003 15:36:46 +1300
From:      Marcos Biscaysaqu <marcos@thepacific.net>
To:        freebsd-current@freebsd.org
Subject:   Ath0 Crash the PC
Message-ID:  <3F973EBE.4020805@thepacific.net>
In-Reply-To: <200310211902.29183.sam@errno.com>
References:  <3F95CB0A.3030406@thepacific.net> <200310211746.01091.sam@errno.com> <3F95E20D.1040701@thepacific.net> <200310211902.29183.sam@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi There.
With the debug on in hte kernel "ZABU" I found this when my Atheros card 
crash:

lock order reversal
 1st 0xc36c1e84 rl0 (network driver) @ pci/if_rl.c:1485
 2nd 0xc0766280 bridge (bridge) @ net/bridge.c:777
Stack backtrace:
lock order reversal
 1st 0xc0768540 ifnet (ifnet) @ net/bridge.c:424
 2nd 0xc379307c radix node head (radix node head) @ net/route.c:544
Stack backtrace:


looks like is a Bridge problem, I have the option BRIDGE in my kernel 
may be I need try another way to make the bridge work?

any idea.
thanks



Sam Leffler wrote:

>On Tuesday 21 October 2003 06:49 pm, you wrote:
>  
>
>>I using a pentium III 350Mghz 256 MB RAM , uniprocessor, PCI Atheros
>>Card Netgear WAG311 a/b/g  atheros chipset AR5212, same thing with a
>>DLINK PCI AR5212,  the last update of my source was yesterday, anyway  I
>>have the same problem with older versions.
>>    I trying now with a diferent PC to see what happend.
>>I hope this infromation help,  pls tell me if you need more information
>>    
>>
>
>Yes the information (especially dmesg) helps.
>
>Build your kernel with DDB, INVARIANTS, and WITNESS and -g.  When you get a 
>panic collect a stack trace from the ddb prompt and, if possible, a crash 
>dump.  Also, if you have an 11a AP try using this machine as a station and 
>load the network with tools like netperf and see if you crash..  Also, if you 
>have different NIC's, try replacing the RealTek with something else.  I 
>typically use fxp or em devices with an Intel Pro/1000 my favorite NIC.
>
>Finally, I notice you have ipfw+divert configured.  I don't know if it is 
>being used but if so remove it.  In general try to reduce the system 
>configuration to the minimum you need to run tests.
>
>Attached is a typicaly kernel configuration I use for debugging.  I'm 
>providing it solely so you can see how to enable the stuff above.
>
>	Sam
>  
>
>------------------------------------------------------------------------
>
>machine		i386
>cpu		I686_CPU
>ident		ZABU
>maxusers	0
>
>#To statically compile in device wiring instead of /boot/device.hints
>#hints		"GENERIC.hints"		#Default places to look for devices.
>
>makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
>
>options 	SCHED_4BSD		#4BSD scheduler
>options 	INET			#InterNETworking
>options 	INET6			#IPv6 communications protocols
>options 	FFS			#Berkeley Fast Filesystem
>options 	SOFTUPDATES		#Enable FFS soft updates support
>options 	UFS_DIRHASH		#Improve performance on big directories
>options 	NFSCLIENT		#Network Filesystem Client
>options 	NFSSERVER		#Network Filesystem Server
>options 	MSDOSFS			#MSDOS Filesystem
>options 	CD9660			#ISO 9660 Filesystem
>options 	PROCFS			#Process filesystem (requires PSEUDOFS)
>options 	PSEUDOFS		#Pseudo-filesystem framework
>options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
>options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
>options 	KTRACE			#ktrace(1) support
>options 	SYSVSHM			#SYSV-style shared memory
>options 	SYSVMSG			#SYSV-style message queues
>options 	SYSVSEM			#SYSV-style semaphores
>options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
>
># Debugging for use in -current
>options 	DDB			#Enable the kernel debugger
>options 	INVARIANTS		#Enable calls of extra sanity checking
>options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
>options 	WITNESS			#Enable checks to detect deadlocks and cycles
>options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
>
>options		COMPAT_LINUX
>
>device		isa
>device		eisa
>device		pci
>
># Floppy drives
>device		fdc
>
># ATA and ATAPI devices
>device		ata
>device		atadisk			# ATA disk drives
>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		vga		# VGA video card driver
>device		agp		# support several AGP chipsets
>device		sc		# syscons is the default console driver
>
>device		npx			# floating point support
>device		acpi
>
># PCCARD (PCMCIA) support
># Pcmcia and cardbus bridge support
>device		cbb			# cardbus (yenta) bridge
>#device		pcic			# ExCA ISA and PCI bridges
>device		pccard			# PC Card (16-bit) bus
>device		cardbus			# CardBus (32-bit) bus
>
># Serial (COM) ports
>device		sio		# 8250, 16[45]50 based serial ports
>
># Parallel port
>device		ppc
>device		ppbus		# Parallel port bus (required)
>
>device		miibus		# MII bus support
>device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
>
>device		wlan		# 802.11 support
>device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
>device		ath
>device		ath_hal
>
># Pseudo devices - the number indicates how many units to allocate.
>device		random		# Entropy device
>device		loop		# Network loopback
>device		ether		# Ethernet support
>device		pty		# Pseudo-ttys (telnet etc)
>
># The `bpf' device enables the Berkeley Packet Filter.
># Be aware of the administrative consequences of enabling this!
>device		bpf		# Berkeley packet filter
>
># USB support
>device		uhci		# UHCI PCI->USB interface
>device		ohci		# OHCI PCI->USB interface
>device		usb		# USB Bus (required)
>#device		umass		# Disks/Mass storage - Requires scbus and da
>device		ums		# Mouse
>  
>

-- 

Marcos Biscaysaqu

Systems Administrator
ThePacific.Net Ltd.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F973EBE.4020805>