[PATCH] PCI: memset rom attribute before using it

2005-02-03 Thread Greg KH
ChangeSet 1.2043, 2005/02/03 00:40:37-08:00, [EMAIL PROTECTED] [PATCH] PCI: memset rom attribute before using it Initialize the allocated bin_attribute structure, otherwise unused fields are pointing to random places. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg

Re: Drive performance bottleneck

2005-02-03 Thread Ian Godin
On Feb 3, 2005, at 9:40 AM, Nuno Silva wrote: Ian Godin wrote: I am trying to get very fast disk drive performance and I am seeing some interesting bottlenecks. We are trying to get 800 MB/sec or more (yes, that is megabytes per second). We are currently using PCI-Express with a 16 drive

[ANNOUNCE] udev 051 release

2005-02-03 Thread Greg KH
I've released the 051 version of udev. It can be found at: kernel.org/pub/linux/utils/kernel/hotplug/udev-051.tar.gz udev allows users to have a dynamic /dev and provides the ability to have persistent device names. It uses sysfs and /sbin/hotplug and runs entirely in userspace. It

Re: security contact draft

2005-02-03 Thread Chris Wright
* Patrick Plattes ([EMAIL PROTECTED]) wrote: > i think security mailing list is a good idea. normally i would prefere a > full open list, but in some cases this could be the right way. > > i have an additional idea. maybe it is useful to push the mails on the > list into publc space automaticly

Re: NFSD needs EXPORTFS

2005-02-03 Thread Joel Soete
... > > If the problem occured with CONFIG_XFS_FS=m I understand what went > wrong. > Yes, it was > It seems to be correct. > > This was a side effect of Roman's fix for the XFS <-> EXPORTFS > dependency. > Thanks a lot, Joel - To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 2.6.11-rc2 23/29] ide: map ide_task_ioctl() to ide_taskfile_ioctl()

2005-02-03 Thread Bartlomiej Zolnierkiewicz
On Thu, 3 Feb 2005 18:37:04 +0100, Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> wrote: > as HDIO_DRIVE_TASKFILE only supports no-data protocol > it should be easy to add missing bits here and get rid of calling > ide_taskfile_ioctl() stupid typo: s/HDIO_DRIVE_TASKFILE/HDIO_DRIVE_TASK/ - To

Re: usb hotplug problems with 2.6.10

2005-02-03 Thread Greg KH
On Thu, Feb 03, 2005 at 10:03:10AM -0500, Jack Howarth wrote: > Alan, >I had mentioned a couple weeks back that with kernel 2.6.10, > the ability to hotplug usb keys in Fedora Core 2 and 3 has been broken. > There is actually a bugzilla report on this with some useful information > on

Re: [PATCH 2.6.11-rc2 29/29] ide: make data_phase explicit in NO_DATA cases

2005-02-03 Thread Bartlomiej Zolnierkiewicz
On Wed, 2 Feb 2005 12:12:38 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > > 29_ide_explicit_TASKFILE_NO_DATA.patch > > > > Make data_phase explicit in NO_DATA cases. > > Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> > > Index: linux-ide-export/drivers/ide/ide-disk.c >

[PATCH] I2C: Use standard temperature converters for as99127f

2005-02-03 Thread Greg KH
ChangeSet 1.2043, 2005/02/03 00:29:27-08:00, [EMAIL PROTECTED] [PATCH] I2C: Use standard temperature converters for as99127f When support for the Asus AS99127F chip was once added to the w83781d driver, it was decided that we would treat temp2 and temp3 as having a LSB of 0.25 degree C, as

[PATCH] I2C: Fix i2c-sis5595 pci configuration accesses

2005-02-03 Thread Greg KH
ChangeSet 1.2045, 2005/02/03 00:30:21-08:00, [EMAIL PROTECTED] [PATCH] I2C: Fix i2c-sis5595 pci configuration accesses The i2c-sis5595 bus driver has logic errors on pci configuration accesses. It returns an error on success and vice versa. The 2.4 kernel version of the driver, as found in the

[PATCH] PCI Hotplug: remove incorrect rpaphp firmware dependency

2005-02-03 Thread Greg KH
ChangeSet 1.2044, 2005/02/03 00:41:04-08:00, [EMAIL PROTECTED] [PATCH] PCI Hotplug: remove incorrect rpaphp firmware dependency The RPA PCI Hotplug module incorrectly uses a certain firmware property when determining the hotplug capabilities of a slot. Recent firmware changes have demonstrated

[PATCH] I2C: Fix DS1621 detection

2005-02-03 Thread Greg KH
ChangeSet 1.2041, 2005/02/03 00:28:34-08:00, [EMAIL PROTECTED] [PATCH] I2C: Fix DS1621 detection Dallas Semiconductors as recently changed the design of their DS1621 chips, including the bits that were checked in the kernel driver to detect it. The patch below fixes the detection by checking an

Re: [PATCH 2.6.11-rc2 22/29] ide: convert REQ_DRIVE_TASK to REQ_DRIVE_TASKFILE

2005-02-03 Thread Bartlomiej Zolnierkiewicz
On Wed, 2 Feb 2005 12:07:27 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > > 22_ide_taskfile_flush.patch > > > > All REQ_DRIVE_TASK users except ide_task_ioctl() converted > > to use REQ_DRIVE_TASKFILE. > > 1. idedisk_issue_flush() converted to use REQ_DRIVE_TASKFILE. > >

[PATCH] PCI: add linux-pci mailing list to PCI maintainers entry.

2005-02-03 Thread Greg KH
ChangeSet 1.2045, 2005/02/03 00:41:32-08:00, [EMAIL PROTECTED] [PATCH] PCI: add linux-pci mailing list to PCI maintainers entry. Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> MAINTAINERS |1 + 1 files changed, 1 insertion(+) diff -Nru a/MAINTAINERS b/MAINTAINERS ---

[PATCH 2.6] Check return of copy_from_user value in cifssmb.c

2005-02-03 Thread Luca
Hello, the following patch against 2.6.11-rc3 fixes this compile time warning: fs/cifs/cifssmb.c: In function `CIFSSMBWrite': fs/cifs/cifssmb.c:902: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result It also fixes the strange indentation of the code in

Re: [PATCH 2.6.11-rc2 23/29] ide: map ide_task_ioctl() to ide_taskfile_ioctl()

2005-02-03 Thread Bartlomiej Zolnierkiewicz
On Wed, 2 Feb 2005 12:08:13 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > > 23_ide_taskfile_task_ioctl.patch > > > > ide_task_ioctl() modified to map to ide_taskfile_ioctl(). > > This is the last user of REQ_DRIVE_TASK. ide_task_ioctl() should map to taskfile transport not

[PATCH 2.6] Check return value of copy_to_user in fs/cifs/file.c

2005-02-03 Thread Luca
Hello, the following patch against 2.6.11-rc3 fixes this compile time warning: CC [M] fs/cifs/file.o fs/cifs/file.c: In function `cifs_user_read': fs/cifs/file.c:1168: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result I also added an explicit check

Re: NFSD needs EXPORTFS

2005-02-03 Thread Adrian Bunk
On Thu, Feb 03, 2005 at 05:01:11PM +, Matthew Wilcox wrote: > > Got this report about 2.6.11-rc3. Is this the correct solution? > > - Forwarded message from Joel Soete <[EMAIL PROTECTED]> - > > A short analyse, it seems that's because NFSD was builtin while EXPORTFS > was a module

Re: Please open sysfs symbols to proprietary modules

2005-02-03 Thread Theodore Ts'o
On Thu, Feb 03, 2005 at 03:12:59PM +, Alan Cox wrote: > On Iau, 2005-02-03 at 04:54, Zan Lynx wrote: > > So, what's the magic amount of redirection and abstraction that cleanses > > the GPLness, hmm? Who gets to wave the magic wand to say what > > interfaces are GPL-to-non-GPL and which

NFSD needs EXPORTFS

2005-02-03 Thread Matthew Wilcox
Got this report about 2.6.11-rc3. Is this the correct solution? - Forwarded message from Joel Soete <[EMAIL PROTECTED]> - A short analyse, it seems that's because NFSD was builtin while EXPORTFS was a module in my previous config file. Imho EXPORTFS would be build as NFSD? Is the

[BK PATCHES] ide-2.6 update

2005-02-03 Thread Bartlomiej Zolnierkiewicz
Hi, Here is late ide-2.6 update. Various small fixes (mainly for nasty corner cases, from Tejun Heo) and few trivial cleanups for which I see no reason to wait for 2.6.11. Please apply. Bartlomiej Please do a bk pull bk://bart.bkbits.net/ide-2.6 This will update the following

Re: [PATCH] Configure MTU via kernel DHCP

2005-02-03 Thread Shane Hathaway
Herbert Xu wrote: Shane Hathaway <[EMAIL PROTECTED]> wrote: The attached patch enhances the kernel's DHCP client support (in net/ipv4/ipconfig.c) to set the interface MTU if provided by the DHCP server. Without this patch, it's difficult to netboot on a network that uses jumbo frames. The

Re: Drive performance bottleneck

2005-02-03 Thread Ian Godin
On Feb 2, 2005, at 7:56 PM, Bernd Eckenfels wrote: In article <[EMAIL PROTECTED]> you wrote: Below is an oprofile (truncated) of (the same) dd running on /dev/sdb. do you also have the oprofile of the sg_dd handy? Greetings Bernd Just ran it on the sg_dd (using /dev/sg1): CPU: P4 / Xeon,

Re: [RFC] Linux Kernel Subversion Howto

2005-02-03 Thread H. Peter Anvin
Larry McVoy wrote: As Peter said, we do exports from Linus' tree every 24 hours. I can think of two things that we could do which might be useful to the non BK users: export more frequently (pretty questionable in my mind but it's no big deal to bump it up to twice or whatever) and/or export

Re: [RFC] Linux Kernel Subversion Howto

2005-02-03 Thread Larry McVoy
(Thanks for the forward, Peter, I would have missed this). Intel has very kindly donated one of their high end boxes and that's what is running bkbits.net these days. We could run the exporter there pretty much as often as you want. Send some love to Intel, this box is way more stable than the

[PATCH 1/1] tpm: remove pci specific stuff from the underlying generic driver

2005-02-03 Thread Kylene Hall
Since future versions of this chip might not be pci devices and the generic tpm driver does not need access to the pci related fields, I updated the structures and functions to use struct device and related functions rather than the pci equivalents. This simplifies many things including

Re: 2.6.11-rc1-mm2

2005-02-03 Thread Alexander Nyberg
> Bootdata ok (command line is root=/dev/hda3 ro console=tty0 > console=ttyS0,38400) > Linux version 2.6.11-rc2-mm2 ([EMAIL PROTECTED]) (gcc version 3.4.4 20041218 > (prerelease) (Debian 3.4.3-7)) #1 Sun Jan 30 09:18:40 EST 2005 ^^ Me thinks this will fix it for you:

Re: Query - Regarding strange behaviour.

2005-02-03 Thread Martin Zwickel
On Thu, 3 Feb 2005 21:48:12 +0530 "Pankaj Agarwal" <[EMAIL PROTECTED]> bubbled: > my fault...i'm able to copy it using -rf with CP. So, solution given > by Dick Johnson (Linux-OS) can be used, if all are unable to find > what's the problem... > > here's the output of the two commands you've

Re: Query - Regarding strange behaviour.

2005-02-03 Thread Martijn van Oosterhout
On Thu, Feb 03, 2005 at 09:48:12PM +0530, Pankaj Agarwal wrote: > [EMAIL PROTECTED] usr]# lsattr -d /usr/bin > su--ia--- /usr/bin Well, there's your problem. These mean: s: when deleted, its blocks are zeroed and written back to the disk u: when deleted, its contents are saved. i: cannot be

PPC64 - missing mem=xxx parameter parsing

2005-02-03 Thread Sanders, Rob M.
Hello, I'm trying to port a device driver that works under 32 bit linux (both ppc and x86) to ppc64. The driver expected the memory on the system to be partitioned using the 'mem=xxx' boot parameter settings such that linux use the lower xxx and remaining physical memory was treated as a

Re: Query - Regarding strange behaviour.

2005-02-03 Thread Pankaj Agarwal
my fault...i'm able to copy it using -rf with CP. So, solution given by Dick Johnson (Linux-OS) can be used, if all are unable to find what's the problem... here's the output of the two commands you've asked for.. [EMAIL PROTECTED] usr]# ls -ld /usr/bin drwxr-xr-x2 root root

Re: Please open sysfs symbols to proprietary modules

2005-02-03 Thread Alan Cox
On Iau, 2005-02-03 at 04:54, Zan Lynx wrote: > So, what's the magic amount of redirection and abstraction that cleanses > the GPLness, hmm? Who gets to wave the magic wand to say what > interfaces are GPL-to-non-GPL and which aren't? The "derivative work" distinction in law, which can be quite

Re: Query - Regarding strange behaviour.

2005-02-03 Thread S Iremonger
>its not even allowing me to copy it ...then surely it wont allow me mv as >well... what else can i try... >[EMAIL PROTECTED] root]# mount >/dev/hda2 on / type ext3 (rw) >[EMAIL PROTECTED] /]# cd /usr >[EMAIL PROTECTED] usr]# cp bin testbin >cp: omitting directory `bin' "cp" does not normally

Re: Drive performance bottleneck

2005-02-03 Thread Jens Axboe
On Wed, Feb 02 2005, Ian Godin wrote: > > I am trying to get very fast disk drive performance and I am seeing > some interesting bottlenecks. We are trying to get 800 MB/sec or more > (yes, that is megabytes per second). We are currently using > PCI-Express with a 16 drive raid card (SATA

Re: your mail

2005-02-03 Thread Alan Stern
On Wed, 2 Feb 2005, Aleksey Gorelov wrote: > Hi Matt, Alan, > > Could you please tell me (link would do) why it makes default > delay_use=5 > really necessary (from the patch below)? > https://lists.one-eyed-alien.net/pipermail/usb-storage/2004-August/00074 > 7.html > > It makes USB boot

Re: Query - Regarding strange behaviour.

2005-02-03 Thread linux-os
On Thu, 3 Feb 2005, Pankaj Agarwal wrote: its not even allowing me to copy it ...then surely it wont allow me mv as well... what else can i try... You didn't even bother to follow my carefully-written instructions! **PLONK** Since you seem to know everything, go to pound sand. Cheers, Dick

ISDN4Linux Bug in isdnhdlc.c

2005-02-03 Thread Karsten Keil
Hi, Oskar found a critical bug in isdnhdlc.c, please apply this simple fix to next versions. From: Oskar Senft <[EMAIL PROTECTED]> isdnhdlc_decode is called multiple times for bigger frames, so decrementing dsize is a bad idea and can cause a overflow of the dst buffer. Signed-off-by:

Re: Query - Regarding strange behaviour.

2005-02-03 Thread Pankaj Agarwal
its not even allowing me to copy it ...then surely it wont allow me mv as well... what else can i try... [EMAIL PROTECTED] root]# mount /dev/hda2 on / type ext3 (rw) none on /proc type proc (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) none on

Re: Touchpad problems with 2.6.11-rc2

2005-02-03 Thread Vojtech Pavlik
On Thu, Feb 03, 2005 at 10:28:58AM -0500, Dmitry Torokhov wrote: > > > Dualpoint (tm) is a trademark of ALPS, > > > > Interesting... Dell DualPoint is the way the pointing devices are > > described in that notebook's documentation, and I remember all the way > > from back when I purchased the

Re: Query - Regarding strange behaviour.

2005-02-03 Thread linux-os
On Thu, 3 Feb 2005, Tim Schmielau wrote: On Thu, 3 Feb 2005, Pankaj Agarwal wrote: In my system there's a strange behaviour its not allowing me to create any file in /usr/bin even as root. Its chmod is set to 755. Its even not allowing me to change the chmod value of /usr/bin. The strangest

Re: Query - Regarding strange behaviour.

2005-02-03 Thread Pankaj Agarwal
this isn't the case as i am able to create, edit and delete files in other directories under /usr. - Original Message - From: "Tim Schmielau" <[EMAIL PROTECTED]> To: "Pankaj Agarwal" <[EMAIL PROTECTED]> Cc: ; "Linux Net" Sent: Thursday, February 03, 2005 9:01 PM Subject: Re: Query -

Re: Query - Regarding strange behaviour.

2005-02-03 Thread linux-os
On Thu, 3 Feb 2005, Pankaj Agarwal wrote: Hi, In my system there's a strange behaviour its not allowing me to create any file in /usr/bin even as root. Its chmod is set to 755. Its even not allowing me to change the chmod value of /usr/bin. The strangest part which i felt is ...its shows

Re: Query - Regarding strange behaviour.

2005-02-03 Thread Tim Schmielau
On Thu, 3 Feb 2005, Pankaj Agarwal wrote: > In my system there's a strange behaviour its not allowing me to create > any file in /usr/bin even as root. Its chmod is set to 755. Its even not > allowing me to change the chmod value of /usr/bin. The strangest part which > i felt is ...its

Re: Touchpad problems with 2.6.11-rc2

2005-02-03 Thread Dmitry Torokhov
On Thu, 03 Feb 2005 07:22:40 -0800 (PST), Alexandre Oliva <[EMAIL PROTECTED]> wrote: > On Feb 3, 2005, Vojtech Pavlik <[EMAIL PROTECTED]> wrote: > > > On Thu, Feb 03, 2005 at 06:30:14AM -0200, Alexandre Oliva wrote: > >> On Feb 2, 2005, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > >> > >> > On

Re: Really annoying bug in the mouse driver

2005-02-03 Thread Dmitry Torokhov
On Thu, 03 Feb 2005 16:05:40 +0100, Victor Hahn <[EMAIL PROTECTED]> wrote: > Dmitry Torokhov wrote: > > >Processor load we usually handle well, loaded disks are usually the > >ones that cause >= 0.5 sec delays between bytes received by psmouse. > >Please let me know if it still works with busy

Re: dm-crypt crypt_status reports key?

2005-02-03 Thread Fruhwirth Clemens
On Thu, 2005-02-03 at 05:15 -0500, Christopher Warner wrote: > On Thu, 2005-02-03 at 15:18 +0100, Fruhwirth Clemens wrote: > > > > Keys are handed to dm-crypt regularly the first time. But when dm-crypt > > hands keys back to user space, it uses some sort of blinding to make the > > keys

Re: Touchpad problems with 2.6.11-rc2

2005-02-03 Thread Alexandre Oliva
On Feb 3, 2005, Vojtech Pavlik <[EMAIL PROTECTED]> wrote: > On Thu, Feb 03, 2005 at 06:30:14AM -0200, Alexandre Oliva wrote: >> On Feb 2, 2005, Pete Zaitcev <[EMAIL PROTECTED]> wrote: >> >> > On Wed, 2 Feb 2005 18:07:27 +0100, Vojtech Pavlik <[EMAIL PROTECTED]> >> > wrote: >> >> >> With a

Re: Query - Regarding strange behaviour.

2005-02-03 Thread Martijn van Oosterhout
Try: lsattr /usr/bin Hope this helps, On Thu, Feb 03, 2005 at 08:15:39PM +0530, Pankaj Agarwal wrote: > Hi, > > In my system there's a strange behaviour its not allowing me to create > any file in /usr/bin even as root. Its chmod is set to 755. Its even not > allowing me to change the

Re: Really annoying bug in the mouse driver

2005-02-03 Thread Victor Hahn
Dmitry Torokhov wrote: Processor load we usually handle well, loaded disks are usually the ones that cause >= 0.5 sec delays between bytes received by psmouse. Please let me know if it still works with busy disks. Yes, it does work. I was copying several gigs from one partition to another and

Re: dm-crypt crypt_status reports key?

2005-02-03 Thread Christopher Warner
On Thu, 2005-02-03 at 15:18 +0100, Fruhwirth Clemens wrote: > On Wed, 2005-02-02 at 20:05 -0800, Matt Mackall wrote: > > > Dunno here, seems that having one tool that gave the kernel a key named > > "foo" and then telling dm-crypt to use key "foo" is probably not a bad > > way to go. Then we

