Bug 130533

Summary: SCPM disappears, then locks upon re-enabled
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Wade Winright <wade.winright>
Component: YaST2Assignee: Joachim Gleissner <joachim.gleissner>
Status: RESOLVED WONTFIX QA Contact: Klaus Kämpf <kkaempf>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 143273    
Attachments: y2log for scpm dying
/var/log/scpm
hwinfo

Description Wade Winright 2005-10-25 16:50:51 UTC
After successfully setting up SCPM to switch between 3 profiles,
things worked normally for a while. I set up the ndiswrapper for the
wireless interface prior to getting SCPM enabled and running.
One day when the wireless card locked up the host, I rebooted the
machine and my SCPM settings were gone. I attempted to re-enable SCPM,
and it just hung, 0% for many minutes (an hour or so), and I had to
kill the process to get it to quit.
Thinking that this was some legacy leftover thing from doing an OS
upgrade instead of a clean install, I nuked and paved the system.
I've had it running well again for about a week, and the exact same
thing has happened again.
Please help me make this work, as I need this laptop!!!

Thanks!!
Comment 1 Wade Winright 2005-10-25 16:57:49 UTC
Created attachment 55344 [details]
y2log for scpm dying
Comment 2 Martin Vidner 2005-10-26 13:58:05 UTC
SCPM and ndiswrapper are Joachim's. 
Comment 3 Joachim Gleissner 2005-10-26 14:13:23 UTC
Did the crash occur while switching a profile or during normal operation?
Comment 4 Wade Winright 2005-10-26 14:15:56 UTC
The system seems to crash when switching profiles. After which all of the SCPM data was no longer found. THen when trying to set it up again, when I enable SCPM, it never starts to enable, just sits at "0%" complete.
Comment 5 Joachim Gleissner 2005-10-26 14:23:36 UTC
Does 'scpm recover' help?
Comment 6 Wade Winright 2005-10-26 14:26:19 UTC
This is what I see:
# scpm recover
SCPM: scdb not available
Comment 7 Joachim Gleissner 2005-10-26 14:31:32 UTC
Could you run 'scpm -d recover' and attach /var/log/scpm afterwards?
Comment 8 Wade Winright 2005-10-26 14:36:43 UTC
Created attachment 55532 [details]
/var/log/scpm
Comment 9 Joachim Gleissner 2005-10-26 15:03:13 UTC
It seems there is no database at all. Do you have anything in directory /var/lib/scpm/scdb?
Comment 10 Wade Winright 2005-10-26 15:05:52 UTC
linux:/var/lib/scpm/scdb # ls -l
total 0
drwxr-xr-x  2 root root     20 2005-09-12 18:12 .
drwxr-xr-x  7 root root    108 2005-10-25 08:40 ..
-rw-r--r--  1 root root 122575 2005-10-25 08:16 scdb.db
Comment 11 Joachim Gleissner 2005-10-26 15:09:31 UTC
Ok, the file is there. Maybe it got corrupted by the crash. Could you e-mail it to me?
Comment 12 Joachim Gleissner 2005-10-26 15:45:07 UTC
Conclusion of database check: The crash seems to have caused a filesystem corruption and destroyed the file. Is there a kernel oops of the crash in /var/log/messages? Could you attach 'hwinfo --netcard'?
Comment 13 Wade Winright 2005-10-26 18:32:48 UTC
Created attachment 55611 [details]
hwinfo
Comment 14 Joachim Gleissner 2005-10-27 10:02:32 UTC
You have a Broadcom WLAN card, so you're unfortunately stuck to ndiswrapper. It may be worth a try to use another version of the Windows driver. If that doesn't help, you could also try a newer ndiswrapper version.
Comment 15 Joachim Gleissner 2005-11-17 14:42:50 UTC
FYI: The kernel-of-the-day (ftp://ftp.suse.com/pub/projects/kernel/kotd/i386/HEAD/...) has a newer ndiswrapper version, just in case you want to give it a try and don't dare to compile it yourself.
Comment 16 Joachim Gleissner 2006-02-09 16:41:31 UTC
Closing as WONTFIX. Hope you had success with a newer ndiswrapper. :)