linux-kernel mailing list

FromSubjectsort iconDate
Bryan Wu
[PATCH 3/3] Blackfin EMAC driver: Add phy abstraction layer ...
- add MDIO functions and register mdio bus - add phy abstraction layer (PAL) functions and use PAL API - test on STAMP537 board Signed-off-by: Bryan Wu <bryan.wu@analog.com> --- drivers/net/bfin_mac.c | 311 +++++++++++++++++++++++++++++------------------- drivers/net/bfin_mac.h | 53 ++------- 2 files changed, 195 insertions(+), 169 deletions(-) diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c index 3015385..c9808a1 100644 --- a/drivers/net/bfin_mac.c +++ b/drivers...
Sep 15, 10:57 pm 2007
Bryan Wu
[PATCH 2/3] Blackfin EMAC driver: add power management inter...
Signed-off-by: Bryan Wu <bryan.wu@analog.com> --- drivers/net/bfin_mac.c | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c index 8d61ca9..3015385 100644 --- a/drivers/net/bfin_mac.c +++ b/drivers/net/bfin_mac.c @@ -677,7 +677,7 @@ static void bf537mac_poll(struct net_device *dev) } #endif /* CONFIG_NET_POLL_CONTROLLER */ -static void bf537mac_reset(void) +static void bf537mac_disable(v...
Sep 15, 10:57 pm 2007
Bryan Wu
[PATCH 1/3] Blackfin EMAC driver: add function to change the...
>From 157dfddae50708a716c2a42a314eccb9621d8793 Mon Sep 17 00:00:00 2001 From: Alex Landau <lirsb@yahoo.com> Date: Sun, 5 Aug 2007 15:58:03 +0800 Subject: [PATCH] Blackfin Ethernet MAC driver: add function to change the MAC address Alex Landau writes in the forums: Previously, changing the MAC address (e.g. via ifconfig) resulted in a generic function to be called that only changed a variable in memory. This patch also updated the Blackfin MAC address registers to filter the correc...
Sep 15, 10:57 pm 2007
Horst H. von Brand
SPARC{,64}: kernel_termios_to_user_termios_1 missing
git-describe says this is v2.6.23-rc6-168-g53a3f30 I'm getting: drivers/char/tty_ioctl.c: In function 'n_tty_ioctl': drivers/char/tty_ioctl.c:799: error: implicit declaration of function 'kernel_termios_to_user_termios_1' This is a macro at the very end of include/asm-<foo>/termios.h for i686, on SPARC and SPARC64 it is missing. Sorry, I've got no clue on how to define this correctly here. It is also missing on alpha, blackfin, parisc, sh64, sh, xtensa -- Dr. Horst H. von Brand ...
Sep 15, 5:37 pm 2007
David Miller
Re: SPARC{,64}: kernel_termios_to_user_termios_1 missing
From: "Horst H. von Brand" <vonbrand@inf.utfsm.cl> This has been reported and discussed extensively on the lists over the past 4 or 5 days. It is a well known issue, and if you just need to get the sparc64 build working so you can test it out just use the patch below: diff --git a/include/asm-sparc/termios.h b/include/asm-sparc/termios.h index d767f20..25e9cbb 100644 --- a/include/asm-sparc/termios.h +++ b/include/asm-sparc/termios.h @@ -142,6 +142,11 @@ struct winsize { 0; \ }) ...
Sep 15, 6:36 pm 2007
Andries E. Brouwer
iso9660 vs udf
Today I got a CD. MacOS does not mount it and Linux does not mount it without an explicit filesystemtype option. That is, # mount /dev/hdc /dir -t iso9660 works fine, but # mount /dev/hdc /dir mount: you didn't specify a filesystem type for /dev/hdc I will try type udf mount: wrong fs type, bad option, bad superblock on /dev/hdc, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail o...
Sep 15, 5:49 pm 2007
Josh Triplett
Sparse 0.4 released
I have tagged and tarballed Sparse 0.4, now available from <http://kernel.org/pub/software/devel/sparse/dist/sparse-0.4.tar.gz>, with sha1sum `a77a10174c8cdb5314eb5000c1e4f24458848b91`. Highlights and visible changes in this release: * The Sparse validation files have become an automated test suite, invoked via `make check`. Thanks to Damien Lespiau for the initial `test-suite` script. Also thanks to Pavel Roskin for ideas, discussion, and prototyping, and to the contributors of new...
Sep 15, 6:00 pm 2007
Sam Ravnborg
[PATCH] alpha: beautify vmlinux.lds
Introduced a consistent style in vmlinux.lds and it now matches the soon-to-be common style for all arch's vmlinux.lds files. In addition: - Replaced hardcoded constant with PAGE_SIZE - Fix page.h so PAGE_SIZE can be used from assembler and in lds files - Move a few labels inside brackets so linker alignment will not make label point ot a too low address - Replaced DWARF and STABS sections with definitions from asm-generic Signed-off-by: Sam Ravnborg <sam@ravnborg.org> --- build teste...
Sep 15, 5:23 pm 2007
Robert Hancock
Re: [PATCH]PCI:disable resource decode in PCI BAR detection
On some chipsets that might be possible, however I think that on the Intel ones it's not possible to move it above 4G. And in any case this would require chipset-specific knowledge, which we would rather not have to need. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ -
Sep 15, 4:24 pm 2007
Philip Langdale
[PATCH] mmc: Disabler for Ricoh MMC controller
Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the MMC controller on the multi-function Ricoh R5C832. The MMC controller needs to be disabled or it will steal MMC cards from the SD controller where they would otherwise be supported by the Linux SDHCI driver. Signed-off-by: Philipl Langdale <philipl@overt.org> --- linux-2.6.22/drivers/mmc/host/Kconfig 2007-07-08 16:32:17.000000000 -0700 +++ linux-ricoh/drivers/mmc/host/Kconfig 2007-09-15 12:32:10.000000000 -0700 @@ ...
Sep 15, 3:54 pm 2007
Adrian McMenamin
Latest git won't compile
CC drivers/char/tty_ioctl.o drivers/char/tty_ioctl.c: In function 'n_tty_ioctl': drivers/char/tty_ioctl.c:799: error: implicit declaration of function 'kernel_termios_to_user_termios_1' drivers/char/tty_ioctl.c:806: error: implicit declaration of function 'user_termios_to_kernel_termios_1' make[2]: *** [drivers/char/tty_ioctl.o] Error 1 make[1]: *** [drivers/char] Error 2 make: *** [drivers] Error 2 -
Sep 15, 4:20 pm 2007
Adrian McMenamin
[PATCH 3/2] Add Maple bus support for the SEGA Dreamcast - t...
Apologies - these are the patches to add header files to the series beginning here: http://lkml.org/lkml/2007/9/15/181 Add maplebus headers Signed off by Adrian McMenamin <adrian@mcmen.demon.co.uk> diff --git a/include/linux/input.h b/include/linux/input.h diff --git a/include/linux/maple.h b/include/linux/maple.h new file mode 100644 index 0000000..e297cce --- /dev/null +++ b/include/linux/maple.h @@ -0,0 +1,87 @@ +/** + * maple.h + * + * porting to 2.6 driver model + * copyright...
Sep 15, 3:44 pm 2007
Adrian McMenamin
[PATCH] Dreamcast AICA sound driver G2 bus handling
This patch handles instability on the Dreamcast G2 bus while PIO or DMA is underway on the System -> AICA channel. Without the suspension of interrupts when PIO or DMA is underway the G2 bus is prone to timeouts leading to seemingly random crashes. This is particularly visible in cases such as maple bus (see http://lkml.org/lkml/2007/9/15/181) hotplugging but the patch is good for all conditions. Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk> diff --git a/sound/sh/aica.c...
Sep 15, 3:39 pm 2007
Adrian McMenamin
[PATCH 2/2] Add Maple bus support for the SEGA Dreamcast - m...
This patch adds support for the keyboard on the SEGA Dreamcast Signed-off by Adrian McMenamin <adrian@mcmen.demon.co.uk> Acked-by: Arjan van de Ven <arjan@linux.intel.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index c97d5eb..056cc52 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -253,4 +253,14 @@ config KEYBOARD_GPIO To compile this driver as ...
Sep 15, 3:32 pm 2007
Adrian McMenamin
[PATCH 1/2] Add Maple bus support for the SEGA Dreamcast - c...
This adds support for the maple bus (SEGA's proprietary serial bus on the Dreamcast) to the kernel. Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk> diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 54878f0..077438f 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -702,6 +702,17 @@ config CF_BASE_ADDR default "0xb8000000" if CF_AREA6 default "0xb4000000" if CF_AREA5 +config MAPLE + bool "Maple Bus Support" + depends on SH_DREAMCAST + help + The Maple Bus is ...
Sep 15, 3:32 pm 2007
Adrian McMenamin
[PATCH 0/2] Add Maple bus support for the SEGA Dreamcast
The Maple bus is SEGA's proprietary serial bus for peripherals (keyboard, mouse, controller etc). The bus is capable of some (limited) hotplugging and operates at up to 2 M/bits. Drivers of one sort or another existed/exist for 2.4 and a rudimentary port, which didn't support the 2.6 device driver modei was also in existence. This driver - for the bus logic itself and for the keyboard (other drivers will follow) are based on the code and concepts of those old drivers but have lots of completely ...
Sep 15, 3:32 pm 2007
Lukas Hejtmanek
CPU usage for 10Gbps UDP transfers
Hello, is it expected that application sending 8900bytes datagram through 10Gbps NIC utilizes CPU to 100% and similarly the receiver also utilizes CPU to 100%. Is it something wrong or this is quite OK? (The box is dual single core Opteron 2.4GHz with Myricom 10GE NIC.) -- Lukáš Hejtmánek -
Sep 15, 3:00 pm 2007
David Schwartz
RE: CPU usage for 10Gbps UDP transfers
It's extremely hard to understand what it is that you're saying. Perhaps if I explain the two things I first thought when you posted this, it will explain why your post is vague: 1) *Any* task will use the CPU to 100% while it's running. Even if you ask the computer to add 1 to 1, while it's doing that add for you, the task is using 100% of the CPU. 2) If you ask the CPU to do any task over and over again as quickly as it can, and it has nothing else to do, that task will get 100% of the CPU? ...
Sep 15, 7:29 pm 2007
Rafael J. Wysocki
[PATCH -mm] Hibernation: Resume consoles if hibernation_plat...
[This is a fix on top of hibernation-enter-platform-hibernation-state-in-a-consistent-way-rev-4.patch] --- From: Rafael J. Wysocki <rjw@sisk.pl> If hibernation_platform_enter() fails, consoles should be resumed so that diagnostic information related to the failure is available to the user. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> --- kernel/power/disk.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6.23-rc6/kernel/power/disk.c ================...
Sep 15, 3:17 pm 2007
Guillaume Chazarain
Re: + taskstats-add-all-thread-stats-for-taskstats_cmd_attr_...
Le Thu, 13 Sep 2007 16:41:41 +0400, I documented this in v4, but I was wondering if always setting tsk->exit_state under the protection of lock_task_sighand() would fix Seems like this code was copied from kernel/acct.c:acct_collect(): if (thread_group_leader(current)) { pacct->ac_exitcode = exitcode; if (current->flags & PF_FORKNOEXEC) pacct->ac_flag |= AFORK; From include/linux/acct.h: executed fork, but did not exec Except that it talks about fork(2), not do_for...
Sep 15, 2:51 pm 2007
Matej Laitl
[PATCH v2] menuconfig: distinguish between selected-by-anoth...
menuconfig currently represents options implied by another option ('select' directive in Kconfig) by prefixing them with '---'. Unfortunately the same notation is used for comments. This patch changes notation of selected-by-another items by introducing 2 new representations for implied options: {*} or {M} for options selected by another modularized one, thus builtin or module capable, -*- or -M- for options that cannot be at the moment changed by user. The idea is to represent actual capability...
Sep 15, 2:04 pm 2007
Randy Dunlap
Re: [PATCH v2] menuconfig: distinguish between selected-by-a...
I don't see any problems with the wording other than I'm not very strongly in favor of the word "implied". I don't have a better word to use other than "selected", but that's just an implementation Good question. I think you did it correctly. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -
Sep 15, 8:34 pm 2007
Jan Engelhardt
Re: [PATCH v2] menuconfig: distinguish between selected-by-a...
This gets rid of the ambiguous ---, does not it? (If so, nice!) -
Sep 15, 2:38 pm 2007
Matej Laitl
Re: [PATCH v2] menuconfig: distinguish between selected-by-a...
Definately. You may try it, the patch is against current Linus's HEAD, but may apply cleanly also against 2.6.22 as none of the files changed since. (AFAIK, too lazy to check it) Regards, Matej -
Sep 15, 2:44 pm 2007
Matej Laitl
Re: [PATCH v2] menuconfig: distinguish between selected-by-a...
Oh please reply to my address strohel@gmail.com. I mismatched Reply-To and In-Reply-To e-mail headers when trying to stick the message to original thread. Sorry for the noise and inconvenience I caused. -
Sep 15, 2:20 pm 2007
Anthony Liguori
[PATCH] Refactor hypercall infrastructure (v2)
This patch refactors the current hypercall infrastructure to better support live migration and SMP. It eliminates the hypercall page by trapping the UD exception that would occur if you used the wrong hypercall instruction for the underlying architecture and replacing it with the right one lazily. It also introduces the infrastructure to probe for hypercall available via CPUID leaves 0x40001000. CPUID leaf 0x40001001 should be filled out by userspace. A fall-out of this patch is that the unhand...
Sep 15, 1:54 pm 2007
Rene Herman
[PATCH] lib/iomap.c:bad_io_access() -- print 0x hex prefix
Hi Andrew. Trivial -- be explicit about printing hex. Rene
Sep 15, 1:49 pm 2007
Robert P. J. Day
[PATCH][RFC] Extend "memparse" to allow a NULL return pointe...
Extend the memparse() routine to allow a caller to use NULL as the second parameter value if he has no interest in that returned value. --- there appear to be quite a number of calls to "memparse" which have no use for the value returned in the second parameter (the current pointer after the successful parse), but which are still forced to supply a valid char** address since they have no choice but to accept that value coming back. in many cases, that value is accepted just before the end o...
Sep 15, 12:27 pm 2007
infomailerespa
Mrs.Emma Jones
Sir/Madam You have won €760,000.00 Euro in EURO MILLION ONLINE INT S.L SPAIN.Forfurther development for Clarification and procedure. please Contact Mr.Martin john Email:info_martinjohnsp@ozu.es (1) Tic Nr: 6460DGH (2) Sr Nr: 0909AOB09 (3) LU Nr: 726726XZJHN (4) BT Nr: 2GH267XZZ1-5-42 (5) RF Nr 9527BCV-33-7-7-7 The Validity period of the winnings is for 14 working days hence you are expected to make your claims immediately. Regards. Mrs.Emma Jones --------------------------------------...
Sep 15, 11:58 am 2007
Eric Valette
rtl8187 driver in 2.6.23-rc6-git5: kernel panic if not used ...
First let me start by a thanks: it was the last piece of my P5W de luxe machine based that has not its driver from stock kernel. It works like a charm when used as a module: lsusb Bus 005 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 007: ID 0bda:8187 Realtek Semiconductor Corp. <========= Bus 001 Device 005: ID 05e3:0606 Genesys Logic, Inc. D-Link DUB-H4 USB 2.0 Hub Bus 001 Device 004: ID 03f0:c2...
Sep 15, 10:07 am 2007
Eric Valette
Re: rtl8187 driver in 2.6.23-rc6-git5: kernel panic if not u...
Just saw that just above my message in the LKML web interface, someone posted a backtrace. Mine is different but at least, we are at least two to have the crash. -- eric -
Sep 15, 10:27 am 2007
Rob Hussey
Re: rtl8187 driver in 2.6.23-rc6-git5: kernel panic if not u...
This is the same thing I said to Paul Rolland, since I think your problems are the same: I had this problem as well. It has to do with mac80211, cfg80211 and the rate control algorithm not initializing early enough in the boot process. These two patches should fix it: [PATCH] mac80211: fix initialisation when built-in http://article.gmane.org/gmane.linux.kernel.wireless.general/5710/match=patch+mac80211... [PATCH] cfg80211: fix initialisation if built-in [ message continues ]
" title="http://article.gmane.org/gm...">http://article.gmane.org/gm...
Sep 15, 12:28 pm 2007
Eric Valette
Re: rtl8187 driver in 2.6.23-rc6-git5: kernel panic if not u...
Thanks for your help: it does indeed fix the problem. Now I have two side questions: - the code is no more symetric "subsys_initcall" -> "module_exit". Do not know if it is "normal" but I love symmetry in code :-). Did not test it still works as a module... - Who takes the responsability to push a patch to Linus? I guess it is urgent unless he plans a rc7 -- eric -
Sep 15, 2:30 pm 2007
Paul Rolland
Re: rtl8187 driver in 2.6.23-rc6-git5: kernel panic if not u...
Hi Eric, On Sat, 15 Sep 2007 20:30:14 +0200 Symmetry is not broken, as we have : #define subsys_initcall(fn) module_init(fn) in include/linux/init.h where compiling as a module, and when not compiling as a module, I doubt the exit function is called unless you are shuting Good point ! I expect the patches to be already in some queue waiting to be pulled ! -
Sep 15, 2:51 pm 2007
Rob Hussey Sep 15, 5:19 pm 2007
Eric Valette
Re: rtl8187 driver in 2.6.23-rc6-git5: kernel panic if not u...
I came to this conclusion too. But I would have preferred to have #define subsys_exit(fn) modules_exit(fn) in the case of a module and nop in the non module case... -- eric -
Sep 15, 3:00 pm 2007
Paul Rolland
Re: rtl8187 driver in 2.6.23-rc6-git5: kernel panic if not u...
Hi Rob, On Sat, 15 Sep 2007 12:28:36 -0400 Too bad gmane patches can't be applied directly, they seems to contain very strange <at> inside.... However, manually patching seems to be Ok. Kernel is now booting correctly, and I have : ... 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> ieee80211: 802.11 data/management/control stack, git-1.1.13 ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketren...
Sep 15, 1:41 pm 2007
Paul Rolland
Re: rtl8187 driver in 2.6.23-rc6-git5: kernel panic if not u...
Hi Eric, On Sat, 15 Sep 2007 16:27:30 +0200 Well, I have it when compiling rtl8187 inside the kernel, but I still have to try it as a module, to confirm we are facing the same bug... Please allow me some time for that, I'll post an update. Regards, Paul -- Paul Rolland E-Mail : rol(at)witbe.net Witbe.net SA Tel. +33 (0)1 47 67 77 77 Les Collines de l'Arche Fax. +33 (0)1 47 67 77 99 F-92057 Paris La Defens...
Sep 15, 11:38 am 2007
Paul Rolland
2.6.23-rc6 : crash with RTL8187 USB
Hello, Each time I add the support for this piece of hardware, I have a crash during the boot process. Serial console gives the attached boot message... Linux version 2.6.23-rc6 (root@donald.as2917.net) (gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)) #1 SMP Sat Sep 15 15:02:47 CEST 2007 Command line: ro root=LABEL=/1 rhgb irqpoll vga=extended console=ttyS0,38400 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a000...
Sep 15, 9:16 am 2007
Rob Hussey
Re: 2.6.23-rc6 : crash with RTL8187 USB
I had this problem as well. It has to do with mac80211, cfg80211 and the rate control algorithm not initializing early enough in the boot process. These two patches should fix it: [PATCH] mac80211: fix initialisation when built-in http://article.gmane.org/gmane.linux.kernel.wireless.general/5710/match=patch+mac80211... [PATCH] cfg80211: fix initialisation if built-in http://article.gmane.org/gmane.linux.network/71326/match=patch+cfg80211+initialisation Regards, Rob -
Sep 15, 12:21 pm 2007
Paul Rolland
Re: 2.6.23-rc6 : crash with RTL8187 USB
Hi Rob, On Sat, 15 Sep 2007 12:21:39 -0400 Yes, they do ! Thanks very much, Regards, Paul -- Paul Rolland E-Mail : rol(at)witbe.net Witbe.net SA Tel. +33 (0)1 47 67 77 77 Les Collines de l'Arche Fax. +33 (0)1 47 67 77 99 F-92057 Paris La Defense RIPE : PR12-RIPE Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un navigateur "Some people dream of success... while others...
Sep 15, 2:39 pm 2007
Ingo Molnar
[git] CFS-devel, group scheduler, fixes
The latest sched-devel.git tree can be pulled from: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel.git people were busy sending patches, so there's lots of updates since the first announcement of the cfs-devel.git tree four days ago: include/linux/sched.h | 4 init/Kconfig | 9 + kernel/sched.c | 374 +++++++++++++++++++++++++++++++++++++++++++----- kernel/sched_debug.c | 22 +- kernel/sched_fair.c | 191 +++++++++++...
Sep 15, 9:06 am 2007
Stefan Richter
[PATCH] ieee1394: csr1212: proper refcounting
Accesses to struct csr1212_keyval's reference counter have to be atomic and require proper barriers. Also, calls to csr1212_keep_keyval(kv) have to occur before kv is getting used. (We probably should convert refcnt to struct kref, but how to keep csr1212_destroy_keyval's implementation non-recursively then?) Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> --- drivers/ieee1394/csr1212.c | 57 +++++++++++++++++++------------------ drivers/ieee1394/csr1212.h | 6 ++- driver...
Sep 15, 8:50 am 2007
Stefan Richter
[PATCH] ieee1394: nodemgr: fix leak of struct csr1212_keyval
csr1212_keep_keyval(kv) in nodemgr_process_root_directory was unbalanced if ne->vendor_name_kv already exists. This happens for example if eth1394 or raw1394 modify the local config ROM and it is parsed again. As a bonus, the attempt to add the vendor_name_kv sysfs attribute when it already exists is now fixed for good. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> --- drivers/ieee1394/nodemgr.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) In...
Sep 15, 8:45 am 2007
Gilboa Davara
[Minor patch] Reduce __print_symbol/sprint_symbol stack usage.
Hello all, In a small exchange in fedora-kernel-list [1] Eric Sandeen has pointed out a possible stack overflow... when CONFIG_DEBUG_STACKOVERFLOW is enabled. (Though not limited to it) Code path is simple: do_IRQ detects a a near stack overflow condition and calls show_trace_log_lvl which, down the line uses __print_symbol and sprint_symbol to print the call stack. However, both __print_symbol + sprint_symbol are eating no-less then 128+223 bytes on static char arrays, which, given the fact th...
Sep 15, 7:35 am 2007
Satyam Sharma
Re: [Minor patch] Reduce __print_symbol/sprint_symbol stack ...
Hi, __print_symbol() and sprint_symbol() are called multiple times during oopsen / panics. I think those buffers were static char arrays for a good That's not a performance optimization -- avoiding repeated kmalloc()'s in the I think not bothering about any locking in these codepaths may not be an entirely unreasonable thing to do (sorry about the triple negation in the sentence). What I mean is that there are places in these codepaths where we already don't bother with locking ... O...
Sep 15, 9:02 am 2007
Gilboa Davara
Re: [Minor patch] Reduce __print_symbol/sprint_symbol stack ...
OK. Point taken. Bad wording on my part. By minor I meant, changes a single source file, doesn't change ACK. Though in my defense, solution [2] requires a massive surgery that would No locking what-so-ever is a bad idea. dump_stack/trace are being called by non-fatal sources (sleep while atomic; stack-check; debugging) that may produce problematic results if a static/shared buffer is being used with no locks. We can agree that using in-stack char buffer is very problematic - especially g...
Sep 15, 11:15 am 2007
Gilboa Davara
Re: [PATCH] Reduce __print_symbol/sprint_symbol stack usage.
Hello all, Satyam, This is my second stab at solving the "stack over flow due to dump_strace when close to stack-overflow is detected by do_IRQ" problem. (Hopefully) this patch is creates less noise then the previous one. - Gilboa --- linux-2.6/kernel/kallsyms.orig 2007-09-15 11:46:54.000000000 +0300 +++ linux-2.6/kernel/kallsyms.c 2007-09-15 21:06:55.000000000 +0300 @@ -306,13 +306,14 @@ int lookup_symbol_attrs(unsigned long ad return lookup_module_symbol_attrs(addr, size, offset, modname...
Sep 15, 2:08 pm 2007
Prakash Punnoor
Re: sata_nv issues with MCP51 SATA controller
I don't remeber which messages I get, but for me the kernel didn't boot wit= h=20 certain versions. Any yes, you spelled it correctly. =2D-=20 (=B0=3D =3D=B0) //\ Prakash Punnoor /\\ V_/ \_V
Sep 15, 7:30 am 2007
J.C. Roberts
Re: Wasting our Freedom
Hi Jason, I admire your intentions but there are a few things which you need to understand a bit better. First off, I do not know Lawrence Lessig or his involvement, so I do not understand how he made your list. On the other hand, Eben Moglen is arrogant and unscrupulous. His stated goal is to steal as much software as possible and put it under the GPL even when doing so is illegal. If you give him a valid and sound argument why the "legal advice" he has given is obviously illegal, the v...
Sep 15, 6:33 am 2007
previous daytodaynext day
September 14, 2007September 15, 2007September 16, 2007