Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-06-2009, 05:27 PM   #1
Registered: Dec 2005
Posts: 143

Rep: Reputation: 15
WARNING! 3ware controllers break SUSPEND.

After a week of trying to get my 3ware 9650se raid controller working on Suse 11.1, I finally got past the triage guy and contacted an engineer. He, Adam Radford, told me, and I quote:
"Yes, do not support 's2ram', that is the problem. When you wake up after suspend, we are
not sending an 'initconnection' to our firmware from the driver that tells the firmware
to re-detect SGL's as 64-bit and it is detecting them as 32-bit, that is why you see
'Illegal SGL length' errors.

I will try to implement 's2ram' support ASAP. You are the first customer to request
s2ram support for 3ware. Until then, don't try to suspend the machine if you have the 3ware
card in it. Just do a normal shutdown/bootup when you want to save power. ".

When you suspend and then wake up, the card stays in some type of zombie state. The OS sees the card freaking out and does an fsck, potentially destroying all of your data or at best keeping you waiting an hour before finishing the fsck.

Apparently, I am the only 3ware customer to ever wonder why suspend does not work.

I asked that they put a disclaimer on their web site warning potential buyers about this defect.

Let the buyer beware,

Old 02-07-2009, 04:16 PM   #2
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
Possibly because most RAID card users have them in servers or workstations that are either on or off. Servers virtually are never set to suspend and few workstations either. It's likely not going to be used very oftern but it would be good for it to be properly implemented.
Old 02-13-2009, 09:59 AM   #3
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
SUSPEND fixed on Suse 11.1, 64 bit for 3Ware 9650se!

One of the engineers at 3Ware (Adam) developed a new kernel module for the 3w-9xxx level controllers. After a few compiling problems, I now have `s2ram -f -a 3` working. It takes about a second to get to sleep and roughly 5 to wake up. What a relief.

I had to hack the Makefile to get it to find my kernel source directory:
godzilla2:~/temp/driver # diff Makefile Makefile.orig
< SRC := /usr/src/linux-

I looked at my Ubuntu /usr/src/linux tree and it is quite different from the way Suse does it.

Then, just;
make clean
cp ./3w-9xxx.ko /lib/modules/

One other difficulty was that YAST apparently lied to me about kernel-source and kernel-syms. It showed them both checked and `rpm -qi <module>` showed a page of output for each one. When I kept getting "no rule to make ..." errors I looked for Makefiles system wide and found that they were all on my Ubuntu drive.

Going into yast and updating kernel source and symbols fixed the problem.

Thanks to 3Ware for a fast fix for this problem!

Old 03-24-2009, 12:10 PM   #4
LQ Newbie
Registered: May 2008
Posts: 7

Rep: Reputation: 0
How to fix


I have the same problem; 9650se with ubuntu 8.10.

Just a few questions about your fix: I would have to compile it into the kernel every thime there is a kernel update?

And do you have any information whether this will ever enter the regular kernel, so I don't have to worry about compiling?

Strangely suspend works with Windows XP. And would you mind sharing this kernel module with me?


Last edited by mogliii; 03-24-2009 at 12:12 PM. Reason: added request for module
Old 03-24-2009, 05:13 PM   #5
LQ Newbie
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
same here! please brian, let us know where to get the kernel module, it would be very much appreciated!

cheers, rooots.
Old 05-02-2009, 06:02 AM   #6
LQ Newbie
Registered: May 2009
Posts: 3

Rep: Reputation: 0


Same problem with a 3ware 8XXX dual channel (for workstations). Looks like there is no access to disks after a resume.

Please keep us posted.

Old 06-15-2009, 03:32 PM   #7
LQ Newbie
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Please ask Adam to check this into the main driver. I'm running into this under Fedora Core 11 as well (3ware 9650).

- Chris


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
gcc 4.0.0 warning: dereferencing type-punned pointer will break strict-aliasing rules stephenwalter Programming 4 06-10-2009 04:06 AM
Plz explain Suspend to Disk and Suspend to Ram pkhera_2001 Linux - Newbie 2 02-18-2008 07:23 AM
WARNING - SlackBuilds and the like can break your system Z038 Slackware 28 07-02-2007 03:52 PM
BIG FAT WARNING Software suspend Xoom Linux - Newbie 5 06-28-2004 04:37 PM
3ware RAID jbstew32 Linux - Hardware 4 03-14-2004 12:11 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:31 PM.

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