public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Tomas M." <tmezzadra@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: suspend script fails with 2.6.31, related to stdout?
Date: Fri, 17 Jul 2009 16:24:37 -0300	[thread overview]
Message-ID: <4A60CFF5.7030600@gmail.com> (raw)

a pm-suspend hook fails with 2.6.31 (which does not under 2.6.30). the 
error as follows:
---

/etc/pm/sleep.d/11netcfg resume suspend: /bin/stty: standard input: 
Inappropriate ioctl for device
/bin/stty: standard input: Inappropriate ioctl for device
:: Scanning for networks    [BUSY] wlan0     Interface doesn't support 
scanning : Network is down

wlan0     Interface doesn't support scanning : Network is down

wlan0     Interface doesn't support scanning : Network is down

wlan0     Interface doesn't support scanning : Network is down

wlan0     Interface doesn't support scanning : Network is down

wlan0     Interface doesn't support scanning : Network is down

/etc/rc.d/functions: line 99: printf: - : invalid option
printf: usage: printf [-v var] format [arguments]
   [FAIL]
---
ive been tracking down the script, and it all comes down to iwlist 
(which is used to scan for networks) which prints outputs to stdout. i 
dont know how to debug this any further.. does anyone have any idea?

                 reply	other threads:[~2009-07-17 19:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A60CFF5.7030600@gmail.com \
    --to=tmezzadra@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox