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

2001-05-20 Thread Abramo Bagnara
Alexander Viro wrote: > > On Sat, 19 May 2001, Linus Torvalds wrote: > > > > > What you're really proposing is to make ioctl's be ASCII strings. > > > > Which is not necessarily a bad idea, and I think plan9 did something > > similar (or rather, if I remember correctly, plan9 has control streams

Mail admin notice

2001-05-20 Thread Shawn Starr
My emails may bounce between 3AM -> 8AM Est time, @Home is doing some fiber upgrades and i dont have a second MX server (as I am the domain/dns/mail etc). Please bear with bounces until then. Shawn. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess

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

2001-05-20 Thread Alexander Viro
On Sun, 20 May 2001, Abramo Bagnara wrote: > I've just had a "so simple to risk to be stupid" idea. > > To have /proc/self/fd/N/ioctl would not have the potential to suppress > ioctl needs for *all* current uses? No, it wouldn't. For one thing, it messes the only half-decent part of procfs. F

[PATCH] is_mounted() - getting remnants of get_super() out of drivers.

2001-05-20 Thread Alexander Viro
Linus, patch below adds an obvious helper function and converts several places to using it. For one thing, it's cleaner, for another - we won't have to change these places when we add refcounting on struct superblock. Actually, it used be a part of invalidate_device() patch. Please, apply

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

2001-05-20 Thread Mike Galbraith
On Sun, 20 May 2001, Rik van Riel wrote: > On Sun, 20 May 2001, 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

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

2001-05-20 Thread Abramo Bagnara
Alexander Viro wrote: > > On Sun, 20 May 2001, Abramo Bagnara wrote: > > > I've just had a "so simple to risk to be stupid" idea. > > > > To have /proc/self/fd/N/ioctl would not have the potential to suppress > > ioctl needs for *all* current uses? > > No, it wouldn't. For one thing, it messes

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

2001-05-20 Thread Rik van Riel
On Sun, 20 May 2001, Mike Galbraith wrote: > You're right. It should never dump too much data at once. OTOH, if > those cleaned pages are really old (front of reclaim list), there's no > value in keeping them either. Maybe there should be a slow bleed for > mostly idle or lightly loaded condit

Re: LANANA: To Pending Device Number Registrants

2001-05-20 Thread Eric W. Biederman
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 function to the physical > >> location. > > > >I don'

add page argument to copy/clear_user_page

2001-05-20 Thread Paul Mackerras
Linus, The patch below adds a page * argument to copy_user_page and clear_user_page. These functions are used only in include/linux/highmem.h to implement clear_user_highpage and copy_user_highpage. The idea is to pass in the pointer to the page struct for the destination page so that, on archi

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

2001-05-20 Thread Mike Galbraith
On Sun, 20 May 2001, Rik van Riel wrote: > On Sun, 20 May 2001, Mike Galbraith wrote: > > > You're right. It should never dump too much data at once. OTOH, if > > those cleaned pages are really old (front of reclaim list), there's no > > value in keeping them either. Maybe there should be a sl

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

2001-05-20 Thread Rik van Riel
On Sun, 20 May 2001, Mike Galbraith wrote: > but ;-) > > Looking at the locking and trying to think SMP (grunt) though, I > don't like the thought of taking two locks for each page until > 100%. The data in that block is toast anyway. A big hairy SMP > box has to feel reclaim_page(). (they pr

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

2001-05-20 Thread Alexander Viro
On Sun, 20 May 2001, Abramo Bagnara wrote: > Suppose now to have a convention that control stream are in the form: > "ACTION ARGUMENTS" > > Then we have > echo "speed 19200" > /proc/self/fd/0/ioctl > instead of > stty 19200 > > It seems to me something different from a pile of shit ;-) But i

Re: Mail admin notice

2001-05-20 Thread Mike A. Harris
On Sun, 20 May 2001, Shawn Starr wrote: >Date: Sun, 20 May 2001 03:31:55 -0400 (EDT) >From: Shawn Starr <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Content-Type: TEXT/PLAIN; charset=US-ASCII >Subject: Mail admin notice > > >My emails may bounce between 3AM -> 8AM Est time, @Home is doing some >fi

Re: RTL8139 difficulties in 2.2, not in 2.4

2001-05-20 Thread Matthias Andree
On Sat, 19 May 2001, Donald Becker wrote: > > eth1: Transmit timeout, status 0c 0005 media 18. > > eth1: Tx queue start entry 4 dirty entry 0. > > eth1: RTL8139 Interrupt line blocked, status 5. > > eth1: RTL8139 Interrupt line blocked, status 5. > > eth1: RTL8139 Interrupt line blocked, status

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

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

Re: CML2 design philosophy heads-up

2001-05-20 Thread David Woodhouse
[EMAIL PROTECTED] said: > I'll take that as a vote for (b), to handle even perverse > configurations even if it means adding a lot of complexity to the > ruleset. As long as the ruleset is sufficient to represent the desired parts of the original behaviour of CML1, that should be fine. Which

Re: Delivery reports about your email [FAILED(1)] (fwd)

2001-05-20 Thread David Woodhouse
[EMAIL PROTECTED] said: > Why? > -- Forwarded message -- > Some explanations/translations for these reports > can be found at: > http://www.zmailer.org/reports.html >->> 550-Open relay - see http://www.orbs.org/verify.php3?address=212.153.111.69 >->> 550 mail from

Re: alpha iommu fixes

2001-05-20 Thread Ivan Kokshaysky
On Sat, May 19, 2001 at 06:11:27PM -0700, Richard Henderson wrote: > I'd rather keep this around. It should be possible to use on CIA2. 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

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 dri

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 time

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

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 tim

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 > > > > print

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 > i

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 a

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

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 "unsubscri

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

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 u

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 y

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 contro

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

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 mappi

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 - segmentati

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) > >

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

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

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 file

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 MVM

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

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, ) > write(fd,read(fd, reply) > > Only one control file for all controls a device understands That's one of the ways to do it. Ho

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/s

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 exact

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 userlan

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

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 4<&3 > echo "speed" >&3 > cat <&4 > exec 3>&- > exec 4<&- > > Can you make a

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 c

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 star

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 looking

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, howeve

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 runni

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() implement

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 imp

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 cann

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 sho

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? [...] -- http:

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

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 object

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 tri

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.)

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, b

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

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 sam

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

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 conf

[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 diffe

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

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 f

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; } if(

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 unsu

Re: Mail admin notice

2001-05-20 Thread Matti Aarnio
On Sun, May 20, 2001 at 06:28:24AM -0400, Mike A. Harris wrote: > On Sun, 20 May 2001, Shawn Starr wrote: > >My emails may bounce between 3AM -> 8AM Est time, @Home is doing some > >fiber upgrades and i dont have a second MX server (as I am the > >domain/dns/mail etc). There is 3d+ some h

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 corrup

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-r

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 @home'

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" sim

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

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

Re: Getting FS access events

2001-05-20 Thread Alan Cox
> I'm confused. I've always wondered that before you suspend the state > of a machine to disk, why we just don't throw away unnecessary data > like anything not actively referenced. swsusp does exactly that. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: Mail admin notice my 2 cents

2001-05-20 Thread Mohammad A. Haque
Richard Reynolds wrote: > > 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 hav

const __init

2001-05-20 Thread Geert Uytterhoeven
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? However, quite some code defines const __init variables (see list below). So what should be done now? 1. Remove const f

[PATCH] 2.4.4-ac11 - dma mapping in drivers/net/fealnx.c

2001-05-20 Thread Francois Romieu
The patch makes the driver use the dma mapping interface. It compiles. No adequate adapter for testing. --- linux-2.4.4-ac11/drivers/net/fealnx.c Sat May 19 14:36:37 2001 +++ linux-2.4.4-ac11/drivers/net/fealnx.c Sun May 20 15:53:26 2001 @@ -46,6 +46,8 @@ static int full_duplex[MAX_UN

Re: const __init

2001-05-20 Thread Jeff Garzik
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, at least on x86. > FWIW, many source

Re: serpent loopback crypto "EXT2-fs: group descriptors corrupted"

2001-05-20 Thread Jari Ruusu
spam goes to /dev/null wrote: > i created a 10mb file called .enc2 with random data and ran "# losetup -e > serpent -k 128 /dev/loop0 /mnt/hda7/.enc2" > then i ran "# mke2fs /dev/loop0" and tried to "# mount /dev/loop0 /enc". but > i get the following error messages when trying to mount: > > May

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 us

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 d

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 *

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

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

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 M

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 awail

  1   2   >