LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 12-27-2006, 04:12 PM   #1
ashwinikr
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Rep: Reputation: 0
Kernel panic when booting via NFS


Hello all,

I am trying to get a headless embedded device (a soekris box) boot over NFS with debian. I have compiled kernel 2.6.18 for the target architecture. At the beginning, things seem ok, and the soekris box loads the image via PXE and starts running it. But it soon fails with the following dump:

[ 105.688223] Time: tsc clocksource has been installed.
[ 105.755031] ADDRCONF(NETDEV_UP): bond0: link is not ready
[ 105.820181] IRQ handler type mismatch for IRQ 10
[ 105.875612] [<c013ab5f>] setup_irq+0xff/0x1d0
[ 105.929137] [<c050f1a0>] intr_handler+0x0/0xb0
[ 105.983758] [<c013acbb>] request_irq+0x8b/0xa0
[ 106.038237] [<c050edf1>] netdev_open+0x31/0x1b0
[ 106.093880] [<c050f1a0>] intr_handler+0x0/0xb0
[ 106.148375] [<c098f1c3>] dev_open+0x33/0x80
[ 106.199747] [<c098e810>] dev_change_flags+0xe0/0x120
[ 106.260494] [<c0f8674d>] ip_auto_config+0x6cd/0xea0
[ 106.320187] [<c03850fc>] extract_entropy+0x6c/0xa0
[ 106.378842] [<c0100334>] init+0x74/0x260
[ 106.427621] [<c0102aa6>] ret_from_fork+0x6/0x20
[ 106.483144] [<c01002c0>] init+0x0/0x260
[ 106.530419] [<c01002c0>] init+0x0/0x260
[ 106.577682] [<c0100c95>] kernel_thread_helper+0x5/0x10
[ 106.640505] IP-Config: Failed to open eth0
[ 106.699530] Sending DHCP requests .Unknown ARP type 0x0309 for device ipddp0
[ 106.792697] BUG: unable to handle kernel NULL pointer dereference at virtual address 000000a0
[ 106.895078] printing eip:
[ 106.927533] c05bc337
[ 106.953740] *pde = 00000000
[ 106.987235] Oops: 0000 [#1]
[ 107.020675] PREEMPT
[ 107.047014] CPU: 0
[ 107.047035] EIP: 0060:[<c05bc337>] Not tainted VLI
[ 107.047072] EFLAGS: 00010246 (2.6.18 #2)
[ 107.187941] EIP is at ipddp_xmit+0x17/0x160
[ 107.238047] eax: 00000000 ebx: 00000000 ecx: c05bc320 edx: 00000101
[ 107.319378] esi: c12dd520 edi: c12dd520 ebp: c7ee1800 esp: c1209ed0
[ 107.400698] ds: 007b es: 007b ss: 0068
[ 107.449797] Process swapper (pid: 1, ti=c1208000 task=c1206ab0 task.ti=c1208000)
[ 107.536307] Stack: 00000000 c7ee1800 c12dd520 c77f1de0 c09aabe4 c12dd520 c7ee1800 c7ee1800
[ 107.637290] 00000000 c12dd520 c77a2ae0 c09909d5 c7ee1800 c77f5c30 c7ee1800 c77f5d48
[ 107.738273] c0f86598 c12dd520 00000000 00000000 00000000 00010000 00000006 ffff014e
[ 107.839258] Call Trace:
[ 107.870775] [<c09aabe4>] __qdisc_run+0x84/0x200
[ 107.926311] [<c09909d5>] dev_queue_xmit+0x115/0x2e0
[ 107.986006] [<c0f86598>] ip_auto_config+0x518/0xea0
[ 108.045706] [<c03850fc>] extract_entropy+0x6c/0xa0
[ 108.104362] [<c0100334>] init+0x74/0x260
[ 108.152614] [<c0102aa6>] ret_from_fork+0x6/0x20
[ 108.208149] [<c01002c0>] init+0x0/0x260
[ 108.255368] [<c01002c0>] init+0x0/0x260
[ 108.302583] [<c0100c95>] kernel_thread_helper+0x5/0x10
[ 108.365394] Code: 90 90 90 90 8b 44 24 04 8b 80 38 01 00 00 c3 90 8d 74 26 00 55 57 56 53 8b 74 24 14 8b 1d 08 e9 08 c1 8b
[ 108.598046] EIP: [<c05bc337>] ipddp_xmit+0x17/0x160 SS:ESP 0068:c1209ed0
[ 108.678749] <0>Kernel panic - not syncing: Fatal exception in interrupt
[ 108.759701]

I don't know what is going wrong. I couldn't seem to find anything similar on google. Any help would be greatly appreciated.

Regards,
Ashwini
 
Old 01-02-2007, 08:49 PM   #2
charleykadet
Member
 
Registered: Sep 2005
Location: Montreal
Distribution: Fedora Core 5, Gentoo, LFS
Posts: 83

Rep: Reputation: 15
In your target installation do you enable dhcp?? if yes, your computer try to get an ip when it alreary have one, and pxe fail due to connection fail during dhcp request.. In gentoo I have to put `config_eth0=( "noop" "192.168.1.2 netmask 255.255.255.0" )` in "/etc/conf.d/net" (on pxe computer)... I don't know the exact configuration on debian..
 
Old 01-04-2007, 02:30 PM   #3
ashwinikr
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply.

I am not sure what exactly you mean by "target installation", but yes, after loading the kernel image the box should configure its network using DHCP. Also, by "pxe computer" do you mean the target machine (which we are trying to boot)? If that is the case, then I will have to figure out how to make similar changes in the NFS hosted debian system that is being served out to the target machine, right? The thing I am not sure is that whether the file system has already been mounted before IP config starts. I maybe wrong, but I thought that the target machine configures its network before mounting the root file system and then sees the config files. If it has not been mounted then changing any configuration file will have no effect.

Please tell me if I am on right or wrong track.

Ashwini
 
Old 01-04-2007, 03:43 PM   #4
charleykadet
Member
 
Registered: Sep 2005
Location: Montreal
Distribution: Fedora Core 5, Gentoo, LFS
Posts: 83

Rep: Reputation: 15
You have the host ans client. client is the diskless installation. Your diskless installation (client) *MUST* not have any dhcp configuration.there is a little tuto: http://gentoo-wiki.com/HOWTO_Gentoo_Diskless_Install it works for me try to adapt this tuto to your debian installation
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic while booting gangaraju Fedora 7 06-19-2007 10:06 AM
kernel panic while booting telepuzikk Linux - Newbie 8 07-30-2006 08:54 AM
Kernel Panic @booting ! azul79 Linux - General 7 09-06-2004 10:30 AM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Kernel panic while booting with 2.6.3 duzhenhuan Debian 2 03-15-2004 06:50 AM


All times are GMT -5. The time now is 10:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration