RE: semaphores and noatomic flag

2001-06-04 Thread Anil Kumar
Will it not be a very specialized case rather than being general call type? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mihai Moise Sent: Monday, June 04, 2001 11:05 PM To: [EMAIL PROTECTED] Subject: semaphores and noatomic flag I write this to

Re: [PATCH] fs/devfs/base.c

2001-06-04 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Bill Pringlemeir <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > There was a discussion on comp.arch.embedded about bounded stack use. > It is fairly easy to calculate the stack usage for call trees, but > much more difficult for `DAGs'.

[PATCH] devfs v179 available

2001-06-04 Thread Richard Gooch
Hi, all. Version 179 of my devfs patch is now available from: http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html The devfs FAQ is also available here. Patch directly available from: ftp://ftp.??.kernel.org/pub/linux/kernel/people/rgooch/v2.4/devfs-patch-current.gz AND:

Speed to please all......

2001-06-04 Thread Andre Hedrick
beetle:/src/DiskPerf-1.0.5 # ./DiskPerf.rw /dev/hdb Device: Maxtor 5T020H2 Serial Number: T2J0HC0C LBA 0 DMA Read Test = 68.82 MB/Sec (3.63 Seconds) Outer Diameter Sequential DMA Read Test = 36.68 MB/Sec (6.81 Seconds) Inner Diameter Sequential DMA Read Test = 21.36 MB/Sec

Where can find document of RPC program in kernel.

2001-06-04 Thread hugang
Hello: I try to write a kernel modules with RPC (SUN Remote Procedure Call) ,Someone know where can find documents for it. thanks -- Best Regard! Àñ£¡ -- mail from: hugang [ºú¸Õ] mail : [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: Missing cache flush.

2001-06-04 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Chris Wedgwood <[EMAIL PROTECTED]> wrote: >On Mon, Jun 04, 2001 at 07:03:01PM -0700, David S. Miller wrote: > >The x86 doesn't have dumb caches, therefore it really doesn't >need to flush anything. Maybe a mb(), but that is it. > >What if the memory is

Re: Reg mkdir syscall

2001-06-04 Thread H. Peter Anvin
Followup to: By author:"SATHISH.J" <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > Actually I had written a small file system(on 2.2.14 kernel) similar to > RAMFS on 2.4 kernel. I am able to mount it but when I try to create >

Re: (lkml)2.4.5-ac7 usb-uhci appears twice in /proc/interrupts

2001-06-04 Thread thunder7
On Mon, Jun 04, 2001 at 03:07:56AM -0400, Pavel Roskin wrote: > Hello! > > I don't know, maybe it's Ok, but it looks confusing - usb-uhci is listed > twice on the same IRQ 9. > My Abit VP6 (VIA694) says in dmesg: usb.c: registered new driver hub uhci.c: USB UHCI at I/O 0xa000, IRQ 19 usb.c:

Re: Inconsistent "#ifdef __KERNEL__" on different architectures

2001-06-04 Thread Paul Mackerras
Adrian Bunk writes: > (my main concern wasn't whether the "#ifdef __KERNEL__" is correct or not > but I was wondering whether there's a reason why it's different on > different architectures) The only valid reason for userspace programs to be including kernel headers is to get definitions that

Re: TCP Connection lockup between 2.4.0 and 2.4.5

2001-06-04 Thread David S. Miller
Darryl Miles writes: > It appears the .218 end stops ACKing, even though it is obviously seeing > the data come in, since the TCPDUMP is from the .218 host. I've been > running 2.4.0 on 10.0.0.218 since 9th Jan and can't believe that this > problem is a bug in 2.4.0, since it was speaking

TCP Connection lockup between 2.4.0 and 2.4.5

2001-06-04 Thread Darryl Miles
Hi, 10.0.0.218 = Linux 2.4.0 SMP (tcp_timestamps, tcp_window_scaling and tcp_sack all turned off, this doesn't appear to be relevant, since the problem is just the same when they are turned on). 10.0.0.219 = Linux 2.4.5 UP It appears the .218 end stops ACKing, even though it is obviously

Re: gdb/ptrace problem

2001-06-04 Thread Mike Coleman
Stanislav Malyshev <[EMAIL PROTECTED]> writes: > Since installing 2.2.19, I have the following problem: each time I try to > attach to a running program with gdb, the result is: > > ptrace: Operation not permitted. > > and attaching fails. No problem with 2.2.18. Have I missed something? Any >

Re: Unit attention in USB storage

2001-06-04 Thread Andries . Brouwer
>> [things work better when "Unit Attention: not ready to ready transition" >> is not regarded as an error] > I suggest trying this with 2.4.5 -- several people report that kernel > works much better than previous ones with usb-storage. The details of the behaviour are a bit different, but the

Starfire driver updates

2001-06-04 Thread Ion Badulescu
Hi Jeff, The patch below updates the starfire driver to support zerocopy operations and adds full ethtool support. It also adds a small perl utility (already present in the -ac tree) people can use to generate the firmware header file from Adaptec's own Netware drivers. Please apply.. Thanks,

Comment on patch to remove nr_async_pages limit

2001-06-04 Thread Marcelo Tosatti
Zlatko, I've read your patch to remove nr_async_pages limit while reading an archive on the web. (I have to figure out why lkml is not being delivered correctly to me...) Quoting your message: "That artificial limit hurts both swap out and swap in path as it introduces synchronization

Tulip 0.9.15-pre3 - still no dice

2001-06-04 Thread Michal Jaegermann
A tulip driver 0.9.15-pre3, as included in 2.4.5-ac8, still does not work for me and I have to replace it with 0.9.14d (April 3, 2001) to get a functional network. Trying it with 'tulip_debug=3' option I see this: Linux Tulip driver version 0.9.15-pre3 (June 1, 2001) 00:0b.0: MWI config mwi=0,

Re: symlink_prefix

2001-06-04 Thread Ton Hospel
In article <[EMAIL PROTECTED]>, Hank Leininger <[EMAIL PROTECTED]> writes: > On 2001-06-03, [EMAIL PROTECTED] wrote: > >> Suppose I have devices /dev/a, /dev/b, /dev/c that contain the >> /, /usr and /usr/spool filesystems for FOO OS. Now >> mount /dev/a /mnt -o

Re: lowlatency 2.2.19

2001-06-04 Thread William Montgomery
On Mon, 4 Jun 2001, safemode wrote: > this is just a general question about low latency patches on 2.2, I > remember hearing about low latency patches for 2.4 not playing well with X > 4.x, is this true for 2.2 low latency patches as well? > Not sure. My testing uses XFree86 3.3.6. Wm

forcibly unmap pages in driver?

2001-06-04 Thread Dan Maas
I am writing a device driver that, like many others, exposes a shared memory region to user-space via mmap(). The region is allocated with vmalloc(), the pages are marked reserved, and the user-space mapping is implemented with remap_page_range(). In my driver, I may have to free the underlying

Re: Oops while unmounting a reiserfs partition

2001-06-04 Thread Hans Reiser
get patch from www.namesys.com, bug was added and fixed by viro, we just put the patch up while waiting for 2.4.6 to come out. Hans Mathieu Chouquet-Stringer wrote: > > Hello! > > I just mkreiserfsed a new partition (a 50g hardware raid0 array, I know > this is just a testing

Re: Missing cache flush.

2001-06-04 Thread David S. Miller
David Woodhouse writes: > > What should it do on i386? mb()? > > For it to have any use in the situation I described, it would need to > writeback and invalidate the dcache for the affected range. It doesn't seem > to do so, so it seems that it isn't what I require. It only needs to

Re: Missing cache flush.

2001-06-04 Thread David S. Miller
Jeff Garzik writes: > David Woodhouse wrote: > > I was pointed at Documentation/DMA-mapping.txt but that doesn't seem very > > helpful - it's very PCI-specific, and a quick perusal of pci_dma_sync() on > > i386 shows that it doesn't do what's required anyway. > > What should it do on

Re: kernel oops when burning CDs

2001-06-04 Thread Tachino Nobuhiro
Hello, At Mon, 4 Jun 2001 22:43:30 +0100 (BST), Alan Cox wrote: > > > I get an ooops and immediate kernel panic when I break (CTRL-C) cdrecord. I > > can reproduce it anytime. I use 2.4.5-ac series. Obviously, Linus' 2.4.5 is > > fine. > > I know, I know. I was supposed to make a serios oops

Re: lowlatency 2.2.19

2001-06-04 Thread Andrew Morton
safemode wrote: > > this is just a general question about low latency patches on 2.2, I > remember hearing about low latency patches for 2.4 not playing well with X > 4.x, is this true for 2.2 low latency patches as well? Yes, it would be the case. Some video cards have a PCI cheat-mode in

Re: lowlatency 2.2.19

2001-06-04 Thread safemode
this is just a general question about low latency patches on 2.2, I remember hearing about low latency patches for 2.4 not playing well with X 4.x, is this true for 2.2 low latency patches as well? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

TRG vger.timpanogas.org hacked

2001-06-04 Thread Jeff V. Merkey
Our master server (vger.timpanogas.org) running 2.2.19 was hacked and completely obliterated by someone using a Novell Proxy Cache via a kernel level exploit in [sys_wait+4]. They somehow created a segmentation fault down inside the kernel, then gained access to the /lib directory and

re: disk-based fds in select/poll

2001-06-04 Thread Dan Kegel
Pierre Phaneuf <[EMAIL PROTECTED]> wrote: > It's fairly widely-known that select/poll returns immediately when > testing a filesystem-based file descriptor for writability or > readability. > > On top of this, even when in non-blocking mode, read() could block if > the pages needed aren't in

Re: reschedule_idle changes in ac kernels

2001-06-04 Thread Nigel Gamble
On Mon, 4 Jun 2001, Mike Kravetz wrote: > I just noticed the changes to reschedule_idle() in the 2.4.5-ac > kernel. I suspect these are the changes made for: > > o Fix off by one on real time pre-emption in scheduler > > I'm curious if anyone has ran any benchmarks before and after >

Oh Bother

2001-06-04 Thread David Flynn
Morning Guys, (or whatever time you call this ungodly hour) A couple of things to bring up: 1) I was just rebuilding gcc (for an i586 on my faster PII) everything was going fine and suddenly silence, all my ssh sessions have locked up, the serial console is dead, the system is not

Re: 2.2 <-> 2.4.5-ac5 tcp too slow

2001-06-04 Thread Tom Vier
i tracked it down to the 8139 driver in 2.4. On Mon, Jun 04, 2001 at 06:28:34PM -0400, Tom Vier wrote: > has the same effect) and an alpha pws 500 running 2.4.5-ac5. tcp starts slow > and get slower. it's not a 10/100 or duplex issue. icmp goes at full speed. -- Tom Vier <[EMAIL PROTECTED]>

Re: Missing cache flush.

2001-06-04 Thread David Woodhouse
[EMAIL PROTECTED] said: > > I was pointed at Documentation/DMA-mapping.txt but that doesn't seem > > very helpful - it's very PCI-specific, and a quick perusal of > > pci_dma_sync() on i386 shows that it doesn't do what's required anyway. > What should it do on i386? mb()? For it to have any

Re: Missing cache flush.

2001-06-04 Thread Jeff Garzik
David Woodhouse wrote: > I was pointed at Documentation/DMA-mapping.txt but that doesn't seem very > helpful - it's very PCI-specific, and a quick perusal of pci_dma_sync() on > i386 shows that it doesn't do what's required anyway. What should it do on i386? mb()? -- Jeff Garzik |

Re: disk-based fds in select/poll

2001-06-04 Thread Alan Cox
> Ok, so while knowing about select "lying" about readability of a file > fd, if I would stick a file fd in my select-based loop anyway, but would You could fix select to return when the page was cachied and return EWOULDBLOCK on reads if the page was not present to be honest. I don't think that

Missing cache flush.

2001-06-04 Thread David Woodhouse
The flash mapping driver arch/cris/drivers/axisflashmap.c uses a cached mapping of the flash chips for bulk reads, but obviously an uncached mapping for sending commands and reading status when we're actually writing to or erasing parts of the chip. However, it fails to flush the dcache for the

reschedule_idle changes in ac kernels

2001-06-04 Thread Mike Kravetz
I just noticed the changes to reschedule_idle() in the 2.4.5-ac kernel. I suspect these are the changes made for: o Fix off by one on real time pre-emption in scheduler I'm curious if anyone has ran any benchmarks before and after applying this fix. The reason I ask is that during the

Re: disk-based fds in select/poll

2001-06-04 Thread Pierre Phaneuf
Alan Cox wrote: > > I am thinking that a read() (or sendfile()) that would block because the > > pages aren't in core should instead post a request for the pages to be > > loaded (some kind of readahead mecanism?) and return immediately (maybe > > having given some data that *was* in core). A

vmstat help

2001-06-04 Thread Radhakrishnan Manga
Hi, I am using the vmstat that came along with the SuSE 7.0 distribution. I have problem interpretting the data reported by vmstat. The vmstat document reads that the block information reported is always in terms of 1K blocks. Just to findout the validity of the data reported by vmstat, I

2.2 <-> 2.4.5-ac5 tcp too slow

2001-06-04 Thread Tom Vier
i seem to remember this being mentioned before, but couldn't find any reference in the list archives. i have an x86 laptop running 2.2.17 (2.2.19 has the same effect) and an alpha pws 500 running 2.4.5-ac5. tcp starts slow and get slower. it's not a 10/100 or duplex issue. icmp goes at full

Question on Partial Checksum in TCP/IP

2001-06-04 Thread Bharath Madhavan
Hello all, I am trying to understand a little bit about the TCP path in the Linux kernel. I saw that while we were even copying the user data into kernel space, we were doing the partial checksum of the data portion alone (as the TCP header is not yet filled up) and storing it in

Re: IO-APIC, beaten with stick, routes USB

2001-06-04 Thread Rico Tudor
> Any chance you can try Alan Cox's patch against 2.4.5? It has a number > of IO-APIC fixes. > patch-2.4.5-ac7.bz2 behaves the same as 2.4.4. Whatever is happening in IO-APIC setup, USB interrupts actually arrive on IRQ 12. I can include the usual pile of config info and boot messages, but

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

Linux 2.4.5-ac8

2001-06-04 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ Intermediate diffs are available from http://www.bzimage.org In terms of going through the code audit almost all the sound drivers still need fixing to lock against format changes during a

Re: I/O tracing

2001-06-04 Thread richardj_moore
You can use either dprobes to set up a tracepoint dynamically anywhere you please see: http://oss.software.ibm.com/developerworks/opensource/linux/projects/dprobes Or, you can use gkhi to define a hook anywhere in the kernel you please. You can write a hook exit as a kmod to do whatever you

Re: disk-based fds in select/poll

2001-06-04 Thread Alan Cox
> I am thinking that a read() (or sendfile()) that would block because the > pages aren't in core should instead post a request for the pages to be > loaded (some kind of readahead mecanism?) and return immediately (maybe > having given some data that *was* in core). A subsequent read() could

Oops while unmounting a reiserfs partition

2001-06-04 Thread Mathieu Chouquet-Stringer
Hello! I just mkreiserfsed a new partition (a 50g hardware raid0 array, I know this is just a testing machine), mounted it, and then unmounted it, and OOPS! My kernel version is plain 2.4.5... If you need more information, let me know. Jun 4 17:25:03 nynetops03 kernel: reiserfs:

Re: ide retry on 2.4.5-ac7

2001-06-04 Thread PROFETA Mickael
On Mon, Jun 04, 2001 at 11:09:33PM +0200, Jens Axboe wrote: > > This is not the case that is attempted solve. The above could be a cable > error (it looks like it). These are usually genuine and indicate a real > hw problem. I know about that, but I tried with other cable and the trouble leaves

Re: ide retry on 2.4.5-ac7

2001-06-04 Thread Jens Axboe
On Mon, Jun 04 2001, PROFETA Mickael wrote: > On Mon, Jun 04, 2001 at 10:14:04PM +0200, Jens Axboe wrote: > > > > It worked sucessfully for you in 2.4.5-ac4 but not in -ac7? I can't see > > any changes to the patch, so more details on the nature of the problem > > would be helpful. > > Ok, this

Re: ide retry on 2.4.5-ac7

2001-06-04 Thread PROFETA Mickael
On Mon, Jun 04, 2001 at 10:14:04PM +0200, Jens Axboe wrote: > > It worked sucessfully for you in 2.4.5-ac4 but not in -ac7? I can't see > any changes to the patch, so more details on the nature of the problem > would be helpful. Ok, this is the results of a hdparm -tT on my second hard disk:

disk-based fds in select/poll

2001-06-04 Thread Pierre Phaneuf
Pardon me if some parts of this seem clueless. While I'm no newbie in userland, kernelspace I don't play in very often... It's fairly widely-known that select/poll returns immediately when testing a filesystem-based file descriptor for writability or readability. On top of this, even when in

Re: lowlatency 2.2.19

2001-06-04 Thread William Montgomery
On Mon, 4 Jun 2001, Andrea Arcangeli wrote: > On Sun, Jun 03, 2001 at 10:38:34AM -0400, William Montgomery wrote: > > Anyone have any ideas? > > Which options did you enabled? In theory the ikd patch could only make > the latency worse ;), there are no performance improvements in it but >

kernel oops when burning CDs

2001-06-04 Thread Rudo Thomas
Hello everybody! I get an ooops and immediate kernel panic when I break (CTRL-C) cdrecord. I can reproduce it anytime. I use 2.4.5-ac series. Obviously, Linus' 2.4.5 is fine. I know, I know. I was supposed to make a serios oops report, BUT I wasn't able to get the serial console running.

Re: 2.4.5-ac7 SMP crash (hotplug race?)

2001-06-04 Thread Pete Zaitcev
>I told device to go to sleep, it reported (over serial console that I >looked at with minicom), that it turned off internal devices >(including USB client), reported it is going to sleep, and turned >serial and itself off. What does it mean "I told device to go to sleep"? What

Re: ide retry on 2.4.5-ac7

2001-06-04 Thread Jens Axboe
On Mon, Jun 04 2001, PROFETA Mickael wrote: > Hi > > Since my first try on 2.4 kernel, I had trouble with DMA when I > select activate on boot time because it selects udma4, whereas > my HD is only able to do udma2. I correct that with hdparm, but > I was quite happy of

Re: Linux 2.4.5-ac7

2001-06-04 Thread Alan Cox
> 2.4.5-ac7 fixes the cs46xx problems I had with my ThinkPad 600X in > 2.4.5-ac[456]. It works great now. Many thanks to Frank Davis and Alan Cox! And also to Tom Woller and Crystal themselves who have been fixing a lot of the cs46xx real problems while we broke and fixed the locking - To

RE: Error Compiling Driver code:

2001-06-04 Thread Khachaturov, Vassilii
1) Check the FAQ - http://www.tux.org/lkml/#s8 2) RH6.2 as it is doesn't come with all the newest tools versions needed for the 2.4.x kernels. See Documentation/versions. HTH, Vassilii > -Original Message- > Hi , > I am trying to compile a driver code in Red Hat 6.2 > which is

Error Compiling Driver code:

2001-06-04 Thread jalaja devi
Hi , I am trying to compile a driver code in Red Hat 6.2 which is already a working code, but I get the following errors when i compile. /usr/src/linux/include/asm/smp.h:206: arguments given to macro `hard_smp_processor_id' Any clue or hint will be helpful. Thanks jalaja

Kernel Stack usage [was: [PATCH] fs/devfs/base.c]

2001-06-04 Thread Bill Pringlemeir
> Bill Pringlemeir <[EMAIL PROTECTED]> writes: > There was a discussion on comp.arch.embedded about bounded stack > use. It is fairly easy to calculate the stack usage for call > trees, but much more difficult for `DAGs'. Ie, a recursive > functions etc. I don't know about the

Re: 2.4.5-ac7 usb-uhci appears twice in /proc/interrupts

2001-06-04 Thread Meelis Roos
PR> I don't know, maybe it's Ok, but it looks confusing - usb-uhci is listed PR> twice on the same IRQ 9. [...] PR> 9: 0 XT-PIC usb-uhci, usb-uhci [...] PR> 00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10) PR> 00:07.3 USB Controller: VIA Technologies, Inc.

Re: [PATCH] fs/devfs/base.c

2001-06-04 Thread Bill Pringlemeir
> "Richard" == Richard Gooch <[EMAIL PROTECTED]> writes: [snip] > I guess we should ask the question as to what's an > acceptable usage. Theoretically, any amount could pose a > problem, but that's hardly a useful position to work There was a discussion on comp.arch.embedded about

2.4.5(-ac*] still broken NFS/Reiserfs

2001-06-04 Thread Kevin P. Fleming
I've got two machines here running 2.4.5-ac6 with Chris Mason's posted 2.4.5 Reiserfs/knfsd patch, plus the small 2.4.5 NFS client patch posted last week as well. Even with all of this, I still have NFS weirdness. >From the client, I can mount and read pretty much anything I like from the

Re: USB-storage and 2.4.2

2001-06-04 Thread Matthew Dharm
Try 2.4.5, which has some assorted fixes that should solve this problem. Matt On Sun, Jun 03, 2001 at 08:08:25PM -0500, Jerry Frana wrote: > Hi, i've been having a problem with my usb zip drive (older 100mb model) > > it's 100% repeateble: > > copy a large file to anywhere, and within a

Re: keyboard hook?

2001-06-04 Thread James Simmons
> Input API looks nice. For now, I'll write a patch against pc_keyb.c to add a > hook for my qoder stuff, and a loadable module for the meat of the > driver. Okay. > Then I'll port up to the input API. Just send me the code and I will place it into CVS. >I have a Sparc here; does it have

I/O tracing

2001-06-04 Thread YU,SAMMY (HP-Roseville,ex1)
Hi, Please CC me as I'm not subscribed on the list, thanks. Not sure if this is appropriate forum, is there an existing tool/module for capturing all the I/O requests such as: Unique Identifier Start Time End Time Device Identifier Operation Type (Read Or Write) Offset Length (Number Of

iptables port remapping problem (was: [newbie] NFS client:port-unreachable)

2001-06-04 Thread Roland Kuhn
On Sun, 3 Jun 2001, Trond Myklebust wrote: > Are /home and /compass on the same mount point on the client though? > If not, then they won't share the same port. > > IOW: they will only share the same port if you have '/' as the NFS > mountpoint. When I mount via nfs each mount gets its own

Re: symlink_prefix

2001-06-04 Thread Remi Turk
On Sun, Jun 03, 2001 at 07:25:25AM -0400, Alexander Viro wrote: > BTW, bind and friends are also easy - it's > what = open(old, 0); > where = open(mountpoint, 0); > new_mount(where, MNT_BIND, what); > > Comments? What if `what' and or `where' aren't directories but e.g.

