Re: max sizes for files and file systems

2001-07-05 Thread Albert D. Cahalan
Derek Vadala writes: > It's clear that under 2.4, the kernel imposes a limit of 2TB as the > maximum file size and that some portion of the kernels before 2.4 had a > limit of 2GB. > > However, it's not clear to me when the file size limit was increased, or > what the maximum file system sizes

Re: [PATCH] more SAK stuff

2001-07-05 Thread Albert D. Cahalan
Rob Landley writes: > Off the top of my head, fun things you can't do suid root: ... > ps (What the...? Worked in Red Hat 7, but not in suse 7.1. > Huh? "suid-to apache ps ax" works fine, though...) The ps command used to require setuid root. People would set the bit by habit. > I keep

Re: [OT] Re: LILO calling modprobe?

2001-07-05 Thread Albert D. Cahalan
Wakko Warner writes: > I believe there is. It wants to find what drive is bios drive 80h. Really > annoying since there's no way (correct me if I'm wrong) to read bios from > linux. If there is, lilo should do that. But since it's an old copy, this > probably was fixed. > > I had a machine

Re: [OT] Re: LILO calling modprobe?

2001-07-05 Thread Albert D. Cahalan
Wakko Warner writes: I believe there is. It wants to find what drive is bios drive 80h. Really annoying since there's no way (correct me if I'm wrong) to read bios from linux. If there is, lilo should do that. But since it's an old copy, this probably was fixed. I had a machine at work

Re: [PATCH] more SAK stuff

2001-07-05 Thread Albert D. Cahalan
Rob Landley writes: Off the top of my head, fun things you can't do suid root: ... ps (What the...? Worked in Red Hat 7, but not in suse 7.1. Huh? suid-to apache ps ax works fine, though...) The ps command used to require setuid root. People would set the bit by habit. I keep bumping

Re: max sizes for files and file systems

2001-07-05 Thread Albert D. Cahalan
Derek Vadala writes: It's clear that under 2.4, the kernel imposes a limit of 2TB as the maximum file size and that some portion of the kernels before 2.4 had a limit of 2GB. However, it's not clear to me when the file size limit was increased, or what the maximum file system sizes under

Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]

2001-06-29 Thread Albert D. Cahalan
> Almost always ? > It seems like gcc is THE ONLY program which gets > signal 11 > Why the X server doesn't get signal 11 ? > Why others programs don't get signal 11 ? ... > Some time ago I installed Linux (Redhat 6.0) on my > pc (Cx486 8M RAM) and gcc had a lot of signal 11 (a > couple every

Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]

2001-06-29 Thread Albert D. Cahalan
Almost always ? It seems like gcc is THE ONLY program which gets signal 11 Why the X server doesn't get signal 11 ? Why others programs don't get signal 11 ? ... Some time ago I installed Linux (Redhat 6.0) on my pc (Cx486 8M RAM) and gcc had a lot of signal 11 (a couple every hour) I

Re: [PATCH] User chroot

2001-06-28 Thread Albert D. Cahalan
Sean Hunter writes: > On Wed, Jun 27, 2001 at 04:55:56PM -0400, Albert D. Cahalan wrote: >> ln /dev/zero /tmp/zero >> ln /dev/hda ~/hda >> ln /dev/mem /var/tmp/README > > None of these (of course) work if you use mount options to > restrict device nodes on those fi

Re: [PATCH] User chroot

2001-06-28 Thread Albert D. Cahalan
Sean Hunter writes: On Wed, Jun 27, 2001 at 04:55:56PM -0400, Albert D. Cahalan wrote: ln /dev/zero /tmp/zero ln /dev/hda ~/hda ln /dev/mem /var/tmp/README None of these (of course) work if you use mount options to restrict device nodes on those filesystems. In which case, you can't boot

Re: [PATCH] User chroot

2001-06-27 Thread Albert D. Cahalan
H. Peter Anvin writes: > "Albert D. Cahalan" wrote: >> BTW, it is way wrong that /dev/zero should be needed at all. >> Such use is undocumented ("man zero", "man mmap") anyway, and >> AFAIK one should use mmap() with MAP_ANON instead. Not that

Re: [PATCH] User chroot

2001-06-27 Thread Albert D. Cahalan
H. Peter Anvin writes: > Albert D. Cahalan wrote: >> Normal users can use an environment provided for them. >> >> While trying to figure out why the "heyu" program would not >> work on a Red Hat box, I did just this. As root I set up all >> the

Re: [PATCH] User chroot

2001-06-27 Thread Albert D. Cahalan
H. Peter Anvin writes: Albert D. Cahalan wrote: Normal users can use an environment provided for them. While trying to figure out why the heyu program would not work on a Red Hat box, I did just this. As root I set up all the device files needed, along Debian libraries and the heyu

Re: [PATCH] User chroot

2001-06-27 Thread Albert D. Cahalan
H. Peter Anvin writes: Albert D. Cahalan wrote: BTW, it is way wrong that /dev/zero should be needed at all. Such use is undocumented (man zero, man mmap) anyway, and AFAIK one should use mmap() with MAP_ANON instead. Not that the documentation on MAP_ANON is any good either, but at least

Re: [PATCH] User chroot

2001-06-26 Thread Albert D. Cahalan
H. Peter Anvin writes: > [somebody] >> Have you ever wondered why normal users are not allowed to chroot? >> >> I have. The reasons I can figure out are: >> >> * Changing root makes it trivial to trick suid/sgid binaries to do >> nasty things. >> >> * If root calls chroot and changes uid, he

Re: EXT2 Filesystem permissions (bug)?

2001-06-26 Thread Albert D. Cahalan
Kenneth Johansson writes: > Do linux even support the sticky bit (t) I can't see a reason > to use it, why would I want the file to be stored in the swap ?? It is not currently supported. Swapping out executables would be very nice when using an NFS or CD-ROM filesystem, because swap space is

Re: EXT2 Filesystem permissions (bug)?

2001-06-26 Thread Albert D. Cahalan
Kenneth Johansson writes: Do linux even support the sticky bit (t) I can't see a reason to use it, why would I want the file to be stored in the swap ?? It is not currently supported. Swapping out executables would be very nice when using an NFS or CD-ROM filesystem, because swap space is

Re: [PATCH] User chroot

2001-06-26 Thread Albert D. Cahalan
H. Peter Anvin writes: [somebody] Have you ever wondered why normal users are not allowed to chroot? I have. The reasons I can figure out are: * Changing root makes it trivial to trick suid/sgid binaries to do nasty things. * If root calls chroot and changes uid, he expects that the

Re: FAT32 superiority over ext2 :-)

2001-06-24 Thread Albert D. Cahalan
Daniel Phillips writes: > On Monday 25 June 2001 00:54, Albert D. Cahalan wrote: >> By dumb luck (?), FAT32 is compatible with the phase-tree algorithm >> as seen in Tux2. This means it offers full data integrity. >> Yep, it whips your typical journalling filesystem. Lo

FAT32 superiority over ext2 :-)

2001-06-24 Thread Albert D. Cahalan
By dumb luck (?), FAT32 is compatible with the phase-tree algorithm as seen in Tux2. This means it offers full data integrity. Yep, it whips your typical journalling filesystem. Look at what we have in the superblock (boot sector): __u32 fat32_length; /* sectors/FAT */ __u16 flags;

FAT32 superiority over ext2 :-)

2001-06-24 Thread Albert D. Cahalan
By dumb luck (?), FAT32 is compatible with the phase-tree algorithm as seen in Tux2. This means it offers full data integrity. Yep, it whips your typical journalling filesystem. Look at what we have in the superblock (boot sector): __u32 fat32_length; /* sectors/FAT */ __u16 flags;

Re: FAT32 superiority over ext2 :-)

2001-06-24 Thread Albert D. Cahalan
Daniel Phillips writes: On Monday 25 June 2001 00:54, Albert D. Cahalan wrote: By dumb luck (?), FAT32 is compatible with the phase-tree algorithm as seen in Tux2. This means it offers full data integrity. Yep, it whips your typical journalling filesystem. Look at what we have

Re: Shared memory quantity not being reflected by /proc/meminfo

2001-06-23 Thread Albert D. Cahalan
Allan Duncan writes: > Since the 2.4.x advent of shm as tmpfs or thereabouts, > /proc/meminfo shows shared memory as 0. It is in > reality not zero, and is being allocated, and shows > up in /proc/sysvipc/shm and /proc/sys/kernel/shmall > etc.. > Neither 2.4.6-pre5 nor 2.4.5-ac17 have the

Re: Shared memory quantity not being reflected by /proc/meminfo

2001-06-23 Thread Albert D. Cahalan
Allan Duncan writes: Since the 2.4.x advent of shm as tmpfs or thereabouts, /proc/meminfo shows shared memory as 0. It is in reality not zero, and is being allocated, and shows up in /proc/sysvipc/shm and /proc/sys/kernel/shmall etc.. Neither 2.4.6-pre5 nor 2.4.5-ac17 have the correct

