mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Laurent Riffard <laurent.riffard@free.fr>
Cc: Andrew Morton <akpm@osdl.org>,
	Kernel development list <linux-kernel@vger.kernel.org>,
	netdev@vger.kernel.org, Linux ACPI <linux-acpi@vger.kernel.org>
Subject: Re: 2.6.18-rc4-mm1: eth0: trigger_send() called with the transmitter busy
Date: Tue, 15 Aug 2006 18:39:54 +0200	[thread overview]
Message-ID: <200608151839.55184.rjw@sisk.pl> (raw)
In-Reply-To: <44E1EA66.2060408@free.fr>

On Tuesday 15 August 2006 17:38, Laurent Riffard wrote:
> 
> Le 15.08.2006 12:10, Rafael J. Wysocki a écrit :
> > On Tuesday 15 August 2006 01:01, Laurent Riffard wrote:
> >> Le 14.08.2006 23:25, Rafael J. Wysocki a écrit :
> >>> On Monday 14 August 2006 22:06, Laurent Riffard wrote:
> >>>> Le 14.08.2006 19:47, Laurent Riffard a écrit :
> >>>>> Le 14.08.2006 18:50, Andrew Morton a écrit :
> >>>>>> On Mon, 14 Aug 2006 16:38:47 +0200
> >>>>>> Laurent Riffard <laurent.riffard@free.fr> wrote:
]--snip--[
> >> Note that I always have had a warning sowhere in acpi_pci_link_set during suspend:
> >>  BUG: sleeping function called from invalid context at include/asm/semaphore.h:99
> > Bad.  If that's 100% reproducible, could you please try to nail it down?
> 
> I wasn't clear: I always had this "BUG: sleeping function called ...." since one year
> or more. It never prevents from suspending. Do you want me to track down what cause 
> this message?

Something like that, more or less, but the trace below shows this. ;-)
It doesn't seem to be harmful, though.

> Here is a more complete trace: 
> 
>  Stopping tasks: ================|
>  Shrinking memory...  ^H-^H\^Hdone (10908 pages freed)
]--snip--[
>  Suspending device platform
>  swsusp: Need to copy 60817 pages
>  Intel machine check architecture supported.
>  Intel machine check reporting enabled on CPU#0.
>  BUG: sleeping function called from invalid context at include/asm/semaphore.h:99
>  in_atomic():0, irqs_disabled():1
>   [<c0103894>] show_trace_log_lvl+0x12/0x25
>   [<c0103975>] show_trace+0xd/0x10
>   [<c01040aa>] dump_stack+0x19/0x1b
>   [<c0112ef9>] __might_sleep+0x8d/0x95
>   [<c01daf53>] acpi_os_wait_semaphore+0x93/0x158
>   [<c01ffb9d>] acpi_ut_acquire_mutex+0x69/0xd4
>   [<c01f3231>] acpi_ns_get_node+0x8e/0x112
>   [<c01f259a>] acpi_ns_evaluate+0x62/0x258
>   [<c01f8aa1>] acpi_rs_set_srs_method_data+0xf1/0x125
>   [<c01f8341>] acpi_set_current_resources+0x8b/0xb0
>   [<c0204ca5>] acpi_pci_link_set+0x10e/0x1e0
>   [<c0204dc2>] irqrouter_resume+0x4b/0x62

Here we go.  linux-acpi added to the Cc list.

>   [<c021d04a>] __sysdev_resume+0x14/0x57
>   [<c021d1c0>] sysdev_resume+0x19/0x4b
>   [<c0221bf9>] device_power_up+0x8/0xf
>   [<c0134271>] swsusp_suspend+0x51/0x78
>   [<c013466a>] pm_suspend_disk+0x51/0xe2
>   [<c01337d0>] enter_state+0x52/0x164
>   [<c0133968>] state_store+0x86/0x9c
>   [<c01831b8>] subsys_attr_store+0x20/0x25
>   [<c01832c8>] sysfs_write_file+0xaa/0xcf
>   [<c015472c>] vfs_write+0x8c/0x138
>   [<c0154c44>] sys_write+0x3b/0x60
>   [<c0102c2d>] sysenter_past_esp+0x56/0x8d
>   =======================
]--snip--[
> >> Or must really netconsole be stopped during device_suspend ?
> > 
> > Yes, it must.  For now, the consoles are suspend-unfriendly, so to speak. ;-)
> > 
> 
> I think I found something related to netconsole and your patch 
> "suspend_console/resume_console". I was booting to runlevel 1 and I was using 
> this script to suspend:
> 
> <=== script begin ===>
> #!/bin/sh
> # don't want to {fsck *and* reboot} if something goes wrong
> mount -oremount,ro /
> # enable write caching on HD
> hdparm -W1 /dev/hd[ab]
> echo 6 > /proc/sys/kernel/printk
> sleep 2
> echo disk > /sys/power/state
> <=== script end ===>
> 
> The important point is the "sleep 2" line. If it is present, I can suspend the box.
> Remove the "sleep command" and it will hang after displaying:
>    Stopping tasks: =====================|
>    Shrinking memory... done (0 pages freed)
> 
> If netconsole is disabled (ie not called from command line), I do not need this  
> "sleep", suspend always works. 

