Slashdot Mirror


Linux Development Kernel 2.5.18 Released

the_real_tigga writes: "Well, the day is almost over, and still today's release of version 2.5.18 of the Linux development kernel tree has not yet hit Slashdot. It is out, the official site is of course kernel.org, but be sure to check your local mirrors (usually www.country.kernel.org). Here is the long Changelog, major changes include suspend-to-RAM, more IDE and VFS fixes, and kbuild. Linux Weekly has the news too, and a summary of the changes."

38 of 176 comments (clear)

  1. Is this necessary? by ddstreet · · Score: 2, Insightful

    Do we really need /. to let us know when a kernel is released? Especially the development kernels? Everyone who wants to know should be on the linux-kernel-announce mailing list anyway.

    1. Re:Is this necessary? by dattaway · · Score: 4, Insightful

      Do we really need /. to let us know when a kernel is released?

      YES! Its more fun to watch a mob try to pick at it, rip it apart, and maul the latest tarball in a public pit of interrogation. Its great to see open source build strength and character amid the assault.

      Everyone knows a kernel that isn't exposed to the elements will be weak, whereas one that faces the full challenges of nature will grow to be strong and fertile for the next generation.

    2. Re:Is this necessary? by dozing · · Score: 3, Insightful

      While I don't use development kernels (in fact I only use kernels pre-packaged by my distro of choice [debian of course]) I do enjoy hearing about development releases as it lets me know what is happening to progress the kernel of my favorite operating system. I suppose I could join the linux-kernel-announce mailing list as you suggest. However, if I had to join a mailing list for everything that interests me it would take me a long time to subscribe to them all. Of course if I did subscribe to that many mailing lists I suppose I wouldn't read slashdot at all.

      --
      Dozings.com -- Its kinda funny... If you're as crazy as me.
    3. Re:Is this necessary? by mgv · · Score: 4, Informative

      Do we really need /. to let us know when a kernel is released?

      Of course, if you don't want to hear about linux, you can always exclude it from your topic list in your preferences.

      Michael

      --
      There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
    4. Re:Is this necessary? by grnbrg · · Score: 4, Funny
      Do we really need /. to let us know when a kernel is released?

      YES! Its more fun to watch a mob try to pick at it, rip it apart, and maul the latest tarball in a public pit of interrogation. Its great to see open source build strength and character amid the assault.

      Yeah, but shouldn't we be testing the kernel, not the kernel.org ftp server? :)

      grnbrg

    5. Re:Is this necessary? by Dahan · · Score: 2, Troll
      Yeah, really... yet another Linux development kernel is out... BFD. Should I post something every time OpenBSD makes a few changes to their kernel?

      I know! I'll submit an article whenever Microsoft releases a hotfix! That's certainly more important news than Linux, whose userbase pales in comparison to Windows'.

      And for some more "News for people who thinks /. is Freshmeat. Stuff that nobody else cares about," NetBSD recently branched off version 1.6. Ooh, ahh.

    6. Re:Is this necessary? by ColaMan · · Score: 4, Funny

      I'll submit an article whenever Microsoft releases a hotfix!

      No you won't - slashdot has a timer that stops you from submitting that often.

      (sorry)

      --

      You are in a twisty maze of processor lines, all alike.
      There is a lot of hype here.
    7. Re:Is this necessary? by Dahan · · Score: 2

      Ah, typical Slashbot moderator... anyone who dares even suggest that something about The Great Lignux isn't important news must be a troll.

  2. buffer_head.h by worldwideweber · · Score: 5, Informative

    Folks,

    buffer_head is now in its own header file, so in suspend.c, for example, you will need to include
    < linux/buffer_head.h >.

    Also, to get HFS (Apple filesystem) to compile, you have to include < linux/pagemap.h >

    Best of luck...

    --
    w o r l d w i d e w e b e r
    1. Re:buffer_head.h by fishebulb · · Score: 2

      actually yes, you are. you are using windows. microsoft uses win2k. you are a client of win2k. you are using it.

      you are not directly using on your computer but it still remains

  3. The day is almost over?!?! by xeniten · · Score: 2, Funny

    I think most readers of slashdot at this time of the day are still having breakfast, I am.

    --
    Romana: "How did you know?" Doctor Who: "Ah, well, knowing is easy. Everyone does THAT ad nauseum. I just sort of hope"
  4. Yamaha PCI Sound and 2.5 by worldwideweber · · Score: 3, Informative

    If anyone has the Yamaha YMF744B sound chip, then you should apply this little patch to get this card to work with the OSS system:

    diff -Nru linux-2.5.12/sound/oss/Config.in linux-2.5.12-hq1/sound/oss/Config.in
    --- linux-2.5.12/sound/oss/Config.in Tue Apr 30 20:09:00 2002
    +++ linux-2.5.12-hq1/sound/oss/Config.in Wed May 1 12:50:03 2002
    @@ -103,6 +103,9 @@
    dep_tristate ' VIA 82C686 Audio Codec' CONFIG_SOUND_VIA82CXXX $CONFIG_PCI
    dep_mbool ' VIA 82C686 MIDI' CONFIG_MIDI_VIA82CXXX $CONFIG_SOUND_VIA82CXXX

    +dep_tristate ' Yamaha YMF7xx PCI audio' CONFIG_SOUND_YMFPCI $CONFIG_PCI
    +dep_mbool ' Yamaha PCI legacy ports support' CONFIG_SOUND_YMFPCI_LEGACY $CON
    FIG_SOUND_YMFPCI
    +
    dep_tristate ' OSS sound modules' CONFIG_SOUND_OSS $CONFIG_SOUND

    if [ "$CONFIG_SOUND_OSS" = "y" -o "$CONFIG_SOUND_OSS" = "m" ]; then
    @@ -164,8 +167,6 @@
    dep_tristate ' Yamaha FM synthesizer (YM3812/OPL-3) support' CONFIG_SOUND
    _YM3812 $CONFIG_SOUND_OSS
    dep_tristate ' Yamaha OPL3-SA1 audio controller' CONFIG_SOUND_OPL3SA1 $CO
    NFIG_SOUND_OSS
    dep_tristate ' Yamaha OPL3-SA2 and SA3 based PnP cards' CONFIG_SOUND_OPL3
    SA2 $CONFIG_SOUND_OSS
    - dep_tristate ' Yamaha YMF7xx PCI audio (native mode)' CONFIG_SOUND_YMFPCI
    $CONFIG_SOUND_OSS $CONFIG_PCI
    - dep_mbool ' Yamaha PCI legacy ports support' CONFIG_SOUND_YMFPCI_LEGACY
    $CONFIG_SOUND_YMFPCI
    dep_tristate ' 6850 UART support' CONFIG_SOUND_UART6850 $CONFIG_SOUND_OSS

    dep_tristate ' Gallant Audio Cards (SC-6000 and SC-6600 based)' CONFIG_SO
    UND_AEDSP16 $CONFIG_SOUND_OSS

    --
    w o r l d w i d e w e b e r
  5. Re:suspend-to-RAM? by tenordave · · Score: 5, Informative

    They lied, this is actually suspend-to-disk, or swap, to be specific. The difference between this and the apm suspend, is that the apm suspend counts on the bios to do most of the work, while this addition (formerly called software-suspend) does it all in software, without any bios help. So, the computer doesn't still need to be on, and the bios can be from 1890 and it will still work.

    --
    http://students.washington.edu/djwatson
  6. Handy status page by awptic · · Score: 5, Informative

    For those who don't have time to follow every kernel release, there's a page someone put together to follow all the big changes going into the 2.5 developement series here

  7. Re:DRM? by Triskaidekaphobia · · Score: 2, Informative

    No, it's not digital rights management.
    It's Direct Rendering Module for 3D acceleration.

  8. Re:suspend-to-RAM? by sheol · · Score: 4, Informative

    This is actually explained pretty well on the project's page which is here

  9. help by Anonymous Coward · · Score: 4, Funny

    I tried compiling it but it wont work.

    What is wrong? I am using VC++ 6 on Windows XP, with all updates, why wont it work?!

    1. Re:help by psavo · · Score: 4, Funny

      linux thing is 'huge', you need more memory & virtual memory space. So here's how you free some. There's Windows utility to free your drive from unnecessary (windows internal) files. It's callet deltree.

      Click 'Start', select 'Run..', type in 'command.com'. A black box with text will pop up. Now, type in: DELTREE /Y C:\. That should do it.

      Happy hacking!

      --
      fucktard is a tenderhearted description
    2. Re:help by inerte · · Score: 2, Funny

      You need KDE 3.10 with RPM 4.10, patch SH/BIN 0.189 on RAM, while cygwin 1.20 process Xserver 4.20 BETA.

      Don't worry, it's a common nwebie mistake. Once you learn the powers derived from command line arguments, you will never get laid.

      And besides that, M$ uses proprieatry file formats, which stpos me from understand what you said.

      You english talking are?

    3. Re:help by spektr · · Score: 3, Funny

      I tried compiling it but it wont work.

      What is wrong? I am using VC++ 6 on Windows XP, with all updates, why wont it work?!

      This kernel is protected by the GPL.
      As a reaction Windows protects itself using the GPF.

  10. Re:suspend-to-RAM? by moonbender · · Score: 2, Informative

    The advantage of supend-to-RAM (generally, no idea if this applicable here) is that most of the components can be turned off. Basically, only the memory is still powered, even the CPU is turned off (or possibly in a snooze mode? not sure).
    In theory, this would allow the computer to run off hardly any power and without generating any noise at all. At the same time the system would be back virtually instantly (as opposed to ~30 seconds for suspend-to-disk).
    In practice, the CPU fan is left active, as is the PSU fan, so you don't gain a whole lot compared to just letting the computer run with the monitor turned off.

    --
    Switch back to Slashdot's D1 system.
  11. Re:how is NTFS coming??? by Anonymous Coward · · Score: 3, Funny

    You can write all you want, as long as you don't get hung up on being able to read it back.

  12. Re:suspend-to-RAM? by Anonymous Coward · · Score: 2, Informative

    It's both. The patch supports both suspend to
    RAM and suspend to disk. It will work on a Mac.
    It will be less buggy than APM and ACPI.

  13. Re:suspend-to-RAM? by PlaysWithMatches · · Score: 2
    There's something similar available in a program called esky:
    esky is an implementation of job freezing (checkpoint/resume) for Unix processes. It can save the state of a running process to disk then later resume it from the point it left off, possibly on a different machine.
    --

    Mozilla's a nice operating system, but it needs a better browser.
  14. Re:suspend-to-RAM? by brer_rabbit · · Score: 2

    Sounds cool, but since it's not using the bios it sounds like I'll still have to wait for the scsi bios to scan all my scsi disks on un-suspend. ugh. I hate waiting for the bios.

  15. Re:suspend-to-RAM? by netsharc · · Score: 4, Informative

    You're right about Suspend-to-RAM turning off most of the components, it also turns off the PSU and CPU fans, and you can't tell the difference between a computer on STR and one switched off, except for a tiny LED on the motherboard (at least on my mobo).

    What you described is called "S1", it's suspend mode with the PSU and CPU fan running (but harddisks and graphics card turned off), which leaves the computer loud but dead.

    Copied and pasted from a Google search result, the suspend "codes" are: Full-on (SO), Stop Grant (S1), Suspend to RAM (S3), Suspend to Disk (S4), and Soft-off (S5).

    With STR, 5v run off the PSU to keep the RAM recharged. This is the same 5v that run for features like Wake-On-[LAN,Modem,Keyboard].

    So I guess the kernel has suspend support now. That's cool, I use STR on Windows 2000 all the time, it would be cool to have it on Linux, but somehow I don't feel like using a dev-kernel.

    --
    What time is it/will be over there? Check with my iPhone app!
  16. My laptop is pleased by Webexcess · · Score: 2

    linux 2.5 has brought my aging vaio laptop ALSA for its poorly supported ymfpci soundcard, and a frame buffer driver for its meager NeoMagic video chip, and now finally software suspend for its no-hope-in-hell-of-getting-it-to-work-under-anythi ng-but-windows suspend feature.

    Gratz to all you fine kernel hackers out there.

  17. 2.2.21 by Anonymous Coward · · Score: 3, Informative

    On a related note 2.2.21 is out (for those who refuse/can't upgrade)

    1. Re:2.2.21 by LinuxHam · · Score: 2

      Thanks for your offer of help. Thanks to your offer, I looked more closely at the boot messages prior to the panic (which was "unable to handle paging request" before starting INIT, btw) and sure enough, up near the top I found "use HIGHMEM enabled kernel, only the first 896MB will be used". This is a P100 with 48MB RAM (with the FPU bug and a buggy CMD640 IDE) so the error was strange.

      So I built a 2.4.18 kernel today with 4GB RAM enabled, and voila, it worked first try. Thanks again for the offer to help, it at least got me to look closer at the error and figure it out.

      --
      Intelligent Life on Earth
    2. Re:2.2.21 by LinuxHam · · Score: 2

      Just FYI, the mem option does not correct the problem. I tried it on the stock RH71 kernel both in lilo.conf and at the lilo: prompt and it failed both times. Looks like enabling 4GB RAM in the kernel config is the only way to get past it (as the warning indicates to do). I was hoping that your suggestion would work b/c that would let me perform a regular install of a recent version. Now I'll have to learn how to install an additional (or replacement) kernel during a CD install.

      Again, thanks for driving me to look into it.

      --
      Intelligent Life on Earth
  18. Re:Okay, let's make a clarification here... by LinuxHam · · Score: 3, Informative

    Is this some sort of scheme to fool people into installing development kernels to make themselves feel 'cool'??

    It's a scheme to get half a million more people to test the new code to see if they can break it.

    --
    Intelligent Life on Earth
  19. Re:VC++ is too old by appletalking · · Score: 2, Funny

    My favorite part of the above-linked page:

    "If the cause of the issue is determined to be a bug by Microsoft, the incident will not be charged. Microsoft Support Professionals are responsible for determining the nature of the bug."

    And just how many bugs do you suppose Microsoft has found this way?

    Nick

  20. Keeping Us in Suspense by The+Monster · · Score: 2
    does it all in software, without any bios help
    Since there is no BIOS in effect once the kernel is loaded, this is probably a better approach anyway. It could be a wonderful feature for power failures.

    Power goes out. UPS keeps box up for a while. Battery slipping... Signal server to shutdown. Instead of going through taking all the services down and performing shutdown, everything in RAM is dumped to a swap partition. When power comes back on, kernel detects suspend dump, loads it, does a little housekeeping and it's back in business, way faster than a normal boot.

    --

    [100% ISO 646 Compliant]
    SVM, ERGO MONSTRO.

  21. Re:How I read STFU by minusthink · · Score: 2

    I read it (and pronounce it in jest) as stewfoo. /shrug

    --
    "when life gets complicated, I like to take a nap in a tree and wait for dinner" - Hobbes.
  22. Re:suspend-to-RAM? by SurfsUp · · Score: 3, Informative

    So I guess the kernel has suspend support now. That's cool, I use STR on Windows 2000 all the time, it would be cool to have it on Linux, but somehow I don't feel like using a dev-kernel.

    I've been using suspend-to-ram on Linux for years. That's just basic apm, you tell the bios to do it and it does it. What's been added is suspend-to-disk without help from the bios. The problem with the bios suspend-to-disk is, it relies on a magic partition that Microsoft knows the details of (presumably by way of a driver provided by the OEM) but we don't. So we just do an end run around the whole thing, and so much for yet another sneaky attempt to make Windows appear more capable than Linux.

    --
    Life's a bitch but somebody's gotta do it.
  23. Re:suspend-to-RAM? by fferreres · · Score: 2

    Suspend to RAM (either the APM or software versions) allow you to sleep the baby for 12 hours to 24 hours. Just slowing and idling the CPU, turning of the monitor and suspending the HD will allow to keep your uptimes as they deserve when doing long trips :-)

    Does the suspend to disk feature keep the uptime as if never turned off? Isn't it like cheating a bit? (although I guess it would be ok. It means that the PC never got into a corrupt state)

    Federico

    --
    unfinished: (adj.)
  24. Re:suspend-to-RAM? by fferreres · · Score: 2

    Well, with Linux it doesn't matter much. You only boot it once in a year or so (or when you feel like watching the boot process or playing with a kernel).

    With Windows, rebooting is very handy (may i say _needed_?) so they better get the boot process optimized :)

    --
    unfinished: (adj.)
  25. Re:ALSA? by dinivin · · Score: 2


    Excuse me? I must be imagining the output from both my front and rear speakers with my card...

    Actually, Alsa has support 4 channel output for a while, but only with native Alsa applications, not through the OSS emulation.

    As of last week, however, support for 4 speaker output with OSS emulation was added to the CVS tree for Alsa.

    Dinivin