Hi, Thanks for your fast response.
Yes, it prints kgdb is enabled, but I am not able to establish connection from remote gdb. Actually I am working with a mips based board, not a PC. Here, the bootloader is not grub, but it's already burned in the flash of the board. It will give a prompt so that we can enter the kgdboe parameters before booting. (Please refer the attached boot log.) I have compiled the kernel using mips-linux-uclibc- cross compiler which was downloaded using "buildroot" system (uclibc.org). Please find the kernel boot log and configuration file attached. Thank you, Gireesh > But it seems kgdboe is enabled. Are those kgdb messages from your dmesg? > > Please send us grub.conf, dmesg output and kernel .config file. > > > ...Milind > http://www.linsyssoft.com/Kgdbpro.html > > On Thu, 2006-04-27 at 15:36 +0530, [EMAIL PROTECTED] wrote: >> Hi Milind, >> >> Hope you remember me. We talked (through mails from >> [EMAIL PROTECTED]) some time back regarding kgdb over ethernet >> issue on i386. >> >> Now I'm trying to port 2.6.10 kernel on a MIPS based board with kgdb >> over >> ethernet support. The issue is, the ethernet driver for the board >> doesn't >> have netpoll implementation. I tried to implement the same but while >> booting, it displays the following message. >> >> kgdboe: device eth1 not up yet, forcing it >> kgdboe: carrier detect appears flaky, waiting 10 seconds >> kgdb: debugging over ethernet enabled >> >> In the netpoll function implementation, I implemented three things. >> 1. Disable irq >> 2. Poll for packets >> 3. Enable irq >> >> I took Intel e100 driver as reference (linux-2.6.10/drivers/net/e100.c). >> >> Can you please suggest me where should I look at to fix this? >> >> Waiting for your reply, >> Gireesh >> >> >> >> >> eInfochips Business Disclaimer: >> This message may contain confidential, proprietary or legally Privileged >> information. In case you are not the original intended Recipient of the >> message, you must not, directly or indirectly, use, Disclose, >> distribute, print, or copy any part of this message and you are >> requested to delete it and inform the sender. Any views expressed in >> this message are those of the individual sender unless otherwise stated. >> Nothing contained in this message shall be construed as an offer or >> acceptance of any offer by eInfochips Limited and/or eInfochips >> Inc("eInfochips") unless sent with that express intent and with due >> authority of eInfochips. eInfochips has taken enough precautions to >> prevent the spread of viruses. However the company accepts no liability >> for any damage caused by any virus transmitted by this email. >> >> > > > > eInfochips Business Disclaimer: > This message may contain confidential, proprietary or legally Privileged > information. In case you are not the original intended Recipient of the > message, you must not, directly or indirectly, use, Disclose, distribute, > print, or copy any part of this message and you are requested to delete it > and inform the sender. Any views expressed in this message are those of > the individual sender unless otherwise stated. Nothing contained in this > message shall be construed as an offer or acceptance of any offer by > eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent with > that express intent and with due authority of eInfochips. eInfochips has > taken enough precautions to prevent the spread of viruses. However the > company accepts no liability for any damage caused by any virus > transmitted by this email. >
kernel_config
Description: Binary data
Press ESC for monitor... 1
(eBoot) boot [EMAIL PROTECTED]/,@192.168.9.158/
Booting...
Launching kernel decompressor.
Kernel decompressor was successful ... launching kernel.
LINUX started...
Config serial console: console=ttyS0,9600n8r
Linux version 2.6.10_dev-malta-mips2_fp_len ([EMAIL PROTECTED]) (gcc version
3.4.3) #10 Thu Apr 27 12:27:59 IST 206CPU revision is: 00018448
Communication Processor detected
Determined physical RAM map:
memory: 14001000 @ 00000000 (reserved)
memory: 0001f000 @ 14001000 (ROM data)
memory: 0021a000 @ 14020000 (reserved)
memory: 03dc6000 @ 1423a000 (usable)
Built 1 zonelists
Kernel command line: [EMAIL PROTECTED]/,@192.168.9.158/ console=ttyS0,9600n8r
kgdboe: local port 6443
kgdboe: local IP 192.168.9.111
kgdboe: interface eth1
kgdboe: remote port 6442
kgdboe: remote IP 192.168.9.158
kgdboe: remote ethernet address ff:ff:ff:ff:ff:ff
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 512 (order: 9, 8192 bytes)
CPU frequency 162.50 MHz
Using 81.250 MHz high precision timer.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Freeing Bootloader reserved memory [0x0001f000 @ 0x14001000]
Memory: 62656k/65536k available (1643k kernel code, 2788k reserved, 313k data,
108k init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction... available.
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
softirq RT prio: 24.
desched cpu_callback 2/00000000
desched thread 0 started up.
Optimizations: Allocating Cached Memory Pool.
Warning: Number of buffers is not configured. Setting default to 512
Using 512 Buffers for Cached Memory Pool.
NSP Optimizations: Succesfully allocated Cached Memory Pool.
NET: Registered protocol family 16
Can't analyze prologue code at 941b87c8
SCSI subsystem initialized
Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
ttyS0 at (irq = 15) is a 16550A
io scheduler noop registered
Error getting CPMAC Configuration params for instance:0
Environment Variable:MACCFG_A not set in bootloader
Setting Default configuration params for CPMAC instance:0
MAC CFG : Tx Interrupts off , threshold : 20
Error getting CPMAC Configuration params for instance:1
Environment Variable:MACCFG_B not set in bootloader
Setting Default configuration params for CPMAC instance:1
MAC CFG : Tx Interrupts off , threshold : 20
CPMAC Linux DDA version 2.0 - CPMAC DDC version 0.3
Cpmac: Installed 2 instances.
Cpmac driver is allocating buffer memory at init time.
elevator: using noop as default io scheduler
flash device: 0x800000 at 0x10000000.
Primary flash device: Found 2 x16 devices at 0x0 in 32-bit bank
Intel/Sharp Extended Query Table at 0x0035
cfi_cmdset_0001: Erase suspend on write enabled
flash device: 0x800000 at 0x1d000000.
Secondary flash device: Found 2 x16 devices at 0x0 in 32-bit bank
Intel/Sharp Extended Query Table at 0x0035
cfi_cmdset_0001: Erase suspend on write enabled
Looking for mtd device :mtd0:
Found a mtd0 image (0x120000), with size (0xe9000).
Creating 1 MTD partitions on "Primary flash device":
0x00120000-0x00209000 : "mtd0"
mtd: partition "mtd0" doesn't end on an erase block -- force read-only
Looking for mtd device :mtd1:
Found a mtd1 image (0x20000), with size (0xe68c0).
Creating 1 MTD partitions on "Primary flash device":
0x00020000-0x001068c0 : "mtd1"
mtd: partition "mtd1" doesn't end on an erase block -- force read-only
Looking for mtd device :mtd2:
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
kgdboe: device eth1 not up yet, forcing it
kgdboe: carrier detect appears flaky, waiting 10 seconds
kgdb: debugging over ethernet enabled
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 108k freed
init started: BusyBox v1.00 (2006.03.29-06:58+0000Algorithmics/MIPS FPU
Emulator v1.5
) multi-call binary
init started: BusyBox v1.00 (2006.03.29-06:58+0000) multi-call binary
Starting pid 78, console /dev/tts/0: '/etc/init.d/rcS'
mount: Mounting /dev/root on / failed: Permission denied
Please press Enter to activate this console.
Starting pid 100, console /dev/tts/0: '/bin/sh'
BusyBox v1.00 (2006.03.29-06:58+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
