Berkeley CSUA MOTD:Entry 22232
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2001/8/23-24 [Computer/SW/OS/Windows, Computer/SW/OS/Linux] UID:22232 Activity:moderate
8/23    One of the byproducts of the Linux 2.5 Kernel Summit
        http://lwn.net/2001/features/KernelSummit was the notion of an
        enhancement of the loadable kernel module interface to facilitate
        security-oriented kernel modules.  The purpose is to ease the tension
        between folks (such as Immunix and SELinux) who want to add substantial
        security capabilities to the kernel, and other folks who want to
        minimize kernel bloat & have no use for such security extensions.
        \_ well, folks "with no use for security extensions" probably ought
           to run cygwin xfree4 on win98 then.  See screenshot:
           <DEAD>sartre.dgate.org/~brg/cygwinxfree.gif<DEAD>
           <DEAD>sartre.dgate.org/~brg/cygwinxfree.gif<DEAD> - notbrg.
                                                          \_ shouldn't that
                                                             be !brg ?
           \_ Why not just use exceed or xwin32? Seems a lot less of a hassle.
2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2006/10/5-7 [Recreation/Computer/Games] UID:44700 Activity:nil
10/5    http://reviews.cnet.com/4520-6449_7-6647505-1.html?tag=nl.e501
        Don't get overhyped on PS3 and Wii.  CNET reporter says that in his
        informal poll, 3 out of 6 people he knew who got an early Xbox 360
        had their hardware eventually fail.  The warranty is only 90 days,
        although after enough bad press MS is paying for all repairs for
        machines built before 2006.
	...
2005/6/13-15 [Computer/SW/OS/Windows] UID:38111 Activity:nil
6/13    What is the cheapest way to get 3 or 4 arguably legal
        copies of winXP, preferable with SP2 ?  Also, how much
        do extra terminal licenses cost? tnx.
        \_ OEM licenses are cheaper but you can't move them to a different
           machine once you activate it.  (OEM licenses are what you get when
           you buy a new Dell, etc.)
	...
2005/3/16-19 [Computer/SW/OS/Windows] UID:36727 Activity:nil
3/16    I have a disc with 2 primary partitions, 1st partition
        is NTFS and contains win2k, 2nd partition is FAT32 and contains
        win98.  how do i dual boot between the two?  what bootloader
        would work?  to use the native win2k bootloader and have
        it work with win98 in the 2nd partition, partition
        number 1 needs to be in FAT32. - danh
	...
2004/11/9-11 [Computer/SW/OS/Windows, Computer/HW/Drives] UID:34788 Activity:nil
11/9    I tried using FBSD 4.9 to format a 120GB drive as FAT32.  The format
        succeeded, but I can't mount the drive-- the error message mentions
        the next free block exceeding the max.  Win2k refuses to create FAT
        partitions > 32GB because Win98 machines have 16 bit utilities that
        might barf in that situation.
        The point of the exercise is to have a single large partition that
	...
2004/7/13-14 [Computer/SW/WWW/Browsers] UID:32251 Activity:very high
7/12    In the news...
        "Continuing security problems have eroded Internet Explorer's
        popularity; the market share for Explorer has dropped by more than a
        percentage point from 95.48 percent to 94.42 percent..."
        Gee that's gotta hurt! Poor MS.
        \_ Although if you read a report that said non IE browsers have gained
	...
2004/5/17-18 [Computer/SW/OS/FreeBSD] UID:30263 Activity:very high
5/17    How many of you actually use BSD or Linux on your personal notebook or
        desktop computer? If so, what flavor? oh and plz say what "desktop
        environment" you use. actually it would be interesting for everyone
        to just reply and say what they use. i'm on WinXP.
        \_ FreeBSD-RELEASE on my laptop (Thinkpad X31) although to be fair
           I am ditching it for Debian, as it has serious problems with ACPI,
	...
2003/10/22-23 [Computer/SW/Virus, Computer/HW/Drives] UID:10739 Activity:nil
10/22   My sister's computer has been making weird "clicky" sounds at startup,
        and she's also having probs starting applications (win98).  She's on
        a dialup modem and uses those free AOL discs.  The weirdest thing is
        that when she checks her email (hotmail) the username "ihatedeva"
        keeps popping up in the username field of the form.  This is not her
        email nor any of her roommates or anyone she knows.  Has anyone else
	...
2003/10/11 [Computer/HW/Laptop, Computer/HW/Drives] UID:10592 Activity:nil
10/10   My laptop hd is having problems.  Won't boot.  Plugged into USB hd
        caddy, and see the two partitions on it from my desktop.  (Both
        running XP).  Both partitions show up as drives from an explorer
        window on the desktop, but accessing the second partition gives
        errors like "incorrect parameter" or "drive not formatted."  Tried
        using Partition Magic 8 to copy the whole laptop hd to my desktop
	...
2003/10/11 [Computer/SW/OS/Windows] UID:10587 Activity:moderate
10/10   Which OS will run best on a K6-2 400MHz, 128meg ram, 4gig hard
        drive laptop: NT4, Win2k, or WinXP? My software requires NTFS.
                \_ try double your ram
        \_ reply hazy ask again later
        \_ Someone says for machines with 128MB RAM or more, XP actually
           manages memory better than NT.  Don't know if it's true or not.
	...
2003/8/21 [Computer/SW/OS/Linux] UID:29421 Activity:high
8/20    I'm trying to setup my debian linux server to accept dial-in PPP
        connections from my Linux laptop and a win98 machine that is out of
        town. I'm already running mgetty as a fax and text-login server.
        What's the best method for making connections easy for both the
        windows and (debian) linux boxes?  There's CHAP and PAP, and I'm
        not sure which (if either) to pursue.  Has anybody here done this
	...
2003/8/20-21 [Computer/SW/OS/Windows] UID:29410 Activity:low
8/20    windows 2000 gurus please help.  I had a crash recently and now I
        can't log into the system.  It get stuck in "Loading Personal Settings"
        and doing ctrl+alt+del doesn't do anything.  Safe mode booting does
        work and lets me log in.  How do I fix this?  Is there a way to
        temporarily disable all those daemons that get loaded at startup
        so that real boot becomes more like safe boot?  Thanks!
	...
2003/3/10-11 [Computer/SW/WWW/Browsers] UID:27641 Activity:moderate
3/10    Has any of you win98 users with dial-up experienced this?  Clicking
        Explorer (folder explorer) will bring up dial-up networking.
        \_ this happens usually if you are using a yahoo or google toolbar
           and you have a dial-up adapter to dial-on-demand.
           \_ I'm not sure about the toolbar bit, but go to the internet
              options, connection, set to directly connected, and uncheck the
	...
2013/2/19-3/26 [Computer/SW/OS/OsX] UID:54611 Activity:nil
2/19    I program a lot by sshing to a Linux cluster.  So I'm used to using
        Xemacs to code.  This works fine from a Linux or Windows workstation,
        but sometimes I have to use a Mac.  On Mac, the meta is usually
        bound to option, but that often doesn't work over ssh for some reason.
        This makes using emacs a real pain.  Any suggestions on how to fix it?
        (Other than "use vi")
	...
2012/8/28-11/7 [Computer/HW/Memory] UID:54466 Activity:nil
8/26    Amazon medium instances (3.75GB RAM): 0.160/hour = $1382/year
        Generic standard Linux VPS (4GB RAM): $480/year
        Amazon costs more (but does offer superior scaling options).
        \_ Amazon is $670 if you buy a year's usage up front (heavy util).
           Why is heavy util less expensive than light util?
	...
2012/1/4-2/6 [Computer/HW/Drives] UID:54281 Activity:nil
1/4     I want to test how my servers behave during a disk failure and
        a RAID reconstruction so I want to simulate a hardware failure.
        How can I do this in Linux without having to physically pull
        a drive? These disks are behind a RAID card and run Linux. -ausman
        \_ According to the Linux RAID wiki, you might be able to use mdadm
           to do this with something like the following:
	...
2010/7/21-8/9 [Computer/SW/OS/FreeBSD] UID:53890 Activity:nil
7/21    Can I just use ifconfig to expand my netmask on a FreeBSD box?
        Are there any gotchas here? Linux forces me to restart my network
        to expand my netmask.
        \_ yes... and no, you don't have to restart your network on linux either
           \_ Rebooting is the Ubootntoo way!
              \_ Oooboot'n'tootin!
	...
