PID's

2001-06-05 Thread android

This is probably a mundane question, but...

Is there a way to recycle unused PID's without rebooting the kernel?
So instead of the next available PID always getting larger and larger,
just reset it to use the first unused PID after 1. Is this possible?

-- Ted

-
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 at  http://www.tux.org/lkml/



Re: Break 2.4 VM in five easy steps

2001-06-06 Thread android


>Furthermore, I am not demanding anything, much less "priority fixing"
>for this bug. Its my personal opinion that this is the most critical bug
>in the 2.4 series, and if I had the time and skill, this is what I would
>be working on. Because I don't have the time and skill, I am perfectly
>happy to wait until those that do fix the problem. To say it isn't a
>problem because I can buy more disk is nonsense, and its that sort of
>thinking that leads to constant need to upgrade hardware in the
>proprietary OS world.
>
>Sean

This would reflect the Microsoft way of programming:
If there's a bug in the system, don't fix it, but upgrade your hardware.
Why do you think the requirements for Windows is so great?
Most of their code is very inefficient. I'm sure they programmed
their kernel in Visual Basic. The worst part is that they get
paid to do this! I program in Linux because I don't want to be
associated with that mindset that made Microsoft such a [fill in the blank].
As for the 2.4 VM problem, what are you doing with your machine that's
making it use up so much memory? I have several processes running
on mine all the time, including a slew in X, and I have yet to see
significant swap activity.

   -- Ted

P.S. My faithful Timex Sinclair from the 80's never had swap :-)

-
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 at  http://www.tux.org/lkml/



Re: Break 2.4 VM in five easy steps

2001-06-06 Thread android


>Is anybody interested in making "swapoff()" better? Please speak up..
>
> Linus

I'd be happy to write a new routine in assembly, if I had a clue as to how
the VM algorithm works in Linux. What should swapoff  do if all physical
memory is in use? How does the swapping algorithm balance against
cache memory? Can someone point me to where I can find the exact
details of the VM mechanism in Linux? Thanks!

   -- Ted

-
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 at  http://www.tux.org/lkml/



Re: Break 2.4 VM in five easy steps

2001-06-06 Thread android


> >I'd be happy to write a new routine in assembly
>
>I sincerely hope you're joking.
>
>It's the algorithm that needs fixing, not the implementation of that
>algorithm.  Writing in assembler?  Hope you're proficient at writing in
>x86, PPC, 68k, MIPS (several varieties), ARM, SPARC, and whatever other
>architectures we support these days.  And you darn well better hope every
>other kernel hacker is as proficient as that, to be able to read it.
I realize that assembly is platform-specific. Being that I use the IA32 class
machine, that's what I would write for. Others who use other platforms could
do the deed for their native language. As for the algorithm, I'm sure that
whatever method is used to handle page swapping, it has to comply with
the kernel's memory management scheme already in place. That's why I would
need the details so that I wouldn't create more problems than already present.
Being that most users are on the IA32 platform, I'm sure they wouldn't reject
an assembly solution to this problem. As for kernel acceptance, that's an
issue for the political eggheads. Not my forte. :-)

  -- Ted

-
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 at  http://www.tux.org/lkml/



ATI Rage 128

2001-05-25 Thread Android

Are there any plans for including support for the ATI Rage 128 chipset into 
svgalib?
The VESA setting does not work. Causes any program using svgalib to crash.
Are there any configuration settings in the kernel that may help with this?

The kernel I am using is 2.4.4 and the card I am using is the Rage Fury (32 
MB).
The svgalib version is 1.4.2
Framebuffer does have support for Rage 128, so I don't see why svgalib doesn't.

Thanks!

   -- Ted

-
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 at  http://www.tux.org/lkml/



Questions about Kernel 2.4.0.?

2000-11-25 Thread Android



There is a link in /lib/modules/2.4.0.11: 
build->/usr/src/linux
created by the Makefile (make 
modules_install).What for? depmod doesn't like this link. It gets 
confused.
 
Lines missing from 
/usr/src/linux/include/asm/uaccess.h:   #define 
put_user_ret(x,ptr,ret) ({ if (put_user(x,ptr)) return ret; })   
#define get_user_ret(x,ptr,ret) ({ if (get_user(x,ptr)) return ret; 
})   #define __put_user_ret(x,ptr,ret) ({ if (__put_user(x,ptr)) 
return ret; })   #define __get_user_ret(x,ptr,ret) ({ if 
(__get_user(x,ptr)) return ret; })
Some modules will not compile without these lines 
included.
 
Where are the drivers for bt878 (Video For 
Linux)?
 
Some of the device special files are missing when 
using devfs.
devfsd is running (loaded at the beginning of rc.S 
by init).
There was no /dev/lp0 on my system, even though 
module lp was loaded.
After creating this file explicitly with mknod, the 
printer worked.
 
This problem is probably the fault of X11 - it 
doesn't repaint the screen properly
after coming out of console mode. I have to switch 
back and forth several times
before I get a proper repaint. May be related to 
using framebuffer with X.
X crashes and locks completely when using sound. 
Anyone know why?
 
 
-- Ted
 


Re: Questions about Kernel 2.4.0.?

2000-11-27 Thread Android



- Original Message - 

  From: 
  Android 
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, November 25, 2000 2:20 
  PM
  Subject: Questions about Kernel 
  2.4.0.?
  
  1) There is a link in /lib/modules/2.4.0.11: 
  build->/usr/src/linux
  created by the Makefile (make modules_install). 
  What for?
   
  2) Lines missing from 
  /usr/src/linux/include/asm/uaccess.h:   #define 
  put_user_ret(x,ptr,ret) ({ if (put_user(x,ptr)) return ret; })   
  #define get_user_ret(x,ptr,ret) ({ if (get_user(x,ptr)) return ret; 
  })   #define __put_user_ret(x,ptr,ret) ({ if (__put_user(x,ptr)) 
  return ret; })   #define __get_user_ret(x,ptr,ret) ({ if 
  (__get_user(x,ptr)) return ret; })
  Some modules will not compile without these lines 
  included.
   
  3) Where are the drivers for bt878 (Video For 
  Linux)?
   
  4) Some of the device special files are missing 
  when using devfs.
  devfsd is running (loaded at the beginning of 
  rc.S by init).
  There was no /dev/lp0 on my system, even though 
  module lp was loaded.
  After creating this file explicitly with mknod, 
  the printer worked.
   
  5) This problem is probably the fault of X11 - it 
  doesn't repaint the screen properly
  after coming out of console mode. I have to 
  switch back and forth several times
  before I get a proper repaint. May be related to 
  using framebuffer with X.
  X crashes and locks completely when using sound. 
  Anyone know why?
   
  6) When going through the bash command history 
  (using the arrow keys)
  while in framebuffer mode, there will be a pause 
  for about 3 seconds - during this time,
  the system is totally frozen until this pause has 
  expired. Any ideas on this?
   
  7) How does one disable the display of the 
  penguin logo when booting in framebuffer
  mode so that all video lines are available for 
  text? I know this can be removed with setfont
  and possible fbset, but I would prefer the video 
  display be "normal" from the start. Thanks.
   
   
  -- Ted
   
  P.S. Ignore the ads that follow this line - this 
  is what happens when using free POP accounts.
   
   


Re: XFree 4.0.1/NVIDIA 0.9-5/2.4.0-testX/11 woes [solved]

2000-11-29 Thread Android

> > I've never seen such thing as code without bugs. In my experience,
> > the NVIDIA drivers are by far the most complete and solid 3D drivers
> > under Linux.
>
> You are welcome to your opinion. I've got this great bridge to sell you
too

The most stable of all video drivers under Linux has to be the standard VGA
driver.
As for SVGA, then VESA wins that territory. The problem with specific
SVGA/Accelorator
drivers is that the details of the video card operation is kept secret, and
what information
is known is scarce. Much of it is found by experimentation, and dare I say,
reverse engineering.
In most cases, you're lucky you get a working driver at all. The same holds
true for sound cards.
So, unless the company has fully released the details of their NVIDIA card
to whomever wrote
the Linux driver, then don't think for a moment that it is crash-free. Just
one wrong bit sent to
an incorrect port, and it's time to reset your machine. I don't need to
mention data loss.

  -- Ted


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Questions about Kernel 2.4.0.*

2000-11-29 Thread Android




1) There is a link in /lib/modules/2.4.0.11: 
build->/usr/src/linuxcreated by the Makefile 
(make modules_install). What for?
 
2)  (Answered)
 
3)  (Answered)
 
4) Some of the device special files are missing 
when using devfs.
devfsd is running (loaded at the beginning of rc.S 
by init).
There was no /dev/lp0 on my system, even though 
module lp was loaded.
After creating this file explicitly with mknod, the 
printer worked.
 
5) This problem is probably the fault of X11 - it 
doesn't repaint the screen properly
after coming out of console mode. I have to switch 
back and forth several times
before I get a proper repaint. May be related to 
using framebuffer with X.
X crashes and locks completely when using sound. 
Anyone know why?
 
6) When going through the bash command history 
(using the arrow keys)
while in framebuffer mode, there will be a pause 
for about 3 seconds - during this time,
the system is totally frozen until this pause has 
expired. Any ideas on this?
I know this is a problem with bash - this problem doesn't occur when using 
tcsh.
 
