Skip to contentSkip to conversation

Oops during boot on Netra X1 with 2.6.18 in isa_dev_get_resource

DISCUSSION Jurij Smakov 2 participants 2 messages Dec 23, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

Richard Mortimer (CC'd) reported an oops when booting 2.6.18 on

Quoted 6 lines · Netra X1. Richard writes:

I believe that the problem is due to a null pointer being returned from of_get_property in isa_dev_get_resource() arch/sparc64/kernel/isa.c. Enclosed is a disassembly of the appropriate bit of code along with the prtconf -pv output for the isa device tree. I wonder if the problem might be the fact that the todm5819 node does not have "reg" properties.

All the debugging information is included in Debian bug report at

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug@4216

Best regards,

Signature · 2 lines
Jurij Smakov                                           [email protected]
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
#1 lore raw

Re: Oops during boot on Netra X1 with 2.6.18 in

Hi,

Quoted 10 lines

Richard Mortimer (CC'd) reported an oops when booting 2.6.18 on

Quoted 6 lines · Netra X1. Richard writes:

I believe that the problem is due to a null pointer being returned from of_get_property in isa_dev_get_resource() arch/sparc64/kernel/isa.c. Enclosed is a disassembly of the appropriate bit of code along with the prtconf -pv output for the isa device tree. I wonder if the problem might be the fact that the todm5819 node does not have "reg" properties.

Quoted 3 lines

All the debugging information is included in Debian bug report at

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug@4216

I've just got myself an uptodate git tree and confirmed the same problem in 2.6.20 and have (hopefully) sent a couple of patches to DaveM that fix the problem and remove some unused function parameters.

I haven't tried the fix on Debian/2.6.18 yet but expect that it will work there too.

Side note: 2.6.20 wasn't happy with the networks (I gave up waiting in the end) but it was reporting lots of unaligned accesses. I haven't took a look to identify the offending bits of code/structures but following are typical console messages.

Kernel unaligned access at TPC[51cf0c] Kernel unaligned access at TPC[51cf0c]

ip_fast_csum+0x14/0x80
ip_fast_csum+0x14/0x80
Kernel unaligned access at TPC[51cf14] Kernel unaligned access at TPC[51cf14]
ip_fast_csum+0x1c/0x80
ip_fast_csum+0x1c/0x80
Kernel unaligned access at TPC[5f1534] Kernel unaligned access at TPC[5f1534]
ip_rcv+0xd0/0x588
ip_rcv+0xd0/0x588
Kernel unaligned access at TPC[51cf04] Kernel unaligned access at TPC[51cf04]
ip_fast_csum+0xc/0x80
ip_fast_csum+0xc/0x80
Kernel unaligned access at TPC[51cf08] Kernel unaligned access at TPC[51cf08]
ip_fast_csum+0x10/0x80
ip_fast_csum+0x10/0x80

Regards

Richard