2010/7/22-8/9 [Computer/SW/OS/FreeBSD, Computer/HW/Drives] UID:53893 Activity:nil
7/22    Playing with dd if=/dev/random of=/dev/<disk> on linux and bsd:
        2 questions, on linux when <disk>==hda it always gives me this off
        by one report i.e. Records out == records in-1 and says there is an
        error. Has anyone else seen this?  Second, when trying to repeat this
        on bsd, <disk>==rwd0 now, to my surprise, using the install disk and
        selecting (S)hell, when I try to dd a 40 gig disk it says "409 records
	...
2010/5/26-6/30 [Computer/SW/Unix/WindowManager, Computer/SW/OS/OsX] UID:53844 Activity:nil
5/26    anyone use lxde?  supposedly it is less stupid than xfce and
        less bloated than gnome.  thoughts?
        \_ lol, does anyone still use desktop linux?  Get with the times
           buy a mac.  Now.  DO IT.  Go NOW.
           \_ but we prefer herring to Kool-Aid
              \_ "you have to yell, he's hard of herring"
	...
2010/5/6-26 [Computer/SW/OS/Windows] UID:53818 Activity:low
5/5     Does anyone know how to do custom install of Ubuntu 10.04? I can't
        even boot it up to give me the menu to custom install and it
        keeps installing a bunch of crap I don't need. It's getting
        just as slow and bloated as Winblows install. Dear lord,
        I miss the old Ubuntu.
5/5=1.0 Numerology FTW.    5+5=10
	...
2010/4/22-5/10 [Computer/SW/Languages/Misc] UID:53797 Activity:nil
4/22    In Linux is there an easy way to rename the scripts in /etc/rc?.d ?
        For example I want to set all the /etc/rc?.d/S91apache to S100apache
        so that it'll run the ramdisk BEFORE going to apache.
        \_ Sure, just move them.
           \_ I mean is there a script that will rename all of them
              for me? Like: setrc apache2 0 0 1 1 1 1
	...
Cache (8192 bytes)
lwn.net/2001/features/KernelSummit -> lwn.net/2001/features/KernelSummit/
Check out 10 our annotated group photo which puts names to as many people in the picture as possible. High-performance database requirements The first presentation was by Lance Larsh of Oracle who, essentially, provided a laundry list of changes and features Oracle would like to see in order to get better performance out of high-end, large database servers. It comes down to the following: * Raw I/O has a few problems that keep it from achieving the performance it should get. Large operations are broken down into 64KB batches which are transferred sequentially. The block I/O interface deals in blocks, so large chunks are broken down into 512-byte pieces which are shoved individually into the block system, where they are immediately reassembled. It would be far better to just keep the large operations intact. That lock needs to split into a bunch of per-device locks, allowing more operations to be carried out in parallel. Much modern, high-end hardware can address high memory, however, meaning that the bounce buffers are unnecessary. Memory and performance gains can be significant when the page table size can be reduced by a factor of 512. One exception was the non-preemption request, which was considered dangerous and unnecessary. SCTP SCTP is the "Stream Control Transmission Protocol," defined by RFC2960. It is intended to be a new, high-level protocol with many of the advantages of both TCP and UDP, and with some additional features, such as dynamic network failover for multihomed hosts. SCTP also incorporates multiple streams of messages into a single connection, which can bring performance benefits in situations where multiple streams are used. A beginning SCTP implementation was presented by La Monte Yarroll, along with a description of the changes that are needed in the kernel. Among other things, a new version of the bind() system call is needed which can bind a socket to multiple addresses, so that the failover mechanism can work. Stephen Tweedie presented a list of things he thought needed to be addressed as a way of starting discussion on this topic. Much of his talk mirrored the list presented earlier by Oracle's Lanch Larsh, but there were a number of new items as well. The first set of problems with the current block layer have to do with scalability. The system needs to be able to handle very large numbers of devices, leading, among other things, to an exhaustion of the number of device numbers available (see also the 11 March 29 LWN kernel page). Large memory systems need to be able to work without using bounce buffers. The current sector addressing scheme, which limits devices to 2TB, needs to be redone. There is also an issue with some SCSI devices which can report large numbers of units on each target. If an I/O operation fails, the kernel has no way of knowing if the disk simply has a bad sector, or if the controller is on fire. As a result, a bad block will cause a drive to be removed from a RAID array, even though it is otherwise functioning fine. The system needs to provide information on just what has failed; In the case of a write failure, the data in memory is still good, and can be used by the system. The splitting up of large requests in the block layer is a recurring theme here. The kernel does not maintain separate queues for distinct devices; I/O scheduling fairness is also an issue at higher levels. Then, there's a set of new features required by the kernel. I/O barriers are one such feature: a journaling filesystem, for example, needs to know that everything has been written to the journal before its associated "commit" record goes to disk. By placing a barrier, the journaling code could ensure that no operations are reordered around the commit. On SCSI disks, the barrier can be implemented with a SCSI ordered tag, meaning that here is no need to actually wait until the barrier has been reached. On IDE systems, instead, an actual "flush and wait" cycle would be required. A similar topic is the need for explicit control of write caching in the drive itself. Disk drives typically report that a write operation is complete as soon as the data reaches the drive's internal cache, but it's often necessary to know that the data has actually reached the oxide on the disk itself. There's also a need for access to the real geometry of the drive; As hardware configurations become more dynamic, it's important to be able to track disks as they move around. There was surprisingly little controversy in this session, perhaps because it concentrated on goals and didn't get into actual implementation designs. Integrating high-performance filesystems Steve Lord of SGI presented some of the advanced features of the XFS filesystem, with the idea that, perhaps, some of them should be moved into the Linux VFS layer. The most interesting, certainly, was the "delayed write allocation" technique employed by XFS. When a process extends a file, XFS makes a note of the space that has been used, but does not actually go to the trouble of figuring out where it will live on the disk. Only when the kernel gets around to actually flushing the file data to the disk will that allocation be done. There are a couple of benefits to this scheme: * Processes that write data to files often write more data shortly thereafter. Delayed allocation means that the filesystem can lay out all of that data together, making the file contiguous on disk. The network driver API Jamal Hadi Salim led a session describing changes to the network driver interface. The stock Linux kernel performs poorly under very heavy network loads - as the number of packets received goes up, the number of packets actually processed begins to drop, until it approaches zero in especially hostile situations. A number of problems have been indentified in the current networking stack, including: * In heavy load situations, the too many interrupts are generated. When several tens of thousands of packets must be dispatched every second, the system simply does not have the resources to deal with a hardware interrupt for every packet. Currently, packets are dropped far too late, after considerable resources have been expended on them. Jamal's work (done with Robert Olsson and Alexey Kuznetsov) has focused primarily on the first two problems. The first thing that has been done is to provide a mechanism to tell drivers that the networking load is high. The drivers should then tell their interfaces to cut back on interrupts. After all, when a heavy stream of packets is coming in, there will always be a few of them waiting in the DMA buffers, and the interrupts carry little new information. When interrupts are off, the networking code will instead poll drivers when it is ready to accept new packets. Each interface has a quota stating how many packets will be accepted; If the traffic is heavy, it is entirely likely that the DMA rings for one or more drivers will overflow, since the kernel is not polling often enough. Once that happens, packets will be dropped by the interface itself (it has, after all, no place to put them). Thus the kernel need not process them at all, and they do not even cross the I/O bus. The end result is an order of magnitude increase in the number of packets a Linux system can route. Hot plug devices A common theme with modern hardware is the ability to attach and detach devices while the system is running - hot plugging. The kernel needs to be able to deal with this kind of environment; USB maintainer Johannes Erdfelt gave a presentation on how that is being done. How, for example, should a new device in the system be named? Device attributes - permissions, owner, configuration - should be preserved across plugging events when possible. Selecting the proper driver for a new device can be a challenge - sometimes there's more than one to choose from. Sometimes user space programs need to know about device events; The current scheme is to run a script - /sbin/hotplug, for every device event. Linus likes this approach, since it makes it easy to do the right thing most of the time. Much of the time, however, was spent discussing the naming issue, and the associated issue ...