7) How does one disable the display of the penguin 
logo when booting in framebuffer
mode so that all video lines are available for 
text? I know this can be removed with setfont
and possible fbset, but I would prefer the video 
display be "normal" from the start. Thanks.
 
 
-- Ted
 


Questions about Kernel 2.4.0.*

2000-11-29 Thread Android




1) There is a link in /lib/modules/2.4.0.11: 
build->/usr/src/linuxcreated by the Makefile 
(make modules_install). What for?
 
2)  (Answered)
 
3)  (Answered)
 
4) Some of the device special files are missing 
when using devfs.
devfsd is running (loaded at the beginning of rc.S 
by init).
There was no /dev/lp0 on my system, even though 
module lp was loaded.
After creating this file explicitly with mknod, the 
printer worked.
 
5) This problem is probably the fault of X11 - it 
doesn't repaint the screen properly
after coming out of console mode. I have to switch 
back and forth several times
before I get a proper repaint. May be related to 
using framebuffer with X.
X crashes and locks completely when using sound. 
Anyone know why?
 
6) When going through the bash command history 
(using the arrow keys)
while in framebuffer mode, there will be a pause 
for about 3 seconds - during this time,
the system is totally frozen until this pause has 
expired. Any ideas on this?
I know this is a problem with bash - this problem doesn't occur when using 
tcsh.
 
7) How does one disable the display of the penguin 
logo when booting in framebuffer
mode so that all video lines are available for 
text? I know this can be removed with setfont
and possible fbset, but I would prefer the video 
display be "normal" from the start. Thanks.
 
 
-- Ted
 

**
Free web-based/POP3 mail from turbosport.com, turbomail.tv, mailplanet.net, and webmailcity.com
**
To report SPAM mail please send an e-mail to [EMAIL PROTECTED]



Re: Linux 2.2.18 release notes

2000-12-11 Thread Android

>   ... added basic support for the Pentium IV. Unfortunately Intel 
chose to
>   ignore all precedent in model numbering via cpuid and report a
>   family of '15'. This sudden jump broke assumptions in the
>   kernel tree without any warning. Intel have failed to provide
>   good reasons for their change. We have chosen to continue to
>   report the Pentium IV as a '686' class processor. The full
>   family data is provided via cpuinfo.
>
>   In addition the early Pentium IV chips appear to have some
>   problems. You should be using stepping 7 or higher processors
>   with the latest shipping microcode update if you wish to run
>   Linux on a Pentium IV processor.
>
>   + Intel Pentium IV support


How is the Pentium IV more advanced than the Pentium III, other than speed?
Why would LInux care about a 1500 MHz clock or 400 MHz bus speed?
Just treat the PIV as a faster PIII. 

  -- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Some experience of linux on a Laptop

2001-06-24 Thread Android


>I have come to the conclusion that linux is NOT suitable for the general 
>desktop market.

I have to disagree on this. It runs fine on most PC's, as they use standard 
devices.
Just say NO to anything proprietary. This includes Toshiba. Makers of such 
odd machines
should supply their own native drivers if they want to be supported.


>Features I would like in the kernel:
>1: Make the whole insmod-rmmod tingie a kernel internal so they could be 
>trigged before rootmount.

How can you load modules into the kernel before root is mounted?
No harddrive accessible means no modules.


>2: Compile time optimization options in Make menuconfig


>3: Lilo/grub config in make menuconfig

Why?

>4: make bzImage && make modules && make modules install && cp 
>arch/i386/boot/bzImage /boot/'uname -r' something inside make menuconfig
>
>5: Better support for toshiba computers... well try =)

Talk to Toshiba. See if they are willing to part with "secret" information 
so that you
can create specific drivers for Linux. After that, I bet your next comp. 
won't be from them. :-)


>6: Wouldn't it be easier for svgalib/framebuffer/GGI/X11 and others if the 
>graphiccard drivers where kernel modules?
Again, Framebuffer cannot be a module as it needs to be in place before the 
kernel even gets to init (the program).
Since the kernel cannot load modules before the drives are mounted, no 
module here.


>7: As I said mount with statistics database of files.
Just how much detail of file usage do you want?
Just open and close? Do you want reads and writes too?


>8: A way to change kernel without rebooting. I have no diskdrive or 
>cddrive in my laptop so I often do drastic things when I install a new 
>distribution.
>
In order to change the kernel, all running processes must be terminated.
How can you install a new kernel without any process to make the changeover?


>I'm not on the list so please CC me any responses
>
>John Nilsson

-- Replies by Ted


-
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 at  http://www.tux.org/lkml/