Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262203AbUK0ERs (ORCPT ); Fri, 26 Nov 2004 23:17:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262243AbUK0EM1 (ORCPT ); Fri, 26 Nov 2004 23:12:27 -0500 Received: from pop5-1.us4.outblaze.com ([205.158.62.125]:25244 "HELO pop5-1.us4.outblaze.com") by vger.kernel.org with SMTP id S261240AbUKZTQQ (ORCPT ); Fri, 26 Nov 2004 14:16:16 -0500 Subject: Re: Suspend 2 merge: 4/51: Get module list. From: Nigel Cunningham Reply-To: ncunningham@linuxmail.org To: Pavel Machek Cc: Linux Kernel Mailing List In-Reply-To: <20041125165617.GC476@openzaurus.ucw.cz> References: <1101292194.5805.180.camel@desktop.cunninghams> <1101293104.5805.203.camel@desktop.cunninghams> <20041125165617.GC476@openzaurus.ucw.cz> Content-Type: text/plain Message-Id: <1101417950.27250.9.camel@desktop.cunninghams> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6-1mdk Date: Fri, 26 Nov 2004 08:25:50 +1100 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2810 Lines: 67 Hi. On Fri, 2004-11-26 at 03:56, Pavel Machek wrote: > Hi! > > > This provides access to the list of loaded modules for suspend's > > debugging output. When a cycle finishes, suspend outputs something the > > following: > > > > > Please include the following information in bug reports: > > > - SUSPEND core : 2.1.5.7 > > > - Kernel Version : 2.6.9 > > > - Compiler vers. : 3.3 > > > - Modules loaded : tuner bttv videodev snd_seq_oss snd_seq_midi_event > > > snd_seq snd_pcm_oss snd_mixer_oss snd_intel8x0 snd_ac97_codec snd_pcm > > > snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device > > > snd soundcore visor usbserial usblp joydev evdev usbmouse usbhid > > > uhci_hcd usbcore ppp_deflate zlib_deflate zlib_inflate bsd_comp > > > ipt_LOG ipt_state ipt_MASQUERADE iptable_nat ip_conntrack > > > ipt_multiport ipt_REJECT iptable_filter ip_tables ppp_async > > > ppp_generic slhc crc_ccitt video_buf v4l2_common btcx_risc Win4Lin > > > mki_adapter radeon agpgart parport_pc lp parport sg ide_cd sr_mod > > > cdrom floppy af_packet e1000 loop dm_mod tsdev suspend_bootsplash > > > suspend_text suspend_swap suspend_block_io suspend_lzf suspend_core > > > - Attempt number : 9 > > > - Parameters : 0 2304 32768 1 0 4096 5 > > > - Limits : 261680 pages RAM. Initial boot: 252677. > > > - Overall expected compression percentage: 0. > > > - LZF Compressor enabled. > > > Compressed 922112000 bytes into 437892038 (52 percent compression). > > > - Swapwriter active. > > > Swap available for image: 294868 pages. > > > - Debugging compiled in. > > > - Preemptive kernel. > > > - SMP kernel. > > > - Highmem Support. > > > - I/O speed: Write 72 MB/s, Read 119 MB/s. > > > > Including the modules loaded is very helpful for debugging problems. > > It might be usefull as an add-on patch when people are actually debugging it, > but I do not think it is needed for mainline. You can just do lsmod before suspend... Yes. It's still pretty helpful, but not as much as it has been in the past. We're almost at the point where we can automatically say "Have you got USB compiled in? Compile it as modules. Have you got USB modules loaded? Unload them and reload after suspending. Have you got DRI support loaded? Depending on chipset, do X, Y, or Z." That deals with the vast majority of freezes. Regards, Nigel -- Nigel Cunningham Pastoral Worker Christian Reformed Church of Tuggeranong PO Box 1004, Tuggeranong, ACT 2901 You see, at just the right time, when we were still powerless, Christ died for the ungodly. -- Romans 5:6 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/