LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-20-2011, 11:30 PM   #1
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Rep: Reputation: Disabled
rpm_resume flags invasion in kernel log on slackware 13.1 using kernel 2.6.37


Using kernel 2.6.37 custom built on a slackware 13.1 (32bit) machine, I have discovered that the kernel log is literally invaded with strange messages. There must be 5000 lines like these...

Does it indicate hardware failure or kernel bug!?

Code:
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume flags 0x4
scsi host3: rpm_resume returns 1
scsi host3: rpm_resume fla
 
Old 01-21-2011, 03:57 PM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Greetingz!

Check your kernel config (/proc/config.gz if you selected the option).
Do you have CONFIG_PM_VERBOSE set or CONFIG_PM_DEBUG unset?
 
Old 01-21-2011, 06:18 PM   #3
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Original Poster
Rep: Reputation: Disabled
Mmmm that did it! I reused an old config file from a machine I had activated the PM debug features and forgot to unset them...

Thanks for pointing this out to me!

SOLVED!
 
1 members found this post helpful.
Old 02-20-2011, 05:49 PM   #4
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Original Poster
Rep: Reputation: Disabled
Just out of curiosity, I have the exact same problem on a similar machine... Do I absolutely need to recompile the kernel to disdable these functions?
 
Old 02-26-2011, 07:06 AM   #5
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Quote:
Originally Posted by lpallard View Post
Just out of curiosity, I have the exact same problem on a similar machine... Do I absolutely need to recompile the kernel to disdable these functions?
I've looked and looked for a way to do this by echoing something to /sys, and I've had zero luck. So from what I can tell; Yes, you'll have to recompile the kernel.
 
Old 02-26-2011, 12:34 PM   #6
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Original Poster
Rep: Reputation: Disabled
OK sounds fair, but IMO the Linux kernel needs modernization... recompiling the whole thing just for a simple switch? No wonder linux is light years behind Mac & Windowz...
 
Old 02-26-2011, 06:24 PM   #7
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Quote:
Originally Posted by lpallard View Post
OK sounds fair, but IMO the Linux kernel needs modernization... recompiling the whole thing just for a simple switch?
If a driver needs to be compiled with debugging options set, that makes sense to me. Just like how there's Windows Symbol Packages or a Microsoft Symbol Server needed in order to do in-depth debugging.

Now I was hoping there was a way to "deactivate" the debugging code in general, but that doesn't seem to be the case. However this could be a personal failing of mine. I'm by no means an authority on Linux Kernel internals, so feel free to dig around either google or the code itself.

Quote:
Originally Posted by lpallard View Post
No wonder linux is light years behind Mac & Windowz...
Comments made in jest should have an emoticon next to them. A lesser geek might take offense at such a flippant comment, and fire back a "[citation needed]".
 
Old 02-26-2011, 06:30 PM   #8
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Original Poster
Rep: Reputation: Disabled
Yeah lets fire a few to calm down people!

What I want to say is that I'm probably the only human that I personally know that is willing to play around that stuff... Everybody know linux is not for everyone.

Anyways, I'll recompile and see what happens!
 
Old 08-14-2011, 09:45 PM   #9
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Original Poster
Rep: Reputation: Disabled
OK Its been a very long time since I last posted here but I need to come back to this topic... Sadly, I implemented what was discussed here, that is, CONFIG_PM_VERBOSE & CONFIG_PM_DEBUG unset, and it fixed the problem (the invasion of rpm_resume.... messages) but I've lost the suspend to RAM function...

When I click on the icon in the shutdown window of XFCE, it does nothing. I looked at dmesg & kernel messages log and nothing.

I believe I might have deactivated too many functions in the kernel when I recompiled and accidentally removed support for Ssuspend to RAM.

Can anybody look at my .config file and tell me which flags needs to be changed? I'm pretty new to the options in the .config file and last thing I want to do is screw up more than it is...

http://pastebin.com/5HGtFLne

Thanks!
 
Old 08-14-2011, 10:05 PM   #10
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Original Poster
Rep: Reputation: Disabled
Also I just tried to shutdown and here's what happened:

The shutdown sequence went fine until I saw the last line saying "shutting down" and instead of really shutting down, I saw a line saying "system halted" and the system seems to freeze there .

This machine is an htpc that is always plugged in the outlet and requires only 2 shutdown modes: standard mode ( real shutdown) and suspend to ram ( for when it's not playing any media)

Which options in the kernel will allow me to do so? Nothing else , no power managers and nothing that will or could scale down hardware performance to save energy.

Thanks!
 
Old 08-21-2011, 06:56 AM   #11
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Greetingz!

Are you doing a "shutdown -h now" when you shutdown the box?
 
Old 08-22-2011, 06:23 AM   #12
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Original Poster
Rep: Reputation: Disabled
I solved it, but forgot to update this thread: somehow the core PM functions of the kernel got deactivated... I went through the options one by one, reconfigured and recompiled.

All is fine now!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing gcc flags into custom kernel brodo Slackware 11 03-05-2012 11:09 AM
fatal error attempting to install /var/log/mount/slackware/a/kernel-modules-smp-2.6.2 v@ny@ Slackware - Installation 10 05-19-2010 02:40 AM
LXer: Kernel Log - Discussions at the 2009 Kernel Summit, FatELF in the firing line, LXer Syndicated Linux News 0 11-04-2009 05:40 PM
Kernel Compile Processor Flags (description) Zaiboot Linux - General 3 05-26-2005 11:39 PM
optimization flags and kernel compiling kpachopoulos Linux - Newbie 2 08-26-2004 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration