Re: Software based ECC ?

2007-08-21 Thread Bodo Eggert
Folkert van Heusden <[EMAIL PROTECTED]> wrote: >> > http://pdos.csail.mit.edu/papers/softecc:ddopson-meng softecc_ddopson-meng.pdf >> > "SoftECC : A System for Software Memory Integrity Checking" >> >> Personally, I'd recommend just shelling out the bucks for hardware ECC if >> the reliability

Re: [PATCH] Make checkpatch rant about trailing ; at the end of "if" expr

2007-08-22 Thread Bodo Eggert
On Mon, 20 Aug 2007, Jan Engelhardt wrote: > On Aug 20 2007 13:52, Bodo Eggert wrote: > >> But. The above regex does not seem to handle > >> > >> if ((a = b)); > >> oops; > >> > >> I have tried to come up with a superduper regex that hand

Re: [RFC] USB: driver for iphone charging

2007-08-24 Thread Bodo Eggert
Greg KH <[EMAIL PROTECTED]> wrote: > my berry_charge code that adds support for charging the iphone when it > is plugged into a Linux machine. This should be a runtime option, because you may want to build a non-module kernel and not charge the phone while running your laptop on battery. -- Top

Re: RFC: issues concerning the next NAPI interface

2007-08-24 Thread Bodo Eggert
Linas Vepstas <[EMAIL PROTECTED]> wrote: > On Fri, Aug 24, 2007 at 03:59:16PM +0200, Jan-Bernd Themann wrote: >> 3) On modern systems the incoming packets are processed very fast. Especially >> on SMP systems when we use multiple queues we process only a few packets >> per napi poll cycle. So

Re: [linux-usb-devel] [RFC] USB: driver for iphone charging

2007-08-25 Thread Bodo Eggert
On Fri, 24 Aug 2007, Greg KH wrote: > On Fri, Aug 24, 2007 at 12:51:19PM +0200, Bodo Eggert wrote: > > Greg KH <[EMAIL PROTECTED]> wrote: > > > my berry_charge code that adds support for charging the iphone when it > > > is plugged into a Linux machine. > &g

Re: Please release a stable kernel Linux 3.0

2007-06-29 Thread Bodo Eggert
Alan Cox <[EMAIL PROTECTED]> wrote: > On Fri, 29 Jun 2007 00:00:27 +0200 > Rene Herman <[EMAIL PROTECTED]> wrote: >> On 06/28/2007 06:30 PM, Alan Cox wrote: >> > Public domain is GPL compatible. >> >> Would you happen to have an opinion on the attached? I don't so much need it > > The answer is

Re: Linux Kernel include files

2007-07-01 Thread Bodo Eggert
Jan Engelhardt <[EMAIL PROTECTED]> wrote: > On Jun 28 2007 12:57, Jan-Benedict Glaw wrote: >>> > It's not an accusation -- it's merely an observation. You may not have >>> > noticed that your mailer was misbehaving; now you _do_ know, and if you >>> > care about RFC compliance you might want to

Re: blink driver power saving

2007-07-02 Thread Bodo Eggert
Andi Kleen <[EMAIL PROTECTED]> wrote: > On Monday 02 July 2007 00:14, Linus Torvalds wrote: >> On Sun, 1 Jul 2007, Andi Kleen wrote: >> > What is so bad with it? Note it's a debugging facility and used >> > for kcrash kernels where the video output doesn't work. But they >> > normally only run a

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Bodo Eggert
Miklos Szeredi <[EMAIL PROTECTED]> wrote: >> > So to summarize, the plan that makes things work with fuse is: >> > >> > - For STR, don't do the freezer thing. >> > >> > - For STD, don't sys_sync() after you froze >> > >> > There might be -other- issues, but that should get you through some of

Re: shouldn't LVM support be selected by default?

2007-07-03 Thread Bodo Eggert
Robert P. J. Day <[EMAIL PROTECTED]> wrote: > just built a new kernel and didn't notice that support for LVM > wasn't selected by default for x86. given what i thought was fairly > widespread use of LVM2, wouldn't it make sense to have this option as > part of the default config? If you don't

Re: [ANNOUNCE] util-linux-ng 2.13-rc1

2007-07-05 Thread Bodo Eggert
Nix <[EMAIL PROTECTED]> wrote: > On 4 Jul 2007, DervishD stated: >> Anyway, if you don't like mobs or you just don't want to try it, >> that's fine, but please don't use autotools, it doesn't make much sense >> for a linux only project, since you will be using only the "directory >> choosing"

Re: [patch 10/10] Scheduler profiling - Use immediate values

2007-07-05 Thread Bodo Eggert
Andi Kleen <[EMAIL PROTECTED]> wrote: > Alexey Dobriyan <[EMAIL PROTECTED]> writes: >> On Tue, Jul 03, 2007 at 12:40:56PM -0400, Mathieu Desnoyers wrote: >> > Use immediate values with lower d-cache hit in optimized version as a >> > condition for scheduler profiling call. >> >> I think it's

[RFC][PATCH] introduce panic_gently

