Re: [PATCH] Single user linux

2001-04-27 Thread imel96
On Thu, 26 Apr 2001, John Cavan wrote: I think you have it backwards here, given that Linux works one way and you yeah, it was a patch for linux, but i wasn't thinking linux. there are quite many os out there. and i don't think they're different just because they have programmers with

Re: FPU and exceptions

2001-04-27 Thread Andreas Jaeger
Send me a small program (10s of lines) that shows the problem. Installing a signal handler on SIGFPE should do the right thing. Btw. I do think this is off-topic to linux-kernel, Andreas -- Andreas Jaeger SuSE Labs [EMAIL PROTECTED] private [EMAIL PROTECTED] http://www.suse.de/~aj -

oops in 2.4.3-ac14

2001-04-27 Thread poptix
(I'm on this list, so i'll see replies directed here.) FYI: ksymoops 2.4.0 on i686 2.4.3-ac14. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.3-ac14/ (default) -m /boot/System.map-2.4.3-ac14 (default) Warning: You did

Re: [PATCH] Single user linux

2001-04-27 Thread Albert D. Cahalan
[EMAIL PROTECTED] writes: i wrote somewhere that it was my mistake to call it single-user when i mean all user has the same root cap, and reduce user (account) to profile. Seen this way it makes a tad more sense: 1. you and your spouse share the computer 2. you have different shells, mail

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread Christoph Rohland
Hi Padraig, On Thu, 26 Apr 2001, Padraig Brady wrote: 2. Is tmpfs is basically swap and /tmp together in a ramdisk? The advantage being you need to reserve less RAM for both together than seperately? tmpfs is ramfs+swap+limits. It is not using ramdisks and is not related to them. 3.

gcc 2.95.2 and kernel 2.2.18

2001-04-27 Thread Nicholas Lentz
Is it safe for me to use gcc 2.95.2 (release, the one that is in slack 7.1 contrib) with kernel 2.2.18? I was just wondering because gcc 2.95.2 compiles programs that run much faster than egcs. Are there any known issues with 2.2.18 or higher and gcc 2.95.2? Please CC me directly in all

Re: Suggestion for module .init.{text,data} sections

2001-04-27 Thread Ingo Oeser
On Thu, Apr 26, 2001 at 09:49:05PM -0700, Adam J. Richter wrote: A while ago, on linux-kernel, we had a discussion about adding support for __initdata and __init in modules. Somebody (whose name escapes me) had implemented it by essentially adding a vmrealloc() facility in the kernel.

Re: Let init know user wants to shutdown [linux-power] [linux-pm-devel] [linux-kernel-mailing-list] [some-other-list]

2001-04-27 Thread David Woodhouse
[EMAIL PROTECTED] said: You can break the whole power management problem down to here are the levels of low-power provided by the hardware, here are the idleness triggers that may be monitored. That's it, nothing more. This is powerful enough to do all the things you could want a pm layer

Re: [PATCH] Single user linux

2001-04-27 Thread Helge Hafting
[EMAIL PROTECTED] wrote: i don't understand, that patch is configurable with 'n' as default, marked dangerous. so somebody who turned on that option must be know what he's doing, doesn't understand english, or has a broken monitor. This is a very marginal thing that very few people will want

Re: PATCH: trident , pci_enable_device moved

2001-04-27 Thread Eric W. Biederman
Jeff Garzik [EMAIL PROTECTED] writes: Andres Salomon wrote: This is what I was told (it was only needed for secondary video devices). From that, I would expect that all video devices would need it, just in case they happened to be the second card. Am I missing some subtlety in some of

kernel panic with 2.4.x and reiserfs

2001-04-27 Thread jason
Hello, As the subject would imply, I've been having problems with 2.4.x. I have my root partition (/dev/hda1) as reiserfs and also have another harddrive with a reiserfs partition (/dev/hdc1). Several programs write (e.g. save files to) /dev/hdc1, and I also store files there. Under 2.4.2,

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread David Woodhouse
[EMAIL PROTECTED] said: you could try using jffs2 on a RAM-simulated MTD partition. i think that would work but i have not tried it.. It works. Most of the early testing and development was done on it. It wouldn't give you dynamic sizing like ramfs though. It would be nice to have a

Re: devfs and /proc/ide/hda