Re: dm-crypt crypt_status reports key?

2005-02-03 Thread Fruhwirth Clemens
On Thu, 2005-02-03 at 15:47 +0100, Andries Brouwer wrote: > On Thu, Feb 03, 2005 at 03:18:20PM +0100, Fruhwirth Clemens wrote: > > > (Actually it's a Multi Time Pad.) > > And you call this "crypto"? Is the quoted part all you have read? -- Fruhwirth Clemens <[EMAIL PROTECTED]>

usb hotplug problems with 2.6.10

2005-02-03 Thread Jack Howarth
Alan, I had mentioned a couple weeks back that with kernel 2.6.10, the ability to hotplug usb keys in Fedora Core 2 and 3 has been broken. There is actually a bugzilla report on this with some useful information on manifestation of the problem

Query - Regarding strange behaviour.

2005-02-03 Thread Pankaj Agarwal
Hi, In my system there's a strange behaviour its not allowing me to create any file in /usr/bin even as root. Its chmod is set to 755. Its even not allowing me to change the chmod value of /usr/bin. The strangest part which i felt is ...its shows the owner and group as root when i issue

Re: dm-crypt crypt_status reports key?

2005-02-03 Thread Andries Brouwer
On Thu, Feb 03, 2005 at 03:18:20PM +0100, Fruhwirth Clemens wrote: > (Actually it's a Multi Time Pad.) And you call this "crypto"? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: Sabotaged PaXtest (was: Re: Patch 4/6 randomize the stack pointer)

2005-02-03 Thread Roman Zippel
Hi, On Thu, 3 Feb 2005, Peter Busser wrote: > - What happens when you run existing commercial applications which have not > been compiled using GCC. >From http://pax.grsecurity.net/docs/pax.txt: The goal of the PaX project is to research various defense mechanisms against the

Re: Joe User DOS kills Linux-2.6.10

2005-02-03 Thread linux-os
On Thu, 3 Feb 2005, Andries Brouwer wrote: On Thu, Feb 03, 2005 at 07:28:50AM -0500, linux-os wrote: I ran badblocks (all night). There were none. It's a SCSI disk and it requires chunks of DMA RAM for each write. The machine just croaks when it gets low on RAM and tries to write to SCSI swap

Re: [PATCH] arp_queue: serializing unlink + kfree_skb

2005-02-03 Thread Anton Blanchard
Hi, > For example, in this particular case, a more sinister (but probably > impossible for sk_buff objects) problem would be for the list removal > itself to be delayed until after the the kfree_skb. This could > potentially mean that we're reading/writing memory that's already > been freed. >

Re: Logitech MX1000 Horizontal Scrolling

2005-02-03 Thread Esben Stien
Esben Stien <[EMAIL PROTECTED]> writes: > I got a 12 button logitech MX1000 mouse. I have still not resolved this issue. Anyone who can point me in any direction? -- Esben Stien is [EMAIL PROTECTED] http://www.esben-stien.name irc://irc.esben-stien.name/%23contact [sip|iax]:[EMAIL PROTECTED]

Re: Joe User DOS kills Linux-2.6.10

2005-02-03 Thread Andries Brouwer
On Thu, Feb 03, 2005 at 07:28:50AM -0500, linux-os wrote: > I ran badblocks (all night). There were none. It's a SCSI disk > and it requires chunks of DMA RAM for each write. The machine > just croaks when it gets low on RAM and tries to write to > SCSI swap which requires RAM. In some other

Re: Sabotaged PaXtest (was: Re: Patch 4/6 randomize the stack pointer)

2005-02-03 Thread pageexec
> > dl_make_stack_executable() will nicely return into user_input > > (at which time the stack has already become executable). > > wrong, _dl_make_stack_executable() will not return into user_input() in > your scenario, and your exploit will be aborted. Check the glibc sources > and the

Re: cpufreq problem wrt suspend/resume on Athlon64

2005-02-03 Thread Pavel Machek
Hi! > > > So, would it be acceptable to check in _suspend() if the state is S4 > > > and drop the frequency in that case or do nothing otherwise? > > > > No. The point is that this is _very_ system-specific. Some systems resume > > always at full speed, some always at low speed; for S4 the

RE: i386 HPET code

2005-02-03 Thread Pallipadi, Venkatesh
Hi John, Andrew, Can you check whether only the following change makes the problem go away. If yes, then it looks like a hardware issue. > hpet_writel(hpet_tick, HPET_T0_CMP); >+ hpet_writel(hpet_tick, HPET_T0_CMP); /* AK: why twice? */ > Thanks, Venki >-Original Message-

Re: security contact draft

2005-02-03 Thread Patrick Plattes
hello, i think security mailing list is a good idea. normally i would prefere a full open list, but in some cases this could be the right way. i have an additional idea. maybe it is useful to push the mails on the list into publc space automaticly after a delay of $NUMDAYS+$MAX - according to

2.6.10 Kernel BUG at hugetlbpage:212 (x86_64 and i386)

2005-02-03 Thread Mr. Berkley Shands
Reproducible BUG on 3GB hugetlbfs filesystem for opterons and xeons with either FC3 or RedHat ES3.0 and GCC 3.4.2. Details and code snippets in attachment. Executables to reproduce BUG are available on request. berkley On an 8GB dual cpu opteron (Tyan S2884) 2.6.10 kernel I can reproduce a crash

Re: [PATCH 2.6.11-rc2 12/29] ide: add ide_hwgroup_t.polling

2005-02-03 Thread Bartlomiej Zolnierkiewicz
On Wed, 2 Feb 2005 11:55:38 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > > 12_ide_hwgroup_t_polling.patch > > > > ide_hwgroup_t.polling field added. 0 in poll_timeout field > > used to indicate inactive polling but because 0 is a valid > > jiffy value, though slim, there's a

Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU_RATIO feature

2005-02-03 Thread Paul Davis
>This is a bit off topic, but I'm interested in applications that are >more driven by time and has abstraction closer to that in a pure way. >A lot of audio kits tend to be overly about DSP and not about time. >This is difficult to explain, but what I'm referring to here is ideally >the next

Re: cpufreq problem wrt suspend/resume on Athlon64

2005-02-03 Thread Pavel Machek
Hi! > > > > > On Thu, Feb 03, 2005 at 11:41:26AM +0100, Pavel Machek wrote: > > > > > > Okay, you are right, restoring it unconditionaly would be bad > > > > > > idea. Still it would be nice to tell cpufreq governor "please change > > > > > > the frequency ASAP" so it does not run at 800MHz for

Re: dm-crypt crypt_status reports key?

2005-02-03 Thread Fruhwirth Clemens
On Wed, 2005-02-02 at 20:05 -0800, Matt Mackall wrote: > Dunno here, seems that having one tool that gave the kernel a key named > "foo" and then telling dm-crypt to use key "foo" is probably not a bad > way to go. Then we don't have stuff like "echo | dmsetup create" > and the like and the

[Patch] eth1394: Change KERN_ERR to KERN_INFO

2005-02-03 Thread Steffen Zieger
Hello list, on boot eth1394 prints the following message to KERN_ERR, but I think it is better printing to KERN_INFO, because it _is_ an informational message only (or: I think so). This is the message I mean: eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0) The patch should apply

Re: [PATCH 2.6.11-rc2 11/29] ide: add ide_drive_t.sleeping

2005-02-03 Thread Bartlomiej Zolnierkiewicz
On Wed, 2 Feb 2005 11:54:48 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > > 11_ide_drive_sleeping_fix.patch > > > > ide_drive_t.sleeping field added. 0 in sleep field used to > > indicate inactive sleeping but because 0 is a valid jiffy > > value, though slim, there's a chance

[2.6 Patch] speedstep-lib.c: fix frequency multiplier for Pentium4 models 0&1

2005-02-03 Thread Matthias-Christian Ott
The Pentium4 models 0&1 have a longer MSR_EBC_FREQUENCY_ID register as the models 2&3, so the bit shift must be bigger. Signed-off-by: Matthias-Christian Ott <[EMAIL PROTECTED]> diff -Nurp linux-2.6.11-rc3/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c

Re: [Fastboot] [PATCH] Reserving backup region for kexec based crashdumps.

2005-02-03 Thread Vivek Goyal
On Wed, 2005-02-02 at 21:12, Eric W. Biederman wrote: > Vivek Goyal <[EMAIL PROTECTED]> writes: > > > On Tue, 2005-02-01 at 20:56, Eric W. Biederman wrote: > > > Vivek Goyal <[EMAIL PROTECTED]> writes: > > > > "elfcorehdr=" also looks good. > > Then let's go with that for now. It is not

Re: Sabotaged PaXtest (was: Re: Patch 4/6 randomize the stack pointer)

2005-02-03 Thread Peter Busser
On Wednesday 02 February 2005 23:08, [EMAIL PROTECTED] wrote: > > and how do you force a program to call that function and then to execute > > your shellcode? In other words: i challenge you to show a working > > (simulated) exploit on Fedora (on the latest fc4 devel version, etc.) > > that does

Re: Please open sysfs symbols to proprietary modules

2005-02-03 Thread linux-os
On Wed, 2 Feb 2005, Greg KH wrote: On Wed, Feb 02, 2005 at 07:07:21PM -0500, Pavel Roskin wrote: On Wed, 2 Feb 2005, Greg KH wrote: On Wed, Feb 02, 2005 at 03:23:30PM -0800, Patrick Mochel wrote: What is wrong with creating a (GPL'd) abstraction layer that exports symbols to the proprietary

Re: [ide-dev 3/5] generic Power Management for IDE devices

2005-02-03 Thread Bartlomiej Zolnierkiewicz
On Thu, 03 Feb 2005 10:03:00 +, Alan Cox <[EMAIL PROTECTED]> wrote: > On Maw, 2005-02-01 at 23:03, Bartlomiej Zolnierkiewicz wrote: > > On Sat, 22 Jan 2005 19:41:24 +0100, Pavel Machek <[EMAIL PROTECTED]> wrote: > > > Why do you need to have state-machine? During suspend we are running > > >

Re: [PATCH 2.6.11-rc2 11/29] ide: add ide_drive_t.sleeping

2005-02-03 Thread Jens Axboe
On Thu, Feb 03 2005, Bartlomiej Zolnierkiewicz wrote: > On Thu, 3 Feb 2005 12:37:10 +0100, Jens Axboe <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 03 2005, Bartlomiej Zolnierkiewicz wrote: > > > On Wed, 2 Feb 2005 11:54:48 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > > > > >

Re: [PATCH 2.6.11-rc2 11/29] ide: add ide_drive_t.sleeping

2005-02-03 Thread Bartlomiej Zolnierkiewicz
On Thu, 3 Feb 2005 14:32:29 +0100, Jens Axboe <[EMAIL PROTECTED]> wrote: > On Thu, Feb 03 2005, Bartlomiej Zolnierkiewicz wrote: > > On Thu, 3 Feb 2005 12:37:10 +0100, Jens Axboe <[EMAIL PROTECTED]> wrote: > > > On Thu, Feb 03 2005, Bartlomiej Zolnierkiewicz wrote: > > > > On Wed, 2 Feb 2005

Re: [PATCH 2.6.11-rc2 11/29] ide: add ide_drive_t.sleeping

2005-02-03 Thread Bartlomiej Zolnierkiewicz
On Thu, 3 Feb 2005 12:37:10 +0100, Jens Axboe <[EMAIL PROTECTED]> wrote: > On Thu, Feb 03 2005, Bartlomiej Zolnierkiewicz wrote: > > On Wed, 2 Feb 2005 11:54:48 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > > > > 11_ide_drive_sleeping_fix.patch > > > > > > > > ide_drive_t.sleeping field

Re: cpufreq problem wrt suspend/resume on Athlon64

2005-02-03 Thread Rafael J. Wysocki
On Thursday, 3 of February 2005 13:40, Dominik Brodowski wrote: [-- snip --] > > So, would it be acceptable to check in _suspend() if the state is S4 > > and drop the frequency in that case or do nothing otherwise? > > No. The point is that this is _very_ system-specific. Some systems resume >

Re: dm-crypt crypt_status reports key?

2005-02-03 Thread Christophe Saout
Am Mittwoch, den 02.02.2005, 20:05 -0800 schrieb Matt Mackall: > On Thu, Feb 03, 2005 at 03:34:29AM +0100, Christophe Saout wrote: > > The keyring API seems very flexible. You can define your own type of > > keys and give them names. Well, the name is probably irrelevant here and > > should be

Re: Copyright / licensing question

2005-02-03 Thread Helge Hafting
[EMAIL PROTECTED] wrote: I'll respond in terms of U.S. law; if you want something else, please mention it. You might find a lot of useful information at http://fairuse.stanford.edu/Copyright_and_Fair_Use_Overview/chapter9/index.html http://www.usg.edu/admin/legal/copyright/#part3d3a

Re: [fuse-devel] [ANNOUNCE] Filesystem in Userspace - 2.2

2005-02-03 Thread Franco Broi
I've just ported my filesystem to 2.2-pre6 and was able to throw away about 300 lines of code, the filehandle stuff is great. I was hoping to give it a thorough test and report back before 2.2 was released but you beat me to it. It just keeps getting better and better, well done! On Thu,

Re: cpufreq problem wrt suspend/resume on Athlon64

2005-02-03 Thread Dominik Brodowski
On Thu, Feb 03, 2005 at 12:30:19PM +0100, Rafael J. Wysocki wrote: > On Thursday, 3 of February 2005 12:01, Dominik Brodowski wrote: > > On Thu, Feb 03, 2005 at 11:58:46AM +0100, Pavel Machek wrote: > > > Hi! > > > > > > > On Thu, Feb 03, 2005 at 11:41:26AM +0100, Pavel Machek wrote: > > > > >

Race condition in ptrace

2005-02-03 Thread Bodo Stroesser
Working with the new UML skas0 mode on my Xeon HT host, sporadically I saw some processes on UML segfaulting. In all cases, I could track this down to be caused by a gs segment register, that had the wrong contents. This again is caused by a problem in the host linux: A ptraced child going to stop

Re: [PATCH 2.6.11-rc2-mm2] mips: iomap

2005-02-03 Thread Ralf Baechle
On Mon, Jan 31, 2005 at 07:46:18AM +0900, Yoichi Yuasa wrote: > This patch adds iomap functions to MIPS system. And it still only works for a single PCI bus. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: Please open sysfs symbols to proprietary modules

2005-02-03 Thread Jonathan A. George
> ...The EXPORT_SYMBOL_GPL is a license statement to binary module developers... As noted repeatedly a symbol prefix doesn't appear to carry any legal weight under U.S. law. In fact the GPL copyright notice is appear legally limited to the granting of *copy* *rights* per U.S. copyright law

Re: Joe User DOS kills Linux-2.6.10

2005-02-03 Thread linux-os
On Thu, 3 Feb 2005, Andries Brouwer wrote: On Wed, Feb 02, 2005 at 01:23:43PM -0500, linux-os wrote: When I compile and run the following program: #include int main(int x, char **y) { pause(); } ... as: ./xxx `yes` ... the following occurs after about 30 seconds (your mileage may vary):

Re: Copyright / licensing question

2005-02-03 Thread linux
I'll respond in terms of U.S. law; if you want something else, please mention it. You might find a lot of useful information at http://fairuse.stanford.edu/Copyright_and_Fair_Use_Overview/chapter9/index.html http://www.usg.edu/admin/legal/copyright/#part3d3a http://en.wikipedia.org/wiki/Fair_use

Re: Linux 2.6.11-rc3 - BT848 no signal

2005-02-03 Thread Markus Trippelsdorf
On Thu, 2005-02-03 at 12:30 +0100, Gerd Knorr wrote: > Thanks, seems to be a initialization order bug which changes the default > state of the tda9887 output ports. The patch below should fix that. Everything is working fine now. Thank you. __ Markus - To unsubscribe from this list: send the

Re: [PATCH] Configure MTU via kernel DHCP

2005-02-03 Thread Herbert Xu
Shane Hathaway <[EMAIL PROTECTED]> wrote: > > The attached patch enhances the kernel's DHCP client support (in > net/ipv4/ipconfig.c) to set the interface MTU if provided by the DHCP server. > > Without this patch, it's difficult to netboot on a network that uses jumbo > frames. The patch

Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm

2005-02-03 Thread Fruhwirth Clemens
On Wed, 2005-02-02 at 17:46 -0500, James Morris wrote: > On Sun, 30 Jan 2005, Fruhwirth Clemens wrote: > > +#define scatterwalk_needscratch(walk, nbytes) > > \ > > + ((nbytes) <= (walk)->len_this_page && > >

Re: creating daemons

2005-02-03 Thread Bernd Petrovitsch
On Wed, 2005-02-02 at 15:24 +0530, root wrote: > i want run my program as a daemon..its like normal > how to do that > service squid start Look into /etc/init.d/squid (or wherever your distribution puts the SysV-Init startup files) on how to write a similar script for your daemon. And BTW this

Re: 2.6.10: kswapd spins like crazy

2005-02-03 Thread Terje FĂ„berg
Nick Piggin <[EMAIL PROTECTED]> skrev: > Can you post about 10 seconds of `vmstat 1` output > while this is happening? > > Also: > `cat /proc/vmstat > pre ; sleep 10 ; cat > /proc/vmstat > post` > while this is happening, and send the pre and post > files. > > cat /proc/meminfo also might be

Re: Linux 2.6.11-rc3 - BT848 no signal

2005-02-03 Thread Gerd Knorr
> > > mt2032_set_if_freq failed with -121 > > OK here you go. Thanks, seems to be a initialization order bug which changes the default state of the tda9887 output ports. The patch below should fix that. Gerd diff -u linux-2.6.11/drivers/media/video/tda9887.c

Re: [PATCH 2.6.11-rc2 11/29] ide: add ide_drive_t.sleeping

2005-02-03 Thread Jens Axboe
On Thu, Feb 03 2005, Bartlomiej Zolnierkiewicz wrote: > On Wed, 2 Feb 2005 11:54:48 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > > > 11_ide_drive_sleeping_fix.patch > > > > > > ide_drive_t.sleeping field added. 0 in sleep field used to > > > indicate inactive sleeping but because 0

[ANNOUNCE] Filesystem in Userspace - 2.2

2005-02-03 Thread Miklos Szeredi
FUSE version 2.2 is out there: http://sourceforge.net/project/showfiles.php?group_id=121684_id=132802_id=301878 This can be used standalone or with recent -mm kernels (with the exception of -rc2-mm2). Most notable changes since 2.1: - Added file handle parameter to

Re: cpufreq problem wrt suspend/resume on Athlon64

2005-02-03 Thread Rafael J. Wysocki
On Thursday, 3 of February 2005 12:01, Dominik Brodowski wrote: > On Thu, Feb 03, 2005 at 11:58:46AM +0100, Pavel Machek wrote: > > Hi! > > > > > On Thu, Feb 03, 2005 at 11:41:26AM +0100, Pavel Machek wrote: > > > > Okay, you are right, restoring it unconditionaly would be bad > > > > idea. Still

creating daemons

2005-02-03 Thread root
hi all, i want run my program as a daemon..its like normal how to do that service squid start thanks - 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

Re: Deadlock in serial driver 2.6.x

2005-02-03 Thread Alan Cox
On Llu, 2005-01-31 at 08:48, Andrew Morton wrote: > > The tty layer cannot fix this for now, and I don't intend to fix it. Fix > > the serial driver: the fix is quite simple since you can keep a field in > > the driver for now to detect recursive calling into the echo case and > > don't

Re: Touchpad problems with 2.6.11-rc2

2005-02-03 Thread Giuseppe Bilotta
Dmitry Torokhov wrote: > No I don't but by the looks of it (constant stream of bad data) it looks > like somehow the touhcpad was reset back into PS/2 compatibility mode. > resetafter would catch it and reinitialize touchpad restoring proper > protocol. My Dell Inspiron 8200 shows very sluggish

<    1   2   3   4   5   6   7   8   >