2007-07-05 Thread Bodo Eggert
context. Signed-Off-By: Bodo Eggert <[EMAIL PROTECTED]> --- This patch seems to work correctly on bochs/i386, except for the qemu BIOS hangigng after a ctrl_alt_del, but I did run qemu using -kernel and -initrd, which might have caused this behaviour. Is this function useful outside ini

Re: slow down printk during boot.

2007-07-05 Thread Bodo Eggert
Dave Jones <[EMAIL PROTECTED]> wrote: > This patch from Randy has proven quite useful from time to time, > and has been in Fedora kernels for a while for that reason. > I fixed up some checkpatch warnings, and rediffed it a bunch > of times, Randy did the heavy lifting. > > --- > > This one

[RFC][Patch] Allow not mounting a root fs

2007-07-05 Thread Bodo Eggert
This patch adds the option to not mount another root filesystem by specifying root=initramfs. TODO: Documentation --- BTW: Is it possible to mount a tmpfs on / before extracting the cpio? While I'm at it: In init/do_mounts.c, mount_root(void): ROOT_NFS: Is it desirable to use the floppy as a

Re: [ANNOUNCE] util-linux-ng 2.13-rc1

2007-07-06 Thread Bodo Eggert
On Thu, 5 Jul 2007, DervishD wrote: > * Bodo Eggert <[EMAIL PROTECTED]> dixit: > > Standardisation is good, but autotools (as they are used) usurally isn't. > > Usually, by picking other's project configure.in and tweak blindly. If it were that easy to write a co

Re: [RFC][PATCH] introduce panic_gently

2007-07-06 Thread Bodo Eggert
On Fri, 6 Jul 2007, Andi Kleen wrote: > Bodo Eggert <[EMAIL PROTECTED]> writes: > > > If the boot process failes to find init or the root fs, the cause has > > usually scrolled off the screen, and because of the panic, it can't be > > reached anymore.

Re: [RFC][Patch] Allow not mounting a root fs

2007-07-06 Thread Bodo Eggert
On Thu, 5 Jul 2007, H. Peter Anvin wrote: > Bodo Eggert wrote: > > This patch adds the option to not mount another root filesystem > > by specifying root=initramfs. > > Uhm, the kernel doesn't mount anything if you're using an initramfs. Yes, instead it panics trying to m

Re: [RFC][Patch] Allow not mounting a root fs

2007-07-07 Thread Bodo Eggert
On Sat, 7 Jul 2007, Jan Engelhardt wrote: > On Jul 5 2007 19:08, H. Peter Anvin wrote: > >> BTW: Is it possible to mount a tmpfs on / before extracting the cpio? > > > >Not in the stock kernel. There have been some patches floating around > >for that, I think. > > What would it buy? rootfs is a

Re: Fwd: That whole "Linux stealing our code" thing

2007-09-02 Thread Bodo Eggert
Igor Sobrado <[EMAIL PROTECTED]> wrote: > When code is multi-licensed it must be distributed under *all* these > licensing terms concurrently. No. E.g.: If I don't agree to the GPL (or if I had violated it and therefore have lost it's privileges), I MUST NOT redistribute it under the GPL

Re: modinfo question

2007-09-05 Thread Bodo Eggert
Justin Piszcz <[EMAIL PROTECTED]> wrote: > Is there anyway to get/see what parameters were passed to a kernel module? > Running modinfo -p will show the defaults, but for example, st, > the scsi tape driver, is there a way to see what it is currently using? /sys/modules/$NAME/parameters (if

Re: [PATCH] make atomic_t volatile on all architectures

2007-08-09 Thread Bodo Eggert
Jerry Jiang <[EMAIL PROTECTED]> wrote: > On Wed, 8 Aug 2007 21:18:25 -0700 (PDT) >> On Wed, 8 Aug 2007, Chris Snook wrote: >> > Some architectures currently do not declare the contents of an atomic_t to >> > be >> > volatile. This causes confusion since atomic_read() might not actually >> > read

Re: Documentation files in html format?

2007-08-09 Thread Bodo Eggert
Jan Engelhardt <[EMAIL PROTECTED]> wrote: > On Aug 9 2007 11:31, Stephen Hemminger wrote: >>Since the network device documentation needs a rewrite, I was thinking >>of using basic html format instead of just plain text. But since this would >>be starting an new precedent for kernel documentation,

Re: Documentation files in html format?

2007-08-09 Thread Bodo Eggert
On Thu, 9 Aug 2007, Jan Engelhardt wrote: > On Aug 9 2007 14:34, Bodo Eggert wrote: > >I don't think and should be used, instead you should use styles > >( etc). > > does the same as , and the latter is much > more verbose for the same thing. You shoud use neith

Re: [PATCH V2] limit minixfs printks on corrupted dir i_size, CVE-2006-6058

2007-08-09 Thread Bodo Eggert
Eric Sandeen <[EMAIL PROTECTED]> wrote: > This attempts to address CVE-2006-6058 > http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6058 > > first reported at http://projects.info-pull.com/mokb/MOKB-17-11-2006.html > > Essentially a corrupted minix dir inode reporting a very large >

Re: [RFC PATCH 1/4] pass open file to ->setattr()

2007-08-09 Thread Bodo Eggert
Miklos Szeredi <[EMAIL PROTECTED]> wrote: >> > This is needed to be able to correctly implement open-unlink-fsetattr >> > semantics in some filesystem such as sshfs, without having to resort >> > to "silly-renaming". >> >> How do you plan to do that? > > Easy: the SFTP protocol has stateful

Re: Noatime vs relatime

2007-08-11 Thread Bodo Eggert
Rene Herman <[EMAIL PROTECTED]> wrote: > I must say I've been wondering about relatime a bit as well. Are there > actually users who do really want atime, but not badly enough to want real > atime? Anyone using /var/spool/mail. -- Programming is an art form that fights back. Friß, Spammer:

Re: Documentation for sysfs, hotplug, and firmware loading.

2007-08-05 Thread Bodo Eggert
On Mon, 23 Jul 2007, Rob Landley wrote: > On Saturday 21 July 2007 8:14:41 am Bodo Eggert wrote: > > Greg KH <[EMAIL PROTECTED]> wrote: > > > On Fri, Jul 20, 2007 at 08:21:39PM -0400, Rob Landley wrote: > > >> I'm not trying to document /sys/devices. I

Re: allow non root users to set io priority "idle" ?

2007-08-07 Thread Bodo Eggert
Andi Kleen <[EMAIL PROTECTED]> wrote: >> couldn't this be fixed by bumping idle tasks to middle while they hold a > > Usually to high. Then use the lowest non-idle priority. The result will not be more b0rken than nice -n 19. > But it's all complicated and hasn't been done consistently >

Re: sata & scsi suggestion for make menuconfig

2007-09-08 Thread Bodo Eggert
Al Boldi <[EMAIL PROTECTED]> wrote: > Alan Cox wrote: >> > I once sent a patch to make libata a submenu of scsi. >> >> Which is wrong >> >> Nakked-by: Alan Cox <[EMAIL PROTECTED]> >> >> The general comments about moving this stuff around and making it clearer >> what sd/sr etc are nowdays are

Re: O_NOLINK for open()

2007-09-12 Thread Bodo Eggert
Brent Casavant <[EMAIL PROTECTED]> wrote: [...] > I could mmap a temporary tmpfs file (tmpfs so that if there is a > machine crash no sensitive data persists) which is created with > permissions of 0, immediately unlink it, and pass the file > descriptor through an AF_UNIX socket. This does open

Re: O_NOLINK for open()

2007-09-14 Thread Bodo Eggert
On Thu, 13 Sep 2007, Jan Kara wrote: > > > However, it occurs to me that this problem goes away if there were > > > a method create a file in an unlinked state to begin with. However > > > there does not appear to be any such mechanism in Linux's open() > > > interface. > > > > Having no window

Re: O_NOLINK for open()

2007-09-14 Thread Bodo Eggert
Brent Casavant <[EMAIL PROTECTED]> wrote: [...] > Hmm. This will work as long as the peer process is running setuid > to it's own unique user. Excellent idea! Since I need to make the > program setuid to avoid non-priveleged ptrace attacks, this is a > terrific solution. Tried that: ~ > cd

Re: O_NOLINK for open()

2007-09-14 Thread Bodo Eggert
On Fri, 14 Sep 2007, Andreas Schwab wrote: > Bodo Eggert <[EMAIL PROTECTED]> writes: > > ~/tmp > cp /bin/sleep . > > ~/tmp > chmod u+s sleep > > ~/tmp > ./sleep 2147483647 & > > [1] 2823 > > ~/tmp > strace -p 2823 > > Process 2823 a

Re: Chroot bug (was: sys_chroot+sys_fchdir Fix)

2007-09-26 Thread Bodo Eggert
On Wed, 26 Sep 2007, David Newall wrote: > Miloslav Semler pointed out that a root process can chdir("..") out of > its chroot. Although this is documented in the man page, it conflicts > with the essential function, which is to change the root directory of > the process. The root directory,

Re: Out of memory management in embedded systems

2007-09-29 Thread Bodo Eggert
linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote: > On Fri, 28 Sep 2007, [iso-8859-1] Daniel Spång wrote: >> On 9/28/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote: >>> On Fri, 28 Sep 2007, [iso-8859-1] Daniel Spång wrote: On 9/28/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote:

Re: [patch 2/2] getattr - fill the size of FIFOs

2007-10-03 Thread Bodo Eggert
Jan Engelhardt <[EMAIL PROTECTED]> wrote: > [PATCH]: Fill the size of FIFOs > > Instead of reporting 0 in size when stating() a FIFO -- Whenever you have plenty of ammo, you never miss. Whenever you are low on ammo, you can't hit the broad side of a barn. Friß, Spammer: [EMAIL PROTECTED]

Re: [PATCH][retry-2] init: Introduce rootdir bootparm to select which dir to sys_chroot

2007-11-18 Thread Bodo Eggert
Al Boldi <[EMAIL PROTECTED]> wrote: > Second try; this time with a doc-update, and the ability to remount normally. > > Tested against 2.6.23. > > --- > > This patch introduces a rootdir kernel boot parameter, which specifies the > path to the kernel sys_chroot boot dir. > > This is useful

Re: [PATCH][retry-2] init: Introduce rootdir bootparm to select which dir to sys_chroot

2007-11-18 Thread Bodo Eggert
On Sun, 18 Nov 2007, H. Peter Anvin wrote: > Bodo Eggert wrote: >> 1) This is useful for booting a rescue or test system, too. In those cases, >>you might want to have the old root moved somewhere. >>(Always "$rootdir/oldroot"? Additional parameter?

Re: [PATCH] FAT: Fix printk format strings.

2007-10-11 Thread Bodo Eggert
Vegard Nossum <[EMAIL PROTECTED]> wrote: > This makes sure printk format strings contain no more than a single > line. > printk(KERN_WARNING > -"FAT: Did not find valid FSINFO signature.\n" > +"FAT: Did not find valid FSINFO

Re: gigabit ethernet power consumption

2007-10-11 Thread Bodo Eggert
Kok, Auke <[EMAIL PROTECTED]> wrote: > K.Prasad wrote: >> Without the side-effect of experiencing a link-flap when switching to a >> lower-speed (with its toll in terms of down-time for auto-negotiation, >> STP, etc), the Interrupt Moderation Algorithm dynamically adjusts the >> number of

Re: Wasting our Freedom

2007-09-18 Thread Bodo Eggert
Paul de Weerd <[EMAIL PROTECTED]> wrote: > On Mon, Sep 17, 2007 at 03:38:45PM +0200, Adrian Bunk wrote: > | It's not about lazyness of BSD developers, many people who consider the > | BSD licence more free than the GPL argue that the advantage of the BSD > | licence is that it does not require

Re: sys_chroot+sys_fchdir Fix

2007-09-20 Thread Bodo Eggert
David Newall <[EMAIL PROTECTED]> wrote: >> Normal users cannot use chroot() themselves so they can't use chroot to >> get back out > > I think Bill is right, that this is to fix a method that non-root > processes can use to escape their chroot. The exploit, which is > documented in chroot(2)*,

Re: patch/option to wipe memory at boot?

2007-09-20 Thread Bodo Eggert
Chris Snook <[EMAIL PROTECTED]> wrote: > David Madore wrote: >> On Mon, Sep 17, 2007 at 11:11:52AM -0700, Jeremy Fitzhardinge wrote: >>> Boot memtest86 for a little while before booting the kernel? And if you >>> haven't already run it for a while, then that would be your first step >>> anyway.

Re: [PATCH] kernel/printk.c: Concerns about the console handover

2007-09-21 Thread Bodo Eggert
Maciej W. Rozycki <[EMAIL PROTECTED]> wrote: > Move the hadover message to after the boot console has been released to > avoid bad interactions between it and the real console. This message is usefull if the handover fails, therefore it should be printed on the boot console, while successfull

Re: [BUG] Possible cache memory leak.

2007-09-21 Thread Bodo Eggert
Micha? Kazior <[EMAIL PROTECTED]> wrote: > I've discovered a strange thing lately. My memory is being sucked out > when doing (I suppose) _a lot_ of stat() on the file system. I got left > once with ~30MB of ram (of 512 in total) which made my system trash > like hell. You might try doing the

Re: Unfortunate infinite make recursion

2007-09-22 Thread Bodo Eggert
Jan Engelhardt <[EMAIL PROTECTED]> wrote: > You can cause a recursion in kbuild/make with the following: > > make O=$PWD kernel/time.o > make mrproper > > Of course no one would use O=$PWD (that's just the testcase), > but this happened too often: > > /ws/linux/linux-2.6.23$ make

Re: [PATCH] fix "passing argument # of '__memcpy' discards qualifiers from pointer target type" warnings

2007-10-24 Thread Bodo Eggert
Miguel Botón <[EMAIL PROTECTED]> wrote: > This patch fixes the warnings "passing argument 1 of '__memcpy' discards > qualifiers from pointer target type" and "passing argument 2 of '__memcpy' > discards qualifiers from pointer target type" when compiling some files. > > I don't really know if

Re: [PATCH 0/6] kill i386 and x86_64 directories

2007-10-25 Thread Bodo Eggert
Thomas Gleixner <[EMAIL PROTECTED]> wrote: > I think the last remaining bit to cleanup is the symlink from > arch/x86/boot/bzImage. BTW: Is it useful to have (b)zimage under $ARCH while vmlinux is in the root dir? (Besides being compatible to external scripts) -- I always tell customers/clients

Re: Linux machines dieing in swap storms

2007-10-25 Thread Bodo Eggert
Rik van Riel <[EMAIL PROTECTED]> wrote: > On Thu, 25 Oct 2007 16:20:41 +0100 > Richard Purdie <[EMAIL PROTECTED]> wrote: >> Advice on solving this welcome preferably in mainline but I'll happily >> hack my kernels with a workaround if need be. > > I can't see any easy hacks or workarounds to fix

Re: [PATCH 0/11 v3] enable "make ARCH=x86"

2007-11-11 Thread Bodo Eggert
Theodore Tso <[EMAIL PROTECTED]> wrote: > On Sat, Nov 10, 2007 at 12:35:01PM -0800, H. Peter Anvin wrote: >> In fact, we should be able to get rid of ARCH entirely; CONFIG_ options >> have the huge advantage that they're saved in a file, and you don't have to >> type them on every make run. The

Re: AppArmor Security Goal

2007-11-12 Thread Bodo Eggert
Rogelio M. Serrano Jr. <[EMAIL PROTECTED]> wrote: > Dr. David Alan Gilbert wrote: >> Allowing a user to tweak (under constraints) their settings might allow >> them to do something like create two mozilla profiles which are isolated >> from each other, so that the profile they use for general web

Re: Killing a network connection

2007-10-15 Thread Bodo Eggert
Andi Kleen <[EMAIL PROTECTED]> wrote: > Stefan Monnier <[EMAIL PROTECTED]> writes: >> The main use for me is to deal with dangling connections due to taking >> network interfaces up with different IP addresses (typically the wlan0 >> interface where the IP is different because I've modes from an

Re: Power button policy and mechanism

2007-10-16 Thread Bodo Eggert
Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > On 10/16/07, Kristoffer Ericson <[EMAIL PROTECTED]> wrote: >> Is the suggested approach on handling powerbutton (in keyboard driver) to >> simply push out the event and let userland handle it? > > Yes. > >> The reason Im asking this is because as you

Re: [AppArmor 19/45] Add struct vfsmount parameters to vfs_rename()

2007-11-02 Thread Bodo Eggert
Al Viro <[EMAIL PROTECTED]> wrote: > On Fri, Oct 26, 2007 at 11:23:53AM -0700, John Johansen wrote: >> In the current code, both vfsmounts are always identical, and so one of >> the two should go, agreed. >> >> The thought behind passing both vfsmounts was that they could differ but >> point to

Re: Plans for mISDN? Was: [PATCH 00/14] [ISDN] ...

2008-02-25 Thread Bodo Eggert
Andi Kleen <[EMAIL PROTECTED]> wrote: >> we were talking about the load order. This will solve the load order, >> but if we have races like the kind you described, then the whole mISDN >> design is broken. > > It's more a generic problem of the module code. It's a problem of not enough

Re: epoll and shared fd's

2008-02-26 Thread Bodo Eggert
Michael Kerrisk <[EMAIL PROTECTED]> wrote: > a) I did a > > s/internal kernel handle/open file description/ > > since that is the POSIX term for the internal handle. > > b) It seems to me that you text doesn't quite make the point explicit > enough. I've tried to rewrite it; could you please

Re: macro _set_base - "do - while(0)" question

2008-01-02 Thread Bodo Eggert
Abdel <[EMAIL PROTECTED]> wrote: > In file include/asm-i386/system.h, _set_base and _set_limit use an > useless do ... while(0) > > Why is this needed ? http://kernelnewbies.org/FAQ/DoWhile0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] Force UNIX domain sockets to be built in

2008-01-02 Thread Bodo Eggert
On Wed, 2 Jan 2008, Herbert Xu wrote: > Theodore Tso <[EMAIL PROTECTED]> wrote: > > The question is whether the size of the Unix domain sockets support is > > worth the complexity of yet another config option that we expose to > > the user. For the embedded world, OK, maybe they want to save 14k

Re: RAID timeout parameter accessibility request

2008-01-02 Thread Bodo Eggert
Thanasis <[EMAIL PROTECTED]> wrote: > on 12/31/2007 11:54 AM Jose de la Mancha wrote the following: >> --> All RAID edition drives are more expensive that their equivalent >> "desktop edition" drives (same model on "desktop edition"). Just take a look >> at newegg for instance. >>

Re: sleep before boot panic

2008-01-07 Thread Bodo Eggert
> always be available and can implement any behavior desired (like droping into > a dash). ACK, but that's your part. Introduce config CONFIG_SOFTPANIC Enabling this option changes a hard panic on boot errors to a soft panic, which does not stop the system completely. You can still scrol

Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.

2008-01-07 Thread Bodo Eggert
Christer Weinigel <[EMAIL PROTECTED]> wrote: > How do you find out the speed of the ISA bus? AFAIK there is no > standardized way to do that. On the Geode SC2200 the ISA bus speed is > usually the PCI clock divided by 4 giving 33MHz/4=8.3MHz or > 30/4=7.5MHz, but with no external ISA devices

Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.

2008-01-07 Thread Bodo Eggert
On Mon, 7 Jan 2008, H. Peter Anvin wrote: > Bodo Eggert wrote: > > Christer Weinigel <[EMAIL PROTECTED]> wrote: > > > How do you find out the speed of the ISA bus? AFAIK there is no > > > standardized way to do that. On the Geode SC2200 the ISA bus speed is &g

Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.

2008-01-07 Thread Bodo Eggert
On Mon, 7 Jan 2008, H. Peter Anvin wrote: > Bodo Eggert wrote: > > But overclocking is not the problem for udelay, it would err to the safe > > side. The problem would be a BUS having < 8 MHz, and since the days of > > 80286, they are hard to find. IMO having an opt

Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.

2008-01-08 Thread Bodo Eggert
On Tue, 8 Jan 2008, Rene Herman wrote: > On 08-01-08 00:24, H. Peter Anvin wrote: > > Rene Herman wrote: > > > Is this only about the ones then left for things like legacy PIC and PIT? > > > Does anyone care about just sticking in a udelay(2) (or 1) there as a > > > replacement and call it a day?

Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.

2008-01-08 Thread Bodo Eggert
On Mon, 7 Jan 2008, Alan Cox wrote: > > But overclocking is not the problem for udelay, it would err to the safe > > side. The problem would be a BUS having < 8 MHz, and since the days of > > 80286, they are hard to find. IMO having an option to set the bus speed > > for those systems should be

Re: sleep before boot panic

2008-01-08 Thread Bodo Eggert
On Mon, 7 Jan 2008, Pavel Machek wrote: > > Introduce config CONFIG_SOFTPANIC > > Enabling this option changes a hard panic on boot errors to a > > soft panic, which does not stop the system completely. > > You can still scroll the screen and read the messages. > >

Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.

2008-01-08 Thread Bodo Eggert
On Tue, 8 Jan 2008, Ondrej Zary wrote: > On Tuesday 08 January 2008 18:24:02 David P. Reed wrote: > > Windows these days does delays with timing loops or the scheduler. It > > doesn't use a "port". Also, Windows XP only supports machines that tend > > not to have timing problems that use

Re: The ext3 way of journalling

2008-01-08 Thread Bodo Eggert
Tuomo Valkonen <[EMAIL PROTECTED]> wrote: > On 2008-01-08, Jan Engelhardt <[EMAIL PROTECTED]> wrote: >> "Power users" may still >> use the index= option of sound card modules and wire it up in >> /etc/modprobe.d if they prefer. > > Another very cryptic directory whose contents say nothing to me.

Re: [RFD] Incremental fsck

2008-01-11 Thread Bodo Eggert
Al Boldi <[EMAIL PROTECTED]> wrote: > Even after a black-out shutdown, the corruption is pretty minimal, using > ext3fs at least. So let's take advantage of this fact and do an optimistic > fsck, to assure integrity per-dir, and assume no external corruption. Then > we release this checked dir

Re: [PATCH] Clustering indirect blocks in Ext3

2008-01-11 Thread Bodo Eggert
Abhishek Rai <[EMAIL PROTECTED]> wrote: > Putting metacluster at the end of the block group gives slightly > inferior sequential read throughput compared to putting it in the > beginning or the middle, but the difference is very tiny and exists > only for large files that span multiple block

Re: The ext3 way of journalling

2008-01-11 Thread Bodo Eggert
Matthias Schniedermeyer <[EMAIL PROTECTED]> wrote: >> > Don't use udev then. Good old static dev works fine if you have a fixed >> > set of devices. >> >> It doesn't, with the unpredictable SCSI mapping insanity. > > That what LABEL und UUID-Support in mount is for. > > You label the

Re: The ext3 way of journalling

2008-01-11 Thread Bodo Eggert
On Fri, 11 Jan 2008, Lennart Sorensen wrote: > On Fri, Jan 11, 2008 at 05:22:45PM +0100, Bodo Eggert wrote: > > What can happen if someone does tune2fs -Lroot /dev/usbstick > > and puts that stick into this system? > > Don't know. I use UUIDs rather than LABELs. Having dup

Re: [patch 2/2] 8250_pnp: register x86 COM ports at the conventional ttyS names

2008-01-16 Thread Bodo Eggert
Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > On Wednesday 16 January 2008 11:44:37 am H. Peter Anvin wrote: >> Bjorn Helgaas wrote: >> > +#ifdef CONFIG_X86 >> > + switch (port->iobase) { >> > + case 0x3f8: return 0; /* COM1 -> ttyS0 */ >> > + case 0x2f8: return 1; /* COM2 ->

Re: [PATCH] xen: relax signature check

2007-12-11 Thread Bodo Eggert
Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Some versions of Xen 3.x set their magic number to "xen-3.[12]", so > relax the test to match them. > - BUG_ON(memcmp(xen_start_info->magic, "xen-3.0", 7) != 0); > + BUG_ON(memcmp(xen_start_info->magic, "xen-3", 5) != 0); Not

Re: [PATCH] ide-core: remove conditional compiling with MODULE in ide-core.c

2008-02-02 Thread Bodo Eggert
Denis Cheng <[EMAIL PROTECTED]> wrote: > use module_init/module_exit to replace the original cond-compiling, these > macros were well designed to deal module/built-in compiling. > > the original __setup with null string was invalid and not executed, > __setup("", ide_setup); > > however, with

Re: [RFC] Parallelize IO for e2fsck

2008-01-24 Thread Bodo Eggert
Alan Cox <[EMAIL PROTECTED]> wrote: >> I'd tried to advocate SIGDANGER some years ago as well, but none of >> the kernel maintainers were interested. It definitely makes sense >> to have some sort of mechanism like this. At the time I first brought >> it up it was in conjunction with Netscape

Re: RFC: permit link(2) to work across --bind mounts ?

2007-12-20 Thread Bodo Eggert
On Wed, 19 Dec 2007, Al Viro wrote: > On Wed, Dec 19, 2007 at 02:43:26PM +0100, Bodo Eggert wrote: > > Since nobody knows about this "security boundary" and everybody knows about > > the annoying "can't link across bind-mountpoints bug", > > ... how

Re: Trying to convert old modules to newer kernels

2007-12-20 Thread Bodo Eggert
linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote: > On Thu, 20 Dec 2007, Sam Ravnborg wrote: >>> It never gets to the printk(). You were right about the >>> compilation. Somebody changed the kernel to compile with >>> parameter passing in REGISTERS! This means that EVERYTHING >>> needs to be

[PATCH] Get NUMLOCK from PC BIOS

2007-12-30 Thread Bodo Eggert
, the NUMLOCK status on Linus' famous laptop should be usable. --- I'd like some information about how this patch works non non-IBM-compatible x86 PCs. For now, I've documented the wordt possible outcome I can imagine. Signed-Off-By: Bodo Eggert <[EMAIL PROTECTED]> diff -pruN -X dontdiff

Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override

2007-12-30 Thread Bodo Eggert
Ingo Molnar <[EMAIL PROTECTED]> wrote: > do you have any memories about the outb_p() use of misc_32.c: > > pos = (x + cols * y) * 2; /* Update cursor position */ > outb_p(14, vidport); > outb_p(0xff & (pos >> 9), vidport+1); > outb_p(15, vidport); >

Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override

2007-12-30 Thread Bodo Eggert
On Sun, 30 Dec 2007, Ingo Molnar wrote: > * H. Peter Anvin <[EMAIL PROTECTED]> wrote: > > Ingo Molnar wrote: > >> * Bodo Eggert <[EMAIL PROTECTED]> wrote: > >>> BTW: The error function in linux-2.6.23/arch/i386/boot/compressed/misc.c > >>&

Re: Get physical MAC address

2007-12-31 Thread Bodo Eggert
Theewara Vorakosit <[EMAIL PROTECTED]> wrote: > I get MAC address from ioctl. However, ifconfig can change this MAC > address. Can I get a real physical MAC address of the NIC? First, get a network card having a physical MAC. Most cards have only a (currently configured) default MAC address,

[PATCH] Force UNIX domain sockets to be built in

2007-12-31 Thread Bodo Eggert
As suggested by Adrian Bunk, UNIX domain sockets should always be built in on normal systems. This is especially true since udev needs these sockets and fails to run if UNIX=m. Signed-Off-By: Bodo Eggert <[EMAIL PROTECTED]> --- Last minute change: I decided against making it a bool b

Bad escriptions in Kconfig

2007-12-31 Thread Bodo Eggert
In some of the Kconfig files, the options are not adequately decribed. I collected a few of the bad descriptions I found: --- Lowlevel video output switch controls (VIDEO_OUTPUT_CONTROL) [M/n/y/?] (NEW) ? This framework adds support for low-level control of the video output switch. --- - What

Re: [PATCH] Force UNIX domain sockets to be built in

2007-12-31 Thread Bodo Eggert
On Mon, 31 Dec 2007, Adrian Bunk wrote: > On Mon, Dec 31, 2007 at 01:09:43PM +0100, Bodo Eggert wrote: > > As suggested by Adrian Bunk, UNIX domain sockets should always be built in > > on normal systems. This is especially true since udev needs these sockets > > and f

Re: [PATCH] Force UNIX domain sockets to be built in

2007-12-31 Thread Bodo Eggert
On Mon, 31 Dec 2007, David Miller wrote: > From: Bodo Eggert <[EMAIL PROTECTED]> > > As suggested by Adrian Bunk, UNIX domain sockets should always be built in > > on normal systems. This is especially true since udev needs these sockets > > and fails to run if

Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override

2007-12-31 Thread Bodo Eggert
On Sun, 30 Dec 2007, Alan Cox wrote: > On Sun, 30 Dec 2007 12:53:02 -0800 > "H. Peter Anvin" <[EMAIL PROTECTED]> wrote: > > Bodo Eggert wrote: > > > I've never seen code which would do that, and it was not suggested by any > > > tutorial I ever saw

Re: [PATCH] Force UNIX domain sockets to be built in

2007-12-31 Thread Bodo Eggert
On Mon, 31 Dec 2007, Adrian Bunk wrote: > On Mon, Dec 31, 2007 at 02:26:42PM +0100, Bodo Eggert wrote: > > On Mon, 31 Dec 2007, Adrian Bunk wrote: > > > On Mon, Dec 31, 2007 at 01:09:43PM +0100, Bodo Eggert wrote: > > > > As suggested by Adrian Bunk, UNIX domain

Re: Bad escriptions in Kconfig

2007-12-31 Thread Bodo Eggert
On Mon, 31 Dec 2007, Douglas Gilbert wrote: > Matthew Wilcox wrote: > > On Mon, Dec 31, 2007 at 10:16:43AM -0500, Douglas Gilbert wrote: > >> Bodo Eggert wrote: (Kicking netdev from CC) > >>> --- > >>> SCSI target support (SCSI_TGT) [N/m/y/?] (NEW) ?

Re: [PATCH] Force UNIX domain sockets to be built in

2007-12-31 Thread Bodo Eggert
On Mon, 31 Dec 2007, Al Viro wrote: > On Mon, Dec 31, 2007 at 03:03:20PM +0100, Bodo Eggert wrote: > > On Mon, 31 Dec 2007, David Miller wrote: > > > From: Bodo Eggert <[EMAIL PROTECTED]> > > > > As suggested by Adrian Bunk, UNIX d

Re: [PATCH] Force UNIX domain sockets to be built in

2007-12-31 Thread Bodo Eggert
On Mon, 31 Dec 2007, David Miller wrote: > From: Bodo Eggert <[EMAIL PROTECTED]> > > The big question is: Is there any non-embedded system where you have > > to aim for a small kernel image? > > One some platforms, due to bootloader restrictions or whatever, > ther

Re: [PATCH] Introduce softpanic

2008-01-25 Thread Bodo Eggert
On Fri, 25 Jan 2008, Jan Engelhardt wrote: > On Jan 25 2008 15:54, Bodo Eggert wrote: > >+#ifdef SOFTPANIC > > #ifdef CONFIG_SOFTPANIC? Thanks. I remember having fixed it ... -- Professionals are predictable, it's the amateurs that are dangerous. -- To unsubscribe from this list

[PATCH] Introduce softpanic

2008-01-25 Thread Bodo Eggert
Enabling this option changes a hard panic on boot errors to a soft panic, which does not stop the system completely. You can still scroll the screen and read the messages. Signed-Off-By: Bodo Eggert <[EMAIL PROTECTED]> diff -pruN -X dontdiff linux-2.6.24.pure/include/linux/kernel.h linux-

Re: [PATCH] Introduce softpanic

2008-01-25 Thread Bodo Eggert
On Fri, 25 Jan 2008, Andi Kleen wrote: > Bodo Eggert <[EMAIL PROTECTED]> writes: > > Enabling this option changes a hard panic on boot errors to a > > soft panic, which does not stop the system completely. > > You can still scroll the screen and read the messages. >

Re: [PATCH] [14/18] BKL-removal: Add unlocked_fasync

2008-01-27 Thread Bodo Eggert
> +++ linux/fs/fcntl.c > @@ -240,11 +240,15 @@ static int setfl(int fd, struct file * f > > lock_kernel(); > if ((arg ^ filp->f_flags) & FASYNC) { > - if (filp->f_op && filp->f_op->fasync) { > + if (filp->f_op && filp->f_op->unlocked_fasync) > +

Re: [PATCH] [8/18] BKL-removal: Remove BKL from remote_llseek

2008-01-28 Thread Bodo Eggert
Trond Myklebust <[EMAIL PROTECTED]> wrote: > On Mon, 2008-01-28 at 05:38 +0100, Andi Kleen wrote: >> On Monday 28 January 2008 05:13:09 Trond Myklebust wrote: >> > On Mon, 2008-01-28 at 03:58 +0100, Andi Kleen wrote: >> > > The problem is that it's not a race in who gets to do its thing first, >>

[PATCH] Introduce softpanic V.2

2008-01-28 Thread Bodo Eggert
Enabling this option changes a hard panic on boot errors to a soft panic, which does not stop the system completely. You can still scroll the screen and read the messages. Signed-Off-By: Bodo Eggert <[EMAIL PROTECTED]> --- Fixed: s/SOFTPANIC/CONFIG_SOFTPANIC/ I did not implement shuttin

Re: [PATCH] Avoid buffer overflows in get_user_pages()

2008-02-12 Thread Bodo Eggert
Andrew Morton <[EMAIL PROTECTED]> wrote: > On Mon, 11 Feb 2008 16:17:33 -0700 Jonathan Corbet <[EMAIL PROTECTED]> wrote: >> Avoid buffer overflows in get_user_pages() >> >> So I spent a while pounding my head against my monitor trying to figure >> out the vmsplice() vulnerability - how could a

Re: Out of tree module using LSM

2007-12-03 Thread Bodo Eggert
Jon Masters <[EMAIL PROTECTED]> wrote: > On Thu, 2007-11-29 at 11:11 -0800, Ray Lee wrote: >> On Nov 29, 2007 10:56 AM, Jon Masters <[EMAIL PROTECTED]> wrote: >> > On Thu, 2007-11-29 at 10:40 -0800, Ray Lee wrote: >> > > On Nov 29, 2007 9:36 AM, Alan Cox <[EMAIL PROTECTED]> wrote: >> > > > >

<    2   3   4   5   6   7   8   >