Re: Bug reporting script? (was: removal of redundant line in documentation)

2001-01-11 Thread Pavel Machek
Hi! This is horrible bugreport. Kill "keywords". Putting "modules" into keywords i not going to help anyone. Having "4. Kernel version" and minuses before actuall version is not helpfull, either. "modules" as keyword, keywords in general: This is a suggestion from REPORTING-BUGS. Then

Re: `rmdir .` doesn't work in 2.4

2001-01-12 Thread Pavel Machek
Hi! The bottom line: rmdir(".") is gone. Replace it with portable equivalent, namely p = getcwd(pwd, sizeof(pwd)); if (!p) /* handle error - ERANGE or ENOENT */ rmdir(p); Shell equivalent is rmdir `pwd`. Also portable. ...when you are lucky and all

Re: Is sendfile all that sexy?

2001-01-16 Thread Pavel Machek
Hi! TWO observations: - Given Linux's non-pre-emptability of the kernel i get the feeling that sendfile could starve other user space programs. Imagine trying to send a 1Gig file on 10Mbps pipe in one shot. Hehe, try sigkilling process doing that transfer. Last time I tried it it did not

Re: Is sendfile all that sexy?

2001-01-16 Thread Pavel Machek
Hi! TWO observations: - Given Linux's non-pre-emptability of the kernel i get the feeling that sendfile could starve other user space programs. Imagine trying to send a 1Gig file on 10Mbps pipe in one shot. Hehe, try sigkilling process doing that transfer. Last time I tried it

Re: HP Pavilion 8290 HANGS on boot 2.4/2.4-test9

2001-01-16 Thread Pavel Machek
Hi! Is there a safe way to add debug information like simple string prints in arch/i386/boot/compressed/head.s and in arch/i386/kernel/head.S so that I can see at the console where the boot process hangs? Time for another version of my VIDEO_CHAR patch.] What abourt early_printk? Works

Re: Incorrect module init message..

2001-01-19 Thread Pavel Machek
Hi! -- Mike A. Harris - Linux advocate - Free Software advocate This message is copyright 2001, all rights reserved. Views expressed are my own, not necessarily shared by my employer.

Re: Is sendfile all that sexy?

2001-01-19 Thread Pavel Machek
Hi! And no, I don't actually hink that sendfile() is all that hot. It was _very_ easy to implement, and can be considered a 5-minute hack to give a feature that fit very well in the MM architecture, and that the Apache folks had already been using on other architectures. The current

Re: 'native files', 'object fingerprints' [was: sendpath()]

