* Oops with kernel 2.6.8
@ 2007-11-02 5:45 kalyan tejaswi
2007-11-02 12:57 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: kalyan tejaswi @ 2007-11-02 5:45 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1.1: Type: text/plain, Size: 202 bytes --]
Hi all,
I am using Malta-4Kc with kernel 2.6.8(from linux-mips.org) compiled with
gcc 3.4.4.
I can not boot over NFS.
The console log is attached.
Any hints are greatly appreciated.
Regards
Kalyan
[-- Attachment #1.2: Type: text/html, Size: 405 bytes --]
[-- Attachment #2: console-log.txt --]
[-- Type: text/plain, Size: 7689 bytes --]
set
baseboardserial (RO) 0000000554
bootfile (R/W) vmlinux.srec
bootprot (R/W) tftp
bootserport (R/W) tty0
bootserver (R/W) 10.1.1.58
cpuconfig (R/W)
ethaddr (RO) 00.d0.a0.00.03.22
file (USER) vmlinux.srec-WUSAGI-WIPIP-ATM-EV6
gateway (R/W) 10.1.1.58
gdb (USER) gdbwait gdb8250=0 38400
ip (USER) 10.1.1.100:10.1.1.58:10.1.1.58:255.0.0.0:malta:eth0:off
ip_new (USER) 10.1.1.100:10.1.1.57:10.1.1.57:255.0.0.0:malta:eth0:off
ip_new1 (USER) 10.1.1.100:10.1.1.58:10.1.1.58:255.0.0.0:malta:eth0:off
ip_old (USER) 20.1.1.100:20.1.1.58:20.1.1.58:255.0.0.0:malta:eth0:off
ipaddr (R/W) 10.1.1.100
memsize (RO) 0x04000000
modetty0 (R/W) 38400,n,8,1,hw
modetty1 (R/W) 38400,n,8,1,hw
newroot (USER) /root/kishore/lxdb26
newroot-temp (USER) /home/jeetendr/root_filesystem-1.3-4k
newroot1 (USER) /home/jeetendr/root4K
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bnewroot2 (USER) /root/kalyan/root_filesystem
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bnewroot3 (USER) /root/kishore/root_filesystem-4K
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bnewroot4 (USER) /root/kishore/lxdb-1-2-lfs
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bnfsroot (USER) /root/kishore/lxdb-1-2-user-lfs
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bprompt (R/W) YAMON-4K
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\brootpath (USER) /root/kishore/r1-alpha-rootfs
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bserver (USER) 10.1.1.58
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bstart (R/W) load; go . ip=$ip root=/dev/nfs nfsroot=$newroot panic=1
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bstart_old (USER) load; go . ip=$ip root=/dev/nfs nfsroot=$rootpath
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bsubnetmask (R/W) 255.255.255.0
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\byamonrev (RO) 02.02
Press any key (Ctrl-C to break, Enter to singlestep)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
YAMON-4K>
YAMON-4K> load; go . ip=$ip root=/dev/nfs nfsroot=$newroot-temp
About to load tftp://10.1.1.58/vmlinux.srec
Press Ctrl-C to break
........................................
........................................
........................................
........................................
........................................
........................................
....................................
Start = 0x8030d018, range = (0x80100000,0x80329085), format = SREC
LINUX started...
Config serial console: console=ttyS0,38400n8r
Linux version 2.6.8 (kalyan@lxdb02) (gcc version 3.4.4 20050119 (MIPS SDE)) #9 Fri Nov 2 09:26:32 IST 2007
CPU revision is: 00018005
Determined physical RAM map:
memory: 00001000 @ 00000000 (reserved)
memory: 000ef000 @ 00001000 (ROM data)
memory: 00251000 @ 000f0000 (reserved)
memory: 03cbf000 @ 00341000 (usable)
Built 1 zonelists
Kernel command line: ip=10.1.1.100:10.1.1.58:10.1.1.58:255.0.0.0:malta:eth0:off root=/dev/nfs nfsroot=/home/jeetendr/root_filesystem-1.3-4k console=ttyS0,38400n8r
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB 4-way, linesize 16 bytes.
PID hash table entries: 512 (order 9: 4096 bytes)
CPU frequency 125.01 MHz
Using 62.506 MHz high precision timer.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 61488k/62204k available (1619k kernel code, 632k reserved, 476k data, 116k init, 0k highmem)
Calibrating delay loop... 123.39 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction... available.
CPU 0 Unable to handle kernel paging request at virtual address 00000014, epc == 80172128, ra == 80172130
Oops in arch/mips/mm/fault.c::do_page_fault, line 167[#1]:
Cpu 0
$ 0 : 00000000 1000fc00 00000000 802c2000
$ 4 : 802c2000 83fc186c 00000000 80163d80
$ 8 : 00000008 801dae28 000008ac 00000000
$12 : 80330000 00000000 8032c257 0000000a
$16 : 00000000 83fc1900 83fc186c ffffffe9
$20 : 00000000 00000000 80330000 00000000
$24 : 00000000 8032c623
$28 : 802be000 802bfe48 8009e370 80172130
Hi : 00000000
Lo : 000008ac
epc : 80172128 do_pipe+0x58/0x320 Not tainted
ra : 80172130 do_pipe+0x60/0x320
Status: 1000fc03 KERNEL EXL IE
Cause : 90800008
BadVA : 83fc1900
PrId : 00018005
Modules linked in:
Process swapper (pid: 0, threadinfo=802be000, task=802c2000)
Stack : 80330000 00000000 8032c257 0000000a 00418937 000026b5 80334254 00418937
00000060 802c0000 8032cb6f 00000060 00000000 8032c623 1000fc03 b22cc700
00000000 8010045c 00800b00 00000000 00000000 00000000 00000000 00000000
8009e370 801072fc 802bfec0 83fff340 802cb3cc 00000501 0000000c 00000008
8010b3e8 802c0000 00800b00 00000000 802bff80 0000001d 802c0000 802c0000
...
Call Trace:
[<8010045c>] init+0x0/0x254
[<801072fc>] sys_pipe+0x24/0x48
[<8010b3e8>] stack_done+0x24/0x40
[<801283c8>] release_console_sem+0x120/0x314
[<801284d0>] release_console_sem+0x228/0x314
[<8010045c>] init+0x0/0x254
[<8010041c>] rest_init+0x1c/0x28
[<8010548c>] kernel_thread+0x38/0x7c
[<8010041c>] rest_init+0x1c/0x28
[<8030d81c>] start_kernel+0x1b0/0x1d8
[<8030d814>] start_kernel+0x1a8/0x1d8
[<8030d24c>] unknown_bootoption+0x0/0x280
[<8030d08c>] nosmp+0x0/0x10
Code: 00409021 3c168033 8ec23050 <0c05ffb0> 8c440014 1040009b 00408021 0c05c801 00402021
Kernel panic: Attempted to kill the idle task!
In idle task - not syncing
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Oops with kernel 2.6.8
2007-11-02 5:45 Oops with kernel 2.6.8 kalyan tejaswi
@ 2007-11-02 12:57 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-11-02 12:57 UTC (permalink / raw)
To: kalyan tejaswi; +Cc: linux-mips
On Fri, Nov 02, 2007 at 11:15:51AM +0530, kalyan tejaswi wrote:
> Hi all,
> I am using Malta-4Kc with kernel 2.6.8(from linux-mips.org) compiled with
> gcc 3.4.4.
>
> I can not boot over NFS.
>
> The console log is attached.
>
> Any hints are greatly appreciated.
2.6.8 is really old, over 3 years now. So forgive if memory of the bugs
in that kernel is fading. I think the one you're seeing was was caused
by memory prefetching beyond the end of memory. The easy fix is to disable
prefetching. See a modern memcpy for how to do that. There are several
other interesting issues hidden in 2.6.8 so I think you really should
upgrade.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-02 12:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 5:45 Oops with kernel 2.6.8 kalyan tejaswi
2007-11-02 12:57 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox