patch: 2.4.0/2.5.0: nanoseconds time resolution

2001-01-21 Thread Ulrich Windl
Hello, I have spend some time making a patch against the Linux kernel to switch to nanoseconds time resolution together with several time- related updates. I really need support for architectures other than i386, specifically a routine that has a very fine and accurate time resolution (just

RE: Is this kernel related (signal 11)?

2001-01-21 Thread Rainer Mager
> Would this be an SMP IA32 box with glibc 2.2? I have two such boxen > showing exactly the same behaviour, although I can't reproduce it at will. Close, it is actually an SMP IA32 box with glibc 2.1.3. But you've now convinced me to not upgrade glibc yet ;-) --Rainer - To unsubscribe from

Re: Is this kernel related (signal 11)?

2001-01-21 Thread Rogier Wolff
Rainer Mager wrote: > that it is likely a hardware or kernel problem. So, my question is, > how can I pin point the problem? Is this likely to be a kernel > issue? No, not hardware. No not kernel. Harware problems are normally not reproducable. Can you attach a debugger to your X server, and

Firewall netlink question...

2001-01-21 Thread Scaramanga
Hi, Under Linux 2.2.x I used to be able to use ipchains to send packet to a netlink socket so that my userspace application could further analyze the packet data. Since kernel 2.4 and iptables, I have not enjoyed the same functionality, has it been deprecated in favour of a better method, if

Re: Is this kernel related (signal 11)?

2001-01-21 Thread David Woodhouse
On Mon, 22 Jan 2001, Rainer Mager wrote: > I brought up this issue last month and had some response but as > of yet my particular problem still exists. In brief, X windows dies > with signal 11. I have done quite a bit of testing and this does not > seem to be a hardware issue. Also, I

Re: [PATCH] Re: Q: natsemi.c spinlocks

2001-01-21 Thread Donald Becker
On Sun, 21 Jan 2001, Jeff Garzik wrote: > Andrew Morton wrote: > > Manfred wrote: > > > Hi Jeff, Tjeerd, > > > I spotted the spin_lock in natsemi.c, and I think it's bogus. > > > > > > The "simultaneous interrupt entry" is a bug in some 2.0 and 2.1 kernel > > > (even Alan didn't remember it

Re: [PATCH] - filesystem corruption on soft RAID5 in 2.4.0+

2001-01-21 Thread Neil Brown
On Monday January 22, [EMAIL PROTECTED] wrote: > In article <[EMAIL PROTECTED]> you wrote: > > There have been assorted reports of filesystem corruption on raid5 in > > 2.4.0, and I have finally got a patch - see below. > > I don't know if it addresses everybody's problems, but it fixed a very >

Re: Inefficient PCI DMA usage (was: [experimental patch] UHCI updates)

2001-01-21 Thread Russell King
Hi, You may have already found out that there's a problem using pci_alloc_consistent and friends in the USB layer which will only be obvious on CPUs where they need to do page table remapping - that is that pci_alloc_consistent/pci_free_consistent aren't guaranteed to be interrupt-safe. I'm not

Re: named streams, extended attributes, and posix

2001-01-21 Thread Michael Rothwell
What you say is true; but Win32 -- which pretty much all Windows apps use -- disallows the following: \/:*?"<>| ... from that, they chose ":" as the stream delimiter, since the only other place it is used is with the drive letters. For the user, and most (non-native, i.e., Win32) apps, there

Re: [preview] Latest AMD & VIA IDE drivers with UDMA100 support

2001-01-21 Thread Mike Galbraith
On Sun, 21 Jan 2001, Andre Hedrick wrote: > > > 1. Only a software guy would call it 'bounce'.. sounds funny ;-) > > Er...I help design some of the hardware and the rules, so I do more than > just software. So does 'echo' or 'reflections'sound better than 'bounce'? Yes. (I wasn't cracking

Re: Patch for aic7xxx 2.4.0 test12 hang

2001-01-21 Thread Leslie Donaldson
Jeff Hartmann wrote: > > >> There is also a known issue with U160 modes and the currently > >> embedded aic7xxx driver. > > > > > > That's true the problem is the TCQ command seems to be sequencing wrong. > > > > > >> You might want to try the Adaptec > >> supported driver from here: > >> > >>

Is this kernel related (signal 11)?

2001-01-21 Thread Rainer Mager
Hi all, I brought up this issue last month and had some response but as of yet my particular problem still exists. In brief, X windows dies with signal 11. I have done quite a bit of testing and this does not seem to be a hardware issue. Also, I have never managed to get a signal 11

Re: int. assignment on SMP + ServerWorks chipset

2001-01-21 Thread Duncan Laurie
On Thu, 18 Jan 2001, Petr Matula wrote: | On Tue, Jan 16, 2001 at 06:39:46PM -0700, Duncan Laurie wrote: | > There may be bogus data in the PIRQ table as well, which is why this | > explicitly routes the interrupt & sets the ELCR. If you enable DEBUG | > in pci-i386.h and re-send the dmesg

Re: [linux-audio-dev] low-latency scheduling patch for 2.4.0

2001-01-21 Thread J Sloan
Nigel Gamble wrote: > Yes, I most emphatically do disagree with Victor! IRIX is used for > mission-critical audio applications - recording as well playback - and > other low-latency applications. The same OS scales to large numbers of > CPUs. And it has the best desktop interactive response

coprocessor_segment_overrun

2001-01-21 Thread Tom
I received the following kernel dump. I was in X, running xmms and netscape and a few terms not sure if this is a problem in the kernel but I thought I'd post it. Kernel: 2.4.0 (final release) GCC Version 2.95.3 Debian 2.2 Please reply via e-mail rather than to mailing list. Thanks! Tom

Re: mmap()/VM problem in 2.4.0

2001-01-21 Thread Marcelo Tosatti
On Fri, 19 Jan 2001, Rik van Riel wrote: > On Thu, 18 Jan 2001, Marcelo Tosatti wrote: > > On Thu, 18 Jan 2001, Rik van Riel wrote: > > > On Fri, 12 Jan 2001, Vlad Bolkhovitine wrote: > > > > > > > You can see, mmap() read performance dropped significantly as > > > > well as read() one raised.

Resolved: FAIL: 2.2.18 + AA-VM-global-7 + serial 5.05

2001-01-21 Thread Matthias Andree
On Mon, 01 Jan 2001, Chip Salzenberg wrote: > > If I now patch serial 5.05 on top of that, the kernel itself detects > > devices, but does nothing if it's to boot /sbin/init. ctrl-alt-del > > and Magic SysRq are both functional and can reboot the machine. > VA's current kernel includes

Interface statistics for Bonding bug in 2.4

2001-01-21 Thread Chris Chabot
I recently upgraded my main server to a 2.4 kernel (2.4.1pre9). This machine uses 2 3Com 3C905B networkcards, bonded together (using the bonding module). When doing a 'ifconfig' the bond0 device shows 0 RX packets, and a valid # of TX packets. However looking at eth0 / eth1 (the 2 network cards)

Re: the remount problem [2.4.0] kind of solved [patch]

2001-01-21 Thread Goswin Brederlow
> " " == Bernd Eckenfels <[EMAIL PROTECTED]> writes: > Hello, the following patch against 2.4.0 will allow the kernel > to write a message to the kernel log in case files are open for > write or delete on a partition which should be remounted. > I run my System with

Re: [linux-audio-dev] low-latency scheduling patch for 2.4.0

2001-01-21 Thread Nigel Gamble
On Sun, 21 Jan 2001, Paul Barton-Davis wrote: > >Let me just point out that Victor has his own commercial axe to grind in > >his continual bad-mouthing of IRIX, the internals of which he knows > >nothing about. > > 1) do you actually disagree with victor ? Yes, I most emphatically do disagree

Re: Incorrect module init message..

2001-01-21 Thread Trevor Hemsley
On Wed, 17 Jan 2001 09:09:01, "Mike A. Harris" <[EMAIL PROTECTED]> wrote: > 1 root@asdf:/# mcdr > Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 > sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray > ^ > > HP7200i burner 2x/2x/6x (CDR/CDRW/read)

Re: [linux-audio-dev] low-latency scheduling patch for 2.4.0

2001-01-21 Thread Paul Barton-Davis
>Let me just point out that Victor has his own commercial axe to grind in >his continual bad-mouthing of IRIX, the internals of which he knows >nothing about. 1) do you actually disagree with victor ? 2) victor is not the only person who has expressed this opinion. the most prolific irix

Re: Getting the number of 512-byte sectors?

2001-01-21 Thread Andries . Brouwer
From: Anton Altaparmakov <[EMAIL PROTECTED]> Subject: Getting the number of 512-byte sectors? My question is how to get the _real_ number of sectors of a partition from within a file system. I.e. we are starting only with the knowledge of the struct super_block for the

Re: [linux-audio-dev] low-latency scheduling patch for 2.4.0

2001-01-21 Thread Nigel Gamble
On Sat, 20 Jan 2001 [EMAIL PROTECTED] wrote: > Let me just point out that Nigel (I think) has previously stated that > the purpose of this approach is to bring the stunning success of > IRIX style "RT" to Linux. Since some of us believe that IRIX is a virtual > handbook of OS errors, it really

RE: int. assignment on SMP + ServerWorks chipset

2001-01-21 Thread Dunlap, Randy
Hi Duncan, Your temporary patch enables my USB host controller and USB devices (mouse, hub, and keyboard) to work on an STL2 system. > From: Duncan Laurie [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 16, 2001 5:40 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; >

Re: [OT?] Coding Style

2001-01-21 Thread Admin Mailing Lists
well, i watched monty python and the holy grail once (had to find out what everyone was all excited about) couldn't get into it, watched maybe 1/2 of it. -Tony .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-. Anthony J. Biacco Network

Re: display problem with matroxfb

2001-01-21 Thread Petr Vandrovec
On Sun, Jan 21, 2001 at 03:48:44PM +0100, f5ibh wrote: > Hi ! > > I've a matrox mystique with 8Mb RAM. > I've a problem when I use matroxfb instead vesafb. > If I enable CONFIG_FB_VESA, I get the nice logo and all is right for me. > If I enable CONFIG_FB_MATROX, the beginning of each line is in

Re: [PATCH] - filesystem corruption on soft RAID5 in 2.4.0+

2001-01-21 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > There have been assorted reports of filesystem corruption on raid5 in > 2.4.0, and I have finally got a patch - see below. > I don't know if it addresses everybody's problems, but it fixed a very > really problem that is very reproducable. Do you know

Re: [preview] Latest AMD & VIA IDE drivers with UDMA100 support

2001-01-21 Thread Dan Hopper
In another dimension, Andre Hedrick <[EMAIL PROTECTED]> remarked: > > > On Sun, Jan 21, 2001 at 01:42:41PM +0100, Mike Galbraith wrote: > > > 1. Only a software guy would call it 'bounce'.. sounds funny ;-) > > Er...I help design some of the hardware and the rules, so I do more than > just

2.4.x: CONFIG_IDEDMA_NEW_DRIVE_LISTINGS paradox/doc. bug

2001-01-21 Thread Barry K. Nathan
Quoting from 2.4.1-pre9 (this is also in 2.4.0 and 2.4.0-ac10, I think): >Straight GNU GCC 2.7.3/2.8.X compilers are known to be safe; >whereas, many versions of EGCS have a problem and miscompile if you >say Y here. 2.7.3/2.8.X can't be used to compile an out-of-the-box 2.4.x kernel, to say

Re: Kernel 2.4.x and 2.4.1-preX - Higher latency then 2.2.xkernels?

2001-01-21 Thread Shawn Starr
Sure, but Im not sure what to test ;) If you've got any special patches for 2.4 lemme know and I'll apply them I've got all night heh Shawn. Chris Mason wrote: > On Saturday, January 20, 2001 02:59:24 PM -0500 Gregory Maxwell > <[EMAIL PROTECTED]> wrote: > > > On Sat, Jan 20, 2001 at

Re: Is sendfile all that sexy?

2001-01-21 Thread David Woodhouse
On Sat, 20 Jan 2001, Linus Torvalds wrote: > There's no no-no here: you can even create the "struct page"s on demand, > and create a dummy local zone that contains them that they all point back > to. It should be trivial - nobody else cares about those pages or that > zone anyway. > > This is

Problems with sound card and NIC

2001-01-21 Thread Keven Belanger
Hello, I got a problem: since several version of the kernel we can't choose the io, irq, dma, etc... for the oss 100% compatible sound blaster sound card, my sound card should be set on irq 5. In kernel version 2.3.42 my sound card is irq 5 and my net card is irq 10, but when I try to build a

2.4.1pre9 Oops (was Re: 2.4.1pre8 Oops)

2001-01-21 Thread Jeff Lightfoot
On Sunday 21 January 2001 11:41, I wrote: > Nothing special with this box. SMP no modules, Squid proxy and > running VNC/Pan at the time. Using kernel version of reiserfs on > filesystems other than root. I also failed to mention that I use devfs. [Oops snipped] Upgraded to 2.4.1pre9 and got

Re: [OT?] Coding Style

2001-01-21 Thread Mo McKinlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today, Admin Mailing Lists ([EMAIL PROTECTED]) wrote: > > And the lord spake, saying, "First shalt thou write thy holy code. Indenting > > shalt thou count to three, no more, no less. Three shalt be the spaces thou > > shalt count, and the

2.2.17 vs 2.4.0-ac4/8. Is this normal?

2001-01-21 Thread piernas
Compiler: kgcc present in Red Hat 7.0 I hope this to be useful. -- D. Juan Piernas Cánovas Departamento de Ingeniería y Tecnología de Computadores Facultad de Informática. Universidad de Murcia Campus de Espinardo - 30080 Murcia (SPAIN) Tel.: +34968364633Fax: +34968364151 email: [EMAIL

Re: Ibcs2 or abi for kernel 2.4

2001-01-21 Thread David Woodhouse
On Fri, 19 Jan 2001, John O'Donnell wrote: > snpe wrote: > > Is there ibcs2 or abi for kernel 2.4.x ? > > Been discussed - Check this out: > http://marc.theaimsgroup.com/?l=linux-kernel=97149702506290=2 Yeah - dusting it off and making it work in 2.5 is somewhere on my ever-growing TODO list.

RE: Is sendfile all that sexy?

2001-01-21 Thread LA Walsh
FYI - Another use sendfile(2) might be used for. Suppose you were to generate large amounts of data -- maybe kernel profiling data, audit data, whatever, in the kernel. You want to pull that data out as fast as possible and write it to a disk or network socket. Normally, I

Re: oops

2001-01-21 Thread David Woodhouse
On Fri, 19 Jan 2001 [EMAIL PROTECTED] wrote: > Many oopses appeared, among others gcc closed with signal 11. > > One output: Read http://www.tux.org/lkml/#s4-3 -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [PATCH] - filesystem corruption on soft RAID5 in 2.4.0+

2001-01-21 Thread Manfred Spraul
I've attached Holger's testcase (ext2, SMP, raid5) boot with "mem=64M" and run the attached script. The script creates and deletes 9 directories with 10.000 in each dir. Neil, could you run it? I don't have an raid 5 array - SMP+ext2 without raid5 is ok. Holger, what's your ext2 block size, and

[ANN] POSIX timer patch for 2.4.0

2001-01-21 Thread Robert H. de Vries
Hi Linus, This patch adds the POSIX timer system calls to the kernel. The patch has been in a stable state for some time now. It has been tested on intel hardware only (SMP and UP). It also has been in use by myself and some other people for a year or so, which gives me some confidence that

Re: more via-rhine problems.

2001-01-21 Thread Mike A. Harris
On Sun, 21 Jan 2001, Urban Widmark wrote: >> I now believe that it is indeed caused by booting to windows 98 >> (by accident). ;o) > >Don't do that then :) That is a completely sane solution indeed. ;o) Unfortunately, I have to do so occasionally. Not often thankfully. ;o) >> Doesn't