Re: For comment: draft BIOS use document for the kernel

2001-06-22 Thread Albert D. Cahalan
Alan Cox writes: > [somebody] >> I could not find any reference to BIOS int 0x15, function 0x87, >> block-move, used to copy the kernel to above the 1 megabyte >> real-mode boundary. I think this is still used. > > I dont think the kernel has ever used it. The path has always been to > enter

Re: For comment: draft BIOS use document for the kernel

2001-06-22 Thread Albert D. Cahalan
Alan Cox writes: [somebody] I could not find any reference to BIOS int 0x15, function 0x87, block-move, used to copy the kernel to above the 1 megabyte real-mode boundary. I think this is still used. I dont think the kernel has ever used it. The path has always been to enter 32bit mode

Re: [RFC][PATCH] cutting up struct kernel_stat into cpu_stat

2001-06-21 Thread Albert D. Cahalan
Zach Brown writes: > The attached patch-in-progress removes the per-cpu statistics from > struct kernel_stat and puts them in a cpu_stat structure, one per cpu, > cacheline padded. The data is still coolated and presented through > /proc/stat, but another file /proc/cpustat is also added. The

Re: [OT] Threads, inelegance, and Java

2001-06-21 Thread Albert D. Cahalan
Rob Landley writes: > On Wednesday 20 June 2001 15:53, Martin Dalecki wrote: >> Mike Harrold wrote: >> super computing, hmm what about some PowerPC CPU variant - they very >> compettetiv in terms of cost and FPU performance! Transmeta isn't the >> adequate choice here. > > You honestly think you

Re: [OT] Threads, inelegance, and Java

2001-06-21 Thread Albert D. Cahalan
Rob Landley writes: On Wednesday 20 June 2001 15:53, Martin Dalecki wrote: Mike Harrold wrote: super computing, hmm what about some PowerPC CPU variant - they very compettetiv in terms of cost and FPU performance! Transmeta isn't the adequate choice here. You honestly think you can fit

Re: [RFC][PATCH] cutting up struct kernel_stat into cpu_stat

2001-06-21 Thread Albert D. Cahalan
Zach Brown writes: The attached patch-in-progress removes the per-cpu statistics from struct kernel_stat and puts them in a cpu_stat structure, one per cpu, cacheline padded. The data is still coolated and presented through /proc/stat, but another file /proc/cpustat is also added. The

Re: Alan Cox quote? (was: Re: accounting for threads)

2001-06-20 Thread Albert D. Cahalan
Rob Landley writes: > My only real gripe with Linux's threads right now [...] is > that ps and top and such aren't thread aware and don't group them > right. > > I'm told they added some kind of "threadgroup" field to processes > that allows top and ps and such to get the display right. I

Re: Alan Cox quote? (was: Re: accounting for threads)

2001-06-20 Thread Albert D. Cahalan
Rob Landley writes: My only real gripe with Linux's threads right now [...] is that ps and top and such aren't thread aware and don't group them right. I'm told they added some kind of threadgroup field to processes that allows top and ps and such to get the display right. I haven't

Re: very strange (semi-)lockups in 2.4.5

2001-06-18 Thread Albert D. Cahalan
Pozsar Balazs writes: > I'm having ~2 lockups a day. The following happens: > If I was under X, i only can use the magic-key, but no other keyboard (eg > numlock) or mouse response, the screen freezes, processes stop. > If i was using textmode: > numlock still works > cursor blinks >

Re: very strange (semi-)lockups in 2.4.5

2001-06-18 Thread Albert D. Cahalan
Pozsar Balazs writes: I'm having ~2 lockups a day. The following happens: If I was under X, i only can use the magic-key, but no other keyboard (eg numlock) or mouse response, the screen freezes, processes stop. If i was using textmode: numlock still works cursor blinks processess

Re: [patch] nonblinking VGA block cursor

2001-06-15 Thread Albert D. Cahalan
Daniel Phillips writes: > On Friday 15 June 2001 21:21, Albert D. Cahalan wrote: >> Non-blinking cursors are just wrong. You need to patch your brain. >> You really fucked up, because now apps can't restore your cursor >> to proper behavior as defined by IBM. > > Ju

Re: [patch] nonblinking VGA block cursor

2001-06-15 Thread Albert D. Cahalan
Leon Breedt writes: > Attached is a patch to enforce a non-blinking, FreeBSD-syscons like > block cursor in console mode. > > This is useful for laptop types, or people like me who really really > detest a blinking cursor. > > NOTE: It disables the softcursor escape codes >

Re: Client receives TCP packets but does not ACK

2001-06-15 Thread Albert D. Cahalan
Mike Black writes: > I'm concerned that you're probably just overruning your IP stack: ... > TCP is NOT a guaranteed protocol -- you can't just blast data from one port > to another and expect it to work. Yes you can. This is why we have TCP in fact. > a tcp-write is NOT guaranteed -- and as

Re: Client receives TCP packets but does not ACK

2001-06-15 Thread Albert D. Cahalan
Mike Black writes: I'm concerned that you're probably just overruning your IP stack: ... TCP is NOT a guaranteed protocol -- you can't just blast data from one port to another and expect it to work. Yes you can. This is why we have TCP in fact. a tcp-write is NOT guaranteed -- and as

Re: [patch] nonblinking VGA block cursor

2001-06-15 Thread Albert D. Cahalan
Leon Breedt writes: Attached is a patch to enforce a non-blinking, FreeBSD-syscons like block cursor in console mode. This is useful for laptop types, or people like me who really really detest a blinking cursor. NOTE: It disables the softcursor escape codes

Re: [patch] nonblinking VGA block cursor

2001-06-15 Thread Albert D. Cahalan
Daniel Phillips writes: On Friday 15 June 2001 21:21, Albert D. Cahalan wrote: Non-blinking cursors are just wrong. You need to patch your brain. You really fucked up, because now apps can't restore your cursor to proper behavior as defined by IBM. Just one question Albert: why doesn't my

Re: Going beyond 256 PCI buses

2001-06-14 Thread Albert D. Cahalan
David S. Miller writes: > Jeff Garzik writes: >> According to the PCI spec it is -impossible- to have more than 256 >> buses on a single "hose", so you simply have to implement multiple >> hoses, just like Alpha (and Sparc64?) already do. That's how the >> hardware is forced to implement it...

Re: Going beyond 256 PCI buses

2001-06-14 Thread Albert D. Cahalan
David S. Miller writes: Jeff Garzik writes: According to the PCI spec it is -impossible- to have more than 256 buses on a single hose, so you simply have to implement multiple hoses, just like Alpha (and Sparc64?) already do. That's how the hardware is forced to implement it... Right,

Re: Going beyond 256 PCI buses

2001-06-13 Thread Albert D. Cahalan
Tom Gall writes: > I was wondering if there are any other folks out there like me who > have the 256 PCI bus limit looking at them straight in the face? I might. The need to reserve bus numbers for hot-plug looks like a quick way to waste all 256 bus numbers. > each PHB has an > additional

Re: Going beyond 256 PCI buses

2001-06-13 Thread Albert D. Cahalan
Tom Gall writes: I was wondering if there are any other folks out there like me who have the 256 PCI bus limit looking at them straight in the face? I might. The need to reserve bus numbers for hot-plug looks like a quick way to waste all 256 bus numbers. each PHB has an additional id,

Re: IBM PPC 405 series little endian?

2001-06-11 Thread Albert D. Cahalan
Zehetbauer Thomas writes: > Has someone experimented with running linux in little-endian mode on IBM > PowerPC 405 (Walnut) yet? I doubt it. You are at least the 3rd person to want little-endian. Somebody at Matrox posted a patch for little-endian on the 74xx. You need a bit more than that

Re: IBM PPC 405 series little endian?

2001-06-11 Thread Albert D. Cahalan
Zehetbauer Thomas writes: Has someone experimented with running linux in little-endian mode on IBM PowerPC 405 (Walnut) yet? I doubt it. You are at least the 3rd person to want little-endian. Somebody at Matrox posted a patch for little-endian on the 74xx. You need a bit more than that

Re: temperature standard - global config option?

2001-06-09 Thread Albert D. Cahalan
Michael H. Warfiel writes: > On Fri, Jun 08, 2001 at 05:16:39PM -0400, Albert D. Cahalan wrote: >> The bits are free; the API is hard to change. >> Sensors might get better, at least on high-end systems. >> Rounding gives a constant 0.15 degree error. >> Only th

checker suggestion

2001-06-09 Thread Albert D. Cahalan
Struct padding is a problem. Really, there shouldn't be any implicit padding. This causes: 1. security leaks when such structs are copied to userspace (the implicit padding is uninitialized, and so may contain a chunk of somebody's private key or password) 2. bloat, when struct members

checker suggestion

2001-06-09 Thread Albert D. Cahalan
Struct padding is a problem. Really, there shouldn't be any implicit padding. This causes: 1. security leaks when such structs are copied to userspace (the implicit padding is uninitialized, and so may contain a chunk of somebody's private key or password) 2. bloat, when struct members

Re: temperature standard - global config option?

2001-06-09 Thread Albert D. Cahalan
Michael H. Warfiel writes: On Fri, Jun 08, 2001 at 05:16:39PM -0400, Albert D. Cahalan wrote: The bits are free; the API is hard to change. Sensors might get better, at least on high-end systems. Rounding gives a constant 0.15 degree error. Only the truly stupid would assume accuracy from

Re: temperature standard - global config option?

2001-06-08 Thread Albert D. Cahalan
Michael H. Warfiel writes: > On Fri, Jun 08, 2001 at 05:16:39PM -0400, Albert D. Cahalan wrote: >> The bits are free; the API is hard to change. >> Sensors might get better, at least on high-end systems. >> Rounding gives a constant 0.15 degree error. >> Only th

Re: temperature standard - global config option?

2001-06-08 Thread Albert D. Cahalan
John Chris Wren writes: > coupling to the CPU that is about as bad as it can get. You've got an epoxy > housing of an inconsistent shape in contact with ceramic. The actual > contact point is miniscule. There's no thermal paste, and often, I've seen > the sensors not quite raised high enough

Re: temperature standard - global config option?

2001-06-08 Thread Albert D. Cahalan
L. K. writes: > On Fri, 8 Jun 2001, Albert D. Cahalan wrote: >> The bits are free; the API is hard to change. >> Sensors might get better, at least on high-end systems. >> Rounding gives a constant 0.15 degree error. >> Only the truly stupid would assume accuracy fr

Re: temperature standard - global config option?

2001-06-08 Thread Albert D. Cahalan
Michael H. Warfiel writes: > We don't have sensors that are accurate to 1/10 of a K and certainly not > to 1/100 of a K. Knowing the CPU temperature "precise" to .01 K when > the accuracy of the best sensor we are likely to see is no better than > +- 1 K is just about as relevant as negative

Re: temperature standard - global config option?

2001-06-08 Thread Albert D. Cahalan
Michael H. Warfiel writes: We don't have sensors that are accurate to 1/10 of a K and certainly not to 1/100 of a K. Knowing the CPU temperature precise to .01 K when the accuracy of the best sensor we are likely to see is no better than +- 1 K is just about as relevant as negative absolute

Re: temperature standard - global config option?

2001-06-08 Thread Albert D. Cahalan
L. K. writes: On Fri, 8 Jun 2001, Albert D. Cahalan wrote: The bits are free; the API is hard to change. Sensors might get better, at least on high-end systems. Rounding gives a constant 0.15 degree error. Only the truly stupid would assume accuracy from decimal places. Again, the bits

Re: temperature standard - global config option?

2001-06-08 Thread Albert D. Cahalan
John Chris Wren writes: coupling to the CPU that is about as bad as it can get. You've got an epoxy housing of an inconsistent shape in contact with ceramic. The actual contact point is miniscule. There's no thermal paste, and often, I've seen the sensors not quite raised high enough to

Re: temperature standard - global config option?

2001-06-08 Thread Albert D. Cahalan
Michael H. Warfiel writes: On Fri, Jun 08, 2001 at 05:16:39PM -0400, Albert D. Cahalan wrote: The bits are free; the API is hard to change. Sensors might get better, at least on high-end systems. Rounding gives a constant 0.15 degree error. Only the truly stupid would assume accuracy from

Re: temperature standard - global config option?

2001-06-07 Thread Albert D. Cahalan
Chris Boot writes: Kelvins good idea in general - it is always positive ;-) 0.01*K fits in 16 bits and gives reasonable range. ... > OK, I think by now we've all agreed the following: > - The issue is NOT displaying temperatures to the user, but a userspace >program reading

Re: CacheFS

2001-06-07 Thread Albert D. Cahalan
Jan Kasprzak writes: > Another goal is to use the Linux filesystem > as a backing store (as opposed to the block device or single large file > used by CODA). ... > - kernel module, implementing the filesystem of the type "cachefs" > and a character device

Re: temperature standard - global config option?

2001-06-07 Thread Albert D. Cahalan
L. K. writes: > Why not make it in Celsius ? Is more easy to read it this way. No, because then the software must handle negative numbers for cooled computers. CentiKelvin is fine. Do C=cK/100-273.15 if you really must... but you still have a number that is useless to a human. Humans need a

Re: temperature standard - global config option?

2001-06-07 Thread Albert D. Cahalan
L. K. writes: Why not make it in Celsius ? Is more easy to read it this way. No, because then the software must handle negative numbers for cooled computers. CentiKelvin is fine. Do C=cK/100-273.15 if you really must... but you still have a number that is useless to a human. Humans need a

Re: CacheFS

2001-06-07 Thread Albert D. Cahalan
Jan Kasprzak writes: Another goal is to use the Linux filesystem as a backing store (as opposed to the block device or single large file used by CODA). ... - kernel module, implementing the filesystem of the type cachefs and a character device /dev/cachefs

Re: temperature standard - global config option?

2001-06-07 Thread Albert D. Cahalan
Chris Boot writes: Kelvins good idea in general - it is always positive ;-) 0.01*K fits in 16 bits and gives reasonable range. ... OK, I think by now we've all agreed the following: - The issue is NOT displaying temperatures to the user, but a userspace program reading them from the

Re: Missing cache flush.

2001-06-06 Thread Albert D. Cahalan
David S. Miller writes: > David Woodhouse writes: >>> Call it flush_ecache_full() or something. >> >> Strange name. Why? How about __flush_cache_range()? > > How about flush_cache_range_force() instead? > > I want something in the name that tells the reader "this flushes > the caches, even

Re: Inconsistent "#ifdef __KERNEL__" on different architectures

