Re: [RFC] Directory index for Ext2 - the pagecache version

2001-03-09 Thread Alexander Viro
Variant with saner locking is in the same place, called ext2-dir-patch-b-S2.gz (no hash stuff, just an update of my part) Comments? Cheers, Al - To unsubscribe from this list: send the

[RFC][PATCH] read_cache_page() cleanup

2001-03-09 Thread Alexander Viro
Folks, looks like we can simplify both the callers of read_cache_page and function itself. Without breaking existing code. a) all but two callers do the following: page = read_cache_page(...); if (IS_ERR(page)) goto fail; wait_on_page(page);

Re: nanosleep question

2001-03-09 Thread Michael Reinelt
george anzinger wrote: > > Michael Reinelt wrote: > > > > At the moment I implemented by own delay loop using a small assembler > > loop similar to the one used in the kernel. This has two disadvantages: > > assembler isn't that portable, and the loop has to be calibrated. > > Why not use C?

O_DSYNC flag for open

2001-03-09 Thread Denis Perchine
Hello, one small question... Will O_DSYNC flag be available in Linux? It is available at least on AIX, and HP-UX. The difference with O_SYNC is the same as between fsync and fdatasync. Any comments? -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL

[ANNOUNCE] Dynamic Probes 2.0 released

2001-03-09 Thread bsuparna
Version 2.0 of the Dynamic Probes facility is now available at http://oss.software.ibm.com/developerworks/opensource/linux/projects/dprobes This release includes a new feature called "watchpoint probes" which exploits hardware watchpoint capabilities of the underlying hardware architecture to

SMP and APM

2001-03-09 Thread Jason McMullan
I'm working on a BIOS for a SMP machine, and I was wondering if the following technique would allow us to use APM _safely_ under SMP for Linux 2.4.x. APM (or -yech- ACPI) suspend is necessary for a customer's feature, and SMP support is required. APM Idle calls are _not_

a bug report for 2.4.2 kernel

2001-03-09 Thread root
This bug appeared when I attempted to do "make modules". The "make bzImage" was successful. I also attached the .config file. Ko-Jen Shih gcc -D__KERNEL__ -I/home/root/linux-2.4.2/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe

Re: [RFC] Directory index for Ext2 - the pagecache version

2001-03-09 Thread Alexander Viro
On Fri, 9 Mar 2001, Daniel Phillips wrote: > Why does read_cache_page unlock the page just before returning? I'd Because it may find the thing in cache. Uptodate and unlocked. Since you want the same result on all ways out of the function, you get to unlock the thing if you had locked it -

Re: Microsoft begining to open source Windows 2000?

2001-03-09 Thread Steve Underwood
[EMAIL PROTECTED] (Lars Gaarden) wrote on 08.03.01 in <[EMAIL PROTECTED]>: > You can accuse MS of a lot of things. Being stupid and ignorant > of the market is not one of them. I'd have to disagree there. In the mid 80's MS had never had a really successful applications product, even though

Version 6.1.6 of the aic7xxx driver availalbe

2001-03-09 Thread Justin T. Gibbs
As always, the latest version of this driver is availalbe here: http://people.FreeBSD.org/~gibbs/linux/ Complete CHANGELOG is now available at the above URL. I try to filter though LK as often as I can, but for best response, please email issues regarding this driver to me directly. Changes

Re: peer shrinks window

2001-03-09 Thread Andres Salomon
I've noticed this as well in my logs. In linux/include/net/tcp.h, TCP_DEBUG is turned on; in linux/net/ipv4/tcp_input.c, tcp_ack_update_window() contains the following: #ifdef TCP_DEBUG printk(KERN_DEBUG "TCP: peer %u.%u.%u.%u:%u/%u shrinks window %u:%u:%u. Bad, what else can I say?\n",

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread David Brownell
> > The reverse mapping > > code hast to be less than 0.1KB. > > If reverse mapping means bus_to_virt(), then I would suggest not to > provide it since it is a confusing interface. OTOH, only a few drivers > need or want to retrieve the virtual address that lead to some bus dma Your SCSI

Re: 2.2.18, Intel i815 chipset and DMA

2001-03-09 Thread David Rees
On Fri, Mar 09, 2001 at 05:21:36PM +, Alan Cox wrote: > > I've got a Gateway here with a Intel 815 chipset running 2.2.18. Inside > > it's a PIII 733 with 512MB and a Quantum lct15 drive. > > The UDMA100 on the i810/815 is supported by 2.4 > > > turn it on? The drive should be capable of

Re: [PATCH] to deal with bad dev->refcnt in unregister_netdevice()

2001-03-09 Thread Thomas Hood
This bug seems to be fixed in 2.4.2-ac16. Thanks again to Arnaldo Carvalho de Melo. Thomas On 21 Feb 2001 I wrote: > Update on the "unregister_netdevice" bug ... > > Arnaldo Carvalho de Melo found one bug but there > remains another one that makes the dev->refcnt too > high instead of too

Re: (struct dentry *)->vfsmnt;

2001-03-09 Thread Alexander Viro
On Fri, 9 Mar 2001, LA Walsh wrote: [getting path by dentry] > I'm getting it from various places, 1) if I want to know the > path relative to the root of the dentry at the end of 'path_walk' > or __user_path_walk (as used in truncate) and In that case you have nd->mnt and nd->dentry

Re: [patch] serial console vs NMI watchdog

2001-03-09 Thread Andrew Morton
Ion Badulescu wrote: > > On Sat, 10 Mar 2001 01:21:25 +1100, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > +/** > > + * enable_nmi_watchdog - enables/disables NMI watchdog checking. > > + * @yes: If zero, disable > > Ugh. I have a feeling that your chances to get Linus to accept this are >

Re: Linux 2.4.2ac12 and ac13 breaks usb-visor

2001-03-09 Thread David Huggins-Daines
Greg KH <[EMAIL PROTECTED]> writes: > On Fri, Mar 09, 2001 at 02:13:32PM -0600, Erik DeBill wrote: > > Until it's documented this is a landmine. JE is the default USB > > driver, so you can bet that a great many people will be using it (even > > though it's described as "alternate"). Once it's

Re: [PATCH]: allow notsc option for buggy cpus

2001-03-09 Thread David Huggins-Daines
Alan Cox <[EMAIL PROTECTED]> writes: > > My IBM Thinkpad 600E changes between 100MHz and 400MHz depending if the > > power is on. This means gettimeofday goes backwards if you boot with the > > Intel speedstep CPU. The 600E's CPU doesn't actually use SpeedStep (it's only a 400MHz Mobile

Re: Microsoft begining to open source Windows 2000?

2001-03-09 Thread Jesse Pollard
On Fri, 09 Mar 2001, Rogier Wolff wrote: >Jesse Pollard wrote: >> On Fri, 09 Mar 2001, Graham Murray wrote: >> >"Mohammad A. Haque" <[EMAIL PROTECTED]> writes: >> > >> >> making a patch means you've modfied the source which you are not allowed >> >> to do. The most you can do is report the bug

Re: (struct dentry *)->vfsmnt;

2001-03-09 Thread LA Walsh
Alexander Viro wrote: > No such thing. The same fs may be present in many places. Please, > describe the situation - where do you get that dentry from? > Cheers, > Al --- Al,

Re: 2.4.2-ac16 PIIX4 ACPI getting wrong IRQ?

2001-03-09 Thread Alan Cox
> With 2.4.2-ac16, /proc/pci contains: > > Bus 0, device 7, function 3: > >Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 1). > > IRQ 9. > > So the ACPI function of the PIIX4 is now being given > IRQ 9. I don't want this. I was using IRQ 9 for a > PCMCIA device. It was always

Re: [PATCH] aicasm db3 fiasco

2001-03-09 Thread Peter Blomgren
While we're at it, on my RH6.2 system db_185.h is in /usr/include, i.e. bash$ echo "`locate db_185.h` ($(rpm -qf `locate db_185.h`))" /usr/include/db_185.h (glibc-devel-2.1.3-22) FWIW, for my builds I've been using the following patch (hey, it works for me): ---

Real Time Clock driver hangs in 2.2.17

2001-03-09 Thread s d
I'm using an old Intel Pentium 90 mb -I think its "Plato". It's worked well as a gateway and file server for over two years. When I boot 2.2.17, the machine always hangs at the Real Time Clock driver. Pressing any key gets it going, but this is a remote machine - which makes it a real pain.

2.4.2-ac16 PIIX4 ACPI getting wrong IRQ?

2001-03-09 Thread Thomas Hood
With 2.4.3-pre1, /proc/pci contained: > Bus 0, device 7, function 3: > Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 1). With 2.4.2-ac16, /proc/pci contains: > Bus 0, device 7, function 3: >Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 1). > IRQ 9. So the ACPI

Re: [PATCH]: allow notsc option for buggy cpus

2001-03-09 Thread Alan Cox
> My IBM Thinkpad 600E changes between 100MHz and 400MHz depending if the > power is on. This means gettimeofday goes backwards if you boot with the Intel speedstep CPU. > Even so, we should really catch these cpus at run time. Intel are being remarkably reluctant on the documentation front.

[PATCH]: allow notsc option for buggy cpus

2001-03-09 Thread Anton Blanchard
Hi, My IBM Thinkpad 600E changes between 100MHz and 400MHz depending if the power is on. This means gettimeofday goes backwards if you boot with the power out (tsc calibrated at 100MHz) and then plug the power in. (tsc is now spinning at 4x speed, so offsets within the HZ timer period are 4x

Re: (struct dentry *)->vfsmnt;

2001-03-09 Thread Alexander Viro
On Fri, 9 Mar 2001, LA Walsh wrote: > Could someone enlighten me as to the purpose of this field in the > dentry struct? There is no elucidating comment in the header for this > particular field and the name/type only indicate it is pointing to > a list of vfsmounts. Can a dentry belong to

sys_sched_yield fast path

2001-03-09 Thread Mike Kravetz
Any thoughts about adding a 'fast path' to the SMP code in sys_sched_yield. Why not compare nr_pending to smp_num_cpus before examining the aligned_data structures? Something like, if (nr_pending > smp_num_cpus) goto set_resched_now; Where set_resched_now is a label placed just before

peer shrinks window

2001-03-09 Thread Marco d'Itri
In two days I've got 46 messages like: Mar 7 08:00:55 attila kernel: TCP: peer 163.162.41.4:37582/20 shrinks window 752789960:5840:752797200. Bad, what else can I say? If needed I can ask about the os running there, I think it's solaris. (nmap confirms: Solaris 7) Linux attila 2.4.0-test11

Re: [PATCH] aicasm db3 fiasco

2001-03-09 Thread FAVRE Gregoire
Thus spake FAVRE Gregoire ([EMAIL PROTECTED]): > The files exist but aren't seen??? I have tried to change the path to > them, that don't change anything??? If I put absolut path, that go further... > I don't understand why... But: make[4]: Entering directory

Re: [PATCH] aicasm db3 fiasco

2001-03-09 Thread FAVRE Gregoire
Thus spake Nathan Dabney ([EMAIL PROTECTED]): > Debian does not use db3 at all, yet. > > Applies against 2.4.2-ac17 Hello, thanks for your answer, I cannot apply your patch, don't know why, but readind it I think it won't change anything for me: I have db3 (I have a Mandrake...). >From my

[PATCH] aicasm db3 fiasco

2001-03-09 Thread Nathan Dabney
Debian does not use db3 at all, yet. Applies against 2.4.2-ac17 -Nathan diff -urN linux.orig/drivers/scsi/aic7xxx/aicasm/Makefile linux/drivers/scsi/aic7xxx/aicasm/Makefile --- linux.orig/drivers/scsi/aic7xxx/aicasm/Makefile Fri Mar 9 15:38:13 2001 +++

linux-2.4.2-ac1[67] aicam compil error

2001-03-09 Thread FAVRE Gregoire
Hello, Sorry if that has already been posted, I read the m-l via newsgroups. When I try to compile, I got: make[4]: Entering directory `/usr/src/linux-2.4.2-ac17/drivers/scsi/aic7xxx' make -C aicasm make[5]: Entering directory `/usr/src/linux-2.4.2-ac17/drivers/scsi/aic7xxx/aicasm' kgcc

(struct dentry *)->vfsmnt;

2001-03-09 Thread LA Walsh
Could someone enlighten me as to the purpose of this field in the dentry struct? There is no elucidating comment in the header for this particular field and the name/type only indicate it is pointing to a list of vfsmounts. Can a dentry belong to more than one vfsmount? If I have a 'dentry'

Re: khubd oops in 2.4.2-ac16

2001-03-09 Thread Keith Owens
On Fri, 9 Mar 2001 21:51:57 +0300, Oleg Drokin <[EMAIL PROTECTED]> wrote: >ksymoops 2.3.5 on i686 2.4.2-ac16. Options used >Warning (compare_maps): mismatch on symbol __module_author , usbnet says c89338c0, >/lib/modules/2.4.2-ac16/kernel/drivers/usb/usbnet.o says c893472c. Ignoring

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread Gérard Roudier
On Fri, 9 Mar 2001, David Brownell wrote: > Gérard -- > > > Just for information to people that want to complexify the > > pci_alloc_consistent() interface thats looks simple and elegant to me: > > I certainly didn't propose that! Just a layer on top of the > pci_alloc_consistent code --

Re: APM battery status reporting

2001-03-09 Thread Tom Sightler
> > tested in previous kernels. Then again my dmesg says the BIOS is probably > > buggy (same BIOS though as mentioned in those posts). Apmd does notice the > > change from mains to battery and vice versa (I have disabled Speedstep so now > > everything actually survives this transition :-). > >

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread David Brownell
Gérard -- > Just for information to people that want to complexify the > pci_alloc_consistent() interface thats looks simple and elegant to me: I certainly didn't propose that! Just a layer on top of the pci_alloc_consistent code -- used as a page allocator, just like you used it. > The

Re: quicksort for linked list

2001-03-09 Thread Michal Jaegermann
On Fri, Mar 09, 2001 at 12:52:22PM +0100, Rogier Wolff wrote: > > Quicksort however is an algorithm that is recursive. This means that > it can use unbounded amounts of stack -> This is not for the kernel. Well, not really in this situation, after a simple modification. It is trivial to show

Re: 2.2.x kernels not filling in siginfo_t.si_addr on SEGV?

2001-03-09 Thread Camm Maguire
Greetings, and thanks for your reply! Russell King <[EMAIL PROTECTED]> writes: > On Thu, Mar 08, 2001 at 10:28:39PM -0500, Camm Maguire wrote: > > Greetings, and thank you so much for your helpful reply! Was this on > > an i386? I'm specifically looking for a way to do his on arm, alpha, > >

Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread Pete Zaitcev
> Date: Fri, 09 Mar 2001 13:14:03 -0800 > From: David Brownell <[EMAIL PROTECTED]> >[...] > It feels to me like you're being inconsistent here, objecting > to a library API for some functionality (mapping) yet not for > any of the other functionality (alignment, small size, poisoning > and so

Re: [patch] serial console vs NMI watchdog

2001-03-09 Thread Robert Read
On Sat, Mar 10, 2001 at 01:21:25AM +1100, Andrew Morton wrote: > +static atomic_t nmi_watchdog_enabled = ATOMIC_INIT(0); /* 0 == enabled */ > + > +void enable_nmi_watchdog(int yes) > +{ > + if (yes) > + atomic_inc(_watchdog_enabled); > + else > +

IDE on 2.4.2

2001-03-09 Thread Lawrence MacIntyre
Hi: I have a PriMed P2MMX machine that works fine with 2.2.x (I installed RH7.0 on it, and then updated to 2.2.18. I'm trying to get 2.4.2 to work, but it seems to hang in the IDE/disk initialization when it boots. I'll enclose the .config from 2.2.18 and from 2.4.2. When 2.2.18 boots, the

Re: Microsoft begining to open source Windows 2000?

2001-03-09 Thread Kai Henningsen
[EMAIL PROTECTED] (Lars Gaarden) wrote on 08.03.01 in <[EMAIL PROTECTED]>: > Venkatesh Ramamurthy wrote: > > > Please check out this article. Looks like microsoft know open source is > > the thing of the future. I would consider that it is a begining step for > > full blown GPL > > > >

Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread Alan Cox
> I wonder if it may be feasible to allocate a bunch of contiguous > pages. Then, whenever the hardware returns a bus address, subtract > the remembered bus address of the zone start, add the offset to > the virtual and voila. Even if not you can hash by page number not low bits so the hash is

Re: Linux 2.4.2ac12 and ac13 breaks usb-visor

2001-03-09 Thread Greg KH
On Fri, Mar 09, 2001 at 02:13:32PM -0600, Erik DeBill wrote: > Nothing. I've got the following in /etc/syslog.conf (which I believe > SHOULD be correct), but I get absolutely nothing. > > *.=debug;\ > auth,authpriv.none;\ > news.none;mail.none /var/log/debug Try adding an entry

Re: APM battery status reporting

2001-03-09 Thread Alan Cox
> tested in previous kernels. Then again my dmesg says the BIOS is probably > buggy (same BIOS though as mentioned in those posts). Apmd does notice the > change from mains to battery and vice versa (I have disabled Speedstep so now > everything actually survives this transition :-). > So to

processor time, process time, idle time, etc

2001-03-09 Thread Collins, Tom
Hello... I am wondering is there is a way to obtain resource usage from the kernel w/o doing a kernel call from a program (can I get this from /proc/?? ?). For example, I am interested in discriminating between processor idle time, time spent in processes, etc. Is this possible, or will I

Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patch[RFC: API]

2001-03-09 Thread David Brownell
> > Given that some hardware must return the dma addresses, why > > should it be a good thing to have an API that doesn't expose > > the notion of a reverse mapping? At this level -- not the lower > > level code touching hardware PTEs. > > Because its' _very_ expensive on certain machines.

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread Gérard Roudier
On Fri, 9 Mar 2001, David Brownell wrote: > > > > > extern void * > > > > > pci_pool_dma_to_cpu (struct pci_pool *pool, dma_addr_t handle); > > > > > > > > Do lots of drivers need the reverse mapping? It wasn't on my todo list > > > > yet. > > > > > > Some hardware (like OHCI) talks to

APM battery status reporting

2001-03-09 Thread Dennis Noordsij
Hi, I have a Dell Inspiron 5000e laptop which works beautifully with 2.4.2, including suspends, DRM, etc etc. One thing that has never worked though is battery status reporting (/proc/apm). However people who sell this exact same laptop with Linux preinstalled (mostly redhat though with

Re: Linux 2.4.2ac12 and ac13 breaks usb-visor

2001-03-09 Thread Erik DeBill
On Thu, Mar 08, 2001 at 04:07:58PM -0800, Greg KH wrote: > > Hmm... I was compiling usb-uhci and uhci directly into the kernel, > > then visor.o as a module. > > You shouldn't be able to compile both usb-uhci and uhci into the kernel, > unless you tweak your .config file by hand. Build 2

Re: static scheduling - SCHED_IDLE?

2001-03-09 Thread Jamie Lokier
Rik van Riel wrote: > > Just raise the priority whenever the task's in kernel mode. Problem > > solved. > > Remember that a task schedules itself out at the timer interrupt, > in kernel/sched.c::schedule() ... which is kernel mode ;) Even nicer. On x86 change this: reschedule: call

Re: static scheduling - SCHED_IDLE?

2001-03-09 Thread Adrian Cox
george anzinger wrote: > Seems like you are sneaking up on priority inherit mutexes. The locking > over head is not so bad (same as spinlock, except in UP case, where it > is the same as the SMP case). The unlock is, however, the same as the > lock overhead. It is hard to beat the store of

Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patch[RFC: API]

2001-03-09 Thread David S. Miller
David Brownell writes: > Given that some hardware must return the dma addresses, why > should it be a good thing to have an API that doesn't expose > the notion of a reverse mapping? At this level -- not the lower > level code touching hardware PTEs. Because its' _very_ expensive on

Re: nanosleep question

2001-03-09 Thread george anzinger
Michael Reinelt wrote: > > Hi, > > I've got a question regarding the nanosleep() system call. > > I'm writing a little tool called lcd4linux > (http://lcd4linux.sourceforge.net), where I have to drive displays > connected to the parallel port. I'm doing this in userland, using > outb(). > >

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread David S. Miller
David Brownell writes: > > Do lots of drivers need the reverse mapping? It wasn't on my todo list > > yet. > > Some hardware (like OHCI) talks to drivers using those dma handles. Drivers for such hardware will this keep track of the information necessary to make this reverse mapping.

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread David S. Miller
Pete Zaitcev writes: > > Some hardware (like OHCI) talks to drivers using those dma handles. > > I wonder if it may be feasible to allocate a bunch of contiguous > pages. Then, whenever the hardware returns a bus address, subtract > the remembered bus address of the zone start, add the

Re: Linux 2.2.19pre16 - ip auto config problem

2001-03-09 Thread davide.rossetti
On Fri, 9 Mar 2001, davide.rossetti wrote: > Hi folks, > after a long time, I tried to upgrade the kernel I use to boot some > diskless PIII Katmai, C-PCI hosts (attached lspci -vv) with DEC ethernet > chips. sorry. forgot to attach the pci dev dump. regards --

Re: static scheduling - SCHED_IDLE?

2001-03-09 Thread Rik van Riel
On Fri, 9 Mar 2001, george anzinger wrote: > Rik van Riel wrote: > > On Thu, 8 Mar 2001, Boris Dragovic wrote: > > > > > > Of course. Now we just need the code to determine when a task > > > > is holding some kernel-side lock ;) > > > > > > couldn't it just be indicated on actual locking the

Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patch[RFC: API]

2001-03-09 Thread David Brownell
> > > Do lots of drivers need the reverse mapping? It wasn't on my todo list > > > yet. > > > > I am against any API which provides this. It can be extremely > > expensive to do this on some architectures, The implementation I posted needed no architecture-specific knowledge. If cost is

Re: Ramdisk (and other) problems with 2.4.2

2001-03-09 Thread David Weinehall
On Fri, Mar 09, 2001 at 08:23:43PM +0100, [EMAIL PROTECTED] wrote: > > Andries, comments? > > > remount > >Attempt to change the mount flags of > >already-mounted file system. This is commonly > >used to make a readonly file system writeable. > > Yes. But maybe "mount flags" is

Re: static scheduling - SCHED_IDLE?

2001-03-09 Thread Rik van Riel
On Fri, 9 Mar 2001, Jamie Lokier wrote: > Rik van Riel wrote: > > > > Of course. Now we just need the code to determine when a task > > > > is holding some kernel-side lock ;) > > > > > > couldn't it just be indicated on actual locking the resource? > > > > It could, but I doubt we would want

Re: static scheduling - SCHED_IDLE?

2001-03-09 Thread Jamie Lokier
Rik van Riel wrote: > > > Of course. Now we just need the code to determine when a task > > > is holding some kernel-side lock ;) > > > > couldn't it just be indicated on actual locking the resource? > > It could, but I doubt we would want this overhead on the locking... Just raise the

Re: static scheduling - SCHED_IDLE?

2001-03-09 Thread george anzinger
Rik van Riel wrote: > > On Thu, 8 Mar 2001, Boris Dragovic wrote: > > > > Of course. Now we just need the code to determine when a task > > > is holding some kernel-side lock ;) > > > > couldn't it just be indicated on actual locking the resource? > > It could, but I doubt we would want this