[PATCH] - filesystem corruption on soft RAID5 in 2.4.0+

2001-01-21 Thread Neil Brown
There have been assorted reports of filesystem corruption on raid5 in 2.4.0, and I have finally got a patch - see below. I don't know if it addresses everybody's problems, but it fixed a very really problem that is very reproducable. The problem is that parity can be calculated wrongly when

Re: [preview] Latest AMD & VIA IDE drivers with UDMA100 support

2001-01-21 Thread Andre Hedrick
On Sun, 21 Jan 2001, Vojtech Pavlik wrote: > On Sun, Jan 21, 2001 at 01:42:41PM +0100, Mike Galbraith wrote: > > On Sun, 21 Jan 2001, Vojtech Pavlik wrote: > > > > > On Sat, Jan 20, 2001 at 02:57:07PM -0800, Andre Hedrick wrote: > > > > > > > chipset ---\ > > > > | > > > >

Re: more via-rhine problems.

2001-01-21 Thread Urban Widmark
On Thu, 18 Jan 2001, Mike A. Harris wrote: > I now believe that it is indeed caused by booting to windows 98 > (by accident). ;o) Don't do that then :) > Doesn't matter if a driver is installed in win or not as I've > tried both. Just booting win at all causes the card to go > berzerk next

Re: PROBLEM: 128M memory OK, but with 192M sound card es1391 trouble

2001-01-21 Thread Gregory McLean
On Wed, 17 Jan 2001, Joel Franco Guzmán wrote: [snip] > > the problem: The sound card generates a toc.. toc.. toc .. toc...while > playing a sound using the DSP of the soundcard. Two "tocs"/sec > aproxiumadetely. > Just for giggles, turn down the LINE-IN volume (or mute it) See if the noise goes

Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]]

2001-01-21 Thread kuznet
Hello! > So now the question is: when does this new nagle algorithm delay packets in the > write queue? It _must_ do something, otherwise TCP_NODELAY would obviously be a > noop. It allows _one_ incomplete segment to fly. Minshall and BSD behave absolutely similarly in all the curcumstances

Re: VIA chipset discussion

2001-01-21 Thread David D.W. Downey
I get something similar. *I* get it when I mix drives on the various controllers, aka ATA33/66 and ATA100 drives. I also get this error from the CDROM when using the ATA100 controller for my ATA100 30GB drive and the ATA33/66 controller for the CDROM. (Cyber 48X generic IDE CDROM). On Sat, 20

Re: boot.img & initrd.img

2001-01-21 Thread David D.W. Downey
www.linuxdoc.org has a HOWTO on bottdisks called Bootdisk-HOWTO. I believe it's in the older faq section. On Sat, 20 Jan 2001, Linux Admin wrote: > Hi guys ... > > new to the list. need help ? > > can anyone please guide to me to an how-to or documentation on how to make a > custom

2.4.1pre8 Oops

2001-01-21 Thread Jeff Lightfoot
Nothing special with this box. SMP no modules, Squid proxy and running VNC/Pan at the time. Using kernel version of reiserfs on filesystems other than root. Be glad to offer any other info if needed. EIP:0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 0002 eax:

Re: VIA chipset discussion

2001-01-21 Thread David D.W. Downey
On Fri, 19 Jan 2001, John O'Donnell wrote: I also have APM disabled. (I don't think APM support is useful on a server so I default disable it.) > > Forgive me. I know _nothing_ about Power Management resources. > What kind of resouces would PM use to interfere with the mouse. > FYI I have

Re: Ethernet drivers: SiS 900, Netgear FA311

2001-01-21 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: > > On Sun, Jan 21, 2001 at 01:54:34PM +0100, [EMAIL PROTECTED] wrote: > > On 20 Jan, Jeff Garzik wrote: > > > > > Not true, see natsemi.c (in 2.4.x at least). > > > > Correct, and the cards really work with it. > > natsemi did not work with 2.2.17 on a remote system I

Re: Ethernet drivers: SiS 900, Netgear FA311

2001-01-21 Thread idalton
On Sun, Jan 21, 2001 at 01:54:34PM +0100, [EMAIL PROTECTED] wrote: > On 20 Jan, Jeff Garzik wrote: > > > Not true, see natsemi.c (in 2.4.x at least). > > Correct, and the cards really work with it. natsemi did not work with 2.2.17 on a remote system I do work on, but did work with the

Re: Kernel 2.4.x and 2.4.1-preX - Higher latency then 2.2.xkernels?

2001-01-21 Thread Chris Mason
On Saturday, January 20, 2001 02:59:24 PM -0500 Gregory Maxwell <[EMAIL PROTECTED]> wrote: > On Sat, Jan 20, 2001 at 02:50:16PM -0500, Shawn Starr wrote: >> It just seems that since using 2.4 ive noticed my poor Pentium 200Mhz >> slow down whether being in X or otherwise. It just seems that

2.4.0 CDROM problem, ILLEGAL REQUEST

2001-01-21 Thread Gregory T. Norris
When playing audio CDs under kernel 2.4.0, syslog is showing the following message repeatedly: sr0: CDROM (ioctl) reports ILLEGAL REQUEST. The command line utility cdplay seems to only cause this occasionally, when I start playing a CD or skip to a different track, while gnome's gtcd will

Re: Is sendfile all that sexy?

2001-01-21 Thread kuznet
Hello! > "struct page" tricks, some macros etc WILL NOT WORK. In particular, we do > not currently have a good "page_to_bus/phys()" function. That means that > anybody trying to do DMA to this page is currently screwed, simply because > he has no good way of getting the physical address. We

Re: Off-Topic: how do I trace a PID over double-forks?

2001-01-21 Thread Doug McNaught
Jesse Pollard <[EMAIL PROTECTED]> writes: > Ummm ... basicly a "respawn" entry in the inittab is enough for that. Nope, see below. > If you wanted sendmail then: > > sndm:234:respawn:/usr/lib/sendmail -bd -q15m > > Will restart sendmail whenever it aborts in runleves 2,3, or 4. Sendmail in

Re: multi-queue scheduler update

2001-01-21 Thread Jesse Pollard
Mark Hahn <[EMAIL PROTECTED]>: > > > >microseconds/yield > > > # threads 2.2.16-22 2.42.4-multi-queue > > > - --- > > > 16 18.7404.603 1.455 > > > > I

Re: Off-Topic: how do I trace a PID over double-forks?

2001-01-21 Thread Jesse Pollard
- Received message begins Here - > > This is more a Unix API question than a Linux question. > > I hope the issue is interesting enough to be of interest to some of you. > > Basically, I am writing an init which features process watching > capabilities. My init has a

Re: Inefficient PCI DMA usage (was: [experimental patch] UHCI updates)

2001-01-21 Thread Johannes Erdfelt
On Sat, Jan 20, 2001, Russell King <[EMAIL PROTECTED]> wrote: > Johannes Erdfelt writes: > > They need to be visible via DMA. They need to be 16 byte aligned. We > > also have QH's which have similar requirements, but we don't use as many > > of them. > > Can we get away from the "16 byte

Re: Getting the number of 512-byte sectors?

2001-01-21 Thread Anton Altaparmakov
>Andries, LKML, > >Referring to an old email I was just rereading: > >At 01:29 02/10/2000, Andries Brouwer wrote: >On Mon, Oct 02, 2000 at 02:33:20AM +0200, Daniel Phillips wrote: >[snip] >> >unsigned long maxsector = (blk_size[major][MINOR(bh->b_rdev)] << 1) + 1; >>blk_size[][] gives a block

Re: [preview] Latest AMD & VIA IDE drivers with UDMA100 support

2001-01-21 Thread Vojtech Pavlik
On Sun, Jan 21, 2001 at 01:42:41PM +0100, Mike Galbraith wrote: > On Sun, 21 Jan 2001, Vojtech Pavlik wrote: > > > On Sat, Jan 20, 2001 at 02:57:07PM -0800, Andre Hedrick wrote: > > > > > chipset ---\ > > > | > > > \-IDC-header > > > > > > chipset ---+ > > >

Getting the number of 512-byte sectors?

2001-01-21 Thread Anton Altaparmakov
Andries, LKML, Referring to an old email I was just rereading: At 01:29 02/10/2000, Andries Brouwer wrote: On Mon, Oct 02, 2000 at 02:33:20AM +0200, Daniel Phillips wrote: [snip] > >unsigned long maxsector = (blk_size[major][MINOR(bh->b_rdev)] << 1) + 1; >blk_size[][] gives a block count

Re: [PATCH] linux-2.4.1-pre9/include/linux/acpi.h broke acpid compilation

2001-01-21 Thread John Fremlin
"Adam J. Richter" <[EMAIL PROTECTED]> writes: > linux-2.4.1-pre9/include/linux/acpi.h contains declares the routine > acpi_get_rsdp_ptr returning the kernel-only type "u64", without > bracketing the declaration in "#ifdef __KERNEL__...#endif". > Consequently, a user level program that attempts

[PATCH] include/linux/rtc.h tiny typo

2001-01-21 Thread John Fremlin
Against 2.4.0. --- linux/include/linux/rtc.h~ Tue Jul 11 19:18:53 2000 +++ linux/include/linux/rtc.h Sun Jan 21 16:06:53 2001 @@ -6,7 +6,7 @@ * Copyright (C) 1999 Hewlett-Packard Co. * Copyright (C) 1999 Stephane Eranian <[EMAIL PROTECTED]> */ -#ifndef _LINUX_RTC_H +#ifndef

display problem with matroxfb

2001-01-21 Thread f5ibh
Hi ! I've a matrox mystique with 8Mb RAM. I've a problem when I use matroxfb instead vesafb. If I enable CONFIG_FB_VESA, I get the nice logo and all is right for me. If I enable CONFIG_FB_MATROX, the beginning of each line is in the middle of the screen and the cursor position does not match the

[PATCH] Re: Q: natsemi.c spinlocks

2001-01-21 Thread Jeff Garzik
Andrew Morton wrote: > > Manfred wrote: > > > > Hi Jeff, Tjeerd, > > > > I spotted the spin_lock in natsemi.c, and I think it's bogus. > > > > The "simultaneous interrupt entry" is a bug in some 2.0 and 2.1 kernel > > (even Alan didn't remember it exactly when I asked him), thus a sane > >

Re: Q: natsemi.c spinlocks