2001-01-19 Thread Pavel Machek
Hi! struct safe_kpointer { void *kaddr; unsigned long fingerprint[4]; }; the kernel can validate kaddr by 1) validating the pointer via the master fingerprint (every valid kernel pointer must point to a structure that starts with the master

Re: kapm-idled and cpu heating ...

2001-01-26 Thread Pavel Machek
Hi! I've read the december thread, I've searched the web and I could not come out with an answer, so here I dare to ask (please cc me for any answer as I am not subscribed to the list, I just read the kernel cousin version). I just installed 2.4.0 on my laptop (dell cpi a366x). I noticed

Re: [linux-audio-dev] low-latency scheduling patch for 2.4.0

2001-01-26 Thread Pavel Machek
Hi! And making the kernel preemptive might be the best way to do that (and I'm saying "might"...). Keep in mind that Ken Thompson Dennis Ritchie did not decide on a non-preemptive strategy for UNIX because they were unaware of such methods or because they were stupid. And when Rob

Re: 2.4 cpu usage...

2001-01-27 Thread Pavel Machek
Hi! So...I'm bummed. I'm assuming a 30% degradation in an app is probably not expected behavior? Swap usage is '0' in both OS's (i.e. it's not a run out of memory issue). Vmware is _not_ application, it is dirty kernel hack. Do it without vmware.

Re: NTFS safety and lack thereof - Was: Re: Linux 2.4.0ac11

2001-01-27 Thread Pavel Machek
Hi! Is read access safe ? Of course read-only is safe. As long as you mount the partition READ-ONLY nothing can happen to it in any way, your NTFS data is at least safe. Isn't it still theoretcially possible for the driver to send commands to the disk controller that cause data to

Re: Hercules Graphics Card

2001-01-27 Thread Pavel Machek
Hi! I'm too using this, mostly because I like it, got up with it, and it's better than those pixelled displays today. And who needs colours? For me, it says (2.4.0-prerelease) I'd got a HGC with 8 kB of RAM. This surely isn't true because under DOS some pgmz work problemless which use the

Re: [PATCH](s): Use spinlocks instead of STI/CLI in SoundBlaster

2001-01-27 Thread Pavel Machek
Hi! I hear on the grapevine that 2.4 kernel modules should use spinlocks in preference to cli() and sti(). Well I'm not sure how big a win it is, particularly on a UP machine, but here's a patch for the SoundBlaster. I've added a spinlock_t to the "struct b_devc" so that multiple

Re: no such 386 instruction with gcc 2.95.2

2001-01-27 Thread Pavel Machek
Hi! I think I must need to upgrade my assembler, but: 2.4.0/Documentation/Changes does not list an assembler version. make[2]: Entering directory `/mnt/sdb2/src/linux-2.4.0/drivers/md' gcc -D__KERNEL__ -I/mnt/sdb2/src/linux-2.4.0/include -Wall -Wstrict-proto types -O2

Re: vfat - vfat copying of ~700MB file, so slow!

2001-01-27 Thread Pavel Machek
Hi! Copying between vfat - vfat partitions is so slow. It seems that it's vfat/msdos kernel driver problem because I tried to copy I reported this years ago, with a 700 kB file on a floppy and a 4 MB file on a Zip disk. In both cases mcopy was several times faster than the kernel code.

Re: Linux Post codes during runtime, possibly OT

2001-01-29 Thread Pavel Machek
Hi! Ok. I've thought about it some more, but I don't care enough about this issue to do the painstaking legwork: I don't have one of those POST-code indicators on port 0x80. I've made the "pause" in outb_p just a few (*) ns slower, because it now loads a variable before outputting

Re: ECN: Clearing the air

2001-01-29 Thread Pavel Machek
Hi! suggested blocking ECN. Article at: http://www.securityfocus.com/frames/?focus=idscontent=/focus/ids/articles/portscan.html the site is now ATM -- can someone briefly explain the logic in blocking it? It is Queso they quoted not nmap, sorry -- same thing. The idea is

Re: 2.4 Cpu usuage (display oddities more than anything)

2001-01-29 Thread Pavel Machek
Hi! Some oddities w/kapmd(2.4.0)... If I sit in X and do nothing other than run top or "vmstat 5", I get down to as low as 60% idle and 40% in system -- with kapmd getting 'charged' for the 40%. At least you can see how kapmd mechanism actually works. Then I go and run 'freeamp' and the

Re: Linux Post codes during runtime, possibly OT

2001-01-29 Thread Pavel Machek
Hi! It output garbage to the 80h port in order to enforce I/O delays. It's one of the safe ports to issue outs to. Yes, because it is reserved for POST codes. You can get "POST debugging cards" that simply have a BIN - 7segement encoder and two 7 segment displays on them. They

Re: sendfile+zerocopy: fairly sexy (nothing to do with ECN)

2001-01-31 Thread Pavel Machek
Hi! Advantage of Tulip and AMD is that they perform much better in my experience on half duplex Ethernet than other cards because they a modified patented backoff scheme. Without it Linux 2.1+ tends to suffer badly from ethernet congestion by colliding with the own acks, probably because it

Toshiba Satellite + 2.4.1 + ACPI -- problems

2001-01-31 Thread Pavel Machek
Hi! ACPI on satellite 4030cdt fails to see system battery... I traced it a little bit, and found that acpi_ns_get_device_callback ( ACPI_HANDLE obj_handle, u32 nesting_level, void*context, void

CRC loop device: when you do not trust your disk subsystem

2001-01-31 Thread Pavel Machek
Hi! Here it is. With crc loop device, you can no longer get silent data corruption due to disk subsystem... Pavel --- clean/drivers/block/loop.c Mon Jan 8 22:49:50 2001 +++ linux/drivers/block/loop.c Mon Jan 8 22:44:09 2001 @@

ACPI breaks maestro

2001-01-31 Thread Pavel Machek
Hi! With acpi support turned on, maestro does not work. Turn acpi off, and maestro is working, again. Pavel -- I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t.

ACPI fix + comments

2001-01-31 Thread Pavel Machek
Hi! This patch fixes ACPI oops on my toshiba.. This should go to Linus. --- clean/drivers/acpi/cmbatt.c Wed Jan 31 16:14:26 2001 +++ linux/drivers/acpi/cmbatt.c Wed Jan 31 21:03:47 2001 @@ -163,11 +167,13 @@ result-battery_capacity_granularity_1=objs[7].integer.value;

[FYI] Power drain on notebook

2001-01-31 Thread Pavel Machek
Hi! I played a bit with acpi on my toshiba, and got following figures (toshiba satellite 4030cdt): system powered on, disk spinning, backlight on, low brightness 12.8W high brigtness +0.8W no backlight

vsyscallRe: X15 alpha release: as fast as TUX but in user space (fwd)

2001-05-11 Thread Pavel Machek
Hi! That means that for fooling closed-source statically-linked binary, you now need to patch kernel. That's regression; subterfugue.org could do this with normal user rights in 2.4.0. This is particularly pretty, but something that might work: 1. a deceiver process creates a shared

vsyscalls [was Re: X15 alpha release: as fast as TUX but in user space (fwd)]

2001-05-11 Thread Pavel Machek
Hi! PS: Hmm, how do you do timewarp for just one userland appliation with this installed? 1. What on earth for? Y2K testing was one previous example. 2. How do you do it today, and why wouldn't that work? LD_PRELOAD and providing its still using a lib call it would. I dont

Re: X15 alpha release: as fast as TUX but in user space (fwd)

2001-05-11 Thread Pavel Machek
Hi! On 03 May 2001 09:13:00 +0200, [EMAIL PROTECTED] (Kai Henningsen) wrote: [EMAIL PROTECTED] (Pavel Machek) wrote on 30.04.01 in [EMAIL PROTECTED]: PS: Hmm, how do you do timewarp for just one userland appliation with this installed? 1. What on earth for? Y10K testing :) 2

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

2001-05-11 Thread Pavel Machek
gHi! It's not exactly kernel-based fsck. What I've been talking about is secondary filesystem providing coherent access to primary fs metadata. I.e. mount -t ext2meta -o master=/usr none /mnt and then access through /mnt/super, /mnt/block_bitmap, etc. Call me stupid

put_user_x

2001-05-14 Thread Pavel Machek
Hi! It seems to me that macro __put_user_x is defined in asm-i386/uaccess.h and never used. It is therefore totally unneccessary, right? [I just commented it out and recompiled; yes, it is unneccessary]. So lib/putuser.S can disappear, too. Seems to me like uaccess.h could stand some

Re: Getting FS access events

2001-05-17 Thread Pavel Machek
Hi! I'm really serious about doing resume from disk. If you want a fast boot, I will bet you a dollar that you cannot do it faster than by loading a contiguous image of several megabytes contiguously into memory. There is NO overhead, you're pretty much guaranteed platter speeds, and there

Re: Getting FS access events

2001-05-17 Thread Pavel Machek
Hi! Besides, just how often do you reboot the box? If that's the hotspot for you - when the hell does the boor beast find time to do something useful? Ten times a day? But booting is special case: You can read your mail while compiling kernel, but try to read your mail while your machine is

Re: Getting FS access events

2001-05-17 Thread Pavel Machek
Hi! And because your suspend/resume idea isn't really going to help me much. That's because my boot scripts have the notion of personalities (change the boot configuration by asking the user early on in the boot process). If I suspend after I've got XDM running, it's too late. Why not

Re: LANANA: To Pending Device Number Registrants

2001-05-18 Thread Pavel Machek
Hi! Hi! They might also be exactly the same channel, except with certain magic bits set. The example peter gave was fine: tty devices could very usefully be opened with something like fd = open(/dev/tty00/nonblock,9600,n8, O_RDWR); where we actually open up exactly the same

Re: LANANA: To Pending Device Number Registrants

2001-05-18 Thread Pavel Machek
Hi! But no, I don't actually like sockets all that much myself. They are hard to use from scripts, and many more people are familiar with open/close and read/write. Agreed. It would be nice to use open/close/read/write for control and bulk and sockets for interrupt and isochronous.

no ioctls for serial ports? [was Re: LANANA: To Pending Device Number Registrants]

2001-05-19 Thread Pavel Machek
Hi! They might also be exactly the same channel, except with certain magic bits set. The example peter gave was fine: tty devices could very usefully be opened with something like fd = open(/dev/tty00/nonblock,9600,n8, O_RDWR); where we actually open up exactly the same

Re: LANANA: To Pending Device Number Registrants

2001-05-19 Thread Pavel Machek
Hi! But no, I don't actually like sockets all that much myself. They are hard to use from scripts, and many more people are familiar with open/close and read/write. Agreed. It would be nice to use open/close/read/write for control and bulk and sockets for interrupt

mount misbehaviour?

2001-05-19 Thread Pavel Machek
Hi! I just had small surprise with 2.4.0: root@bug:/zip# mount /zip root@bug:/zip# ls -al total 8 drwxr-xr-x2 root root 4096 Dec 1 08:29 . drwxr-xr-x 31 65534root 4096 Apr 24 20:56 .. root@bug:/zip# cd /zip root@bug:/zip# ls -al total 22182 drwxr-xr-x4 root

Re: no ioctls for serial ports? [was Re: LANANA: To Pending Device Number Registrants]

2001-05-19 Thread Pavel Machek
Hi! fd = open(/dev/tty00/nonblock,9600,n8, O_RDWR); Hmm, there might be problem with this. How do you change speed without reopening device? [Remember: your mice knows when you close device] The naming scheme is not a replacement for these kinds of ioctl's - it's just

Re: Getting FS access events

2001-05-19 Thread Pavel Machek
Hi! resume from disk is actually pretty hard to do in way it is readed linearily. While playing with swsusp patches (== suspend to disk) I found out that it was slow. It needs to do atomic snapshot, and only reasonable way to do that is free half of RAM, cli() and copy. Note that

Re: no ioctls for serial ports? [was Re: LANANA: To Pending Device Number Registrants]

2001-05-19 Thread Pavel Machek
Hi! Well, if we did something like modify(int fd, char *how), you could do modify(0, nonblock,9600) What you're really proposing is to make ioctl's be ASCII strings. Yup. Which is not necessarily a bad idea, and I think plan9 did something similar (or rather, if I remember

handling network using filesystem [was Re: no ioctls for serial ports?]

2001-05-20 Thread Pavel Machek
Hi! I thought about how to do networking without sockets, and it seems to me like this kind of modify syscall is needed, because network sockets connect to *two* different places (one local address and one remote). Sockets are really nasty :-(. Pavel, take a look at

Re: CML2 design philosophy heads-up

2001-05-17 Thread Pavel Machek
Hi! Not all cards have all features, not all users wants to enable all features. Yes, I understand that. You're not reading the derivations correctly. Let's take an example: derive MVME147_SCSI from MVME147 SCSI This doesn't turn on MVME147_SCSI on every MVME147 board. It turns

Re: [RFC][PATCH] Re: Linux 2.4.4-ac10

2001-05-21 Thread Pavel Machek
Hi! You're right. It should never dump too much data at once. OTOH, if those cleaned pages are really old (front of reclaim list), there's no value in keeping them either. Maybe there should be a slow bleed for mostly idle or lightly loaded conditions. If you don't think it's

Re: alpha iommu fixes

2001-05-22 Thread Pavel Machek
Hi! [..] Even sparc64's fancy iommu-based pci_map_single() always succeeds. Whatever sparc64 does to hide the driver bugs you can break it if you pci_map 4G+1 bytes of phyical memory. Which is an utterly stupid thing to do. Please construct a plausable situation where

Re: no ioctls for serial ports? [was Re: LANANA: To Pending Device Num

2001-05-22 Thread Pavel Machek
Hi! I've seen this question several times in this thread. I haven't seen the obvious answer, though. Have a new system call: ctlfd = open_device_control_fd(fd); If fd is something that doesn't have a control interface (say, it already is a control filehandle), this

jffs on non-MTD device?

2001-05-25 Thread Pavel Machek
Hi! I'm trying to run jffs on my ATA-flash disk (running ext2 could kill some flash cells too soon, right?) but it refuses: if (MAJOR(dev) != MTD_BLOCK_MAJOR) { printk(KERN_WARNING JFFS: Trying to mount a non-mtd device.\n); return

jffs on non-mtd device (small bug)

2001-05-25 Thread Pavel Machek
Hi! BTW the printk probably should be KERN_ERR, because this warning is fatal. Pavel inode-v23.c-if (MAJOR(dev) != MTD_BLOCK_MAJOR) { inode-v23.c-printk(KERN_WARNING JFFS: Trying to mount a inode-v23.c:

Re: CRAK: a process checkpoint/restart kernel module

2001-05-25 Thread Pavel Machek
Hi!! This project has been there for over one year, and I've got quite a few emails asking about it. Before it becomes more reliable, I think letting more people know about it is a good idea. Thanks to those who ever pushed me on it :-) I guess many of you have already known about

Re: Speeding up VFS using HW assist

2001-05-25 Thread Pavel Machek
Hi! I will be using Linux as the OS for an embedded system. I was looking into 2.4.4 kernel code and saw the dcache implementation in VFS which is pretty neat and fast by itself. My question is, will I gain any considerable efficiency in file system access if I can move this

Re: ACPI - console problems 2.4.4

2001-05-25 Thread Pavel Machek
Hi! Is anyone having problems with ACPI causing console problems in kernel 2.4.4 w/ Intel's patches? When watching my system boot over the serial console, things work fine. When looking at my VAIO-FX140's LCD, my console no longer updates after ACPI starts initializing _INI methods. I

Re: [RFC][PATCH] Re: Linux 2.4.4-ac10

2001-05-25 Thread Pavel Machek
Hi! IMVHO every developer involved in memory-management (and indeed, any software development; the authors of ntpd comes in mind here) should have a 386 with 4MB of RAM and some 16MB of swap. Nowadays I have the luxury of a 486 with 8MB of RAM and 32MB of swap as a firewall, but it's

bzImage loading directly from floppy

2001-05-26 Thread Pavel Machek
Hi! ...is broken. If imagesize is 0xf123, bootsect_second only returns 0xf000 in ax, which is 0xf123, so it continues loading. Then, bootsect_second returns 0x1, but it is 16 bit register, so it is 0x, and that's also 0xf123. So it is looping forever. It can be fixed like this:

Re: CRAK: a process checkpoint/restart kernel module

2001-05-26 Thread Pavel Machek
Hi! Please cc to me - I am currently off the list. Ok. One question: can crak be used for process migration (assuming nodes share filesystem)? (As in, node of cluster is going down so we checkpoint and resume on some other node?) Yes, as long as the resources (opened files) can be

Re: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-26 Thread Pavel Machek
Hi! explicit about defining source code: The source code for a work means the preferred form of the work for making modifications to it. Erm... May I point you to the sysdep/libm-ieee754/e_j0.c? There's a bunch of constants of unknown origin. If you want to modify the

Re: [RFC][PATCH] Re: Linux 2.4.4-ac10

2001-05-26 Thread Pavel Machek
Hi! IMVHO every developer involved in memory-management (and indeed, any software development; the authors of ntpd comes in mind here) should have a 386 with 4MB of RAM and some 16MB of swap. Nowadays I have the luxury of a 486 with 8MB of RAM and 32MB of swap as a firewall, but it's

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

2001-05-21 Thread Pavel Machek
Hi! So I guess things have already been a bit messy in this area for many years, even before linux even existed, and in some cases you can't really do anything about it because the behaviour is mandated by the applicable standards, like POSIX, SUS, or whatever. (The blocking of the open on

Re: [RFD w/info-PATCH] device arguments from lookup, partion code

2001-05-21 Thread Pavel Machek
Hi! The transaction(2) syscall can be just as easily abused as ioctl(2) in this respect. People can pass pointers to ill-designed structures very Right. Moreover, it's not needed. The same functionality can be trivially implemented by write() and read(). As the matter of fact, had

Re: Console display in portrait mode with unusual dpi resolution

2001-05-29 Thread Pavel Machek
Hi! Overview: At business I just got a brand new EIZO 18 LCD display L675 to test its usability for working in portrait mode to show a full A4 page. These test were done on Windows NT4 but I'd really like to know how well Linux would have done. I'm going to describe all the obstacles I

Spelling fix in slab.h

2001-05-29 Thread Pavel Machek
Hi! I know it is not important, but anyway: Pavel Index: slab.h === RCS file: /home/cvs/Repository/linux/include/linux/slab.h,v retrieving revision 1.1.1.2 diff -u -u

udelay() on machines with speedstep [IBM ThinkPad T20 has real problems]

2001-05-30 Thread Pavel Machek
Hi! It seems there's machine where changing CPU clocks actually does something very bad [was it keyboard freeze?]. Can the unhappy thinkpad T20 owner please step up and test this patch? Alan, is something like this candidate for -ac series?

Re: [PATCH] remove unnecessary zero initializations from aironet4500_proc.c (245ac1)

2001-06-01 Thread Pavel Machek
Hi! Hi. The following patch removes two superfluous initializations from aironet4500_proc.c, making the .o ~12K smaller in size. It applies against 245ac1 and was discovered by Adam Ritcher some time ago. --- linux-245-ac1-clean/drivers/net/aironet4500_proc.cSat May 19

Re: DVD blockdevice buffers

2001-06-01 Thread Pavel Machek
Hi! I can easily give more examples - just ask. BTW, the fact that this stuff is so fragmented is not a bug - we want it evenly spread over disk, just to have the ability to allocate a block/inode not too far from the piece of bitmap we'll need to modify. BTW is this still true? This

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

2001-05-21 Thread Pavel Machek
Hi! Yes, and that is exactly the difference between having a side effect on the open(2), versus having the effect as a result of a write(2). Unfortunately, there are already some cases where an open on a device can have unexpected results. If you don't want to get blocked waiting for the

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

2001-05-21 Thread Pavel Machek
Hi! A lot of stuff relies on the fact that close(open(foo, O_RDONLY)) is a no-op. Breaking that assumption is a Bad Thing(tm). Then we have a problem. Just opening /dev/ttyS0 currently *has* side effects (it is visible on modem lines from serial port; it can block you forever). If this

Re: toshiba(freecom) USB cdrom kernel panic

2001-06-02 Thread Pavel Machek
Hi! I have strange problems with my Toshiba(actually Freecom) USB cdrom cable. inserting the usb-storage takes some minutes, until it returns. Then mounting the cdrom works, but when i started copying from cd, a kernel panic occured. It happens every time, i try to copy something from cd.

Reading from /dev/fb0 very slow?

2001-06-02 Thread Pavel Machek
Hi! I did some benchmarks, and my framebuffer is *way* faster when writing than when reading: root@bug:/home/pavel# time cat /tmp/test /dev/fb0 0.01user 0.08system 0.09 (0m0.097s) elapsed 93.13%CPU root@bug:/home/pavel# time cat /dev/fb0 /dev/null 0.00user 0.62system 0.62 (0m0.620s) elapsed

Re: here comes the summer...

2001-06-02 Thread Pavel Machek
Hi! ...again (I think I asked just the same last summer) and lm_sensors is still out of the kernel (we have got 40ÂșC in Spain this week, and I would like to know how my PIIs suffer...) Send some summer over here. It is 15C outside... You should try latest ACPI patches, they include thermal

*BAD* impact of usb on PCI performance

2001-06-02 Thread Pavel Machek
Hi! I did some testing how does usb hurt rest of system; and it can be pretty bad. With Acher's uhci, even ifconfig up of usb-to-usb networking device [plusb handled by generic usb-to-usb driver; see -ac series]. does 50% slowdown. When fsbr is being used, systems slows down by 350% (running

Re: 2T for i386

2000-08-31 Thread Pavel Machek
Hi! My boss wants to know if linux can handle a 2Terabyte raid partition. While I've seen various discussions that indicate that linux *should* be able to handle an ext2 file system that big, has anyone actually produced one on an i386 arch? I admit that 32 73 gig disks are a *lot* of

CE and -test7 communication broken

2000-09-01 Thread Pavel Machek
Hi! With -test7, tcp connection to CE machine is _even slower_ than it used to. CE are too slow to handle 115k200 serial, still they got at least 2K/sec to linux-2.4.0-test6 (and previous). tcpdump now looks like this: 22:03:42.200251 10.0.0.3.www 192.168.55.100.1026: . 8761:10221(1460) ack

Quick memory corruption with cramfs

2000-09-02 Thread Pavel Machek
Hi! Is anyone using cramfs? I copy cramfs image from nfs onto /dev/ram0, then mount it. It mounts, and first few accesses are okay, but then it breaks. ls shows garbage etc. Kernel 2.4.0-test4-pre3 on mips/r39xx. Pavel -- I'm

Re: Suggestion for laptop suspension

2000-09-04 Thread Pavel Machek
Hi! Filling memory to zero does not help for my laptop. Perhaps it is weird. But this particular obscure model of laptop is not important. The thing is to handle most laptops, to make suspending faster for most users, and to build it in by default so that it works "out of the box" on

Re: Quick memory corruption with cramfs

2000-09-06 Thread Pavel Machek
Hi! Is anyone using cramfs? We use cramfs everyday at http://handhelds.org with Linux 2.4.0-test6-rmk1-np2-hh1. We have no problems. I use test4-pre3 from linux-vr tree. I copy cramfs image from nfs onto /dev/ram0, then mount it. It mounts, and first few accesses are okay, but then

Re: Multiple Keyboards in 2.2/2.4?

2000-09-11 Thread Pavel Machek
Hi! On Thu, Sep 07, 2000 at 10:00:05AM -0400, James Simmons wrote: On the console level their are complex issues as well. Consider a system with 4 VTs attached to one machine. What if one person pressed Ctrl-Alt-Del. Anyone can bring the system down when multiple people depend

Re: 2.4.0-test8-pre1 is quite bad / how about integrating Rik's VM

2000-09-11 Thread Pavel Machek
Hi! (2) Make the architecture a configuration variable (!) Why? You still need to have all the damn cross-compilers etc. At which point being a configuration variable is the _least_ of your worries. You're better off with just a new tree. Crosscompilers are easy: take pre-compiled

Re: Notebook disk spindown

2000-09-12 Thread Pavel Machek
Hi! On Sat, 9 Sep 2000 [EMAIL PROTECTED] wrote: Would it be possible to detect when the disk spins up, and do the flush then? Yes if you had a continuious polling of power status wrt standby. I think the following flushing policy would work almost as well, while remaining generic:

Re: Notebook disk spindown

2000-09-14 Thread Pavel Machek
Hi! o developpers, this is a short description of a particular wish of notebook users. Since kernel 2.2.11 the buffer flushing deamon is no longer a user space program but part of the kernel (in fs/buffer.c). Before this kernel release it was the bdflush-program which could be

Re: Problems with bluesmoke.c in 2.2.17

2000-09-15 Thread Pavel Machek
Hi! e other day I got the patch for 2.2.17 and after just over a day of normal operation, while my sister was playing kpat (KDE solitaire) yesterday afternoon, X died and dropped her out to the console. After she told me about it later on I found this at the bottom of my dmesg: CPU

Re: [RFC] Wine speedup through kernel module

2000-09-17 Thread Pavel Machek
Hi! David Howells [EMAIL PROTECTED] wrote: Oliver Neukum [EMAIL PROTECTED] wrote: (3) Even if it was... just filling in the syscall slot from a module means that it is possible for the module to be unloaded whilst the syscall is in use. Note that all this is not the

Re: Linux-2.4.0-test9-pre2

2000-09-18 Thread Pavel Machek
Hi! Ok. I think we're getting to the point where there are no major known bugs. That means that as of the final 2.4.0-test9 I will no longer accept any patches that don't have a critical problem (as defined by Teds list) associated with them. So when you send me a patch, either bug Ted

Re: __release_region() printf format

2000-09-20 Thread Pavel Machek
Hi! __release_region() always uses `%04lx', while start and end may be larger (e.g. for release_mem_region()). What about making it %lx-%lx without any numbers? Pavel --- linux-2.4.0-test9-pre2/kernel/resource.c.orig Mon

Re: PROBLEM: umount report busy on r/o remount of root filesystem

2000-09-21 Thread Pavel Machek
Hi! Umount report "busy" when i try r/o remount the root filesystem at end of halt script. My halt script ends with: # Begin of halt kill -9 -1 umount -a mount -n -o remount,ro / BTW is this right? Does kill -9 guarantee that all syscalls are dead by the time it returns from kernel?

mkswap/swapon problems

2000-09-22 Thread Pavel Machek
Hi! test8 exhibits rather strange behaviour: root@bug:~# ls -al /tmp/swap -rw-r--r-- 1 root root 27164672 Sep 22 16:58 /tmp/swap root@bug:~# mkswap /tmp/swap Setting up swapspace, size = 27160576 bytes root@bug:~# swapon /tmp/swap swapon: /tmp/swap: Invalid argument root@bug:~# sync

Re: Given an image, how can show its config?

2000-09-25 Thread Pavel Machek
Hi! This is all to protect those few poor 'administrators' who cannot keep track of three separate files. We should not coddle such idiots, if they cannot track 3 files they should not be configuring Linux. Okay, so I'm idiot and I should not be configuring Linux? No. I just have too

Re: [DOC] Debugging early kernel hangs

2000-09-25 Thread Pavel Machek
Hi! However, there's still a huge gap between the last progress() message and availability of the frame buffer device. The simple console has the advantage of outputing existing printk messages. (basically, it's a console using prom_printf). Something I forgot to mention about

