[hsflinux] Problem building with 7.43.01 and kernel 2.6.15.3

Samuel Díaz García samueldg at arcoscom.com
Mon Feb 13 17:56:44 EST 2006


Thanks Jonathan, I'm working with /dev/ttySHSF0 with 7.18.07 version (plus the 
two patches for this version) under 2.6.15.4 (I upgraded for stability issues) 
without problem with the dialups and faxes without problems.

I tried as you said when upgraded yesterday the kernel and many drivers and all 
is working now as I said.

Thanks.

Linuxant support (Jonathan) wrote:
> Hi,
> 
> the lost of '/dev/modem' on boot is unlikely related to the suspend2 
> patch issue mentionned in your last post, it is likely an udev issue. 
> You could try to see if the '/dev/ttySHSF0' device is present after a 
> reboot, if this is the case, you could configure your dialing program to 
> use this device instead of '/dev/modem'.
> 
> Alternatively, you could also try to see if the udev rules are right. 
> These rules are located in the '/etc/udev/rules.d' directory. Finally, 
> you can always run the 'hsfconfig --serial' command in a root shell to 
> restore the device nodes.
> 
> For the suepend2 issue, we hope to provide a patch in the near future.
> 
> Regards,
> 
> 
> Jonathan
> Technical specialist / Linuxant
> www.linuxant.com
> support at linuxant.com
> 
> 
> 
> Samuel Díaz García wrote:
>> The previous version I used (7.18.00.07) were working with this patch, 
>> but I had an issue, I lost /dev/modem link when I reboot.
>>
>> Don't know if is by hsf by itself or efax/efax-gtk software I'm using. 
>> In that case, before I use a modem conection, I had to reinstall the 
>> driver.
>>
>> That is because I upgrade the version.
>>
>> ¿When will be available the swsusp2 compatible driver?
>>
>> Thanks
>>
>> Linuxant support (Jonathan) wrote:
>>
>>> Hi,
>>>
>>> according to the build log you have provided, it seems that the 
>>> kernel used was patched with the "suspend2" patch.
>>>
>>> Another user have reported the same problem with this patch and the 
>>> HSF modem driver version 7.43.00.01. Please try without this patch, 
>>> and the HSF modem driver will probably build correctly.
>>>
>>> We do not officially support custom patched kernels since these 
>>> patches can break the modem driver. We provide the source code close 
>>> to the kernel to let users manually change the driver when such cases 
>>> happen.
>>>
>>> Since there is quite a lot of our users which expect to be able to 
>>> use the "suspend2" patch with the HSF modem driver, we hope to 
>>> provide a patch to fix this issue soon. When a patch will be 
>>> available, it will be able to install it with the 'hsfconfig --patch' 
>>> command in a root shell.
>>>
>>> Regards,
>>>
>>>
>>> Jonathan
>>> Technical specialist / Linuxant
>>> www.linuxant.com
>>> support at linuxant.com
>>>
>>>
>>>
>>> Samuel Díaz García wrote:
>>>
>>>> At the moment, the build proccess works fine with previous versions.
>>>>
>>>> But I had problems with the last version when "make install && 
>>>> hsfconfig".
>>>>
>>>> I attached the /tmp/hsfconfig-buildlog.txt.
>>>>
>>>> I'm a registered user.
>>>>
>>>> Regards
>>>>
>>>>
>>>> ------------------------------------------------------------------------ 
>>>>
>>>>
>>>> ../modules/kernelcompiler.sh: cannot determine version, using gcc
>>>> (cd /lib/modules/2.6.15.3-ArcosCom/build && make 
>>>> "CNXT_KERNELSRC=/lib/modules/2.6.15.3-ArcosCom/build" 
>>>> "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean)
>>>> make[1]: Entering directory `/usr/src/linux-2.6.15.3'
>>>> /usr/lib/hsfmodem/modules/kernelcompiler.sh: cannot determine 
>>>> version, using gcc
>>>> make[1]: Leaving directory `/usr/src/linux-2.6.15.3'
>>>> (cd /lib/modules/2.6.15.3-ArcosCom/build && make 
>>>> "CNXT_KERNELSRC=/lib/modules/2.6.15.3-ArcosCom/build" 
>>>> "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc" clean)
>>>> make[1]: Entering directory `/usr/src/linux-2.6.15.3'
>>>> make[1]: Leaving directory `/usr/src/linux-2.6.15.3'
>>>> rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd 
>>>> GPL/.*.cmd .tmp_versions .tmp_versions  
>>>> /lib/modules/2.6.15.3-ArcosCom/build/.tmp_versions/hsfosspec.mod  
>>>> /lib/modules/2.6.15.3-ArcosCom/build/.tmp_versions/hsfserial.mod  
>>>> /lib/modules/2.6.15.3-ArcosCom/build/.tmp_versions/hsfengine.mod  
>>>> /lib/modules/2.6.15.3-ArcosCom/build/.tmp_versions/hsfpcibasic2.mod  
>>>> /lib/modules/2.6.15.3-ArcosCom/build/.tmp_versions/hsfmc97ich.mod  
>>>> /lib/modules/2.6.15.3-ArcosCom/build/.tmp_versions/hsfmc97via.mod  
>>>> /lib/modules/2.6.15.3-ArcosCom/build/.tmp_versions/hsfmc97ali.mod  
>>>> /lib/modules/2.6.15.3-ArcosCom/build/.tmp_versions/hsfmc97ati.mod  
>>>> /lib/modules/2.6.15.3-ArcosCom/build/.tmp_versions/hsfmc97sis.mod  
>>>> /lib/modules/2.6.15.3-ArcosCom/build/.tmp_versions/hsfsoar.mod
>>>> (cd /lib/modules/2.6.15.3-ArcosCom/build && make 
>>>> "CNXT_KERNELSRC=/lib/modules/2.6.15.3-ArcosCom/build" 
>>>> "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules)
>>>> make[1]: Entering directory `/usr/src/linux-2.6.15.3'
>>>> /usr/lib/hsfmodem/modules/kernelcompiler.sh: cannot determine 
>>>> version, using gcc
>>>>   CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
>>>>   CC [M]  /usr/lib/hsfmodem/modules/mod_hda.o
>>>>   CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ali.o
>>>>   CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ati.o
>>>>   CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ich.o
>>>>   CC [M]  /usr/lib/hsfmodem/modules/mod_mc97sis.o
>>>>   CC [M]  /usr/lib/hsfmodem/modules/mod_mc97via.o
>>>>   CC [M]  /usr/lib/hsfmodem/modules/mod_osspec.o
>>>>   CC [M]  /usr/lib/hsfmodem/modules/osservices.o
>>>> In file included from include/acpi/acpi.h:55,
>>>>                  from include/acpi/acpi_bus.h:31,
>>>>                  from include/linux/suspend2.h:7,
>>>>                  from include/linux/suspend.h:12,
>>>>                  from /usr/lib/hsfmodem/modules/osservices.c:32:
>>>> include/acpi/actypes.h:172: error: redefinition of typedef 'UINT8'
>>>> /usr/lib/hsfmodem/modules/imported/include/sysenv.h:654: error: 
>>>> previous declaration of 'UINT8' was here
>>>> include/acpi/actypes.h:173: error: conflicting types for 'BOOL'
>>>> /usr/lib/hsfmodem/modules/imported/include/sysenv.h:432: error: 
>>>> previous declaration of 'BOOL' was here
>>>> include/acpi/actypes.h:174: error: redefinition of typedef 'UINT16'
>>>> /usr/lib/hsfmodem/modules/imported/include/sysenv.h:652: error: 
>>>> previous declaration of 'UINT16' was here
>>>> include/acpi/actypes.h:175: error: redefinition of typedef 'INT32'
>>>> /usr/lib/hsfmodem/modules/imported/include/sysenv.h:679: error: 
>>>> previous declaration of 'INT32' was here
>>>> include/acpi/actypes.h:176: error: redefinition of typedef 'UINT32'
>>>> /usr/lib/hsfmodem/modules/imported/include/sysenv.h:674: error: 
>>>> previous declaration of 'UINT32' was here
>>>> include/acpi/actypes.h:177: error: 'long long long' is too long for GCC
>>>> include/acpi/actypes.h:177: error: 'long long long' is too long for GCC
>>>> include/acpi/actypes.h:177: warning: useless type name in empty 
>>>> declaration
>>>> /usr/lib/hsfmodem/modules/osservices.c:236: error: conflicting types 
>>>> for 'cnxthsf_OsLockTry'
>>>> /usr/lib/hsfmodem/modules/imported/include/osservices.h:283: error: 
>>>> previous declaration of 'cnxthsf_OsLockTry' was here
>>>> /usr/lib/hsfmodem/modules/osservices.c:282: error: conflicting types 
>>>> for 'cnxthsf_OsAtomicCompareAndSwapEx'
>>>> /usr/lib/hsfmodem/modules/imported/include/osservices.h:124: error: 
>>>> previous declaration of 'cnxthsf_OsAtomicCompareAndSwapEx' was here
>>>> /usr/lib/hsfmodem/modules/osservices.c:626: error: conflicting types 
>>>> for 'cnxthsf_OsThreadCreate'
>>>> /usr/lib/hsfmodem/modules/imported/include/osservices.h:704: error: 
>>>> previous declaration of 'cnxthsf_OsThreadCreate' was here
>>>> /usr/lib/hsfmodem/modules/osservices.c:986: error: conflicting types 
>>>> for 'cnxthsf_OsSetPeriodicTimer'
>>>> /usr/lib/hsfmodem/modules/imported/include/osservices.h:564: error: 
>>>> previous declaration of 'cnxthsf_OsSetPeriodicTimer' was here
>>>> /usr/lib/hsfmodem/modules/osservices.c:1252: error: conflicting 
>>>> types for 'cnxthsf_OsRawVPrintf'
>>>> /usr/lib/hsfmodem/modules/imported/include/osservices.h:590: error: 
>>>> previous declaration of 'cnxthsf_OsRawVPrintf' was here
>>>> /usr/lib/hsfmodem/modules/osservices.c:1630: error: conflicting 
>>>> types for 'cnxthsf_OsKernelUsesRegParm'
>>>> /usr/lib/hsfmodem/modules/imported/include/osservices.h:731: error: 
>>>> previous declaration of 'cnxthsf_OsKernelUsesRegParm' was here
>>>> make[2]: *** [/usr/lib/hsfmodem/modules/osservices.o] Error 1
>>>> make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
>>>> make[1]: Leaving directory `/usr/src/linux-2.6.15.3'
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>> ------------------------------------------------------------------------ 
>>>>
>>>>
>>>> _______________________________________________
>>>> hsflinux mailing list
>>>> hsflinux at lists.linuxant.com
>>>> https://www.linuxant.com/mailman/listinfo/hsflinux
>>>
>>>
>>>
>>
> 
> 

-- 
    Samuel Díaz García
     Director Gerente
ArcosCom Wireless, S.L.L.

CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz

http://www.arcoscom.com

mailto:samueldg at arcoscom.com
msn: samueldg at arcoscom.com

Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax:   956 70 34 83


More information about the hsflinux mailing list