Skip to contentSkip to conversation

Status of 2.6.22-rc3 ?

parisc-linux Kyle McMartin 4 participants 9 messages May 27, 2007 – May 30, 2007 7 messages not in the archive PA-RISC architecture

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 18 lines · Helge Deller

Synthesizing the initial hotplug events...done. Waiting for /dev to be fully populated...<2>Backtrace:

 [<1011326c>] unwind_frame_regs+0x48/0x220
 [<10113578>] unwind_once+0x10/0x48
 [<1011284c>] get_wchan+0x2c/0x68
 [<101b9308>] do_task_stat+0x24c/0x500
 [<101b4f34>] proc_info_read+0x88/0x108
 [<10179db0>] vfs_read+0x8c/0x138
 [<1017a10c>] sys_read+0x5c/0xa4
 [<1010c080>] syscall_exit+0x0/0x28
BUG: spinlock recursion on CPU#0, udevd/560
 lock: 1056e08c, .magic: dead4ead, .owner: udevd/560, .owner_cpu: 0
Backtrace:
 [<1026c5d0>] _raw_spin_lock+0x50/0xa4
 [<101076cc>] parisc_terminate+0x58/0xe8
 [<10107cbc>] handle_interruption+0x560/0x58c
 [<1010b080>] intr_check_sig+0x0/0x34
BUG: spinlock lockup on CPU#0, udevd/560, 1056e08c

What compiler version did you use to build?

Cheers,
Kyle

maintainer
#3 lore raw
In reply to a message not in the archive
Quoted 20 lines · Kyle McMartin
Quoted 18 lines · Helge Deller

Synthesizing the initial hotplug events...done. Waiting for /dev to be fully populated...<2>Backtrace:

 [<1011326c>] unwind_frame_regs+0x48/0x220
 [<10113578>] unwind_once+0x10/0x48
 [<1011284c>] get_wchan+0x2c/0x68
 [<101b9308>] do_task_stat+0x24c/0x500
 [<101b4f34>] proc_info_read+0x88/0x108
 [<10179db0>] vfs_read+0x8c/0x138
 [<1017a10c>] sys_read+0x5c/0xa4
 [<1010c080>] syscall_exit+0x0/0x28
BUG: spinlock recursion on CPU#0, udevd/560
 lock: 1056e08c, .magic: dead4ead, .owner: udevd/560, .owner_cpu: 0
Backtrace:
 [<1026c5d0>] _raw_spin_lock+0x50/0xa4
 [<101076cc>] parisc_terminate+0x58/0xe8
 [<10107cbc>] handle_interruption+0x560/0x58c
 [<1010b080>] intr_check_sig+0x0/0x34
BUG: spinlock lockup on CPU#0, udevd/560, 1056e08c
Quoted 1 line

What compiler version did you use to build?

hppa-linux-gcc (GCC) 3.3.4 (Debian 1:3.3.4-11)
(cross-compiling from i386 -> parisc 32bit)
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#5 lore raw
In reply to a message not in the archive
Quoted 21 lines · Helge Deller
Quoted 20 lines · Kyle McMartin
Quoted 18 lines · Helge Deller

Synthesizing the initial hotplug events...done. Waiting for /dev to be fully populated...<2>Backtrace:

 [<1011326c>] unwind_frame_regs+0x48/0x220
 [<10113578>] unwind_once+0x10/0x48
 [<1011284c>] get_wchan+0x2c/0x68
 [<101b9308>] do_task_stat+0x24c/0x500
 [<101b4f34>] proc_info_read+0x88/0x108
 [<10179db0>] vfs_read+0x8c/0x138
 [<1017a10c>] sys_read+0x5c/0xa4
 [<1010c080>] syscall_exit+0x0/0x28
BUG: spinlock recursion on CPU#0, udevd/560
 lock: 1056e08c, .magic: dead4ead, .owner: udevd/560, .owner_cpu: 0
Backtrace:
 [<1026c5d0>] _raw_spin_lock+0x50/0xa4
 [<101076cc>] parisc_terminate+0x58/0xe8
 [<10107cbc>] handle_interruption+0x560/0x58c
 [<1010b080>] intr_check_sig+0x0/0x34