broken(?) Lucent Venus chipset and Linux 2.4

2001-03-09 Thread W. Michael Petullo
I have a Lucent Microelectronics Venus based modem, the Actiontec Internal Call Waiting modem. I have been trying to get it working well with Linux 2.4 for some time now. Theodore Ts'o, the maintainer of the Linux serial driver, and I have talked quite a bit on the subject. We both suspect that

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread David Brownell
> > > > extern void * > > > > pci_pool_dma_to_cpu (struct pci_pool *pool, dma_addr_t handle); > > > > > > Do lots of drivers need the reverse mapping? It wasn't on my todo list > > > yet. > > > > Some hardware (like OHCI) talks to drivers using those dma handles. > > I wonder if it may be

[PATCH] sysinfo() >= 4GB ram+swap

2001-03-09 Thread Hugh Dickins
1. To maximize compatibility, sys_sysinfo() tries to replace page counts by byte counts if no overflow: but its checks forget the most likely overflow. Just try adding a few 2GB swaps to your system, watching sysinfo() output as you do so. 2. It nicely defends the caller by doing the

Re: Microsoft begining to open source Windows 2000?

2001-03-09 Thread Mohammad A. Haque
Ralf Baechle wrote: > > Maybe they can be applied that way but no sane engineer would ever develop > a patch without source if possible at all. Keyword there being sane right? =P Sorry, I'm running off little sleep right now. --

