Re: if_em problems, both 7 and 8-stable

2010-06-20 Thread Kurt Jaeger
Hi!

> We are trying to use an intel platform as a router; this is a 
> show-stopper.  I could try linux though I prefer not to...

We use Intel if_em with vlan interfaces on FreeBSD based routers,
both with i386, amd64, FreeBSD 6.x, 7.x, 8.x, on many different
boards and CPUs with good results for the last 7-8 years or so.

If you send a little more data (pciconf, vmstat -i, ifconfig -a),
maybe we find something.

-- 
p...@opsec.eu+49 171 310137210 years to go !
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Yet another problem with my laptop

2010-06-20 Thread David DEMELIER
Hello,

I always have problems with my laptop, this time is a lot of messages
while running on battery :

Jun 20 14:29:51 Melon kernel: ACPI Error (uteval-0318): Method
execution failed [\_SB_.BAT0._UID] (Node 0xff0001537760),
AE_AML_NO_OPERAND

There is a lot of these message in /var/log/messages, but I can't see
any troubles with my battery.

-- 
Demelier David
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


bwn(4) on 8.1-RC1: connection problems

2010-06-20 Thread Quentin Stievenart
Hi,

I've some broadcom wireless cards to test here (two BCM4318 and a
BCM4312). This week I tried the BCM4318 one (the 4312 is on a netbook,
I'll try it later, if the 4318 works some day). 

First of all, I was able to use it with ndisgen on FreeBSD 7.1, but
since the 7.2, it doesn't work anymore. So, two day ago I installed a
8.1-RC1 and tried bwi(4), but a `ifconfig wlan0 scan` wasn't detecting
anything.

So I gave bwn(4) a try, and it detect perfectly my network, but I just
can't connect to it, neither with dhclient nor with a static IP. 
Here's what I do to try to connect:

# kldload if_bwn
# kldload bwn_v4_ucode
# ifconfig wlan0 create wlandev bwn0
# ifconfig wlan0 up
# ifconfig wlan0 ssid myssid channel 6 wepmode on wepkey mywepkey
# ifconfig wlan0
wlan0: flags=8843 metric 0 mtu
1500
ether 00:11:50:d0:2f:6f
media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b
status: associated
ssid myssid channel 6 (2437 MHz 11b) bssid 00:60:b3:7a:5c:29
country US authmode OPEN privacy ON deftxkey UNDEF wepkey 1:40-bit
txpower 30 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi 7 roam:rate 1 wme
# ifconfig bwn0
bwn0: flags=8843 metric 0 mtu 2290
ether 00:11:50:d0:2f:6f
media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
status: associated

Then, for the static IP: 
# ifconfig wlan0 inet 192.168.1.30 netmask 255.255.255.0
# route add default 192.168.1.1
# arp -a
? (192.168.1.30) at 00:11:50:d0:2f:6f on wlan0 permanent [ethernet]

And I can't ping anything (except localhost and 192.168.1.30)
Or, with dhcp:
# dhclient wlan0
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Here's what pciconf -lv tells me about my card:

siba_b...@pci0:2:2:0: class=0x028000 card=0x70011799 chip=0x431814e4
rev=0x02 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'Broadcom 802.11b/g (BCM4318)'
class  = network

And a dmesg | egrep "(bwn|wlan)":

siba_bwn0:  mem 0xfdefc000-0xfdefdfff irq 
22 at device 2.0 on pci2
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4318 rev 9) PHY (analog 3 type 2 rev 7) RADIO (manuf 0x17f 
ver 0x2050 rev 8)
bwn0: DMA (32 bits)
bwn0: [FILTER]
wlan0: Ethernet address: 00:11:50:d0:2f:6f
bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a)
wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost
wlan0: link state changed to UP
bwn0: need multicast update callback
bwn0: RX decryption attempted (old 0 keyidx 0)
bwn0: RX decryption attempted (old 0 keyidx 0)
bwn0: RX decryption attempted (old 0 keyidx 0)
bwn0: RX decryption attempted (old 0 keyidx 0)
bwn0: RX decryption attempted (old 0 keyidx 0)

Also, when I start tcpdump on wlan0, and try to ping this computer from
another one, I see all the ping requests and responses on FreeBSD, but
the other computer don't get any response.

Does anyone knows what to do now ?

Regards, 

Quentin Stievenart.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: em(4) duplex problems with 82541EI on RELENG_8, -CURRENT on PowerEdge 1850

2010-06-20 Thread Brian Seklecki (Mobile)



On Fri, 18 Jun 2010, Jack Vogel wrote:

Yes, the commits today are slated to get into 8.1, at least that's my 
understanding.


Lets hope so; its looking very promising on the systems I'm able to test 
on.


We should ask 82541EI and Dell 9th gen PowerEdge users to test them right 
away.


~BAS
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"