BUG: spinlock lockup on CPU#0, udevd/560, 1056e08c
Quoted 5 lines
Quoted 1 line

What compiler version did you use to build?

hppa-linux-gcc (GCC) 3.3.4 (Debian 1:3.3.4-11)
(cross-compiling from i386 -> parisc 32bit)

Ok. I'll try to get a machine plugged in this week and take a look.

Hmm, is spinlock debugging enabled? Does it make a difference if you turn that off?

maintainer
#7 lore raw
In reply to a message not in the archive
Quoted 24 lines · you
Quoted 23 lines · Helge Deller
Quoted 21 lines · Kyle McMartin
Quoted 18 lines · Helge Deller

Synthesizing the initial hotplug events...done. Waiting for /dev to be fully populated...<2>Backtrace:

 [<1011326c>] unwind_frame_regs+0x48/0x220
 [<10113578>] unwind_once+0x10/0x48
 [<1011284c>] get_wchan+0x2c/0x68
 [<101b9308>] do_task_stat+0x24c/0x500
 [<101b4f34>] proc_info_read+0x88/0x108
 [<10179db0>] vfs_read+0x8c/0x138
 [<1017a10c>] sys_read+0x5c/0xa4
 [<1010c080>] syscall_exit+0x0/0x28
BUG: spinlock recursion on CPU#0, udevd/560
 lock: 1056e08c, .magic: dead4ead, .owner: udevd/560, .owner_cpu: 0
Backtrace:
 [<1026c5d0>] _raw_spin_lock+0x50/0xa4
 [<101076cc>] parisc_terminate+0x58/0xe8
 [<10107cbc>] handle_interruption+0x560/0x58c
 [<1010b080>] intr_check_sig+0x0/0x34
BUG: spinlock lockup on CPU#0, udevd/560, 1056e08c

What compiler version did you use to build?

Quoted 8 lines
Quoted 3 lines

hppa-linux-gcc (GCC) 3.3.4 (Debian 1:3.3.4-11)
(cross-compiling from i386 -> parisc 32bit)

Ok. I'll try to get a machine plugged in this week and take a look.

Hmm, is spinlock debugging enabled? Does it make a difference if you turn that off?

Yes, they were enabled, but turning them off gave the same problem:

Waiting for /dev to be fully populated...

Backtrace:
 [<101124fc>] unwind_frame_regs+0x48/0x220
 [<10112808>] unwind_once+0x10/0x48
 [<10111b34>] get_wchan+0x2c/0x68
 [<101aed2c>] do_task_stat+0x244/0x4f8
 [<101aacb8>] proc_info_read+0x88/0x108
 [<10173d70>] vfs_read+0x8c/0x138
 [<101740cc>] sys_read+0x5c/0xa4
 [<1010c080>] syscall_exit+0x0/0x28
Backtrace:
 [<101124fc>] unwind_frame_regs+0x48/0x220
 [<10112808>] unwind_once+0x10/0x48
 [<10106ea8>] do_show_stack+0x28/0xac
 [<101074f8>] parisc_terminate+0x84/0xc8
 [<10107a9c>] handle_interruption+0x560/0x58c
 [<1010b080>] intr_check_sig+0x0/0x34

(...the last backtrace continues forever...)

Helge
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

maintainer
#9 lore raw
In reply to a message not in the archive
Quoted 6 lines · Helge Deller
Quoted 2 lines

Hmm, is spinlock debugging enabled? Does it make a difference if you turn that off?

Yes, they were enabled, but turning them off gave the same problem:

Waiting for /dev to be fully populated...

Quoted 9 lines
Backtrace:
 [<101124fc>] unwind_frame_regs+0x48/0x220
 [<10112808>] unwind_once+0x10/0x48
 [<10111b34>] get_wchan+0x2c/0x68
 [<101aed2c>] do_task_stat+0x244/0x4f8
 [<101aacb8>] proc_info_read+0x88/0x108
 [<10173d70>] vfs_read+0x8c/0x138
 [<101740cc>] sys_read+0x5c/0xa4
 [<1010c080>] syscall_exit+0x0/0x28

The trivial hack below fixed the crash....

root@c3000:~# uname -a
Linux c3000 2.6.22-rc3 #39 Sun May 27 22:53:32 CEST 2007 parisc GNU/Linux

Helge

arch/parisc/kernel/process.c +2 -0
index 0dd3847..f9f2b39 100644
@@ -385,6 +385,8 @@ get_wchan(struct task_struct *p)
         * These bracket the sleeping functions..
         */
 
+return 0; /* XXX */
+
        unwind_frame_init_from_blocked_task(&info, p);
        do {
                if (unwind_once(&info) < 0)

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#11 lore raw
In reply to a message not in the archive

arch/parisc/kernel/process.c get_wchan(struct task_struct *p) · line 389

Quoted 10 lines · Helge Deller
arch/parisc/kernel/process.c +2 -0
index 0dd3847..f9f2b39 100644
@@ -385,6 +385,8 @@ get_wchan(struct task_struct *p)
         * These bracket the sleeping functions..
         */
 
+return 0; /* XXX */
+

Try without CONFIG_KALLSYMS, I think somehow Alexey's patch to simply kallsyms may have broken things for us.

ffb45122766db220d0bf3d01848d575fbbcb6430 is the commit id.

Cheers,
Kyle

#13 lore raw
In reply to a message not in the archive
Quoted 9 lines · Kyle McMartin
Quoted 8 lines · Helge Deller
arch/parisc/kernel/process.c +0 -0
index 0dd3847..f9f2b39 100644
@@ -385,6 +385,8 @@ get_wchan(struct task_struct *p)
         * These bracket the sleeping functions..
         */
 
Quoted 6 lines

arch/parisc/kernel/process.c get_wchan(struct task_struct *p) · line 389

Quoted 2 lines
arch/parisc/kernel/process.c +2 -0
+return 0; /* XXX */
+

Try without CONFIG_KALLSYMS, I think somehow Alexey's patch to simply kallsyms may have broken things for us.

Building with CONFIG_KALLSYMS disabled gives a bootable kernel.

Quoted 1 line

ffb45122766db220d0bf3d01848d575fbbcb6430 is the commit id.

Digging that out

Signature · 2 lines
Thibaut VARENE
http://www.parisc-linux.org/~varenet/
#14 lore raw
In reply to a message not in the archive
Quoted 9 lines · Kyle McMartin
Quoted 8 lines · Helge Deller
arch/parisc/kernel/process.c +0 -0
index 0dd3847..f9f2b39 100644
@@ -385,6 +385,8 @@ get_wchan(struct task_struct *p)
         * These bracket the sleeping functions..
         */
 
Quoted 8 lines

arch/parisc/kernel/process.c get_wchan(struct task_struct *p) · line 389

Quoted 2 lines
arch/parisc/kernel/process.c +2 -0
+return 0; /* XXX */
+

Try without CONFIG_KALLSYMS, I think somehow Alexey's patch to simply kallsyms may have broken things for us.

ffb45122766db220d0bf3d01848d575fbbcb6430 is the commit id.

I don't see anything wrong with this patch.
It all looks pretty obvious to me.

I'm more inclined to believe something else changed in kallsyms_lookup() code path.

thanks,
grant

Quoted 7 lines

Cheers,
Kyle
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#15 lore raw
In reply to a message not in the archive
Quoted 1 line · Helge Deller

Ok.

Pushed out a new HEAD (cc650a7a9f5ebc3f9290a8e20e3f55b4f52f849e) which fixes the issues I was having booting on C8000.

http://git.kernel.org/git/?p=linux/kernel/git/kyle/parisc-2.6.git;a=commit;h=376e210b71d7736775f43f32c5c7712f90aaf59a

was the fix for why userspace was not working at all for a 64-bit kernel.

http://git.kernel.org/git/?p=linux/kernel/git/kyle/parisc-2.6.git;a=commit;h=cb9577958d85896303561d9cc8544885deb272be

was the fix for one(?) of the unwinder bugs. Well, the brown paper bag fix at least. Fix for the fix is pending upstream ack.

Now maybe I can get some sleep.

Cheers,
Kyle