Re: EHCI Kernel panic on current BK 2.5

From: Zwane Mwaikambo (zwane@holomorphy.com)
Date: Tue Nov 26 2002 - 15:43:41 EST


On Tue, 26 Nov 2002 chrisl@vmware.com wrote:

> I try to setup the usb 2.0 hard disk on my desktop in 2.5.
> It works great with uhci driver. (2.4 and 2.5).
>
> When I try modprobe ehci-hcd in 2.5. Kernel panic. It seems
> that kernel OOPS inside the panic handle code again.
>
> I can't get the full OOPS from the serial console either.
>
> I am typing it here. I can only see the last screen.
> It might have some typo and emotion.
>
> EIP is at scheduler_tick+0x92/0x360
> eax: 00000000 ebx: 00000000 ecx: 00000001 edx: 00000003
> esi: dd5e3000 edi: 00000001 ebp: dd5b9ed0 esp: dd5b9ec0
> ds: 0068 es: 0068 ss:068
> Process (pid:26, threadinfo=dd5b8000 task=dd5e3000)
> Stack: 0000002 000000 0000001 000000 dd5b9f80

Possibly it could be this?

/* Task might have expired already, but not scheduled off yet */
if (p->array != rq->active) {
        set_tsk_need_resched(p); <-- [1]
        return;
}

static inline void set_ti_thread_flag(struct thread_info *ti, int flag)
{
        set_bit(flag,&ti->flags); <-- [2]
}

static __inline__ void set_bit(int nr, volatile unsigned long * addr)
{
        __asm__ __volatile__( LOCK_PREFIX
                "btsl %1,%0"
                :"=m" (ADDR)
                :"Ir" (nr));
}

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
   0: 0f ab 50 08 bts %edx,0x8(%eax)
Code; 00000004 Before first symbol
   4: 8d 65 f4 lea 0xfffffff4(%ebp),%esp

So addr was NULL it seems, perhaps we're not supposed to be in here in the
first place ?

-- 
function.linuxpower.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:15 EST