linux-kernel mailing list

FromSubjectsort iconDate
Ferenc Wagner
Re: how to disable partition search?
Sounds like a good idea, will try that! This makes bugging lkml unnecessary, if not for changing the default... But that's more a distribution issue, I think. And now that we have udev and kpartx, Not in this case. I'm netbooting and getting / and co. from the SAN via multipath and LVM, not a single partition on the whole cluster... -- Thanks for the tip! Feri. --
Apr 6, 6:25 pm 2008
Hugh Dickins
[PATCH] scsi: fix sense_slab/bio swapping livelock
Since 2.6.25-rc7, I've been seeing an occasional livelock on one x86_64 machine, copying kernel trees to tmpfs, paging out to swap. Signature: 6000 pages under writeback but never getting written; most tasks of interest trying to reclaim, but each get_swap_bio waiting for a bio in mempool_alloc's io_schedule_timeout(5*HZ); every five seconds an atomic page allocation failure report from kblockd failing to allocate a sense_buffer in __scsi_get_command. __scsi_get_command has a (one item) free_list...
Apr 6, 6:56 pm 2008
James Bottomley
Re: [PATCH] scsi: fix sense_slab/bio swapping livelock
This was sort of accidentally fixed in scsi-misc by commit commit c5f73260b289cb974928eac05f2d84e58ddfc020 Author: James Bottomley <James.Bottomley@HansenPartnership.com> Date: Thu Mar 13 11:16:33 2008 -0500 [SCSI] consolidate command allocation in a single place Could you check that: master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git and see if it alleviates the problem? ... if so, we can work out which pieces to backport. Thanks, James --
Apr 6, 7:35 pm 2008
Mauro Carvalho Chehab
[GIT PATCHES] V4L/DVB new USB ID's for 2.6.25-rc8
Linus, Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git pci_id_updates For the following: - pvrusb2: add new usb pid for 73xx and 75xxx models Those boards are about to be released by their vendor (Hauppauge). The already committed changes for pvrusb2 were meant to address those new devices. However, the vendor changed the usb sub ID's at the last moment. Those two patches adds the newer ID's to allow kernel to properly detect the devices. ...
Apr 6, 6:19 pm 2008
Joe Perches
[PATCH] drivers/ata/sata_via.c - Eliminate "may be used unin...
Called by svia_init_one with a temporary, so there's no effective code change. Signed-off-by: Joe Perches <joe@perches.com> drivers/ata/sata_via.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index 0d03f44..e01d2b1 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c @@ -406,10 +406,9 @@ static int vt6420_prepare_host(struct pci_dev *pdev, struct ata_host **r_host) struct ata_host *host; int...
Apr 6, 5:45 pm 2008
Adrian Bunk
Re: [PATCH] drivers/ata/sata_via.c - Eliminate "may be used ...
I'm not getting any warning here. Are you using an older gcc? 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 --
Apr 6, 5:50 pm 2008
Joe Perches
Re: [PATCH] drivers/ata/sata_via.c - Eliminate "may be used ...
Yes. Slightly less than 4.3.0 $ gcc --version gcc (GCC) 4.2.2 20071128 (prerelease) (4.2.2-3.1mdv2008.0) $ git-show commit 6fdf5e67fe8d3c83500dad9acae985132c2459a3 Merge: abd24df... e64a3cf... Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Fri Apr 4 15:09:44 2008 -0700 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/ralf/upstream-linus * 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/ralf/upstream-linus: [MIPS...
Apr 6, 6:00 pm 2008
Robert Hancock
Re: Hooking to APIC timer on SMP 32-bit X86 system
It might be possible, but likely not easy and not recommended. Why is a kernel timer not sufficient for what you need? --
Apr 6, 4:46 pm 2008
Segher Boessenkool
[PATCH] make help: Show defconfig subdirs
PowerPC will start moving board defconfigs into subarch-specific subdirs soon. "make help" currently does not look in subdirs to find the defconfigs to show. This is partially a good thing, since there are way too many defconfigs for one list. This patch makes the main "make help" display something like help-40x - Show 40x-specific targets help-44x - Show 44x-specific targets help-boards - Show all of the above and wires up stuff so those new help-* commands actual...
Apr 6, 4:16 pm 2008
Stephen Clark
hp usb printer not usable after boot
Hello List, With kernels 2.6.24.4-64.fc8 2.6.24.3-50.fc8 I can't access my hp officejet k-60 unless I unplug the usb cable and plug it back it. I never use to have this problem. I can't print to it or access it with hp-tools. **** with kernel 2.6.24.3-50.fc8 error when trying to access printer with hp-tools Apr 6 15:19:32 joker python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted Apr 6 15:19:32 joker python: io/hpmud/musb.c 603: invalid product id string...
Apr 6, 4:23 pm 2008
Rafael J. Wysocki
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8
Can you try to run "echo mem > /sys/power/state" instead of s2ram and see if the symptoms are the same? Also, please try reverting commit 7c0ea45be4f114d85ee35caeead8e1660699c46f (reproduced below for conveninence) and see if that helps. Thanks, Rafael --- commit 7c0ea45be4f114d85ee35caeead8e1660699c46f Author: Zhao Yakui <yakui.zhao@intel.com> Date: Tue Mar 11 16:56:47 2008 +0800 ACPI: Ignore _BQC object when registering backlight device According to acpi spe...
Apr 6, 4:21 pm 2008
nikosapi
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8
Hello Rafael, I tested with that patch and the problem persists, when the laptop resumes it locks up (with a black screen). If I add acpi_apic_instance=2 acpi_osi=Linux as kernel boot options (as suggested by my dmesg) when it resumes I get back to a virtual term but I'm not able to log in. After entering my username it just hangs there. nick --
Apr 6, 6:10 pm 2008
Rafael J. Wysocki
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8
Can you please test if the 2.6.24.4 kernel works, then? Rafael --
Apr 6, 7:23 pm 2008
nikosapi
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8
What a coincidence, I upgraded to kernel-2.6.24.4-64.fc8 this afternoon. Suspend and hibernate work perfectly, even my wifi led works ;) Could it be an error I made while configuring the 2.6.25rc8 kernel? Or maybe some other software that needs to be upgraded? nick --
Apr 6, 7:30 pm 2008
Mauro Carvalho Chehab
[GIT PATCHES] V4L/DVB fixes for 2.6.25-rc8
Linus, Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master For the following: - bttv: Bt832 - fix possible NULL pointer deref - s5h1409: fix blown-away bit in function s5h1409_set_gpio - v4l/dvb Kconfig: Fix bugzilla #10067 Cheers, Mauro. --- drivers/media/Makefile | 3 +++ drivers/media/dvb/frontends/s5h1409.c | 2 +- drivers/media/video/bt8xx/bt832.c | 12 +++++++++++- 3 files changed, 15 insert...
Apr 6, 4:06 pm 2008
Avi Kivity
[ANNOUNCE] kvm-65 release
The big item (in more ways than one) for this release is the addition of s390 support. As it is not actually provided in the tarball, you will need to use git to fetch it. You will also need a mainframe. On x86, the most interesting change is the separation of timer and I/O completion handling into a separate thread (these used to be serviced by the same thread that executed vcpu 0). The change should result in improved responsiveness and better smp performance. Changes from kvm-64: - fi...
Apr 6, 3:45 pm 2008
YM Yen
Hooking to APIC timer on SMP 32-bit X86 system
hi, I am looking for a way to program the APIC timer in a kernel module so that the module depends only on the hardware timer instead of the timer provided by the kernel. Programming the LVT is easy, however I can't find a way to have the Linux kernel to call my interrupt service routine in addition to smp_apic_timer_interrupt(). Is doing this even possible? There doesn't seem to be any sort of hook or notifier chain I can install a ISR to. Thanks in advance. Regards, YM --
Apr 6, 3:48 pm 2008
Wim Van Sebroeck
[WATCHDOG] v2.6.25 watchdog fix
Hi Linus, Please pull from 'master' branch of git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git or if master.kernel.org hasn't synced up yet: master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git This will update the following files: drivers/watchdog/it8712f_wdt.c | 2 ++ 1 file changed, 2 insertions(+) with these Changes: Author: Andrew Paprocki <andrew@ishiboo.com> Date: Wed Apr 2 02:43:19 2008 -0400 [WATCHDOG] it8712f_wdt Ze...
Apr 6, 3:21 pm 2008
Jesse Barnes
[PATCH] fix IS_I9XX macro in i915 DRM driver
Now that we're mapping registers in the DRM driver at load time, the driver actually checks the PCI ID, so we need to make sure the macros have all the right bits (and longer term use the DRM headers as the sole copy of the PCI & register definitions). This patch adds 945GME support to the DRM headers, fixing a regression reported in http://bugzilla.kernel.org/show_bug.cgi?id=10395. Dave, please ack asap so this will be fixed in 2.6.25 proper. Thanks, Jesse Tested-by: Alexander Olt...
Apr 6, 2:55 pm 2008
Dave Airlie
Re: [PATCH] fix IS_I9XX macro in i915 DRM driver
Acked-by: Dave Airlie <airlied@linux.ie> Linus please get into 2.6.25 if possible. --
Apr 6, 7:51 pm 2008
Oliver Pinter
2.6.24.5 status
hi all! what is the status of the 2.6.24.5 kernel? the patches for 2.6.24.5 is yet 1 week in queue. -- Thanks, Oliver --
Apr 6, 2:24 pm 2008
Chris Wright
Re: [stable] 2.6.24.5 status
Nearing review stage. --
Apr 6, 3:37 pm 2008
Eduard - Gabriel Mun...
[PATCH] relay: add buffer-only functionality, for early kern...
relay_open() can now handle NULL base_filename, to register a buffer-only channel. Using a new function, relay_late_setup_files(), one can assign files after creating the channel, thus allowing for doing early tracing in the kernel, before VFS is up. This currently works for tracing just after kmem_init_cache() runs, no earlier. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> --- Documentation/filesystems/relay.txt | 11 ++++ include/linux/relay.h | ...
Apr 6, 1:34 pm 2008
Eduard - Gabriel Mun...
Re: [PATCH] relay: add buffer-only functionality, for early ...
This is _not_ a patched intended for merging! Mathieu, please take a look (maybe test) and see if I didn't mess up the CPU hotplug stuff. AFAICS, it shoudn't be affected, but better be sure. I have also attached some sample code using this functionality. It currently logs some text on every kmalloc() (SLUB-only), so one can easily check for data corruption. Make sure you enable CONFIG_SLUB and CONFIG_KMEMTRACE. Oh, and I've tried Tom Zanussi's other e-mail address and Comcast rejects my mai...
Apr 6, 1:48 pm 2008
Jack Harvard
How does Linux measure CPU frequency?
Hi, I want to find out how Linux calibrates the frequency of CPUs, and want to compare with the way how lmbench measures processor frequency. I had a thorough google search of this topic but didn't get too much useful results. Thanks a lot, Jack --
Apr 6, 12:30 pm 2008
dean gaudet
Re: How does Linux measure CPU frequency?
linux knows what style of cpu it is running on and uses non-portable techniques to read the time-stamp counter. lmbench uses some really nice tricks to estimate the cpu frequency in a portable manner... all it requires is that at least two of the N code sequences it times take a co-prime number of cycles. -dean --
Apr 6, 12:37 pm 2008
Mattia Dongili
[asix] add Buffalo LUA-U2-GT 10/100/1000
The USB net adapter Buffalo LUA-U2-GT (0411:006e) carries a AX88178 chip. Tested on the above HW. Signed-off-by: Mattia Dongili <malattia@linux.it> --- diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c index 6f245cf..dc6f097 100644 --- a/drivers/net/usb/asix.c +++ b/drivers/net/usb/asix.c @@ -1381,6 +1381,10 @@ static const struct usb_device_id products [] = { USB_DEVICE (0x0411, 0x003d), .driver_info = (unsigned long) &ax8817x_info, }, { + // Buffalo LUA-U2-GT 10/10...
Apr 6, 10:05 am 2008
David Hollis Apr 6, 1:57 pm 2008
Thomas Hellström
[RFC] Use kernel_map_pages() to avoid illegal page aliasing.
Hi! For a long time now, the agpgart module has been creating illegal mapping aliases, since the user-space mappings of the pages in the gart are usually write-combined, whereas the kernel linear mapping of the same pages are uc for x86, and may even be wb for some architectures. In order to fix this, and to facilitate fast insertion and removal of pages into / from the gart I'd like to disable all default kernel mappings for those pages, which would in effect, make them behave as highmem ...
Apr 6, 10:12 am 2008
Jeremy Fitzhardinge
Re: [RFC] Use kernel_map_pages() to avoid illegal page alias...
Well, not all architectures use 4k as their base page size, but kernel_map_pages should work at the smallest supported page size. The disadvantage of this is that it will end up shattering any large-page mappings the kernel has. This is pretty much unavoidable unless you can arrange to only allocate AGP pages in a physically distinct area away from other kernel allocations (a mechanism to do this might be generally useful, though I'm not sure what form it would take - another zone perhaps?...
Apr 6, 3:01 pm 2008
Thomas Hellström
Re: [RFC] Use kernel_map_pages() to avoid illegal page alias...
Thanks for the info. Yes, we've had to live with the splitting of large pages for some time. In the future we'll probably set up a pool of video pages into which we might perhaps try to allocate highmem pages or try allocations with large page sizes. In the end perhaps another zone will be needed. /Thomas --
Apr 6, 3:13 pm 2008
Alexander van Heukelum
[PATCH] x86: remove superfluous initialisation in boot code.
x86: remove superfluous initialisation in boot code. In arch/x86/boot/compressed/misc.c, the variable vidmem is the only variable that ends up in de data segment. It's also superfluous, because the first thing the code does is: if (RM_SCREEN_INFO.orig_video_mode == 7) { vidmem = (char *) 0xb0000; vidport = 0x3b4; } else { vidmem = (char *) 0xb8000; vidport = 0x3d4; } This patch removes the initialisation. --- Tested on qemu (i386 and x86_64). The boot messages still appear...
Apr 6, 8:47 am 2008
ONLINE PROMOTION
WINNER
You won the sum of £1,000,000.00 from our yearly PROGRAME, you are here by advice to get back to us, to claim your prize. Contact Dr. Pinkett Griffin Email:drpinket_grifin@yahoo.co.uk Claims Requirements: 1.Full Names: 2.Home Address: 3.Sex: 4.Phone Number: 5.Nationality Mrs. Rose Wood Promotions Manager. --
Apr 6, 8:00 am 2008
Xavier Bestel
power off USB port
Hi, I'd like to power off some usb ports (to make ejected usb flash drives power off their little "don't remove me yet" led), but I can't find how to do it with a 2.6.24 kernel: - eject /dev/sd? doesn't work anymore - /sys/bus/usb/devices/*/power/state doesn't exist anymore - hub-ctrl-2.c [1] fails with a "Broken pipe" error Does anyone know how to achieve that ? Thanks, Xav [1]: http://www.gniibe.org/log/linux --
Apr 6, 6:20 am 2008
Anders Eriksson
Random lockups, rc8
I'm experiencing random hard lockups (no sysrq, no keyboard leds). * On -rc2 (_may_ have been rc1) and onwards ctrl-alt-Fn (X11 --> con) made occatinally made the machine hang. It normally took a couple of day's uptime (lightly loaded, fetchmail) to trigger it. * On -rc7, It can also freeze up by itself while being unattended. * On -rc8, the unattended freeze seems to happen more frequently, and it once triggered the system beep in a loop (as when pressing and holding a key). Syslog g...
Apr 6, 5:54 am 2008
David Brownell Apr 6, 3:29 am 2008
H. Peter Anvin
Re: (regression) kernel/timeconst.h bugs with HZ=128
I have a cleaner patchset prepared than the one that got bikeshed painted out of existence, but I want to wait until post-2.6.25 for it. The nice thing is that it deletes a lot more code than it adds: include/asm-alpha/types.h | 36 -------------- include/asm-arm/types.h | 33 ------------- include/asm-avr32/types.h | 32 ------------- include/asm-blackfin/types.h | 34 ------------- include/asm-cris/types.h | 33 ------------- include/asm-frv/types.h...
Apr 6, 1:58 pm 2008
Yinghai Lu
Re: + acpi-fix-bug-10124.patch added to -mm tree
Ingo, A: - in x86.git/latest commit 3dab95bd91b6061a887b8a199261c1d92074da85 Author: Yinghai Lu <yhlu.kernel@gmail.com> Date: Tue Mar 4 11:34:23 2008 -0800 ACPI: Unneccessary to scan the PCI bus already scanned. http://bugzilla.kernel.org/show_bug.cgi?id=10124 is the one Yakui mentioned, but it is after B: - in x86.git/latest commit e5491e8eb56d2e4bb0e4a6795bf0662c6703d5ac Author: Yinghai Lu <Yinghai.Lu@Sun.COM> Date: Tue Feb 19 03:20:09 2008 -0800 x86: ...
Apr 6, 3:26 am 2008
Yinghai Lu
Re: + acpi-fix-bug-10124.patch added to -mm tree
Andrew, please use following for changelog ------------------- ACPI: Unneccessary to scan the PCI bus already scanned. http://bugzilla.kernel.org/show_bug.cgi?id=10124 this change: commit 08f1c192c3c32797068bfe97738babb3295bbf42 Author: Muli Ben-Yehuda <muli@il.ibm.com> Date: Sun Jul 22 00:23:39 2007 +0300 x86-64: introduce struct pci_sysdata to facilitate sharing of ->sysdata This patch introduces struct pci_sysdata to x86...
Apr 6, 4:26 am 2008
Rusty Russell
[PATCH] Fix booting pentium+ with dodgy TSC
Linus please apply. Almost by definition this patch can't make things worse. We handle a broken tsc these days, so no need to panic. We clear the TSC bit when tsc_init decides it's unreliable (eg. under lguest w/ bad host TSC), leading to bogus panic. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> diff -r 5e0a39f4d07b arch/x86/kernel/cpu/bugs.c --- a/arch/x86/kernel/cpu/bugs.c Sun Apr 06 13:40:39 2008 +1000 +++ b/arch/x86/kernel/cpu/bugs.c Sun Apr 06 17:14:12 2008 +1000 @@ -143,1...
Apr 6, 3:23 am 2008
Ingo Molnar
Re: [PATCH] Fix booting pentium+ with dodgy TSC
well, while i agree with the patch it could make things worse. In this case it can cause code that has been compiled to rely on TSC to malfunction. For if sched_clock() was using cpu_has_tsc it could return 0 all the time, breaking the scheduler without the user having a clear idea why it broke. It isnt, and sched_clock() will work fine, but still, your "this cant make things worse" statement is not completely correct. In any case: Acked-by: Ingo Molnar <mingo@elte.hu> and i'v...
Apr 6, 7:22 am 2008
Rusty Russell
Re: [PATCH] Fix booting pentium+ with dodgy TSC
Hence the "almost". It can't break machines, but it could make the problem harder to diagnose. Given that it will unbreak at least one machine, I'm Thanks! Rusty. --
Apr 6, 4:29 pm 2008
Jan Engelhardt
[patch] checkpatch: relax spacing and line length
=== total: 0 errors, 0 warnings, 36 lines checked d27a9f5.diff has no obvious style problems and is ready for submission. === commit d27a9f5760fa231ab888f96e27355a001c88b239 Author: Jan Engelhardt <jengelh@computergmbh.de> Date: Sun Apr 6 06:49:01 2008 +0200 checkpatch: relax spacing and line length We all had the arguments about 80 columns, so here goes a relax. Checking for 95 (or perhaps something better?), but of course we print "80" in the output, because if ...
Apr 6, 12:54 am 2008
Adrian Bunk
Re: [patch] checkpatch: relax spacing and line length
No, it's really time to teach people that checkpatch is *not* a tool for janitors. It's a tool for patch submitters and maintainers that automates a part of patch review. When a patch has a few checkpatch warnings and the submitter can justify them (since the code would otherwise look bad) *that is OK*. But if your driver has over 2000 lines over 80 columns or many lines over 95 columns it is not "really time to break it" - it is time to In the kernel all tabs are 8 spaces wide. Wh...
Apr 6, 6:08 am 2008
Sam Ravnborg
Re: [patch] checkpatch: relax spacing and line length
And for other kernel developers tabs are for indention, spaces for alignment. Forget it - the world will not unify about this. Sam --
Apr 6, 7:08 am 2008
Andrew Morton
Re: [patch] checkpatch: relax spacing and line length
This will reduce the usefulness of checkpatch for those developers who Non-tab-using code inevitably ends up having a mix of tabs and non-tabs and looks a mess if tabstops are set to anything other than eight. God I wish I had not been cc'ed on this. --
Apr 6, 1:18 am 2008
Benny Halevy
Re: [patch] checkpatch: relax spacing and line length
I humbly disagree. If you use tabs for (logical) indentation and then trailing spaces for (graphical) alignment, not just a random mix of tabs and spaces the code looks fine with 8-character wide tabs or any other setup. Only when you use tabs for graphical alignment, below fixed-width characters on the line above you marry yourself with a specific tab expansion width. The idea is *not* to open the flood gates, just to allow for a bit more --
Apr 6, 7:52 am 2008
Joe Perches
Re: [patch] checkpatch: relax spacing and line length
Isn't this an editor/tools issue more than a checkpatch one? I think you should first try to get the most frequently used code editors and pretty printers (vim/emacs/eclipse/indent, etc) to support the tabs to level, spaces to align style. g'luck with that. --
Apr 6, 2:52 pm 2008
Matti Linnanvuori
[patch] [Bug 10397] DMA-mapping.txt code examples have undec...
From: Matti Linnanvuori <mattilinnanvuori@yahoo.com> Fix undeclared variables. Signed-off-by: Matti Linnanvuori <mattilinnanvuori@yahoo.com> --- --- linux-2.6/Documentation/DMA-mapping.txt 2008-03-23 09:01:06.304511500 +0200 +++ linux/Documentation/DMA-mapping.txt 2008-04-06 06:56:11.821314500 +0300 @@ -315,9 +315,9 @@ dma_addr_t dma_handle; - cpu_addr = pci_alloc_consistent(dev, size, &dma_handle); + cpu_addr = pci_alloc_consistent(pdev, size, &dma_handle); ...
Apr 6, 12:34 am 2008
Grant Grundler
Re: [patch] [Bug 10397] DMA-mapping.txt code examples have u...
Sorry? This changelog entry doesn't make sense to me since this patch is for documentation and not a compiler error. If you prefer them declared as C code, please try it this way: + struct pci_dev dev*; + size_t size; dma_addr_t dma_handle; cpu_addr = pci_alloc_consistent(dev, size, &dma_handle); and delete the verbage (plain text) that defines the parameters. If you are confusing "dev" with "struct device *" and want to change all the references to "pdev", please do the above *an...
Apr 6, 2:51 am 2008
previous daytodaynext day
April 5, 2008April 6, 2008April 7, 2008