Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2008 22:08:41 +0300
From:      Ole Vole <subbsd@gmail.com>
To:        freebsd-questions@freebsd.org, freebsd-current@freebsd.org
Subject:   Asus eeepc, Freebsd-head, problem with ath/wifi driver
Message-ID:  <200811202208.41220.subbsd@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello maillist!

I trying setup FreeBSD according Wiki notes http://wiki.freebsd.org/AsusEee 
and get system without ath Wi-Fi devices (Fn+f2/Bios settings for Wifi: 
Enabled)

buildin/install kernel/world from 20081120 snapshot FreeBSD-CURRENT with/or 
patching from madwifi.org-project  ( http://snapshots.madwifi-
project.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3875-20081105.tar.gz ) 
(old link http://snapshots.madwifi-project.org/special/madwifi-ng-
r2756+ar5007.tar.gz is wrong) with extracting hal/ to 
/usr/src/sys/contrib/dev/ath/ and recompile the kernel  


Also, trying to test http://people.freebsd.org/~sam/ath_hal-20081028.tgz

As result from attemps is string in dmesg:
ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, 
RF5413, RF2133, RF2425, RF2417)

but ifconfig show only LAN ale0 Ethernet interface. 

On the list pciconf i see "Ralink Technology, Corp" devices but iy without 
drivers.

What is wrong here? Thanks!

Additional info:


 pciconf -vl output:
--
hostb0@pci0:0:0:0:      class=0x060000 card=0x830f1043 chip=0x27ac8086 
rev=0x03 hdr=0x00                  
    vendor     = 'Intel Corporation'                                                                      
    class      = bridge                                                                                   
    subclass   = HOST-PCI                                                                                 
vgapci0@pci0:0:2:0:     class=0x030000 card=0x830f1043 chip=0x27ae8086 
rev=0x03 hdr=0x00                  
    vendor     = 'Intel Corporation'                                                                      
    class      = display                                                                                  
    subclass   = VGA                                                                                      
vgapci1@pci0:0:2:1:     class=0x038000 card=0x830f1043 chip=0x27a68086 
rev=0x03 hdr=0x00                  
    vendor     = 'Intel Corporation'                                                                      
    device     = 'Mobile 945GM/GU Express Integrated Graphics Controller'                                 
    class      = display                                                                                  
hdac0@pci0:0:27:0:      class=0x040300 card=0x831a1043 chip=0x27d88086 
rev=0x02 hdr=0x00                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801G (ICH7 Family) High Definition Audio'                                             
    class      = multimedia                                                                               
    subclass   = HDA                                                                                      
pcib1@pci0:0:28:0:      class=0x060400 card=0x830f1043 chip=0x27d08086 
rev=0x02 hdr=0x01                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801G (ICH7 Family) PCIe Root Port'                                                    
    class      = bridge                                                                                   
    subclass   = PCI-PCI                                                                                  
pcib2@pci0:0:28:1:      class=0x060400 card=0x830f1043 chip=0x27d28086 
rev=0x02 hdr=0x01                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801G (ICH7 Family) PCIe Root Port'                                                    
    class      = bridge                                                                                   
    subclass   = PCI-PCI                                                                                  
pcib3@pci0:0:28:2:      class=0x060400 card=0x830f1043 chip=0x27d48086 
rev=0x02 hdr=0x01                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801G (ICH7 Family) PCIe Root Port'                                                    
    class      = bridge                                                                                   
    subclass   = PCI-PCI                                                                                  
pcib4@pci0:0:28:3:      class=0x060400 card=0x830f1043 chip=0x27d68086 
rev=0x02 hdr=0x01                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801G (ICH7 Family) PCIe Root Port'                                                    
    class      = bridge                                                                                   
    subclass   = PCI-PCI                                                                                  
uhci0@pci0:0:29:0:      class=0x0c0300 card=0x830f1043 chip=0x27c88086 
rev=0x02 hdr=0x00                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801G (ICH7 Family) USB Universal Host Controller'                                     
    class      = serial bus                                                                               
    subclass   = USB                                                                                      
