Dave Bott(deleted)
|
custom io-net driver failing to start in io-pkt - suggestions where to start looking ?
|
Dave Bott(deleted)
06/08/2009 4:50 PM
post31163
|
custom io-net driver failing to start in io-pkt - suggestions where to start looking ?
Customer has a custom io-net driver on PPC that works just fine in 6.3.x. Might be as old as 6.3.0 SP1
Now, they want to migrate it to 6.4.0, so they try to start it, but io-pkt cores right away:
I realize it could be *anything* but are there some specific, known areas to look for ? I didn't see anything that
talked about this in the wiki already - if it's there, a pointer would be great.
Thanks
Dave
With DL_DEBUG enabled, they see something like this:
# io-pkt-v4 -v -d mydrvr deviceindex=1,phy_addr=2,mac_incr=1
dlopen("NULL",2048)
dlsym(0xfe381234,output_for_percent_s_NULL)=0xfe37e550
dlopen("cache-ppcbe-8541CDS.so",2)
load_object: attempt load of cache-ppcbe-8541CDS.so
dlopen: Library cannot be found
dlopen("NULL",2048)
dlsym(0xfe381234,iofunc_notify_trigger_strict)=0xfe33c290
dlsym(0xfe381234,iofunc_notify_remove_strict)=0xfe33c18c
dlopen("devnp-mydrvr .so",3072)
load_object: attempt load of devnp-mydrvr .so
dlopen: Library cannot be found
dlopen("devn-mydrvr .so",3072)
load_object: attempt load of devn-mydrvr .so
load_elf32: loaded lib at addr fe382000(text) fe38e000(data)
dlsym(0x480db060,_btext)=0x4804d9ec
Library loaded; type 'add-sym devn-mydrvr .so 0x4804d9ec' in gdb to
load symbols
dlsym(0x480db060,iopkt_lsm_entry)=NULL
dlsym(0x480db060,iopkt_drvr_entry)=NULL
dlsym(0x480db060,io_net_dll_entry)=0xfe38e504
dlopen("devnp-shim.so",3072)
load_object: attempt load of devnp-shim.so
load_elf32: loaded lib at addr fe382000(text) fe38a648(data)
dlsym(0x480db060,_btext)=0x4804d9ec
Library loaded; type 'add-sym devnp-shim.so 0x4804d9ec' in gdb to load
symbols
dlsym(0x480db060,iopkt_drvr_entry)=0xfe38a724
dlopen("devn-mydrvr .so",1024)
load_object: attempt load of devn-mydrvr .so
load_elf32: loaded lib at addr fe38b000(text) fe397000(data)
dlsym(0x480db080,_btext)=0xfe38d580
Library loaded; type 'add-sym devn-mydrvr .so 0xfe38d580' in gdb to
load symbols
dlsym(0x480db080,io_net_dll_entry)=0xfe397504
Memory fault (core dumped)
|
|
|