2001-01-21 Thread Jeff Garzik
Manfred wrote: > > Andrew Morton wrote: > > > > start_tx() > > { > > Yes, I overlooked start_tx. > > Hmm. start_tx also assumes that the cpu commits writes in order, I'm > sure the driver is unreliable on RISC cpus. > > Perhaps the driver should use pci_alloc_consistent and pci_map_single?

Re: [preview] Latest AMD & VIA IDE drivers with UDMA100 support

2001-01-21 Thread Jan Niehusmann
On Sun, Jan 21, 2001 at 10:46:06AM +0100, Vojtech Pavlik wrote: > Ok, the VIA driver from clean 2.2.18 does nothing. It doesn't even use > hardcoded timings. It doesn't touch any timing tables. It just blindly > enables prefetch and writeback in the chips. The thing works because it > relies on

Re: Ethernet drivers: SiS 900, Netgear FA311

2001-01-21 Thread egger
On 20 Jan, Jeff Garzik wrote: > Not true, see natsemi.c (in 2.4.x at least). Correct, and the cards really work with it. -- Servus, Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at

kernel hangs on CD-R HP8100i if compiled w/ VIA IDE support.

2001-01-21 Thread Henryk Paluch
Hi folks! The Problem: Kernel hangs when accessing CD-R HP8100i if VIA IDE chipset support is compiled in. If VIA IDE is not compiled in kernel, it works. Tested kernels: 2.2.16, RedHat 7.0's 2.2.16-22, 2.2.18, 2.2.18 + Andre's IDE patch, 2.4.0. All tested kernels behave as described.

kernel hangs on CD-R HP8100i if compiled w/ VIA IDE support.

2001-01-21 Thread Henryk Paluch
Hi folks! The Problem: Kernel hangs when accessing CD-R HP8100i if VIA IDE chipset support is compiled in. If VIA IDE is not compiled in kernel, it works. Tested kernels: 2.2.16, RedHat 7.0's 2.2.16-22, 2.2.18, 2.2.18 + Andre's IDE patch, 2.4.0. All tested kernels behave as described.

Re: Via apollo KX133 ide bug in 2.4.x

2001-01-21 Thread Vojtech Pavlik
On Sat, Jan 20, 2001 at 04:32:36PM -0500, safemode wrote: > Peter Horton wrote: > > > On Thu, Jan 20, 2000 at 08:38:12AM +, Peter Horton wrote: > > > > > > I think I'm suffering the same thing on my new Asus A7V. Yesterday I got a > > > single "error in bitmap, remounting read only" type

Re: [preview] Latest AMD & VIA IDE drivers with UDMA100 support

2001-01-21 Thread Vojtech Pavlik
On Sun, Jan 21, 2001 at 10:51:12AM +, Alan Chandler wrote: > On Sat, 20 Jan 2001 20:18:34 -0500 (EST), you wrote: > > > >that's not the topic: Andre's talking about pci-clock-based timing > >constants the the driver programs into the ide controller - a matter > >of an extra few/more

Re: VIA chipset discussion

2001-01-21 Thread Vojtech Pavlik
On Sun, Jan 21, 2001 at 03:04:37AM -0800, David D.W. Downey wrote: > > OK, currently at work so I don't have the affected system in front of > me. I'm doing this from memory.. > > My apologies to those that responded to me. I've been unable to work on > this issue for the last few days due to

the remount problem [2.4.0] kind of solved [patch]

2001-01-21 Thread Bernd Eckenfels
Hello, the following patch against 2.4.0 will allow the kernel to write a message to the kernel log in case files are open for write or delete on a partition which should be remounted. I run my System with Read-Only /usr File System and this works fairly well. I have a script to remount the

Re: Inefficient PCI DMA usage (was: [experimental patch] UHCI updates)

2001-01-21 Thread Manfred Spraul
Russell King wrote: > > Manfred Spraul writes: > > Not yet, but that would be a 2 line patch (currently it's hardcoded to > > BYTES_PER_WORD align or L1_CACHE_BYTES, depending on the HWCACHE_ALIGN > > flag). > > I don't think there's a problem then. However, if slab can be told "I want > 1024

Re: Problems with Askey TView CPH061 grabber board under bttv

2001-01-21 Thread Gerd Knorr
> This is very bizzare, as when I look at the debug output from the tuner > module, it appears from the kernel messages that the card is being tuned > to the correct frequency. I know there is a station on that frequency > yet I > don't get any picture or sound, so obviously the tuner driver is

Re: Inefficient PCI DMA usage (was: [experimental patch] UHCI updates)

2001-01-21 Thread Russell King
Manfred Spraul writes: > Not yet, but that would be a 2 line patch (currently it's hardcoded to > BYTES_PER_WORD align or L1_CACHE_BYTES, depending on the HWCACHE_ALIGN > flag). I don't think there's a problem then. However, if slab can be told "I want 1024 bytes aligned to 1024 bytes" then I

Re: [preview] Latest AMD & VIA IDE drivers with UDMA100 support

2001-01-21 Thread Alan Chandler
On Sat, 20 Jan 2001 20:18:34 -0500 (EST), you wrote: >that's not the topic: Andre's talking about pci-clock-based timing >constants the the driver programs into the ide controller - a matter >of an extra few/more nanoseconds. I know, but when looking hard for a problem in one place and not

Re: krnl newbie: problems with EXPORT_SYMBOL()

2001-01-21 Thread Keith Owens
On Wed, 17 Jan 2001 19:18:40 +0100 (MET), Michael Palme <[EMAIL PROTECTED]> wrote: >ive got a problem with the EXPORT_SYMBOL() macro. >d801e0dc symbol_exported_R__symbol_exported FAQ alert! http://www.tux.org/lkml/#s8-8 - To unsubscribe from this list: send the line "unsubscribe

Re: Is sendfile all that sexy?

2001-01-21 Thread Ingo Molnar
On Sun, 21 Jan 2001, James Sutherland wrote: > For many applications, yes - but think about a file server for a > moment. 99% of the data read from the RAID (or whatever) is really > aimed at the appropriate NIC - going via main memory would just slow > things down. patently wrong. Compare the

Re: Is sendfile all that sexy?

2001-01-21 Thread James Sutherland
On Sat, 20 Jan 2001, Linus Torvalds wrote: > > > On Sat, 20 Jan 2001, Roman Zippel wrote: > > > > On Sat, 20 Jan 2001, Linus Torvalds wrote: > > > > > But point-to-point also means that you don't get any real advantage from > > > doing things like device-to-device DMA. Because the links are > >

Re: [preview] Latest AMD & VIA IDE drivers with UDMA100 support

2001-01-21 Thread Vojtech Pavlik
On Sat, Jan 20, 2001 at 02:57:07PM -0800, Andre Hedrick wrote: > Vojtech, I worry that the dynamic timing that you are calculating could > bite you. Well, I know this. But I fear hardcoded timings won't really help here, unles everyone out there ran their chipsets at 33 MHz, in which case the

Problems with Askey TView CPH061 grabber board under bttv

2001-01-21 Thread STiNG of DEATH
I recently bought an Askey TView CPH061 video grabber board based on a Bt878 chip with a Temic tuner (PAL-BG because I live in Australia.). It works quite well for composite inputs and UHF channels (thanks Gerd and others :-), however it will not receive any VHF channels. (Please see

Re: Inefficient PCI DMA usage (was: [experimental patch] UHCI updates)

2001-01-21 Thread Manfred Spraul
Russell King wrote: > > Johannes Erdfelt writes: > > They need to be visible via DMA. They need to be 16 byte aligned. We > > also have QH's which have similar requirements, but we don't use as many > > of them. > > Can we get away from the "16 byte aligned" and make it "n byte aligned"? > I

Re: Coding Style

2001-01-21 Thread george anzinger
Anton Altaparmakov wrote: > At 06:29 20/01/2001, Linus Torvalds wrote: > >> On Fri, 19 Jan 2001, Mark I Manning IV wrote: > > [snip] > >> > > And two spaces is not enough. If you write code that needs >> comments at >> > > the end of a line, your code is crap. >> > >> > Might i ask you

[PATCH] linux-2.4.1-pre9/include/linux/acpi.h broke acpid compilation

2001-01-21 Thread Adam J. Richter
linux-2.4.1-pre9/include/linux/acpi.h contains declares the routine acpi_get_rsdp_ptr returning the kernel-only type "u64", without bracketing the declaration in "#ifdef __KERNEL__...#endif". Consequently, a user level program that attempts to include , such as acpid, gets a compilation

[PATCH] linux-2.4.1-pre9/include/linux/acpi.h broke acpid compilation

2001-01-21 Thread Adam J. Richter
linux-2.4.1-pre9/include/linux/acpi.h contains declares the routine acpi_get_rsdp_ptr returning the kernel-only type "u64", without bracketing the declaration in "#ifdef __KERNEL__...#endif". Consequently, a user level program that attempts to include linux/acpi.h, such as acpid, gets a

Re: Coding Style

2001-01-21 Thread george anzinger
Anton Altaparmakov wrote: At 06:29 20/01/2001, Linus Torvalds wrote: On Fri, 19 Jan 2001, Mark I Manning IV wrote: [snip] And two spaces is not enough. If you write code that needs comments at the end of a line, your code is crap. Might i ask you to qualify that

Re: Inefficient PCI DMA usage (was: [experimental patch] UHCI updates)

2001-01-21 Thread Manfred Spraul
Russell King wrote: Johannes Erdfelt writes: They need to be visible via DMA. They need to be 16 byte aligned. We also have QH's which have similar requirements, but we don't use as many of them. Can we get away from the "16 byte aligned" and make it "n byte aligned"? I believe that

Problems with Askey TView CPH061 grabber board under bttv

2001-01-21 Thread STiNG of DEATH
I recently bought an Askey TView CPH061 video grabber board based on a Bt878 chip with a Temic tuner (PAL-BG because I live in Australia.). It works quite well for composite inputs and UHF channels (thanks Gerd and others :-), however it will not receive any VHF channels. (Please see

Re: [preview] Latest AMD VIA IDE drivers with UDMA100 support

2001-01-21 Thread Vojtech Pavlik
On Sat, Jan 20, 2001 at 02:57:07PM -0800, Andre Hedrick wrote: Vojtech, I worry that the dynamic timing that you are calculating could bite you. Well, I know this. But I fear hardcoded timings won't really help here, unles everyone out there ran their chipsets at 33 MHz, in which case the

Re: Is sendfile all that sexy?

2001-01-21 Thread James Sutherland
On Sat, 20 Jan 2001, Linus Torvalds wrote: On Sat, 20 Jan 2001, Roman Zippel wrote: On Sat, 20 Jan 2001, Linus Torvalds wrote: But point-to-point also means that you don't get any real advantage from doing things like device-to-device DMA. Because the links are asynchronous,

Re: Is sendfile all that sexy?

2001-01-21 Thread Ingo Molnar
On Sun, 21 Jan 2001, James Sutherland wrote: For many applications, yes - but think about a file server for a moment. 99% of the data read from the RAID (or whatever) is really aimed at the appropriate NIC - going via main memory would just slow things down. patently wrong. Compare the

Re: krnl newbie: problems with EXPORT_SYMBOL()

2001-01-21 Thread Keith Owens
On Wed, 17 Jan 2001 19:18:40 +0100 (MET), Michael Palme [EMAIL PROTECTED] wrote: ive got a problem with the EXPORT_SYMBOL() macro. d801e0dc symbol_exported_R__symbol_exported FAQ alert! http://www.tux.org/lkml/#s8-8 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [preview] Latest AMD VIA IDE drivers with UDMA100 support

2001-01-21 Thread Alan Chandler
On Sat, 20 Jan 2001 20:18:34 -0500 (EST), you wrote: that's not the topic: Andre's talking about pci-clock-based timing constants the the driver programs into the ide controller - a matter of an extra few/more nanoseconds. I know, but when looking hard for a problem in one place and not

Re: Inefficient PCI DMA usage (was: [experimental patch] UHCI updates)

2001-01-21 Thread Russell King
Manfred Spraul writes: Not yet, but that would be a 2 line patch (currently it's hardcoded to BYTES_PER_WORD align or L1_CACHE_BYTES, depending on the HWCACHE_ALIGN flag). I don't think there's a problem then. However, if slab can be told "I want 1024 bytes aligned to 1024 bytes" then I can

Re: Problems with Askey TView CPH061 grabber board under bttv

2001-01-21 Thread Gerd Knorr
This is very bizzare, as when I look at the debug output from the tuner module, it appears from the kernel messages that the card is being tuned to the correct frequency. I know there is a station on that frequency yet I don't get any picture or sound, so obviously the tuner driver is saying

Re: Inefficient PCI DMA usage (was: [experimental patch] UHCI updates)

2001-01-21 Thread Manfred Spraul
Russell King wrote: Manfred Spraul writes: Not yet, but that would be a 2 line patch (currently it's hardcoded to BYTES_PER_WORD align or L1_CACHE_BYTES, depending on the HWCACHE_ALIGN flag). I don't think there's a problem then. However, if slab can be told "I want 1024 bytes

  1   2   >