P640NU

From AcceedWiki
Jump to: navigation, search

This driver doesn't work with FC6, kernel 2.6.20+

The driver loads:



**********************************************
NTCARD Device Driver Ver 7.1.0
Copyright (C) 2004-2012 Rayon Company, Ltd.
All Rights Reserved

PCI: setting IRQ 10 as level-triggered
PCI: Found IRQ 10 for device 0000:00:0b.0
.....Device1=P640N Jp=1 box=3 port=24 IRQ=a
**********************************************

Then any attempt to access any of the ports (setserial, minicom etc) kills the module:



BUG: sleeping function called from invalid context at mm/slab.c:3033
   in_atomic():0, irqs_disabled():1
[<c0472d0a>] __kmalloc+0x42/0x7d
[<c04a61e9>] proc_create+0x8e/0xdf
[<c04a63fb>] proc_mkdir_mode+0x22/0x54
[<c045419a>] register_handler_proc+0x95/0xa3
[<c0452ea0>] setup_irq+0x15f/0x1ac
[<f8aa34df>] ntc_interrupt_single+0x0/0x3a4 [rayon]
[<c0453071>] request_irq+0xb1/0xd0
[<f8aa34df>] ntc_interrupt_single+0x0/0x3a4 [rayon]
[<f8aa4118>] ntcstartup+0x16c/0x31b [rayon]
[<f8aa4cd3>] ntc_open+0x21b/0x4a5 [rayon]
[<c05309e4>] tty_ldisc_enable+0x27/0x29
[<c05308f4>] check_tty_count+0x3b/0x94
[<c0533c1a>] tty_open+0x175/0x2c4
[<c0478668>] chrdev_open+0xf7/0x12b
[<c0478571>] chrdev_open+0x0/0x12b
[<c0474d88>] __dentry_open+0xc3/0x17a
[<c0474eb9>] nameidata_to_filp+0x24/0x33
[<c0474efa>] do_filp_open+0x32/0x39
[<c0474cbb>] get_unused_fd+0xb3/0xbd
[<c0474f43>] do_sys_open+0x42/0xbe
[<c0474ff8>] sys_open+0x1c/0x1e
[<c0404f70>] syscall_call+0x7/0xb
=======================

The module is then frozen and you must unload and reload it.

Please make it work !

Personal tools