make moduels failed on linux-2.4.21-15.EL for ieee1394 module

Yasushi Okubo yasushi at cabm.rutgers.edu
Fri May 28 19:38:59 UTC 2004


Thank you for the information.  It is finally compiled, but the newly 
created module did not work .  I am not sure if it is caused by the 
compilation or module itself.

I am trying to install ieee1394 module to support firewire disk from 
EZquest.   I could compile with the recommended steps, but  when  I 
installed  ieee1394/ohci1394/sbp2 modules,  I see  the following error 
from dmesg and cannot find any firewire device under /proc/scsi/scsi.  
When I ran /rscan-scsi-bus.sh script, it also does not find anything:

Has anyone found a way to make firewire disk work with WS3.0 ?   

Thanks,
yasushi

=== dmesg ===
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[00:1023]: Max speed [S400] - Max payload [2048]
ieee1394: Node 01:1023 changed to 00:1023
ieee1394: ConfigROM quadlet transaction error for node 01:1023         
<-------   error
ieee1394: Host removed: Node[00:1023]  GUID[0030dd01e007e5e2]  [Indigita]
ieee1394: sbp2: Logged out of SBP-2 device
ieee1394: Node 00:1023 has non-standard ROM format (0 quads), cannot parse
ieee1394: Node 00:1023 changed to 01:1023

==== scsi info =====
[root at lexus ieee1394]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: LITE-ON  Model: DVDRW LDW-411S   Rev: FS0F
  Type:   CD-ROM                           ANSI SCSI revision: 02

===== rscan-scsi-bus.sh ======
 [root at lexus root]# ./rescan-scsi-bus.sh
Host adapter 0 (ide-scsi) found.
Scanning hosts  0 channels 0 for
 SCSI target IDs  0 1 2 3 4 5 6 7 , LUNs  0
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
      Vendor: LITE-ON  Model: DVDRW LDW-411S   Rev: FS0F
      Type:   CD-ROM                           ANSI SCSI revision: 02
0 new device(s) found.
0 device(s) removed.
==========================

Jurvis LaSalle wrote:

>
> On May 25, 2004, at 12:11 PM, Yasushi Okubo wrote:
>
>>
>> I just applied patches to our WS3.0 machines through up2date and got 
>> kernel-source too.  However, it failed to compile kernel. The 
>> following is the steps I took.  Please advise me how to get rid of 
>> errors.
>>
>> 1. I opened make menuconfig/xconfig
>> 2. Turn on IEEE1394 option
>> 3. save & exit
>> 4. make dep  <-- it looked okay
>> 5. make modules failed with many "implicit declaration of function" 
>> errors
>>
>> So, after make clean, I turned off IEEE1394 option and saved it, but  
>> it looks like it still produced the same errors with make modules.  
>> It looks like kenern-source for linux-2.4.21-15.EL never be  able to 
>> be compiled due to anomalities in many libraries.
>>
>> Here is the example of output:
>>
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:142: syntax error 
>> before numeric constant
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:142: warning: function 
>> declaration isn't a prototype
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:143: warning: 
>> parameter names (without types) in function declaration
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:545: invalid suffix on 
>> integer constant
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:545: syntax error 
>> before numeric constant
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:545: 
>> `free_pages_R_ver_str' declared as function returning a function
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:545: warning: function 
>> declaration isn't a prototype
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:641: syntax error 
>> before numeric constant
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:641: 
>> `__get_free_pages_R_ver_str' declared as function returning a function
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:641: warning: function 
>> declaration isn't a prototype
>> /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:642: invalid suffix on 
>> integer constant
>> .....
>> ......
>> ...
>> /usr/src/linux-2.4.21-15.EL/include/net/sock.h:1361: warning: 
>> implicit declaration of function `put_cmsg_Rsmp_f39bf4d9'
>> /usr/src/linux-2.4.21-15.EL/include/linux/skbuff.h: In function 
>> `kunmap_skb_frag':
>> /usr/src/linux-2.4.21-15.EL/include/linux/skbuff.h:1152: warning: asm 
>> operand 1 probably doesn't match constraints
>> make[3]: *** [module.o] Error 1
>> make[3]: Leaving directory 
>> `/usr/src/linux-2.4.21-15.EL/drivers/addon/cipe'
>> make[2]: *** [_modsubdir_cipe] Error 2
>> make[2]: Leaving directory `/usr/src/linux-2.4.21-15.EL/drivers/addon'
>> make[1]: *** [_modsubdir_addon] Error 2
>> make[1]: Leaving directory `/usr/src/linux-2.4.21-15.EL/drivers'
>> make: *** [_mod_drivers] Error 2
>>
>>
>
> after you enable your specific options with xconfig, mv the .config 
> file created in /usr/src/linux out of the src tree, make mrproper, 
> then mv .config back, do a make oldconfig, make dep; make clean, make 
> bzImage, make modules...  this worked for me the last time i got a 
> slough of cryptic compilation errors  on make modules.
>
> hth,
> Jurvis LaSalle
>
>
>





More information about the redhat-list mailing list