You are not logged in.

#1 2009-02-22 13:36:43

Lexion
Member
Registered: 2008-03-23
Posts: 510

netcfg problem

When I suspend my macbook, is breaks netcfg.  When before I had a perfectly good connection, it is now gone.  If I run netcfg home, the dhcp output just waits for the carrier.  And when I run dhcpcd manually, I get the same results, I then reboot, and it will work until the next suspend.

I am using pm-suspend (not hibernate) and a macbook 2,1

Here is the output of the pm-suspend log:

Initial commandline parameters: --quirk-vbestate-restore
Sun Feb 22 01:47:52 EST 2009: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: success.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: Linux Ayldorf 2.6.28-ARCH #4 SMP PREEMPT Mon Feb 2 17:30:16 EST 2009 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux
Module                  Size  Used by
i915                   58372  2 
drm                    83880  3 i915
usbhid                 36640  0 
appletouch             12164  0 
hid_apple               8064  0 
hid                    40704  2 usbhid,hid_apple
i2c_i801               10896  0 
ohci1394               31280  0 
iTCO_wdt               12836  0 
iTCO_vendor_support     4996  1 iTCO_wdt
i2c_core               22804  1 i2c_i801
uhci_hcd               24592  0 
ieee1394               79940  1 ohci1394
sg                     26804  0 
snd_pcsp               11048  0 
joydev                 11712  0 
ehci_hcd               36876  0 
intel_agp              27836  1 
agpgart                31572  3 drm,intel_agp
usbcore               136848  5 usbhid,appletouch,uhci_hcd,ehci_hcd
video                  18704  0 
output                  4608  1 video
applesmc               22832  0 
led_class               5508  1 applesmc
input_polldev           5256  1 applesmc
thermal                17180  0 
processor              41388  3 thermal
evdev                  11296  3 
fan                     6276  0 
button                  7824  0 
wlan_scan_sta          15104  1 
ath_rate_sample        15872  1 
snd_seq_oss            31872  0 
snd_seq_midi_event      8192  1 snd_seq_oss
snd_seq                49968  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8204  2 snd_seq_oss,snd_seq
battery                12036  0 
snd_hda_intel         412980  1 
ath_pci               246072  0 
snd_pcm_oss            40192  0 
ac                      6020  0 
wlan                  222448  4 wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               250976  3 ath_rate_sample,ath_pci
snd_mixer_oss          16512  1 snd_pcm_oss
snd_pcm                70020  3 snd_pcsp,snd_hda_intel,snd_pcm_oss
snd_timer              21384  2 snd_seq,snd_pcm
snd_page_alloc         10120  2 snd_hda_intel,snd_pcm
snd_hwdep               9092  1 snd_hda_intel
snd                    50852  12 snd_pcsp,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
vboxdrv               115368  0 
sky2                   48132  0 
soundcore               8160  1 snd
rtc_cmos               12332  0 
rtc_core               17564  1 rtc_cmos
rtc_lib                 4480  1 rtc_core
ata_piix               23300  1 
ata_generic             6788  0 
pata_acpi               6016  0 
             total       used       free     shared    buffers     cached
Mem:       2042748     191280    1851468          0       6756      35348
-/+ buffers/cache:     149176    1893572
Swap:            0          0          0
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: /bin/stty: standard input: Inappropriate ioctl for device
:: home down    [BUSY]    [DONE] 
success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/90chvt suspend suspend: success.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend: success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend: kernel.acpi_video_flags = 0
success.
Sun Feb 22 01:47:54 EST 2009: performing suspend
Sun Feb 22 01:48:26 EST 2009: Awake.
Sun Feb 22 01:48:26 EST 2009: Running hooks for resume
/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video resume suspend: success.
/usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
/usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/90chvt resume suspend: success.
/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg resume suspend: /bin/stty: standard input: Inappropriate ioctl for device
:: home up    [BUSY] ath0: dhcpcd 4.0.10 starting
ath0: hardware address = 00:1b:63:09:eb:91
ath0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
ath0: waiting for carrier
ath0: waiting for carrier
ath0: received SIGTERM, stopping
/usr/lib/pm-utils/functions: line 39:  2730 Terminated              "${hook}" $2

urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#2 2009-02-27 22:35:52

johnzo
Member
Registered: 2008-12-17
Posts: 3

Re: netcfg problem

Check in the wiki to setup the suspend options.  You may also need to make sure your session saves.  Every time I suspend, it quits my session.

Offline

Board footer

Powered by FluxBB