[hsflinux] Current HSF driver doesn't work

Hannes Kuhnert post at hannes-kuhnert.de
Sat Jan 28 17:44:05 EST 2006


owning a license I was using an older version of the HSF driver with several 
Linux kernels. But it couldn't be compiled for some newer kernel versions. 
That's why I updated to hsfmodem-, which doesn't work with any 
of the Linux kernels installed.

For example for Linux, it can be compiles and it is loaded without an 
error. A dialer seems to work as expected at first, but the modem doesn't 
work. Although using the command ATM1, I can't hear it.

For Linux, it can be compiled, but loading the modules results in an 
error message. The modem device can't be opened.

Has anyone an idea what could be wrong?

Thanks for help.

Hannes Kuhnert

Here's the relevant part of the kernel log for Linux

hsfengine: module license 'see LICENSE file distributed with driver' taints 
PCI: Found IRQ 11 for device 0000:00:11.0
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: hsfpcibasic2 hsfserial serial_core hsfsoar hsfengine 
hsfosspec usbcore parport_pc lp parport rtc
CPU:    0
EIP:    0060:[<c01c6ae7>]    Tainted: P      VLI
EFLAGS: 00010216   ( 
EIP is at vsnprintf+0x37/0x4f0
eax: c7cb8d4f   ebx: c7cb8ce0   ecx: 00000000   edx: 00000014
esi: c7cb8d50   edi: c8b93180   ebp: c7cb8d63   esp: c87abac4
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 1190, threadinfo=c87aa000 task=cb9c3520)
Stack: 00000002 c87abb63 c01c6d25 00000286 c87abb63 00000000 00000084 00000000 
       c0138b45 00000084 c7cb8ce0 00000014 c8b93180 c87abb88 c0208a0f c7cb8d50 
       00000014 00000000 c87abb34 c8110000 00000000 c819b000 cce0f6a4 c8b93180 
Call Trace:
 [<c01c6d25>] vsnprintf+0x275/0x4f0
 [<c0138b45>] kzalloc+0x25/0x60
 [<c0208a0f>] class_device_create+0x8f/0xc0
 [<cce0f6a4>] cnxthsf_DcpCreate+0xd4/0x120 [hsfosspec]
 [<cce0c7c1>] cnxthsf_OsAllocate+0x71/0x160 [hsfosspec]
 [<cce0c7c1>] cnxthsf_OsAllocate+0x71/0x160 [hsfosspec]
 [<ccfbfde8>] hsfengine1883_+0x48/0x60 [hsfengine]
 [<ccfbb43a>] hsfengine693_+0xca/0x5b0 [hsfengine]
 [<ccfbb419>] hsfengine693_+0xa9/0x5b0 [hsfengine]
 [<ccfaaddd>] hsfengine1738_+0x9d/0xb0 [hsfengine]
 [<cce0c7c1>] cnxthsf_OsAllocate+0x71/0x160 [hsfosspec]
 [<ccfc8646>] hsfengine1796_+0x16/0xb0 [hsfengine]
 [<ccfa5d87>] hsfengine1532_+0x27/0x60 [hsfengine]
 [<ccfca4ce>] hsfengine1967_+0x2e/0x90 [hsfengine]
 [<ccfc9adf>] hsfengine1984_+0xf/0x20 [hsfengine]
 [<ccfca233>] hsfengine1988_+0xb3/0x1a0 [hsfengine]
 [<ccfc9f86>] hsfengine1985_+0x126/0x1d0 [hsfengine]
 [<ccfc7121>] hsfengine523_+0x91/0xc0 [hsfengine]
 [<ccfc7121>] hsfengine523_+0x91/0xc0 [hsfengine]
 [<ccfbba87>] hsfengine672_+0x67/0xc0 [hsfengine]
 [<ccfa1521>] cnxthsf_ComCtrl_Open+0x121/0x1b0 [hsfengine]
 [<ccdc83fe>] cnxthsf_cnxt_serial_add+0x1be/0x450 [hsfserial]
 [<ccdc7760>] cnxt_event_handler+0x0/0x340 [hsfserial]
 [<c01d50c1>] pci_get_device+0x31/0x40
 [<c024a4a9>] pcibios_lookup_irq+0x1d9/0x470
 [<c01c6d25>] vsnprintf+0x275/0x4f0
 [<c0138b45>] kzalloc+0x25/0x60
 [<cce33120>] cnxthw_pm_callback+0x0/0x60 [hsfpcibasic2]
 [<cce3338b>] cnxthwpci_probe+0x20b/0x2b0 [hsfpcibasic2]
 [<c01d47b9>] pci_call_probe+0x19/0x20
 [<c01d4825>] __pci_device_probe+0x65/0x80
 [<c01d486f>] pci_device_probe+0x2f/0x50
 [<c0207628>] driver_probe_device+0x38/0xb0
 [<c0207720>] __driver_attach+0x0/0x50
 [<c0207767>] __driver_attach+0x47/0x50
 [<c0206b79>] bus_for_each_dev+0x69/0x80
 [<c0207795>] driver_attach+0x25/0x30
 [<c0207720>] __driver_attach+0x0/0x50
 [<c02070cd>] bus_add_driver+0x8d/0xe0
 [<c0207bc0>] driver_register+0x40/0x50
 [<c0207b60>] klist_devices_get+0x0/0x10
 [<c0207b70>] klist_devices_put+0x0/0x10
 [<c01d4b31>] __pci_register_driver+0x71/0xb0
 [<c01d4f81>] pci_find_device+0x31/0x40
 [<ccda2101>] cnxthwpci_init+0x101/0x109 [hsfpcibasic2]
 [<c012ab92>] sys_init_module+0x122/0x1b0
 [<c0102bf9>] syscall_call+0x7/0xb
Code: d2 0f 88 97 04 00 00 8b 74 24 3c 8b 44 24 40 8d 6c 30 ff 89 f0 48 39 c5 
73 0d 89 f2 bd ff ff ff ff f7 da 89 54 24 40 8b 4c 24 44 <80> 39 00 74 27 8d 
74 26 00 0f b6 01 3c 25 74 41 39 ee 77 06 88 

More information about the hsflinux mailing list