Re: alpha iommu fixes

2001-05-20 Thread Ivan Kokshaysky
On Sun, May 20, 2001 at 04:40:13AM +0200, Andrea Arcangeli wrote: I was only talking about when you get the pci_map_sg failed because you have not 3 but 300 scsi disks connected to your system and you are writing to all them at the same time allocating zillons of pte, and one of your drivers

Re: no ioctls for serial ports? [was Re: LANANA: To Pending DeviceNumberRegistrants]

2001-05-20 Thread Andries . Brouwer
Getting a list of all ioctls in the tree, along with types of their arguments would be a great start. Anyone willing to help with that? % man 2 ioctl_list gives a very outdated list. Collecting the present list is trivial but time-consuming. If anyone does I would be happy if he also sent me

Re: no ioctls for serial ports? [was Re: LANANA: To PendingDeviceNumberRegistrants]

2001-05-20 Thread Alexander Viro
On Sun, 20 May 2001 [EMAIL PROTECTED] wrote: Getting a list of all ioctls in the tree, along with types of their arguments would be a great start. Anyone willing to help with that? % man 2 ioctl_list gives a very outdated list. Collecting the present list is trivial but

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

2001-05-20 Thread Alexander Viro
On Sun, 20 May 2001, Russell King wrote: I still see read()/write() being a pass any crap interface. The implementer of the target for read()/write() will probably still be a driver which will need to decode what its given, whether its in ASCII or binary. And driver writers are already

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

2001-05-20 Thread Kai Henningsen
[EMAIL PROTECTED] (Pavel Machek) wrote on 19.05.01 in [EMAIL PROTECTED]: I think that plan9 uses something different -- they have ttyS0 and ttyS0ctl. This would leave us with problem how do I get handle to ttyS0ctl when I only have handle to ttyS0? I've seen this question several times in

Re: [PATCH] 2.4.4-ac11 network drivers cleaning

2001-05-20 Thread Andrzej Krzysztofowicz
On Sat, 19 May 2001 17:58:49 -0400, Jeff Garzik [EMAIL PROTECTED] wrote: Finally, I don't know if I mentioned this earlier, but to be complete and optimal, version strings should be a single variable 'version', such that it can be passed directly to printk like printk(version);

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

2001-05-20 Thread Alexander Viro
On 20 May 2001, Kai Henningsen wrote: 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

Re: alpha iommu fixes

2001-05-20 Thread Andrea Arcangeli
On Sun, May 20, 2001 at 04:12:34PM +0400, Ivan Kokshaysky wrote: On Sun, May 20, 2001 at 04:40:13AM +0200, Andrea Arcangeli wrote: I was only talking about when you get the pci_map_sg failed because you have not 3 but 300 scsi disks connected to your system and you are writing to all them

Re: no ioctls for serial ports? [was Re: LANANA: To Pending DeviceNumberRegistrants]

2001-05-20 Thread Andries . Brouwer
Andries, I wouldn't call it trivial. I am a mathematician. Definition of trivial in this case: No intelligence required, just patience and careful work. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: alpha iommu fixes