Re: symlink_prefix

2001-06-04 Thread Andries . Brouwer
> Current interface had grown an impressive collection of warts. > Worse yet, you _can't_ put parsing into generic code. > There are filesystems that have a binary object as 'data'. Yes, that was a very unfortunate decision, back in the good old times when nfs was implemented. And smb, ncp, coda

Re: symlink_prefix

2001-06-04 Thread Hank Leininger
On 2001-06-03, [EMAIL PROTECTED] wrote: > Suppose I have devices /dev/a, /dev/b, /dev/c that contain the > /, /usr and /usr/spool filesystems for FOO OS. Now > mount /dev/a /mnt -o symlink_prefix=/mnt > mount /dev/b /mnt/usr -o symlink_prefix=/mnt > mount /dev/c

Tulip and eepro100 problems

2001-06-04 Thread Jasper Jans
Hi all, First of all.. please include [EMAIL PROTECTED] in your replies since my regular mail account in which I get the list mails is not functional at the moment. I've just installed a fresh linux system. Default Mandrake 8.0 kernel (2.4.3-20mdksmp) and the plain vanilla 2.4.5 kernel both

Cache size calculation on Athlon/Duron

2001-06-04 Thread James Slater
Hi, Reading through arch/i386/kernel/setup.c in 2.4.5, I noticed that the code which sets x86_cache_size sets it to the size of the chip's L2 cache if present. Which is fine for everything except the Athlon/Duron, which have exclusive L1/L2 caches, so surely they should be added together in

