* David Patterson
| This isnt in the FAQ anywhere, so here goes:
| Sun Ultrasparc 4000.  
| Redhat 6.0
| lots of ram.
| when i load the soc module, this is the error: "Too many continuations
| entries"

The same question was posted both to the vger list and the redhat
list, I am replying to both posts in this message.

You need to compile a new firmware from Sun into the linux driver. The
required firmware is not included with linux. What you need to do is
to find the Solaris drivers and extract the firmware from the
executable. You can then compile a new kernel (or module) with the
firmware included. 

The following code does the job for me. The constant 276 will have to
be changed to the position of the soc_ucode symbol. This can be found
with a dump or objdump of the symbol table.

dump -s -n .data /kernel/drv/soc | perl -e '$/ = undef; $_ = <>; @a = \
/(\S+)/g; splice(@a, 0, 2); splice(@a, 0, 276); $#a = 32767; \
print("static __u8 soc_ucode[] __initdata = {\n"); while (@a) { map { \
print("0x$_,") } splice(@a, 0, 16); print("\n"); } print("};\n")' \
> soc_asm.h 

The resulting file is put into /usr/src/linux/drivers/fc4, and
HAVE_SOC_UCODE is uncommented from soc.c. 

Thanks to Jakub Jelinek for writing the soc driver, and telling me the
secrets of how to get it to work.


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

Reply via email to