[hcflinux] hcfpcimodem and old ISA card

Linuxant Support (Jonathan) support at linuxant.com
Sun Jul 4 11:09:42 EDT 2004


Hi,

I have found the following information in the 
'Documentation/kernel-parameters.txt' file of a recent kernel source code 
tree :

---
irqmask=0xMMMM      [IA-32] Set a bit mask of IRQs allowed to be assigned
                         automatically to PCI devices. You can make the kernel
                         exclude IRQs of your ISA cards this way.
---

To force the PCI subsystem to not allocate IRQ 10 for PCI devices, you could 
try with the following kernel boot parameter :

---
pci=irqmask=0xFBFF
---

You could also change your modem to another PCI slot.

Regards,


Jonathan
Technical specialist / Linuxant
www.linuxant.com
support at linuxant.com


Le 2 Juillet 2004 07:29, Wojciech Kazubski a écrit :
> I have problem with HCF modem driver on a machine with old ISA network card
> (used to make local network). The card requires its own interrupt, so IRQ10
> was declared as "Legacy ISA" in BIOS and other drivers should avoid it.
> Unfortunately hcfpcimodem tries to hook to this interrupt and cannot
> operate properly (see messages below).
>
> The problem appeared on Fedora Core 2 with upgraded kernel 2.6.6-1.435.
> Both cards worked ok with previous versions of hcfpcimodem released until
> 2003 Original kernel of FC2 (2.6.5) did not have ne driver, so modem was
> working OK.
>
> Parts of hcfdiag.txt:
> --------------------------------------------
> ........
> ne.c:v1.10 9/23/94 Donald Becker (becker at scyld.com)
> Last modified Nov 1, 2000 by Paul Gortmaker
> NE*000 ethercard probe at 0x340: 00 40 05 1e e6 5e
> eth%d: NE2000 found at 0x340, using IRQ 10.
> divert: allocating divert_blk for eth0
> .......
> hcfpciengine: module license 'see LICENSE file distributed with driver'
> taints kernel.
> cnxthcf_OsHookInterrupt: request_irq(dev=0000:00:09.0, irq=10) failed err
> -16 1109696.175: SysCreateDevResources: OsHookInterrupt failed
> __iounmap: bad address 12a42000
> Unable to handle kernel NULL pointer dereference at virtual address
> 000000d8 printing eip:
> 12bd3467
> *pde = 00000000
> Oops: 0002 [#1]
> Modules linked in: hcfpcihw hcfpciserial hcfpciengine hcfpciosspec
> snd_mixer_oss snd_via82xx snd_ac97_codec snd_pcm snd_timer snd_page_alloc
> gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore tuner
> tvaudio bttv video_buf i2c_algo_bit v4l2_common btcx_risc videodev via686a
> eeprom i2c_sensor i2c_isa i2c_core binfmt_misc ipv6 parport_pc lp parport
> autofs4 sunrpc ne 8390 floppy sg scsi_mod nls_utf8 nls_cp437 vfat fat
> dm_mod usblp uhci_hcd button battery asus_acpi ac ext3 jbd
> CPU:    0
> EIP:    0060:[<12bd3467>]    Tainted: P
> EFLAGS: 00010212   (2.6.6-1.435)
> EIP is at hcfengine500_+0xf/0x1c8 [hcfpciengine]
> eax: 00000001   ebx: 00000000   ecx: 000002d8   edx: 00000046
> esi: 00000000   edi: 00000000   ebp: 106d7d34   esp: 106d7d1c
> ds: 007b   es: 007b   ss: 0068
> Process modprobe (pid: 2070, threadinfo=106d7000 task=119570d0)
> Stack: 107c42c8 106d7d44 00000004 00000000 00000000 00000000 106d7d54
> 12bd2d92 00000000 00000001 000f0348 00000000 00000000 00000000 106d7d84
> 12bd2660 00000000 00000000 0254a978 0254a954 00000000 0000000d 2019420d
> 1115c000 Call Trace:
>  [<12bd2d92>] hcfengine41_+0x22/0xf0 [hcfpciengine]
>  [<12bd2660>] hcfengine18_+0x60/0x214 [hcfpciengine]
>  [<12b97b1d>] hcfengine718_+0x19/0xb0 [hcfpciengine]
>  [<12b9750a>] hcfengine724_+0x8e/0x1c8 [hcfpciengine]
>  [<12b95d05>] hcfengine606_+0xbd/0xec [hcfpciengine]
>  [<12b7b634>] cnxthcf_ComCtrl_Open+0x118/0x198 [hcfpciengine]
>  [<1297f0a8>] cnxthcf_cnxt_serial_add+0x148/0x3a0 [hcfpciserial]
>  [<1297e6c0>] cnxt_event_handler+0x0/0x300 [hcfpciserial]
>  [<022318d0>] pci_read+0x1c/0x21
>  [<021924cb>] vsnprintf+0x3a5/0x3e6
>  [<021293d0>] pm_register+0x54/0x92
>  [<12984120>] cnxthw_pm_callback+0x0/0x60 [hcfpcihw]
>  [<12984338>] cnxthwpci_probe+0x1b8/0x230 [hcfpcihw]
>  [<02197cb2>] pci_device_probe_static+0x2a/0x3d
>  [<02197ce0>] __pci_device_probe+0x1b/0x2c
>  [<02197d0c>] pci_device_probe+0x1b/0x2d
>  [<021daec5>] bus_match+0x27/0x45
>  [<021daf91>] driver_attach+0x37/0x6a
>  [<021db1a9>] bus_add_driver+0x70/0x87
>  [<021db4c3>] driver_register+0x28/0x2c
>  [<02197e7f>] pci_register_driver+0x4b/0x66
>  [<128f00ec>] cnxthwpci_init+0xec/0xfe [hcfpcihw]
>  [<021280e8>] sys_init_module+0xe7/0x1c0
>
> Code: 89 86 d8 00 00 00 8b 55 0c 8b 46 20 8b 84 90 af 00 00 00 89
>
> --------------------------------------------
> end of hcfdiag.txt
>
> Wojciech Kazubski
>
>
> _______________________________________________
> %(real_name)s mailing list
> %(real_name)s@%(host_name)s
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


More information about the hcflinux mailing list