Thanks to all of you for helping me solve this problem.
I had tried Marvin's patched file, thanks Martin, but with same result.
Maybe I'm missing something in user space part. Detachment part cames
after starting martian userspace service.
dmesg|tail -f
-------
....
martian loaded - KMARTIAN_STAMP
ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [APC3] -> GSI 18 (level,
low) -> IRQ 18
"martian_dev": added device 11c1:440 BaseAddress = 0xa400, CommAddres =
0xa000, irq = 18
....
Till this moment everything looks good except IRQ serving part missing,
but if not wrong that part should go after starting user space app, so:
/etc/init.d/martian start
I'm getting
"martian_dev": martian_modem is detached
and from /var/log/messages:
Mar 14 22:37:32 galatea martian: error: Common area unrecognized, no
terminating signature
--------
Antonio, thanks for suggestion. I'm going to try scanmodem part. Well,
certainly before Monday ;)
Thanks to all you kind people for helping.
Antonio Olivares wrote:
> There is an IRQ = 18, and an ACPI: PCI interrupt 0000:02:0a
> error/message here, can you run scanModem and send it to determine if
> it is the IRQ problem that is making martian_dev fail.
>
> When I run dmesg from slax-6.0.2, I see
>
>
> root@slax:~# dmesg
> Linux version 2.6.24 (root@slax) (gcc version 4.2.3) #1 SMP Wed Feb 27
> 14:33:25 GMT 2008
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 0000000009ff0000 (usable)
> BIOS-e820: 0000000009ff0000 - 0000000009ff3000 (ACPI NVS)
> BIOS-e820: 0000000009ff3000 - 000000000a000000 (ACPI data)
> BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> 0MB HIGHMEM available.
> 159MB LOWMEM available.
> ***** removed to save space and not needed for this message ****
> martian loaded - KMARTIAN_STAMP
> ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 10 (level,
> low) -> IRQ 10
> "martian_dev": added device 11c1:442 BaseAddress = 0xec00, CommAddres
> = 0xe800, irq = 10
> "martian_dev": serving irqs in module
> "martian_dev": martian_modem is attached.
> PPP generic driver version 2.4.2
> PPP BSD Compression module registered
> PPP Deflate Compression module registered
>
>
>
> So it might be the IRQ problem that is causing the martian_dev to
> fail. I do not know for sure, but maybe Marv, Jacques, Stefan, or
> Alexi can tell you what is happening. In principle the patches did
> fix the issues for me, but in your case the IRQ is getting in the way
> causing martian_dev to fail.
>
> Hope this helps,
>
> Antonio
>
> On 3/13/08, Ivica Grujic <grujakg@xxxxxxxxx> wrote:
>> Antonio Olivares wrote:
>>> On 3/11/08, grujakg <grujakg@xxxxxxxxx> wrote:
>>>>
>>>> 3.17 wrote:
>>>>> grujakg wrote:
>>>>>>
>>>>>> Stefan Puch-3 wrote:
>>>>>>> ...
>>>>>>>
>>>>>>> The patch is attached this mail. Copy it into martian/kmodule and run
>>>>>>> "patch -p0 < martian-patch-kernel-2.6.24.diff"
>>>>>>>
>>>>>>> ...
>>>>>>>
>>>>>> Got the same problem after updating to 2.6.24.3-12.fc8.
>>>>>>
>>>>>> I've found same appropriate patch on nv forum, but after successful
>> build
>>>>>> and installation I'm receiving this martian errors:
>>>>>>
>>>>>> ...
>>>>>> kernel: martian loaded - KMARTIAN_STAMP
>>>>>> kernel: ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [APC3] -> GSI 18
>>>>>> (level, low) -> IRQ 18
>>>>>> kernel: "martian_dev": added device 11c1:440 BaseAddress = 0xa400,
>>>>>> CommAddres = 0xa000, irq = 18
>>>>>> martian: error: Common area unrecognized, no terminating signature
>>>>>> kernel: "martian_dev": martian_modem is detached
>>>>>> ...
>>>>>>
>>>>>> any suggestions, please.
>>>>>>
>>>>>> thanks in advance
>>>>>>
>>>>> In addition to the problem solved by the patch mentioned above,
>>>>> common->kstamp is messed up.
>>>>> This very unclean patch should handle it.
>>>>>
>>>>> --- modem/mport.c.orig 2008-03-10 17:50:03.000000000 +0000
>>>>> +++ modem/mport.c 2008-03-10 17:47:29.000000000 +0000
>>>>> @@ -319,6 +319,9 @@
>>>>> 0x0
>>>>> );
>>>>>
>>>>> + strcpy (common->kstamp, "20061202\0");
>>>>> + strcpy (common->tsignature, "martiaN\0");
>>>>> +
>>>>> if (common == MAP_FAILED) {
>>>>> LOGSYSERR (Error, "mmap");
>>>>> LOGERR ("Failed to map device common data block\n");
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Well, this doesn't work for me, same error...
>>>>
>>>> I'll try to follow Chentsov'a tip, any help would be greatly appreciated.
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> View this message in context:
>>>>
>> http://www.nabble.com/Patch-for-kernel-version-2.6.24-tp15101327p15993332.html
>>>> Sent from the Linux Winmodem Support - Discussion mailing list archive at
>>>> Nabble.com.
>>>>
>>>>
>>>
>>> Please post your error message. Many have complained that kernel
>>> 2.6.24.3-12.fc8. has broken many things, like eth0, wireless etc.
>>> There are other kernels on koji, you might need to get a kernel from
>>> there and kernel-devel as well and test it out. I have a Fedora 8
>>> machine, but it is currently down. I would like to test it as well
>>> and report back. I am having troubles with
>>> slmodem-2.9.11-20080XYY.tar.gz package for slmodemd which supports
>>> smartlink modems.
>>>
>>> Regards,
>>>
>>> Antonio
>>>
>> Sorry for inconvenience, the error messages are the same:
>>
>> kernel: martian loaded - KMARTIAN_STAMP
>> kernel: ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [APC3] -> GSI 18
>> (level, low) -> IRQ 18
>> kernel: "martian_dev": added device 11c1:440 BaseAddress =
>> 0xa400,CommAddres = 0xa000, irq = 18
>> martian: error: Common area unrecognized, no terminating signature
>> kernel: "martian_dev": martian_modem is detached
>>
>> Regards
>>
>> grujakg
>>
>