2001-06-06 Thread Albert D. Cahalan
Paul Mackerras writes: > The only valid reason for userspace programs to be including kernel > headers is to get definitions that are part of the kernel API. (And > in fact others here will go further and assert that there are *no* > valid reasons for userspace programs to include kernel

Re: Inconsistent #ifdef __KERNEL__ on different architectures

2001-06-06 Thread Albert D. Cahalan
Paul Mackerras writes: The only valid reason for userspace programs to be including kernel headers is to get definitions that are part of the kernel API. (And in fact others here will go further and assert that there are *no* valid reasons for userspace programs to include kernel headers.)

Re: Missing cache flush.

2001-06-06 Thread Albert D. Cahalan
David S. Miller writes: David Woodhouse writes: Call it flush_ecache_full() or something. Strange name. Why? How about __flush_cache_range()? How about flush_cache_range_force() instead? I want something in the name that tells the reader this flushes the caches, even though under every

Re: symlink_prefix

2001-06-04 Thread Albert D. Cahalan
Alexander Viro writes: > leaves ncp with its ioctls ugliness. Authentication will be ugly. Joe mounts a filesystem, and does not bother to authenticate. He gets world-accessible files. Then Kevin authenticates as himself, and later as db_adm too. Along comes Sue, who can authenticate the whole

Re: symlink_prefix

2001-06-04 Thread Albert D. Cahalan
Alexander Viro writes: leaves ncp with its ioctls ugliness. Authentication will be ugly. Joe mounts a filesystem, and does not bother to authenticate. He gets world-accessible files. Then Kevin authenticates as himself, and later as db_adm too. Along comes Sue, who can authenticate the whole

Re: Highmem Bigmem question

2001-06-01 Thread Albert D. Cahalan
[EMAIL PROTECTED] writes: > This is probably an FAQ, but I read the FAQ and its not in there. Odd. > I have a machine with 2G of memory. I compiled the kernel with the > 4G memory option. How much address space should each process be > able to address? 3 GB for user stuff, or 3.5 GB with a

Re: Highmem Bigmem question

2001-06-01 Thread Albert D. Cahalan
[EMAIL PROTECTED] writes: This is probably an FAQ, but I read the FAQ and its not in there. Odd. I have a machine with 2G of memory. I compiled the kernel with the 4G memory option. How much address space should each process be able to address? 3 GB for user stuff, or 3.5 GB with a

Re: How to know HZ from userspace?

2001-05-30 Thread Albert D. Cahalan
Harald Welte writes: > Is there any way to read out the compile-time HZ value of the kernel? > > I had a brief look at /proc/* and didn't find anything. Look again, this time with a sick mind. Got your barf bag? Kubys made me do it.

Re: How to know HZ from userspace?

2001-05-30 Thread Albert D. Cahalan
Jonathan Lundell writes: > At 5:07 PM -0700 2001-05-30, H. Peter Anvin wrote: >>> If you now want to set those values from a userspace program / script in >>> a portable manner, you need to be able to find out of HZ of the currently >>> running kernel. >> >> Yes, but that's because the

Re: How to know HZ from userspace?

2001-05-30 Thread Albert D. Cahalan
Jonathan Lundell writes: At 5:07 PM -0700 2001-05-30, H. Peter Anvin wrote: If you now want to set those values from a userspace program / script in a portable manner, you need to be able to find out of HZ of the currently running kernel. Yes, but that's because the interfaces are

Re: How to know HZ from userspace?

2001-05-30 Thread Albert D. Cahalan
Harald Welte writes: Is there any way to read out the compile-time HZ value of the kernel? I had a brief look at /proc/* and didn't find anything. Look again, this time with a sick mind. Got your barf bag? Kubys made me do it.

Re: [patch] severe softirq handling performance bug, fix, 2.4.5

2001-05-26 Thread Albert D. Cahalan
David S. Miller > Ingo Molnar writes: >> (unlike bottom halves, soft-IRQs do not preempt kernel code.) > ... > > Since when do we have this rule? :-) ... > You should check Softirqs on return from every single IRQ. > In do_softirq() it will make sure that we won't run softirqs > while already

Re: [patch] severe softirq handling performance bug, fix, 2.4.5

2001-05-26 Thread Albert D. Cahalan
David S. Miller Ingo Molnar writes: (unlike bottom halves, soft-IRQs do not preempt kernel code.) ... Since when do we have this rule? :-) ... You should check Softirqs on return from every single IRQ. In do_softirq() it will make sure that we won't run softirqs while already doing so or

Re: 2.4 freezes on VIA KT133

2001-05-24 Thread Albert D. Cahalan
Mark Hahn writes: > contrary to the implication here, I don't believe there is any *general* > problem with Linux/VIA/AMD stability. there are well-known issues > with specific items (VIA 686b, for instance), but VIA/AMD hardware > is quite suitable for servers. VIA hardware is not suitable

Re: Why side-effects on open(2) are evil. (was Re: [RFD w/info-PATCH]device

2001-05-24 Thread Albert D. Cahalan
Oliver Xymoron writes: > The /dev dir should not be special. At least not to the kernel. I have > device files in places other than /dev, and you probably do too (hint: > anonymous FTP). This is a horribly broken FTP server. - To unsubscribe from this list: send the line "unsubscribe

Re: 2.4 freezes on VIA KT133

2001-05-24 Thread Albert D. Cahalan
Mark Hahn writes: contrary to the implication here, I don't believe there is any *general* problem with Linux/VIA/AMD stability. there are well-known issues with specific items (VIA 686b, for instance), but VIA/AMD hardware is quite suitable for servers. VIA hardware is not suitable for

Re: Why side-effects on open(2) are evil. (was Re: [RFD w/info-PATCH]device

2001-05-24 Thread Albert D. Cahalan
Oliver Xymoron writes: The /dev dir should not be special. At least not to the kernel. I have device files in places other than /dev, and you probably do too (hint: anonymous FTP). This is a horribly broken FTP server. - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: alpha iommu fixes

2001-05-22 Thread Albert D. Cahalan
David S. Miller writes: > What are these "devices", and what drivers "just program the cards to > start the dma on those hundred mbyte of ram"? Hmmm, I have a few cards that are used that way. They are used for communication between nodes of a cluster. One might put 16 cards in a system. The

Re: alpha iommu fixes

2001-05-22 Thread Albert D. Cahalan
David S. Miller writes: What are these devices, and what drivers just program the cards to start the dma on those hundred mbyte of ram? Hmmm, I have a few cards that are used that way. They are used for communication between nodes of a cluster. One might put 16 cards in a system. The cards

Re: LANANA: To Pending Device Number Registrants

2001-05-21 Thread Albert D. Cahalan
Guest section DW writes: > On Thu, May 17, 2001 at 02:35:55AM -0400, Albert D. Cahalan wrote: >> The PC partition table has such an ID. The LILO change log >> mentions it. I think it's 6 random bytes, with some restriction >> about being non-zero. > > You are co

Re: LANANA: To Pending Device Number Registrants

2001-05-21 Thread Albert D. Cahalan
Guest section DW writes: On Thu, May 17, 2001 at 02:35:55AM -0400, Albert D. Cahalan wrote: The PC partition table has such an ID. The LILO change log mentions it. I think it's 6 random bytes, with some restriction about being non-zero. You are confused. The partition table contains IDs

Re: [PATCH] 2.4.5pre3 warning fixes

2001-05-17 Thread Albert D. Cahalan
Bingner Sam J. Con writes: > Looks to me like it's adding { and } on each side of the > "c->devices->prev=d;" statement... so changing from: > > if (c->devices != NULL) > c->devices->prev=d; > > to > > if (c->devices != NULL){ > c->devices->prev=d; > } > > I assume the new

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Albert D. Cahalan
Heinz J. Mauelshag writes: > LVM does a similar thing storing UUIDs in its private metadata > area on every device used by it. > > Problem is: neither MD nor LVM define a standard in Linux > which *needs* to be used on every device! > > It is just up to the user to configure devices with them or

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Albert D. Cahalan
Heinz J. Mauelshag writes: LVM does a similar thing storing UUIDs in its private metadata area on every device used by it. Problem is: neither MD nor LVM define a standard in Linux which *needs* to be used on every device! It is just up to the user to configure devices with them or not.

Re: [PATCH] 2.4.5pre3 warning fixes

2001-05-17 Thread Albert D. Cahalan
Bingner Sam J. Con writes: Looks to me like it's adding { and } on each side of the c-devices-prev=d; statement... so changing from: if (c-devices != NULL) c-devices-prev=d; to if (c-devices != NULL){ c-devices-prev=d; } I assume the new compiler likes the if to

Re: ((struct pci_dev*)dev)->resource[...].start

2001-05-16 Thread Albert D. Cahalan
Jeff Garzik writes: > "Khachaturov, Vassilii" wrote: >> Can someone please confirm if my assumptions below are correct: >> 1) Unless someone specifically tampered with my driver's device >> since the OS bootup, the mapping of the PCI base address registers >> to virtual memory will remain the

Re: ((struct pci_dev*)dev)-resource[...].start

2001-05-16 Thread Albert D. Cahalan
Jeff Garzik writes: Khachaturov, Vassilii wrote: Can someone please confirm if my assumptions below are correct: 1) Unless someone specifically tampered with my driver's device since the OS bootup, the mapping of the PCI base address registers to virtual memory will remain the same (just as

Re: Getting FS access events

2001-05-15 Thread Albert D. Cahalan
H. Peter Anvin writes: > This would leave no way (without introducing new interfaces) to write, > for example, the boot block on an ext2 filesystem. Note that the > bootblock (defined as the first 1024 bytes) is not actually used by > the filesystem, although depending on the block size it may

Re: Getting FS access events

2001-05-15 Thread Albert D. Cahalan
H. Peter Anvin writes: This would leave no way (without introducing new interfaces) to write, for example, the boot block on an ext2 filesystem. Note that the bootblock (defined as the first 1024 bytes) is not actually used by the filesystem, although depending on the block size it may

Re: How VFS interacts with a file driver

2001-05-14 Thread Albert D. Cahalan
Daniel Phillips writes: > On Monday 14 May 2001 07:29, Blesson Paul wrote: >>I am trying to implement a distributed file system. Me too! :-) >> For that I write a file driver. I want to know the following things >> >> 1 . If I am writing a new file system, is it necessary to

Re: Inodes

2001-05-14 Thread Albert D. Cahalan
Blesson Paul writes: > This is an another doubt related to VFS. I want to know > wheather all files are assigned their inode number at the > mounting time itself or inodes are assigned to files upon > accessing only That would depend on what type of filesystem you use. For ext2, inode numbers

Re: How VFS interacts with a file driver

2001-05-14 Thread Albert D. Cahalan
Daniel Phillips writes: On Monday 14 May 2001 07:29, Blesson Paul wrote: I am trying to implement a distributed file system. Me too! :-) For that I write a file driver. I want to know the following things 1 . If I am writing a new file system, is it necessary to modify the

Re: [reiserfs-dev] Re: reiserfs, xfs, ext2, ext3

2001-05-11 Thread Albert D. Cahalan
Hans Reiser writes: > Tell us what to code for, and so long as it doesn't involve looking > up files by their 32 bit inode numbers we'll probably be happy to > code to it. The Neil Brown stuff is already coded for though. Next time around, when you update the on-disk format, how about allowing

Re: [reiserfs-dev] Re: reiserfs, xfs, ext2, ext3

2001-05-11 Thread Albert D. Cahalan
Hans Reiser writes: Tell us what to code for, and so long as it doesn't involve looking up files by their 32 bit inode numbers we'll probably be happy to code to it. The Neil Brown stuff is already coded for though. Next time around, when you update the on-disk format, how about allowing

Re: Patch to make ymfpci legacy address 16 bits

2001-05-09 Thread Albert D. Cahalan
Jeff Garzik writes: > Pavel Roskin wrote: >> You may need to save some data in memory when the system goes >> to suspend and restore them afterwards. I believe that the PCI >> config space should be saved by BIOS. Everything else is the >> responsibility of the driver. > > In ACPI land the

  1   2   3   4   5   >