Re: [PATCH] devfs v181 available

2001-06-18 Thread Alexander Viro
On Mon, 18 Jun 2001, Richard Gooch wrote: - Widened locking in devfs_readlink and devfs_follow_link No, you hadn't. Both vfs_readlink() and vfs_follow_link() are blocking functions, so BKL is worthless there. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH] devfs v181 available

2001-06-18 Thread Richard Gooch
Alexander Viro writes: On Mon, 18 Jun 2001, Richard Gooch wrote: - Widened locking in devfs_readlink and devfs_follow_link No, you hadn't. Both vfs_readlink() and vfs_follow_link() are blocking functions, so BKL is worthless there. Huh? The BKL will protect against other operations

very strange (semi-)lockups in 2.4.5

2001-06-18 Thread Pozsar Balazs
Hi all. 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 stop (eg, gpm

Re: [PATCH] devfs v181 available

2001-06-18 Thread Alexander Viro
On Mon, 18 Jun 2001, Richard Gooch wrote: Alexander Viro writes: On Mon, 18 Jun 2001, Richard Gooch wrote: - Widened locking in devfs_readlink and devfs_follow_link No, you hadn't. Both vfs_readlink() and vfs_follow_link() are blocking functions, so BKL is worthless

initrd question

2001-06-18 Thread Kelledin Tane
Concerning the new way initrd works in 2.4... I'm trying to get the system to the point where I can free the memory used by the initrd. I'm quite well aware of how to do this in a bash script, but I want to know how to do the same from a C program. Currently, something's keeping /dev/ram0 busy,

Re: any good diff merging utility?

2001-06-18 Thread Geert Uytterhoeven
On Mon, 18 Jun 2001, Ivan Vadovic wrote: I like to build kernels with a bunch of patches on top to test new stuff. The problem is that it takes a lot of effort to fix all the failed hunks during patching that really wouldn't have to be failed if only patch was a little more

function of getname() function

2001-06-18 Thread SATHISH.J
Hi, Sorry if this question is too silly. I could not understand what getname(filename) function in the sys_open() function is doing. I could not understand from the code what exactly it is doing. Please help me with the same. Thanks in advance, Regards, sathish - To unsubscribe from this

Re: function of getname() function

2001-06-18 Thread Alexander Viro
On Mon, 18 Jun 2001, SATHISH.J wrote: Hi, Sorry if this question is too silly. I could not understand what getname(filename) function in the sys_open() function is doing. I could not understand from the code what exactly it is doing. Please help me with the same. It allocates a

Re: function of getname() function

2001-06-18 Thread Tigran Aivazian
Hi Sathish, The function of getname() is to allocate some (kernel-space) memory for the userspace-passed filename and copy it from user space to kernel space. Regards, Tigran On Mon, 18 Jun 2001, SATHISH.J wrote: Hi, Sorry if this question is too silly. I could not understand what

Reg:current a pointer to task_struct

2001-06-18 Thread SATHISH.J
Hi, Please help me with the following: I tried to go through get_current function which is in assembly. static inline struct task_struct * get_current(void) { struct task_struct *current; __asm__(andl %%esp,%0; :=r (current) : 0 (~8191UL)); return current; } Please

Memory leak in 2.4.5??

2001-06-18 Thread Alexander Puchmayr
Hi folks! When I try to copy large files (let say some iso-image or disk image) over the network (regardless if nfs, ftp, whatever), the system starts to swap until it stucks - RESET required. It is impossible for me to get one large 300MB file to my local harddrive!! Observations I made: *

Reg putname() function

2001-06-18 Thread SATHISH.J
Hi, Can anybody please tell me what the following assembly code means: Tne function put_unused_fd() does FD_CLR() to clear the file descriptor allocated in case file pointer could not be got. Before returning -1 as file descriptor it goes to put_unused_fd() which calls FD_CLR() which is as

Re: eepro100 problems with 2.2.19 _and_ 2.4.0

2001-06-18 Thread Jeff Chua
On Sun, 17 Jun 2001, Christian Robottom Reis wrote: Try to add options eepro100 options=0 to your /etc/modules.conf to default the speed to 10Mbps if you're using 10BaseT. I'm not using modules for this driver (can't see the point, really); does this fix anything if I change it to 0x20

Linux 2.2.20pre3

2001-06-18 Thread Alan Cox
Linux 2.2 is now firmly into maintainance state. Patches for neat new ideas belong in 2.4. Generally new drivers belong in 2.4 (possibly in 2.2 as well after 2.4 shows them stable). Expect me to be very picky on changes to the core code now. 2.2.20pre3 o FPU/ptrace corruption fixes

Re: Newbie idiotic questions.

2001-06-18 Thread Roman Zippel
Hi, On Sun, 17 Jun 2001, Alexander Viro wrote: typeof? It's rather popular in the kernel already. Besides, who is going to Really? 5 instances in PPC arch-specific code, 1 (absolutely gratitious) in drivers/mtd, 2 - in m68k (also useless), 4 - in drivers/video, 2 - in AFFS and 1 - in

Re: Newbie idiotic questions.

2001-06-18 Thread Alexander Viro
On Mon, 18 Jun 2001, Roman Zippel wrote: I wouldn't call it rather popular. You should also grep for '__typeof__'. :-) Yeeeccchhh. OK, there is more of that. However, the main user of that beast is, AFAICS, get_user()/put_user() and their ilk in include/asm-* The rest looks very bogus...

Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread German Gomez Garcia
Hello, I've running 2.4.5-ac15 for almost a day (22 hours) and I found some strange behaviour of the kswap, at least it was not present in 2.4.5-ac9. The swap memory increase with time as the cache dedicated memory also increase, that is swapping process at a very fast rate, even

Bugs in Round Robin ??

2001-06-18 Thread Philippe . LAFFONT
I currently experiment some problem with the Round Robin policy that doesn't seem to work in V2.2.13 . In RR each process should have the same time slice for its own execution ie should have acces to the processor for (almost) the same period of time. Thus each

Re: 2.4 VM swap question

2001-06-18 Thread root
Regarding to the discussion on the swap size, Recently, Rick van Riel posted a message that there is a bug related to reclaiming the swap, and said that it is on his TODO list. If I believe it, the current trouble we have regarding to the swap size is not because we do not have a sufficient

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread Jan Hudec
TCP is NOT a guaranteed protocol -- you can't just blast data from one port to another and expect it to work. Isn't it? Are you really sure about that? I thought UDP was the not-guaranteed-one and TCP was the one guaranting that all data reaches the other end in order and all. Please

i810 audio problem

2001-06-18 Thread Delio Brignoli
Switching from 2.4.2 to 2.4.5 breaks i810_audio on my intel MX440 based notebook: After some (in fact a few) seconds of playback it gets stuck until the app closes and reopens /dev/dsp. (I do NOT use esd) I tried 2.4.4 and 2.4.5 (and the ac patches on both) but it does't work anyway. Jun 18

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 12:14:01PM +0200, German Gomez Garcia wrote: Hello, I've running 2.4.5-ac15 for almost a day (22 hours) and I found some strange behaviour of the kswap, at least it was not present in 2.4.5-ac9. The swap memory increase with time as the cache dedicated

New Linux Drivers - Configure question

2001-06-18 Thread Modular Forms Boy
I am working on a new framebuffer driver for an LCD controller that's custom to the PowerPC embedded world. As such, it's architecture dependent. Where should I place the driver in the tree, and how should I set up the proper Configure options? Where do I put checks for #ifdef

pivot_root from non-interactive script

2001-06-18 Thread Ralph Jones
Greetings, I have followed the instructions given in Documentation/initrd.txt with regard to pivot_root, but am unable to unmount the filesystem, when everything is called from a non-interactive script. ie. When I set a link from linuxrc to /bin/ash and then manually go through the commands

Re: Linux/PPC maintainer changing

2001-06-18 Thread Paul Mackerras
Cort has put in an enormous amount of time and effort into maintaining the PowerPC port of Linux over the past 5 or 6 years, and I for one would like to acknowledge that publicly and thank him for that. It has not always been an easy task, I know, because there are a wide range of opinions

Unresolved symbol do_softirq in 2.4.6-pre3

2001-06-18 Thread Anuradha Ratnaweera
Hi all, I started running 2.4.6-pre3 using the same configuration file as 2.4.5. Diff shows no effective differences between two config files. depmod complains unresolved symbols (do_softirq) in ppp_generic, ppp_async and sunrpc. do_softirq is listed in System.map-2.4.6-pre3. I started with

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread German Gomez Garcia
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: On Mon, Jun 18, 2001 at 12:14:01PM +0200, German Gomez Garcia wrote: Hello, I've running 2.4.5-ac15 for almost a day (22 hours) and I found some strange behaviour of the kswap, at least it was not present in 2.4.5-ac9. The swap

Re: New Linux Drivers - Configure question

2001-06-18 Thread Chakir Ettayebi
yes On Mon, 18 Jun 2001, Modular Forms Boy wrote: I am working on a new framebuffer driver for an LCD controller that's custom to the PowerPC embedded world. As such, it's architecture dependent. Where should I place the driver in the tree, and how should I set up the proper

Re: Can't free the ramdisk (initrd, pivot_root)

2001-06-18 Thread Ralph Jones
On Sun Apr 15 2001 - 15:57:52, EST Amit D Chaudhary ([EMAIL PROTECTED]) wrote: On the same topic, I have not found any change in free memory reported before and after the ioctl call. Though umount /initrd does free around 2 MB. I have found the same thing - that umount /initrd seems to

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Luigi Genoni
On Mon, 18 Jun 2001, German Gomez Garcia wrote: On Mon, 18 Jun 2001, Andrea Arcangeli wrote: On Mon, Jun 18, 2001 at 12:14:01PM +0200, German Gomez Garcia wrote: Hello, I've running 2.4.5-ac15 for almost a day (22 hours) and I found some strange behaviour of the kswap, at

Re: [docPATCH] mm.h documentation

2001-06-18 Thread Pete Wyckoff
[EMAIL PROTECTED] said: typedef struct page { [..] + unsigned long index;/* Our offset within mapping. */ [..] + * A page may belong to an inode's memory mapping. In this case, + * page-mapping is the pointer to the inode, and page-offset is the + * file offset of the page

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Rik van Riel
On Mon, 18 Jun 2001, German Gomez Garcia wrote: I've running 2.4.5-ac15 for almost a day (22 hours) and I found some strange behaviour of the kswap, at least it was not present in 2.4.5-ac9. The swap memory increase with time as the cache dedicated memory also increase, that is

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Rik van Riel
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: either apply this patch to 2.4.5ac15: ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.5aa3/00_fix-unusable-vm-on-alpha-1 That one has already been fixed in -pre3 and I think also in -ac14+ kernels (haven't verified

Re: APM, ACPI, and Wake on LAN - the bane of my existance

2001-06-18 Thread Alex Deucher
Pavel Machek wrote: Hi! anything. So I removed the three pin cross connect that connects the card to the WOL header on the motherboard. That fixed it for a few days, but now it's doing it again, even without the cable installed. the only fix is to unplug the ethernet cable when I

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 03:34:43PM +0200, Luigi Genoni wrote: Maybe there could be some HW related reason because of which it fixed for yes, most probably he didn't had any zone empty so the fix couldn't make a difference for him. German, can you confirm? (if you don't know what it means just

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 10:37:21AM -0300, Rik van Riel wrote: Yes, this is expected behaviour with -ac14, -pre3 and newer. If that means anything that doesn't happen here based on pre3. Andrea - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: your mail

2001-06-18 Thread Jan Hudec
So it seems that PnP finds the card, but the connections (or even the forced values) to the sb module fail. Back when this was a single processor machine, but still running 2.4 kernel, a windoze installation found the SB at the listed interface parameters. Anyone have a solution?

Re: pivot_root from non-interactive script

2001-06-18 Thread Andreas Schwab
Ralph Jones [EMAIL PROTECTED] writes: | I have followed the instructions given in Documentation/initrd.txt with regard to |pivot_root, but am unable to unmount the filesystem, when everything is called from a |non-interactive script. | | ie. When I set a link from linuxrc to /bin/ash and

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 10:43:14AM -0300, Rik van Riel wrote: On Mon, 18 Jun 2001, Andrea Arcangeli wrote: either apply this patch to 2.4.5ac15: ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.5aa3/00_fix-unusable-vm-on-alpha-1 That one has already been

Re: Unresolved symbol do_softirq in 2.4.6-pre3

2001-06-18 Thread Mohammad A. Haque
On Mon, 18 Jun 2001, Anuradha Ratnaweera wrote: I started running 2.4.6-pre3 using the same configuration file as 2.4.5. Diff shows no effective differences between two config files. depmod complains unresolved symbols (do_softirq) in ppp_generic, ppp_async and sunrpc. Please check the

Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavior]

2001-06-18 Thread Daniel Phillips
On Sunday 17 June 2001 12:05, Mike Galbraith wrote: It _juuust_ so happens that I was tinkering... what do you think of something like the below? (and boy do I ever wonder what a certain box doing slrn stuff thinks of it.. hint hint;) It's too subtle for me ;-) (Not shy about sying that

problem with write() to a socket and EPIPE

2001-06-18 Thread oliver . kowalke
Hello, I've the following problem. If the peer has closed its socket connection the second write to this socket should return -1 and errno should be set to EPIPE (if SIGPIPE is set to be ignored). This never happens with my code. Why? OS: Linux (Debian 2.2r3) kernel: 2.4.4 compiler:

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Rik van Riel
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: which is now a lot closer to being balanced. It's not a bug, wrong, that was a core showstopper bug and it renders any machine with a zone empty unusable. (it has nothing to do with beauty or stats) YOUR PATCH fixes a real bug, true. But that

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 11:54:09AM -0300, Rik van Riel wrote: YOUR PATCH fixes a real bug, true. But that wasn't what German was complaining about ;) How did you know that before he made his first reply to my email? Andrea - To unsubscribe from this list: send the line unsubscribe

Error in documentation?

2001-06-18 Thread Geoffrey Gallaway
linux/Documentation/modules.txt says that I should find my modules in linux/modules after running make modules. However, this is apparently not true as I see no modules directory. I am trying to compile a kernel with lots of modules for a machine without a network connection. To move the

Re: [PATCH] devfs v181 available

2001-06-18 Thread Richard Gooch
Alexander Viro writes: On Mon, 18 Jun 2001, Richard Gooch wrote: Alexander Viro writes: On Mon, 18 Jun 2001, Richard Gooch wrote: - Widened locking in devfs_readlink and devfs_follow_link No, you hadn't. Both vfs_readlink() and vfs_follow_link() are blocking functions, so BKL

Re: Unresolved symbol do_softirq in 2.4.6-pre3

2001-06-18 Thread Jeff Chua
On Mon, 18 Jun 2001, Mohammad A. Haque wrote: On Mon, 18 Jun 2001, Anuradha Ratnaweera wrote: I started running 2.4.6-pre3 using the same configuration file as 2.4.5. Diff shows no effective differences between two config files. depmod complains unresolved symbols (do_softirq) in

Re: problem with write() to a socket and EPIPE

2001-06-18 Thread Richard B. Johnson
On Mon, 18 Jun 2001 [EMAIL PROTECTED] wrote: Hello, I've the following problem. If the peer has closed its socket connection the second write to this socket should return -1 and errno should be set to EPIPE (if SIGPIPE is set to be ignored). This never happens with my code. Why?

[PATCH] Support for SRM environment variables through procfs

2001-06-18 Thread Jan-Benedict Glaw
Hi! I've found a patch on Compaq's Jumpstart-CD which provides access to SRM'S environment variables. I've ported that patch to 2.4.x and here's the patch. Please test it. However, I've not got an Alpha system booting via SRM handy so this patch is untested:-( MfG, JBG -- Fehler eingestehen,

ipchains

2001-06-18 Thread Ted Gervais
I just ran into something odd. To me anyways, it was odd. I just installed and brought up kernel 2.4.5 and my ipchains failed. So I upgraded to the latest (that I could find) ipchains-1.3.10, and that also fails. Has anyone got any version of ipchains to work with the new(er) kernels? --- Doubt

Re: Error in documentation?

2001-06-18 Thread Steven Walter
It does appear that the documentation regarding this is out of date. However, you can still install modules to a given location by: INSTALL_MOD_PATH=/path/to/modules make modules_install Had to dig through the Makefile for that, though it may actually be documented somewhere. On Mon, Jun 18,

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread dean gaudet
On Mon, 18 Jun 2001, Jan Hudec wrote: Btw: can the aplication somehow ask the tcp/ip stack what was actualy acked? (ie. how many bytes were acked). no, but it's not necessarily a useful number anyhow -- because it's possible that the remote end ACKd bytes but the ACK never arrives. so you

Re: ipchains

2001-06-18 Thread Fabian Arias
ronto:~# uname -r 2.4.5-ac15 ronto:~# ipchains --version ipchains 1.3.10, 1-Sep-2000 ronto:~# ipchains -L Chain input (policy ACCEPT): target prot opt sourcedestination ports DENY all l- pD951B780.dip.t-dialin.net anywhere n/a DENY all l-

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Rik van Riel
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: On Mon, Jun 18, 2001 at 11:54:09AM -0300, Rik van Riel wrote: YOUR PATCH fixes a real bug, true. But that wasn't what German was complaining about ;) How did you know that before he made his first reply to my email? Because he started the

Re: ps2 keyboard filter hook

2001-06-18 Thread Dan Streetman
I find it very odd indeed with IBM's big voice of open source praise, yada yada, and what Lou has said in the past, that there would be any question at all of wether it would be open source or not. Isn't big blue behind open source? Or is it just for publicity? Makes me wonder now... Yes,

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread Jonathan Morton
Btw: can the aplication somehow ask the tcp/ip stack what was actualy acked? (ie. how many bytes were acked). no, but it's not necessarily a useful number anyhow -- because it's possible that the remote end ACKd bytes but the ACK never arrives. so you can get into a situation where the

Re: [PATCH] devfs v181 available

2001-06-18 Thread Alexander Viro
On Mon, 18 Jun 2001, Richard Gooch wrote: Irrelevant. BKL provides an exclusion only on non-blocking areas. Yeah, I know all that. So what the hell are you talking about? _Moved_ them there from the callers of these functions. And AFAICS you do need BKL for get_devfs_entry_...();

Re: Simple example of using slab allocator?

2001-06-18 Thread Andreas Dilger
Matthew Dharm writes: For 2.5, I'm planning on switching my driver over to the slab allocator, for a variety of reasons. Does anyone have a _dead_ simple example of how to use such a beast? I've seen the various web pages and document explaining the API, but I love to see working examples

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 01:44:29PM -0300, Rik van Riel wrote: On Mon, 18 Jun 2001, Andrea Arcangeli wrote: On Mon, Jun 18, 2001 at 11:54:09AM -0300, Rik van Riel wrote: YOUR PATCH fixes a real bug, true. But that wasn't what German was complaining about ;) How did you know that

Re: ipchains

2001-06-18 Thread D. Stimits
Ted Gervais wrote: I just ran into something odd. To me anyways, it was odd. I just installed and brought up kernel 2.4.5 and my ipchains failed. So I upgraded to the latest (that I could find) ipchains-1.3.10, and that also fails. Has anyone got any version of ipchains to work with the

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

2.2.20pre3aa1

2001-06-18 Thread Andrea Arcangeli
Diff between 2.2.20pre2aa1 and 2.2.20pre3aa1 (besides moving on top of 2.2.20pre3 that notably fixes the ptrace local DoS races): Only in 2.2.20pre2aa1: 00_andi-mark_bh-1 Merged in 2.2.20pre3. Only in 2.2.20pre3aa1:

Re: Looking for ifenslave.c

2001-06-18 Thread Thomas Davis
PALFFY Daniel wrote: On Thu, 14 Jun 2001, Thomas Davis wrote: Guus, there isn't a really official version of it.. At http://pdsf.nersc.gov/linux/ifenslave.c is the last version I produced, that works with bonding in v2.2 and v2.4 kernels. Guus Sliepen wrote: Hello,

Re: getrusage vs /proc/pid/stat?

2001-06-18 Thread Pete Wyckoff
[EMAIL PROTECTED] said: I'd like to monitor CPU, memory, and I/O utilization in a long-running multithreaded daemon under kernels 2.2, 2.4, and possibly also Solaris (#ifdefs are ok). getrusage() looked promising, and might even work for CPU utilization. Dunno if it returns info for all

[PATCH] 2.4.4 PCI FBB

2001-06-18 Thread Grant Grundler
Hi Ivan, Jeff, Appended is the 2.4.4 patch for PCI Fast Back-Back (FBB) support. Could you please review/comment on it? Some caveats/notes: o Since I'm on the road (visiting relatives in Germany mostly, currently in Zurich), I'm only able to verify it boots on my Omnibook 800. PA-RISC port

Re: sis630 - help needed debugging in the kernel

2001-06-18 Thread René Rebe
On Sun, 17 Jun 2001 07:03:55 -0700 (PDT) James Simmons [EMAIL PROTECTED] wrote: [...] Yes. It oops in fbcon_cfb8_putc. I haven't figured out yet what exactly caused it. I don't have this card to play with :-( Did you run the other test I suggested. Never arrived here :-(. (Pleas cc me,

HTFS (SCO OpenServer 5) filesystem support

2001-06-18 Thread Andrzej Dereszowski
Hello If someone wants to mount HTFS (SCO Open Server 5) filesystem (read-only), here is a module to allow this: http://deresz.dhs.org/~deresz/filesystems/htfs_fs/htfs_fs-0.01alpha.tar.bz2 deresz -- [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH] devfs v181 available

2001-06-18 Thread Richard Gooch
Alexander Viro writes: On Mon, 18 Jun 2001, Richard Gooch wrote: Irrelevant. BKL provides an exclusion only on non-blocking areas. Yeah, I know all that. So what the hell are you talking about? Never mind. We seem to be talking at cross purposes. We both know how the BKL works

[patch] smbfs-2.4.6-pre3 - win95 flush NetApp lastname

2001-06-18 Thread Urban Widmark
Hej A less painful workaround than what I added during 2.4.5-pre for the win9x-lies-about-filesizes-on-open-files problem. Replaces constant flush'es with seek to end, and only when necessary. Also, a fix where smbfs doesn't follow protocol and fails to return 'lastname' for all infolevels,

[OT] Re: ipchains

2001-06-18 Thread J Sloan
Ted Gervais wrote: I just ran into something odd. To me anyways, it was odd. I just installed and brought up kernel 2.4.5 and my ipchains failed. So I upgraded to the latest (that I could find) ipchains-1.3.10, and that also fails. Has anyone got any version of ipchains to work with the

Re: very strange (semi-)lockups in 2.4.5

2001-06-18 Thread Pozsar Balazs
First I thought this was an X-issue, but now I'm 100% sure that it isn't, as I met the desscribed hangup while working on the console too. The NMI card would be interesting, if anyone tells me how to make one, and how to patch the kernel to show useable information i'm looking forward to do it,

2.4.5-ac15 -- Unresolved symbols gameport_register_port andgameport_unregister_port in char/joystick/[cs461x.o, emu10k1-gp.o,lightning.o, ns558.o, pcigame.o]

2001-06-18 Thread Miles Lane
I don't know if this is due to symbols not being exported or due to some failed dependency structuring in make menuconfig. find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.5-ac15; fi depmod: *** Unresolved

Re: sis630 - help needed debugging in the kernel

2001-06-18 Thread Paul Mundt
On Mon, Jun 18, 2001 at 08:32:03PM +0200, René Rebe wrote: Try booting at 640x480 with a color depth of 32. Then try booting at a different resolution (1024x768) at the default color depth. I want to see if its a error with the resolution setting or if it is a error with setting up the

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread German Gomez Garcia
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: On Mon, Jun 18, 2001 at 05:35:54PM +0200, German Gomez Garcia wrote: On Mon, 18 Jun 2001, Andrea Arcangeli wrote: On Mon, Jun 18, 2001 at 04:41:02PM +0200, German Gomez Garcia wrote: so, if there is another way to get that info (maybe some

Re: eepro100 problems with 2.2.19 _and_ 2.4.0

2001-06-18 Thread Andrey Savochkin
On Sun, Jun 17, 2001 at 12:40:34AM -0300, Christian Robottom Reis wrote: I am _very_ willing to devote some time to getting this fixed in both the kernel and Donald's drivers if anyone is interested in tracking down the problem. I'm not very familiar with the hardware, but I have a test box

Re: [OT] Re: ipchains

2001-06-18 Thread Ted Gervais
On Mon, 18 Jun 2001, J Sloan wrote: I just ran into something odd. To me anyways, it was odd. I just installed and brought up kernel 2.4.5 and my ipchains failed. So I upgraded to the latest (that I could find) ipchains-1.3.10, and that also fails. Has anyone got any version of

Re: Linux/VAX booting to a shell.

2001-06-18 Thread Pavel Machek
Hi! Hi all, (mind crossposts on follow ups..) attached below is a bootlog from the Linux/VAX port, booting up, loading up busybox/uClibc sh and cat /proc/cpuinfo, from my VAXStation 3100m38, Thanks to the other two members of the core VAX porting team, Andy Phillips and Kenn Humborg and

Re: sis630 - help needed debugging in the kernel

2001-06-18 Thread René Rebe
On Mon, 18 Jun 2001 12:28:00 -0700 Paul Mundt [EMAIL PROTECTED] wrote: [...] Yep, in fbmem.c the name entry is sisfb as opposed to just sis. Also, the driver requires that the mode is passed video a mode: argument as is outlined in the sisfb_setup(). Take a look at

Why can't I flush /dev/ram0?

2001-06-18 Thread Kelledin Tane
At this point, I'm trying to get an initrd working properly. So far, it works, the system boots, etc. etc., but whenever I try to do a blockdev --flushbufs /dev/ram0, I get device or resource busy When I mount the filesystem to check it out, nothing appears to have anything open on the

Re: getrusage vs /proc/pid/stat?

2001-06-18 Thread Dan Kegel
Pete Wyckoff wrote: [EMAIL PROTECTED] said: I'd like to monitor CPU, memory, and I/O utilization in a long-running multithreaded daemon under kernels 2.2, 2.4, and possibly also Solaris (#ifdefs are ok). getrusage() isn't really the system call you want for this. I'll buy that.

Re: Linux/VAX booting to a shell.

2001-06-18 Thread Aaron Lehmann
On Sun, Jun 17, 2001 at 11:11:29PM +0200, Pavel Machek wrote: Congratulations. (This is pretty big machine, for the VAX, no? When was it build? How much power does it take?) Nah, it's a VAXstation. http://www.mcmanis.com/chuck/computers/vaxen/buildvax.html - To unsubscribe from this list:

Re: Why can't I flush /dev/ram0?

2001-06-18 Thread Richard B. Johnson
On Mon, 18 Jun 2001, Kelledin Tane wrote: At this point, I'm trying to get an initrd working properly. So far, it works, the system boots, etc. etc., but whenever I try to do a blockdev --flushbufs /dev/ram0, I get device or resource busy When I mount the filesystem to check it out,

Re: Why can't I flush /dev/ram0?

2001-06-18 Thread Kelledin Tane
If you have a directory called /initrd, in your root file-system, you may find that the old initrd is still mounted: Script started on Mon Jun 18 17:22:20 2001 # ls /initrd bin dev etc lib linuxrc sbin # umount /initrd # ls /initrd # exit exit Script done on Mon Jun 18 17:22:44

What happened to lookup_dentry?

2001-06-18 Thread Timur Tabi
I'm porting a driver from 2.2 to 2.4, and this driver calls lookup_dentry, which doesn't exist in 2.4. I've read through the source code and searched the web and newsgroups, and I can't find any explanation as to why lookup_dentry no longer exists or how I'm supposed to change code that uses it.

Re: Why can't I flush /dev/ram0?

2001-06-18 Thread Jan Rekorajski
On Mon, 18 Jun 2001, Kelledin Tane wrote: At this point, I'm trying to get an initrd working properly. So far, it works, the system boots, etc. etc., but whenever I try to do a "blockdev --flushbufs /dev/ram0", I get "device or resource busy" When I mount the filesystem to check it out,

Re: sis630 - help needed debugging in the kernel

2001-06-18 Thread James Simmons
Is there another way to tell the fb driver what mode to use?? Yep, in fbmem.c the name entry is sisfb as opposed to just sis. Agh!!! That needs to be fixed. Also, the driver requires that the mode is passed video a mode: argument as is outlined in the sisfb_setup(). Take a look at

Re: sis630 - help needed debugging in the kernel

2001-06-18 Thread Paul Mundt
On Mon, Jun 18, 2001 at 02:58:17PM -0700, James Simmons wrote: Yep, in fbmem.c the name entry is sisfb as opposed to just sis. Agh!!! That needs to be fixed. I've already fixed it in ruby.. Regards, -- Paul Mundt [EMAIL PROTECTED] - To unsubscribe from this list: send the line

Re: Why can't I flush /dev/ram0? (fwd)

2001-06-18 Thread Scott Murray
Linus, Any chance you can finally merge this fix or suggest what better one you are looking for? When this bug bit me in early April, an investigation showed that this particular fix has been in the ac kernels since last November. Thanks, Scott -- Scott Murray SOMA Networks, Inc. Toronto,

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread dean gaudet
On Mon, 18 Jun 2001, Jonathan Morton wrote: Btw: can the aplication somehow ask the tcp/ip stack what was actualy acked? (ie. how many bytes were acked). no, but it's not necessarily a useful number anyhow -- because it's possible that the remote end ACKd bytes but the ACK never

gnu asm help...

2001-06-18 Thread Raj, Ashok
Hello asm gurus.. I need a simple (??) change to atomic_inc() functionality. so that i can increment and return the value of the variable. current implementation in linux/include/asm/atomic.h does not do this job. any help would be greatly appreciated. ashokr from atomic.h also if there

Re: gnu asm help...

2001-06-18 Thread Erik Mouw
On Mon, Jun 18, 2001 at 03:56:50PM -0700, Raj, Ashok wrote: i can understand what the LOCK incl %0 means.. but not sure what the rest is for. thanks ashokr static __inline__ void atomic_inc(atomic_t *v) { __asm__ __volatile__( LOCK incl %0 :=m (v-counter)

Re: gnu asm help...

2001-06-18 Thread Timur Tabi
** Reply to message from Raj, Ashok [EMAIL PROTECTED] on Mon, 18 Jun 2001 15:56:50 -0700 also if there is any reference to the gnu asm symtax, please send me a pointer.. There's lots i can understand what the LOCK incl %0 means.. but not sure what the rest is for. LOCK just means the

[SMP] 2.4.5-ac13 deadlocked?

2001-06-18 Thread Bob Glamm
I've got a strange situation, and I'm looking for a little direction. Quick summary: I get sporadic lockups running 2.4.5-ac13 on a ServerWorks HE-SL board (SuperMicro 370DE6), 2 800MHz Coppermine CPUs, 512M RAM, 512M+ swap. Machine has 8 active disks, two as RAID 1, 6 as RAID 5. Swap is on

Iptables ipt_unclean bug?

2001-06-18 Thread Kajtr Zsolt
Hi all! I think it's possible to hang the kernel useing isic 0.05 (www.packetfactory.net/Projects/ISIC/), when there's a unclean match in iptables rules. Example: (somewhere on target:) iptables -A INPUT -m unclean --match unclean -j DROP (on local machine:) # isic -s rand -d target.ip

Re: gnu asm help...

2001-06-18 Thread Petr Vandrovec
On 18 Jun 01 at 18:20, Timur Tabi wrote: You want to return the variable? Try this: static __inline__ unsigned long atomic_inc(atomic_t *v) { __asm__ __volatile__( LOCK incl %0 :=m (v-counter) :m (v-counter)); return v-counter; } No. Another CPU

Re: What happened to lookup_dentry?

2001-06-18 Thread Alexander Viro
On Mon, 18 Jun 2001, Timur Tabi wrote: I'm porting a driver from 2.2 to 2.4, and this driver calls lookup_dentry, which doesn't exist in 2.4. I've read through the source code and searched the web and newsgroups, and I can't find any explanation as to why lookup_dentry no longer exists or

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread Jonathan Morton
Btw: can the aplication somehow ask the tcp/ip stack what was actualy acked? (ie. how many bytes were acked). no, but it's not necessarily a useful number anyhow -- because it's possible that the remote end ACKd bytes but the ACK never arrives. so you can get into a

Re: i810 audio problem

2001-06-18 Thread Michael
Delio Brignoli [EMAIL PROTECTED] writes: Switching from 2.4.2 to 2.4.5 breaks i810_audio on my intel MX440 based notebook: After some (in fact a few) seconds of playback it gets stuck until the app closes and reopens /dev/dsp. (I do NOT use esd) [..] It goes on until I kill the app, then

Re: Why can't I flush /dev/ram0?

2001-06-18 Thread Kelledin Tane
When I mount the filesystem to check it out, nothing appears to have anything open on the filesystem. So why am I not able to flush it clean? Because of a bug present in Linus tree. Try this patch: Thanks, that seems to have fixed it. There's something else I'm curious about though...

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread dean gaudet
On Tue, 19 Jun 2001, Jonathan Morton wrote: Btw: can the aplication somehow ask the tcp/ip stack what was actualy acked? (ie. how many bytes were acked). no, but it's not necessarily a useful number anyhow -- because it's possible that the remote end ACKd bytes but the

  1   2   3   >