Re: Microsoft begining to open source Windows 2000?

2001-03-09 Thread Ralf Baechle
On Fri, Mar 09, 2001 at 08:26:36AM -0500, Mohammad A. Haque wrote: > Hmm. I guess you have something there. I come from a Mac background and > some patches I've seen to 'hack' a feature into one of Apple's drivers > has been one that modifies the resource fork of the driver file. The > person

Re: Ramdisk (and other) problems with 2.4.2

2001-03-09 Thread Andries . Brouwer
> Andries, comments? > remount >Attempt to change the mount flags of >already-mounted file system. This is commonly >used to make a readonly file system writeable. Yes. But maybe "mount flags" is too narrow? It is up to the filesystem what precisely it does. What about remount

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread Pete Zaitcev
> Date: Fri, 09 Mar 2001 10:29:22 -0800 > From: David Brownell <[EMAIL PROTECTED]> > > > extern void * > > > pci_pool_dma_to_cpu (struct pci_pool *pool, dma_addr_t handle); > > > > Do lots of drivers need the reverse mapping? It wasn't on my todo list > > yet. > > Some hardware (like OHCI)

serialconsole broken in 2.4.2-ac16

2001-03-09 Thread Martin Josefsson
Hi I found out that there has been a namechange in serial.h and here's the corresponding changes to serial.c. --- linux-2.4.2-ac16.backup/drivers/char/serial.c Fri Mar 9 16:39:16 2001 +++ linux-2.4.2-ac16/drivers/char/serial.c Fri Mar 9 19:57:52 2001 @@ -5494,7 +5494,7 @@

