Re: [PATCH 0/4] atl1: Attansic L1 ethernet driver

2007-01-22 Thread Jeff Garzik
Jay Cliburn wrote: This is the latest submittal of the patchset providing support for the Attansic L1 gigabit ethernet adapter. This patchset is built against kernel version 2.6.20-rc5. This version incorporates all comments from: Christoph Hellwig: http://lkml.org/lkml/2007/1/11/43

Re: [PATCH 2.6.20-rc5 1/7] ehea: Fixed wrong dereferencation

2007-01-22 Thread Jeff Garzik
Thomas Klein wrote: Not only check the pointer against 0 but also the dereferenced value Signed-off-by: Thomas Klein [EMAIL PROTECTED] --- drivers/net/ehea/ehea.h |2 +- drivers/net/ehea/ehea_main.c |6 -- 2 files changed, 5 insertions(+), 3 deletions(-) applied 1-7 to

[git patches] net driver fixes

2007-01-22 Thread Jeff Garzik
Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus to receive the following updates: drivers/net/ehea/ehea.h |2 +- drivers/net/ehea/ehea_main.c | 56 +-

Re: [PATCH 25/59] sysctl: C99 convert arch/frv/kernel/pm.c

2007-01-22 Thread Herbert Poetzl
On Wed, Jan 17, 2007 at 08:14:17PM +0300, Kirill Korotaev wrote: another small minor note. From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- arch/frv/kernel/pm.c | 50 +++---

Re: [PATCH 50/59] sysctl: Move utsname sysctls to their own file

2007-01-22 Thread Herbert Poetzl
On Wed, Jan 17, 2007 at 12:31:22PM -0700, Eric W. Biederman wrote: Kirill Korotaev [EMAIL PROTECTED] writes: Eric, though I personally don't care much: 1. I ask for not setting your authorship/copyright on the code which you just copied from other places. Just doesn't look polite

SATA ahci Bug in 2.6.19.x

2007-01-22 Thread Stefan Priebe - FH
Hello! I've an Asus A8V Mainboard which works wonderful with a 2.6.18.X kernel. But i cannot use the SATA Controller with a 2.6.19.x Kernel. dmesg output from 2.6.18.3 where it works perfectly: libata version 2.00 loaded. ahci :00:0f.0: version 2.0 GSI 19 sharing vector 0xD9 and IRQ 19

Re: XFS or Kernel Problem / Bug

2007-01-22 Thread David Chinner
On Mon, Jan 22, 2007 at 08:51:10AM +0100, Stefan Priebe - FH wrote: Hi! I'm not shure but perhaps it isn't an XFS Bug. Here is what i find out: We've about 300 servers at the momentan and 5 of them are old Intel Pentium 4 Machines with a DFI PM-12 Mainboard with VIA chipset. It only

Re: pata_sil680 module, udev and changing drive node order

2007-01-22 Thread Andre Tomt
Patrick Ale wrote: The drivers load correctly but my drives seem to be in a different order all the time, which is not very convinient when your run md devices. md does not rely on device names, it can work on array UUID's too (check out man mdadm.conf). So, my question is: how do I force

Re: XFS or Kernel Problem / Bug

2007-01-22 Thread Stefan Priebe - FH
Hi! The update of the IDE layer was in 2.6.19. I don't think it is a hardware bug cause all these 5 machines runs fine since a few years with 2.6.16.X and before. We switch to 2.6.18.6 on monday last week and all machines began to crash periodically. On friday last week we downgraded them

Re: SATA exceptions triggered by XFS (since 2.6.18)

2007-01-22 Thread Paolo Ornati
On Mon, 22 Jan 2007 01:53:21 +0059 Jiri Slaby [EMAIL PROTECTED] wrote: 7 Seek_Error_Rate 0x000f 083 060 030Pre-fail Always - 204305750 1 Raw_Read_Error_Rate 0x000f 059 049 006Pre-fail Always - 215927244 195

[RFC] Asynchronous Messaging

2007-01-22 Thread Wink Saville
I have implemented a technique which allows a kernel-space thread or ISR to communicate with user-space or kernel-space threads asynchronously and without having to copy data (zero copy). The solution I came up with I call ACE, Atomic Code Execution. As the name implies once code starts

[patch] md: bitmap read_page error

2007-01-22 Thread yang yin
If the bitmap size is less than one page including super_block and bitmap and the inode's i_blkbits is also small, when doing the read_page function call to read the sb_page, it may return a error. For example, if the device is 12800 chunks, its bitmap file size is about 1.6KB include the bitmap

Re: SATA exceptions triggered by XFS (since 2.6.18)

2007-01-22 Thread Paolo Ornati
On Mon, 22 Jan 2007 11:46:01 +0900 Tejun Heo [EMAIL PROTECTED] wrote: I don't know. It's a two years old ST380817AS. # smartctl -a -d ata /dev/sda smartctl version 5.36 [x86_64-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ ===

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Benny Amorsen
DS == David Schwartz [EMAIL PROTECTED] writes: DS If you are right, a 512MB RAM stick is mislabelled and is more DS correctly labelled as 536.8MB. (With 512MiB being equally DS correct.) DS Isn't that obviously not just wrong but borderline crazy? No. It is not obvious to me what is wrong with

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Roland Kuhn
Hi Jan! On 21 Jan 2007, at 22:12, Jan Engelhardt wrote: How fast is your Ethernet port? 100Mbps or 95.37Mbps? Same lie like with harddrives. It's around 80, not 100. But it depends on how you look at it. 80 for Layer3, possibly a little more for Layer2/1. Nope, I get consistently 12e6

Re: status of: tasklet_unlock_wait() causes soft lockup with -rt and ieee1394 audio

2007-01-22 Thread Ingo Molnar
* Pieter Palmers [EMAIL PROTECTED] wrote: Dear all, What is the status with respect to this problem? I see that in the current -rt patch the problematic code piece is different. I personally haven't tried to reproduce this myself on a more recent kernel, but I just got a report from

sigaction's ucontext_t with incorrect stack reference when SA_SIGINFO is being used ?

2007-01-22 Thread Xavier Roche
Hi folks, I have a probably louzy question regarding sigaction() behaviour when an alternate signal stack is used: it seems that I can not get the user stack reference in the ucontext_t stack context ; ie. the uc_stack member contains reference of the alternate signal stack, not the stack that

Re: SATA exceptions triggered by XFS (since 2.6.18)

2007-01-22 Thread Tejun Heo
Paolo Ornati wrote: === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.7 and 7200.7 Plus family Device Model: ST380817AS I'll blacklist it. Thanks. Ok. It will be better if someone else with the same HD could confirm. It looks so strange that an HD that works

Re: XFS or Kernel Problem / Bug

2007-01-22 Thread Stefan Priebe - FH
Hi! I've another idea... could it be, that it is a barrier problem? Since barriers are enabled by default from 2.6.17 on ... Stefan David Chinner schrieb: On Mon, Jan 22, 2007 at 08:51:10AM +0100, Stefan Priebe - FH wrote: Hi! I'm not shure but perhaps it isn't an XFS Bug. Here is what

Re: [PATCH 3/4] atl1: Main C file for Attansic L1 driver

2007-01-22 Thread Arjan van de Ven
On Sun, 2007-01-21 at 15:06 -0600, Jay Cliburn wrote: + + /* PCI config space info */ + pci_read_config_byte(pdev, PCI_REVISION_ID, hw-revision_id); + pci_read_config_word(pdev, PCI_COMMAND, hw-pci_cmd_word); I'm highly suspicious of drivers that use the PCI_COMMAND word...

Re: wake_up() takes long time to return

2007-01-22 Thread kalash nainwal
On 1/20/07, Arjan van de Ven [EMAIL PROTECTED] wrote: On Sat, 2007-01-20 at 15:54 +0530, kalash nainwal wrote: Hi there, We've a kernel (n/w) module, which sits over ethernet. Whenever a pkt is received (in softirq), after doing some minimal processing, wake_up() is called to wake up

Re: SATA exceptions triggered by XFS (since 2.6.18)

2007-01-22 Thread Paolo Ornati
On Mon, 22 Jan 2007 18:35:05 +0900 Tejun Heo [EMAIL PROTECTED] wrote: Yeap, certainly. I'll ask people first before actually proceeding with the blacklisting. I'm just getting a bit tired of tides of NCQ firmware problems. Anyways, for the time being, you can easily turn off NCQ using

Re: [PATCH] binfmt_elf: core dump masking support

2007-01-22 Thread Pavel Machek
On Mon 2007-01-22 11:29:40, Kawai, Hidehiro wrote: Hi Pavel, The /proc/pid/ approach doesn't have these demerits, and it has an advantage that users can change the bitmask of any process at anytime. Well... not sure if it is advantage. For example, consider the following case: a

[KORG] Linux history trees

2007-01-22 Thread Jean Delvare
Hi Linus, Thomas, all, It appears that kernel.org is hosting two git repositories with the history of the linux kernel development, up to 2.6.12-rc2, which was originally in bitkeeper. The first one is owned by Linus:

Re: SATA exceptions triggered by XFS (since 2.6.18)

2007-01-22 Thread Paolo Ornati
On Mon, 22 Jan 2007 18:35:05 +0900 Tejun Heo [EMAIL PROTECTED] wrote: Yeap, certainly. I'll ask people first before actually proceeding with the blacklisting. I'm just getting a bit tired of tides of NCQ firmware problems. Another interesting thing: it seems that I'm unable to reproduce

Re: [PATCH 2.6.20-rc5 1/1] MM: enhance Linux swap subsystem

2007-01-22 Thread Pavel Machek
Hi1 My patch is based on my new idea to Linux swap subsystem, you can find more in Documentation/vm_pps.txt which isn't only patch illustration but also file changelog. In brief, SwapDaemon should scan and reclaim pages on UserSpace::vmalist other than current zone::active/inactive. The

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Bernd Petrovitsch
On Mon, 2007-01-22 at 02:56 +0100, Krzysztof Halasa wrote: Jan Engelhardt [EMAIL PROTECTED] writes: Bleh. Except for storage, base 1024 was used for almost everything I remember. 4 MB memory meant 4096 KB, and that's still the case today. Most likely the same for transfer rates. Nope,

Re: [PATCH] Introduce simple TRUE and FALSE boolean macros.

2007-01-22 Thread Nick Piggin
Robert P. J. Day wrote: by adding (temporarily) the definitions of TRUE and FALSE to types.h, you should then (theoretically) be able to delete over 100 instances of those same macros being *defined* throughout the source tree. you're not going to be deleting the hundreds and hundreds of *uses*

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Andreas Schwab
Krzysztof Halasa [EMAIL PROTECTED] writes: Jan Engelhardt [EMAIL PROTECTED] writes: It's just that storage vendors broke the computer rule and went with 1000. 1024 etc. is (should be) natural to disks because the sector size is 512 B, 2048 B or something like that. But other than the

Re: [PATCH] Introduce simple TRUE and FALSE boolean macros.

