Problem with mol on 7024-E30

Mati Ustav mol-general@lists.maconlinux.org
Mon, 14 Oct 2002 14:08:37 +0300


mol-general-admin@lists.maconlinux.org wrote on 11.10.2002 19:31:34:

> > I all , i've try to run mol on a ibm 7024-E30 , i need to run another
> > session of linux inside the main for develop purpose , i use debian 
3.0
> > ppc , i've use original .deb package , recompiling modules for my 
kernel
> > ( 2.4 ppc devel + 240_e30 patch ).
> >
> > i've got a kernel panik , here's logs , anyone have idea of the 
problem
> > ?
> 
[snip]
> 
> As for the kernel panic... has this machine an OpenFirmware?
> MOL does not really need the OF device tree but it is copied to
> userland anyway (possibly a NULL-check is missing somewhere).
> I'd be very interested to know if the kernel panic is still
> present with the 0.9.65 version (0.9.61 is _quite_ old).

Samuel,

I believe Marco is in the same boat as me :((

See my earlier post (sorry for the s/mime crap in there, that must've been 
why I got no replies ;)
http://lists.maconlinux.org/pipermail/mol-general/2002-September/000665.html

The kernel panic is the same with mol 0.9.65 and 0.9.66 (from bk at this 
time)

Here's the output from ksymoops (tail /var/log/messages | ksymoops):

===

ksymoops 2.4.2 on ppc 2.4.20-pre5.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.20-pre5/ (default)
     -m /boot/System.map-2.4.20-pre5 (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Warning (compare_maps): mismatch on symbol xchg_u32  , ksyms_base says 
c000cfdc, System.map says c0008204.  Ignoring ksyms_base entry
Warning (compare_maps): mismatch on symbol g_num_sessions  , mol says 
cc1be794, /usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o says 
cc1b5004.  Ignoring 
/usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o entry
Warning (compare_maps): mismatch on symbol g_sesstab  , mol says cc1be790, 
/usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o says cc1b5000. 
Ignoring /usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o entry
Warning (compare_maps): mol symbol mol_interface not found in 
/usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o.  Ignoring 
/usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o entry
Warning (compare_maps): mol symbol msym_flush_hash_page not found in 
/usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o.  Ignoring 
/usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o entry
Warning (compare_maps): mol symbol msym_handle_mm_fault not found in 
/usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o.  Ignoring 
/usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o entry
Warning (compare_maps): mol symbol msym_next_mmu_context not found in 
/usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o.  Ignoring 
/usr/local/lib/mol/0.9.66/modules/2.4.20-pre5-noav/mol.o entry
Oct 14 13:40:46 43p kernel: TASK = c7c60000[601] 'mol' Last syscall: 201 
Oct 14 13:40:46 43p kernel: last math 00000000 last altivec 00000000
Oct 14 13:40:46 43p kernel: GPR00: 00000000 C7C61E80 C7C60000 00000000 
00000000 0000003C C7C61ED8 10063A20 
Oct 14 13:40:46 43p kernel: GPR08: 00000000 C7C61E88 CC1BD5C8 00000000 
20000088 10064944 00000000 00000000 
Oct 14 13:40:46 43p kernel: GPR16: 00000000 00000000 00000000 00000000 
00009032 07C61F40 00000000 C0005CD4 
Oct 14 13:40:46 43p kernel: GPR24: C0005A40 C7C61ED8 10060000 00000000 
00000000 C7C61ED8 00000000 00000000 
Oct 14 13:40:46 43p kernel: Call backtrace: 
Oct 14 13:40:46 43p kernel: CC1BD0AC CC1BD30C CC1BD5E8 C0005A9C 0FE5D944 
1000706C 10002C4C 
Oct 14 13:40:46 43p kernel: 0FDFC680 00000000 
Warning (Oops_read): Code line not seen, dumping what data is available

Trace; cc1bd0ac <[mol]do_prom_copy_node+98/2c8>
Trace; cc1bd30c <[mol]prom_copy_node+30/c8>
Trace; cc1bd5e8 <[mol]sys_macos_multiplexer+244/444>
Trace; c0005a9c <ret_from_syscall_1+0/b4>
Trace; 0fe5d944 Before first symbol
Trace; 1000706c Before first symbol
Trace; 10002c4c Before first symbol
Trace; 0fdfc680 Before first symbol
Trace; 00000000 Before first symbol


9 warnings issued.  Results may not be reliable.

===

The last function seen (do_prom_copy_node) is from src/kmod/Linux/misc.c 
and indeed seems to deal with copying the OF device tree.

I'm very anxious the get mol working on this machine, is there anything 
more I can do to help troubleshooting this? 
PS. ksymoops reports some symbol mismatches and missing symbols, are they 
something to worry about?

BR,
Mati