Re: quicksort for linked list

2001-03-09 Thread Oliver Xymoron
On Fri, 9 Mar 2001, Rogier Wolff wrote: > Quicksort however is an algorithm that is recursive. This means that > it can use unbounded amounts of stack -> This is not for the kernel. It is of course bounded by the input size, but yes, it can use O(n) additional memory in the worst case. There's

khubd oops in 2.4.2-ac16

2001-03-09 Thread Oleg Drokin
Hello! I experience a lot of troubles with uhci driver driver, in different kernels. Usually it just panics on device insertion or removal, but this time I got lucky, and oops was not fatal, so here it is decoded. As I can see, something stomped on usb_device structure of unplugged

Re: Ramdisk (and other) problems with 2.4.2

2001-03-09 Thread Mike Galbraith
On Fri, 9 Mar 2001, Alexander Viro wrote: > On Fri, 9 Mar 2001, Mike Galbraith wrote: > > > I think I've figured it out.. at least I've found a way to reproduce > > the exact errors to the last detail and some pretty nasty corruption > > to go with it. The operator must help though.. a lot ;-)

Re: Ramdisk (and other) problems with 2.4.2

2001-03-09 Thread Alexander Viro
On Fri, 9 Mar 2001, Mike Galbraith wrote: > I was generally exercising with 'what can I do wrong' scenarios when I > noticed some strangness. If you boot a ramdisk root with init=/bin/sh, > mount a drive, cd to it and exec chroot . /bin/sh and then mount proc, > proc/mounts shows /dev/root

Re: Ramdisk (and other) problems with 2.4.2

2001-03-09 Thread Mike Galbraith
On Fri, 9 Mar 2001, Alexander Viro wrote: > On Fri, 9 Mar 2001, Mike Galbraith wrote: > > > I was generally exercising with 'what can I do wrong' scenarios when I > > noticed some strangness. If you boot a ramdisk root with init=/bin/sh, > > mount a drive, cd to it and exec chroot . /bin/sh and

Re: quicksort for linked list

2001-03-09 Thread Oliver Xymoron
On Fri, 9 Mar 2001, Alan Cox wrote: > > Quicksort works just fine on a linked list, as long as you broaden > > your view beyond the common array-based implementations. See > > "http://www.cs.cmu.edu/~jbruce/sort.cc" for an example, although I > > would recommend using a radix sort for linked

Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread Alan Cox
> Drivers can keep track of this kind of information themselves, > and that is what I tell every driver author to do who complains > of a lack of a "bus_to_virt()" type thing, it's just lazy > programming. I'd agree. There are _good_ reasons for having reverse mappings especially on certain

Re: Ramdisk (and other) problems with 2.4.2

2001-03-09 Thread Richard B. Johnson
On Fri, 9 Mar 2001, Alexander Viro wrote: > > > On Fri, 9 Mar 2001, Mike Galbraith wrote: > > > I think I've figured it out.. at least I've found a way to reproduce > > the exact errors to the last detail and some pretty nasty corruption > > to go with it. The operator must help though.. a

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread David Brownell
> > unlike the slab allocator bug(s) I pointed out. (And which > > Manfred seems to have gone silent on.) > > which bugs? See my previous email ... its behavior contradicts its spec, and I'd sent a patch. You said you wanted kmalloc to have an "automagic redzoning" feature, which would

Re: Ramdisk (and other) problems with 2.4.2

2001-03-09 Thread Mike Galbraith
On Fri, 9 Mar 2001, Richard B. Johnson wrote: > On Fri, 9 Mar 2001, Mike Galbraith wrote: > > > On Wed, 7 Mar 2001, Richard B. Johnson wrote: > > > > > On Wed, 7 Mar 2001, Mike Galbraith wrote: > > > > > > > On Wed, 7 Mar 2001, Richard B. Johnson wrote: > > > > > > > > > After attempting to run

Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread Johannes Erdfelt
On Fri, Mar 09, 2001, David S. Miller <[EMAIL PROTECTED]> wrote: > Manfred Spraul writes: > > Do lots of drivers need the reverse mapping? It wasn't on my todo list > > yet. > > I am against any API which provides this. It can be extremely > expensive to do this on some architectures, and

Re: quicksort for linked list

2001-03-09 Thread Oliver Xymoron
On Fri, 9 Mar 2001, Helge Hafting wrote: > Manoj Sontakke wrote: > > > > 1. Is quicksort on doubly linked list is implemented anywhere? I need it > > for sk_buff queues. > > I cannot see how the quicksort algorithm could work on a doubly > linked list, as it relies on being able to look > up

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

2001-03-09 Thread David S. Miller
Manfred Spraul writes: > Do lots of drivers need the reverse mapping? It wasn't on my todo list > yet. I am against any API which provides this. It can be extremely expensive to do this on some architectures, and since the rest of the PCI dma API does not provide such an interface neither

[PATCH] 2.2.19pre hfmodem/refclock.c asm statement error

2001-03-09 Thread Jari Ruusu
drivers/char/hfmodem/refclock.c fails to compile with "gcc version 2.95.2 2220 (Debian GNU/Linux)", but compiles normally with "gcc version 2.7.2.3". GNU assembler 2.9.5 was used in both cases. Here is the error message: refclock.c: In function `hfmodem_refclock_current': refclock.c:136:

Re: Ramdisk (and other) problems with 2.4.2

2001-03-09 Thread Alexander Viro
On Fri, 9 Mar 2001, Mike Galbraith wrote: > I think I've figured it out.. at least I've found a way to reproduce > the exact errors to the last detail and some pretty nasty corruption > to go with it. The operator must help though.. a lot ;-) > > If you do mount -o remount /dev/somedisk /

Re: Questions about Enterprise Storage with Linux

2001-03-09 Thread Jauder Ho
Well, I stand corrected. Look forward to trying it out. --Jauder On Fri, 9 Mar 2001, Tigran Aivazian wrote: > Hi, > > On Wed, 7 Mar 2001, Jauder Ho wrote: > > I am not sure what you intend this application for. If it is mission > > critical in any way shape or form, I would still recommend

Re: 2.4.2-ac calls FS truncate w/o BKL

2001-03-09 Thread Alexander Viro
On Fri, 9 Mar 2001, Chris Mason wrote: > > The added vmtruncate calls in the ac series trigger calls to the FS > truncate without the BKL held. Easy enough to fix on the reiserfs side, > but if other filesystems care we might want to change vmtruncate to grab > the lock before calling

Re: 2.2.18, Intel i815 chipset and DMA

2001-03-09 Thread Alan Cox
> I've got a Gateway here with a Intel 815 chipset running 2.2.18. Inside > it's a PIII 733 with 512MB and a Quantum lct15 drive. The UDMA100 on the i810/815 is supported by 2.4 > turn it on? The drive should be capable of 10-20MB/s, but I'm > only getting about 4MB/s with hdparm. :-(

Re: 2.2.18, Intel i815 chipset and DMA

2001-03-09 Thread David Rees
On Fri, Mar 09, 2001 at 12:12:07PM -0500, Mark Hahn wrote: > > I've got a Gateway here with a Intel 815 chipset running 2.2.18. Inside > > why? 2.2 is obsolete, and will not receive new drivers. Hmm, so the Intel 815 and DMA doesn't mix with 2.2.x? What about Andre's IDE patches? > > The

2.2.18, Intel i815 chipset and DMA

2001-03-09 Thread David Rees
I've got a Gateway here with a Intel 815 chipset running 2.2.18. Inside it's a PIII 733 with 512MB and a Quantum lct15 drive. The problem is that the IDE driver doesn't recognize the IDE conroller, so DMA isn't enabled leading to some poor drive performance. Here's the relevant sections from

Kernel Panic 2.2.19pre11

2001-03-09 Thread Collectively Unconscious
On Tyan Thunderbird 2510 MBd with server works le bios and dual eepro100 82559 nics running 2.2.19pre11 and either Donald's driver 1.13 or intel's driver 1.5.5a we get the following kernel panic after about 6 hrs of run: Kernel panic: shput: under: 80194fa2:1480 put:584 This is not running

Re: Ramdisk (and other) problems with 2.4.2

2001-03-09 Thread Richard B. Johnson
On Fri, 9 Mar 2001, Mike Galbraith wrote: > On Wed, 7 Mar 2001, Richard B. Johnson wrote: > > > On Wed, 7 Mar 2001, Mike Galbraith wrote: > > > > > On Wed, 7 Mar 2001, Richard B. Johnson wrote: > > > > > > > After attempting to run 2.4.2, and killing all my hard disks, I > > > > have finally

Re: Ramdisk (and other) problems with 2.4.2

2001-03-09 Thread Mike Galbraith
On Fri, 9 Mar 2001, Mike Galbraith wrote: > You must exec a shell (or something) chrooted to your mounted harddisk > to un-busy the old root and then pivot_root/unmount that old root. I > tested this, and all is well. This came out a little backassward.. pivot_root then chroot/unmount. - To

Re: binfmt_script and ^M

2001-03-09 Thread Thorsten Glaser Geuer
- Original Message - From: "Sean Hunter" <[EMAIL PROTECTED]> To: "Thorsten Glaser Geuer" <[EMAIL PROTECTED]> Sent: Thursday, 8. March 2001 13:01 Subject: Re: binfmt_script and ^M > On Tue, Mar 06, 2001 at 09:10:26PM -, Thorsten Glaser Geuer wrote: > > - Original Message -

Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patc h

2001-03-09 Thread Alan Cox
> ioremap space: 512MB (from PhilB) > io space: 256MB > > In order to follow your suggestion, we'd have to drop the kernel from 0xc* > down to 0xb*. And there are PA risc boxes with > 2Gig of RAM you might want to plug USB controllers into - To unsubscribe from this list:

Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patc h

2001-03-09 Thread Russell King
On Fri, Mar 09, 2001 at 09:27:53AM -0500, Hicks, Jamey wrote: > Are there any large-memory machines that need pci_alloc_consistent() in the > USB controller driver? If not, then let's just set up an uncached mapping > of all of DRAM and use a modified version of virt_to_bus and bus_to_virt.

Re: [patch] serial console vs NMI watchdog

2001-03-09 Thread Ion Badulescu
On Sat, 10 Mar 2001 01:21:25 +1100, Andrew Morton <[EMAIL PROTECTED]> wrote: > +/** > + * enable_nmi_watchdog - enables/disables NMI watchdog checking. > + * @yes: If zero, disable Ugh. I have a feeling that your chances to get Linus to accept this are extremely slim. Just have two functions,

  1   2   3   >