From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 01:37:48 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C902B37B401 for ; Tue, 12 Aug 2003 01:37:48 -0700 (PDT) Received: from xyzzy.wireless.snsonline.net (dhcp.looksmart.com.au [210.9.52.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48B1743FA3 for ; Tue, 12 Aug 2003 01:37:46 -0700 (PDT) (envelope-from msergeant@snsonline.net) Received: from xyzzy.wireless.snsonline.net (localhost [127.0.0.1]) h7C8bg7n001470 for ; Tue, 12 Aug 2003 18:37:42 +1000 (EST) (envelope-from msergeant@snsonline.net) Received: (from sarge@localhost)h7C8bfO4001469 for freebsd-current@freebsd.org; Tue, 12 Aug 2003 18:37:41 +1000 (EST) X-Authentication-Warning: xyzzy.wireless.snsonline.net: sarge set sender to msergeant@snsonline.net using -f From: Mark Sergeant To: freebsd-current@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SNSOnline Technical Services Message-Id: <1060677457.1191.4.camel@xyzzy.wireless.snsonline.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 12 Aug 2003 18:37:37 +1000 Subject: Problem with dhclient & wi0 on resume. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2003 08:37:49 -0000 I've got a toshiba portege 4000 with inbuilt wi0 wireless card. On resume dhclient kicks off straight away which then breaks as the card isn't loaded as yet. Is there anyway to specify a sleep value for dhclient on resume from suspend ? I'm running current from today, I should note I'm also seeing a bunch of wi0 bad_alloc messages as well with this card. It gets quite annoying to have to restart dhclient everytime I resume. The dmesg info is ... wi0: detached ata0: resetting devices .. done ata1: resetting devices .. done wakeup from sleeping state (slept 00:00:08) wi0: at port 0x100-0x13f irq 11 function 0 config 1 on pccard0 wi0: 802.11 address: 00:02:2d:24:ec:d6 wi0: using Lucent Embedded WaveLAN/IEEE wi0: Lucent Firmware: Station (6.14.1) wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wi0: bad alloc 62b != 100, cur 0 nxt 0 wi0: bad alloc 451 != 100, cur 0 nxt 0 wi0: bad alloc 345 != 100, cur 0 nxt 0 wi0: bad alloc 298 != 100, cur 0 nxt 0 the log from /var/log/messages is... Aug 12 18:27:13 xyzzy kernel: wi0: detached Aug 12 18:27:13 xyzzy kernel: ata0: resetting devices .. Aug 12 18:27:13 xyzzy kernel: done Aug 12 18:27:13 xyzzy kernel: ata1: resetting devices .. Aug 12 18:27:13 xyzzy kernel: done Aug 12 18:27:13 xyzzy kernel: wakeup from sleeping state (slept 00:00:08) Aug 12 18:27:13 xyzzy dhclient: send_packet: No route to host Aug 12 18:27:13 xyzzy dhclient: receive_packet failed on wi0: No route to host Aug 12 18:27:15 xyzzy kernel: wi0: at port 0x100-0x13f irq 11 function 0 config 1 on pccard0 Aug 12 18:27:15 xyzzy kernel: wi0: 802.11 address: 00:02:2d:24:ec:d6 Aug 12 18:27:15 xyzzy kernel: wi0: using Lucent Embedded WaveLAN/IEEE Aug 12 18:27:15 xyzzy kernel: wi0: Lucent Firmware: Station (6.14.1) Aug 12 18:27:15 xyzzy kernel: wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps Cheers, -- Mark Sergeant SNSOnline Technical Services