uhci1@pci0:0:29:1:      class=0x0c0300 card=0x830f1043 chip=0x27c98086 
rev=0x02 hdr=0x00                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801G (ICH7 Family) USB Universal Host Controller'                                     
    class      = serial bus                                                                               
    subclass   = USB                                                                                      
uhci2@pci0:0:29:2:      class=0x0c0300 card=0x830f1043 chip=0x27ca8086 
rev=0x02 hdr=0x00                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801G (ICH7 Family) USB Universal Host Controller'                                     
    class      = serial bus                                                                               
    subclass   = USB                                                                                      
uhci3@pci0:0:29:3:      class=0x0c0300 card=0x830f1043 chip=0x27cb8086 
rev=0x02 hdr=0x00                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801G (ICH7 Family) USB Universal Host Controller'                                     
    class      = serial bus                                                                               
    subclass   = USB                                                                                      
ehci0@pci0:0:29:7:      class=0x0c0320 card=0x830f1043 chip=0x27cc8086 
rev=0x02 hdr=0x00                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller'                                  
    class      = serial bus                                                                               
    subclass   = USB                                                                                      
pcib5@pci0:0:30:0:      class=0x060401 card=0x830f1043 chip=0x24488086 
rev=0xe2 hdr=0x01                  
    vendor     = 'Intel Corporation'                                                                      
    device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI 
Bridge'                          
    class      = bridge                                                                                   
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 card=0x830f1043 chip=0x27b98086 
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GBM (ICH7-M) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:2:    class=0x010180 card=0x830f1043 chip=0x27c48086 
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller'
    class      = mass storage
    subclass   = ATA
ichsmb0@pci0:0:31:3:    class=0x0c0500 card=0x830f1043 chip=0x27da8086 
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
ale0@pci0:4:0:0:        class=0x020000 card=0x83241043 chip=0x10261969 
rev=0xb0 hdr=0x00
    vendor     = 'Attansic (Now owned by Atheros)'
    class      = network
    subclass   = ethernet
none0@pci0:1:0:0:       class=0x028000 card=0x27901814 chip=0x07811814 
rev=0x00 hdr=0x00
    vendor     = 'Ralink Technology, Corp'
    class      = network
---




kernel config:
----
cpu             I686_CPU                                                   
ident           eeepc                                                      

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_DIRHASH             # Improve performance on big 
directories
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 [KEEP THIS!]       
options         COMPAT_FREEBSD7         # Compatible with FreeBSD7              
options         STACK                   # stack(9) 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
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev           
options         STOP_NMI                # Stop CPUS using NMI instead of IPI     

options         SMP                     # Symmetric MultiProcessor Kernel
device          apic                    # I/O APIC                       

device          cpufreq

device          acpi
device          eisa
device          pci 


device          ata
device          atadisk         # ATA disk drives
options         ATA_STATIC_ID   # Static device numbering

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)

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          sc

device          agp             # support several AGP chipsets

device          pmtimer

device          miibus          # MII bus support
device          ale             # Atheros AR8121/AR8113/AR8114 Ethernet

device          wlan            # 802.11 support
options         IEEE80211_DEBUG # enable debug msgs
options         IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
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
device          ral             # Ralink Technology RT2500 wireless NICs.

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             

device          bpf             # Berkeley packet filter

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          ugen            # Generic                          
device          uhid            # "Human Interface Devices"        
device          ukbd            # Keyboard                         
device          umass           # Disks/Mass storage - Requires scbus and da
device          ums             # Mouse                                     
device          ucom            # Generic com ttys                          
device          u3g             # USB-based 3G modems (Option, Huawei, Sierra)
device          uark            # Technologies ARK3116 based serial adapters  
device          ubsa            # Belkin F5U103 and compatible serial adapters
device          uftdi           # For FTDI usb serial adapters                
device          uipaq           # Some WinCE based devices                    
device          uplcom          # Prolific PL-2303 serial adapters            
device          uslcom          # SI Labs CP2101/CP2102 serial adapters       
device          uvisor          # Visor and Palm devices                      
device          uvscom          # USB serial support for DDI pocket's PHS     

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               

