Hi All,
I found that O_NOFOLLOW is used for opened core file in Linux 2.6.10.
This means the core file couldn't be a symbolic link. However, I want to
use symbolic link for core file, So I plan to remove O_NOFOLLOW as
follows, but I'm not sure there are any impacts introduced by the change?
Bernd Eckenfels wrote:
In article <[EMAIL PROTECTED]> you wrote:
I found that O_NOFOLLOW is used for opened core file in Linux 2.6.10.
I think that is for security reasons, otherwise one has to (atomically)
check who is the owner of the symlink and where it points to. If you dont
have
Hi All,
Recently, I got a funny problem that my NFS client can't show some of
mounted directories. These directories that can't be showed by "ls"
command have great deals of files.
For example. I have a directory on NFS server log and there are 69
files. I can't show it's child files through
Hey Guys,
I can't understand the following instructions from
arch/ppc/mm/hashtable.S::hash_page. If I got the right design, the
following instruction is to get the PMD (Page Middle Descritor) because
Linux for 32-bits PowerPC cut page table into 3 domains: root, PMD, PTE.
The top bits (22 to
Mikael Pettersson wrote:
On Mon, 18 Jun 2007 16:33:22 +0800, gshan <[EMAIL PROTECTED]> wrote:
I can't understand the following instructions from
arch/ppc/mm/hashtable.S::hash_page. If I got the right design, the
following instruction is to get the PMD (Page Middle Descritor) bec
Hey Guys,
Recently, I need work on my TTY (console) driver so that it could
support kdb. I didn't have much experiences on linux kdb. So my
questions are:
1) 2.6 Linux for PowerPC could support kdb? where can I find the source
code?
2) If 2.6 Linux for PowerPC doesn't support kdb, where co
Hey Guys,
Today, I got a strange problems. When I tried to mount a the last 2
flash partitions, following errors happened. Any ideas are appreciated.
# cat /proc/mtd
dev:size erasesize name
mtd0: 0010 0001 "boot"
mtd1: 0020 0001 "ro"
mtd2: 0010 0001 "diag-var-log
Anybody has suggestions on this crash?
[c02dc4dc] __schedule+0x654/0x788
[c02dc6f4] schedule+0x4c/0xe4
[c02dbe24] __compat_down+0xc8/0x12c
[c0226b60] mv_sw_read_reg+0x178/0x17c
[c02296fc] mvSwIntrTasklet+0x128/0x744
[c0020afc] tasklet_action+0x7c/0xec
[c00204f4] ___do_softirq+0x80/0x11c
[c00205cc
The code is written by myself. 2 questions:
1) tasklet couldn't sleep?
2) It is because the tasklet take a semaphore?
Thanks,
Gavin
Alexey Dobriyan wrote:
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Anybody has suggestions on this crash?
talk to whoever supplied the followin
] mv_sw_read_smi_reg+0x84/0x1ac
[c0226adc] mv_sw_read_reg+0xf4/0x17c
Satyam Sharma wrote:
Hi Gavin,
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Anybody has suggestions on this crash?
[c02dc4dc] __schedule+0x654/0x788
[c02dc6f4] schedule+0x4c/0xe4
[c02dbe24] __compat_down+0xc8/0x12c
[c0
Satyam Sharma wrote:
Hi Gavin,
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Here is the all output I have:
# ifconfig mgt0 10.0.51.27
BUG: scheduling while atomic: exe/0x0101/752
Yup, you can't sleep in taskets, they're atomic.
caller is schedule+0x4c/0xe4
Call t
Satyam Sharma wrote:
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Thanks, Satyam. So I can replace the tasklet with kernel thread?
That depends on what you want to do ...
[ BTW: I should correct a typo in my original reply -- I should've said
"scheduling while atomic"
Satyam Sharma wrote:
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
I mean kernel thread could sleep, but tasklet can't. If so, it meet my
requirements.
That's not really a justification to convert a tasklet to a kernel
thread.
I suspect the simplest solution to your pro
Hi All,
I have 2 questions on XMON of 2.6 kernel. Any answers are appreciated!
1) Any engineer is still developing for XMON and who is the maintainer?
2) When I issued command "ls", XMON told me there are no sysmap or
sysmap_size. Do you know how to include the sysmap?
mon> ls
: No sysmap or
I want to change the IP TOS inside ioctl callback of ethernet driver,
but don't know how to do this. Anybody has ideas?
Thanks in advance,
Gavin.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http:/
All,
I want to access kdb explicitly. For example, I could recognize the
special characters inside console driver. If the the special characters
are detected , then drop to kdb immediately. However, I don't know what
should I to do after the special characters received.
Thanks,
Gavin
-
To un
Jiri Kosina wrote:
On Fri, 1 Jun 2007, gshan wrote:
I want to access kdb explicitly. For example, I could recognize the
special characters inside console driver. If the the special characters
are detected , then drop to kdb immediately. However, I don't know what
should I to do afte
Hey Guys,
Recently, I'm working on xmon. The xmon needs sysmap for symbol lookup,
however I don't know how to include sysmap to uImage. I looked the
kernel source code for a while and found the kernel image need contain
struct bi_record *rec. Everybody knows how to include this?
arch/ppc/ker
Randy Dunlap wrote:
On Tue, 26 Jun 2007 23:03:55 -0400 Shan, Guo Wen (Gavin) wrote:
Does anybody knew if 2.6 linux for PowerPC supports kdb?
PowerPC isn't listed AFAICT:
ftp://oss.sgi.com/www/projects/kdb/download/v4.4/README
I.e., all that I see are i386, x86_64, and ia64.
---
~Ran
Hey Guys,
I got a strange problem recently but no ideas, so to post the question
here. We have a FPGA what finish ATM AAL5 to ethernet frame, and CPU
receives IP packets from it. The interface based on the FPGA (called
sar0) has been bound with several IP addresses. When the MTU of the
interf
This morning, I tried command "kill -7 [pid]" but didn't see the core
file. Anybody has ideas?
bash-2.05b# ps
PID USER COMMAND
1 0init
2 0[ksoftirqd/0]
3 0[watchdog/0]
4 0[events/0]
5 0[khelper]
6 0[kthread]
36 0
Willy Tarreau wrote:
On Thu, May 24, 2007 at 11:28:15AM +0800, gshan wrote:
This morning, I tried command "kill -7 [pid]" but didn't see the core
file. Anybody has ideas?
do the following before starting your program :
# ulimit -c unlimited
You can check before and
The kernel crashed inside timer handler. Anyone has ideas? The Linux I'm
using is 2.6.19. Thanks in advance!
BUG: soft lockup detected on CPU#0!
Call Trace:
[C0395EA0] [C000C308] show_stack+0x58/0x180 (unreliable)
[C0395ED0] [C0043A18] softlockup_tick+0xac/0xc8
[C0395EF0] [C00223C4] run_lo
Hi Folks,
I got problem to boot linux 2.6.25 using u-boot-1.1.4, any ideas?
-
U-Boot 1.1.4 (Apr 14 2007 - 00:57:01)
CPU: XPC850xxZTB at 50 MHz: 2 kB I-Cache 1 kB D-Cache
Board: ### No HW ID - assuming TQM8xxL
DRAM: 8 MB
FLASH: 4 MB
In:serial
Out: serial
Err:
Sorry, the version of linux should be 2.6.15 for MPC8xx, which is
included in ELDK.
gshan wrote:
Hi Folks,
I got problem to boot linux 2.6.25 using u-boot-1.1.4, any ideas?
-
U-Boot 1.1.4 (Apr 14 2007 - 00:57:01)
CPU: XPC850xxZTB at 50 MHz: 2 kB I-Cache 1 kB D
I'm using eldk4, there are no problems.
Wang, Baojun wrote:
PROBLEM: linux kernel 2.6.20.6 build failed for ppc board chestnut(ibm ppc
750GX/FX)
STEPS I followed:
1) make ARCH=ppc CROSS_COMPILE=ppc_4xx- chestnut_defconfig # toolchain from
eldk 4.1
2) make ARCH=ppc CROSS_COMPILE=ppc_4xx- V=1
Hey Guys,
The CPU was spinning when executing in head_8xx.S::initial_mmu. I have
located the instruction that cause the spinning through on-board leds.
Do you have any ideas?
#ifdef CONFIG_8xx_COPYBACK
mtspr SPRN_DC_CST, r8 <<<
The spinning was cau
Hi Folks,
I got a questions on printk and console_drivers. I have 2 serial ports
and want to see output from all of them. So I registered 2 console
driver using register_console. I can see the output from serial port 1
after it was registered, but can't see any output from it after serial
por
Hi,
I need 2 consoles for 2 individual serial ports that is registered by
register_console(). The console for the 1st serial port is registered at
first. I can see the output from the serial port #1 before the console
for the 2nd serial port is registered. However, I saw duplicated output
fro
Hi All,
After I started the NFS server, it crashed:
<3>Badness in local_bh_enable at
/home/cli4/sandbox/main/TelicaRoot/components/mvlinux/cge/devkit/lsp/7xx/linux/kernel/softirq.c:195
Badness in local_bh_enable at
/home/cli4/sandbox/main/TelicaRoot/components/mvlinux/cge/devkit/lsp/7xx/linux/
30 matches
Mail list logo