linux-kernel mailing list

FromSubjectsort iconDate
Robert Richter
[PATCH] x86: Add PCI extended config space access for AMD Ba...
This patch implements PCI extended configuration space access for AMD's Barcelona CPUs. It extends the method using CF8/CFC IO addresses. An x86 capability bit has been introduced that is set for CPUs supporting PCI extended config space accesses. Signed-off-by: Robert Richter <robert.richter@amd.com> --- arch/x86/kernel/cpu/amd.c | 4 ++++ arch/x86/kernel/setup.c | 13 +++++++++++++ arch/x86/kernel/setup.h | 26 ++++++++++++++++++++++++++ arch/x86/kernel/setup_64.c |...
Sep 3, 4:17 am 2007
James C. Georgas
HIMEM calculation
I'm not sure I understand how the kernel calculates the amount of physical RAM it can map during the boot process. I've quoted two blocks of kernel messages below, one for a kernel with NOHIGHMEM and another for a kernel with HIGHMEM4G. If I do the math on the BIOS provided physical RAM map, there is less than 5MiB of the address space reserved. Since I only have 1GiB of physical RAM in the board, I figured that it would still be possible to physically map 1019MiB, even with the 3GiB/1GiB split b...
Sep 3, 6:19 pm 2007
Chris Snook
Re: HIMEM calculation
That's the vmalloc address space. You only get 896 MB in the NORMAL zone on i386, to leave room for vmalloc. If you don't like it, go 64-bit. -- Chris -
Sep 3, 7:40 pm 2007
Satyam Sharma
[PATCH -mm 1/2] 3c59x: Fix uninitialized variable bug
drivers/net/3c59x.c: In function 'vortex_up': drivers/net/3c59x.c:1495: warning: 'err' may be used uninitialized in this function is a genuine bug. The function returns an uninitialized value of 'err' back to the caller, which expects it to be 0 for success cases. Let's fix this by explicitly initializing 'err' to zero. Signed-off-by: Satyam Sharma <satyam@infradead.org> --- drivers/net/3c59x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-2.6.23-rc4-mm1/dr...
Sep 3, 6:15 pm 2007
Satyam Sharma
[PATCH -mm 2/2] 3c59x MAINTAINERS
Remove duplicate entry for the same driver. Signed-off-by: Satyam Sharma <satyam@infradead.org> --- MAINTAINERS | 6 ------ 1 file changed, 6 deletions(-) --- linux-2.6.23-rc4-mm1/MAINTAINERS~fix 2007-09-04 03:49:16.000000000 +0530 +++ linux-2.6.23-rc4-mm1/MAINTAINERS 2007-09-04 03:49:28.000000000 +0530 @@ -104,12 +104,6 @@ M: klassert@mathematik.tu-chemnitz.de L: netdev@vger.kernel.org S: Maintained -3C59X NETWORK DRIVER -P: Steffen Klassert -M: klassert@mathematik.tu-che...
Sep 3, 6:22 pm 2007
Elvis Pranskevichus
[PATCH] Input: i8042 - add HP Pavilion DV4270ca to the MUX b...
This fixes "atkbd.c: Suprious NAK on isa0060/serio0" errors for HP Pavilion DV4270ca. Same reasons as for 9d9d50bb2efb50594abfc3941a5504b62c514ebd and 6e782584e0713ea89da151333e7fe754c8f40324. Signed-off-by: Elvis Pranskevichus <el@prans.net> 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index 702a526..f8fe421 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x...
Sep 3, 5:47 pm 2007
Cedric Le Goater
[PATCH -mm] ipc namespace: remove config ipc ns fix
Finish the work : kill all #ifdef CONFIG_IPC_NS. Thanks Robert ! C. Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Eric Biederman <ebiederm@xmision.com> Cc: Robert P. J. Day <rpjday@mindspring.com> --- ipc/ipc_sysctl.c | 4 ---- 1 file changed, 4 deletions(-) Index: 2.6.23-rc4-mm1/ipc/ipc_sysctl.c =================================================================== --- 2.6.23-rc4-mm1.orig/ipc/ipc_sysctl.c +++...
Sep 3, 4:22 pm 2007
Latchesar Ionkov
[PATCH] 9p: attach-per-user
The 9P2000 protocol requires the authentication and permission checks to be done in the file server. For that reason every user that accesses the file server tree has to authenticate and attach to the server separately. Multiple users can share the same connection to the server. Currently v9fs does a single attach and executes all I/O operations as a single user. This makes using v9fs in multiuser environment unsafe as it depends on the client doing the permission checking. This patch improves th...
Sep 3, 4:18 pm 2007
Krzysztof Halasa
Ath5k panic fix
Ath5k panics on ath_open() because sc->pdev is never set, fixed. Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl> --- a/drivers/net/wireless/ath5k_base.c +++ b/drivers/net/wireless/ath5k_base.c @@ -2295,6 +2295,7 @@ static int __devinit ath_pci_probe(struct pci_dev *pdev, hw->max_rssi = 127; /* FIXME: get a real value for this. */ sc = hw->priv; sc->hw = hw; + sc->pdev = pdev; /* * Mark the device as detached to avoid processing -
Sep 3, 2:35 pm 2007
Xu Yang
mutex vs cache coherency protocol(for multiprocessor )
Hello everyone, Just got a rough question in my head. don't know whether anyone interested . mutex vs cache coherency protocol(for multiprocessor) both of these two can be used to protect shared resource in the memory. are both of them necessary? for example: in a multiprocessor system, if there is only mutex no cache coherency. obviously this would cause problem. what about there is no mutex mechanism, only cache coherency protocol in multiprocessor system? after consideration, I ...
Sep 3, 1:57 pm 2007
Wolfgang Walter
bug in 2.6.22.6, net/sunrpc/svcsock.c
Hello, in 2.6.22.6, net/sunrpc/svcsock.c random characters are printed by svc_tcp_accept: lockd: last TCP connect from <some random chars> because buf is used unitialized: printk(KERN_NOTICE "%s: last TCP connect from %s\n", serv->sv_name, buf); Probably it should be printk(KERN_NOTICE "%s: last TCP connect from %s\n", serv->sv_name, __svc_print_addr(sin, buf, sizeof(buf))); ============================= --- linux-2.6.22.6/net/sunrpc/svcsock.c 2007-08-27 18:...
Sep 3, 12:48 pm 2007
Satyam Sharma
Re: bug in 2.6.22.6, net/sunrpc/svcsock.c
Hi Wolfgang, Your patch is correct, but please read patch submission instructions at: http://lxr.linux.no/source/Documentation/SubmittingPatches http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt http://lkml.org/lkml/2005/4/7/183 At a minimum, you need to: (1) provide Signed-off-by: line on top of the patch, (2) cc: netdev[at]vger.kernel.org (or other maintainer(s)) in your mail, and, (3) give a useful "[patch] sunrpc: fix printk argument" kind of Subject: line. Satyam -
Sep 3, 3:58 pm 2007
Jan Engelhardt
Mounts and namespaces
Hi, what happens to mounts when the namespace they exist in, exits? In my concrete case: ./newns /bin/bash # clone(CLONE_NEWNS | CLONE_THREAD | CLONE_SIGHAND | CLONE_VM) # and exec to given program mount /dev/loop0 /mnt exit Still mounted and unreachable forever? Forced unmount and fs corruption? Jan -- -
Sep 3, 12:23 pm 2007
Al Viro
Re: Mounts and namespaces
lazy umount. -
Sep 3, 12:26 pm 2007
Jonathan Gray
[reyk@openbsd.org: Re: That whole "Linux stealing our code" ...
This is a lot more relevant than much of the ongoing discussion, so perhaps people could take a moment to read it over. ----- Forwarded message from Reyk Floeter <reyk@openbsd.org> ----- From: Reyk Floeter <reyk@openbsd.org> Date: Mon, 3 Sep 2007 13:23:04 +0200 To: misc@openbsd.org Subject: Re: That whole "Linux stealing our code" thing Hi! I just returned from vacation where I was offline for about two weeks. So I totally missed the incidence and all the surrounding discussion....
Sep 3, 9:25 am 2007
Adrian Bunk
Re: [reyk@openbsd.org: Re: That whole "Linux stealing our co...
It's your code and it's your choice. (But note that you contributed to then dual-licenced code in the OpenBSD CVS and kept this code dual-licenced. For this code your The email of Theo that was forwarded to linux-kernel [1] centered around Theo telling people that picking one licence for Sam's dual-licenced code would "break the law". He would have better made the mistake in Jiri's patch visible (and therefore better defended your copyright) if he wouldn't have obscured To clarify t...
Sep 3, 10:50 am 2007
Cyrill Gorcunov
Re: Linux 2.6.23-rc5 - oops
[Zilvinas Valinskas - Mon, Sep 03, 2007 at 02:11:51PM +0300] | Jeff was not swearing at all. All he said and meant that you did provide | fix faster then he was able to ;) Slight culture differences at play. ;) | | | > > | > > | > > heh, you beat me to it. That should indeed fix it. | > > | > > Jeff | > > | > > | > | > Don't swear on me it was not intended ;) | > | > So Jeff, make the real patch then (and btw I think | > using b...
Sep 3, 9:09 am 2007
Xu Yang
ramdisk
Hi everyone, I want to use ramdisk to boot my filesystem, as I can't use NFS and harddisk. I have load the ramdisk into the ram memory (start address :0x4000000) and in the boot options I specified : root =dev/ram0 initrd=0x4000000 but the kernel said it can not find any file system on it. Here is the information I can supply : U-Boot 1.2.0 (Aug 31 2007 - 20:54:55) *** Auto-detects ethernet chip *** DRAM: 0 kB ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB Flash: 0 kB ...
Sep 3, 9:04 am 2007
Bill Davidsen
Re: ramdisk
Looking at the information below, did the program which loaded the filesystem into RAM decompress it? It noted that it was compressed so I would assume so, but I am unfamiliar with ARM tools, so I ask the question. Also, should the boot device be "/dev/ram0" rather than -- Bill Davidsen <davidsen@tmr.com> "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot -
Sep 3, 11:03 am 2007
Xu Yang
Re: ramdisk
thanks for the reply. no , it is not decompressed. isn' t the kernel supposed to do that? As we have tried to load this filesystem on the pc, it turns out the the kernel can recognize it. concerning the root=/dev/ram0, as the default value is root=/dev/nfs, so I just modify the nfs to ram0. is this might be a problem? regards, -
Sep 3, 1:03 pm 2007
Bill Davidsen
Re: ramdisk
Hopefully someone who works with this regularly can provide some answers, the only time I used booting into a RAM-only system the tools which I had "just worked" and I followed the steps outlined without fully understanding the details. However, I just tried loop mounting a compressed filesystem and that didn't work, while decompressing into a ramdisk and mounting worked fine. That's why I asked if your tool was just copying to RAM without decompression, since I have no ides what tool you use....
Sep 3, 7:21 pm 2007
Renuka Pampana
query regarding usb-hotplug
hi all, iam having one doubt about the usb driver application. i written one small application (u can see this file usbthread.c in attachment , cc -o usbthread usbthread.c -lpthread -lusb (for compilation) ) on usb device drivers using LIBUSB-0.1.12 in user space. my project leader has given one task about the usb device drivers in user space. so using lib usb library and written application in user space. we are getting out put as device properties in userspace. but we are using polling mechan...
Sep 3, 7:57 am 2007
KAMEZAWA Hiroyuki
[PATCH][-mm] Fix setup_per_zone_pages_min() lock.
Fix setup_per_zone_pages_min(). Now setup_per_zone_pages_min() uses zone->lru_lock. This has 2 problems. 1. setup_page_zone_pages_min() modifies zone->pages_min,pages_low,pages_high. in atomic. But readers of these values tend not to take lru_lock. (At least, we need lock between memory hotplug vs. sysctl) 2. setup_zone_migrate_reserve() should take zone->lock instead of lru_lock. This patch replaces zone->lru_lock with zone->lock. Signed-off-by: KAMEZAWA Hiroyuki <kam...
Sep 3, 6:46 am 2007
Adrian Bunk
2.6.23-rc5 regression: uml on x86_64 compile error
Commit d1254b12c93e1e586137a2ffef71fd33cf273f35 causes the following compile error (found at [1]): <-- snip --> ... CC fs/binfmt_elf.o In file included from fs/binfmt_elf.c:30: include/linux/elfcore.h: In function ‘elf_core_copy_regs’: include/linux/elfcore.h:103: error: ‘union uml_pt_regs’ has no member named ‘gp’ include/linux/elfcore.h:103: error: ‘union uml_pt_regs’ has no member named ‘gp’ include/linux/elfcore.h:103: error: ‘union uml_pt_regs’ has no ...
Sep 3, 6:46 am 2007
Jan Dittmer
Re: 2.6.23-rc5 regression: uml on x86_64 compile error
That may actually be a toolchain/build system problem. It's a i486 chroot in which the compile happens. Host is x86_64 though as reported by uname. And I use gcc 4.0 as HOSTCC, while CC is gcc 4.1.2. # gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suff...
Sep 3, 8:36 am 2007
Howard Chu
2.6.22.6 pata_via cable detect
Still have a slight glitch here. I have 2 hard drives on the primary channel, detected correctly as 80-wire and UDMA100. I have a DVD burner on the secondary channel, detected incorrectly as 40-wire. (It's sitting by itself on an 80-wire cable.) This is on an Asus A8V-Deluxe. Here's the dmesg output after a "modprobe pata_via" pata_via 0000:00:0f.1: version 0.3.1 ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20 scsi5 : pata_via scsi6 : pata_via ata6: PATA max UDMA/1...
Sep 3, 6:29 am 2007
Abhijit Bhopatkar
[PATCH] [ALSA] Added new pin config for first gen macbook.
commit 5d5d3bc3eddf2ad97b2cb090b92580e7fed6cee1 changed all pin configs for intel macs, but it breaks sound on Macbook first generation. Readded a known working pin config for first gen macbooks. Signed-off-by: Abhijit Bhopatkar <bainonline@gmail.com> --- sound/pci/hda/patch_sigmatel.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 3f25de7..a2b0422 100644 --- a/sound/pci/hda/patch_s...
Sep 3, 6:25 am 2007
Takashi Iwai
Re: [PATCH] [ALSA] Added new pin config for first gen macbook.
At Mon, 3 Sep 2007 15:55:18 +0530, Please elaborate how does it break. "it breaks sound" is too ambigious like the most popular bug reports "sound doesn't work" :) Takashi -
Sep 3, 6:36 am 2007
Ivan N. Zlatev
Re: [PATCH] [ALSA] Added new pin config for first gen macbook.
For the record I have just verified that according to Apple the pinconfigs for your codec match the ones in alsa and are as follows. I believe those were extracted from Boot Camp 1.2. I will check with version 1.4 in few hours. [0A] CfgDflt = 0x0321E21F Action = 01,0A,81,0C,81,0D,81,10,85,51,05,21 [0B] CfgDflt = 0x03A1E02E FF,04 [0C] CfgDflt = 0x9017E110 [0D] CfgDflt = 0x9017E11F [0E] CfgDflt = 0x400000FE Action = hex: 01,10,81,0A,81,0C,81,0D [0F] CfgDflt = 0x0381E020 Action = 09,0F ...
Sep 3, 7:07 am 2007
Ivan N. Zlatev
Re: [PATCH] [ALSA] Added new pin config for first gen macbook.
-- Ivan N. Zlatev Web: http://www.i-nZ.net "It's all some kind of whacked out conspiracy." -
Sep 3, 8:06 am 2007
John Sigler
System clock frequency offset changes drastically across reb...
[ Re-sending... Please feel free to comment, even if you don't have "The Solution". I'd just like to get some feedback. ] Hello everyone, I'm using 2.6.20.7-rt8 on a P3. I've noticed that the frequency offset of my system clock (computed either by ntpd, or by hand) changes drastically across reboots. By drastically, I mean +/- 60 ppm every time I reboot. Apparently this is caused by some imprecision in the frequency estimation done in calculate_cpu_khz() (arch/i386/kernel/tsc.c) My brut...
Sep 3, 6:21 am 2007
Michal Piotrowski
Re: [2/2] 2.6.23-rc5: known regressions with patches
Hi all, Here is a list of some known regressions in 2.6.23-rc5 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 9 Linus Torvalds 6 Andi Kleen 5 Hugh Dickins 5 Andrew Morton 4 Al Viro ...
Sep 3, 6:11 am 2007
Michal Piotrowski
[1/2] 2.6.23-rc5: known regressions with patches
Hi all, Here is a list of some known regressions in 2.6.23-rc5 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 9 Linus Torvalds 6 Andi Kleen 5 Hugh Dickins 5 Andrew Morton 4 Al Viro ...
Sep 3, 6:11 am 2007
Michal Piotrowski
Re: [4/4] 2.6.23-rc5: known regressions
Hi all, Here is a list of some known regressions in 2.6.23-rc5. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 9 Linus Torvalds 6 Andi Kleen 5 Hugh Dickins 5 Andrew Morton 4 Al Viro 3 Alan Stern ...
Sep 3, 6:11 am 2007
Michal Piotrowski
Re: [3/4] 2.6.23-rc5: known regressions
Hi all, Here is a list of some known regressions in 2.6.23-rc5. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 9 Linus Torvalds 6 Andi Kleen 5 Hugh Dickins 5 Andrew Morton 4 Al Viro 3 Alan Stern ...
Sep 3, 6:10 am 2007
Michal Piotrowski
Re: [2/4] 2.6.23-rc5: known regressions
Hi all, Here is a list of some known regressions in 2.6.23-rc5. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 9 Linus Torvalds 6 Andi Kleen 5 Hugh Dickins 5 Andrew Morton 4 Al Viro 3 Alan Stern ...
Sep 3, 6:10 am 2007
Jeff Chua
Re: [2/4] 2.6.23-rc5: known regressions
Michal, Can you please close this case. I'm using the workaround and satisfied with it. Thanks, Jeff. -
Sep 3, 8:36 am 2007
Andrew Morton
Re: [2/4] 2.6.23-rc5: known regressions
2.6.21 was OK, and 2.6.23-rc2 needed a manual workaround? That's a regression. -
Sep 3, 8:51 am 2007
H. Peter Anvin
Re: [2/4] 2.6.23-rc5: known regressions
Yes, it is. 2.6.21 was OK, but only within a narrow and ill-characterized set of conditions (framebuffer not compiled into the kernel, in particular.) It appears to me that the interaction between STR and video on this system is extremely fragile, to the point that any minor perturbations in the state can break it, and that that is the real underlying problem here. -hpa -
Sep 3, 9:08 am 2007
H. Peter Anvin
Re: [2/4] 2.6.23-rc5: known regressions
I'm inclined to write this one off as general STR weirdness. The problem is reproducible on 2.6.22 if CONFIG_FB is enabled (even if not *used*!), and there is a working workaround that is required on a lot of machines. This is suboptimal, of course, but it seems to require a pretty deep investigation into the intricacies of this particular platform. -hpa -
Sep 3, 6:48 am 2007
Andrew Morton
Re: [2/4] 2.6.23-rc5: known regressions
Both suspend-to-ram and suspend-to-disk are broken on this Vaio. Running 2.6.23-rc4. suspend-to-RAM: a) sometimes hangs during suspend b) frequently hangs during resume c) occasionally acts weird after resume. system requires repeated keypresses to make forward progress. d) on those occasions where resume-from-RAM _does_ work, it takes much longer to resume than it used to. suspend-to-disk: a) always hangs when netconsole-over-e100 is enabled (might have been a 2.6.21...
Sep 3, 8:46 am 2007
Andrew Morton
Re: [2/4] 2.6.23-rc5: known regressions
I meant: post-2.6.22 regressions. -
Sep 3, 8:57 am 2007
Michal Piotrowski
[1/4] 2.6.23-rc5: known regressions
Hi all, Here is a list of some known regressions in 2.6.23-rc5. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 9 Linus Torvalds 6 Andi Kleen 5 Hugh Dickins 5 Andrew Morton 4 Al Viro 3 Alan Stern ...
Sep 3, 6:09 am 2007
Jan Dittmer
Re: [1/4] 2.6.23-rc5: known regressions
Both are fixed as of -rc5 Jan -
Sep 3, 6:12 am 2007
Michal Piotrowski Sep 3, 6:14 am 2007
Adrian Bunk
Re: [1/4] 2.6.23-rc5: known regressions
alpha was commit aa137f9d29d30592774c727ec5cfcf9891e576fa cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -
Sep 3, 6:23 am 2007
Michal Piotrowski Sep 3, 6:36 am 2007
Shahbaz Khan
Relevant mailing list
Hi, I am searching for a linux kernel, network and system programming related mailing list for a newbie to intermediate level programmer. Kernel newbie seems to be not working. Anyone know of others? Shaz. -
Sep 3, 6:01 am 2007
Daniel Chojecki
Problems with Infortrend eonstor A08U-G2421 array
Hello, My conf is: Slackware 12.0 2.6.22.5 vanilla kernel with: Device Drivers -> Block Devices -> Large Block Device Filesystems -> Partition Types -> Advanced partition selection Filesystems -> Partition Types -> EFI GUID Partition support HP DL 320 G5 1GB and Infortrend EonStor A08U-G2421 array (3TB) root@neso:~# lspci 00:00.0 Host bridge: Intel Corporation E7230/3000/3010 Memory Controller Hub (rev c0) 00:01.0 PCI bridge: Intel Corporation E7230/3000/3010 PCI Express Ro...
Sep 3, 4:36 am 2007
Robert Richter
[patch 5/5] x86: Set PCI config space size to extended for A...
This patch sets the config space size for AMD Barcelona PCI devices to 4096. Signed-off-by: Robert Richter <robert.richter@amd.com> --- arch/i386/pci/fixup.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) Index: linux-2.6/arch/i386/pci/fixup.c =================================================================== --- linux-2.6.orig/arch/i386/pci/fixup.c +++ linux-2.6/arch/i386/pci/fixup.c @@ -8,6 +8,7 @@ #include <linux/init.h> #include "pci.h" +#define PCI_CFG_SPA...
Sep 3, 4:17 am 2007
previous daytodaynext day
September 2, 2007September 3, 2007September 4, 2007