The name is "reserved" :p
Which range could I choose in this map (see log below) ? I can't see what is
free space and what is occupied space.

I don't understand what "accessible via ioport" means, could you detail this
please ?

** iomem **
r...@alpha:/lib/modules/2.6.32.11-target-alpha-v2/kernel# cat /proc/iomem
00000000-0000ffff : reserved
00010000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000e0000-000fffff : reserved
  000f0000-000fffff : System ROM
00100000-7fd9ffff : System RAM
  01000000-01264788 : Kernel code
  01264789-013a6c1f : Kernel data
  0141c000-014c85d3 : Kernel bss
7fda0000-7fdadfff : ACPI Tables
7fdae000-7fddffff : ACPI Non-volatile Storage
7fde0000-7fdfffff : reserved
7fe00000-7fffffff : RAM buffer
80000000-80000fff : Intel Flush Page
d0000000-dfffffff : 0000:00:02.0
e0000000-efffffff : PCI MMCONFIG 0 [00-ff]
  e0000000-efffffff : pnp 00:0e
fe980000-fe9fffff : 0000:00:02.1
fea00000-feafffff : 0000:00:02.0
feb00000-feb7ffff : 0000:00:02.0
febc0000-febdffff : 0000:00:19.0
  febc0000-febdffff : e1000e
febfe000-febfefff : 0000:00:19.0
  febfe000-febfefff : e1000e
febff800-febffbff : 0000:00:1d.7
  febff800-febffbff : ehci_hcd
febffc00-febffcff : 0000:00:1f.3
fec00000-fec00fff : IOAPIC 0
fed14000-fed19fff : pnp 00:01
fed1c000-fed1ffff : pnp 00:07
fed20000-fed3ffff : pnp 00:07
fed40000-fed8ffff : pnp 00:07
fed90000-fed93fff : pnp 00:01
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : reserved
    fee00000-fee00fff : pnp 00:0a
ffb00000-ffffffff : reserved
  ffc00000-ffefffff : pnp 00:09


2010/11/10 Willy Lambert <[email protected]>

> Thanks for this quick answer, I'll have a look at this and went back after
>
> 2010/11/10 Wolfgang Grandegger <[email protected]>
>
> On 11/10/2010 02:44 PM, Willy Lambert wrote:
>> > Hi all,
>> >
>> > the short story is that "insmod sja1000_isa.ko irq=5,7
>> mem=0xd000,0xd200"
>> > failed in dmesg with :
>> > [ 3260.818929] sja1000_isa: probe of sja1000_isa.0 failed with error -16
>> > [ 3260.819455] sja1000_isa: probe of sja1000_isa.1 failed with error -16
>> > [ 3260.820225] Legacy sja1000_isa driver for max. 8 devices registered
>> >
>> > The long one is :
>> >
>> > I just receive my brand new Ixxat Can PC104 Interface, I tried to put
>> > everything in order tonigth on my Linux 2.6.32.11 Debian system. but I'm
>> > stuck with kernel modules loading. Be sure that I rake the web in order
>> to
>> > find any piece of information, but I did not find anything like
>> > "installation instructions". I tried to compile the latex documentation
>> > (even in my Windows) but it's quite in German :) Please redirect me to
>> any
>> > existing documentation if it exists. (this didn't helped :
>> > http://www.mjmwired.net/kernel/Documentation/networking/can.txt#635)
>> >
>> > Then here is my config :
>> > _ http://www.ableway.com.cn/wp-content/uploads/2009/12/pcm-3362.pdf(there
>> > is a bus cartography)
>> > _ http://www.ixxat.com/pc_i_04_104_en.html
>> >
>> >
>> > What I did :
>> > _ As I am on a PC104 module,my can interface is on a ISA bus and It is
>> > connected to the chipset via a pci-isa bridge. I  activated ISA bus
>> > management in .config file. (I don't know if I have something to do for
>> > making the bus working).
>> > _ I add socket can options in .config and sja1000 drivers (on isa bus).
>> > _ I compiled my kernel on my host PC and copied it to my target. I now
>> have
>> > sja1000.ko sja1000_isa.ko in lib/.../driver/net/can/sja1000
>> >
>> > I tried to load theses modules :
>> > _ insmod can.ko
>> > _ insmod candev.ko
>> > _ insmod sja1000.ko
>> > _ insmod sja1000_isa.ko irq=5,7 mem=0xd000,0xd200
>>
>> >
>> > And then I have the error :
>> > [ 3260.818929] sja1000_isa: probe of sja1000_isa.0 failed with error -16
>> > [ 3260.819455] sja1000_isa: probe of sja1000_isa.1 failed with error -16
>> > [ 3260.820225] Legacy sja1000_isa driver for max. 8 devices registered
>> >
>> > Can someone help me finding what's wrong with it ?
>>
>> The error "-16" means -EBUSY! See:
>>
>>
>>
>> http://lxr.linux.no/#linux+v2.6.36/drivers/net/can/sja1000/sja1000_isa.c#L139<http://lxr.linux.no/#linux+v2.6.36/drivers/net/can/sja1000/sja1000_isa.c%23L139>
>>
>> It seems that the region you request is already occupied. Check in
>> /proc/iomem who is using that address. Note the device might also be
>> accessible via ioport.
>>
>> Wolfgang.
>>
>
>
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to