Bug 126339 - [ipw] ipw driver drops the connection
Summary: [ipw] ipw driver drops the connection
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-wireless mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-07 16:40 UTC by David Gurvich
Modified: 2019-01-25 13:03 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Gurvich 2008-08-07 16:40:01 UTC
From time to time the ipw driver drops the connection.  Not each time
the connection is dropped, occasionally the following error:

Aug  6 00:13:38 Lucifer kernel: ipw0: link state changed to DOWN
Aug  6 00:16:59 Lucifer kernel: ipw0: link state changed to UP
Aug  6 00:16:59 Lucifer kernel: ipw0: firmware error
Aug  6 00:16:59 Lucifer kernel: ipw0: link state changed to DOWN

Restarting netif, bringing ipw down&up, regains the connection.

Here is a typical set from /var/log/messages :
Aug  7 10:49:43 Lucifer kernel: ipw0: link state changed to DOWN
Aug  7 10:49:45 Lucifer kernel: ipw0: link state changed to UP

Then I restart the interface:
Aug  7 10:51:29 Lucifer kernel: ipw0: link state changed to DOWN
Aug  7 10:51:54 Lucifer kernel: ipw0: link state changed to UP
Aug  7 10:51:54 Lucifer dhclient: New IP Address (ipw0): 192.168.1.45
Aug  7 10:51:54 Lucifer dhclient: New Subnet Mask (ipw0): 255.255.255.0
Aug  7 10:51:54 Lucifer dhclient: New Broadcast Address (ipw0): 255.255.255.255
Aug  7 10:51:54 Lucifer dhclient: New Routers (ipw0): 192.168.1.1
Aug  7 10:51:54 Lucifer dhclient: New IP Address (ipw0): 192.168.1.45
Aug  7 10:51:54 Lucifer dhclient: New Subnet Mask (ipw0): 255.255.255.0
Aug  7 10:51:54 Lucifer dhclient: New Broadcast Address (ipw0): 255.255.255.255
Aug  7 10:51:54 Lucifer dhclient: New Routers (ipw0): 192.168.1.1

I'm not sure if there is a duplicate set of lines in the log file or if
there are two instances for getting the routing set up.

Fix: 

I've been considering a script to automatically bring ipw0 down/up every
minute.  Seems insane as many days the connection is maintained for over
an hour at a time.
How-To-Repeat: Turn the machine on, connect wirelessly, wait random interval.  At some
point there will be messages in the log file about ipw0 link state changed
to DOWN then UP.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-08-07 18:24:05 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:51 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Andriy Voskoboinyk freebsd_committer 2019-01-25 13:03:16 UTC
Assign to the wireless list.