Re: isa_read/write not available on ppc - solution suggestions ??

2001-05-02 Thread Geert Uytterhoeven
On 1 May 2001, Linus Torvalds wrote: > In article <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]> wrote: > >>[EMAIL PROTECTED] wrote: > >>> > >>> To get the pcmcia ibmtr driver (ibmtr/ibmtr_cs) working on ppc, all the > >>> isa_read/write's have to be changed to regular read/write due to the > >lack

Patch: softdog and WDIOS_DISABLECARD

2001-05-02 Thread Shane Wegner
Hi, I have found a potential problem with the current implementation of the software watchdog. I have CONFIG_WATCHDOG_NOWAYOUT set for a reliable watchdog. However, there are instances where I want to explicitly shut it down. The problem with disabling CONFIG_WATCHDOG_NOWAYOUT is that events o

PATCH: es1370 move pci_enable_device

2001-05-02 Thread Marcus Meissner
Hi, This moves pci_enable_device to the correct position in es1370 and cleans up the return values in es1370_probe. Ciao, Marcus Index: drivers/sound/es1370.c === RCS file: /build/mm/work/repository/linux-mm/drivers/sound/es1370.c,

Re: Unknown HZ value! (2000) Assume 1024.

2001-05-02 Thread Tom Holroyd
On Wed, 2 May 2001, Albert D. Cahalan wrote: > This is pretty bogus. The idle time can run _backwards_ on an SMP > system. True, but it's failing for single CPU systems (like mine), too. >> I notice also that since kstat.per_cpu_nice is an unsigned int, it's >> going to overflow in another 3.6

Re: PATCH: es1370 move pci_enable_device

2001-05-02 Thread Marcus Meissner
On Wed, May 02, 2001 at 09:44:21AM +0200, Marcus Meissner wrote: > Hi, > > This moves pci_enable_device to the correct position in es1370 and > cleans up the return values in es1370_probe > > Ciao, Marcus > + if ((!pci_resource_flags(pcidev, 0) & IORESOURCE_IO) || Slightly bad placed brace

PROBLEM: 2.4.4 oops, will not boot

2001-05-02 Thread Gordon Sadler
Please CC on replies. Attached is REPORTING-BUGS template from source, and a hand copied oops that I ran through ksymoops. I really hope this is resolved, anything further needed, just ask. It's freezing while startup scripts are run, on Debian Sid, it has just finished clean /var /tmp etc, and i

ioctl call for network device

2001-05-02 Thread sébastien person
Hi, I've succeed to do an ioctl call and recept it in my module ioctl(file_descriptor, cmd, struct ifreq) but I believe that I'm oblige to use the struct ifreq and I can't pass any other arguments because an user can't acces kernel space so the ioctl call recopy data in the kernel space (this i

Re: PATCH 2.4.4: Via audio fixes

2001-05-02 Thread Richard Guenther
On Mon, 30 Apr 2001, Jeff Garzik wrote: > The attached patch includes fixes to the Via audio driver for which I'm > interested finding testers. Testing and a private "it works" (hopefully > :)) or "it doesn't work, is what breaks for me" would be > appreciated. Works as before -> mono recordin

Re: Breakage of opl3sax cards since 2.4.3 (at least)

2001-05-02 Thread Vivek Dasmohapatra
On Wed, 2 May 2001, Russ Dill wrote: > Actually, this occured at 2.4.2 > > I searched though the archives, and the only people who were able to get > this resolved were those with a non-isapnp card (by added isapnp=0). > However, I have an isapnp card and the driver doesn't think my card > exist

[PROBLEM] socket buffering problem in 2.2.19

2001-05-02 Thread Tomi Lapinlampi
Hi, There seems to be some kind of a buffering problem in the 2.2.19 kernel. The following sequence of system calls on a nonblocking TCP socket (on the client side) generates a broken pipe: write(2)HTTP REQUESTread(2) 2. HTTP client > HTTP Server

Re: Breakage of opl3sax cards since 2.4.3 (at least)

2001-05-02 Thread Russ Dill
On 02 May 2001 09:30:03 +0100, Vivek Dasmohapatra wrote: > I have an isapnp opl3sax system [2.4.3-ac5] - the sound card initialises > fine, I just have to kick the second logical device with by cat'ing the > following into /proc/isapnp: > > card 0 YMH0802 > dev 0 YMH0022 > port 0 0x201 > activa

Ati Rage 128 problems.

2001-05-02 Thread Shahin, Mofeed
G'day all, I have a laptop (Dell Inspiron 8000) which has an Ati M4 Mobility. The problem happens whan I try to do 3D stuff on it. The example I am using is quake2 pointing at the Mesa GL drivers. (Redhat 7.1) I get about 5-15 seconds into the demo when the whole machine locks up. It sometimes co

Re: Breakage of opl3sax cards since 2.4.3 (at least)

2001-05-02 Thread Vivek Dasmohapatra
On Wed, 2 May 2001, Russ Dill wrote: > On 02 May 2001 09:30:03 +0100, Vivek Dasmohapatra wrote: > > > I have an isapnp opl3sax system [2.4.3-ac5] - the sound card > > initialises [cut] > not quite, you seem to have a YMH0802, while I have a YMH0802, what > error were you originally getting? ad

Re: X15 alpha release: as fast as TUX but in user space

2001-05-02 Thread Ingo Molnar
On Sun, 29 Apr 2001, Fabio Riccardi wrote: > TUX has definitively been my performance yardstick for the development > of X15, but I had many sources of inspiration for the X15 > architecture. Maybe the most relevant are the Flash Web Server (Pai, > Druschel, Zwaenepoel), several Linus observatio

Re: iso9660 endianness cleanup patch

2001-05-02 Thread Martin Dalecki
"H. Peter Anvin" wrote: > > Hi guys, > > I was looking over the iso9660 code, and noticed that it was doing > endianness conversion via ad hoc *functions*, not even inlines; nor did > it take any advantage of the fact that iso9660 is bi-endian (has "all" > data in both bigendian and littleendian

pci_fixup_via691_2 - again

2001-05-02 Thread Jacek Popławski
Will it be possible to disable this fixup in kernel setup? I think, when VIA MVP3 people will see, that 2.4.x is slower than 2.2.19, they just stay with 2.2.19, and if I understand correctly - 2.2.19 is unsafe like 2.4.4 with that fixup disabled. I use this chipset for about year, never had any st

Do You really Want a Job ?

2001-05-02 Thread Imarketing
+Hello! Do You really Want a Job?+ ++---+ American program "Imarketing" finds people forHomeWork in their free time! It's one of the most popular marketing program in the world and You can work with It now !!! All infor

Broken gcc ?

2001-05-02 Thread Amarendra GODBOLE
Hello World ! If I recall correctly, RHL 7 shipped with a broken gcc. Has it been fixed ? Basically, is it safe to switch to RHL 7 for development purposes ? Presently I use RHL 6.2 with 2.2.14 kernel. Apologies if this is not the proper list for this question, and yes, thanks in advance. Pea

RE: Linux NAT questions

2001-05-02 Thread Michel Wilson
> what I am trying to do is this. I have a genuine network, say 1.1.1.x, and > my Linux host is on it, as 1.1.1.252 (eth0). I also have a second > network at > the back of the Linux box, 192.168.200.x, and a web server on > that network, > 192.168.200.2. The Linux address is 192.168.200.1 on eth1.

Re: Followup to previous post: Atlon/VIA Instabilities

2001-05-02 Thread Linux Kernel Developer
> No, actually the instability starts right after/when the root > filesystem is mounted (it seems). I have no foreign modules installed > when this error occurs. Even if I did, why would the Abit KA7 with the > same [other] hardware and software NOT show this problem, even with all > opts enab

Re: bandwidth

2001-05-02 Thread mirabilos
> What you have todo is to learn how to configure your mailer to display > headers you want. Not the displaying annoys me, it's the traffic. The headers usually are less than multiple quoted sigs, though. > elm and balsa can do it. Do not know about Outlook... > (btw, it is cur

Re: Unknown HZ value! (2000) Assume 1024.

2001-05-02 Thread Ingo Oeser
On Wed, May 02, 2001 at 02:42:58AM -0400, Albert D. Cahalan wrote: > > In .../fs/proc/proc_misc.c:kstat_read_proc(), the cpu line is being > > computed by: > > > > len = sprintf(page, "cpu %u %u %u %lu\n", user, nice, system, > > jif * smp_num_cpus - (user + nice +

RE: Linux NAT questions- (kernel upgrade??)

2001-05-02 Thread Sim, CT (Chee Tong)
Hi.. I follow your instruction, but I encounter this issue, my kernel need to be upgrade? MAy I know how to determine the current kernel version and how to upgrade it?? [root@guava /root]# iptables -t nat -A PREROUTING -p tcp --dst 1.1.1.160 -i eth1 -j D NAT --to-destination 192.168.200.2 iptab

Re: Maximum files per Directory

2001-05-02 Thread Ingo Oeser
On Tue, May 01, 2001 at 03:03:44PM -0700, H. Peter Anvin wrote: > > Bit of both. You exceeded the max link count, and your > > performance would have been abominable too. cyrus should be > > using heirarchies of directories for very large amounts of > > stuff. Right. > But also showing, once agai

Re: [Patch] deadlock on write in tmpfs

2001-05-02 Thread Stephen C. Tweedie
hi, On Tue, May 01, 2001 at 03:39:47PM +0200, Christoph Rohland wrote: > > tmpfs deadlocks when writing into a file from a mapping of the same > file. > > So I see two choices: > > 1) Do not serialise the whole of shmem_getpage_locked but protect >critical pathes with the spinlock and do

Re: 2.4 and 2GB swap partition limit

2001-05-02 Thread Stephen C. Tweedie
Hi, On Tue, May 01, 2001 at 06:14:54PM +0200, Rogier Wolff wrote: > Shouldn't the algorithm be: > > - If (current_access == write ) > free (swap_page); > else > map (page, READONLY) > > and > when a write access happens, we fault again, and map free the > swap-page as it i

Re: Disk Performance Measurements

2001-05-02 Thread Jens Axboe
On Wed, May 02 2001, Shaun wrote: > In regards to diskr/wblk, drive_stat_acct() increments the number of > sectors/blocks read based n the values in the request being processed by > add_request(). But add_request() is only called for requests that can't be > merged with requests currently on the q

Weird HWaddr with rtl 8139too since 8129 merge?

2001-05-02 Thread Tim Krieglstein
Hi I just compiled the 2.4.4 release with gcc version 2.95.3 20010315 (Debian release). After starting up both realtek 8139 network cards (ok they where cheap) won't work. The source of the problem seems to be the hwaddr of the cards (ifconfig output): eth0 Link encap:Ethernet HWaddr FF:FF

Re: 2.4 and 2GB swap partition limit

2001-05-02 Thread Rogier Wolff
Stephen C. Tweedie wrote: > Hi, > > On Tue, May 01, 2001 at 06:14:54PM +0200, Rogier Wolff wrote: > > > Shouldn't the algorithm be: > > > > - If (current_access == write ) > > free (swap_page); > > else > > map (page, READONLY) > > > > and > > when a write access happens, we faul

Re: X15 alpha release: as fast as TUX but in user space (fwd)

2001-05-02 Thread Andi Kleen
[sorry for the late answer -- i was involuntarily offline for a few days] On Sat, Apr 28, 2001 at 04:56:27PM -0600, Richard Gooch wrote: > Whatever happened to that hack that was discussed a year or two ago? > The one where (also on IA32) a magic page was set up by the kernel > containing code fo

Re: X15 alpha release: as fast as TUX but in user space (fwd)

2001-05-02 Thread Ingo Molnar
On Wed, 2 May 2001, Andi Kleen wrote: > > Whatever happened to that hack that was discussed a year or two ago? > > The one where (also on IA32) a magic page was set up by the kernel > > containing code for fast system calls, and the kernel would write > > calibation information to that magic pag

NFS-performance drop with 2.4.4 and 8139too

2001-05-02 Thread Hendrik Volker Brunn
When upgrading from kernel 2.4.3 to 2.4.4 my NFS-performance drops badly. NFS-server: knfsd, linux-2.4.4, 8139too-0.9.16 NFS-client: linux-2.4.4, 8139too-0.9.16 transfers seem to start with about 2 MB/s but drop immediatly to about 20 K/s. http, ssh - performance is as usual. When switch

Re: 2.4 and 2GB swap partition limit

2001-05-02 Thread Stephen C. Tweedie
Hi, On Wed, May 02, 2001 at 12:54:15PM +0200, Rogier Wolff wrote: > > first: Thanks for clearing this up for me. > > So, there are in fact some more "states" a swap-page can be in: > > -(0) free > -(1) allocated, not in mem. > -(2) on swap, valid copy of memory. > -(

RE: Linux NAT questions- (kernel upgrade??)

2001-05-02 Thread Michel Wilson
> Hi.. I follow your instruction, but I encounter this issue, my kernel need > to be upgrade? MAy I know how to determine the current kernel version and > how to upgrade it?? You can see the current kernel version by doing uname -a. It is also shown at boot time. > > > [root@guava /root]# iptabl

Re: Followup to previous post: Atlon/VIA Instabilities

2001-05-02 Thread Tom Leete
Seth Goldberg wrote: > > Hi, > > So it seems that CONFIG_X86_USE_3DNOW is simply used to > enable access to the routines in mmx.c (the athlon-optimized > routines on CONFIG_K7 kernels), so then it appears that somehow > this is corrupting memory / not behaving as it should (very > technical, r

[PATCH] kernel locking guide fix.

2001-05-02 Thread Rusty Russell
diff -urN -I \$.*\$ -X /tmp/kerndiff.hKrYxB --minimal linux-2.4.4-official/Documentation/DocBook/kernel-locking.tmpl working-2.4.4-rcu/Documentation/DocBook/kernel-locking.tmpl --- linux-2.4.4-official/Documentation/DocBook/kernel-locking.tmpl Tue May 1 12:26:15 2001 +++ working-2.4.4-rcu

Re: reason for VIA performance drop since 2.4.2-ac21

2001-05-02 Thread Alan Cox
> It has nothing to do with mtrr or K6. In file arch/i386/kernel/pci-pc.c there > is a pci_fixup_via691_2 function. It appeared in 2.4.2-ac21. And it works for > my chipset - VIA_82C598. When I put "return" in body of this function, > recompile and start kernel 2.4.4 - "x11perf -putimage100" sho

Re: Question on including 'math.h' from C runtime...

2001-05-02 Thread Alan Cox
> '/usr/include/math.h' in most cases. There are only two places > in the kernel that also include this header file. They are: > >drivers/atm/iphase.c That probably shouldnt be using it >drivers/net/hamradio/soundmodem/gentbl.c This one is intentional. gentbl is a program linked in use

Re: DISCOVERED! Cause of Athlon/VIA KX133 Instability

2001-05-02 Thread Alan Cox
> > why resort to silly windows tools, when lspci under Linux does it for you? > > Because lspci does not display all 256 bytes of pci configuration > information. RTFM ;) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mo

Re: ioctl call for network device

2001-05-02 Thread sébastien person
Le Wed, 2 May 2001 13:55:34 +0200 Ofer Fryman <[EMAIL PROTECTED]> à écrit : > The definition of ioctl is "extern int __ioctl __P ((int __fd, unsigned long > int __request, ...));" on Linux 2.0.x, and I believe it is also on any other > Linux version. yes but I use an network device specific ioc

Re: PROBLEM: (follow-up) 2.4.4, ac1,ac2,ac3 - panics on ICMPv6 packets

2001-05-02 Thread Alan Cox
> 2.4.4, ac1, ac2 AND now ac3 will panic on receiving ICMPv6 packets (like >traceroute6 and ping6) > See my earlier messages for panic info. Does building without netfilter support help ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMA

Re: 2.4.3-ac9/4 - NFS corruption

2001-05-02 Thread Trond Myklebust
> " " == Raphael Manfredi <[EMAIL PROTECTED]> writes: > Yes, mail is delivered on the server by mailagent, so with > proper local locking. That's not good enough. The NFS client needs to know when it is in sync with the server... > :If so it's completely normal behaviour: the

Re: PROBLEM: 2.4.4{ac2} will not boot

2001-05-02 Thread Alan Cox
> threads that are indicating the same problem, is there still usefulness > in trying to capture an oops from 2.4.4? Bit odd that 2.4.4ac2 just > blackens my screen, isn't it? Capturing the 2.4.4 oops is useful - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: 2.4.4, 2.4.4-ac1 and -ac3: oops loading future domain scsi module

2001-05-02 Thread Alan Cox
> shpnt->io_port = port_base; > + if(pdev!=NULL) > scsi_set_pci_device(shpnt->pci_dev, pdev); > shpnt->n_io_port = 0x10; > print_banner( shpnt ); > > I hope this is the right way... I suspect it should be if(shpnt->pci_dev) but the effect is identical - To unsubscr

Re: Maximum files per Directory

2001-05-02 Thread Ketil Froyn
On Tue, 1 May 2001, Alan Cox wrote: > > cyrus-imapd i ran into problems. > > At about 2^15 files the filesystem gave up, telling me that there cannot be > > more files in a directory. > > > > Is this a vfs-Issue or an ext2-issue? > > Bit of both. You exceeded the max link count, and your performa

Re: Patch: softdog and WDIOS_DISABLECARD

2001-05-02 Thread Alan Cox
> I have found a potential problem with the current > implementation of the software watchdog. I have > CONFIG_WATCHDOG_NOWAYOUT set for a reliable watchdog. > However, there are instances where I want to explicitly > shut it down. The problem with disabling It is intentional you cannot shut i

Re: ioctl call for network device

2001-05-02 Thread Alan Cox
> but I believe that I'm oblige to use the struct ifreq and I can't > pass any other arguments because an user can't acces kernel space > so the ioctl call recopy data in the kernel space (this is what I've > understood, maybe I'm wrong ...). You can either pass your own data inside of ifr_data[]

Re: Broken gcc ?

2001-05-02 Thread Alan Cox
> If I recall correctly, RHL 7 shipped with a broken gcc. Has it been > fixed ? Basically, is it safe to switch to RHL 7 for development > purposes ? Presently I use RHL 6.2 with 2.2.14 kernel. I do all my kernel development with gcc 2.96-69 and 2.96-81 (the errata 7.0 and the 7.1 gcc). - To u

Re: NFS-performance drop with 2.4.4 and 8139too

2001-05-02 Thread Kurt Garloff
Hi, did you already try the patch that Andrew Morton sent in the "New rtl8139 driver prevents ssh from exiting." thread? On Wed, May 02, 2001 at 11:54:58AM +0200, Hendrik Volker Brunn wrote: > When upgrading from kernel 2.4.3 to 2.4.4 my > NFS-performance drops badly. > knfsd, linux-2.4.4, 81

Re: [Patch] deadlock on write in tmpfs

2001-05-02 Thread Christoph Rohland
Hi Stephen, On Tue, 1 May 2001, Stephen C. Tweedie wrote: > If the locking is for a completely different reason, then a > different semaphore is quite appropriate. In this case you're > trying to lock the shm internal info structures, which is quite > different from the sort of inode locking whi

RE: Linux NAT questions- (kernel upgrade??)

2001-05-02 Thread Feng Xian
i think iptables is a new feature in kernel 2.4.x(and you have to build it in the kernel or as module). you can use ipchains if you are running kernel with lower version, 2.2.something. Alex On Wed, 2 May 2001, Sim, CT (Chee Tong) wrote: > Hi.. I follow your instruction, but I encounter this is

RE: 2.4.4, 2.4.4-ac1 and -ac3: oops loading future domain scsi module

2001-05-02 Thread Matt_Domsch
> > +if(pdev!=NULL) > > scsi_set_pci_device(shpnt->pci_dev, pdev); > > I suspect it should be > > if(shpnt->pci_dev) > > but the effect is identical That one's mine. It should be: scsi_set_pci_device(shpnt, pdev); There's no reason to check if pdev != NULL first, as it's NUL

Re: ioctl call for network device

2001-05-02 Thread Richard B. Johnson
On Wed, 2 May 2001, [ISO-8859-1] sébastien person wrote: > Le Wed, 2 May 2001 13:55:34 +0200 > Ofer Fryman <[EMAIL PROTECTED]> à écrit : > > > The definition of ioctl is "extern int __ioctl __P ((int __fd, unsigned long > > int __request, ...));" on Linux 2.0.x, and I believe it is also on any

Re: Linux NAT questions- (kernel upgrade??)

2001-05-02 Thread Russell King
On Wed, May 02, 2001 at 08:22:54AM -0400, Feng Xian wrote: > i think iptables is a new feature in kernel 2.4.x(and you have to build > it in the kernel or as module). you can use ipchains if > you are running kernel with lower version, 2.2.something. I think you'll find that 2.4 is compatible wit

RE: 2.4.4, 2.4.4-ac1 and -ac3: oops loading future domain scsi mo dule

2001-05-02 Thread Matt_Domsch
> That one's mine. It should be: >scsi_set_pci_device(shpnt, pdev); Can you please try this patch and see if it works for you? diff -burN linux-2.4.4/drivers/scsi/fdomain.c linux/drivers/scsi/fdomain.c --- linux-2.4.4/drivers/scsi/fdomain.c Fri Apr 27 15:59:18 2001 +++ linux/drivers/scsi/f

Re: Linux NAT questions- (kernel upgrade??)

2001-05-02 Thread Vivek Dasmohapatra
On Wed, 2 May 2001, Russell King wrote: > On Wed, May 02, 2001 at 08:22:54AM -0400, Feng Xian wrote: > > i think iptables is a new feature in kernel 2.4.x(and you have to build > > it in the kernel or as module). you can use ipchains if > > you are running kernel with lower version, 2.2.something

Compiling kernel

2001-05-02 Thread alad
Hi, The question may sound very stupid... But I have following doubt. suppose I am making some change in sched.c and now I want to build my kernel that reflects the change.. Is there any way I can avoid answering all the questions when I do make zImage ? In short how should I compile the

Re: 2.4 and 2GB swap partition limit

2001-05-02 Thread Hugh Dickins
On Wed, 2 May 2001, Stephen C. Tweedie wrote: > > So the aim is more complex. Basically, once we are short on VM, we > want to eliminate redundant copies of swap data. That implies two > possible actions, not one --- we can either remove the swap page for > data which is already in memory, or w

Re: DISCOVERED! Cause of Athlon/VIA KX133 Instability

2001-05-02 Thread Moses McKnight
Mark Hahn wrote: >> Actually, I think there are 2 problems that have been discussed -- the >>disk corruption and a general instability resulting in oops'es at >>various points shortly after boot up. >> > > I don't see this. specifically, there were scattered reports > of a via-ide problem a fe

Re: 2.4.4, 2.4.4-ac1 and -ac3: oops loading future domain scsi module

2001-05-02 Thread martin
On Wed, May 02, 2001 at 09:03:59AM +0200, Carlo E. Prelz wrote: > Subject: 2.4.4, 2.4.4-ac1 and -ac3: oops loading future domain scsi module > Date: Wed, May 02, 2001 at 08:30:18AM +0200 > > Quoting Carlo E. Prelz ([EMAIL PROTECTED]): > > > Here I am with another, fresh oops that I

Re: 2.4.4, 2.4.4-ac1 and -ac3: oops loading future domain scsi mo dule

2001-05-02 Thread Carlo E. Prelz
Subject: RE: 2.4.4, 2.4.4-ac1 and -ac3: oops loading future domain scsi mo dule Date: Wed, May 02, 2001 at 07:40:50AM -0500 Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > > That one's mine. It should be: > >scsi_set_pci_device(shpnt, pdev); > > Can you please try this pat

ISSUE: fs corruption under 2.4.4

2001-05-02 Thread Michal Kaspar
1. Filesystem corruption under 2.4.4 2. I encountered fs corruption shortly after upgrade from 2.4.3 to 2.4.4. I found it after turning on my computer. The partitions seemed clean, but a lot of files needed for system start could not be found. The day before I turned it off correctly. I do not kno

Re: Compiling kernel

2001-05-02 Thread Anton Altaparmakov
On Wed, 2 May 2001 [EMAIL PROTECTED] wrote: > The question may sound very stupid... But I have following doubt. > > suppose I am making some change in sched.c and now I want to build my kernel > that reflects the change.. > Is there any way I can avoid answering all the questions when I do m

about kernel 2.4.x

2001-05-02 Thread sébastien person
Hi, is someone could explain me what are the main differences between kernel 2.2.x and 2.4.x ? thanks sebastien person - 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-

Re: isa_read/write not available on ppc - solution suggestions ??

2001-05-02 Thread mike_phillips
> We can certainly do that, no problem. > BUT that won't get a token ring pcmcia card working in the newer > powerbooks, such as the titanium G4 powerbook, because the PCI host > bridge doesn't map any cpu addresses to the bottom 16MB of PCI memory > space. This is not a problem as far as pcmcia

randon number generator in kernel..

2001-05-02 Thread Deepika Kakrania
Hi, Can anyone tell me whether there is already any function to generate random number inside kernel. If there is one what is that? Thanks in advance. Regards, Deepika - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mo

[PATCH] Problem: file /proc/tty/driver/serial does not get deleted on module unload in Kernel 2.4.4

2001-05-02 Thread Johannes Kolb
[1.] Summary: The file /proc/tty/driver/serial does not get deleted on module unload [2.] Description: If the serial driver (compiled as module) is loaded and then unloaded, the proc-entry tty/driver/serial does not get deleted. The remaining file is invalid and produces a kernel-oop

Re: randon number generator in kernel..

2001-05-02 Thread Alan Cox
> Can anyone tell me whether there is already any function to generate > random number inside kernel. If there is one what is that? Take a look at drivers/char/random.c - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More m

Re: X15 alpha release: as fast as TUX but in user space

2001-05-02 Thread Zach Brown
> i think Zach's phhttpd is an important milestone as well, it's the first > userspace webserver that shows how to use event-based, sigio-based async > networking IO and sendfile() under Linux. (I believe it had some *blush* > performance problems related to sigio queue overflow, these issues mi

Re: randon number generator in kernel..

2001-05-02 Thread Erik Mouw
On Wed, May 02, 2001 at 07:24:39PM +0530, Deepika Kakrania wrote: > Can anyone tell me whether there is already any function to generate > random number inside kernel. If there is one what is that? See drivers/char/random.c Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Gr

input core pointers, someone?

2001-05-02 Thread Magnus Bodin
I'm about to write a (IR) KEYBOARD device driver. I guess I'm better off using the existing work on the USB-path with input core etc that appeared sometimes around 2.2? Is there ANY documentation/schematics on how this works or is it 'Read The Fantastic Source' and/or e-mail Pavel Machek that is

Re: Broken gcc ?

2001-05-02 Thread Bob McElrath
Amarendra GODBOLE [[EMAIL PROTECTED]] wrote: > Hello World ! > > If I recall correctly, RHL 7 shipped with a broken gcc. Has it been > fixed ? Basically, is it safe to switch to RHL 7 for development > purposes ? Presently I use RHL 6.2 with 2.2.14 kernel. It "works"...sorta. It will compile

RE: input core pointers, someone?

2001-05-02 Thread Dunlap, Randy
http://www.suse.cz/development/input/ and Vojtech Pavlik ([EMAIL PROTECTED]) ~Randy503-677-5408_ --- > -Original Message- > From: Magnus Bodin [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 02, 2001 7:18 AM >

Re: Linux Kernel Debuggers, KDB or KGDB?

2001-05-02 Thread Ingo Oeser
On Tue, May 01, 2001 at 10:22:14AM -0500, Jeff Dike wrote: > [EMAIL PROTECTED] said: > > Basically you could add support for ALL generic subsystems, that > > support dummy hardware, like SCSI and ISDN for example. > > Is that planned or do I suggest sth. stupid here? ;-) > > Neither. I know squ

[PATCH] 2.4.4-ac3 +IPX -SYSCTL compile fix

2001-05-02 Thread Pavel Roskin
Hello! File net/ipx/sysctl_net_ipx.c provides dummy functions for ipx_register_sysctl and ipx_unregister_sysctl if CONFIG_SYSCTL is not defined. The problem is, sysctl_net_ipx.c is not even compiled in this case. I'm moving the dummy functions to af_ipx.c where they are used. Not sure about conf

Re: 2.4 and 2GB swap partition limit

2001-05-02 Thread Stephen C. Tweedie
Hi, On Wed, May 02, 2001 at 01:49:16PM +0100, Hugh Dickins wrote: > On Wed, 2 May 2001, Stephen C. Tweedie wrote: > > > > So the aim is more complex. Basically, once we are short on VM, we > > want to eliminate redundant copies of swap data. That implies two > > possible actions, not one --- w

Both 2.4.4aa2 and 2.4.4aa3 fail to compile

2001-05-02 Thread Maintaniner on duty
With gcc-2.95.2 provided by SuSE-7.0 for Alpha on UP2000 SMP with 2GB memory gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6-c -o extable.o extable.c extable.c: In function `

Re: Linux Kernel Debuggers, KDB or KGDB?

2001-05-02 Thread Andi Kleen
On Tue, May 01, 2001 at 11:16:50AM +1000, Keith Owens wrote: > My ideal debugger is one that combines the internal knowledge of kdb > with the source level debugging of gdb. I know how to do this over a > serial line, finding time to write the code is the problem. http://pice.sourceforge.net is

Re: [PATCH] adding PCI bus information to SCSI layer

2001-05-02 Thread Ingo Oeser
On Tue, May 01, 2001 at 09:32:41PM +0100, Alan Cox wrote: > Having thought over the issues I plan to maintain a 32bit dev_t kernel with > conventional mknod behaviour, even if Linus won't. One very interesting item > that Peter Anvin noted is that its not clear in POSIX that > > mknod /dev/

Re: isa_read/write not available on ppc - solution suggestions ??

2001-05-02 Thread Jonathan Lundell
At 3:46 PM -0700 2001-05-01, Linus Torvalds wrote: >On Tue, 1 May 2001, Russell King wrote: > > >> In which case, can we change the following in IO-mapping.txt please? > >Oh, sorry. I misread your question. The _return_ value is a cookie. > >The first argument should basically be the start of a

Re: PROBLEM: (follow-up) 2.4.4, ac1,ac2,ac3 - panics on ICMPv6 packets

2001-05-02 Thread Cliff Albert
On Wed, May 02, 2001 at 12:26:28PM +0100, Alan Cox wrote: > > 2.4.4, ac1, ac2 AND now ac3 will panic on receiving ICMPv6 packets (like >traceroute6 and ping6) > > See my earlier messages for panic info. > > Does building without netfilter support help ? There is no netfilter support in my ke

Re: [PATCH] 2.4.4-ac3 +IPX -SYSCTL compile fix

2001-05-02 Thread Pavel Roskin
> +#error This file shouldn't be compiled without CONFIG_SYSCTL defined Oops, sorry! Unterminated string constant in preprocessor. It should be #error This file should not be compiled without CONFIG_SYSCTL defined The patch at http://www.red-bean.com/~proski/linux/ipxsysctl.diff has been update

TV viewing broken in 2.4.4 (and 2.4.3)

2001-05-02 Thread Robert Holmberg
When my tv picture gets over a certain size, say when I enter fullscreen mode using xawtv or just resize my window over a certain point, most of the picture turns black and I get only a small strip of tv picture to the left of xawtv's window. TV was working well under 2.4.2. I reported this bu

Problem with map_user_kiobuf() not mapping to physical memory

2001-05-02 Thread Terry Barnaby
We are developing a Linux driver which allows a device to read/write directly into a processes virtual memory space. I have a question on using map_user_kiobuf() as we are having problems. I was under the impression that if I used map_user_kiobuf() this would map the users virtual address space in

Re: inserting a Forth-like language into the Linux kernel

2001-05-02 Thread Rick Hohensee
> I thought my mail client was doing "reply to all recipients". If it _was_ then this is redundant and I apologize. > > > On Tue, 1 May 2001, Rick Hohensee wrote: > > > (kspamd) is the Linux-side wrapper for H3sm > > C|N>K > > OK, you owe me a new keyboard. And thanks for new .sig. O

[RFC] gcc compile-time assertions

2001-05-02 Thread David Howells
I'm looking for comments on an idea I've thrashed out with David Woodhouse, Arjan Van de Ven and Andrew Haley... I've written a patch for gcc to implement compile-time assertions with an eye to making use of this in the kernel in the future (assuming I can get it to be accepted into gcc). One o

nfs performance at high loads

2001-05-02 Thread Kapish K
Hello!! Well... thanks for all the suggestions, but we might need to stick with 2.4.2 for various other dependencies, but, I have a surprising thing to report on the observations. I tried the zero-copy patch on 2.4.0, and it seemed to help in solving the memory allocation problem, and also

Re: [PATCH] adding PCI bus information to SCSI layer

2001-05-02 Thread Alan Cox
> 1. Does POSIX state, that "/" is the directory/entry[1] separator? > 2. Can a device node be an directory? > > If 1. and not 2., there is no way to implement it like that. Why not. It doesn't say what happens if there is pathname left over when you hit the device specifically. tar would archi

Re: Problem with map_user_kiobuf() not mapping to physical memory

2001-05-02 Thread Bjorn Wesen
On Wed, 2 May 2001, Terry Barnaby wrote: > However, I note that if the user just mallocs memory and does not access > it > (No physical memory pages created) and then passes this virtual address > space > to the driver which performs a map_user_kiobuf() on it, the resulting > kiobuf > structure ha

Re: TV viewing broken in 2.4.4 (and 2.4.3)

2001-05-02 Thread Alan Cox
> I reported this bug before for 2.4.3 and a patch which fixed (or worked around) this >problem was posted. The patch still works for 2.4.4 The fixup is bogus. Im not sure who wrote it or why. Its not the right fix for the VIA later chip bugs. Its not the right way to do a two chip combination f

Re: DISCOVERED! Cause of Athlon/VIA KX133 Instability

2001-05-02 Thread Jonathan Morton
>> the only general issue is that kx133 systems seem to be difficult >> to configure for stability. ugly things like tweaking Vio. >> there's no implication that has anything to do with Linux, though. > > >When I reported my problem a couple weeks back another fellow >said he and several others o

[3com905b freeze Alpha SMP 2.4.2] FullDuplex issue ?

2001-05-02 Thread Cabaniols, Sebastien
Hello, my hardware configuration is: 2 Alphaserver ES40 running kernel 2.4.2smp with 3com905b FastEthernet PCI The configuration is switched, 100 Full Duplex autonegotiation. **

Re: iso9660 endianness cleanup patch

2001-05-02 Thread H. Peter Anvin
Martin Dalecki wrote: > > "H. Peter Anvin" wrote: > > > > Hi guys, > > > > I was looking over the iso9660 code, and noticed that it was doing > > endianness conversion via ad hoc *functions*, not even inlines; nor did > > it take any advantage of the fact that iso9660 is bi-endian (has "all" > >

xconfig is broken (example ppc 8xx)

2001-05-02 Thread george anzinger
To show the problem do: make xconfig ARCH=ppc in the "Platform support" menu "Processor Type" select "8xx" then close the subminue with "MainMenu" now select "Save and Exit" This produces the following error messages: ERROR - Attempting to write value for unconfigured variable (CONFIG_SCC_ENE

Linux 2.4.4-ac3, asm problem in asm-i386/rwsem.h using gcc 3.0 CVS

2001-05-02 Thread Christian Iseli
Hi folks, I currently fail to compile the 2.4.4-ac3 kernel using latest GCC 3.0 from CVS: gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686-DEXPORT_SYMTAB -c sys.c sys.c: In functi

Re: [3com905b freeze Alpha SMP 2.4.2] FullDuplex issue ?

2001-05-02 Thread Bogdan Costescu
On Wed, 2 May 2001, Cabaniols, Sebastien wrote: > I insert the 3c59x module with debug=7. Why ? debug=7 is the highest debug level and produces _lots_ of debug data for high network activity. Do you have problems when insmod-ing without any option and use a higher debug level just to see what's

Re: Maximum files per Directory

2001-05-02 Thread H. Peter Anvin
Ingo Oeser wrote: > > On Tue, May 01, 2001 at 03:03:44PM -0700, H. Peter Anvin wrote: > > > Bit of both. You exceeded the max link count, and your > > > performance would have been abominable too. cyrus should be > > > using heirarchies of directories for very large amounts of > > > stuff. > Righ

2.4.4 code breaks compile of VMWare network bridging

2001-05-02 Thread LA Walsh
In 2.4.4, the define, in include/linux/skbuff.h and corresponding structure in net/core/skbuff.c , "skb_datarefp" disappeared. I'm not reporting this as a 'bug' as kernel internal interfaces are subject to change, but more as an "FYI". I haven't had a chance to try to debug or figure out

Re: 2.4.4 code breaks compile of VMWare network bridging

2001-05-02 Thread Mohammad A. Haque
On Wed, 2 May 2001, LA Walsh wrote: > reported it to the folks at VMware, but their response to problem reports > against 2.4.x is "can you duplicate it against 2.2.x, we don't support > 2.4.x yet". Perhaps someone expert in the 'net/core' area could explain > what changed and what they shouldn'

Re: How can do to disable the L1 cache in linux ?

2001-05-02 Thread Eric W. Biederman
"Alex Huang" <[EMAIL PROTECTED]> writes: > Dear All, > How can do to disable the L1 cache in linux ? > Are there some commands or directives to disable it ?? Play with the MTRR's and disable caching on memory. Stupid but it should get what you want. Eric - To unsubscribe from this list: send

  1   2   3   >