Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2003 14:49:01 +1300
From:      Marcos Biscaysaqu <marcos@thepacific.net>
To:        Sam Leffler <sam@errno.com>, freebsd-current@freebsd.org
Subject:   Re: Ath0 Crash the PC
Message-ID:  <3F95E20D.1040701@thepacific.net>
In-Reply-To: <200310211746.01091.sam@errno.com>
References:  <3F95CB0A.3030406@thepacific.net> <200310211746.01091.sam@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

this is my dmeg;
SAM# dmesg
Copyright (c) 1992-2003 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 5.1-CURRENT #5: Tue Oct 21 13:53:07 NZDT 2003
    marcos@FAST1.ts.co.nz:/usr/src/sys/i386/compile/IPFW
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0971000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0971244.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Duron(tm)  (959.45-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x631  Stepping = 1
  
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 369033216 (351 MB)
avail memory = 348774400 (332 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT VIA_K7  > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00f7e00
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 9 INTA is routed to irq 10
pcib0: slot 19 INTA is routed to irq 12
agp0: <VIA Generic host to PCI bridge> mem 0xe0000000-0xe3ffffff at 
device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib0: slot 1 INTA is routed to irq 11
pcib1: slot 0 INTA is routed to irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
ath0: <Atheros 5212> mem 0xdfff0000-0xdfffffff irq 10 at device 9.0 on pci0
ath0: [MPSAFE]
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
24Mbps 36Mbps 48Mbps 54Mbps
ath0: turbo rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 802.11 address: 00:09:5b:92:41:e2
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8233A UDMA133 controller> port 0xfc00-0xfc0f at device 
17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 
0xdffeff00-0xdffeffff irq 12 at device 19.0 on pci0
rl0: Ethernet address: 00:20:ed:2d:8b:a2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: cmd 3 failed at out byte 1 of 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: cmd 3 failed at out byte 1 of 3
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
fdc0: cannot reserve I/O port range (6 ports)
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 959452732 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, 
default to accept, logging disabled
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
GEOM: create disk ad0 dp=0xc377c070
ad0: 19130MB <SAMSUNG SV0221H> [38869/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
ath0: promiscuous mode enabled
rl0: promiscuous mode enabled

This show the screen when crash:

fatal 12 : page fault while in kernel mode
fault virtual address : 0x3aaba
fault code         =   supervisor read, page not present
                               0x8 : 0xc063678
stack pointer      = 0x10 : 0xd16e2c2c
frame pointer     = 0x10 : 0xd16e2c30
code segment     =  base 0x0, limit 0xfffff, type  0x1b
                             = DPL0, pres 1, def32 1, gran 1
Processor eflags  =  interrupt enabled, resume, IOLP=0
Current process   =  21 (swi7 : task queue)
trap number         = 12
panic : page fault
syncing disk .. 2385  2385 2385 2385 2385 2385 2385 2385 2385 ath0: 
device timeout
ad0: Warring - FLUSHCACHE recovered from missing interrupt
ad0: Warring - WRITE_DMA recovered from missing interrupt
ath0:device timeout
ath0:device timeout



Sam Leffler wrote:

>On Tuesday 21 October 2003 05:10 pm, Marcos Biscaysaqu wrote:
>  
>
>>I have a Atheros card running as Ap in the last version of Freebsd 5.1
>>current, with the last Ath drivers files, the problem start when I make
>>a simple ftp with more than maybe 5mb the card crash and crash the
>>computer, the screen say ath0:timeout and i need reset it to make it work
>>again. to make it crash doesn't take longer than 2min.
>>`
>>    
>>
>
>If your system crashed then you need to provide a stack trace.  You don't 
>indicate what kind of machine you have--laptop?  uniprocessor?  multiprocess?  
>x86?  What kind of atheros card? cardbus?  minipci?  What kind of chip is 
>being used? ar5212, ar5211, ar5210?
>
>If you are running current then you should be sure to say when you last 
>updated your sources.
>
>  
>
>>I tried too make a troughput test with ftp traffic in both ways and is
>>worse crash after 40 sec
>>Troughput test logs:
>>http://202.49.92.224/atheros/TESTFAst.html
>>
>>my settings:
>>
>>ifconfig ath0 inet up  ssid mynet media OFDM/54Mbps mode 11a mediaopt
>>hostap mediaopt turbo
>>
>>sysctl net.link.ether.bridge.enable=1
>>sysctl net.link.ether.bridge_cfg="ath0 rl0"
>>sysctl net.link.ether.bridge_ipfw=1
>>sysctl net.inet.ip.forwarding=1
>>    
>>
>
>I have run this configuration w/o turbo mode on a sony vaio laptop with ar5210 
>and ar5212 Atheros cards.  I've not seen any "crashes".
>
>	Sam
>
>
>  
>

-- 

Marcos Biscaysaqu

Systems Administrator
ThePacific.Net Ltd.




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