LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 12-20-2003, 05:55 AM   #1
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Rep: Reputation: 30
Wine, Security patched kernel.


Hey, im trying to run some windows apps, and it gives me some error about a security patched kernel. I was just wondering, is there a quick way to un-security-patch my kernel, or are we talking about recompiling ? If so, 1) in the menuconfig - where would I disable the security patch, 2) can the kernel be called anything that I decide to call ie, fe : non-security-patched-kern ?

Many thanks in advance..
 
Old 12-20-2003, 06:07 AM   #2
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 33
You can't "undo" a kernel, but recompilng a different kernel should work......just make sure you use a another kernel source in a different /usr/src directory when compiling; and when copying the image to the /boot directory, use a different name than your current kernel. Then it's just a matter of adding the second kernel to your boot loader. That way, you can choose which kernel to boot......

HTH

PS: Security patches come out for a reason, so I strongly suggest only using the less secure kernel when needed, and use the current one as much as possible.......

Last edited by thegeekster; 12-20-2003 at 06:10 AM.
 
Old 12-20-2003, 06:17 AM   #3
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Original Poster
Rep: Reputation: 30
Quote:
Security patches come out for a reason, so I strongly suggest only using the less secure kernel when needed, and use the current one as much as possible.......
but, I dont want to boot into a different linux distro every time I want to use the non - security patched kernel. I dont run any servers ( http, ssh, etc ), I presume that the security patchs *only* include fixes for these sort of servers, or am I wrong?

Or better, is there a way I can get round the wine error, using my current kernel ? The error message i am getting is :

Code:
err:virtual:map_image Standard load address for a Win32 program (0x00400000) not available - security-patched kernel ?
wine: could not load L"F:\\SteamInstall.exe" as Win32 binary
 
Old 12-20-2003, 07:28 AM   #4
nexx_au
Member
 
Registered: Dec 2003
Distribution: Fedora Core 1
Posts: 69

Rep: Reputation: 15
id like to know how i can fix this too.
 
Old 12-20-2003, 08:02 PM   #5
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 33
Quote:
Originally posted by technowax
but, I dont want to boot into a different linux distro every time I want to use the non - security patched kernel...
It's always a good idea to keep the old kernel around in case the newly compiled kernel has problems

Quote:
Or better, is there a way I can get round the wine error, using my current kernel ?
You can try going to a Wine forum and look around there for answers........or try using a different version of Wine to see if that works........

I haven't gotten around to installing Wine yet, but I plan on doing so and will be interested in the anything you may come up with.....



BTW: Heres a Google search for Google Search: "err:virtual:map_image Standard load address for a Win32 program (0x00400000) not available" +wine . Seems to be quite a few entries here.
 
Old 02-17-2004, 04:12 PM   #6
ashlock
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2, RH 9
Posts: 33

Rep: Reputation: 15
I have had the same problem and tried the solution which involved adding the line

PRELINK_OPTS="-mR --no-exec-shield"

to /etc/sysconfig/prelink, after which I still got the message. This solution was posted either here at linuxquestions.org or at winehq.com.

Then when reading the howto at winehq.com, I noticed a mention of a fake c drive named ~/.wine/c_drive, wheras my wine installation only created a directory named ~/.wine/c

I therefore created a symbolic link in ~/.wine using "ln -s c c_drive" and the installation program for Rhapsody (www.listen.com) would finally start. Unfortunately, the installation program then quit because it said I was "running" windows 95.
 
Old 02-17-2004, 05:50 PM   #7
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 33
Quote:
Originally posted by ashlock
...Then when reading the howto at winehq.com, I noticed a mention of a fake c drive named ~/.wine/c_drive, wheras my wine installation only created a directory named ~/.wine/c

I therefore created a symbolic link in ~/.wine using "ln -s c c_drive" and the installation program for Rhapsody (www.listen.com) would finally start. Unfortunately, the installation program then quit because it said I was "running" windows 95.
LOL................Sorry, I'm not laughing at you, but at the reference to running Win95............I abandoned the idea of using wine just for that reason. I began to notice from looking further into Wine that it was made primarily for the older Windows apps, while it's shareware counterparts will run the newer apps and games.

But it's nice to know about that discrepency in the directory name. Might save some heartache for other down the road.
 
Old 02-17-2004, 05:54 PM   #8
ashlock
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2, RH 9
Posts: 33

Rep: Reputation: 15
Actually, I found that in the ~/.wine/config file, you can specify "Win98" as the OS. After doing that, I got Rhapsody to install, but I think I need to first install IE and Windows media player for it to work.

Last edited by ashlock; 02-17-2004 at 05:55 PM.
 
Old 02-17-2004, 06:13 PM   #9
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 33
Quote:
Originally posted by ashlock
Actually, I found that in the ~/.wine/config file, you can specify "Win98" as the OS. After doing that, I got Rhapsody to install, but I think I need to first install IE and Windows media player for it to work.
Cool............I never persued it that far, but now I just might give it a go ...........................As for the media player, can you use mplayer for linux? Might save having to install the Windows' dlls if it's not needed............just a thought.
 
  


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
patched kernel (vmlinuz-2.4.20-8-ide) carlosnarsisa Linux - Hardware 2 01-07-2006 09:12 AM
Debian patched kernel vs official Linux Kernel gerald45 Debian 7 10-12-2005 05:45 AM
About Kernel after getting patched small_boy22 Linux - General 3 05-19-2005 11:54 AM
make mrproper on patched kernel? shanenin Linux - Software 0 11-27-2004 10:48 AM
Slackware Security Update: unzip vulnerability patched phoeniXflame Slackware 5 08-26-2003 01:52 PM


All times are GMT -5. The time now is 03:23 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration