Kuro5hin.org: technology and culture, from the trenches
create account | help/FAQ | contact | links | search | IRC | site news
[ Everything | Diaries | Technology | Science | Culture | Politics | Media | News | Internet | Op-Ed | Fiction | Meta | MLP ]
We need your support: buy an ad | premium membership | k5 store

[P]
I had my first lunix crash today (Diaries)

By llimllib
Fri Aug 8th, 2003 at 04:17:39 PM EST

llimllib's Diary

I've been using it more or less full time for about a year and a half now in various distributions, and today I had my first out and out kernel meltdown. Of course, I've borked just about every desktop manager and leaked my share of memory, but I'd never totally hung the system. Today, however, hitting "play" on xmms was too much.

Also, back to school, frisbee, and I give an ultra-fast review the 5 books I read last week (yeah vacation). I mention suburban couples smoking crack. There is no poll.


I drove from my home in CT back to my college this morning, and since I haven't really slept in the past two nights, it was quite a challenge. I had to get out of the car about every half hour and sprint around a little bit. I find this to be the most effective cure for drowsy driving, as carffeine does little to help me.

In the car, I had my laptop hooked up to my tape player, as usual, and it worked fine. When I got home, however, plugged it back in, restored it from suspend, and tried to start xmms, it hung. ctrl-alt-bckspc gave me a blank screen on all the virtual terminals, and ctrl-alt-dlt hung on trying to clear the swap space. I had to power off.

I think I'm too lazy to examine what happened, although I think it's either the suspend feature or the fact that I'm using artsd in xfce that somehow caused the crash. Perhaps I'll get the curiosity tonight to examine the error logs. More likely not.

Have a frisbee game tonight, our first postseason game. As I stated before, I'm dead exhausted, so we'll see how the game goes over. More often than not, when I think I'll play like shit, I play well, and when I think I'll play well, I have a terrible game.

My vacation is over, I had a good time visiting Martha's Vineyard and seeing my parent's new house, although I had to sleep on the floor for a couple of nights until they got their furniture. It was cool to have some time to read, which I haven't had in a while. Here is the ultra-fast recap of what I read:

The Unbearable Lightness of Being, which I highly recommend, the author's style is impeccable. Surely You're Joking, Mr. Feynman, which was a cool, if a bit light, look into a fascinating man's life. I'm almost done with The Tao of Physics, the book which actually got me interested in physics, which I didn't think was possible. An excellent book. I started Music For Torching, and had high expectations (good reviews on the book cover, but what sucked me in was that it had a suburban couple smoking crack - hence the clever title), but I hated the author's writing. She gives almost no description in the story, no imagery, and I couldn't even finish it, which is rare. Last, but not least, I'm about halfway through Philadelphia Fire, which so far is absolutely top-notch. I'd like to read more Wideman

Sponsors
Voxel dot net
o Managed Servers
o Managed Clusters
o Virtual Hosting


Collocated Linux/FreeBSD Server
As low as $45/month
o Root on your own FreeBSD or Linux server
o Very fast, triple-homed network
o NO hardware or setup fees, unlimited support
Testimonials from K5 Users

Login
Make a new account
Username:
Password:

Note: You must accept a cookie to log in.

