Re: Question about SysRq

2001-04-03 Thread Boris Pisarcik
Unfortunately, > the only one that responds is sysrq-b, which boots the box without > syncing or unmounting the disks. Not only does that piss me off but it's > led to some fs corruption as well (which pisses me off even more). sysrq-b > is the *only* combination I can get working when this happ

Re: Basic Text Mode (was: Re: Question about SysRq)

2001-04-03 Thread Boris Pisarcik
Some stupid questions about videomem: 1) How do 2 or more X servers, or svgalibbed apps share the same physical video memory ? Does it get saved to ram when switching between them ? 2) Does console switching (gfx or text) save and restore all registers of videocard in kernel ? Or kernel only r

Re: Basic Text Mode (was: Re: Question about SysRq)

2001-04-03 Thread Boris Pisarcik
> It is a very good idea, and to implement quite easy. You just do have to > diff between three types of video cards (MDA, MGA and HGC vs. CGA and AGA vs. EGA+). > Then you do direct register writes. For the HGC I did it recently in a DOS proggy > which switched from text to gfx and back. I had a

Re: Question about SysRq

2001-04-03 Thread Boris Pisarcik
>You could even set sysvinit > to run it when you press a certain key combo. You mean inittab & kbrequest ? I didn't know about this. Must have a look at some documentation, manpage didn't help me a lot. Besides, you have very interesting name/domain, cheaf of bandits !!

Re: Non keyboard trigger of Alt-SysRQ-S-U-B

2001-04-04 Thread Boris Pisarcik
> If you have a serial console on the server, you can get sysrq by > sending a serial break followed by the character. Hi, i've tried it with minicom and functioned : ctrl+a+F and key for function as in normal sysrq. This approach will probably not help you a lot thought, since you wouldn't ha

Re: Non keyboard trigger of Alt-SysRQ-S-U-B

2001-04-04 Thread Boris Pisarcik
Hi Nathan, I've just made an experimental module which offers syscall to privileged process, which internally translates itself into real sysrq handler (handle_sysrq) defined in drivers/char/sysrq.c. It occupates itself one of unussed linux system calls (concretely stty - no. 31). Makefile

Re: Compiling problem kernel 2.4.2

2001-04-04 Thread Boris Pisarcik
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -02 > -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i486 -c -o init/main.o > init/main.c > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -02 > fomit-frame-pointer -fno-strict-aliasing -pipe -ma

OOPS in khttpd, 2.4.4-ac3

2001-04-14 Thread Boris Pisarcik
Hello. I was performing some benchmarks of http transfer with program 'ab' (apache benchmark), comparing, how it will perform with/without kernel khttpd support. I've got oops several times, the error is replicable on my machine, without appache even started. The exact order of actions i did:

Re: Is swap == 2 * RAM a permanent thing?

2001-03-17 Thread Boris Pisarcik
On Thu, Mar 15, 2001 at 11:44:52PM -0300, Rik van Riel wrote: > On Thu, 15 Mar 2001, William T Wilson wrote: > > > it seems to me that in 2.2.x it looks like this: > > > > total usage == swap + RAM > > under 2.4.x it looks like: > > total usage == swap > > total usage == maximum(swap, ram) Hi

Re: Utility for re-patritioning

2001-03-19 Thread Boris Pisarcik
Hello, try resize2fs from e2fsprogs package. B. -- - 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://

Cannot compile 2.4.2-ac23 kernel

2001-03-24 Thread Boris Pisarcik
Hello anybody. Today i applied A.COX's patch 2.4.2-ac23 on 2.4.0 kernel previsiously patched with 2.4.1 and 2.4.2 patches. Before everything used to compile well, but with this patch i get this error message: setup.c: In function `identify_cpu': setup.c:2280: `tsc_disable' undeclared (first use

Question about SysRq

2001-03-31 Thread Boris Pisarcik
Hi. I managed fullowing situation: user with no ulimits will run script like this: #! /usr/bin/perl while (1) { fork(); }; on say tty2. The processes get created pretty fast. After a short while I supposed a single solution to this to kill all session by alt+sysrq+k, but nothing happened. Un