[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] RAQ XTR kernel panic while building kernel



Greg Larkin wrote:

> And in the window that's monitoring the console serial port, I see:
> 
> Unable to handle kernel NULL pointer dereference at virtual address 00000003
> current->tss.cr3 = 00101000, %cr3 = 00101000
> *pde = 00000000
> Oops: 0002
> CPU:    0
> EIP:    0010:[<80121a15>]
> EFLAGS: 00010046
> eax: 804fed10   ebx: 0000faba   ecx: 80266940   edx: ffffffff
> esi: 00007d5d   edi: ffffffff   ebp: 00000202   esp: 8fefbcb0
> ds: 0018   es: 0018   ss: 0018
> Process init (pid: 1, process nr: 1, stackpage=8fefb000)
> Stack: 8fba1084 8fb8a13c 00000000 8fefbcd4 00000001 80266940 00000000
> 8022be00
>        300002da 801223a7 0044e000 00000001 000000c8 000087b4 8fed9a00
> 801c08a8
>        00000001 8011a3f0 8faba000 00000001 8fefbe14 00000004 8fba00a0
> 0804e000
> Call Trace: [<8022be00>] [<801223a7>] [<801c08a8>] [<8011a3f0>] [<801114e0>]
> [<8
> 011bef9>] [<8010a836>]
>        [<8011275d>] [<80112754>] [<801181c8>] [<80112715>] [<801171d6>]
> [<801171
> cd>] [<80109ae8>] [<80109ac0>]
>        [<801f8820>] [<8010eeaf>] [<801f886e>] [<801a58f1>] [<80109705>]
> [<801b00
> 18>] [<80121a15>] [<80121a4e>]
>        [<8012e5cc>] [<8012e8a8>] [<8012e87c>] [<8012ed48>] [<801095f4>]
> [<80117b
> 55>] [<801095f0>]
> Code: 89 42 04 89 01 ff 41 0c 55 9d 5b 5e 5f 5d 83 c4 1c c3 05 00

GACK!!  This should never happen.


> My question is - should I be doing something different to rebuild the
> kernel?  I had tried "make bzImage" first, but I found out that won't work

your build process is pretty correct.  This suggests to me that something
is unhappy - perhaps memory.  I hate to say that, given that you've already
RMA'd once - is this crash reproducible?  that is to say - does it crash
the same way at the same place every time?  Can you make it crash in any
other way?


> on the Cobalt machine.  I can access the boot menu via the serial port
> console, so I think I can boot a rebuilt kernel from the disk once the build
> succeeds.  Does anyone have a pointer to instructions on building a custom
> Cobalt kernel on the RAQ XTR?

There is a Tech Note on kernels (for Qube3, but the same is true for XTRs)
at ftp://ftp.cobaltnet.com/pub/developer/TechNotes/DNT6-1-1.pdf

-- 
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@xxxxxxx