[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Drivers socal on E3500



Sebastien LANGE wrote:

Hi,

I try to install Sarge with net boot but the installer doesn't find the
driver for fibre channel scsi controller.
It's normal because the module is not present so I've compile the module
socal with the microcode.

I've extract the microcode:

$ objdump -x socal

socal:     file format elf64-sparc
socal
architecture: sparc:v9, flags 0x00000011:
HAS_RELOC, HAS_SYMS
start address 0x0000000000000000

Sections:
Idx Name          Size      VMA               LMA               File off
Algn
0 .text     00006e44  0000000000000000  0000000000000000  00000040  2**2
               CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
1 .rodata1  00000452  0000000000000000  0000000000000000  00006e88  2**3
               CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .data  000103d0  0000000000000000  0000000000000000  _000072e0_  2**3
               CONTENTS, ALLOC, LOAD, RELOC, DATA
3 .data1    00000782  0000000000000000  0000000000000000  000176b0  2**3
               CONTENTS, ALLOC, LOAD, DATA
|
|
|

00000000000003cc g     O .data  0000000000010000 socal_ucode
00000000000103cc g     O .data  0000000000000004 socal_ucode_end


$ dd if=socal of=socal.ucode bs=1 skip=30380 count=64K

72e0 + 03cc = 76ac in hexa and in decimal => 30380 (skip)

Then I have to do:

cat socal.ucode | od -t "x1" | grep ` ` | sed `1i static __u32
socal_ucode [ ] __ initdata = { ;s/^[0-9a-f]* /0x/;s/
/,0x/g;s/$/,/;$a};` > socal_asm.h

After I uncomment HAVE_SOCAL_UCODE in socal.c and I've recompile the module.

If load the module, I've not message and I can only to make stop-a.

Where is the problem ?

Excuse me for my bad english :-(
The last I heard the soc and socal code is unmaintained and did not make the scsi changes from 2.2.x to 2.4.x. IOW, if you want to use soc or socal you need to use a 2.2.x kernel or fix the drivers.

The easy workaround is to fit a SCSI card and forget about soc or socal.
You will need to tell the OBP to boot from the scsi interface.




Reply to: