> I am still experiencing difficulties in porting a 32-bit kernel device
> driver to 64-bit UltraSPARC. Currently the problem is when I do
> interruptible_sleep_on(&wq), where wq is defined as wait_queue_heat_t, the
> system hung there, and I have to reboot to continue work. The system log in
> /var/log/messages says,
> 
> "kernel: bag magic 0 (should be 1031df0, creator 0), wq bug, forcing oops"
> "kernel: btd(2466): Kernel bad trap"...
> 
> Sorry since the system is dead, I can not write more. But this is just what
> happend after a "interruptiable_sleep_on(&wq)" system call. I am using
> kernel 2.4.0-test2. I've totally lost clue on this, do not know where to
> find the bug. Any advices or suggestions are highly appreciated!

Look at include/linux/wait.h. Are you using initialising everything correctly?
(eg the init_waitqueue_* functions).

Your driver will get the same errors on 2.4 on other architectures.

Anton
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of the message to [EMAIL PROTECTED]

Reply via email to