device sound
device snd_hda
options         LIBICONV
options         LIBMCHAIN
options         CD9660_ICONV
options         MSDOSFS_ICONV
options         NTFS
options         NTFS_ICONV
options         UDF
options         UDF_ICONV
options         GEOM_UZIP               # read only compressed disks


options TMPFS
device acpi_asus
device acpi_video

device ralfw
device wlan
device wlan_amrr
device          ath             # Atheros pci/cardbus NIC's
device          ath_hal         # Atheros HAL (Hardware Access Layer)
device          ath_rate_sample # SampleRate tx rate control for ath
device ichsmb
----








kernel & hw:
%sysctl -a |egrep -E "^kern.os[a-z]++"
--
kern.ostype: FreeBSD
kern.osrelease: 8.0-CURRENT
kern.osrevision: 199506
kern.osreldate: 800053
--
%sysctl -a |egrep -E "^hw" |head -n5
hw.machine: i386
hw.model: Intel(R) Atom(TM) CPU N270   @ 1.60GHz
hw.ncpu: 2
hw.byteorder: 1234
hw.physmem: 1056018432









/boot/loader.conf:
--
if_ath_load="YES"   /* also try with static compile-in-kernel */
hw.psm.synaptics_support=1
kern.hz=100
hw.pci.do_power_nodriver=1
vfs.root.mountfrom="ufs:ad2s1a"
--




/etc/src.conf with following "make buildworld; make kernel; make installworld" 
and after reboot: "cd /usr/src; yes |make delete-old ; yes | make-delete-old-
libs"

--
WITHOUT_ACCT=yes                                                               
WITHOUT_AMD=yes                                                                
WITHOUT_APM=yes                                                                
WITHOUT_ASSERT_DEBUG=yes                                                       
WITHOUT_AT=yes                                                                 
WITHOUT_ATM=yes                                                                
WITHOUT_AUDIT=yes                                                              
WITHOUT_AUTHPF=yes                                                             
WITHOUT_BIND_DNSSEC=yes                                                        
WITHOUT_BSNMP=yes                                                              
WITHOUT_CDDL=yes                                                               
WITHOUT_ZFS=yes                                                                
WITHOUT_CTM=yes                                                                
WITHOUT_EXAMPLES=yes                                                           
WITHOUT_FLOPPY=yes                                                             
WITHOUT_FREEBSD_UPDATE=yes                                                     
WITHOUT_GAMES=yes                                                              
WITHOUT_HTML=yes                                                               
WITHOUT_INET6=yes                                                              
WITHOUT_INET6_SUPPORT=yes                                                      
WITHOUT_INFO=yes                                                               
WITHOUT_IPFILTER=yes                                                           
WITHOUT_IPFW=yes                                                               
WITHOUT_IPX=yes                                                                
WITHOUT_IPX_SUPPORT=yes
WITHOUT_NCP=yes
WITHOUT_JAIL=yes
WITHOUT_LEGACY_CONSOLE=yes
WITHOUT_LPR=yes
WITHOUT_MAIL=yes
WITHOUT_MAILWRAPPER=yes
WITHOUT_SENDMAIL=yes
WITHOUT_NCP=yes
WITHOUT_NIS=yes
WITHOUT_NLS=yes
WITHOUT_NLS_CATALOGS=yes
WITHOUT_NTP=yes
WITHOUT_PF=yes
WITHOUT_AUTHPF=yes
WITHOUT_PROFILE=yes
WITHOUT_QUOTAS=yes
WITHOUT_RCMDS=yes
WITHOUT_ROUTED=yes
WITHOUT_SHAREDOCS=yes
WITHOUT_SLIP=yes
WITHOUT_SSP=yes
WITHOUT_ZFS=yes
--





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