Re: XMM: monitor Linux MM inactive/active lists graphically

2001-06-04 Thread Mark Hahn
> XMM is heavily modified XMEM utility that shows graphically size of > different Linux page lists: active, inactive_dirty, inactive_clean, > code, free and swap usage. It is better suited for the monitoring of > Linux 2.4 MM implementation than original (XMEM) utility. > > Find it here:

I810 Sound broke between 2.4.2 and 2.4.3

2001-06-04 Thread Ben Castricum
I use amp to play my mp3s and it seem to stop functioning since 2.4.3. I captured the kernel messages from the module : --- 2.4.2 --- Intel 810 + AC97 Audio, version 0.01, 14:04:06 Jun 4 2001 PCI: Found IRQ 10 for device 00:1f.5 PCI: The same IRQ used for device 00:1f.3 PCI: The same IRQ used

Re: here comes the summer...

2001-06-04 Thread J . A . Magallon
On 06.02 Pavel Machek wrote: > 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

USB-storage and 2.4.2

2001-06-04 Thread Jerry Frana
Hi, i've been having a problem with my usb zip drive (older 100mb model) it's 100% repeateble: copy a large file to anywhere, and within a minute or so: copy stops dead. and the following appears in the syslog: Jun 3 21:10:56 int-21h kernel: uhci: host controller process error. something