2001-04-27 Thread Goswin Brederlow
== AJ Lewis [EMAIL PROTECTED] writes: On Wed, Feb 28, 2001 at 04:10:23PM +0100, Guest section DW wrote: On Wed, Feb 28, 2001 at 08:52:54PM +1100, Glenn McGrath wrote: Im running kernel 2.4.1, I have entries like /proc/ide/hda, /proc/ide/ide0/hda etc

Re: 2.4 and 2GB swap partition limit

2001-04-27 Thread Goswin Brederlow
== Rogier Wolff [EMAIL PROTECTED] writes: William T Wilson wrote: On Fri, 2 Mar 2001 [EMAIL PROTECTED] wrote: Linus has spoken, and 2.4.x now requires swap = 2x RAM. I think I missed this. What possible value does this have? (Not even Sun, the original

Resetting a PCI device

2001-04-27 Thread dave . fraser
Is there any way of issuing a PCI reset (safely) without rebooting? I am developing a peripheral device (using a pci card with an FPGA and a plx9080 pci interface), and find that its local bus is prone to hanging up. It would be nice if I could just reset the entire device via the PCI reset,

Re: #define HZ 1024 -- negative effects?

2001-04-27 Thread Mike Galbraith
I have not tried it, but I would think that setting HZ to 1024 should make a big improvement in responsiveness. Currently, the time slice allocated to a standard Linux process is 5*HZ, or 50ms when HZ is 100. That means that you will notice keystrokes being echoed slowly in X when

Re: PATCH for 2.4.3 - tinny mount code cleanup (kernel 0.97 compatibility)

2001-04-27 Thread Martin Dalecki
[EMAIL PROTECTED] wrote: From: Martin Dalecki [EMAIL PROTECTED] The attached patch is fixing georgeous backward compatibility in the mount system command. It is removing two useless defines in the kernel headers and finally doubles the number of possible flags for the

Re: Resetting a PCI device

2001-04-27 Thread Francois Romieu
[EMAIL PROTECTED] [EMAIL PROTECTED] ecrit : Is there any way of issuing a PCI reset (safely) without rebooting? I am No. [...] without having to go through the hassle of a reboot. Is this wishful thinking? Yes. Try to narrow the circunstances under which the device locks and avoid them at

Re: 2.2.19 NFSv3 client breaks fdopen(3)

2001-04-27 Thread Matthias Andree
On Thu, 26 Apr 2001, Trond Myklebust wrote: --- /mnt/3/linux-2.2.19/fs/nfs/dir.c Sun Mar 25 08:37:38 2001 +++ linux-2.2.19/fs/nfs/dir.c Thu Apr 5 14:37:59 2001 @@ -454,6 +454,9 @@ */ static loff_t nfs_dir_llseek(struct file *file, loff_t offset, int origin) { + /* Glibc 2.0

Re: Resetting a PCI device

2001-04-27 Thread Eric Pennamen
Why don't do a local RESET by writing in CNTRL register of the PLX9080 ? (PLX datasheet page 79 bit 29 and 28 for reset and reload eeprom config) [EMAIL PROTECTED] a écrit : Is there any way of issuing a PCI reset (safely) without rebooting? I am developing a peripheral device (using a pci

Re: 2.2.19 NFSv3 client breaks fdopen(3)

2001-04-27 Thread Trond Myklebust
== Matthias Andree [EMAIL PROTECTED] writes: On Thu, 26 Apr 2001, Trond Myklebust wrote: Please note that if glibc is checking this return value, it will still screw up if file-f_pos 0x7fff, which can and does happen against certain servers (particularly IRIX).

Re: Hashing and directories

2001-04-27 Thread Goswin Brederlow
== Pavel Machek [EMAIL PROTECTED] writes: Hi! I was hoping to point out that in real life, most systems that need to access large numbers of files are already designed to do some kind of hashing, or at least to divide-and-conquer by using multi-level directory

Re: 2.4 and 2GB swap partition limit

2001-04-27 Thread Xavier Bestel
Le 08 Mar 2001 14:05:25 +0100, Goswin Brederlow a écrit : I believe the 2xRAM rule comes from the OS's where ram was only buffer for the swap. So with 1xRAM you had a running system with 1xRAM memory, so nothing is gained by that much swap. I think kernels 2.4.x came back to this behavior.

Re: 2.4 and 2GB swap partition limit

2001-04-27 Thread Rogier Wolff
Xavier Bestel wrote: [Charset ISO-8859-1 unsupported, filtering to ASCII...] Le 08 Mar 2001 14:05:25 +0100, Goswin Brederlow a _crit : I believe the 2xRAM rule comes from the OS's where ram was only buffer for the swap. So with 1xRAM you had a running system with 1xRAM memory, so nothing

Re: About rebuild 2.4.x kernel to support SMP.

2001-04-27 Thread Johan Kullstam
[EMAIL PROTECTED] writes: On Thu, 26 Apr 2001, Yiping Chen wrote: So, I have two question now, 1. how to determine whether your kernel support SMP? Somebody taugh me that you can type uname -r, but it seems not correct. No, it's correct: the Red Hat RPM is build from the

[PATCH] allow PF_MEMALLOC tasks to directly reclaim pages

2001-04-27 Thread Marcelo Tosatti
Linus, Currently __alloc_pages() does not allow PF_MEMALLOC tasks to free clean inactive pages. This is senseless --- if the allocation has __GFP_WAIT set, its ok to grab the pagemap_lru_lock/pagecache_lock/etc. I checked all possible codepaths after reclaim_page() and they are ok. The

Cardbus conflicts...

2001-04-27 Thread Evan Montgomery-Recht
About 2 years ago, I bought a IBM 600E laptop with one of the IBM branded Xircom CardBUS cards. It took me about a month (with the help of a lot of people with simular machines) to figure out why the card would be recognized, and even connect to the network, but could never get a IP address from

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread mirabilos
tmpfs is basically ramfs with limits. ... and swappable. -hpa Hmmm and what's shmfs? Precedessor of tmpfs? I even cant remember which one I use for /tmp ;-) -mirabilos - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread mirabilos
you could try using jffs2 on a RAM-simulated MTD partition. i think that would work but i have not tried it.. It works. Most of the early testing and development was done on it. It wouldn't give you dynamic sizing like ramfs though. It would be nice to have a version of ramfs which

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Richard B. Johnson
On Thu, 26 Apr 2001, Alexander Viro wrote: On Thu, 26 Apr 2001, Richard B. Johnson wrote: The disk image, raw.bin, does NOT contain the image of the floppy. Most of boot stuff added by lilo is missing. It will eventually get there, but it's not there now, even though the floppy was

Re: filp_open() in 2.2.19 causes memory corruption

2001-04-27 Thread David Woodhouse
[EMAIL PROTECTED] said: I've gotten to the bottom of this problem, and you are correct that klog is trashing the messages file for the oops. Oh dear. That's quite a serious bug in klogd. It should never destroy the original information, _especially_ if the System.map it's looking at

RE: About rebuild 2.4.x kernel to support SMP.

2001-04-27 Thread Yiping Chen
I have a important question about compile driver here, sometimes we install RedHat Linux When you boot the system , it will not include the kernel source, if we don't have kernel source , whether can we compile the driver (NIC). I am confused, beacuse we need include many kernel header file, if

[RFC] Re: Ext2 Directory Index in page cache

2001-04-27 Thread Daniel Phillips
*Now* the patch is available at http://kernelnewbies.org/~phillips/htree/dx.testme-2.4.3-3 - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: init process in 2.2.19

2001-04-27 Thread Jesse Pollard
Subba Rao [EMAIL PROTECTED]: I am trying to add a process which is to be managed by init. I have added the following entry to /etc/inittab SV:2345:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service /dev/null 2 dev/console After saving, I execute the following

RE: About rebuild 2.4.x kernel to support SMP.

2001-04-27 Thread Feng Xian
when you install redhat linux, you can select to install the kernel-include and kernel-source but I think the kernel include files come with redhat7 (i am not sure about rh6) won't let you to compile a kernel module by using /usr/include/linux (they ask you to use /usr/src/linux-xxx) you can

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Vojtech Pavlik
On Thu, Apr 26, 2001 at 01:08:25PM -0700, Linus Torvalds wrote: On Thu, 26 Apr 2001, Alexander Viro wrote: On Thu, 26 Apr 2001, Andrea Arcangeli wrote: how can the read in progress see a branch that we didn't spliced yet? We fd = open(/dev/hda1, O_RDONLY); read(fd, buf,

Re: [PATCH] Single user linux

2001-04-27 Thread Robert Varga
On Wed, Apr 25, 2001 at 10:34:56AM +1000, Daniel Stone wrote: On Wed, Apr 25, 2001 at 01:16:03AM +0100, Alan Cox wrote: Quit being a naysayer. UNIX on a PDA is a wet dream. What real value does it have, apart from the geek look at me, I'm using bash value? It means I can do

Re: Suggestion for module .init.{text,data} sections

2001-04-27 Thread Brian Gerst
Ingo Oeser wrote: On Thu, Apr 26, 2001 at 09:49:05PM -0700, Adam J. Richter wrote: A while ago, on linux-kernel, we had a discussion about adding support for __initdata and __init in modules. Somebody (whose name escapes me) had implemented it by essentially adding a vmrealloc()

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-27 Thread Mike Galbraith
On Thu, 26 Apr 2001, Rik van Riel wrote: On Thu, 26 Apr 2001, Mike Galbraith wrote: No. It livelocked on me with almost all active pages exausted. Misspoke.. I didn't try the two mixed. Rik's patch livelocked me. Interesting. The semantics of my patch are practically the same

Re: BUG: USB/Reboot

2001-04-27 Thread Collectively Unconscious
On Tue, 24 Apr 2001, Alan Cox wrote: If USB is disabled on a server works MB reboots hang in 2.2.x In almost all cases a hang after Linux reboots the system and it not coming back to the BIOS is a BIOS bug. You can confirm this by asking the kernel to do a real bios reboot with the

Linux Cluster using shared scsi

2001-04-27 Thread Roets, Chris
Problem : install two Linux-system with a shared scsi-bus and storage on that shared bus. suppose : system one : SCSI ID 7 system two : SCSI ID 6 shared disk : SCSI ID 4 By default, you can mount the disk on both system. This is normal behavior, but may impose data corruption. To

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Alexander Viro
On Fri, 27 Apr 2001, Vojtech Pavlik wrote: Actually this is done quite often, even on mounted fs's: hdparm -t /dev/hda You would need either hdparm -t /dev/hdasomething or mounting the whole /dev/hda. Buffer cache for the disk is unrelated to buffer cache for parititions. - To

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-27 Thread Marcelo Tosatti
On Fri, 27 Apr 2001, Mike Galbraith wrote: On Thu, 26 Apr 2001, Rik van Riel wrote: On Thu, 26 Apr 2001, Mike Galbraith wrote: No. It livelocked on me with almost all active pages exausted. Misspoke.. I didn't try the two mixed. Rik's patch livelocked me.

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread Christoph Rohland
On Fri, 27 Apr 2001, [EMAIL PROTECTED] wrote: tmpfs is basically ramfs with limits. ... and swappable. -hpa Hmmm and what's shmfs? Precedessor of tmpfs? Yes. I even cant remember which one I use for /tmp ;-) You can mount tmpfs also with type shm for compatibility. Type shm will

Re: Alpha compile problem solved by Andrea (pte_alloc)

2001-04-27 Thread Andrea Arcangeli
On Fri, Apr 27, 2001 at 05:34:01AM +0200, Magnus Naeslund(f) wrote: Hello yesterday i installed redhat6.2 on our little alpha server over here. It's an Ruffian EV56 system, and a hand upgraded redhat to be able to cope with 2.4. I got an compile error that told me that pte_alloc was

Re: Lid support for ACPI

2001-04-27 Thread Pavel Machek
Hi! We already have lid support in the latest ACPI versions (not in the official kernel yet.) You can download this code from http://developer.intel.com/technology/iapc/acpi/downloads.htm . It'd be great if you could focus your testing and patches on this code base -- I think it's a lot

Re: capabilities carried over execve()

2001-04-27 Thread Pavel Machek
Hi! I am attempting to write an init replacement that is capability-smart. Though I'm pleased that prctl() lets me keep capabilities across a setreuid(), maintaining caps over execve() seems impossible to do right. I currently see a few options: - use the CLOEXEC-pipe hack that

Re: [patch] linux likes to kill bad inodes

2001-04-27 Thread Pavel Machek
Hi! I had a temporary disk failure (played with acpi too much). What happened was that disk was not able to do anything for five minutes or so. When disk recovered, linux happily overwrote all inodes it could not read while disk was down with zeros - massive disk corruption.

Re: [PATCH] Single user linux

2001-04-27 Thread Pavel Machek
Hi! Since when, did mobile phones == computers? read the news! i'm programming nokia 9210 with c++, is that computer enough? Aah. I see. Where was this? I never saw it. 9210 has qwerty keyboard. i bet if you programmed one, you'd wish you have posix interface. That may be

Re: kernel panic with 2.4.x and reiserfs

2001-04-27 Thread Chris Mason
On Friday, April 27, 2001 02:40:50 AM -0700 jason [EMAIL PROTECTED] wrote: [ ouch ] reiserfs_read_super: can't find reiserfs filesystem on dev 03:01 Invalid session # or type of track Kernel panic: VFS: Unable to mount root fs on 03:01 In case it's any help, I'm running Debian sid

Re: [PATCH] Single user linux

2001-04-27 Thread Daniel Stone
On Thu, Apr 26, 2001 at 09:35:45PM +0200, Pavel Machek wrote: Hi! Hola. read the news! i'm programming nokia 9210 with c++, is that computer enough? Aah. I see. Where was this? I never saw it. 9210 has qwerty keyboard. He said read the news. I've seen the 9110 and 9210's, I was

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Andi Kleen
On Thu, Apr 26, 2001 at 01:08:25PM -0700, Linus Torvalds wrote: Note that I think all these arguments are fairly bogus. Doing things like dump on a live filesystem is stupid and dangerous (in my opinion it is stupid and dangerous to use dump at _all_, but that's a whole 'nother discussion in

Can the kernel access /?

2001-04-27 Thread Matt
I'm writing a device driver for a DSP card that requires some software loaded onto the card for it to function, currently I'm copying the software to the /dev node and the driver is doing the magic in it's write() handler. Can the driver pull the file from the filesystem if I were to pass the

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Ville Herva
On Fri, Apr 27, 2001 at 09:23:57AM -0400, you [Alexander Viro] claimed: On Fri, 27 Apr 2001, Vojtech Pavlik wrote: Actually this is done quite often, even on mounted fs's: hdparm -t /dev/hda You would need either hdparm -t /dev/hdasomething or mounting the whole /dev/hda.

Re: [patch] linux likes to kill bad inodes

2001-04-27 Thread Chris Mason
On Friday, April 27, 2001 12:28:54 AM +0200 Pavel Machek [EMAIL PROTECTED] wrote: Okay, so what about following patch, followed by attempt to debug it? [I'd really like to get patch it; killing user's data without good reason seems evil to me, and this did quite a lot of damage to my

agenda vtech helio [was Re: [PATCH] Single user linux]

2001-04-27 Thread Pavel Machek
Hi! And UNIX on a phone is pure overkill. Quit being a naysayer. UNIX on a PDA is a wet dream. http://www.agendacomputing.com/ (not that the reviews have been very kind) Nor has an official product been released. Reviewing hardware and software in open development model before it is

Re: [PATCH] Single user linux

2001-04-27 Thread Pavel Machek
Hi! What real value does it have, apart from the geek look at me, I'm using bash value? I don't really want to get into it at the moment, but imagine hacking netfilter without lugging a laptop around. PDA's are sleek and cool, and using UNIX on them lets you write shell scripts to

Re: Alpha compile problem solved by Andrea (pte_alloc)

2001-04-27 Thread Magnus Naeslund\(f\)
From: Andrea Arcangeli [EMAIL PROTECTED] [snip] Is there any other patches you recommend me to apply to my kernel? specifically for the alpha (but of course ok for x86 kernels too) in order against pre7: ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.4pre

Re: [PATCH] Single user linux

2001-04-27 Thread Pavel Machek
Hi! OK. time make bzImage. Of course, mine's really slow (and I will consider myself publically humiliated if my only Linux machine is beaten on a kernel compile by an iPAQ). I 'spose, if it only goes into suspend, the ability to write uptime on it constitutes a walking penis extension

Re: #define HZ 1024 -- negative effects?

2001-04-27 Thread Dan Mann
When you change the #define HZ setting in param.h, what effect does that have on the CLOCKS_PER_SEC? Are you really going to get a different amount of slice time or is the is there another kernel source file (timex.h) that just puts you back anyway? Dan - Original Message - From: Mike

Re: Can the kernel access /?

2001-04-27 Thread Xavier Bestel
Le 27 Apr 2001 15:28:04 +0100, Matt a écrit : I'm writing a device driver for a DSP card that requires some software loaded onto the card for it to function, currently I'm copying the software to the /dev node and the driver is doing the magic in it's write() handler. Can the driver pull

Re: agenda vtech helio [was Re: [PATCH] Single user linux]

2001-04-27 Thread sigint
Pavel Machek [EMAIL PROTECTED] sez: available for download? [Besides, anyone knows of vtech helio emulator for linux? Only version I saw was windows...] http://www.kernelconcepts.de/helio/helio-emulator-1.0.6b.tar.gz Works slowly, but okay. Your X server must be set to 15 or 16bpp. - To

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread Padraig Brady
Thanks for all the replies! Would anyone have any objections to me writing a Documentation/ramdisks.txt or Documentation/filesystems/ram.txt as this stuff is very hard to find info on? Anyway seems like ramfs is the way to go with the limits patch applied. I loose compression, but gain as

Re: kernel panic with 2.4.x and reiserfs

2001-04-27 Thread Tony Hoyle
jason wrote: Hello, As the subject would imply, I've been having problems with 2.4.x. I have my root partition (/dev/hda1) as reiserfs and also have another harddrive with a reiserfs partition (/dev/hdc1). Several programs write (e.g. save files to) /dev/hdc1, and I also store files

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread Christoph Rohland
Hi Padraig, On Fri, 27 Apr 2001, Padraig Brady wrote: I don't have swap so don't need tmpfs, but could probably use it anyway without a backing store? Yes, it does not need backing store. Anyway why was ramfs created if tmpfs existed, unless tmpfs requires backing store? They both seem

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread Bjorn Wesen
On Fri, 27 Apr 2001, Padraig Brady wrote: for a partition. If I understand correctly ramfs just points to the file data which are pages in the cache marked not to be It does not even do that - as of 2.4, the VFS in the kernel also knows how to cache a filestructure itself. It's in the

Re: init process in 2.2.19

2001-04-27 Thread Russell King
On Thu, Apr 26, 2001 at 05:30:16PM +, Subba Rao wrote: I am trying to add a process which is to be managed by init. I have added the following entry to /etc/inittab SV:2345:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service /dev/null 2 dev/console After saving,

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread David Woodhouse
[EMAIL PROTECTED] said: btw I get my initial root filesystem from a compact flash that can be accessed just like a hardisk. It's writeable also like a harddisk, but we boot with it readonly, and only mount it rw if we want to save config or whatever. We definitely wouldn't swap to it as it

O_DIRECT support in 2.4.4?

2001-04-27 Thread Michael Susæg
We have tested the rawio and o_direct patches from Andrea Arcangeli with great success, and wondered if they will be part of the next kernel release, 2.4.4? So far we have tested these patches on four different systems. With the latest versions of these patches (rawio-6, o_direct-3) all

Re: kernel panic with 2.4.x and reiserfs

2001-04-27 Thread Chris Mason
On Friday, April 27, 2001 04:33:15 PM +0100 Tony Hoyle [EMAIL PROTECTED] wrote: Reiserfs doesn't cope well with crashes Under 2.4 I wouldn't recommend using it on any kind of critical server - it seems to progressively corrupt itself (I'm looking at the second reformat and reinstall

Where did this patch come from?

2001-04-27 Thread peck, william
I was wondering if anyone could tell me who is responsible for the patch I have included? It fixes some issues with scanning the scsi bus, specifically it reports luns higher than 8. I am just wondering if whoever has created this if they have submitted it to be included in the mainstream 2.2.x

2.4.4-pre8 undefined symbols

2001-04-27 Thread Jeff Chua
depmod -ae yields the following errors under 2.4.4-pre8 Any fix? depmod: *** Unresolved symbols in /lib/modules/2.4.4-pre8/kernel/drivers/char/drm/i810.o depmod: rwsem_down_write_failed depmod: rwsem_wake depmod: *** Unresolved symbols in

Re: devfs and /proc/ide/hda

2001-04-27 Thread AJ Lewis
On Thu, Mar 08, 2001 at 01:32:03PM +0100, Goswin Brederlow wrote: What it should do is change based on whether devfs is mounted or not. It doesn't make *any* sense to have /dev/ide/host0/foo/bar in your /proc/partitions entries if you aren't mounting devfs. The

Re: Hashing and directories

2001-04-27 Thread Daniel Phillips
On Thursday 08 March 2001 13:42, Goswin Brederlow wrote: == Pavel Machek [EMAIL PROTECTED] writes: Hi! I was hoping to point out that in real life, most systems that need to access large numbers of files are already designed to do some kind of hashing, or at

Re: devfs and /proc/ide/hda

2001-04-27 Thread Richard Gooch
AJ Lewis writes: --CblX+4bnyfN0pR09 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 08, 2001 at 01:32:03PM +0100, Goswin Brederlow wrote: What it should do is change based on whether devfs is mounted

FD in Kernel 2.4.x

2001-04-27 Thread Federico Edelman Anaya
Hi! I am newbie in this list! .. I'm Federico Edelman Anaya ... well! .. I have a question ... I need increase the FD (File Descriptors) ... I was change the value of the FD in kernel 2.2.17: /usr/include/bits/types.h: #define __FD_SETSIZE1024- 4096

RE: 2.4.4-pre8 undefined symbols

2001-04-27 Thread Michel Wilson
I think Andrea's rwsem-patches fix these, but i'm not sure. You might give it a try, though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Chua Sent: Friday, April 27, 2001 18:11 To: Linux Kernel Cc: Jeff Chua Subject: 2.4.4-pre8 undefined

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Linus Torvalds
On Fri, 27 Apr 2001, Vojtech Pavlik wrote: Actually this is done quite often, even on mounted fs's: hdparm -t /dev/hda Note that this one happens to be ok. The buffer cache is virtual in the sense that /dev/hda is a completely separate name-space from /dev/hda1, even if there is some

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread Padraig Brady
David Woodhouse wrote: [EMAIL PROTECTED] said: btw I get my initial root filesystem from a compact flash that can be accessed just like a hardisk. It's writeable also like a harddisk, but we boot with it readonly, and only mount it rw if we want to save config or whatever. We

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Linus Torvalds
[ linux-kernel added back as a cc ] On Fri, 27 Apr 2001, Neil Conway wrote: I'm surprised that dump is deprecated (by you at least ;-)). What to use instead for backups on machines that can't umount disks regularly? Note that dump simply won't work reliably at all even in 2.4.x: the

Re: FD in Kernel 2.4.x

2001-04-27 Thread Dan Kegel
How can I increase the FD in the Kernel 2.4.3? echo 32768 /proc/sys/fs/file-max See also http://www.kegel.com/c10k.html#limits.filehandles - Dan - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: Lid support for ACPI

2001-04-27 Thread Michael K. Johnson
PS: This seems very strange. What if machine is so crashed so that it can no longer shutdown properly. Will that mean that its CPU will damage itself? No, the ACPI standard requires CPUs to shut themselves down before any damage would occur from overheading. Well, at least the 1.0b version of

Seagate ST340824A and (un)clipping max LBA: 2.2.19+ide04092001 patch

2001-04-27 Thread Alexander Stavitsky
Disk capacity unclipping routines in ide.2.2.19.04092001.patch do not unclip Seagate ST340824A. I have to use the jumper on the drive to make system boot. I tried setmax program and it is able to unclip the capacity, kernel however does not. I digged a little and I think the problem is that

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Martin Dalecki
Linus Torvalds wrote: Dump was a stupid program in the first place. Leave it behind. Not quite Linus - dump/restore are nice tools to create for example automatic over network installation servers, i.e. efficient system images or such. tar/cpio and friends don't deal properly with a. holes

Re: FD in Kernel 2.4.x

2001-04-27 Thread Federico Edelman Anaya
# ./dklimits 1 Can open 1020 AF_LOCAL sockets with socketpair Can open 0 AF_INET sockets with socketpair Can open 1021 fds Can open 1021 files Can poll 1025 sockets Can bind 1021 ephemeral ports Dan Kegel wrote: Federico Edelman Anaya wrote: Yeah .. I put in /etc/sysctl.conf

Negative values of cat /proc/sys/fs/inode-nr

2001-04-27 Thread Ingo Oeser
Hi Alan, Hi linux-kernel, I just saw, that cat /proc/sys/fs/inode-nr gives negative values for the second part. 559 -211555 or 174805 -3 I'm using 2.4.3-ac13. I see this both on SMP and non-SMP, HIGHMEM and non-HIGHMEM, if that matters. The first value for the second example

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Jeff Garzik
Linus Torvalds wrote: On Fri, 27 Apr 2001, Neil Conway wrote: I'm surprised that dump is deprecated (by you at least ;-)). What to use instead for backups on machines that can't umount disks regularly? Note that dump simply won't work reliably at all even in 2.4.x: the buffer cache

ide.2.2.19.04092001.patch + VIA82CXXX (Abit VP6)

2001-04-27 Thread William Park
I have Abit VP6 (VIA 82c694x, 82c686b) running 2.2.19 and ide.2.2.19.04092001.patch. When I enable VIA82CXXX chipset support (EXPERIMENTAL) -- CONFIG_BLK_DEV_VIA82CXXX my machine hangs, Uniform Multi-Platform E-IDE driver Revision: 6.30 ide: Assuming 33MHz system bus speed for PIO

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-27 Thread Mike Galbraith
On Thu, 26 Apr 2001, Linus Torvalds wrote: Have you looked at free_pte()? I don't like that function, and it might make a difference. There are several small nits with it: snip I _think_ the logic should be something along the lines of: freeing the page amounts to a implied down-aging of

Re: 2.4.4-pre7 build failure w/ IP NAT and ipchains

2001-04-27 Thread Andrzej Krzysztofowicz
Matthias Andree wrote: On Fri, 27 Apr 2001, David S. Miller wrote: Your configuration seems impossible, somehow the config system allowed you to set CONFIG_IP_NF_COMPAT_IPCHAINS without setting CONFIG_IP_NF_CONNTRACK. Just quick look at net/ipv4/netfilter/Config.in explains everything: :

Re: Cardbus conflicts...

2001-04-27 Thread Jeff Garzik
Evan Montgomery-Recht wrote: About 2 years ago, I bought a IBM 600E laptop with one of the IBM branded Xircom CardBUS cards. It took me about a month (with the help of a lot of people with simular machines) to figure out why the card would be recognized, and even connect to the network,

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread LA Walsh
Andrzej Krzysztofowicz wrote: I know a few people that often do: dd if=/dev/hda1 of=/dev/hdc1 e2fsck /dev/hdc1 to make an exact copy of a currently working system. --- Presumably this isn't a problem is the source disks are either unmounted or mounted 'read-only' ? -- The above

preset performance options in make config

2001-04-27 Thread Dan Mann
I was wondering if having a make config option with 3 or 4 choices for general performance settings would be an option for the kernel? Like maybe the first question would read something like: Configure Preset Performance Options? (Y/N) Y Configure as Database Server (Y/N) N

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread dek_ml
On Fri, Apr 27, 2001 at 11:02:17AM -0700, LA Walsh wrote: Andrzej Krzysztofowicz wrote: I know a few people that often do: dd if=/dev/hda1 of=/dev/hdc1 e2fsck /dev/hdc1 to make an exact copy of a currently working system. --- Presumably this isn't a problem is the source

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread mirabilos
btw I get my initial root filesystem from a compact flash that can be accessed just like a hardisk. It's writeable also like a harddisk, but we boot with it readonly, and only mount it rw if we want to save config or whatever. We definitely wouldn't swap to it as it has limited

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-27 Thread Rik van Riel
On Fri, 27 Apr 2001, Mike Galbraith wrote: virgin pre7 +Rik real11m44.088s user7m57.720s sys 0m36.420s None of them make much difference. Good, then I suppose we can put in the cleanup from my code, since it makes the balancing a bit more predictable and should keep the

Re: [PATCH] Single user linux

2001-04-27 Thread Erik Mouw
On Thu, Apr 26, 2001 at 09:41:13PM +0200, Pavel Machek wrote: When I first started I compiled my linux kernels on a 386 dx with 8 mb ram heh. I think a lot of the current PDAs are faster. My pocket computer is 40MHz mips r3902, likely faster than your 386dx. That's 3 years old. Anything

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Shane Wegner
On Fri, Apr 27, 2001 at 09:52:19AM -0700, Linus Torvalds wrote: On Fri, 27 Apr 2001, Vojtech Pavlik wrote: Actually this is done quite often, even on mounted fs's: hdparm -t /dev/hda Note that this one happens to be ok. The buffer cache is virtual in the sense that /dev/hda is

Re: #define HZ 1024 -- negative effects?

2001-04-27 Thread Nigel Gamble
On Fri, 27 Apr 2001, Mike Galbraith wrote: Rubbish. Whenever a higher-priority thread than the current thread becomes runnable the current thread will get preempted, regardless of whether its timeslices is over or not. What about SCHED_YIELD and allocating during vm stress times? Say

sched.h problem with kernel 2.4.3

2001-04-27 Thread Shaw Carruthers
I have just tried to upgrade to kernel 2.4.3 and my home grown modules won't compile e.g: The offending line 27 is: #include linux/sched.h Could some kind kernel guru point to a source which explains the error of my ways? In file included from lm78.c:13:

  1   2   3   4   >