linux-kernel mailing list

FromSubjectsort iconDate
David Woodhouse
[PATCH] Allow auto-destruction of loop devices.
This allows a flag to be set on loop devices so that when they are closed for the last time, they'll self-destruct. Signed-off-by: David Woodhouse <dwmw2@infradead.org> diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 56e2304..7fae828 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -973,6 +973,10 @@ loop_set_status(struct loop_device *lo, const struct loop_info64 *info) lo->transfer = xfer->transfer; lo->ioctl = xfer->ioctl; + if ( (lo-&gt...
Oct 28, 7:08 pm 2007
Rafael J. Wysocki
Re: 2.6.24-rc1-git4: Reported regressions from 2.6.23
Well, my intention is to list the most recent regressions in these messages. Your regression is in the bugzilla, is marked as a regression and linked to the appropriate meta bug entry ... Well, perhaps I'll be able to send a "post 2.6.22 regressions" message with a longer list from time to time, but I can't promise that. Greetings, Rafael -
Oct 28, 7:19 pm 2007
Rafael J. Wysocki
2.6.24-rc1-git4: Reported regressions from 2.6.23
This message contains a list of some regressions from 2.6.23 which have been reported since 2.6.24-rc1 was released and for which there are no fixes in the mainline that I know of.  If any of them have been fixed already, please let me know. If you know of any other unresolved regressions from 2.6.23, please let me know either and I'll add them to the list. Subject : Settings to /proc/sys/net/ipv[46]/conf/all are not propagated. via sysctl too Submitter : Serge van den Boom <svdb+linux-ker...
Oct 28, 6:51 pm 2007
Alan Cox
Re: 2.6.24-rc1-git4: Reported regressions from 2.6.23
2.6.23 did not have pata_acpi. Its also not clear this is a bug in pata_acpi as opposed to pata_ali which knows about the ALi quirks. The ACPI and ATA specs sort of disagree here so I'll be trying to fix it anyway. -
Oct 28, 6:53 pm 2007
Rafael J. Wysocki
Re: 2.6.24-rc1-git4: Reported regressions from 2.6.23
OK, but please let me keep that on the list. It may cause some people to experience problems that were not present before functionality-wise. -
Oct 28, 7:24 pm 2007
Kyle McMartin
[PATCH] Only show RESOURCES_64BIT on relevant architectures
To quote lolcats: CONFIG_RESOURCES_64BIT DO NOT WANT! I *think* I have the logic of this right... Anyway, I was annoyed by having to do the bloody ugly casts to unsigned long long in arch-specific code. As near as I can tell, we only want this selectable in the case of PAE on x86, and some random PPC and MIPS embedded boards. For everyone else, it should be whatever the value of 64BIT is. And I can be happy and continue using unsigned long and going about my merry business. Signed-off-by: Ky...
Oct 28, 4:15 pm 2007
Sergey S. Kostyliov
2.6.24-rc1 kills onboard r8169 (rtl8111b) NIC
Hello, After booting 2.6.24-rc1 on my home machine I lost onboard rtl8111b network card. It is neither functional nor even visible by lspci anymore. Moreover rebooting to previous 2.6.23-rc9 didn't fix it - card was still not available. This is ASRock ALiveXFire-eSATA2 motherboard. I know about at least one identical incident (person is in cc:) with the same motherboard. .config, dmesg, output of dmidecode and lspci -v (after the incident) are attached.
Oct 28, 3:55 pm 2007
Francois Romieu
Re: 2.6.24-rc1 kills onboard r8169 (rtl8111b) NIC
Sergey S. Kostyliov <rathamahata@gmail.com> : It should reappear after some time at rest. Until I come with something better, you should use 2.6.24-rc with the r8169 driver from 2.6.23. -- Ueimor -
Oct 28, 5:16 pm 2007
Markus Elfring
No module symbols loaded - kernel modules not enabled.
Hello, I get the following output from the command "head -n 7 /var/log/boot.msg". Inspecting /boot/System.map-2.6.23.1-default Loaded 27483 symbols from /boot/System.map-2.6.23.1-default. Symbols match kernel version 2.6.23. No module symbols loaded - kernel modules not enabled. klogd 1.4.1, log source = ksyslog started. <5>Linux version 2.6.23.1-default (root@Sonne) (gcc version 4.2.1 (SUSE Linux)) #1 SMP PREEMPT Sun Oct 28 15:34:56 CET 2007 A lot of discussions can be found around...
Oct 28, 3:50 pm 2007
Jan Engelhardt
Re: No module symbols loaded - kernel modules not enabled.
This message is added by klogd, and it is independent of CONFIG_KALLSYMS. (Since I do have KALLSYMS=y while also getting that message. I suppose it is because CONFIG_DEBUG_INFO=n) -
Oct 28, 4:49 pm 2007
Markus Elfring
Re: No module symbols loaded - kernel modules not enabled.
I could not find the message text in my kernel source directory so far. I had also no luck with a cross reference like "http://lxr.linux.no/search". Which source code is responsible for the notice? Regards, Markus -
Oct 28, 5:35 pm 2007
Jan Engelhardt
Re: No module symbols loaded - kernel modules not enabled.
Like I said, klogd. This seems to be outside the scope of LKML. -
Oct 28, 6:13 pm 2007
Robert Hancock
Re: Major SATA / EXT3 Issue?
You should try and get some output from dmesg and not from the messages log, as the log daemon seems to have a nasty habit of discarding critical output from these errors. In this case the failing command is There should be more than this at the very least.. As above, please try I don't think that is the case, more like the drives have not been detected at all. If this happens after a reboot when they were working -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" ...
Oct 28, 2:37 pm 2007
linux
Re: Is gcc thread-unsafe?
Just a note on the attribute((acquire,release)) proposal: It's nice to be able to annotate functions, but please don't forget to provide a way to write such functions. Ultimately, there will be an asm() or assignment that is the acquire or release point, and GCC needs to know that so it can compile the function itself (possibly inline). Having just a function attribute leaves the problem that void __attribute__((noreturn)) _exit(int status) { asm("int 0x80" : : (__NR_exit) "a", (status) "b"...
Oct 28, 2:19 pm 2007
Toralf
build #286 failed for 2.6.24-rc1-gea45d15 in linux/arch/x86/...
--Boundary-01=_B4MJHyivssF2gWS Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, the build with the attached .config failed, make ends with: =2E.. CC arch/x86/kernel/ioport_32.o CC arch/x86/kernel/ldt_32.o CC arch/x86/kernel/setup_32.o arch/x86/kernel/setup_32.c: In function 'setup_arch': arch/x86/kernel/setup_32.c:584: error: 'PARAM' undeclared (first use in thi= s function) arch/x86/kernel...
Oct 28, 1:59 pm 2007
H. Peter Anvin Oct 28, 2:34 pm 2007
Giacomo Catenazzi
kernel drivers database (hardware, config, file) and "autoco...
Hello, I've build a python script (consisting on short 4 modules) to build a hardware database fomr kernel sources, with includes: type of hardware, hardware information, kernel CONFIG and the kernel file where such hardware was described. Actually I can detect nearly 6000 probes (and easily expandable). The script is writen in pyhon: $ wc -l *.py 148 build-drivers-db.py 819 devicetables.py 134 kbuildparser.py 281 srcparser.py 1382 total build-drivers-db.py : the main procedure...
Oct 28, 1:42 pm 2007
Bradley Smith
[PATCH 2/2] I8K: Adds i8k driver to the x86_64 Kconfig
From: Bradley Smith <bradjsmith@btinternet.com> Adds i8k driver to the x86_64 Kconfig. Signed-off-by: Bradley Smith <bradjsmith@btinternet.com> --- Only applies on kernels >= 2.6.24. Depends on "[PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 systems" --- linux-2.6/arch/x86/Kconfig.x86_64.orig 2007-10-28 14:04:13.000000000 +0000 +++ linux-2.6/arch/x86/Kconfig.x86_64 2007-10-28 13:59:06.000000000 +0000 @@ -224,6 +224,26 @@ config X86_GOOD_APIC bool default y ...
Oct 28, 1:26 pm 2007
Frans Pop
Re: [PATCH 2/2] I8K: Adds i8k driver to the x86_64 Kconfig
Shouldn't that be config DELL_I8K, or even DELL_INSPIRON_8K? Cheers, Frans Pop -
Oct 28, 1:46 pm 2007
Bradley Smith
Re: [PATCH 2/2] I8K: Adds i8k driver to the x86_64 Kconfig
On Sun, 28 Oct 2007 18:46:40 +0100 I was going by linux-2.6/arch/x86/Kconfig.i386, which has "config I8K" but maybe it should be changed... Brad. -
Oct 28, 1:55 pm 2007
Bradley Smith
[PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 syst...
From: Bradley Smith <bradjsmith@btinternet.com> Adds #if clause and additional inline assembly so that the driver builds on x86_64 systems. Signed-off-by: Bradley Smith <bradjsmith@btinternet.com> --- --- linux-2.6/drivers/char/i8k.c.orig 2007-10-28 12:27:34.000000000 +0000 +++ linux-2.6/drivers/char/i8k.c 2007-10-28 14:27:56.000000000 +0000 @@ -113,6 +113,33 @@ static int i8k_smm(struct smm_regs *regs int rc; int eax = regs->eax; +#if defined(__x86_64__) + asm("push...
Oct 28, 1:25 pm 2007
Jeff Garzik
Re: [PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 ...
Is this actually known to be working on a Dell laptop? Jeff -
Oct 28, 1:59 pm 2007
Bradley Smith
Re: [PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 ...
On Sun, 28 Oct 2007 13:59:22 -0400 Yes, I have a dell laptop, and it works. (I have been using it for quite a while). Brad. -
Oct 28, 2:03 pm 2007
Adrian Bunk
Re: [PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 ...
Please use CONFIG_X86_64. 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 -
Oct 28, 1:37 pm 2007
Bradley Smith
Re: [PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 ...
On Sun, 28 Oct 2007 18:37:24 +0100 Now uses CONFIG_X86_64. Brad. --- linux-2.6/drivers/char/i8k.c.orig 2007-10-28 12:27:34.000000000 +0000 +++ linux-2.6/drivers/char/i8k.c 2007-10-28 14:27:56.000000000 +0000 @@ -113,6 +113,33 @@ static int i8k_smm(struct smm_regs *regs int rc; int eax = regs->eax; +#if defined(CONFIG_X86_64) + asm("pushq %%rax\n\t" + "movl 0(%%rax),%%edx\n\t" + "pushq %%rdx\n\t" + "movl 4(%%rax),%%ebx\n\t" + "movl 8(%%rax),%%ecx\n\t" + "movl 12(%%rax),%%ed...
Oct 28, 7:19 pm 2007
Barak Fargoun
[PATCH] Align PCI memory regions to page size (4K) - Fix
Sorry, my mail client corrupted the previous mail containing the patch... it should be ok now... Add a boot parameter (‘pci-mem-align’) which forces PCI memory regions to be aligned to 4K. This is very useful when developing an hypervisor, since in case we want to let native domains direct access to specific hardware, we don’t want PCI devices to share their memory region page with other devices. In Xen for example, PCI devices mmio resources are mapped by remapping complete pages (by Intel VT-...
Oct 28, 1:27 pm 2007
Arjan van de Ven
Re: [PATCH] Align PCI memory regions to page size (4K) - Fix
On Sun, 28 Oct 2007 13:27:27 -0400 I appreciate that Xen is about 2 years behind the curve and only uses 2.6.18, but what do you expect us on this list to do with this patch? 2.6.18 is no longer maintained: it doesn't get -stable updates anymore. (And if it did, I doubt this kind of change would be suitable for a -stable release anyway)... so the first step really is to make a patch against 2.6.24-rc or a later git version.... because then and only then is your patch something that anyone else...
Oct 28, 3:48 pm 2007
Greg KH
Re: [PATCH] Align PCI memory regions to page size (4K) - Fix
Please follow the proper coding style rules as documented in Documentation/CodingStyle. Also running the script scrips/checkpatch.pl All command line paramaters need to be documented in the Documentation Now for the main reason. I really don't understand why this is needed. Is it only for virtual machines? Are there drivers in the kernel tree today that need this functionality? What breaks if you do not align these resources? thanks, greg k-h -
Oct 28, 3:31 pm 2007
Barak Fargoun
RE: [PATCH] Align PCI memory regions to page size (4K) - Fix
Hi! Regarding all the technical stuff (documentation, coding style, etc.) - I thought I did it correctly :( I will fix it ASAP, and send an update when I will finish it. About your question: today, some of the hypervisors are using linux kernel as their domain-0 (e.g. Xen). In order to implement direct hardware access for these native domains (e.g. running windows in a virtual machine above Xen), the PCI memory regions should be aligned at-least at the page-level (so, a virtual machine - can't...
Oct 28, 3:53 pm 2007
Greg KH
Re: [PATCH] Align PCI memory regions to page size (4K) - Fix
But doesn't aligning such regions on that alignment break some devices as that is not what the device is asking for in the BIOS? And if not, why would we not do this for all devices not just for virtual machines, if it is such a benefit? Also, how does this play with the hardware IOMMU chips that provide such virtualization in hardware for you? And, we can't accept a patch for 2.6.18, there is no development tree to apply it to anymore, that is a dead kernel tree. It needs to be against 2.6...
Oct 28, 4:03 pm 2007
Barak Fargoun
RE: [PATCH] Align PCI memory regions to page size (4K) - Fix
No, it shouldn't break. If for example, a device request an alignment of order 7, it will be provided if you will supply an alignment of larger order (say 10 bits). An alignment of order that is bigger than 12 bits Since if a device asks for just 1K, the rest of the page (in mmio space) will be empty if you'll page align it. The other resource will be in another page and it consumes a separate page. It'll just consume Actually we are not using an IOMMU, we use a 1:1 mapping that was developed b...
Oct 28, 4:44 pm 2007
Randy Dunlap
Re: [PATCH] Align PCI memory regions to page size (4K)
Hi, This patch is oddly double-spaced and space-stuffed (spaces instead of tabs). Likely a mail client doing this. It's usually a good idea to send patches to yourself to make sure that they will --- ~Randy -
Oct 28, 1:17 pm 2007
Greg KH
Re: [PATCH] Align PCI memory regions to page size (4K)
Your patch is majorly corrupted by your email client. Can you please fix this and try again? thanks, greg k-h -
Oct 28, 12:51 pm 2007
Samuel Tardieu
Re: [PATCH] backlight dimmer
>>>>> "Jacopo" == jack <jack@antonello.org> writes: Jacopo> this patch implements a macbook like backlight dimmer on top Jacopo> of backlight.c. Jacopo, if you want your patch to be reviewed, you should first put it in an acceptable form. You can start by running it through scripts/checkpatch.pl. Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/ -
Oct 28, 12:15 pm 2007
lists@antonello.org
Re: [PATCH] backlight dimmer
Ok, now checkpatch.pl only complains about a missing signed-off-by. Is this ok for review? jacopo --- linux-2.6.23.1/include/linux/backlight.h 2007-10-12 18:43:44.000000000 +0200 +++ b/include/linux/backlight.h 2007-10-28 21:14:21.000000000 +0100 @@ -11,6 +11,7 @@ #include <linux/device.h> #include <linux/mutex.h> #include <linux/notifier.h> +#include <linux/timeout.h> /* Notes on locking: * @@ -70,6 +71,12 @@ struct backlight_device { /* The framebuf...
Oct 28, 5:30 pm 2007
Arjan van de Ven
Re: [PATCH] backlight dimmer
On Sun, 28 Oct 2007 22:30:55 +0100 hi, when going over your patch.. is there a reason you introduce yet another timeout infrastructure? Is there something wrong with the existing ones that maybe should be fixed instead? Either way.. please put justification for such new mechanism in the patch changelog.... Greetings, Arjan van de Ven -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit [ message continues ]
" title="http://www.lessw...">http://www.lessw...
Oct 28, 5:34 pm 2007
jack
Re: [PATCH] backlight dimmer
hi, i don't think there are similar infrastructures. This timeout is not quite a timer. The timeout starts counting when timeout_touch() is first called. At this point the start() function is executed in non-atomic context. Then either it is reset if timeout_touch() is called in time (and thus starts to count again). Else it triggers, and executes the trigger() function in non-atomic context and it stays idle unless timeout_touch() is called again. The non-atomic context is needed to use ba...
Oct 28, 6:09 pm 2007
Markus Elfring
Check dependencies for modules "dm-snapshot" and "sd_mod" in...
Hello, I get the following output from the command "make install" after the source files were successfully compiled for my personal configuration. if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map 2.6.23.1-default; fi sh /usr/src/linux-2.6.23.1/arch/i386/boot/install.sh 2.6.23.1-default arch/x86_64/boot/bzImage System.map "/boot" Kernel image: /boot/vmlinuz-2.6.23.1-default Initrd image: /boot/initrd-2.6.23.1-default Root device: /dev/system/root (mounted on ...
Oct 28, 11:52 am 2007
Jan Engelhardt
Re: Check dependencies for modules "dm-snapshot" and "sd_mod...
Perhaps your personal configuration is missing the modules SUSE 10.3 requires. I'd use one of their rpms anyway. -
Oct 28, 12:02 pm 2007
Markus Elfring
Re: Check dependencies for modules "dm-snapshot" and "sd_mod...
I have assumed that my Linux distribution is clean enough to try out a current kernel. Would you like to recommend anything to get rid from these warnings about unresolved dependencies? Regards, Markus -
Oct 28, 1:05 pm 2007
Jan Engelhardt
Re: Check dependencies for modules "dm-snapshot" and "sd_mod...
If you really have to roll your own kernel (often this is not the case-YMMV), I suggest you enable dm-snapshot and sd_mod. -
Oct 28, 1:15 pm 2007
Markus Elfring
Re: Check dependencies for modules "dm-snapshot" and "sd_mod...
I intentionally omitted the configuration option "DM_SNAPSHOT" because it is marked as "EXPERIMENTAL". Snapshot target: "Allow volume managers to take writable snapshots of a device." I intentionally checked the option "BLK_DEV_SD". I do not want to build it as a module. SCSI disk support: "If you want to use SCSI hard disks, Fibre Channel disks, Serial ATA (SATA) or Parallel ATA (PATA) hard disks, USB storage or the SCSI or parallel port version of the IOMEGA ZIP drive, say Y and read the SCSI...
Oct 28, 2:51 pm 2007
Adrian Bunk
[RFC: 2.6 patch] remove the USB_STORAGE_ONETOUCH driver
Nearly two years ago, USB_STORAGE_ONETOUCH got a dependency on !PM. Considering that this also implies that the driver is not available e.g. when ACPI is enabled in the kernel that's not far from a dependency on BROKEN. This patch therefore removes this driver. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- drivers/usb/storage/Kconfig | 12 - drivers/usb/storage/Makefile | 1 drivers/usb/storage/onetouch.c | 237 ----------------------------- drivers/usb/s...
Oct 28, 11:52 am 2007
Torsten Kaiser
Re: [RFC: 2.6 patch] remove the USB_STORAGE_ONETOUCH driver
Hmm... http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c9d00f... -> Adds !PM because suspend was broken (17.11.2005) http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7931e1... -> Adds suspend support, but fails to remove the !PM (5.12.2005) So it looks like that !PM is false. I have the following device: Bus 001 Device 005: ID 1058:0400 Western Digital Technolog...
Oct 28, 1:48 pm 2007
Jiri Kosina
Re: [RFC: 2.6 patch] remove the USB_STORAGE_ONETOUCH driver
If you need to unbind usbhid driver from the device and bind another one, you can use the 'unbind' and 'bind' files in sysfs. As soon as the driver you are willing to test is bound to the device, you can go ahead with testing any functionality you wish (probably suspend/resume cycle is needed here?). If the device is claimed by usbhid driver (because its descriptor probably states that it's HID-compliant device) and should be claimed by another driver, it's necessary to add it to usbhid bl...
Oct 28, 4:39 pm 2007
Adrian Bunk
[2.6 patch] scsi/seagate.c: remove dead code
This patch removes obviously dead code. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- drivers/scsi/seagate.c | 2 -- 1 file changed, 2 deletions(-) c0807bbefb65ef679b7d2ec13d14c35f2e927404 diff --git a/drivers/scsi/seagate.c b/drivers/scsi/seagate.c index b113244..2d31ed4 100644 --- a/drivers/scsi/seagate.c +++ b/drivers/scsi/seagate.c @@ -1437,17 +1437,15 @@ connect_loop: break; #ifdef LINKED case LINKED_WRONG: WRITE_DATA (ABORT); linked_connecte...
Oct 28, 11:51 am 2007
Matthew Wilcox
Re: [2.6 patch] scsi/seagate.c: remove dead code
Surely the 'goto' should just be moved two lines down? -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -
Oct 28, 11:53 am 2007
Adrian Bunk
[2.6 patch] ieee1394_transactions.c: remove dead code
This patch removes dead code spotted by the Intel C Compiler. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- drivers/ieee1394/ieee1394_transactions.c | 2 -- 1 file changed, 2 deletions(-) 0df395c3e17cd6ac7176707a33580a1836db8bdf diff --git a/drivers/ieee1394/ieee1394_transactions.c b/drivers/ieee1394/ieee1394_transactions.c index c39c70a..6779893 100644 --- a/drivers/ieee1394/ieee1394_transactions.c +++ b/drivers/ieee1394/ieee1394_transactions.c @@ -208,108 +208,106 @@ void h...
Oct 28, 11:51 am 2007
Stefan Richter
Re: [2.6 patch] ieee1394_transactions.c: remove dead code
Committed to linux1394-2.6.git, thanks. -- Stefan Richter -=====-=-=== =-=- ===-- http://arcgraph.de/sr/ -
Oct 28, 12:21 pm 2007
Ralf Baechle
[PATCH] Optimize i8259 code a bit.
The timer code always calls the clock_event_device set_net_event and set_mode methods with interrupts disabled, so no need to use spin_lock_irqsave / spin_unlock_irqrestore for those. arch/mips/kernel/i8253.c | 12 ++++-------- arch/x86/kernel/i8253.c | 12 ++++-------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/arch/mips/kernel/i8253.c b/arch/mips/kernel/i8253.c index 5d9830d..1b54674 100644 --- a/arch/mips/kernel/i8253.c +++ b/arch/mips/kernel/i8253.c @@ -23,9 +23,7...
Oct 28, 7:11 pm 2007
previous daytodaynext day
October 27, 2007October 28, 2007October 29, 2007