Re: rtl8139too in 2.4.5

2001-06-04 Thread Rogier Wolff
[EMAIL PROTECTED] wrote: > My RTL8139 (Identified 8139 chip type 'RTL-8139A') > was fine in 2.4.3 and doesnt work in 2.4.5. > Copying the 2.4.3 version of 8139too.c makes things work again. > > Since lots of people complained about this, I have not tried to > debug - maybe a fixed version

2.4.5-ac7 usb-uhci appears twice in /proc/interrupts

2001-06-04 Thread Pavel Roskin
Hello! I don't know, maybe it's Ok, but it looks confusing - usb-uhci is listed twice on the same IRQ 9. # cat /proc/interrupts CPU0 0: 82287 XT-PIC timer 1: 2624 XT-PIC keyboard 2: 0 XT-PIC cascade 8: 1

Re: symlink_prefix

2001-06-04 Thread Andries . Brouwer
From [EMAIL PROTECTED] Sun Jun 3 13:25:31 2001 > [One could start a subdiscussion about that part. > The mount(2) system call needs to transport vfs information > and per-fs information. So far, the vfs information used > flag bits only, but sooner or later we'll want to

Re: USB mouse wheel breakage was Re: Linux 2.4.5-ac5

2001-06-04 Thread Vojtech Pavlik
On Fri, Jun 01, 2001 at 10:57:17AM +0100, Michael wrote: > On Wed, May 30, 2001 at 09:30:39PM +0100, Alan Cox wrote: > > 2.4.5-ac4 > > o Update USB hid drivers (Vojtech Pavlik) > > I think these changes have broken my USB wheel mouse. > > Events seems to be getting

Looking for device to write device driver for

2001-06-04 Thread Kip Macy
This may well be a question whose appropriate response is RTFM. However, I did look first. I am taking a class on writing device drivers for Linux. I am currently looking for a device to write a driver for. I first tried to get the engineering specification for my soundcard, but after much

Re: Linux 2.4.5-ac7

2001-06-04 Thread Nicolas Pitre
On Sun, 3 Jun 2001, Oleg Drokin wrote: > Hello! > > In article <[EMAIL PROTECTED]> you wrote: > > AC> 2.4.5-ac7 > AC> o Make USB require PCI(me) > Huh?! > How about people from StrongArm sa11x0 port, who have USB host controller (in > sa companion chip)

Re: Linux 2.4.5-ac7

2001-06-04 Thread Wayne . Brown
2.4.5-ac7 fixes the cs46xx problems I had with my ThinkPad 600X in 2.4.5-ac[456]. It works great now. Many thanks to Frank Davis and Alan Cox! Wayne - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: symlink_prefix

2001-06-04 Thread Alexander Viro
On Sun, 3 Jun 2001 [EMAIL PROTECTED] wrote: > What I did was: add a field `char *mnt_symlink_prefix;' to the > struct vfsmount, fill it in super.c:add_vfsmnt(), use it in > namei.c:vfs_follow_link(). Pick the value up by recognizing > in super.c:do_mount() the option "symlink_prefix=" before

Re: Benchmarks for Linux kernel

2001-06-04 Thread Nathan Straz
On Fri, Jun 01, 2001 at 09:12:14PM -0700, Jaswinder Singh wrote: > Can please point me some nice benchmarks for linux kernel . Linux Benchmark Suite http://lbs.sf.net/ -- Nate Straz [EMAIL PROTECTED] sgi, inc

Re: [CHECKER] security rules? (and 2.4.5-ac4 security bug)

2001-06-04 Thread Hank Leininger
On 2001-06-03, Dawson Engler <[EMAIL PROTECTED]> wrote: > Additionally, do people have suggestions for good security rules? > We're looking to expand our security checkers. Right now we just have > checkers that warn when: Do you already have checks for signed/unsigned issues? Those often

Linux-2.4.5 BUG

2001-06-04 Thread Sasa Ostrouska
Hi to all of you ! I have this problem with the linux-2.4.5. When I want to shutdown the system I get this error message: // journal_begin called without kernel lock held kernel BUG at journal.c:423! invalid operand: CPU:1 EIP:0010:[] EFLAGS: 00010286 eax: 001d ebx:

multicast hash incorrect on big endian archs

2001-06-04 Thread Manfred Spraul
I noticed that the multicast hash calculations assumed little endian byte ordering in the winbond-840 driver, and it seems that several other drivers are also affected: 8139too, epic100, fealnx, pci-skeleton, sis900, starfile, sundance, via-rhine, yellowfin perhaps

Linux networking and disk IO issues

2001-06-04 Thread Mark Hayden
I recently released a clusted storage system for Linux (the software in binary form and manual can be downloaded from www.northforknet.com). This software, you can create a highly available storage cluster out of standard PC hardware. During this work, we encountered a number of problems with

Re: query

2001-06-04 Thread Andreas Dilger
Chanchal Chawla writes: > i'm writing a file system code, i've a query regarding that, i want you > to help me out if possible, > > is it possible to get the absolute mount point of a device at run time > in that code ? if it is possible then how we can get it ? It was possible in

Re: symlink_prefix

2001-06-04 Thread Andries . Brouwer
> We can kludge around anything. The question being, what for? > It still leaves ncp with its ioctls ugliness. I show how to simplify the kernel source without changing the interface. That is good, and there are some free benefits. You want to design a new interface. Maybe that is good as well,

Re: USB mouse wheel breakage was Re: Linux 2.4.5-ac5

2001-06-04 Thread Vojtech Pavlik
On Fri, Jun 01, 2001 at 05:32:26PM -0400, Robert M. Love wrote: > USB mouse wheel has been broke since 2.4.5-ac4 (when new USB HID, > hid-core.c, was integrated). The mouse in general seems jerky, and > specifically the input device does not receive events for consecutive > wheel movements --

2.4.5-ac5 BUG in slab.c

2001-06-04 Thread Matt Bernstein
I was playing with (a romfs) initrd and modularising everything, including ext2 and ide-*. (gcc version 2.96 2731 (Red Hat Linux 7.1 2.96-81)) More info on request. ksymoops 2.4.0 on i686 2.4.5-ac5-4. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules

Re: SCSI-CD-Writer don't show up

2001-06-04 Thread Matthias Schniedermeyer
On Sun, Jun 03, 2001 at 06:38:27PM +0200, Gérard Roudier wrote: > > On Sat, 2 Jun 2001, Matthias Schniedermeyer wrote: > > > I have 3 SCSI-CD-Writers. "Strange" is that the boot-process only finds > > the first one (1 0 5 0), the other two i have to add with > > > > echo "scsi add-single-device

the value of PROC_CHANGE_PENALTY

2001-06-04 Thread Tsafrir Dan
as I understand, for i386 in Linux-2.2.x the default length of a quantum was 200ms, and in 2.4.x it had changed to 50ms ( according to the following 2.4.5 sched.c code: #if HZ < 200 #define TICK_SCALE(x) ((x) >> 2) ... #define NICE_TO_TICKS(nice) (TICK_SCALE(20-(nice))+1)

Dual AMD Palomino from Australia

2001-06-04 Thread Dieter Nützel
Hello Alan, do you have an dual AMD 760MP based mobo, too? It should be more interesting to see some multi processing workloads. Here are the links: http://www.overclockers.com.au/techstuff/a_tyan_thunder/ http://www.overclockers.com.au/techstuff/a_tyan_thunder/page2.shtml

Reg mkdir syscall

2001-06-04 Thread SATHISH.J
Hi, Sorry to disturb you. Actually I had written a small file system(on 2.2.14 kernel) similar to RAMFS on 2.4 kernel. I am able to mount it but when I try to create directory under it, it gives EEXIST error saying" file already exists" but when I check the directory again that file gets

Re: symlink_prefix

2001-06-04 Thread Alexander Viro
On Sun, 3 Jun 2001 [EMAIL PROTECTED] wrote: > > Current interface had grown an impressive collection of warts. > > Worse yet, you _can't_ put parsing into generic code. > > There are filesystems that have a binary object as 'data'. > > Yes, that was a very unfortunate decision, back in the

Salvaging resource manager state

2001-06-04 Thread David Gordon (LMC)
Hi, Could you please CC to [EMAIL PROTECTED] ? Thank you. I built a script to startup an IPv6 web server (Jigsaw) automatically at boot. Jigsaw requires a java-like interpreter (jipsy) to start the web class. However, I get the following error message: "Salvaging resource manager state

Re: symlink_prefix

2001-06-04 Thread Alexander Viro
On Sun, 3 Jun 2001 [EMAIL PROTECTED] wrote: > [My version: keep interface constant, reorganize kernel source > to do certain things in one place instead of in several places. > Advantage: treatment becomes uniform and some options that make sense > for all filesystem types but are available

Pset patches

2001-06-04 Thread Val Henson
Are you the same Tim Hockin that wrote the pset patches for Linux 2.2.12? I noticed your pset web page is gone and I'd like to mirror it if it hasn't been already. -VAL - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

linux-2.4.[45] 8139too nfs performance

2001-06-04 Thread Eduard Hasenleithner
Hi, Starting with kernel 2.4.4 the nfs performance with the 8139too driver is very bad. It seems there are interrupts missing, but the 8139 interrupt is not stuck. Look at this tcpdump: Server side .. 19:12:42.840489 192.168.1.1.2049 > 192.168.1.2.3717744806: reply ok 1472 (frag

[OOPS] in locks_remove_posix

2001-06-04 Thread Steven Walter
Just got this oops in 2.4.5-ac2. Can't reproduce it as of yet; if I find a way, I'll give notice. -- -Steven In a time of universal deceit, telling the truth is a revolutionary act. -- George Orwell ksymoops 2.3.4 on i586 2.4.5-ac2. Options used -V (default)

  1   2   3   >