linux-kernel mailing list

FromSubjectsort iconDate
bloch
MMC: tifm_7xx1 driver detects card but does not make it moun...
Running recent kernels the insertion of a MemoryStick into the card reader of a Sony Vaio VGNSZ3XWP is detected but the card does not seem to be probed for partitions and hence is not made available to userspace. Here is the message upon card insertion: tifm_7xx1: ms card detected in socket 0 lspci: 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML E...
Jan 30, 7:30 pm 2007
Jan Kasprzak
No mptable found (Tyan h1000E)
Hello, I have a Tyan h1000E (S3970) dual-socket board, with two dual-core AMD Athlon 2210 CPUs (4 cores total). The problem is that the kernel apparently cannot detect the SMP configuration (after boot, /proc/cpuinfo lists only one processor). The full dmesg output is available at http://www.fi.muni.cz/~kas/tmp/dmesg-h1000E.txt The most interesting parts of it are probably these (with my comments inline marked by "---"): [...] SRAT: PXM 0 -> APIC 0 -> Node 0 SRAT: PXM 0 -> APIC...
Jan 30, 7:16 pm 2007
Robert Hancock
Re: Free Linux Driver Development!
Well, the "docs" I was using was a half-finished, broken version of the driver released by NVidia which had to be significantly revised, and the public ADMA spec which the hardware was vaguely based on and which a few things could be inferred from. If NVidia had just released the docs it would have been much easier, I would have gladly written it from scratch. There are still things in the driver that could likely be improved if we had the actual hardware documents, registers that we don't k...
Jan 30, 7:35 pm 2007
Robert Hancock
Re: ACPI C and P states on Conroe
C-states are something else entirely, frequency scaling and C-states are essentially independent. You can be in lower frequency and C1, C2, etc. That's the easiest way, and that's what Fedora does for example (just compile all the drivers into the kernel). acpi-cpufreq should be the one The kernel will only use C2 and C3 if the motherboard exports support for it through ACPI. Most desktop boards don't, this is normally only found on laptops. -- Robert Hancock Saskatoon, SK,...
Jan 30, 7:09 pm 2007
Robert Hancock
Re: [linux-usb-devel] 2.6.20-rc6 SCSI error: I/O error - tro...
Is it just me, or should some of these device quirk entries that keep being added be made unconditional? Adding entries for every single device that shows up with these problems seems like not a very scalable approach. These devices obviously work in Windows, can't we just emulate its behavior here? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ -
Jan 30, 7:12 pm 2007
Bodo Eggert
[PATCH] pipefs unique inode numbers
change pipefs to use a unique inode number equal to the memory address unless it would be truncated. Signed-Off-By: Bodo Eggert <7eggert@gmx.de> --- Tested on i386. --- 2.6.19/fs/pipe.c.ori 2007-01-30 22:02:46.000000000 +0100 +++ 2.6.19/fs/pipe.c 2007-01-30 23:22:27.000000000 +0100 @@ -864,6 +864,10 @@ static struct inode * get_pipe_inode(voi inode->i_uid = current->fsuid; inode->i_gid = current->fsgid; inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT...
Jan 30, 6:40 pm 2007
Linus Torvalds
Re: [PATCH] pipefs unique inode numbers
I *really* wouldn't want to expose kernel addresses to user space, it just ends up being a piece of data that they shouldn't have. If we have some security issue, this is just too much kernel information that a bad user could get at. Linus -
Jan 30, 6:55 pm 2007
Alan
Re: atiixp.c: add cable detection support for ATI IDE
Doe this actually work if the driver is loaded after a suspend to ram and How does the actual cable detection work rather than relying on the BIOS modes to guess the cable ? Alan -
Jan 30, 6:37 pm 2007
Matthieu CASTET
Re: Free Linux Driver Development!
On another side, some PATA drivers are incomplete or missing. When we switch to PATA and drop old ide stack, what will happen ? Will all driver be ported and full-feature, or some will be obsoleted ? Matthieu -
Jan 30, 6:19 pm 2007
Alan
Re: Free Linux Driver Development!
At the moment unless anyone gets upset I expect to obsolete the CMD640 but nothing else PCI. Can't comment on non x86 drivers and that may be up to port maintainers, and in part to polishing the core code to handle it better. Some vendors are trialling a libata switch in their upcoming distributions and the only barrier I expect to need some quick fixing is the HPA support. Alan -
Jan 30, 7:03 pm 2007
Jeff Garzik
Re: Free Linux Driver Development!
Which ones are incomplete? All drivers for which we can find users will be ported. If any features disappear that's a bug. Jeff -
Jan 30, 6:42 pm 2007
Jeroen Roodhart
[Maybe FIXed] Re: Forcedeth issues, loss of connectivity. A...
Sorry forgot to mention: I'm running FC6 with the 2.6.19-1.2895.fc6 x86_64 kernel. RPM says that it is based on: * Wed Jan 10 2007 Dave Jones <davej@redhat.com> - 2.6.19.2 I tried to upgrade to the forcedeth driver that is supplied with 2.6.20-rc4-mm1 but that gave results that look like Tobias' description. Then I downloaded the Nvidia provided version from: http://download.nvidia.com/XFree86/nforce/1.21/NFORCE-Linux-x86-1.21.zip The forcedeth driver from this file announces its...
Jan 30, 6:05 pm 2007
Maynard Johnson
Re: [Cbe-oss-dev] [RFC, PATCH 4/4] Add support to OProfile f...
Anton (added to cc list) may be another good reviewer of According to Tom Gleixner, "hrtimer_forward is a convenience function to move the expiry time of a timer forward in multiples of the interval, so it is in the future. After setting the expiry time you restart the timer either with [sic] a return HRTIMER_RESTART (if you are in the Since OProfile is a statistical profiler, the exact frequency is not critical. The user is going to be looking for hot spots in their code, so it's all relati...
Jan 30, 5:41 pm 2007
Carl Love
Re: [Cbe-oss-dev] [RFC, PATCH 4/4] Add support to OProfile f...
On Tue, 2007-01-30 at 15:41 -0600, Maynard Johnson wrote: I believe what you are asking here is why can't the cell_spu_pc_collection() function put the data in to the samples array for a given node, in the loop that then processes the samples array for that node. Yes, I believe that this can be done. The only restriction is that cell_spu_pc_collection() will have to extract the SPU program counter data for all SPUs on that node. This is due to the fact the data for the 8 SPUs are all stored in a s...
Jan 30, 7:31 pm 2007
Maynard Johnson
Re: [Cbe-oss-dev] [RFC, PATCH 4/4] Add support to OProfile f...
I've given this some more thought, and I'm coming to the conclusion that a pure array-based implementation for holding cached_info (getting rid of the lists) would work well for the vast majority of cases in which OProfile will be used. Yes, it is true that the mapping of an SPU context to a phsyical spu-numbered array location cannot be guaranteed to stay valid, and that's why I discard the cached_info at that array location when the SPU task is switched out. Yes, it would be terribly ine...
Jan 30, 6:54 pm 2007
Benjamin Herrenschmidt
Re: [Cbe-oss-dev] [RFC, PATCH 4/4] Add support to OProfile f...
Well, it's my understanding that quite a few typical usage scenario involve different tasks running on different SPUs passing each other data around. Ben. -
Jan 30, 7:34 pm 2007
Grant Coady
[PATCH] -mm3: include/linux/blkdev.h double def'd -> comp...
Hi there, Random .config: 20-rc6-mm3a/002 found the following boo-boo... From: Grant Coady <gcoady.lk@gmail.com> Defining protos twice caused: In file included from kernel/sched.c:39: include/linux/blkdev.h:928: error: redefinition of 'blk_replug_current_nested' include/linux/blkdev.h:907: error: previous definition of 'blk_replug_current_nested' was here include/linux/blkdev.h:932: error: redefinition of 'blk_plug_current' include/linux/blkdev.h:911: error: previous definition of 'b...
Jan 30, 5:42 pm 2007
Zach Brown
[PATCH 0 of 4] Generic AIO by scheduling stacks
This very rough patch series introduces a different way to provide AIO support for system calls. Right now to provide AIO support for a system call you have to express your interface in the iocb argument struct for sys_io_submit(), teach fs/aio.c to translate this into some call path in the kernel that passes in an iocb, and then update your code path implement with either completion-based (EIOCBQUEUED) or retry-based (EIOCBRETRY) AIO with the iocb. This patch series changes this by moving the co...
Jan 30, 4:39 pm 2007
Linus Torvalds
Re: [PATCH 0 of 4] Generic AIO by scheduling stacks
Yee-haa! I looked at this approach a long time ago, and basically gave up because it looked like too much work. I heartily approve, although I only gave the actual patches a very cursory glance. I think the approach is the proper one, but the devil is in the details. It might be that the stack allocation overhead or some other subtle fundamental problem ends up making this impractical in the end, but I would _really_ like for this to basically go in. One of the biggest issues I see ...
Jan 30, 5:58 pm 2007
Zach Brown
Re: [PATCH 0 of 4] Generic AIO by scheduling stacks
Indeed, your mention of it in that thread.. a year ago?.. is what got this notion sitting in the back of my head. I didn't like it at As for efficiency and overhead, I hope to get some time with the team that work on the Giant Database Software Whose Name We Shall Not Yeah, no doubt. I'm wildly open to discussion here. (and yeah, me either, but I don't care much about the name. I got tired of I think we'll also want to flesh out the submission and completion interface so tha...
Jan 30, 6:40 pm 2007
Linus Torvalds
Re: [PATCH 0 of 4] Generic AIO by scheduling stacks
Actually, the thing I like about kernel micro-threads (and that "fibril" name is starting to grow on me) is that I'm hoping we might be able to use them for that kevent thing too. And perhaps some other issues (ACPI has some "events" that might work with synchronously scheduled threads). IOW, synchronous threading does have its advantages.. Btw, I noticed that you didn't Cc Ingo. Definitely worth doing. Not just because he's basically the normal scheduler maintainer, but also because h...
Jan 30, 6:53 pm 2007
Zach Brown
Re: [PATCH 0 of 4] Generic AIO by scheduling stacks
Yeah, that was dumb. I had him in the cc: initially, then thought it was too large and lobbed a bunch off. My mistake. Ingo, I'm interested in your reaction to the i386-specific mechanics here (the thread_info copies terrify me) and the general notion of how to tie this cleanly into the scheduler. - z -
Jan 30, 7:45 pm 2007
Linus Torvalds
Re: [PATCH 0 of 4] Generic AIO by scheduling stacks
Side note (and maybe this was obvious to people already): I would suggest that the "limiting" not be done the way fork() is limited ("return EAGAIN if you go over a limit") but be done as a per-task counting semaphore (down() on submit, up() on fibril exit). So we should limit these to basically have some maximum concurrency factor, but rather than consider it an error to go over it, we'd just cap the concurrency by default, so that people can freely use asynchronous interfaces without ...
Jan 30, 6:23 pm 2007
Zach Brown
Re: [PATCH 0 of 4] Generic AIO by scheduling stacks
Yeah, call it the socket transmit queue model :). Maybe tuned by a ulimit? I don't have very strong opinions abou the specific mechanics of limiting concurrent submissions, as long as they're there. Some folks in Oracle complain about having one more thing to have to tune, EAGAIN or the initial number of submissions completed before the one that ran over the limit, perhaps. Sure. Nothing too controversial here :). I have this kind of stuff queued up for worrying about once ...
Jan 30, 6:53 pm 2007
Zach Brown
[PATCH 4 of 4] Introduce aio system call submission and comp...
This finally does something useful with the notion of being able to schedule stacks as fibrils under a task_struct. Again, i386-specific and in need of proper layering with archs. sys_asys_submit() is added to let userspace submit asynchronous system calls. It specifies the system call number and arguments. A fibril is constructed for each call. Each starts with a stack which executes the given system call handler and then returns to a function which records the return code of the system call ha...
Jan 30, 4:39 pm 2007
Zach Brown
[PATCH 2 of 4] Introduce i386 fibril scheduling
This patch introduces the notion of a 'fibril'. It's meant to be a lighter kernel thread. There can be multiple of them in the process of executing for a given task_struct, but only one can every be actively running at a time. Think of it as a stack and some metadata for scheduling them inside the task_stuct. This implementation is wildly architecture-specific but isn't put in the right places. Since these are not code paths that I have extensive experience with, I focused more on on getting it ...
Jan 30, 4:39 pm 2007
Zach Brown
[PATCH 3 of 4] Teach paths to wake a specific void * target ...
The addition of multiple sleeping fibrils under a task_struct means that we can't simply wake a task_struct to be able to wake a specific sleeping code path. This patch introduces task_wake_target() as a way to refer to a code path that is about to sleep and will be woken in the future. Sleepers that used to wake a current task_struct reference with wake_up_process() now use this helper to get a wake target cookie and wake it with wake_up_target(). Some paths know that waking a task will be suff...
Jan 30, 4:39 pm 2007
Zach Brown
[PATCH 1 of 4] Introduce per_call_chain()
There are members of task_struct which are only used by a given call chain to pass arguments up and down the chain itself. They are logically thread-local storage. The patches later in the series want to have multiple calls pending for a given task, though only one will be executing at a given time. By putting these thread-local members of task_struct in a seperate storage structure we're able to trivially swap them in and out as their calls are swapped in and out. per_call_chain() doesn't have...
Jan 30, 4:39 pm 2007
Simon Arlott
[PATCH 3/3] cxacru: Store all device status information and ...
There is much more (useful) line status information than is output through usbatm, this patch stores the status array and overrides atm_proc_read to output all of it. This change may affect users polling the /proc/net/atm/cxacru file for line up/down status, however better status information is already provided through INFO level printks. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> --- drivers/usb/atm/cxacru.c | 144 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 144 ...
Jan 30, 5:30 pm 2007
Simon Arlott
[PATCH 2/3] cxacru: Poll for device status more frequently.
The device is only polled for status every 5 seconds yet status updates occur as often as every second - when the line is down the status changes between "down" and "attempting to activate" every 2 seconds. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> --- drivers/usb/atm/cxacru.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c index c1f97a3..a30cd9b 100644 --- a/drivers/usb/atm/cxacru.c +++ b/drivers/usb/atm...
Jan 30, 5:27 pm 2007
Kaz Kylheku
RE: [ANN] Userspace M-on-N threading model implementation. A...
M:N threading is an unnecessary performance hack that's needed by people who are living in a C or C++ exile away from some language that has lexical closures, generators or first-class continuations. Not having these niceties, they resort to emulating them with threads. The proper thing to do is to rewrite the code to use state machines which can be driven by any available thread. Or else, write yourself a source-to-source transformer that will give C the lexical closure, generator, or continuation...
Jan 30, 5:16 pm 2007
Simon Arlott
[PATCH 1/3] usbatm: Allow sub-drivers to handle calls to atm...
usbatm only outputs basic information via the per-device /proc/net/atm/ file, this patch allows the device specific USB ATM drivers to replace the atm_proc_read function with their own. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> --- drivers/usb/atm/usbatm.c | 3 +++ drivers/usb/atm/usbatm.h | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index ec63b0e..d91ed11 100644 --- a/drivers/usb/atm/usbatm.c +++...
Jan 30, 5:21 pm 2007
Jes Sorensen
Re: [Ksummit-2007-discuss] Re: [Ksummit-2006-discuss] 2007 L...
I didn't realize that all your postings to this list were the official views of Steeleye? I can't say what SGI will do on this, I'm an engineer not a manager, I can however suggest to them that they do. As Willy said, if it was an even playing field it would probably be a lot more likely they would, compared to how it is today. Cheers, Jes -
Jan 30, 5:24 pm 2007
Alexey Dobriyan
[PATCH] ifdef ->rchar, ->wchar, ->syscr, ->syscw...
They are fat: 4x8 bytes in task_struct. They are uncoditionally updated in every fork, read, write and sendfile. They are used only if you have some "extended acct fields feature". And please, please, please, read(2) knows about bytes, not characters, why it is called "rchar"? Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> --- fs/proc/base.c | 4 ++++ fs/read_write.c | 24 ++++++++++++------------ include/linux/sched.h | 40 ++++++++++++++++++++++++++++++++++++...
Jan 30, 5:11 pm 2007
Alexey Dobriyan
[PATCH] Move TASK_XACCT, TASK_IO_ACCOUNTING up in menus
Since they depends on TASKSTATS, it would be nice to move them closer to another options depending on TASKSTATS. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> --- Yes, it cost me ~10 minutes to turn TASK_XACCT on. init/Kconfig | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) --- a/init/Kconfig +++ b/init/Kconfig @@ -192,6 +192,24 @@ config TASK_DELAY_ACCT Say N if unsure. +config TASK_XACCT + bool "Enable extended acc...
Jan 30, 4:59 pm 2007
Pierre Ossman
Re: How to map high memory for block io
Ok, time to warm up this old chestnut. I "solved" my immediate problem with wbsd, and this got forgotten. AFAICT, mmci.c and the rest of the lot are still broken in the sense that they use kmap but exceed page limits (which happens to work on non-highmem pages). I think the right solution is to let them use page_address() instead. Would that be correct? Rgds -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org PulseAudio, core developer [ message continues ]
" title="http://...">http://...
Jan 30, 4:41 pm 2007
Luca Tettamanti
[2.6.20-rc6] pktcdvd doesn't work
Hi, pktcdvd on kernel 2.6.20-rc6 is not working as expected. Any file that is written to the device is lost after umount. I rarely use pktcdvd but at some point it used to work on my system. This is what I'm doing: root@dreamland:/tmp# cdrwtool -d /dev/scd0 -q using device /dev/scd0 1029KB internal buffer setting write speed to 12x Settings for /dev/scd0: Fixed packets, size 32 Mode-2 disc I'm going to do a quick setup of /dev/scd0. The disc is going to be blanked and form...
Jan 30, 3:53 pm 2007
Jan Engelhardt
Re: [2.6.20-rc6] pktcdvd doesn't work
In case you are using ide-scsi: try without. Jan -- -
Jan 30, 4:02 pm 2007
Luca Tettamanti
Re: [2.6.20-rc6] pktcdvd doesn't work
Yup, It used to work but since I rarely use it I don't remember which It's libata jmicron driver. Shall I try the "old" PATA driver on the next reboot? Luca -- "Chi parla in tono cortese, ma continua a prepararsi, potra` andare avanti; chi parla in tono bellicoso e avanza rapidamente dovra` ritirarsi" Sun Tzu -- L'arte della guerra -
Jan 30, 4:36 pm 2007
Jan Engelhardt
Re: [2.6.20-rc6] pktcdvd doesn't work
If you have lots of CDRs/DVDRs to spare (or a CDRW/DVDRW), every test is welcome. Jan -- -
Jan 30, 4:42 pm 2007
Luca Tettamanti
Re: [2.6.20-rc6] pktcdvd doesn't work
Hi Jeff, linux-ide, I'm having troubles with libata and UDF on RW media. See below. With the legacy IDE driver it works fine. The unit is DVD-RAM capable so the firmware should handle random writes fine; I've tried mounting /dev/scd0 rw *without* pktcdvd and I still lose files. So I guess it has something to do with libata. So to recap, after formatting the disk with UDF: * libata - mount with pktcdvd: all files are lost upon umount - mount scd0 w/out pktcdvd: all files are lost upon ...
Jan 30, 7:16 pm 2007
Corey Minyard
[PATCH] IPMI: fix timeout list handling
From: David Barksdale <amatus@ocgnet.org> This patch against the 2.6.20-rc6 kernel fixes a dangling pointer bug in ipmi_timeout_handler. A list of timedout messages is not re-initialized before reuse, causing the head of the list to point to freed memory. Signed-off-by: David Barksdale <amatus@ocgnet.org> Signed-off-by: Corey Minyard <minyard@acm.org> --- diff -ruNp linux-2.6.git.orig/drivers/char/ipmi/ipmi_msghandler.c linux-2.6.git/drivers/char/ipmi/ipmi_msghandler.c --- linu...
Jan 30, 3:37 pm 2007
Kim Phillips
Re: [PATCH] generic RTC support for PPC
On Tue, 30 Jan 2007 10:03:40 -0600 that's probably true. afaict, this powerpc platform <--> RTC class code glue is totally unnecessary; RTC class sets things up fine on 83xx based boards that have rtc chips supported in RTC class (e.g., the ITX). I'm referring to the third bullet point here: http://marc.theaimsgroup.com/?l=linux-kernel&m=116387226902131&w=2 For the MDS boards, which use the ds1374, I'd rather fix the problem properly and add a ds1374 driver to the RTC class. While ...
Jan 30, 3:25 pm 2007
David Brownell
Re: [PATCH] generic RTC support for PPC
I can't imagine what such patches would be, unless maybe you're referring to I2C framework updates that make it follow the driver model and support platform specific data, like an RTC alarm's IRQ number? Those will take some time. Just submit a normal I2C driver for that RTC, and any IRQ capability can be added later. (Or as a board-specific patch, which seems to be the normal solution for I2C, though they won't go upstream.) - Dave -
Jan 30, 3:55 pm 2007
Frédéric
[PATCH] EFI x86: pass firmware call parameters on the stack
When calling into an EFI firmware, the parameters need to be passed on the stack. The recent change to use -mregparm=3 breaks x86 EFI support. This patch is needed to allow the new Intel-based Macs to suspend to ram when run in EFI mode (efi.get_time is called during the suspend phase). Signed-off-by: Frederic Riss <frederic.riss@gmail.com> --- [As I couldn't find an official maintainer for the linux/efi.h file and the file header is quite old, I'm Cc:ing the last 2 commiters.] This ...
Jan 30, 3:01 pm 2007
Bjorn Helgaas
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
It seems wrong to put this sort of architecture-dependent stuff in an architecture-independent file. If EFI needs a specific calling convention on x86, x86 should provide wrappers that guarantee that convention. ia64 already provides such wrappers (phys_get_time(), -
Jan 30, 3:17 pm 2007
Frédéric
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
[ Disclaimer: I don't know much about EFI. I wanted to download the spec, but it required me to sign some sort of agreement about needing a license to write an implementation... I ran away. ] You're totally right, I first thought it wasn't possible, but the functions in the 'struct efi' can be set to whatever is wanted. Bellow's a patch which won't have any impact on ia64 and fixes the issue on my Mac Mini. I don't think x86_64 can be configured to boot from EFI, so this shouldn't cause any regre...
Jan 30, 4:41 pm 2007
Andrew Morton
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
On Tue, 30 Jan 2007 20:01:18 +0100 hm, this sounds like a fairly serious problem. Has this been runtime tested on ia64 and x86_64> -
Jan 30, 3:10 pm 2007
Frédéric
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
Not by me, the only EFI box I've access to is my Mac Mini. Fred. -
Jan 30, 3:16 pm 2007
Phillip Susi
Re: O_DIRECT question
It should return the number of bytes successfully written before the error, giving you the location of the first error. Also using smaller individual writes ( preferably issued in parallel ) also allows the When you are writing a transaction log, you do; you don't need much data, but you do need to be sure it has hit the disk before continuing. You certainly aren't writing many mb across a dozen write() calls and only then care to make sure it is all flushed in an unknown order. When ...
Jan 30, 2:50 pm 2007
previous daytodaynext day
January 29, 2007January 30, 2007January 31, 2007