2007-01-22 Thread Robert P. J. Day
On Mon, 22 Jan 2007, Nick Piggin wrote: Robert P. J. Day wrote: by adding (temporarily) the definitions of TRUE and FALSE to types.h, you should then (theoretically) be able to delete over 100 instances of those same macros being *defined* throughout the source tree. you're not going to

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-22 Thread Christoph Hellwig
On Mon, Jan 22, 2007 at 02:09:17AM -0500, Theodore Ts'o wrote: Hi folks, It's time to start kicking off the 2007 Kernel Summit planning process. This year, the Kernel Summit will be held in Cambridge, England, at the DeVere University Arms Hotel, September 5-6 (with a welcome

Re: Serial port blues

2007-01-22 Thread Alan
Serial port latency is heavily dependant on the HZ rate for data bits and input side stuff and you can set the low latency flag to improve upon that. Beyond that if you are using the modem control ioctls then it depends a lot on the hardware. USB has some implicit queuing on the bus but generic

dear GOD pls i need ur help

2007-01-22 Thread Iheanacho Vitus
my dearest,father i am vitus by name and i am an orphan raised in the motherless babies home i never knew my parents till today as i am talking to you ,pls i need help before i do some thing that will lead me to my ealy grave i thank God for those people who have real nice life they should always

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-22 Thread Alon Bar-Lev
On 1/18/07, Bodo Eggert [EMAIL PROTECTED] wrote: Alon Bar-Lev [EMAIL PROTECTED] wrote: On 1/18/07, Russell King [EMAIL PROTECTED] wrote: On Thu, Jan 18, 2007 at 01:58:52PM +0100, Bernhard Walle wrote: 2. Set command_line as __initdata. You can't. -static char

Re: [PATCH 2/4] atl1: Header files for Attansic L1 driver

2007-01-22 Thread Francois Romieu
diff --git a/drivers/net/atl1/atl1_hw.h b/drivers/net/atl1/atl1_hw.h new file mode 100644 index 000..0450b77 --- /dev/null +++ b/drivers/net/atl1/atl1_hw.h [...] +/* MII definition */ +/* PHY Common Register */ +#define MII_BMCR 0x00 +#define

[PATCH 2.6.20-rc5 1/7] ehea: Fixed wrong dereferencation

2007-01-22 Thread Thomas Klein
Not only check the pointer against 0 but also the dereferenced value Signed-off-by: Thomas Klein [EMAIL PROTECTED] --- drivers/net/ehea/ehea.h |2 +- drivers/net/ehea/ehea_main.c |6 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff -Nurp -X dontdiff

[PATCH 2.6.20-rc5 2/7] ehea: Fixing firmware queue config issue

2007-01-22 Thread Thomas Klein
Fix to use exactly one queue for incoming packets in all firmware configurations Signed-off-by: Thomas Klein [EMAIL PROTECTED] --- drivers/net/ehea/ehea_main.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nurp -X dontdiff linux-2.6.20-rc5/drivers/net/ehea/ehea_main.c

[PATCH 2.6.20-rc5 3/7] ehea: Modified initial autoneg state determination

2007-01-22 Thread Thomas Klein
Logical partitions are not allowed to (try to) set the autonegotiation status. This patch removes the respective function call from the port setup function. Signed-off-by: Thomas Klein [EMAIL PROTECTED] --- drivers/net/ehea/ehea_main.c |4 ++-- 1 files changed, 2 insertions(+), 2

[PATCH 2.6.20-rc5 4/7] ehea: New method to determine number of available ports

2007-01-22 Thread Thomas Klein
Count OFDT nodes to determine the number of available ports instead of using the possibly outdated value from the hypervisor Signed-off-by: Thomas Klein [EMAIL PROTECTED] --- drivers/net/ehea/ehea_main.c | 15 ++- 1 files changed, 14 insertions(+), 1 deletion(-) diff -Nurp -X

[PATCH 2.6.20-rc5 5/7] ehea: Improved logging of permission issues

2007-01-22 Thread Thomas Klein
Disabled dump of hcall regs on some permission issues and fixed appropriate misleading logmessages Signed-off-by: Thomas Klein [EMAIL PROTECTED] --- drivers/net/ehea/ehea_main.c | 16 +++- drivers/net/ehea/ehea_phyp.c | 10 -- 2 files changed, 15 insertions(+), 11

[PATCH 2.6.20-rc5 6/7] ehea: Added logging off associated errors

2007-01-22 Thread Thomas Klein
Added logging of error events associated with a specific queue pair Signed-off-by: Thomas Klein [EMAIL PROTECTED] --- drivers/net/ehea/ehea_main.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff -Nurp -X dontdiff linux-2.6.20-rc5/drivers/net/ehea/ehea_main.c

[PATCH 2.6.20-rc5 7/7] ehea: Fixed possible nullpointer access

2007-01-22 Thread Thomas Klein
Fixed possible nullpointer access in event queue processing Signed-off-by: Thomas Klein [EMAIL PROTECTED] --- drivers/net/ehea/ehea_main.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -Nurp -X dontdiff linux-2.6.20-rc5/drivers/net/ehea/ehea_main.c

Re: Suspend to RAM generates oops and general protection fault

2007-01-22 Thread Rafael J. Wysocki
Hi, On Monday, 22 January 2007 03:34, Jean-Marc Valin wrote: Hi, I just encountered the following oops and general protection fault trying to suspend/resume my laptop. I've got a Dell D820 laptop with a 2 GHz Core 2 Duo CPU. It usually suspends/resumes fine but not always. The relevant

Re: [PATCH] Introduce simple TRUE and FALSE boolean macros.

2007-01-22 Thread Nick Piggin
Robert P. J. Day wrote: On Mon, 22 Jan 2007, Nick Piggin wrote: Robert P. J. Day wrote: by adding (temporarily) the definitions of TRUE and FALSE to types.h, you should then (theoretically) be able to delete over 100 instances of those same macros being *defined* throughout the source

Re: SATA exceptions with 2.6.20-rc5

2007-01-22 Thread Chr
On Monday, 22. January 2007 03:39, Tejun Heo wrote: Hello, Chr wrote: Ok, you won't believe this... I opened my case and rewired my drives... And guess what, my second (aka the good) HDD is now failing! I guess, my mainboard has a (but maybe two, or three :( ) bad sata-port(s)!

Re: configfs: return value for drop_item()/make_item()?

2007-01-22 Thread Michael Noisternig
Thanks for your reply again! See comments inline... Joel Becker wrote: I fully agree with the idea of configfs not being allowed to destroy user-created objects. OTOH, while configfs is described as a filesystem for user-created objects under user control, compared to sysfs as a filesystem for

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-22 Thread Alan Cox
On Mon, Jan 22, 2007 at 12:07:11PM +0100, Christoph Hellwig wrote: process. This year, the Kernel Summit will be held in Cambridge, England, at the DeVere University Arms Hotel, September 5-6 (with a welcome reception on the 4th). The decision to move the Kernel Summit to England is a

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-22 Thread Alessandro Di Marco
Pavel Machek [EMAIL PROTECTED] writes: +if [ ! -d /proc/sin ]; then +echo /proc/sin not found, has sinmod been loaded? +exit +fi No new /proc files, please. This was merely a prototype realized in a hurry, not a production driver. Really, I did't think it could be

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-22 Thread Theodore Tso
On Mon, Jan 22, 2007 at 07:45:02AM -0500, Alan Cox wrote: Definitely disagree with that. I'd like to see the conference somewhere else different this time - perhaps Czech Republic, or somewhere else more easterly and Linux active (or even Finland...) Understand that one of the feedback

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-22 Thread Alan
hopefully serve as a seed for something like OLS and LCA in UK/Europe, and (b) I've told folks that the moving it away from Cambridge is a one-time experiment, after which point we will re-evaluate. Perhaps that will work out for the best, it may be the right answer long term is to alternate

serial console problem in linux-2.6-20

2007-01-22 Thread Suresh Chandra Mannava
Hi All, I am working on porting linux-2.6.20-rc2 (DENX) kernel to our board. It consists of powerpc MPC7410, IBM CPC700 system controller and couple of AMD 79C972 network chips. I am using gcc version 4.0.0 (DENX ELDK 4.0 4.0.0) cross compiler for this task. I followed IBM spruce which consists

Re: SATA ahci Bug in 2.6.19.x

2007-01-22 Thread Stephen Evanchik
On 1/22/07, Stefan Priebe - FH [EMAIL PROTECTED] wrote: I've an Asus A8V Mainboard which works wonderful with a 2.6.18.X kernel. But i cannot use the SATA Controller with a 2.6.19.x Kernel. I also have an Asus A8V motherboard that cannot boot a newer kernel because the SATA controller does

Re: i810fb fails to load

2007-01-22 Thread Thomas Hellström
Andrew Morton wrote: On Mon, 15 Jan 2007 00:52:36 +0100 Tilman Schmidt [EMAIL PROTECTED] wrote: With kernel 2.6.20-rc4-mm1 and all hotfixes, i810fb fails to load on my Dell Optiplex GX110. Here's an excerpt of the diff between the boot logs of 2.6.20-rc5 (working) and 2.6.20-rc4-mm1

Re: [PATCH] select: fix sys_select to not leak ERESTARTNOHAND to userspace

2007-01-22 Thread Paolo Ornati
On Tue, 16 Jan 2007 15:13:32 -0500 Neil Horman [EMAIL PROTECTED] wrote: As it is currently written, sys_select checks its return code to convert ERESTARTNOHAND to EINTR. However, the check is within an if (tvp) clause, and so if select is called from userspace with a NULL timeval, then it is

Re: [RFC] [PATCH] Power S3 Resume Optimization Patch. Request for Comment

2007-01-22 Thread Pavel Machek
Hi! My initial idea was to execute only block device resume on the separate thread, as it take almost 80% of the total device resume time ( I did If you do this in one block driver that is slow for you (sata?), then it is probably acceptable. (Maintainer decides.) I'd encourage that option.

Re: 2.6.19.2, cp 18gb_file 18gb_file.2 = OOM killer, 100% reproducible (multi-threaded USB no go)

2007-01-22 Thread Justin Piszcz
On Sun, 21 Jan 2007, Greg KH wrote: On Sun, Jan 21, 2007 at 12:29:51PM -0500, Justin Piszcz wrote: On Sun, 21 Jan 2007, Justin Piszcz wrote: Good luck, Jurriaan -- What does ELF stand for (in respect to Linux?) ELF is the first rock group that

Re: change strip_cache_size freeze the whole raid

2007-01-22 Thread Justin Piszcz
On Mon, 22 Jan 2007, kyle wrote: Hi, Yesterday I tried to increase the value of strip_cache_size to see if I can get better performance or not. I increase the value from 2048 to something like 16384. After I did that, the raid5 freeze. Any proccess read / write to it stucked at D state.

Re: problems with latest smbfs changes on 2.4.34 and security backports

2007-01-22 Thread Santiago Garcia Mantinan
Hi again! I tried to replicate the problem at home during the weekend with my laptop, but I couldn't get it to show links with previous kernels, so I guess I had something different on my samba server or similar, I'm at the real machines now so I have done the real tests and they look promising.

Re: problems with latest smbfs changes on 2.4.34 and security backports

2007-01-22 Thread Willy Tarreau
Hi Santiago ! On Mon, Jan 22, 2007 at 09:54:00AM +0100, Santiago Garcia Mantinan wrote: Hi again! I tried to replicate the problem at home during the weekend with my laptop, but I couldn't get it to show links with previous kernels, so I guess I had something different on my samba server or

Re: problems with latest smbfs changes on 2.4.34 and security backports

2007-01-22 Thread Santiago Garcia Mantinan
As you can see I now can see the symbolic links perfectly and they work as expected. In fact, this patch is working so well that it poses a security risk, as now the devices on my /mnt/dev directory are not only seen as devices (like they were seen on 2.4.33) but they also work (which

Re: problems with latest smbfs changes on 2.4.34 and security backports

2007-01-22 Thread Grant Coady
On Mon, 22 Jan 2007 10:18:16 +0100, Willy Tarreau [EMAIL PROTECTED] wrote: Grant, just to be sure, are you really certain that you tried the fixed kernel ? It is possible that you booted a wrong kernel during one of your tests. I'm intrigued by the fact that it changed nothing for you and that

Re: problems with latest smbfs changes on 2.4.34 and security backports

2007-01-22 Thread Grant Coady
On Mon, 22 Jan 2007 10:36:30 +0100, Santiago Garcia Mantinan [EMAIL PROTECTED] wrote: As you can see I now can see the symbolic links perfectly and they work as expected. In fact, this patch is working so well that it poses a security risk, as now the devices on my /mnt/dev

Re: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-22 Thread Éric Piel
01/19/2007 04:57 AM, Atsushi Nemoto wrote/a écrit: On Fri, 19 Jan 2007 12:19:10 +0900 (JST), Atsushi Nemoto [EMAIL PROTECTED] wrote: OK, here is a revised patch which uses pci= option instead of config parameters. Sorry, this patch would cause build failure if setup-bus.c was not built into

Re: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-22 Thread Atsushi Nemoto
On Mon, 22 Jan 2007 14:57:46 +0100, Éric Piel [EMAIL PROTECTED] wrote: + cbiosize=nn[KMG]A fixed amount of bus space is + reserved for CardBus bridges. + The default value is 256 bytes. + cbmemsize=nn[KMG]

Re: [RFC] Asynchronous Messaging

2007-01-22 Thread Alan
This is accomplished by allocating a page (or more) of memory which is executable and mapped into every threads address space. Also, all ISR entry points are modified to detect if the code that was interrupted was executing within the ACE page. If it was then the ACE code is allowed to

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-22 Thread Steven Whitehouse
Hi, On Mon, Jan 22, 2007 at 08:14:17AM -0500, Theodore Tso wrote: On Mon, Jan 22, 2007 at 07:45:02AM -0500, Alan Cox wrote: Definitely disagree with that. I'd like to see the conference somewhere else different this time - perhaps Czech Republic, or somewhere else more easterly and

Re: [PATCH] select: fix sys_select to not leak ERESTARTNOHAND to userspace

2007-01-22 Thread Neil Horman
On Mon, Jan 22, 2007 at 02:59:56PM +0100, Paolo Ornati wrote: On Tue, 16 Jan 2007 15:13:32 -0500 Neil Horman [EMAIL PROTECTED] wrote: As it is currently written, sys_select checks its return code to convert ERESTARTNOHAND to EINTR. However, the check is within an if (tvp) clause, and

Re: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-22 Thread Sergei Shtylyov
Hello. Atsushi Nemoto wrote: Subject: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable CARDBUS_MEM_SIZE was increased to 64MB on 2.6.20-rc2, but larger size might result in allocation failure for the reserving itself on some platforms (for example typical 32bit MIPS). Make it

Re: [PATCH] Introduce simple TRUE and FALSE boolean macros.

2007-01-22 Thread Mike Galbraith
On Mon, 2007-01-22 at 06:02 -0500, Robert P. J. Day wrote: On Mon, 22 Jan 2007, Nick Piggin wrote: Robert P. J. Day wrote: by adding (temporarily) the definitions of TRUE and FALSE to types.h, you should then (theoretically) be able to delete over 100 instances of those same macros

Re: [PATCH] Undo some of the pseudo-security madness

2007-01-22 Thread Valdis . Kletnieks
On Mon, 22 Jan 2007 02:23:30 +0300, Samium Gromoff said: not core-dumps but core files, in the lispspeak, but anyway. the reason is trivial -- if i can write programs enjoying setuid privileges in C, i want to be able to do the same in Lisp. Go read up on how the XEmacs crew designed their

[PATCH] Fix race in efi variable delete code.

2007-01-22 Thread Prarit Bhargava
Fix race when deleting an EFI variable and issuing another EFI command on the same variable. The removal of the variable from the efivars_list should be done in efivar_delete and not delayed until the kprobes release. Signed-off-by: Prarit Bhargava [EMAIL PROTECTED] diff --git

Re: [PATCH] Introduce simple TRUE and FALSE boolean macros.

2007-01-22 Thread Robert P. J. Day
On Mon, 22 Jan 2007, Mike Galbraith wrote: On Mon, 2007-01-22 at 06:02 -0500, Robert P. J. Day wrote: On Mon, 22 Jan 2007, Nick Piggin wrote: Robert P. J. Day wrote: by adding (temporarily) the definitions of TRUE and FALSE to types.h, you should then (theoretically) be able to

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Lennart Sorensen
On Sun, Jan 21, 2007 at 10:12:55PM +0100, Jan Engelhardt wrote: Same lie like with harddrives. It's around 80, not 100. But it depends on how you look at it. 80 for Layer3, possibly a little more for Layer2/1. Strange, I tend to get about 95 for layer 3. -- Len Sorensen - To unsubscribe from

Re: O_DIRECT question

2007-01-22 Thread Phillip Susi
Denis Vlasenko wrote: What will happen if we just make open ignore O_DIRECT? ;) And then anyone who feels sad about is advised to do it like described here: http://lkml.org/lkml/2002/5/11/58 Then database and other high performance IO users will be broken. Most of Linus's rant there is

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Lennart Sorensen
On Sun, Jan 21, 2007 at 12:10:00PM +0100, Eduard Bloch wrote: And I cannot seriosly believe that you are cappable of reading his examples. Megabananas are a ridiculous demonstration becase of the object beeing counted itself, but if you take stuff from real life then I doubt that you expect a

Re: [RFC] Asynchronous Messaging

2007-01-22 Thread Wink Saville
On 1/22/07, Alan [EMAIL PROTECTED] wrote: This is accomplished by allocating a page (or more) of memory which is executable and mapped into every threads address space. Also, all ISR entry points are modified to detect if the code that was interrupted was executing within the ACE page. If it

Re: Linux 2.6.16.38

2007-01-22 Thread Al Boldi
H. Peter Anvin wrote: Ralf Baechle wrote: On Sun, Jan 21, 2007 at 06:37:24PM +0200, S.ط£â€،aط¤إ¸lar Onur wrote: 21 Oca 2007 Paz tarihinde ط¥إ¸unlarط¤ï؟½ yazmط¤ï؟½ط¥إ¸tط¤ï؟½nط¤ï؟½z: RSS feed of the git tree: http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.gi t;a=r

Re: O_DIRECT question

2007-01-22 Thread Al Boldi
Andrea Arcangeli wrote: Linus may be right that perhaps one day the CPU will be so much faster than disk that such a copy will not be measurable and then O_DIRECT could be downgraded to O_STREAMING or an fadvise. If such a day will come by, probably that same day Dr. Tanenbaum will be finally

Re: [PATCH] select: fix sys_select to not leak ERESTARTNOHAND to userspace

2007-01-22 Thread Linus Torvalds
On Mon, 22 Jan 2007, Neil Horman wrote: On Mon, Jan 22, 2007 at 02:59:56PM +0100, Paolo Ornati wrote: the ERESTARTNOHAND thing is handled in arch specific signal code, In the signal handling path yes. Right. Not always in the case of select, though. Check core_sys_select: No, even

Re: SATA exceptions with 2.6.20-rc5

2007-01-22 Thread Björn Steinbrink
On 2007.01.21 18:17:01 -0600, Robert Hancock wrote: Björn Steinbrink wrote: On 2007.01.21 13:58:01 -0600, Robert Hancock wrote: Björn Steinbrink wrote: All kernels were bad using that approach. So back to square 1. :/ Björn OK guys, here's a new patch to try against 2.6.20-rc5: Right

Re: [PATCH] nfs: fix congestion control -v3

2007-01-22 Thread Trond Myklebust
On Sat, 2007-01-20 at 08:01 +0100, Peter Zijlstra wrote: Subject: nfs: fix congestion control The current NFS client congestion logic is severly broken, it marks the backing device congested during each nfs_writepages() call but doesn't mirror this in nfs_writepage() which makes for

Re: O_DIRECT question

2007-01-22 Thread Phillip Susi
Denis Vlasenko wrote: The difference is that you block exactly when you try to access data which is not there yet, not sooner (potentially much sooner). If application (e.g. database) needs to know whether data is _really_ there, it should use aio_read (or something better, something which

Re: [PATCH] select: fix sys_select to not leak ERESTARTNOHAND to userspace

2007-01-22 Thread Neil Horman
On Mon, Jan 22, 2007 at 08:03:53AM -0800, Linus Torvalds wrote: On Mon, 22 Jan 2007, Neil Horman wrote: On Mon, Jan 22, 2007 at 02:59:56PM +0100, Paolo Ornati wrote: the ERESTARTNOHAND thing is handled in arch specific signal code, In the signal handling path yes. Right.

Re: [RFC 3/6] bidi support: bidirectional request

2007-01-22 Thread James Bottomley
On Mon, 2007-01-22 at 01:25 +0200, Boaz Harrosh wrote: - Instantiate another request_io_part in request for bidi_read. - Define Implement new API for accessing bidi parts. - API to Build bidi requests and map to sglists. - Define new end_that_request_block() function to end a complete

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-22 Thread Douglas Gilbert
Benny Halevy wrote: Douglas Gilbert wrote: Boaz Harrosh wrote: - Introduce a new enum dma_data_direction data_dir member in struct request. and remove the RW bit from request-cmd_flag - Add new API to query request direction. - Adjust existing API and implementation. - Cleanup wrong use

Re: [2.6 patch] SCSI seagate.c: remove SEAGATE_USE_ASM

2007-01-22 Thread Alan
On Sun, 21 Jan 2007 20:13:00 +0100 Adrian Bunk [EMAIL PROTECTED] wrote: Using assembler code for performance in drivers might have been a good idea 15 years ago when this code was written, but with today's compilers that's unlikely to be an advantage. Besides this, it also hurts the

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-22 Thread James Bottomley
On Mon, 2007-01-22 at 10:05 -0500, Douglas Gilbert wrote: Perhaps the right use of DMA_BIRECTIONAL needs to be defined. Could it be used with a XDWRITE(10) SCSI command defined in sbc3r07.pdf at http://www.t10.org ? I suspect using two scatter gather lists would be a better approach. -

Re: [2.6 patch] SCSI seagate.c: remove SEAGATE_USE_ASM

2007-01-22 Thread Alan
The C codepaths are essentially untested on this driver. Has any part of this driver ever be tested with kernel 2.6? Or compiled with gcc 4? The C code paths have never been tested at all, the asm ones certainly worked in late 2.4, but I don't; have an ISA box any more. - To unsubscribe

[PATCH 1/3]: ufs: alloc metadata null page fix

2007-01-22 Thread Evgeniy Dushistov
These series of patches result of UFS1 write support stress testing, like running fsx-linux, untar and build linux kernel etc We pass from ufs::get_block_t to levels below: pointer to the current page, to make possible things like reallocation of blocks on the fly, and we also uses this pointer

[PATCH 2/3] ufs: truncate negative to unsigned fix

2007-01-22 Thread Evgeniy Dushistov
During ufs_trunc_direct which is subroutine of ufs::truncate, we try the first of all free parts of block and then whole blocks. But we calculate size of block's part to free in the wrong way. This may cause bad update of used blocks and fragments statistic, and you can got report that you have

[PATCH 3/3] ufs: rellocation fix

2007-01-22 Thread Evgeniy Dushistov
In blocks reallocation function sometimes does not update some of buffer_head::b_blocknr, which may and cause data damage. Signed-off-by: Evgeniy Dushistov [EMAIL PROTECTED] --- Index: linux-2.6.20-rc5/fs/ufs/balloc.c === ---

[GIT PATCH] HID fixes

2007-01-22 Thread Jiri Kosina
Hi Linus, could you please pull from 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus or master.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive bugfixes for HID code. Thanks. --- MAINTAINERS |5

revert Fix up of mmap_kmem

2007-01-22 Thread Hugh Dickins
Please revert 2.6.19's 99a10a60ba9bedcf5d70ef81414d3e03816afa3f (shown below) for 2.6.20. Nadia Derbey has reported that mmap of /dev/kmem no longer works with the kernel virtual address as offset, and Franck has confirmed that his patch came from a misunderstanding of what an offset means to

Re: Running Linux on FPGA

2007-01-22 Thread Kevin D. Kissell
On Jan 21 2007 00:14, Ralf Baechle wrote: On Sat, Jan 20, 2007 at 11:42:37PM +, sathesh babu wrote: I am trying to run Linux-2.6.18.2 ( with preemption enable) kernel on FPGA board which has MIPS24KE processor runs at 12 MHZ. Programmed the timer to give interrupt at every

Re: SATA exceptions with 2.6.20-rc5

2007-01-22 Thread Björn Steinbrink
On 2007.01.22 17:12:40 +0100, Björn Steinbrink wrote: On 2007.01.21 18:17:01 -0600, Robert Hancock wrote: Björn Steinbrink wrote: On 2007.01.21 13:58:01 -0600, Robert Hancock wrote: Björn Steinbrink wrote: All kernels were bad using that approach. So back to square 1. :/ Björn

[PATCH - revised] Kwatch: kernel watchpoints using CPU debug registers

2007-01-22 Thread Alan Stern
From: Alan Stern [EMAIL PROTECTED] This patch (as839b) implements the Kwatch (kernel-space hardware-based watchpoints) API for the i386 architecture. The API is explained in the kerneldoc for register_kwatch() in arch/i386/kernel/kwatch.c, and there is demonstration code in

Re: [PATCH] Introduce simple TRUE and FALSE boolean macros.

2007-01-22 Thread Jan Engelhardt
On Jan 22 2007 10:41, Robert P. J. Day wrote: as opposed to the 100+ *other* definitions currently cluttering up the tree, which this patch would allow to be deleted *immediately*. forget it. i can see this argument is going nowhere and that, six months from now, some poor sucker is going to

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Jan Engelhardt
On Jan 22 2007 10:53, Lennart Sorensen wrote: You talk for everybody, or is it just your (and only your) mind refusing to accept new terms? For my taste, kib and mib are even easier to speech, easier than {KiLoBytE} resp. {MeGaBytE} or KaaaBe / eMmmBe. There is too much legacy code and

Re: System crash after No irq handler for vector linux 2.6.19

2007-01-22 Thread Eric W. Biederman
Luigi Genoni [EMAIL PROTECTED] writes: (e-mail resent because not delivered using my other e-mail account) Hi, this night a linux server 8 dual core CPU Optern 2600Mhz crashed just after giving this message Jan 22 04:48:28 frey kernel: do_IRQ: 1.98 No irq handler for vector Ok. This

Re: [PATCH] Documentation/rbtree.txt (updated)

2007-01-22 Thread Rob Landley
On Friday 19 January 2007 5:41 pm, Randy Dunlap wrote: On Thu, 18 Jan 2007 15:33:25 -0500 Rob Landley wrote: Signed-off-by: Rob Landley [EMAIL PROTECTED] Documentation for lib/rbtree.c. -- I'm not an expert on this but I was asked to write up some documentation for rbtree in

  1   2   3   4   5   6   7   >