It behaves like that with the "suspend_console/resume_console" patch or
without it?

Rafael


-- 
You never change things by fighting the existing reality.
		R. Buckminster Fuller

  reply	other threads:[~2006-08-15 16:36 UTC|newest]

Thread overview: 186+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-13  8:24 2.6.18-rc4-mm1 Andrew Morton
2006-08-13 11:45 ` 2.6.18-rc4-mm1 Maciej Rutecki
2006-08-13 19:11   ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-13 22:44     ` 2.6.18-rc4-mm1 Ben Buxton
2006-08-13 22:58       ` 2.6.18-rc4-mm1 Michal Piotrowski
2006-08-13 23:25       ` 2.6.18-rc4-mm1 Dave Jones
2006-08-14 11:55         ` 2.6.18-rc4-mm1 Ben Buxton
2006-08-14 20:20           ` 2.6.18-rc4-mm1 Dave Jones
2006-08-14 21:13             ` 2.6.18-rc4-mm1 Ben B
2006-08-14 21:22               ` 2.6.18-rc4-mm1 Dave Jones
2006-08-14 21:46             ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-14  0:00       ` 2.6.18-rc4-mm1 Dmitry Torokhov
2006-08-14 12:03         ` 2.6.18-rc4-mm1 Ben B
2006-08-14 13:45           ` 2.6.18-rc4-mm1 Dmitry Torokhov
2006-08-14 21:44             ` 2.6.18-rc4-mm1 Ben B
2006-08-15  2:23               ` 2.6.18-rc4-mm1 Dmitry Torokhov
2022-08-14  8:42     ` 2.6.18-rc4-mm1 Maciej Rutecki
2006-08-14  9:12       ` 2.6.18-rc4-mm1 Rafael J. Wysocki
2006-08-14 11:35         ` 2.6.18-rc4-mm1 Maciej Rutecki
2006-08-15  0:27       ` Linux Kernel Developer opening Eric Radman
2006-08-17 12:22       ` 2.6.18-rc4-mm1 Andreas Mohr
2006-08-18 10:30         ` 2.6.18-rc4-mm1 Andy Whitcroft
2006-08-13 23:58   ` 2.6.18-rc4-mm1 Dmitry Torokhov
     [not found]     ` <d120d5000608140643tddd9ce4o986560740ef5dbd7@mail.gmail.com>
2006-08-14 18:24       ` 2.6.18-rc4-mm1 Maciej Rutecki
2006-08-13 12:24 ` 2.6.18-rc4-mm1 Michal Piotrowski
2006-08-14  6:36   ` 2.6.18-rc4-mm1 Reuben Farrelly
2006-08-14  9:06     ` 2.6.18-rc4-mm1 Rafael J. Wysocki
2006-08-13 12:43 ` 2.6.18-rc4-mm1 Rafael J. Wysocki
2006-08-13 14:32 ` [patch] fix posix timer errors Frederik Deweerdt
2006-08-13 17:23   ` Andrew Morton
2006-08-13 15:30 ` [-mm patch] arch/i386/mm/ioremap.c must #include <asm/cacheflush.h> Adrian Bunk
2006-08-13 15:30 ` 2.6.18-rc4-mm1: drivers/video/sis/ compile error Adrian Bunk
2006-08-13 16:29   ` Michal Piotrowski
2006-08-13 16:40     ` Adrian Bunk
2006-08-13 17:20       ` Michal Piotrowski
2006-08-13 17:38 ` 2.6.18-rc4-mm1 Laurent Riffard
2006-08-13 20:39 ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-14  8:06   ` 2.6.18-rc4-mm1 Ian Kent
2006-08-14  9:32   ` 2.6.18-rc4-mm1 David Howells
2006-08-14 17:16     ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-14 18:12     ` 2.6.18-rc4-mm1 David Howells
2006-08-14 18:24       ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-14 18:17     ` 2.6.18-rc4-mm1 David Howells
2006-08-14 22:49   ` 2.6.18-rc4-mm1 Trond Myklebust
2006-08-14 23:51     ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-15 16:39   ` 2.6.18-rc4-mm1 David Howells
2006-08-15 16:55   ` 2.6.18-rc4-mm1 David Howells
2006-08-15 17:13     ` 2.6.18-rc4-mm1 Trond Myklebust
2006-08-15 17:22     ` 2.6.18-rc4-mm1 David Howells
2006-08-13 21:00 ` [-mm patch] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static Adrian Bunk
2006-08-13 21:00 ` [-mm patch] make drivers/hwmon/hdaps.c:transform_axes() static Adrian Bunk
2006-08-13 22:56   ` Shem Multinymous
2006-08-13 21:00 ` [-mm patch] drivers/media/dvb/frontends/: make 4 functions static Adrian Bunk
2006-08-13 21:00 ` [-mm patch] drivers/char/drm/: cleanups Adrian Bunk
2006-08-13 21:00 ` [-mm patch] kernel/time/ntp.c: possible cleanups Adrian Bunk
2006-08-13 21:01 ` [-mm patch] cleanup drivers/ata/Kconfig Adrian Bunk
2006-08-13 22:46   ` Alan Cox
2006-08-14 22:12     ` Adrian Bunk
2006-08-14 18:28   ` Jeff Garzik
2006-08-14 22:33     ` [libata " Adrian Bunk
2006-08-15  7:51   ` [-mm " Greg KH
2006-08-15  9:39     ` Adrian Bunk
2006-08-13 21:01 ` [-mm patch] net/decnet/: cleanups Adrian Bunk
2006-08-13 21:01 ` [-mm patch] net/ipv6/ip6_fib.c: make code static Adrian Bunk
2006-08-13 21:01 ` [-mm patch] Kconfig: move CRYPTO to the "Cryptographic options" menu Adrian Bunk
2006-08-13 22:40   ` Herbert Xu
2006-08-13 23:01 ` 2.6.18-rc4-mm1: ATI SB600 SATA drivers: modpost errors Adrian Bunk
2006-08-14  7:00 ` [patch -mm] s390: remove HIGHMEM dependencies Heiko Carstens
2006-08-14 14:13   ` Christoph Lameter
2006-08-14  7:58 ` 2.6.18-rc4-mm1 David Howells
2006-08-14 14:02 ` 2.6.18-rc4-mm1 Michal Piotrowski
2006-08-14 18:19   ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-14 19:01     ` 2.6.18-rc4-mm1 Michal Piotrowski
2006-08-14 19:20       ` 2.6.18-rc4-mm1 john stultz
2006-08-14 19:27         ` 2.6.18-rc4-mm1 Michal Piotrowski
2006-08-14 19:44           ` 2.6.18-rc4-mm1 john stultz
2006-08-14 20:48             ` 2.6.18-rc4-mm1 Michal Piotrowski
2006-08-14 20:56               ` 2.6.18-rc4-mm1 Dave Jones
2006-08-14 21:13                 ` 2.6.18-rc4-mm1 Michal Piotrowski
2006-08-14 21:20                   ` 2.6.18-rc4-mm1 Dave Jones
2006-08-14 22:08                     ` 2.6.18-rc4-mm1 Michal Piotrowski
2006-08-14 14:38 ` 2.6.18-rc4-mm1: eth0: trigger_send() called with the transmitter busy Laurent Riffard
2006-08-14 16:50   ` Andrew Morton
2006-08-14 17:47     ` Laurent Riffard
2006-08-14 20:06       ` Laurent Riffard
2006-08-14 21:25         ` Rafael J. Wysocki
2006-08-14 23:01           ` Laurent Riffard
2006-08-15 10:10             ` Rafael J. Wysocki
2006-08-15 15:38               ` Laurent Riffard
2006-08-15 16:39                 ` Rafael J. Wysocki [this message]
2006-08-14 15:11 ` [-mm PATCH] ioremap: fixed MIPS build error Yoichi Yuasa
2006-08-14 17:54 ` 2.6.18-rc4-mm1 Rafael J. Wysocki
2006-08-14 18:15   ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-15 14:07   ` 2.6.18-rc4-mm1 Atsushi Nemoto
2006-08-15 17:14     ` 2.6.18-rc4-mm1 Rafael J. Wysocki
2006-08-14 18:32 ` 2.6.18-rc4-mm1 David Howells
2006-08-14 21:31   ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-15  9:51   ` 2.6.18-rc4-mm1 David Howells
2006-08-15 13:50     ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-15 14:47     ` 2.6.18-rc4-mm1 David Howells
2006-08-15 16:15       ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-15 17:29     ` 2.6.18-rc4-mm1 David Howells
2006-08-15 17:48       ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-15 18:35       ` 2.6.18-rc4-mm1 David Howells
2006-08-15 18:49         ` 2.6.18-rc4-mm1 Andrew Morton
2006-08-15 19:20         ` 2.6.18-rc4-mm1 David Howells
2006-08-16  9:34         ` 2.6.18-rc4-mm1 David Howells
2006-08-16 12:36           ` 2.6.18-rc4-mm1 Ian Kent
2006-08-16 10:00         ` 2.6.18-rc4-mm1 David Howells
2006-08-16 12:23         ` 2.6.18-rc4-mm1 David Howells
2006-08-16 12:58           ` 2.6.18-rc4-mm1 Ian Kent
2006-08-16 13:20           ` 2.6.18-rc4-mm1 David Howells
2006-08-15 13:25 ` 2.6.18-rc4-mm1 BUG, drm related Frederik Deweerdt
2006-08-15 14:16   ` Andrew Morton
2006-08-15 17:37     ` Frederik Deweerdt
2006-08-15 16:21       ` Andrew Morton
2006-08-18 11:11         ` oops while loading snd-seq-oss (was: Re: 2.6.18-rc4-mm1 BUG, drm related) Frederik Deweerdt
2006-08-18 15:52           ` Andrew Morton
2006-08-18 15:58             ` Takashi Iwai
2006-08-18 18:44               ` Frederik Deweerdt
2006-08-18 19:43                 ` Frederik Deweerdt
2006-08-18 18:45             ` Frederik Deweerdt
2006-08-19 23:08   ` 2.6.18-rc4-mm1 BUG, drm relatedy Frederik Deweerdt
2006-08-21 11:24     ` Dave Airlie
2006-08-21 14:08       ` Frederik Deweerdt
2006-08-21 23:48         ` Dave Airlie
2006-08-16  9:41 ` 2.6.18-rc4-mm1 -- new depancy on curses development Andy Whitcroft
2006-08-16 10:35   ` Andy Whitcroft
2006-08-16 18:33   ` Sam Ravnborg
2006-08-16 19:26     ` Andy Whitcroft
2006-08-16 11:44 ` 2.6.18-rc4-mm1 BUG null pointer deref while saving a file Helge Hafting
2006-08-16 14:28   ` Dave Kleikamp
2006-08-18  8:24     ` Helge Hafting
2006-08-18 12:20       ` Dave Kleikamp
2006-08-16 15:15 ` [PATCH] NFS: Revalidate on readdir referring to null dentry David Howells
2006-08-16 15:49   ` Trond Myklebust
2006-08-16 16:15   ` [PATCH] NFS: Replace null dentries that appear in readdir's list David Howells
2006-08-16 16:35     ` Trond Myklebust
2006-08-17  5:12     ` Ian Kent
2006-08-17  7:42     ` Andrew Morton
2006-08-17 12:13     ` David Howells
2006-08-17 12:33     ` David Howells
2006-08-17 13:24     ` David Howells
2006-08-17 13:45     ` David Howells
2006-08-18  0:47     ` Ian Kent
2006-08-18  0:58     ` Ian Kent
2006-08-18  1:05       ` Ian Kent
2006-08-18  9:09     ` David Howells
2006-08-18  9:21     ` David Howells
2006-08-18  9:38   ` [PATCH] NFS: Replace null dentries that appear in readdir's list [try #2] David Howells
2006-08-19 16:48     ` Andrew Morton
2006-08-20 13:15     ` David Howells
2006-08-20 14:25       ` Ian Kent
2006-08-21  9:42       ` David Howells
2006-08-21 11:35         ` Ian Kent
2006-08-21 12:16         ` David Howells
2006-08-21 13:33           ` Ian Kent
2006-08-21 15:17           ` David Howells
2006-08-22  2:04             ` Ian Kent
2006-08-22  3:29             ` Ian Kent
2006-08-22  4:10               ` Trond Myklebust
2006-08-17 22:10 ` 2.6.18-rc4-mm1 Spurious ACK/NAK on isa0060/serio0, 2.6.18-rc2 is fine Helge Hafting
2006-08-17 22:34   ` Helge Hafting
2006-08-18 21:56     ` Greg KH
2006-08-19 11:00       ` Helge Hafting
2006-08-17 22:44 ` 2.6.18-rc4-mm1 - time moving at 3x speed! Helge Hafting
2006-08-17 23:15   ` john stultz
2006-08-18  8:18     ` Helge Hafting
2006-08-18  9:34     ` Andi Kleen
2006-08-18  9:30       ` Helge Hafting
2006-08-18 10:55         ` Andi Kleen
2006-08-18 10:01           ` Helge Hafting
2006-08-18 10:24             ` Rafael J. Wysocki
2006-08-18 11:21             ` Andi Kleen
2006-08-18 22:23             ` Randy.Dunlap
2006-08-19 10:50           ` 2.6.18-rc4-mm1 - time moving at 3x speed, bisect finished Helge Hafting
2006-08-20 17:06             ` Roman Zippel
2006-08-20 17:51               ` thunder7
2006-08-20 19:24                 ` Roman Zippel
2006-08-20 19:42                   ` thunder7
2006-08-20 21:47                     ` 2.6.18-rc4-mm1 - time moving at 3x speed, fix confirmed Helge Hafting
2006-08-19 23:16 ` [mm patch] drm, minor fixes Frederik Deweerdt
2006-08-20  9:37   ` Arjan van de Ven
2006-08-20 12:17     ` Frederik Deweerdt
2006-08-21 11:22       ` Dave Airlie
2006-08-20 14:48 ` [PATCH -mm] agp.h: constify struct agp_bridge_data::version Alexey Dobriyan

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=200608151839.55184.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=akpm@osdl.org \
    --cc=laurent.riffard@free.fr \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@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

all inboxes | Powered by JetHome®