ts-7000
[Top] [All Lists]

Re: [ts-7000] Lincan module: TS-7260 / 2.6.21-ts : insmod throws segment

To:
Subject: Re: [ts-7000] Lincan module: TS-7260 / 2.6.21-ts : insmod throws segmentation fault
From: "Gonzalo A. de la Vega" <>
Date: Wed, 22 Oct 2008 21:20:51 -0300
> 2008/10/22 Gonzalo A. de la Vega <>:
>
>> On Wed, Oct 22, 2008 at 6:09 AM, gajans.garage <>
>> wrote:
>>> Hi,
>>>
>>> I am running a 2.6.21-ts on the TS-7260. And I am trying to to hook up
>>> TS-CAN1 to the board.
>>>
>>> I downloaded the source from
>>>
>>>
>>> ftp://ftp.embeddedarm.com/pc104-peripherals/ts-can1/ts-7800-linuxr26/ocera-lincan-src.tar.gz
>>>
>>> compiled it on the board itself and inserted using
>>> insmod -f lincan.ko hw=tscan1 irq=6 io=0x150
>>>
>>> The error message was
>>> :modules# insmod -f lincan.ko hw=tscan1 irq=6 io=0x150
>>> Unable to handle kernel paging request at virtual address 01e00150
>>
>> From what I see in the manual, the address should be 0x11e00150 (page
>> 42). Try changing line 30 of lincan/include/tscan1.h from:
>> #define TSXXX_BASE_IO 0x01E00000
>>
>> to:
>> #define TSXXX_BASE_IO 0x11E00000
>>
>> Please let me know what happens so I can notify the author.
>>
>> Gonzalo
>>
>
> On Wed, Oct 22, 2008 at 8:33 PM, Mariela Videla <> wrote:
> In adition, you can check TS-CAN1 jumper settings for I/O address selection.

Yea, but I think the key is:
"Unable to handle kernel paging request at virtual address 01e00150"

I understand the module is trying to allocate memory at the wrong address.

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU