Re: [patch 2.6.13-git] 8250 tweaks

2005-07-14 Thread Sam Song
Russell King <[EMAIL PROTECTED]> wrote: > v. whining > > 1. To utter a plaintive, high-pitched, > protracted sound, as in pain, >fear, supplication, or complaint. > 2. To complain or protest in a childish fashion. > 3. To produce a sustained noise of relatively > high pitch: je

Re: eepro100/e100 broken in 2.6.13-rc3

2005-07-14 Thread Grant Coady
On Wed, 13 Jul 2005 23:28:15 -0700, Jesse Brandeburg <[EMAIL PROTECTED]> wrote: >On 7/13/05, Mikhail Kshevetskiy <[EMAIL PROTECTED]> wrote: >> symptom >> === >> modprobe e100 >> ifconfig eth0 netmask >> >> result: >> === >> SIOCADDRT: Network is unreachable >> >> There were no such err

Re: moving DRM header files

2005-07-14 Thread Arjan van de Ven
On Thu, 2005-07-14 at 14:04 +1000, Dave Airlie wrote: > Hi, > I'd like to move the interface DRM header files (drm.h and *_drm.h) > somewhere more useful and also more "user-space" visible, (i.e. so > kernel-headers could start picking them up.) I would suggest making ONE userspace visible header,

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Arjan van de Ven
> IOW, nothing ever sees any "variable frequency", and there's never any > question about what the timer tick is: the timer tick is 2kHz as far as > everybody is concerned. It's just that the ticks sometimes come in > "bunches of 20". btw we can hide all of this a lot nicer from just about the

Re: Thread_Id

2005-07-14 Thread Arjan van de Ven
On Thu, 2005-07-14 at 11:03 +0530, RVK wrote: > Robert Hancock wrote: > > > RVK wrote: > > > >> Can anyone suggest me how to get the threadId using 2.6.x kernels. > >> pthread_self() does not work and returns some -ve integer. > > > > > > What do you mean, negative integer? It's not an integer, it

Re: [PATCH] Fuse chardevice number

2005-07-14 Thread Miklos Szeredi
> /** The major number of the fuse character device */ > -#define FUSE_MAJOR 10 > +#define FUSE_MAJOR MISC_MAJOR OK, this makes some sense. > /** The minor number of the fuse character device */ > -#define FUSE_MINOR 229 > +#define FUSE_MINOR MISC_DYNAMIC_MINOR Why? FUSE has an allocated fix

Re: 2.6.12.2 tg3 driver doesn't ARP on 8021q 802.1q dot1q VLAN interfaces?

2005-07-14 Thread Alexey Dobriyan
On Monday 11 July 2005 10:29, Marc Haber wrote: > After rebooting, the VLANs on the Intel-based interfaces worked fine, while > the tg3-based interfaces didn't answer to tagged ARP requests. The untagged > VLAN on the tg3-based interfaces was fine as well. When tcpdumping the > subinterfaces, I saw

Re: 2.6.9: serial_core: uart_open

2005-07-14 Thread Russell King
On Wed, Jul 13, 2005 at 10:53:19AM -0700, karl malbrain wrote: > I've also noticed that the boot sequence probes for modems on the serial > ports. Is it possible that 8250.c is having a problem servicing an > interrupt from a character/state-change left over from this initialization? I did ask fo

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > I suspect that it is impractical to reprogram the PIT on a very fine > granularity. yes - reprogramming the PIT can take up to 10 usecs even on recent PCs. (in fact the cost is pretty much system-independent due to PIO.) On modern, PIT-less times

[RFC][PATCH] PCI bus class driver rewrite for 2.6.13-rc2 [0/9]

2005-07-14 Thread Adam Belay
Hi all, I'm in the process of overhauling some aspects of the PCI subsystem. This patch series is a rewrite of the PCI probing and detection code. It creates a well defined PCI bus class API and allows a standard PCI driver to bind to PCI bridge devices. This results in the following: * cleaner

[RFC][PATCH] basic PCI<->PCI bridge PM (suspend/resume) [9/9]

2005-07-14 Thread Adam Belay
This patch adds very simplistic suspend/resume support for the PCI bridge driver. Soon this will be replaced with bridge specific code, but for now we'll try using pci_save/restore_state(). Signed-off-by: Adam Belay <[EMAIL PROTECTED]> --- a/drivers/pci/bus/pci-bridge.c 2005-07-14 04:22:13.

[RFC][PATCH] root PCI bridge registration updates [5/9]

2005-07-14 Thread Adam Belay
This patch updates pci_scan_bus_parented() and also has some important fixes to the PCI bus class. Signed-off-by: Adam Belay <[EMAIL PROTECTED]> --- a/drivers/pci/bus/bus.c 2005-07-12 01:08:20.0 -0400 +++ b/drivers/pci/bus/bus.c 2005-07-13 02:01:57.0 -0400 @@ -81,7 +81,7 @

[RFC][PATCH] add PCI bus registration support [2/9]

2005-07-14 Thread Adam Belay
This patch adds pci_add_bus() for PCI bus registration. It also moves pci_remove_bus() from remove.c to bus/bus.c for consistency. Signed-off-by: Adam Belay <[EMAIL PROTECTED]> --- a/drivers/pci/bus/bus.c 2005-07-12 00:59:58.0 -0400 +++ b/drivers/pci/bus/bus.c 2005-07-12 01:01:1

[RFC][PATCH] device registration cleanups [3/9]

2005-07-14 Thread Adam Belay
This patch moves all device registration related functions to bus/device.c. Signed-off-by: Adam Belay <[EMAIL PROTECTED]> --- a/drivers/pci/bus/device.c 1969-12-31 19:00:00.0 -0500 +++ b/drivers/pci/bus/device.c 2005-07-12 01:32:41.0 -0400 @@ -0,0 +1,187 @@ +/* + * device.c - PC

[RFC][PATCH] Add PCI<->PCI bridge driver [4/9]

2005-07-14 Thread Adam Belay
This patch adds a basic PCI<->PCI bridge driver that utilizes the new PCI bus class API. Signed-off-by: Adam Belay <[EMAIL PROTECTED]> --- a/drivers/pci/bus/pci-bridge.c 1969-12-31 19:00:00.0 -0500 +++ b/drivers/pci/bus/pci-bridge.c 2005-07-08 02:18:43.0 -0400 @@ -0,0 +1

[RFC][PATCH] PCI root bridge detection fix [7/9]

2005-07-14 Thread Adam Belay
This patch prevents the root bridge drivers from using the legacy API. It also updates the PCI<->PCI bridge driver to better coexist with the legacy code. Signed-off-by: Adam Belay <[EMAIL PROTECTED]> --- a/drivers/pci/bus/pci-bridge.c 2005-07-14 02:17:04.735566464 -0400 +++ b/drivers/pci/bu

[RFC][PATCH] split PCI probing code [1/9]

2005-07-14 Thread Adam Belay
This patch divides the PCI probing code into three smaller files: config.c - PCI configuration space parsing probe.c - PCI bus detection routines bus.c - the PCI bus class driver core These files are placed in the new directory "drivers/pci/bus". It will be used for functions related to the PCI

[RFC][PATCH] master abort on scanning fixes [6/9]

2005-07-14 Thread Adam Belay
The PCI bridge driver now checks if changing bridge_ctrl is necessary. It also restores the original bridge_ctl settings when finished scanning for devices. Finally, a pci_bus setup fix is included. Signed-off-by: Adam Belay <[EMAIL PROTECTED]> --- a/drivers/pci/bus/pci-bridge.c 2005-07-12

[RFC][PATCH] don't bind to PCI express links [8/9]

2005-07-14 Thread Adam Belay
This patch prevents the PCI<->PCI bridge driver from binding to PCI express devices. This is needed to coexist with the PCI express root port driver. Eventually we may want to rework and better integrate linux PCI express link support, but for now this should work. Signed-off-by: Adam Belay <[EM

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Jan Engelhardt
"My expectation is if we want to beat the competition, we'll want the ability to go *under* 100Hz." >>> >>> What does Windows do here? >> >> windows xp base rate is 100Hz... but multimedia apps can ask for almost > > 83Hz Well, Windoes 98 (vmmon) shows very different ones: /dev/vmmon[

Re: console remains blanked

2005-07-14 Thread Jan Engelhardt
>Looks like, since [1] was merged, a blanked console >(due to inactivity for example) doesn't get unblanked >anymore when new output is written to it. The console is unblanked when you hit a key (or probably move a mouse too), not when some application outputs something on stdout/stderr/etc. >[

Re: PROBLEM: Oops when running mkreiserfs on large (9TB) raid0 set on AMD64 SMP

2005-07-14 Thread Paul Slootman
On Thu 14 Jul 2005, Neil Brown wrote: > > Aug 9 20:09:18 localhost kernel: > > {:raid0:raid0_make_request+472} > > Looks like the problem is at: > sector_div(x, (unsigned long)conf->hash_spacing); > zone = conf->hash_table[x]; [...] > Anyway, the following patch, if i

Re: 2.6.13-rc2-mm2

2005-07-14 Thread Johannes Stezenbach
On Wed, Jul 13, 2005 at 05:29:32PM -0400, Chuck Ebbert wrote: > On Wed, 13 Jul 2005 at 00:23:42 -0700, Andrew Morton wrote: > > >>...and BTW why does every line in the series file have a trailing space? > > > > Not in my copy of > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6

Re: [PATCH] Fuse chardevice number

2005-07-14 Thread Jan Engelhardt
Hi, >> /** The minor number of the fuse character device */ >> -#define FUSE_MINOR 229 >> +#define FUSE_MINOR MISC_DYNAMIC_MINOR > >FUSE has an allocated fix minor. Dynamic minor is much harder to >handle with legacy /dev (not udev). How many users of 2.6.13 and up really do not have/run udev?

Re: [uml-devel] Re: unregister_netdevice: waiting for tap24 to become free

2005-07-14 Thread Peter
I just tried 2.6.12.2 with skas-V8.2. The server (otherwise reliable), had a kernel crash (which I was unable to capture) within a couple of hours of boot up. Regards, Peter Blaisorblade wrote: On Tuesday 12 July 2005 00:26, Peter wrote: Nothing in the logs prior to the first error message

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Maciej W. Rozycki
On Wed, 13 Jul 2005, Lee Revell wrote: > Did anyone else find this strange: > > "The RTC is used in periodic mode to provide the system profiling > interrupt on uni-processor systems and the clock interrupt on > multi-processor systems." > > We just take NR_CPUS * HZ timer interrupts per second,

Re: 2.6.13-rc2-mm2

2005-07-14 Thread David Vrabel
Chuck Ebbert wrote: >Looks like Quilt is adding the space during push/pop operations. Only the > lines it has touched in the series file have the trailing space. Quilt versions prior to 0.39 would add a trailing space to the series file entry when doing a quilt refresh with the default -p1 pa

Re: [PATCH] Fuse chardevice number

2005-07-14 Thread Miklos Szeredi
> >> /** The minor number of the fuse character device */ > >> -#define FUSE_MINOR 229 > >> +#define FUSE_MINOR MISC_DYNAMIC_MINOR > > > >FUSE has an allocated fix minor. Dynamic minor is much harder to > >handle with legacy /dev (not udev). > > How many users of 2.6.13 and up really do not have

Re: [PATCH 0/19] Kconfig I18N completion

2005-07-14 Thread Jan Engelhardt
>> Patch 19/19 contains a .po file. > >Yes, the patch 19/19 contains the translation of configuration... >I see Linus doesn't want the huge language files in kernel source. >But what is Linus opinion about this little .po file? What is little? Given that there's 'roughly' 119 languages (find /usr

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Maciej W. Rozycki
On Wed, 13 Jul 2005, Benjamin LaHaise wrote: > That's one thing I truely dislike about the current timer code. If we > could program the RTC interrupt to come into the system as an NMI (iirc > oprofile already has code to do this), we could get much better TSC > interpolation since we would be

Re: Open source firewalls

2005-07-14 Thread Helge Hafting
Vinay Venkataraghavan wrote: I know how to implement buffer overflow attacks. But how would an intrusion detection system detect a buffer overflow attack. Buffer overflow attacks vary, but have one thing in common. The overflow string is much longer than what's usual for the app/protocol in

Re: Thread_Id

2005-07-14 Thread RVK
Arjan van de Ven wrote: On Thu, 2005-07-14 at 11:03 +0530, RVK wrote: Robert Hancock wrote: RVK wrote: Can anyone suggest me how to get the threadId using 2.6.x kernels. pthread_self() does not work and returns some -ve integer. What do you mean, negative integer? I

Re: console remains blanked

2005-07-14 Thread Albert Herranz
Hi, --- Jan Engelhardt <[EMAIL PROTECTED]> escribió: > The console is unblanked when you hit a key (or > probably move a mouse too), > not when some application outputs something on > stdout/stderr/etc. Before 2.6.12-rc2, the console was unblanked by just writing to the console. For keyboardles

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Krzysztof Halasa
Linus Torvalds <[EMAIL PROTECTED]> writes: > And in short-term things, the timeval/jiffie conversion is likely to be a > _bigger_ issue than the crystal frequency conversion. > > So we should aim for a HZ value that makes it easy to convert to and from > the standard user-space interface formats.

Re: Open source firewalls

2005-07-14 Thread RVK
I don't think buffer overflow has anything to do with transparent proxy. Transparent proxying is just doing some protocol filtering. Still the proxy code may have some buffer overflows. The best way is first to try avoiding any buffer overflows and take programming precautions. Other way is to

Re: Thread_Id

2005-07-14 Thread Arjan van de Ven
On Thu, 2005-07-14 at 15:36 +0530, RVK wrote: > > > >it doesn't return a number it returns a pointer ;) or a floating point > >number. You don't know :) > > > >what it returns is a *cookie*. A cookie that you can only use to pass > >back to various pthread functions. > > > > > > > Hahaha..co

2.6.13-rc3 ACPI regression and hang on x86-64

2005-07-14 Thread Mikael Pettersson
On my x86-64 laptop (Targa Visionary 811: Athlon64 + VIA chipset, Arima OEM:d HW also sold by eMachines and others), ACPI is broken and hangs the x86-64 2.6.13-rc3 kernel. During boot, ACPI reduces the screen's brightness (it's always done this in the x86-64 kernels but not the i386 ones), so I ha

Re: Thread_Id

2005-07-14 Thread Ian Campbell
On Thu, 2005-07-14 at 15:36 +0530, RVK wrote: > bits/pthreadtypes.h:150:typedef unsigned long int pthread_t; That's an implementation detail which you cannot determine any information from. What Arjan is saying is that pthread_t is a cookie -- this means that you cannot interpret it in any way,

Re: [patch 2.6.13-git] 8250 tweaks

2005-07-14 Thread Russell King
On Thu, Jul 14, 2005 at 12:12:02AM -0700, Sam Song wrote: > It turned out the conflict of uart init definition > like MPC10X_UART0_IRQ in ../syslib/mpc10x_common.c > and SERIAL_PORT_DFNS in ../platform/sandpoint.h. By > now, only MPC10X_UART0_IRQ stuff is needed. > SERIAL_PORT_DFNS should be omi

[PATCH] V4L: Bug fixes at tuner, cx88 and tea5767 (against 2.6.13-rc3)

2005-07-14 Thread Mauro Carvalho Chehab
- Bug fixes: 1) On CX88 code, some cards needs to have audio reprogramed after changing video channel; 2) Tuner autodetection code seems not to work on some cards. Now, no_autodetect insmod option allows disabling autodetection code; 3) Minor fixes at tea5767 to reduce integer trunc; 4) T

Re: Thread_Id

2005-07-14 Thread RVK
Ian Campbell wrote: On Thu, 2005-07-14 at 15:36 +0530, RVK wrote: bits/pthreadtypes.h:150:typedef unsigned long int pthread_t; That's an implementation detail which you cannot determine any information from. What Arjan is saying is that pthread_t is a cookie -- this means that you c

Re: Thread_Id

2005-07-14 Thread Ian Campbell
On Thu, 2005-07-14 at 16:32 +0530, RVK wrote: > Ian Campbell wrote: > >What Arjan is saying is that pthread_t is a cookie -- this means that > >you cannot interpret it in any way, it is just a "thing" which you can > >pass back to the API, that pthread_t happens to be typedef'd to unsigned > >long

Re: Thread_Id

2005-07-14 Thread RVK
Arjan van de Ven wrote: On Thu, 2005-07-14 at 15:36 +0530, RVK wrote: it doesn't return a number it returns a pointer ;) or a floating point number. You don't know :) what it returns is a *cookie*. A cookie that you can only use to pass back to various pthread functions. Hahaha.

Re: Thread_Id

2005-07-14 Thread RVK
Ian Campbell wrote: On Thu, 2005-07-14 at 16:32 +0530, RVK wrote: Ian Campbell wrote: What Arjan is saying is that pthread_t is a cookie -- this means that you cannot interpret it in any way, it is just a "thing" which you can pass back to the API, that pthread_t happens to be typedef'

Patch to make mount follow a symlink at /etc/mtab

2005-07-14 Thread Thomas Hood
I attach a patch that modifies the mount program in the util-linux package so that if /etc/mtab is a symbolic link (to a location outside of /proc) then mount accesses mtab at the target of the symbolic link. This feature is useful when the root filesystem is mounted read-only; /etc/mtab can then

Re: console remains blanked

2005-07-14 Thread Jan Engelhardt
>Before 2.6.12-rc2, the console was unblanked by just >writing to the console. >For keyboardless and mouseless systems (which is my >case, embedded) this new behaviour is a bit annoying. Interesting. I have observed the following (2.6.13-rc1 and a little earlier): mplayer bla.avi -vo cvidix

[patch 2.6] remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c

2005-07-14 Thread Ivan Kokshaysky
The setup-bus code doesn't work correctly for configurations with more than one display adapter in the same PCI domain. This stuff actually is a leftover of an early 2.4 PCI setup code and apparently it stopped working after some "bridge_ctl" changes. So the best thing we can do is just to remove i

Re: GIT tree broken? (rsync depreciated)

2005-07-14 Thread Christian Kujau
Stelian Pop schrieb: > After resyncing cogito to the latest version (which incorporates the > 'pack' changes, which were causing the failure), it does indeed work > again, when using rsync. > hm, i haven't updated my git-tree (linux-2.6.git) for a while and i got similiar error messages. i update

[2.6-GIT] NTFS: Release 2.1.23.

2005-07-14 Thread Anton Altaparmakov
Hi Linus, please pull from rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6.git/HEAD This is a big NTFS update. It was meant for as soon as 2.6.12 was released but it was delayed due to the need for a patch I submitted to Andrew for -mm to make it to the mainline kernel (which it

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Vojtech Pavlik
On Thu, Jul 14, 2005 at 09:42:18AM +0200, Arjan van de Ven wrote: > > IOW, nothing ever sees any "variable frequency", and there's never any > > question about what the timer tick is: the timer tick is 2kHz as far as > > everybody is concerned. It's just that the ticks sometimes come in > > "bu

Re: Open source firewalls

2005-07-14 Thread Helge Hafting
RVK wrote: I don't think buffer overflow has anything to do with transparent proxy. Transparent proxying is just doing some protocol filtering. A transparent proxy is a protocol filter, which is why it is an ideal way of detecting protocol-dependent buffer overflow attacks. The detection code

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Vojtech Pavlik
On Thu, Jul 14, 2005 at 12:25:40PM +0200, Krzysztof Halasa wrote: > Linus Torvalds <[EMAIL PROTECTED]> writes: > > > And in short-term things, the timeval/jiffie conversion is likely to be a > > _bigger_ issue than the crystal frequency conversion. > > > > So we should aim for a HZ value that mak

Re: Open source firewalls

2005-07-14 Thread RVK
Proxies can be a good way of filtering but it can't avoid buffer overflows. It can only increase it. More code more bugs. If it is running on a hardware firewall as a service then its more dangerous as once it is compramised then IDS signatures also can be deleated :-). No use of IDS the right

Re: Thread_Id

2005-07-14 Thread Arjan van de Ven
> > > So then what is the meaning of that typedef and why its still there ? the typedef means that the *IMPLEMENTATION* uses an unsigned long to store its cookie in. > > >Other implementations are allowed to use different types for this. In > >fact, I'd be surprised if NPTL and LinuxThreads wou

Re: Re-routing packets via netfilter (ip_rt_bug)

2005-07-14 Thread Ric Wheeler
Patrick, Hebert, This issues stills seems to be in the latest trees - is this patch or a variation on it still bumping around? Thanks! Yair Itzhaki wrote: Can anyone propose a patch that I can start checking? I have come up with the following: --- net/core/netfilter.c.orig 2005-04-18 2

Re: Thread_Id

2005-07-14 Thread Jakub Jelinek
On Thu, Jul 14, 2005 at 02:25:43PM +0200, Arjan van de Ven wrote: > pure luck. NPTL threading uses it to store a pointer to per thread info > structure; other threading (linuxthreads) may have stored a pid there to > identify the internal thread. nptl is 2.6 only so you might have > switched implem

Re: Realtime Preemption, 2.6.12, Beginners Guide?

2005-07-14 Thread Karsten Wiese
Am Mittwoch, 13. Juli 2005 16:01 schrieb K.R. Foley: > Ingo Molnar wrote: > > * Chuck Harding <[EMAIL PROTECTED]> wrote: > > > > > >>>CC [M] sound/oss/emu10k1/midi.o > >>>sound/oss/emu10k1/midi.c:48: error: syntax error before '__attribute__' > >>>sound/oss/emu10k1/midi.c:48: error: syntax error

[RFC/RFF][PATCH] rm -rf linux/arch/i386/boot

2005-07-14 Thread Etienne Lorrain
Hello, I am not sure the "rm -rf linux/arch/i386/boot" is an acceptable delta for the current code management system, but anyways it is only the second step - after the attached patch has been discussed, modified and hopefully accepted. Unfortunately this second step will break compatibility w

Re: Open source firewalls

2005-07-14 Thread Helge Hafting
RVK wrote: Proxies can be a good way of filtering but it can't avoid buffer overflows. Yes they can - did you read and udnerstand my previous post at all? A proxy _can_ avoid a buffer overflow by noticing the anomalously large data item and simply refuse to pass it on to the real server! The

Re: Thread_Id

2005-07-14 Thread Benedikt Spranger
> And you certainly shouldn't be using gettid () syscall in NPTL, as it > is just an implementation detail that there is a 1:1 mapping between > NPTL threads and kernel threads. It can change at any time. Maybe I missed the point, but I thought the 1:1 mapping between NPTL threads and kernel th

[PATCH] mb_cache_shrink() frees unexpected caches

2005-07-14 Thread Akinobu Mita
mb_cache_shrink() tries to free all sort of mbcache in the lru list. All user of mb_cache_shrink() are ext2/ext3 xattr. Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- 2.6-rc/fs/mbcache.c.orig2005-07-14 20:40:34.0 +0900 +++ 2.6-rc/fs/mbcache.c 2005-07-14 20:43:42.0 +0900

Re: [rfc patch 2/2] direct-io: remove address alignment check

2005-07-14 Thread Andi Kleen
Daniel McNeil <[EMAIL PROTECTED]> writes: > This patch relaxes the direct i/o alignment check so that user addresses > do not have to be a multiple of the device block size. The original reason for this limit was that lots of drivers (not only IDE) explode when you give them odd sizes. Sometimes

Re: moving DRM header files

2005-07-14 Thread Jon Smirl
On 7/14/05, Dave Airlie <[EMAIL PROTECTED]> wrote: > > > I'm thinking include/linux/drm/ > > > but include/linux would also be possible. > > > > > > Any suggestions or ideas? > > > > If you're in a mood to move things, how about moving drivers/char/drm > > to drivers/video/drm. > > But that has li

Re: Merging relayfs?

2005-07-14 Thread Roman Zippel
Hi, On Mon, 11 Jul 2005, Andrew Morton wrote: > > > Hi Andrew, can you please merge relayfs? It provides a low-overhead > > > logging and buffering capability, which does not currently exist in > > > the kernel. > > > > While the code is pretty nicely in shape it seems rather pointless to > > m

Re: [patch 2.6] remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c

2005-07-14 Thread Jon Smirl
On 7/14/05, Ivan Kokshaysky <[EMAIL PROTECTED]> wrote: > The setup-bus code doesn't work correctly for configurations > with more than one display adapter in the same PCI domain. > This stuff actually is a leftover of an early 2.4 PCI setup code > and apparently it stopped working after some "bridg

Re: Realtime Preemption, 2.6.12, Beginners Guide?

2005-07-14 Thread K.R. Foley
Ingo Molnar wrote: * Chuck Harding <[EMAIL PROTECTED]> wrote: I missed getting -51-29 but just booted up -51-30 and all is well. Thanks. Just out of curiosity, what was changed between -51-28, 29, and 30? -51-29 had new IO-APIC optimizations - and i reverted them in -51-30. Ingo

Re: serial: 8250 fails to detect Exar XR16L2551 correctly

2005-07-14 Thread Russell King
On Wed, Jul 13, 2005 at 11:04:56AM -0600, Alex Williamson wrote: > On Mon, 2005-07-11 at 15:17 -0600, Alex Williamson wrote: > >No, I think this is a problem with the broken A2 UARTs getting > > confused in serial8250_set_sleep(). If I remove either UART_CAP_SLEEP > > or UART_CAP_EFR from the

Re: fdisk: What do plus signs after "Blocks" mean?

2005-07-14 Thread kernel
I always thought; First 446 bytes are boot code and all Next 64 bytes are for 4 partition records, 16 bytes each Last 2 bytes are signature ? -fd On Wed, 2005-07-13 at 06:24, Jan Engelhardt wrote: > > Guys, thanks a lot for the explanations! > > > > Actually, it seems like one can backup info

Re: Thread_Id

2005-07-14 Thread RVK
Jakub Jelinek wrote: On Thu, Jul 14, 2005 at 02:25:43PM +0200, Arjan van de Ven wrote: pure luck. NPTL threading uses it to store a pointer to per thread info structure; other threading (linuxthreads) may have stored a pid there to identify the internal thread. nptl is 2.6 only so you might

Re: [patch 2.6] remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c

2005-07-14 Thread Russell King
On Thu, Jul 14, 2005 at 03:53:44PM +0400, Ivan Kokshaysky wrote: > The setup-bus code doesn't work correctly for configurations > with more than one display adapter in the same PCI domain. > This stuff actually is a leftover of an early 2.4 PCI setup code > and apparently it stopped working after s

Re: XFS corruption on move from xscale to i686

2005-07-14 Thread Yura Pakhuchiy
2005/7/14, Nathan Scott <[EMAIL PROTECTED]>: > On Wed, Jul 13, 2005 at 06:22:28PM +0300, Yura Pakhuchiy wrote: > > I found patch by Greg Ungreger to fix this problem, but why it's still > > not in mainline? Or it's a gcc problem and should be fixed by gcc folks? > > Yes, IIRC the patch was incorre

Re: Realtime Preemption, 2.6.12, Beginners Guide?

2005-07-14 Thread K.R. Foley
Karsten Wiese wrote: Am Mittwoch, 13. Juli 2005 16:01 schrieb K.R. Foley: Ingo Molnar wrote: * Chuck Harding <[EMAIL PROTECTED]> wrote: CC [M] sound/oss/emu10k1/midi.o sound/oss/emu10k1/midi.c:48: error: syntax error before '__attribute__' sound/oss/emu10k1/midi.c:48: error: syntax error

Re: Open source firewalls

2005-07-14 Thread RVK
Helge Hafting wrote: RVK wrote: Proxies can be a good way of filtering but it can't avoid buffer overflows. Yes they can - did you read and udnerstand my previous post at all? A proxy _can_ avoid a buffer overflow by noticing the anomalously large data item and simply refuse to pass it on t

Re: [patch 2.6] remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c

2005-07-14 Thread Jon Smirl
On 7/14/05, Russell King <[EMAIL PROTECTED]> wrote: > On Thu, Jul 14, 2005 at 03:53:44PM +0400, Ivan Kokshaysky wrote: > > The setup-bus code doesn't work correctly for configurations > > with more than one display adapter in the same PCI domain. > > This stuff actually is a leftover of an early 2.

Re: Realtime Preemption, 2.6.12, Beginners Guide?

2005-07-14 Thread K.R. Foley
K.R. Foley wrote: Karsten Wiese wrote: Am Mittwoch, 13. Juli 2005 16:01 schrieb K.R. Foley: Ingo Molnar wrote: * Chuck Harding <[EMAIL PROTECTED]> wrote: CC [M] sound/oss/emu10k1/midi.o sound/oss/emu10k1/midi.c:48: error: syntax error before '__attribute__' sound/oss/emu10k1/midi.c:4

Re: Realtime Preemption, 2.6.12, Beginners Guide?

2005-07-14 Thread K.R. Foley
K.R. Foley wrote: K.R. Foley wrote: Karsten Wiese wrote: Am Mittwoch, 13. Juli 2005 16:01 schrieb K.R. Foley: Ingo Molnar wrote: * Chuck Harding <[EMAIL PROTECTED]> wrote: CC [M] sound/oss/emu10k1/midi.o sound/oss/emu10k1/midi.c:48: error: syntax error before '__attribute__' sound/

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Lee Revell
On Thu, 2005-07-14 at 11:24 +0200, Jan Engelhardt wrote: > "My expectation is if we want to beat the competition, we'll want > the ability to go *under* 100Hz." > >>> > >>> What does Windows do here? > >> > >> windows xp base rate is 100Hz... but multimedia apps can ask for almost > > >

rcu-refcount stacker performance

2005-07-14 Thread serue
On July 8 I sent out a patch which re-implemented the rcu-refcounting of the LSM list in stacker for the sake of supporting safe security module unloading. (patch reattached here for convenience) Here are some performance results with and without that patch. Tests were run on a 16-way ppc64 mach

Re: High irq load (Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt)

2005-07-14 Thread Peter Osterlund
Linus Torvalds <[EMAIL PROTECTED]> writes: > On Wed, 13 Jul 2005, Jan Engelhardt wrote: > > > > No, some kernel code causes a triple-fault-and-reboot when the HZ is >= > > 10KHz. Maybe the highest possible value is 8192 Hz, not sure. > > Can you post the triple-fault message? It really shouldn't

Re: Thread_Id

2005-07-14 Thread Robert Hancock
RVK wrote: Ian Campbell wrote: On Thu, 2005-07-14 at 15:36 +0530, RVK wrote: bits/pthreadtypes.h:150:typedef unsigned long int pthread_t; That's an implementation detail which you cannot determine any information from. What Arjan is saying is that pthread_t is a cookie -- this means

[PATCH] rocket.c: Fix ldisc ref count handling

2005-07-14 Thread Michal Ostrowski
If bailing out because there is nothing to receive in rp_do_receive(), tty_ldisc_deref is not called. Failure to do so increases the ref count and causes release_dev() to hang since it can't get the ref count to 0. --- Signed-off-by: Michal Ostrowski <[EMAIL PROTECTED]> drivers/char/rocket.c

Re: serial: 8250 fails to detect Exar XR16L2551 correctly

2005-07-14 Thread David Vrabel
Alex Williamson wrote: > > David, would you mind > trying this on the XR16L255x part? (ie. don't use console=ttyS, use > console=uart,...) Thanks, I wasn't even aware you could do this... These are the serial ports I have: ttyS0 at MMIO 0xc800 (irq = 15) is a XScale IXP425 internal ttyS1

Re: XFS corruption on move from xscale to i686

2005-07-14 Thread Christoph Hellwig
On Thu, Jul 14, 2005 at 04:50:01PM +0300, Yura Pakhuchiy wrote: > 2005/7/14, Nathan Scott <[EMAIL PROTECTED]>: > > On Wed, Jul 13, 2005 at 06:22:28PM +0300, Yura Pakhuchiy wrote: > > > I found patch by Greg Ungreger to fix this problem, but why it's still > > > not in mainline? Or it's a gcc proble

Re: XFS corruption on move from xscale to i686

2005-07-14 Thread Yura Pakhuchiy
2005/7/14, Christoph Hellwig <[EMAIL PROTECTED]>: > On Thu, Jul 14, 2005 at 04:50:01PM +0300, Yura Pakhuchiy wrote: > > 2005/7/14, Nathan Scott <[EMAIL PROTECTED]>: > > > On Wed, Jul 13, 2005 at 06:22:28PM +0300, Yura Pakhuchiy wrote: > > > > I found patch by Greg Ungreger to fix this problem, but

Re: XFS corruption on move from xscale to i686

2005-07-14 Thread Christoph Hellwig
On Thu, Jul 14, 2005 at 05:45:15PM +0300, Yura Pakhuchiy wrote: > Yes, but a lof of people use older versions of compilers and suffer > from this bug. > I personally was very unhappy when lost my data. then host the patch somewhere and make sure to apply it. - To unsubscribe from this list: send

[PATCH] visws: reexport pm_power_off

2005-07-14 Thread Alexey Dobriyan
On Wednesday 13 July 2005 17:38, James Bottomley wrote: > [PATCH] Remove i386_ksyms.c, almost > > made files like smp.c do their own EXPORT_SYMBOLS. This means that all > subarchitectures that override these symbols now have to do the exports > themselves. This patch adds the exports for voyager

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Lee Revell
On Thu, 2005-07-14 at 10:38 +0200, Ingo Molnar wrote: > - there are real-time applications (robotic environments: fast rotating >tools, media and mobile/phone applications, etc.) that want 10 >usecs precision. If such users increased HZ to 100,000 or even >1000,000, the current timer i

Re: resuming swsusp twice

2005-07-14 Thread Stefan Seyfried
Andy Isaacson wrote: > Yesterday I booted my laptop to 2.6.13-rc2-mm1, suspended to swsusp, and > then resumed. It ran fine overnight, including a fair amount of IO > (running firefox, rsyncing ~/Mail/archive from my mail server, hg pull, > etc). This morning I did a swsusp: > > echo shutd

Re: Merging relayfs?

2005-07-14 Thread Tom Zanussi
Roman Zippel writes: > Hi, > > On Mon, 11 Jul 2005, Andrew Morton wrote: > > > > > Hi Andrew, can you please merge relayfs? It provides a low-overhead > > > > logging and buffering capability, which does not currently exist in > > > > the kernel. > > > > > > While the code is pretty ni

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Christoph Lameter
On Thu, 14 Jul 2005, Lee Revell wrote: > On Thu, 2005-07-14 at 10:38 +0200, Ingo Molnar wrote: > > - there are real-time applications (robotic environments: fast rotating > >tools, media and mobile/phone applications, etc.) that want 10 > >usecs precision. If such users increased HZ to 10

Re: rcu-refcount stacker performance

2005-07-14 Thread Paul E. McKenney
On Thu, Jul 14, 2005 at 09:21:07AM -0500, [EMAIL PROTECTED] wrote: > On July 8 I sent out a patch which re-implemented the rcu-refcounting > of the LSM list in stacker for the sake of supporting safe security > module unloading. (patch reattached here for convenience) Here are > some performance

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-14 Thread Lee Revell
On Thu, 2005-07-14 at 08:02 -0700, Christoph Lameter wrote: > I doubt that increasing the timer frequency is the way to go to solve > these issues. HZ should be as low as possible and we should strive for > a tickless system. Agreed. Most of those applications are driven by their own interrupt s

Re: RT and XFS

2005-07-14 Thread Daniel Walker
On Thu, 2005-07-14 at 07:23 +0200, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > > The whole point of using a semaphore in the pagebuf is because there > > > is no tracking of who "owns" the lock so we can actually release it > > > in a different context. Semaphores were in

Re: Linux On-Demand Network Access (LODNA)

2005-07-14 Thread Alan Cox
Take a look at FUSE, it should be able to do all you need - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [rfc patch 2/2] direct-io: remove address alignment check

2005-07-14 Thread Daniel McNeil
On Thu, 2005-07-14 at 06:18, Andi Kleen wrote: > Daniel McNeil <[EMAIL PROTECTED]> writes: > > > This patch relaxes the direct i/o alignment check so that user addresses > > do not have to be a multiple of the device block size. > > The original reason for this limit was that lots of drivers > (n

Re: pci_size() error condition

2005-07-14 Thread John Rose
> It was always effectual for IO where the mask is 0x. Okay, point taken :) So for cases of base == maxbase, why would we ever want to return a nonzero value? What is the intended purpose of the second part of that conditional? - To unsubscribe from this list: send the line "unsubscribe lin

[RFC,PATCH] RCU and CONFIG_PREEMPT_RT semi-sane patch

2005-07-14 Thread Paul E. McKenney
Hello! The attached patch passed about 36 hours of torture test on each of two 4-CPU x86 machines (about 100 passes through the torture-test script), so am officially declaring it to be semi-sane. That said, on eight runs of kernbench+LTP (also on 4-CPU x86 machines), only six passed, and the oth

Re: fdisk: What do plus signs after "Blocks" mean?

2005-07-14 Thread DervishD
Hi kernel. * kernel <[EMAIL PROTECTED]> dixit: > First 446 bytes are boot code and all > Next 64 bytes are for 4 partition records, 16 bytes each > Last 2 bytes are signature And that's right, but only for the MBR. If you set up an extended partition in the MBR, the partition table for t

Re: About a change to the implementation of spin lock in 2.6.12 kernel.

2005-07-14 Thread multisyncfe991
Hi Willy, I think at least I can remove the LOCK instruction when the lock is already held by someone else and enter the spinning wait directly, right? 0: cmpb $0, slp jle 2f# lock is not available, then spinning directly without locking the bus 1: lock; decb slp

[PATCH] RealTimeSync Patch

2005-07-14 Thread Elias Kesh
Hello, I would like to get some feedback on this patch for the kernel. It's sole purpose is to help in reducing boot time by not waiting to synchronize the clock edge with the hardware clock. This when combined with other boot reduction patched can bring the kernel boot time to well under 10 s

  1   2   3   4   >