Poll
?
o - 7%
o ) 0%
o ( 7%
o * 15%
o & 23%
o ^ 23%
o $ 15%
o # 7%

Votes: 13
Results | Other Polls

Related Links
o my home
o college
o The Unbearable Lightness of Being
o Surely You're Joking, Mr. Feynman
o The Tao of Physics
o Music For Torching
o Philadelphia Fire
o llimllib's Diary


View: Display: Sort:
I had my first lunix crash today | 11 comments (11 topical, 0 editorial, 0 hidden)
Lunix. (none / 0) (#8)
by tkatchev on Fri Aug 8th, 2003 at 05:48:12 PM EST

Is really not what the advocates claim.

In general, the kernel is a piece of shit. (Userspace has some neat stuff, though -- GTK+, for example.)

   -- Signed, Lev Andropoff, cosmonaut.

Hrm (5.00 / 1) (#10)
by awgsilyari on Fri Aug 8th, 2003 at 08:29:22 PM EST
(moc.wnlaruen@ttocs)

Well that's about the largest overgeneralization I've read today. Not to mention the fact that GTK+ and Linux are in no way tied together, they just happen to be used together a lot. You can run GTK+ on BSD just fine. Or Solaris, or AIX, or Irix, or whatever.

Anyway, the reason it hung was he used software suspend, which is an extremely tricky feature to get right. The fact that he had the audio device open makes it pretty obvious what happened. When you software suspend, the kernel flushes all memory to the swap partition. It also had to save all the device driver internal state in such a way that when the machine boots back up it can restore the device state to precisely what it was before the suspend. What probably happened was, the particular audio driver sucks, and didn't restore the soundcard state correctly, which led to a PCI bus deadlock, or the IRQ got pinned, or one of the other familiar symptoms of a shitty device driver.

Just like in Windows, most kernel crashes are related to shitty drivers. No need to criticize the entire kernel because of a flakey driver. I know its heretical for me, a Linux user, to say so, but the WinXP kernel is pretty rock solid as long as you don't load a buggy driver.

Anyway, none of this leads to the conclusion that "Linux sucks," just that software suspend is really difficult to get right.

--------
Please direct SPAM to john@neuralnw.com
[ Parent ]

This would be all good and nice... (3.00 / 2) (#11)
by tkatchev on Sat Aug 9th, 2003 at 01:18:41 PM EST

...if the Lunix kernel wasn't monolithic.

As it is, though, "Lunix driver" is an oxymoron. The Lunix kernel is a giant 25-megabyte morass of unmodular, inconsistent spaghetti code.

   -- Signed, Lev Andropoff, cosmonaut.
[ Parent ]

Full lockup? (5.00 / 1) (#3)
by 0x29a on Fri Aug 8th, 2003 at 04:42:18 PM EST

I have X ( via xmms ) lockup all the time, but I can usually recover with a virtual console and a killing of the basterd. I always contributed it to X and the audio subsystem.

The only trouble I have every had with Linux hangups was due the buggy Aic7xxx drivers back in the Redhat 5 days. Nothing like a full blown SCSI lockup to fry the OS and the drive. But then again buggy SCSI drivers will kill any OS.

Thanks for contributing (5.00 / 1) (#4)
by i on Fri Aug 8th, 2003 at 04:45:22 PM EST

if this is indeed the case, but I somehow think you just attributed it.

People with sigs that reverse the reply line are gay

[ Parent ]
is today k5 grammar nazi day? (none / 0) (#6)
by llimllib on Fri Aug 8th, 2003 at 04:50:51 PM EST
(llimllib at f2o .. org)

Just asking, I already got chewed out for misspelling "separate".


Peace.
[ Parent ]
Grammar nazis (5.00 / 1) (#7)
by i on Fri Aug 8th, 2003 at 04:57:57 PM EST

are those who commit grammar crimes against humanity, right? RIGHT?

People with sigs that reverse the reply line are gay

[ Parent ]
D'OH (5.00 / 1) (#5)
by 0x29a on Fri Aug 8th, 2003 at 04:49:56 PM EST



[ Parent ]
probably suspend (5.00 / 1) (#1)
by tps12 on Fri Aug 8th, 2003 at 04:34:43 PM EST
(tps12@columbia...edu)

I've heard that Linux can have trouble with suspend. I don't remember why.

yeah (none / 0) (#2)
by llimllib on Fri Aug 8th, 2003 at 04:37:04 PM EST
(llimllib at f2o .. org)

when I suspend it with apm -suspend, it won't come back to life, but rh9 (or xfce?) is doing some different sort of suspend that actually works, and has worked nicely the past few months. This is the first time it's blown up on me.


Peace.
[ Parent ]
Maybe your laptop has ACPI instead? [n/t] (5.00 / 1) (#9)
by Xoder on Fri Aug 8th, 2003 at 06:59:25 PM EST
(Check@MyJournal) http://xoder.livejournal.com


__
"Lately I've been hearing that god's on our side
But rumor has it, there's one on their side too
So what I'd like to know is
When it comes down to it, can my god kick their god's ass or what?" And
[
Parent ]
I had my first lunix crash today | 11 comments (11 topical, 0 editorial, 0 hidden)
View: Display: Sort:

kuro5hin.org

[XML]
All trademarks and copyrights on this page are owned by their respective companies. The Rest © 2000 - 2003 Kuro5hin.org Inc.
See our legalese page for copyright policies. Please also read our Privacy Policy.
Kuro5hin.org is powered by Free Software, including Apache, Perl, and Linux, The Scoop Engine that runs this site is freely available, under the terms of the GPL.
Need some help? Email help@kuro5hin.org.
Erik Benson is a deadbeat.

Powered by Scoop create account | help/FAQ | mission | links | search | IRC | YOU choose the stories! K5 Store by Jinx Hackwear Syndication Supported by NewsIsFree