ioremap() problem

Johns Daniel jdaniel@SYSTRAN.com
Mon Oct 19 09:55:14 1998


I am new to this list, so forgive me if this has
been discussed before. I could not locate an
archive for this list.

I just installed two GNIC-II adapters on two similar
networked (Ethernet) PCs. The driver module installed
on the one with kernel 2.1.109, and failed to install
on the one with kernel 2.1.124. I am using
	hamachi.c:v0.05 7/25/98
I added some debugging messages to it, and got this
output:

found ethernet controller 8086 1229
found ethernet controller 1318 911
Found Hamachi GNIC-II at Bus % I/O 0xdf800004, IRQ 46081.
Found Hamachi GNIC-II at PCI address 0xb401, IRQ 17.
Failed to map PCI address 0xb401.

The last message came from:
	ioaddr = (long)ioremap(pciaddr & ~0xf, 0x400);

	if (ioaddr == 0) {
		printk(KERN_INFO "Failed to map PCI address %#lx.\n",
			   pciaddr);
		continue;
	}
Looks like the ioremap() failed!

Could this be because of the new PCI interface?
Any other ideas?

# cat /proc/version
Linux version 2.1.124 (root@sys17.systran.com) (gcc version pgcc-2.91.51
19980721 (gcc2 ss-980609 experimental)) #1 SMP Tue Oct 6 05:09:41 EDT 1998

I can load other modules manually:
# /sbin/insmod dummy
# cat /proc/modules 
dummy                    716   0 (unused)

TIA ... Johns
========================================================
Johns Daniel, Senior Engineer        jdaniel@systran.com
(937) 252-5601 x365                   Fax (937) 252-1392
Systran Federal Corp, 4126 Linden, Dayton, OH 45432, USA

 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.