Re: 3c59x NIC overruns with multicast makes networking freeze

2000-09-26 Thread Pavel Machek
Hi! The NIC has an 8 kbyte on-board FIFO, some of which (3-5k) is used for buffering incoming data. An Rx overrun occurs when that on-board FIFO has filled up, and more data needs to go into it. It shouldn't fill up. This can be caused by Well, it certainly can fill up (fbcon disabling

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-26 Thread Pavel Machek
Hi! Sep 21 23:55:44 fs1 kernel: hdb: timeout waiting for DMA Sep 21 23:55:44 fs1 kernel: hdb: irq timeout: status=0xd0 { Busy } Sep 21 23:55:44 fs1 kernel: hda: DMA disabled Perhaps some timeouts are not set correctly or the specs include some errors, but it is very strange

Re: the new VM

2000-09-26 Thread Pavel Machek
Hi! i talked about GFP_KERNEL, not GFP_USER. Even in the case of GFP_USER i My bad, you're right I was talking about GFP_USER indeed. But even GFP_KERNEL allocations like the init of a module or any other thing that is static sized during production just checking the retval looks be ok.

Re: Bad quality of maestro playback still in -test8s

2000-09-27 Thread Pavel Machek
Hi! Are you using esd? Some soundcards (the drivers) are intolerant of data being No esd, sorry. Just pure splay. Pavel -- The best software in life is free (not shareware)! Pavel GCM d? s-: !g p?:+ au- a--@ w+ v-

Re: Linux boots on Wildfire^WGS320!

2000-09-29 Thread Pavel Machek
Hi! Well, I'm finally getting around to sending out this announcement. As can be seen on www.alphanews.net, we've managed to boot Linux on an AlphaServer GS320. The only caveats are that one of the CPUs was out of the system at the time (hence 31 CPUs, not 32), and that we haven't yet

Re: We interrupt you regularly scheduled catfight for.. Linux 2.2.18pre13

2000-10-02 Thread Pavel Machek
Hi! Where does the idea that the kernel 'needs' a special compiler come from ? I have been under the impression that that is just Mostly from the sad fact that it does. what we were trying to get away from . I am reminded of other os's that required their

Re: SCO: thread creation is about a thousand times faster than on

2000-09-01 Thread Pavel Machek
Hi! * podfuk is has file granularity I could see it working with some kind of directory format, however.] Yep. And quite a few mailreaders can work with that. I'm less than sure that CODA's local caching is appropriate, though. More RPC-oriented stub CODA's local caching is pretty

Re: Weightless process class

2000-10-05 Thread Pavel Machek
Hi! A process can't grab a kernel lock and then switch back to user mode, can it?(if it could, I can imagine some nasty DoS attacks...) Problem is, when we decide to schedule in a process or not, we know the process was last stuck in schedule() ... in kernel mode ;( I'd love to be

Re: 2.4.0-test9-pre8

2000-10-06 Thread Pavel Machek
Hi! * Following a suggestion from Jeff Garzik to save the disk from heavy trashing during my mem=8M test, I've tried to use a ramdisk for swapping - Yes, I know, this is pretty stupid in normal use and might even be illegal (i.e. not expected to work by design). Anyway, I've tried

Re: 2.4.0-test9-pre8

2000-10-06 Thread Pavel Machek
Hi! Swapping to /dev/loop* probably can not work. Probably not no ... we really need to rework /dev/loop into an md-like thing ;) Swapping to file on nfs does not work. Any fundamental reasons, or is this in the "fixable" category? If it is fixable, I'd like to fix it ;) (but I

Re: Adding vendor drivers...

2000-10-07 Thread Pavel Machek
Hi! So, when a vendor has to add a new driver, especially with the new-style makefiles, you have a one-line patch to a makefile, a one-line patch to a Config.in, and a patch which adds the driver to the tree. It would make adding new drivers to vendor kernel packages a whole lot easier

Re: one-line umount patch needed for am-utils

2000-10-07 Thread Pavel Machek
Hi! It's kind of silly and an abuse of the VFS, I agree. Unfortunately, it's been around for a while, it works on other systems and real people are using it. And they get a nasty surprise when they try it on Linux: the amd-provided NFS filesystems cannot be unmounted, because the VFS

Re: Updated 2.4 TODO List

2000-10-15 Thread Pavel Machek
Hi! 7. Obvious Projects For People (well if you have the hardware..) * Make syncppp use new ppp code * Fix SPX socket code USB: plusb is b0rken. Pavel -- I'm [EMAIL PROTECTED] "In my country we have almost anarchy

  1   2   3   4   5   6   7   8   9   10   >