-rt10 build problem [WAS]Re: scsi_eh / 1394 bug - -rt7

From: Mark Knecht
Date: Wed Oct 19 2005 - 09:54:01 EST


On 10/19/05, Ingo Molnar <mingo@xxxxxxx> wrote:
>
> * Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > > Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> > > usb 2-1: USB disconnect, address 2
> > > prev->state: 2 != TASK_RUNNING??
> > > scsi_eh_0/12648[CPU#0]: BUG in __schedule at kernel/sched.c:3326
> > > [<c01048b9>] dump_stack+0x19/0x20 (20)
> > > [<c011e766>] __WARN_ON+0x46/0x80 (12)
> > > [<c02c0bf7>] __schedule+0x547/0x790 (84)
> > > [<c012057a>] do_exit+0x26a/0x430 (28)
> > > [<c010147b>] kernel_thread_helper+0xb/0x10 (1020129312)
> > >
> >
> > This is also a problem in the upstream kernel. It's just that RT
> > catches it! Here's the patch. I'll also write one for the upstream
> > kernel, although this patch would probably work there as well. But
> > I'll make it official.
> >
> > Ingo,
> >
> > Here's the patch. The problem is similar to the pcmcia bug. It seems
> > that the loop usually exits in the TASK_INTERRUPTIBLE state.
>
> thanks, applied and released in 2.6.14-rc4-rt10.
>
> Ingo
>

Problem building 2.6.14-rc4-rt10. The only change to my config file
was to turn on a few options for Mac disks. I doubt that's involved
with this. I will send the .config file if requested.

Thanks for looking after this SCSI error. I'm anxious to see that go away.

Cheers,
Mark

CC kernel/pid.o
CC kernel/rcupdate.o
CC kernel/intermodule.o
kernel/intermodule.c:178: warning: `inter_module_register' is
deprecated (declared at kernel/intermodule.c:38)
kernel/intermodule.c:179: warning: `inter_module_unregister' is
deprecated (declared at kernel/intermodule.c:78)
kernel/intermodule.c:181: warning: `inter_module_put' is deprecated
(declared at kernel/intermodule.c:159)
CC kernel/extable.o
CC kernel/params.o
CC kernel/posix-timers.o
CC kernel/kthread.o
CC kernel/wait.o
CC kernel/kfifo.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
CC kernel/ktimers.o
kernel/ktimers.c: In function `check_ktimer_signal':
kernel/ktimers.c:1212: error: request for member `tv' in something not
a structure or union
kernel/ktimers.c:1212: error: request for member `tv' in something not
a structure or union
kernel/ktimers.c:1214: error: request for member `tv' in something not
a structure or union
kernel/ktimers.c:1214: error: request for member `tv' in something not
a structure or union
kernel/ktimers.c:1218: error: request for member `tv' in something not
a structure or union
kernel/ktimers.c:1218: error: request for member `tv' in something not
a structure or union
kernel/ktimers.c:1220: error: request for member `tv' in something not
a structure or union
kernel/ktimers.c:1220: error: request for member `tv' in something not
a structure or union
kernel/ktimers.c:1222: error: request for member `tv' in something not
a structure or union
kernel/ktimers.c:1222: error: request for member `tv' in something not
a structure or union
make[1]: *** [kernel/ktimers.o] Error 1
make: *** [kernel] Error 2
lightning linux #
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/