2001-05-20 Thread Andrea Arcangeli
[ cc'ed to l-k ] DMA-mapping.txt assumes that it cannot fail. DMA-mapping.txt is wrong. Both pci_map_sg and pci_map_single failed if they returned zero. You either have to drop the skb or to try again later if they returns zero. Andrea - To unsubscribe from this list: send the line

Re: alpha iommu fixes

2001-05-20 Thread Andrew Morton
Andrea Arcangeli wrote: [ cc'ed to l-k ] DMA-mapping.txt assumes that it cannot fail. DMA-mapping.txt is wrong. Both pci_map_sg and pci_map_single failed if they returned zero. You either have to drop the skb or to try again later if they returns zero. Well this is news to me. No

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

2001-05-20 Thread Tim Jansen
On Sunday 20 May 2001 15:40, Alexander Viro wrote: 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 returns an appropriate error code. It may have several. Which one? That's why I proposed using

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

2001-05-20 Thread Alexander Viro
On Sun, 20 May 2001, Tim Jansen wrote: That's why I proposed using multi-stream files. With a syscall like fd2 = open_substream(fd, somename) You also have streams thay are related to many device nodes at once. Sorry. you could have several control streams and also be prepared if you want

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

2001-05-20 Thread Abramo Bagnara
Alexander Viro wrote: On 20 May 2001, Kai Henningsen wrote: 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

Re: alpha iommu fixes

2001-05-20 Thread Andrea Arcangeli
On Mon, May 21, 2001 at 12:05:20AM +1000, Andrew Morton wrote: Andrea Arcangeli wrote: [ cc'ed to l-k ] DMA-mapping.txt assumes that it cannot fail. DMA-mapping.txt is wrong. Both pci_map_sg and pci_map_single failed if they returned zero. You either have to drop the skb or to

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

2001-05-20 Thread Alexander Viro
On Sun, 20 May 2001, Abramo Bagnara wrote: It may have several. Which one? Can you explain better this? Example: console. You want to be able to pass font changes. I'm less than sure that putting them on the same channel as, e.g., keyboard mapping changes is a good idea. We can do it,

Re: RTL8139 difficulties in 2.2, not in 2.4

2001-05-20 Thread Matthias Andree
On Sun, 20 May 2001, Matthias Andree wrote: eth1: Transmit timeout, status 0c 0005 media 18. It looks like I found a workaround which may help you debugging, if new questions arise, please ask. Willing to help so this issue can be resolved for Linux 2.2.20. 1. I'm compiling my eth drivers

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

2001-05-20 Thread Abramo Bagnara
Alexander Viro wrote: On Sun, 20 May 2001, Abramo Bagnara wrote: It may have several. Which one? Can you explain better this? Example: console. You want to be able to pass font changes. I'm less than sure that putting them on the same channel as, e.g., keyboard mapping changes is

BUG ? and questions

2001-05-20 Thread szonyi calin
Hello My name is Calin I have a Cx 486/66 with 12 Megs of ram AST computer gcc 2.95.3, glibc 2.1.3, make 3.79.1 binutils 2.11 ?? Problems: 1. When I try to run multiple (2) compilations on a 2.4.4 kernel usually one of them dies -- if it's gcc - signal 11 , if it's sh or rarely make -

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

2001-05-20 Thread Alexander Viro
On Sun, 20 May 2001, Abramo Bagnara wrote: Face it, we _already_ have more than one side band. This does not imply it's necessarily a good idea. We are comparing echo 9600 /proc/self/fd/0/speed (or /dev/ttyS0/speed) echo 8 /proc/self/fd/0/bits (or /dev/ttyS0/bits) with echo

Re: CML2 design philosophy heads-up

2001-05-20 Thread Eric S. Raymond
David Woodhouse [EMAIL PROTECTED]: The dependencies in CML1 are (supposed to be) absolute - the 'advisory' dependencies you're adding are arguably a useful feature, but please don't make it possible to confuse the two, and please do make sure it's possible to

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

2001-05-20 Thread Jakob Østergaard
On Sun, May 20, 2001 at 10:45:07AM -0400, Alexander Viro wrote: On Sun, 20 May 2001, Abramo Bagnara wrote: It may have several. Which one? Can you explain better this? Example: console. You want to be able to pass font changes. I'm less than sure that putting them on the same

Re: CML2 design philosophy heads-up

2001-05-20 Thread Keith Owens
On Sun, 20 May 2001 11:18:56 -0400, Eric S. Raymond [EMAIL PROTECTED] wrote: David Woodhouse [EMAIL PROTECTED]: The dependencies in CML1 are (supposed to be) absolute - the 'advisory' dependencies you're adding are arguably a useful feature, but please don't make

question: permission checking for network filesystem

2001-05-20 Thread Jan Hudec
Hi, I'm trying to impelemnt a lightweight network filesystem and ran into trouble implementing lookup, permissions and open. The protocol requires me to specify open mode in it's open command. The open mode has 4 bits: read, write, append and execute. But I can't tell execution from read in

Re: CML2 design philosophy heads-up

2001-05-20 Thread David Woodhouse
[EMAIL PROTECTED] said: I don't understand this request. I have no concept of `advisory' dependencies. What are you talking about? Is my documentation horribly unclear? By 'dependency' I refer to the case where the value of one symbol is derived entirely from, or the range of possible

Re: CML2 design philosophy heads-up

2001-05-20 Thread Eric S. Raymond
David Woodhouse [EMAIL PROTECTED]: On one hand you have dependencies which are present to make life easier for Aunt Tillie, by refraining from confusing her with strange questions to which the answer is _probably_ 'no'. Like the question of whether she has an IDE controller on her MVME

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

2001-05-20 Thread Ingo Oeser
On Sun, May 20, 2001 at 05:29:49AM +0200, Mike Galbraith wrote: I'm not sure why that helps. I didn't put it in as a trick or anything though. I put it in because it didn't seem like a good idea to ever have more cleaned pages than free pages at a time when we're yammering for help.. so I

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

2001-05-20 Thread Alexander Viro
On Sun, 20 May 2001, [iso-8859-1] Jakob Østergaard wrote: Face it, we _already_ have more than one side band. Wouldn't it be natural to write(fd, control type) write(fd, control information) read(fd, reply) Only one control file for all controls a device understands That's

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

2001-05-20 Thread Abramo Bagnara
Alexander Viro wrote: On Sun, 20 May 2001, Abramo Bagnara wrote: Face it, we _already_ have more than one side band. This does not imply it's necessarily a good idea. We are comparing echo 9600 /proc/self/fd/0/speed (or /dev/ttyS0/speed) echo 8 /proc/self/fd/0/bits (or

Re: CML2 design philosophy heads-up

2001-05-20 Thread David Woodhouse
[EMAIL PROTECTED] said: There are no `advisory' dependencies in CML2. They're all absolute. What you call an `advisory' dependency would be simulated by having a policy symbol for Aunt Tillie mode and writing constraints like this: require AUNT_TILLIE implies FOO = BAR This is exactly

Re: LANANA: To Pending Device Number Registrants

2001-05-20 Thread Jonathan Lundell
At 3:37 AM -0600 2001-05-20, Eric W. Biederman wrote: Jonathan Lundell [EMAIL PROTECTED] writes: At 10:42 AM +0200 2001-05-19, Kai Henningsen wrote: Jeff Garzik's ethtool extension at least tells me the PCI bus/dev/fcn, though, and from that I can write a userland mapping

Re: LANANA: To Pending Device Number Registrants

2001-05-20 Thread Jonathan Lundell
At 2:16 AM +1200 2001-05-21, Chris Wedgwood wrote: On Sat, May 19, 2001 at 10:36:14AM -0700, Jonathan Lundell wrote: I know from system documentation, or can figure out once and for all by experimentation, the correspondence between PCI bus/dev/fcn and physical locations. Jeff's

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

2001-05-20 Thread Alexander Viro
On Sun, 20 May 2001, Abramo Bagnara wrote: How about reading from them? You are forcing restriction that may make sense in some cases, but doesn't look good for everything. exec 3/dev/ttyS0/ioctl exec 43 echo speed 3 cat 4 exec 3- exec 4- Can you make a counter example where

Re: BUG ? and questions

2001-05-20 Thread Christian Bornträger
I have a Cx 486/66 with 12 Megs of ram AST computer gcc 2.95.3, glibc 2.1.3, make 3.79.1 binutils 2.11 ?? Problems: 1. When I try to run multiple (2) compilations on a 2.4.4 kernel usually one of them dies -- if it's gcc - signal 11 , if it's sh looks like an out-of-memory (OOM) kill.

Re: alpha iommu fixes

2001-05-20 Thread Andrea Arcangeli
On Sun, May 20, 2001 at 03:49:58PM +0200, Andrea Arcangeli wrote: they returned zero. You either have to drop the skb or to try again later if they returns zero. BTW, pci_map_single is not a nice interface, it cannot return bus address 0, so once we start the fixage it is probably better to

Re: alpha iommu fixes

2001-05-20 Thread Andrew Morton
Andrea Arcangeli wrote: On Sun, May 20, 2001 at 03:49:58PM +0200, Andrea Arcangeli wrote: they returned zero. You either have to drop the skb or to try again later if they returns zero. BTW, pci_map_single is not a nice interface, it cannot return bus address 0, so once we start the

start_thread question...

2001-05-20 Thread Dave Airlie
I'm implementing start_thread for the VAX port and am wondering does start_thread have to return to load_elf_binary? I'm working on the init thread and what is happening is it is returning the whole way back to the execve caller .. which I know shouldn't happen. so I suppose what I'm

Re: alpha iommu fixes

2001-05-20 Thread Andrea Arcangeli
On Mon, May 21, 2001 at 02:21:18AM +1000, Andrew Morton wrote: Andrea Arcangeli wrote: Would it not be sufficient to define a machine-specific macro which queries it for error? On x86 it would be: #define BUS_ADDR_IS_ERR(addr) ((addr) == 0) that would be more flexible at least, however

2.4.5pre2aa1 panic during boot

2001-05-20 Thread root
The attached .config file created a working kernel for 2.4.2. Now, with the one compiled from 2.4.5pre2aa1, it only gives kernel panic during boot with the following message: Kernel panic: Attempted to kill the idel task In idle task -- not syncing This happened on LX164 with AlphaBIOS

Re: alpha iommu fixes

2001-05-20 Thread Andrew Morton
Andrea Arcangeli wrote: I can't find *any* pci_map_single() in the 2.4.4-ac9 tree which can fail, BTW. I assume you mean that no one single caller of pci_map_single is checking if it failed or not (because all pci_map_single can fail). No. Most of the pci_map_single() implementations

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

2001-05-20 Thread Padraig Brady
Obviously there has to be some standard base with which to work, especially for computer language keywords as these can't be converted due to name clashes. What would be cool is to pick a better base language than English that everyone would have to learn to use computers. This is especially

Re: alpha iommu fixes

2001-05-20 Thread Andrea Arcangeli
On Mon, May 21, 2001 at 02:54:16AM +1000, Andrew Morton wrote: No. Most of the pci_map_single() implementations just use virt_to_bus()/virt_to_phys(). [..] then you are saying that on the platforms without an iommu the pci_map_* cannot fail, of course, furthmore even a missing pci_unmap

Re: start_thread question...

2001-05-20 Thread Ingo Molnar
On Sun, 20 May 2001, Dave Airlie wrote: I'm implementing start_thread for the VAX port and am wondering does start_thread have to return to load_elf_binary? I'm working on the init thread and what is happening is it is returning the whole way back to the execve caller .. which I know

Re: no ioctls for serial ports? [was Re: LANANA: To Pending DeviceNumberRegistrants]

2001-05-20 Thread John Fremlin
Alexander Viro [EMAIL PROTECTED] writes: [...] We have ~180 first-order ioctl() methods. Several (my guess would be Hehe. I suppose you already know about the way strace (@sourceforge) kind of automatically tries to figure out the args for the common ones? [...] --

Re: alpha iommu fixes

2001-05-20 Thread Jeff Garzik
Andrea Arcangeli wrote: On Sun, May 20, 2001 at 03:49:58PM +0200, Andrea Arcangeli wrote: they returned zero. You either have to drop the skb or to try again later if they returns zero. BTW, pci_map_single is not a nice interface, it cannot return bus address 0, who says? A value of

Background to the argument about CML2 design philosophy

2001-05-20 Thread Eric S. Raymond
Those of you who have become confused about the current argument over CML2 should read this... David Woodhouse [EMAIL PROTECTED]: After the discussion of MAC and SCSI config options many moons ago in this thread, I was left with the impression that the constraints which were being objected

tcp_mem problem

2001-05-20 Thread David Osojnik
the system with problem is using kernel 2.4.2 on an P200 with 64mb ram. It has about 20 users that use the box... (ftp, telnet, lynx, bitchx,...). the problem is when the parameter tcp_mem HIGH gets exeded after about a day of use! Then the box is going from the net and its not awailable. I

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

2001-05-20 Thread Zlatko Calusic
Mike Galbraith [EMAIL PROTECTED] writes: Hi, On Fri, 18 May 2001, Stephen C. Tweedie wrote: That's the main problem with static parameters. The problem you are trying to solve is fundamentally dynamic in most cases (which is also why magic numbers tend to suck in the VM.) Magic

Re: 2.4.5pre2aa1 panic during boot

2001-05-20 Thread Andrea Arcangeli
On Mon, May 21, 2001 at 01:59:25AM +0900, root wrote: Andrea told us that he will not care for anything compiled with gcc-2.95 or version lower than that. I said I don't care about bugreport of alpha kernel crashes if the _alpha_ kernel was compiled with gcc 2.95.*. 2.95 is fine on the x86,

Re: alpha iommu fixes

2001-05-20 Thread Andrea Arcangeli
On Sun, May 20, 2001 at 01:16:25PM -0400, Jeff Garzik wrote: Andrea Arcangeli wrote: On Sun, May 20, 2001 at 03:49:58PM +0200, Andrea Arcangeli wrote: they returned zero. You either have to drop the skb or to try again later if they returns zero. BTW, pci_map_single is not a nice

Re: alpha iommu fixes

2001-05-20 Thread Gérard Roudier
On Sun, 20 May 2001, Ivan Kokshaysky wrote: On Sun, May 20, 2001 at 04:40:13AM +0200, Andrea Arcangeli wrote: I was only talking about when you get the pci_map_sg failed because you have not 3 but 300 scsi disks connected to your system and you are writing to all them at the same time

Re: 2.4.4 del_timer_sync oops in schedule_timeout

2001-05-20 Thread Ingo Molnar
On Sat, 19 May 2001, Jacob Luna Lundberg wrote: This is 2.4.4 with the aic7xxx driver version 6.1.13 dropped in. Unable to handle kernel paging request at virtual address 78626970 this appears to be some sort of DMA-corruption or other memory scribble problem. hexa 78626970 is ASCII pibx,

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

2001-05-20 Thread Mike Galbraith
On Sun, 20 May 2001, Ingo Oeser wrote: On Sun, May 20, 2001 at 05:29:49AM +0200, Mike Galbraith wrote: I'm not sure why that helps. I didn't put it in as a trick or anything though. I put it in because it didn't seem like a good idea to ever have more cleaned pages than free pages at a

Re: Background to the argument about CML2 design philosophy

2001-05-20 Thread David Woodhouse
Thankyou for the clarification. [EMAIL PROTECTED] said: I used case 3 to explore a touchy question about design philosophy, which is really what caused all hell to break loose. The question is this: holding down configuration complexity is a good thing, but supporting all hardware

[PATCH][CFT] selective nosuid/noexec/nodev

2001-05-20 Thread Alexander Viro
Folks, patch below (_completely_ untested) is a backport of a neat stuff from namespace-patch. It does (OK, is supposed to do) the following: make noexec, nosuid and nodev properties of vfsmount, not superblock. In other words, different instances of the same fs may

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

2001-05-20 Thread Mike Galbraith
On 20 May 2001, Zlatko Calusic wrote: Mike Galbraith [EMAIL PROTECTED] writes: Hi, On Fri, 18 May 2001, Stephen C. Tweedie wrote: That's the main problem with static parameters. The problem you are trying to solve is fundamentally dynamic in most cases (which is also why

Re: Linux 2.4.4 folks

2001-05-20 Thread Riley Williams
Hi Peter. I've trying to move some of my servers to 2.4.4 kernel from 2.2.x. Everything goes fine, notable perfomance increase occures, but the problem is I'm really often touch the following problem: __alloc_pages: 1-order allocation failed. __alloc_pages: 1-order allocation

Re: start_thread question...

2001-05-20 Thread Jeff Dike
[EMAIL PROTECTED] said: I'm implementing start_thread for the VAX port and am wondering does start_thread have to return to load_elf_binary? I'm working on the init thread and what is happening is it is returning the whole way back to the execve caller .. which I know shouldn't happen.

Re: Background to the argument about CML2 design philosophy

2001-05-20 Thread Jonathan Morton
1. The Mac derivations were half-right. The MAC_SCC one is good but Macs can have either of two different SCSI controllers. I fixed that with help from Ray Knight, who maintains the 68K Mac port. If I understand the philosophy correctly, it is still possible to specify additional cards for

[PATCH] make drivers/block/ps2esdi.c compile (2.4.4)

2001-05-20 Thread Rasmus Andersen
Hi. The following trivial patch against 2.4.4(-ac11) makes ps2esdi compile. --- linux-244-ac10-clean/drivers/block/ps2esdi.cSat May 19 21:06:29 2001 +++ linux-244-ac10/drivers/block/ps2esdi.c Sun May 20 14:47:04 2001 @@ -953,10 +953,10 @@ break; }

Re: add page argument to copy/clear_user_page

2001-05-20 Thread Linus Torvalds
On Sun, 20 May 2001, Paul Mackerras wrote: The patch below adds a page * argument to copy_user_page and clear_user_page. If you add the page argument, why leave the old arguments lingering there at all? They only create confusion, and add no information. Linus - To

Re: 2.4.4 del_timer_sync oops in schedule_timeout

2001-05-20 Thread Jacob Luna Lundberg
On Sun, 20 May 2001, Ingo Molnar wrote: Unable to handle kernel paging request at virtual address 78626970 this appears to be some sort of DMA-corruption or other memory scribble problem. hexa 78626970 is ASCII pibx, which shows in the direction of some sort of disk-related DMA corruption.

Re: 2.4.4 del_timer_sync oops in schedule_timeout

2001-05-20 Thread Ingo Molnar
On Sun, 20 May 2001, Jacob Luna Lundberg wrote: Unable to handle kernel paging request at virtual address 78626970 this appears to be some sort of DMA-corruption or other memory scribble problem. hexa 78626970 is ASCII pibx, which shows in the direction of some sort of disk-related DMA

Re: Mail admin notice my 2 cents

2001-05-20 Thread Richard Reynolds
I would have never signed up for this list, or any other if it didn't give me at least a few hours worth of email bouncing neither myself, or usa.net is up 24/7/365, and i wouldn't expect that everyone has a dedicated email server, for almost any list. plus I have had many problems with the

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

2001-05-20 Thread Linus Torvalds
Davem, check the last thing, please. On Sun, 20 May 2001, Alexander Viro wrote: On Sun, 20 May 2001, Linus Torvalds wrote: How about moratorium on new ioctls in the meanwhile? Whatever we do in fs/ioctl.c, it _will_ take time. Ehh.. Telling people don't do that simply doesn't

Re: VIA's Southbridge bug: Latest (pseudo-)patch

2001-05-20 Thread Alan Cox
If it had been a manufacturer in most respectable areas of business they'd be recalling and reissuing components, and paying for the end resllers to notify each customer This is consumer hardware. Consumer products are optimized for a good buzzword count per $ ratio. Everything else is

Re: [PATCH] 2.4.4-ac11 network drivers cleaning

2001-05-20 Thread Alan Cox
printk(%s\n, version); Not quite as optimal but safer. I disagree. Don't work around an escape bug in a version string, fix it... A % in a version string might be quite reasonable. You are asking to have an accident by avoiding it. If you want to fight over 4 bytes, then add

waitqueue problem on 2.4.3

2001-05-20 Thread Jens Haerer
Hy to all ! I am experiencing big problems using wait queues in a device driver (module) on kernel 2.4.3-20mdk (gcc version 2.96). I dont know if this is the right place to ask for - but its my last hope... The device driver i write is for a measuring device connected to parallel port- so i'm

Re: const __init

2001-05-20 Thread Franz Sirl
On Sunday 20 May 2001 21:51, Geert Uytterhoeven wrote: Since a while include/linux/init.h contains the line * Also note, that this data cannot be const. Why is this? Because const data will be put in a different section? Yes, and gcc3 errors on these constructs, cause it cannot decide

Re: Background to the argument about CML2 design philosophy

2001-05-20 Thread Eric S. Raymond
Jonathan Morton [EMAIL PROTECTED]: One caveat though - not all Macs have SCSI controllers, and not all that do even have one of the two standard ones. I know. But these derivations are only for the old 68K macs, which don't have PCI. Closed issue. 3. The MVME derivations are correct *if*

Re: const __init

2001-05-20 Thread Geert Uytterhoeven
On Sun, 20 May 2001, Jeff Garzik wrote: Geert Uytterhoeven wrote: Since a while include/linux/init.h contains the line * Also note, that this data cannot be const. Why is this? Because const data will be put in a different section? Causes a section type conflict build error,

Re: tcp_mem problem

2001-05-20 Thread Andi Kleen
On Sun, May 20, 2001 at 07:33:15PM +0200, David Osojnik wrote: the system with problem is using kernel 2.4.2 on an P200 with 64mb ram. It has about 20 users that use the box... (ftp, telnet, lynx, bitchx,...). the problem is when the parameter tcp_mem HIGH gets exeded after about a day of

sqrt in kernel?

2001-05-20 Thread M.
hi, is there a sqrt function in the kernel? any other math functions? i tried finding/grepping around, and found some various arch-specific stuff for fpu emulation... is there a general sqrt function? is there a single file to look through with the various math functions? thanks, -- Robert

Re: Background to the argument about CML2 design philosophy

2001-05-20 Thread Eric S. Raymond
David Woodhouse [EMAIL PROTECTED]: I think you already have the mechanism required to answer this - in NOVICE mode you disallow the strange choices, in EXPERT mode you allow them. That pushes the third button. I'm nervous that if we go down this path we will end up with a thicket of modes

Re: tcp_mem problem

2001-05-20 Thread David Osojnik
the system with problem is using kernel 2.4.2 on an P200 with 64mb ram. It has about 20 users that use the box... (ftp, telnet, lynx, bitchx,...). the problem is when the parameter tcp_mem HIGH gets exeded after about a day of use! Then the box is going from the net and its not

Re: Background to the argument about CML2 design philosophy

2001-05-20 Thread David Woodhouse
[EMAIL PROTECTED] said: I'm nervous that if we go down this path we will end up with a thicket of modes and a combinatorial explosion in ruleset complexity, leading immediately to a user configuration experience that is more complex than necessary, and eventually to an unmaintainable mess

Re: Background to the argument about CML2 design philosophy

2001-05-20 Thread Arjan van de Ven
On Sun, May 20, 2001 at 04:47:00PM -0400, Eric S. Raymond wrote: In order to prevent that happening, I would like to have some recognized criterion for configuration cases that are so perverse that it is a net loss to accept the additional complexity of handling them within the configurator.

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

2001-05-20 Thread Marcelo Tosatti
On Sun, 20 May 2001, Mike Galbraith wrote: Also in all recent kernels, if the machine is swapping, swap cache grows without limits and is hard to recycle, but then again that is a known problem. This one bugs me. I do not see that and can't understand why. To throw away dirty and

Re: sqrt in kernel?

2001-05-20 Thread Matti Aarnio
On Sun, May 20, 2001 at 04:33:20PM -0400, Robert M. Love wrote: hi, is there a sqrt function in the kernel? any other math functions? No. (Assuming FP math sqrt function is your interest.) If you do scaled integers (fractions, with 2^n denominator), you can do

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

2001-05-20 Thread Rik van Riel
On Sun, 20 May 2001, Mike Galbraith wrote: On 20 May 2001, Zlatko Calusic wrote: Also in all recent kernels, if the machine is swapping, swap cache grows without limits and is hard to recycle, but then again that is a known problem. This one bugs me. I do not see that and can't

[OT] util-linux-2.11c released

2001-05-20 Thread Andries . Brouwer
After man-pages-1.36 and kbd-1.06 today util-linux-2.11c. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: const __init

2001-05-20 Thread Russell King
On Sun, May 20, 2001 at 09:51:04PM +0200, Geert Uytterhoeven wrote: Appendix: here's the list of affected source files: arch/arm/kernel/setup.c Thanks for pointing it out. -- Russell King ([EMAIL PROTECTED])The developer of ARM Linux

Re: const __init

2001-05-20 Thread Ingo Oeser
On Sun, May 20, 2001 at 05:34:48PM -0400, Jeff Garzik wrote: This might be a very valid point... (let me know if the following test is flawed) It is imho. [jgarzik@rum tmp]$ cat sectest.c #include linux/module.h #include linux/init.h static const char version[] __initdata = foo;

Re: [LV] start_thread question...

2001-05-20 Thread Dave Airlie
Okay I think I've gotten it solved most of the way, we weren't calling execve via the system call interface, so once I made it go via the system call and I fill out pc, sp and psl registers in start_thread, it seems to go further.. Thanks for all the help... Dave. On Sun, 20 May 2001, Kenn

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

2001-05-20 Thread Marcelo Tosatti
On Sat, 19 May 2001, Mike Galbraith wrote: @@ -1054,7 +1033,7 @@ if (!zone-size) continue; - while (zone-free_pages zone-pages_low) { + while (zone-free_pages

Re: waitqueue problem on 2.4.3

2001-05-20 Thread David Woodhouse
I can't see anything immediately wrong with your code - make sure you're compiling against the source for the kernel you're running, with the same options enabled. In general, though, you shouldn't be using any of the sleep_on() functions if you care about the fact that you'll miss wakeup

Re: question: permission checking for network filesystem

2001-05-20 Thread Mikulas Patocka
Hi I'm trying to impelemnt a lightweight network filesystem and ran into trouble implementing lookup, permissions and open. The protocol requires me to specify open mode in it's open command. The open mode has 4 bits: read, write, append and execute. But I can't tell execution from read

Re: Background to the argument about CML2 design philosophy

2001-05-20 Thread David Woodhouse
[EMAIL PROTECTED] said: Maybe it would be possible to separate hard dependencies like the current system has with the soft ones one needs for entry-level configtools. Actually, the current system has both types. As well as the hard dependencies, we also have stuff like

Proxim Symphony wireless drivers

2001-05-20 Thread Subba Rao
Hi, I am using Proxim Symphony Wireless LAN card on one of my systems with kernel 2.2.19. I may reinstall with a different Linux distro and upgrade to kernel 2.4. The Proxim Symphony Wireless LAN site (http://www.komacke.com) has disappeared. Does anyone know where I can find drivers for Linux

Re: [kbuild-devel] Patch for sbus makefile bug

2001-05-20 Thread Keith Owens
On Sun, 20 May 2001 11:47:38 -0400, Eric S. Raymond [EMAIL PROTECTED] wrote: Somebody failed to track a module name change. -obj-$(CONFIG_BBC_I2C) += bbc.o +obj-$(CONFIG_BBC_I2C) += bbc_i2c.o bbc-objs := bbc_i2c.o bbc_envctrl.o The module is bbc.o, bbc_i2c.o is

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

2001-05-20 Thread Paul Fulghum
90% of drivers contain code written by stupid gits. From: Alan Cox I think thats a very arrogant and very mistaken view of the problem. 90% of the driver are written by people who are - Copying from other drivers - Using the existing API's to make their job easy - Working to timescales

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

2001-05-20 Thread Alexander Viro
On Sun, 20 May 2001, Paul Fulghum wrote: I'll be the first to admit there is some ugliness in my driver. So will anyone here regarding his or her code. Count me in, BTW. Could you reread the posting you are refering to? - To unsubscribe from this list: send the line unsubscribe

Re: alpha iommu fixes

2001-05-20 Thread Richard Henderson
On Sun, May 20, 2001 at 04:05:18PM +0400, Ivan Kokshaysky wrote: Ok. What do you think about reorg like this: basically leave the old code as is, and add if (is_pyxis) alpha_mv.mv_pci_tbi = cia_pci_tbi_try2; else tbia test ...

Re: Background to the argument about CML2 design philosophy

2001-05-20 Thread Jes Sorensen
Eric == Eric S Raymond [EMAIL PROTECTED] writes: Eric The first candidates I found were questions associated with Eric built-in SCSI and Ethernet on Macintoshes, on the Sun 3 and Eric Sun3x, and with built-in facilities on the MVME147 single-board Eric computer. So I wrote derivations that

Re: Background to the argument about CML2 design philosophy

2001-05-20 Thread Eric S. Raymond
David Woodhouse [EMAIL PROTECTED]: Let's not talk about CONFIG_AUNT_TILLIE any more, or change the existing behaviour of config options to make that the default, until we've settled the discussion about CML2. What discussion is that? Unless Linus has changed his mind and I don't know about

[PATCH] ppc xconfig 2.2.5-pre4

2001-05-20 Thread Andrzej Krzysztofowicz
Hi, The following patch fixes ppc xconfig potential problem introduced in 2.4.5-pre4. Andrzej *** diff -uNr linux-2.4.5-pre4/arch/ppc/config.in linux-pre4/arch/ppc/config.in --- linux-2.4.5-pre4/arch/ppc/config.in Mon May 21

Re: alpha iommu fixes

2001-05-20 Thread Andrea Arcangeli
On Sun, May 20, 2001 at 06:07:17PM -0700, David S. Miller wrote: Andrea Arcangeli writes: [..] 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.

Re: alpha iommu fixes

2001-05-20 Thread Andrea Arcangeli
On Sun, May 20, 2001 at 06:01:40PM -0700, David S. Miller wrote: Andrea Arcangeli writes: Well this is news to me. No drivers understand this. Yes, almost all drivers are buggy. No, the interface says that the DMA routines may not return failure. The alpha returns a faliure

PATCH: ali noautodma, and Alpha AXP

2001-05-20 Thread Jeff Garzik
The hardware: UP1000 Alpha, with ALI M1543C IDE. Fujitsu 2GB udma33 drive, I think. ATAPI UDMA CDROM. The problem: 2.2.15 (as packaged with MDK 7.1 for Alpha) works fine. 2.4.current, both ac tree and linus tree, fail to work at all. I've tried all combinations I can think of, for: with

Re: 2.4.4 del_timer_sync oops in schedule_timeout

2001-05-20 Thread Andrew Morton
Ingo Molnar wrote: On Sat, 19 May 2001, Jacob Luna Lundberg wrote: This is 2.4.4 with the aic7xxx driver version 6.1.13 dropped in. Unable to handle kernel paging request at virtual address 78626970 this appears to be some sort of DMA-corruption or other memory scribble problem.

<    1   2   3   4   >