From nerve at hispeed.ch Mon Oct 8 05:21:33 2012 From: nerve at hispeed.ch (nerve) Date: Mon, 08 Oct 2012 11:21:33 +0200 Subject: [hsflinux] linux crash Message-ID: <50729B1D.1060704@hispeed.ch> Hello We are testing the HSF driver (free version). But there seems so be a problem related to this driver. Sometimes linux crashes (had to power cycle the computer). In syslog I can find the following lines: Oct 4 13:49:46 irun kernel: [601735.604554] ------------[ cut here ]------------ Oct 4 13:49:46 irun kernel: [601735.604559] kernel BUG at /build/buildd/linux-2.6.32/mm/slub.c:2969! Oct 4 13:49:46 irun kernel: [601735.604562] invalid opcode: 0000 [#1] SMP Oct 4 13:49:46 irun kernel: [601735.604565] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.5/host2/target2:0:0/2:0:0:0/block/sda/queue/rotational Oct 4 13:49:46 irun kernel: [601735.604568] Modules linked in: hsfusbcd2 hsfmc97sis hsfmc97ati hsfmc97ali hsfmc97via hsfmc97ich hsfpcibasic3 hsfpcibasic2 hsfserial hsfengine(P) hsfosspec hsfsoar snd_hda_codec_realtek fbcon tileblit fo nt bitblit softcursor vga16fb vgastate snd_hda_intel coretemp snd_hda_codec snd_hwdep lp snd_pcm ppdev i915 snd_timer parport_pc drm_kms_helper parport snd drm i2c_algo_bit soundcore intel_agp snd_page_alloc video agpgart output usbhid hid usb_storage e1000e [last unloaded: hsfosspec] Oct 4 13:49:46 irun kernel: [601735.604602] Oct 4 13:49:46 irun kernel: [601735.604605] Pid: 904, comm: khsfd/modem Tainted: P (2.6.32-27-generic #49-Ubuntu) OEM Oct 4 13:49:46 irun kernel: [601735.604608] EIP: 0060:[] EFLAGS: 00010246 CPU: 0 Oct 4 13:49:46 irun kernel: [601735.604613] EIP is at kfree+0xf5/0x100 Oct 4 13:49:46 irun kernel: [601735.604615] EAX: 40000000 EBX: c167c1a0 ECX: 00000000 EDX: f7ffe000 Oct 4 13:49:46 irun kernel: [601735.604617] ESI: f000d000 EDI: ed168000 EBP: ed1bfde4 ESP: ed1bfdcc Oct 4 13:49:46 irun kernel: [601735.604619] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 Oct 4 13:49:46 irun kernel: [601735.604622] Process khsfd/modem (pid: 904, ti=ed1be000 task=ed366600 task.ti=ed1be000) Oct 4 13:49:46 irun kernel: [601735.604624] Stack: Oct 4 13:49:46 irun kernel: [601735.604625] f988b823 00000000 c0766408 f699a6a4 00000001 ed168000 ed1bfdf4 f988b823 Oct 4 13:49:46 irun kernel: [601735.604631] <0> f69980f0 f699a144 ed1bfe14 f9b09240 f000d000 c012a688 ed1bfe18 c058d9bf Oct 4 13:49:46 irun kernel: [601735.604637] <0> f699a6a4 f699a24c ed1bfe34 f9a97d0d f699a6a4 00000292 ece48100 ed1bfe34 Oct 4 13:49:46 irun kernel: [601735.604644] Call Trace: Oct 4 13:49:46 irun kernel: [601735.604653] [] ? cnxthsf_7800206full_OsFree+0x43/0x70 [hsfosspec] Oct 4 13:49:46 irun kernel: [601735.604659] [] ? cnxthsf_7800206full_OsFree+0x43/0x70 [hsfosspec] Oct 4 13:49:46 irun kernel: [601735.604692] [] ? hsfengine5181_+0x20/0x40 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.604697] [] ? default_spin_lock_flags+0x8/0x10 Oct 4 13:49:46 irun kernel: [601735.604701] [] ? _spin_lock_irqsave+0x2f/0x50 Oct 4 13:49:46 irun kernel: [601735.604743] [] ? hsfengine5001_+0x9d/0x160 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.604782] [] ? hsfengine4094_+0x24/0x80 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.604813] [] ? hsfengine837_+0x9d/0x160 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.604820] [] ? cnxthsf_7800206full_OsFree+0x43/0x70 [hsfosspec] Oct 4 13:49:46 irun kernel: [601735.604850] [] ? hsfengine2512_+0xb6/0x170 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.604881] [] ? hsfengine2564_+0xba/0x110 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.604911] [] ? hsfengine2478_+0x59/0xb0 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.604915] [] ? do_gettimeofday+0x16/0x40 Oct 4 13:49:46 irun kernel: [601735.604945] [] ? hsfengine2494_+0x1b7/0x260 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.604976] [] ? hsfengine2494_+0x1a3/0x260 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.605008] [] ? hsfengine1215_+0x1f3/0x320 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.605039] [] ? hsfengine745_+0x111/0x150 [hsfengine] Oct 4 13:49:46 irun kernel: [601735.605045] [] ? TimerThreadFunction+0x1d/0x80 [hsfosspec] Oct 4 13:49:46 irun kernel: [601735.605052] [] ? cnxt_thread+0x15d/0x1d0 [hsfosspec] Oct 4 13:49:46 irun kernel: [601735.605056] [] ? default_wake_function+0x0/0x20 Oct 4 13:49:46 irun kernel: [601735.605062] [] ? cnxt_thread+0x0/0x1d0 [hsfosspec] Oct 4 13:49:46 irun kernel: [601735.605066] [] ? kernel_thread_helper+0x7/0x10 Oct 4 13:49:46 irun kernel: [601735.605068] Code: 8b 03 e9 78 ff ff ff 8b 3d f0 e1 79 c0 85 ff 0f 84 48 ff ff ff 8b 0f 83 c7 04 89 f2 89 d8 ff d1 8b 0f 85 c9 75 f1 e9 32 ff ff ff <0f> 0b eb fe 8d b4 26 00 00 00 00 55 89 e5 0f 1f 44 00 00 83 e8 Oct 4 13:49:46 irun kernel: [601735.605104] EIP: [] kfree+0xf5/0x100 SS:ESP 0068:ed1bfdcc Oct 4 13:49:46 irun kernel: [601735.605110] ---[ end trace 9f19669d05575463 ]--- Linux: $ uname -a Linux irun 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010 i686 GNU/Linux Are there some known problems? Thanks From cle at ziskind.us Sun Nov 4 00:50:06 2012 From: cle at ziskind.us (N. Yaakov Ziskind) Date: Sun, 4 Nov 2012 00:50:06 -0400 Subject: [hsflinux] Unable to build module In-Reply-To: References: <20120920100251.A28250@egps.ziskind.us> Message-ID: <20121104005006.A15642@egps.ziskind.us> So, after weeks of painful sessions with vi, I think it kinda works: [snip] ______________________________________________ Note: kernel module snd-via82xx-modem overridden by hsfmc97via Note: kernel module snd-intel8x0m overridden by hsfmc97ich hsfmc97sis Note: kernel module snd-atiixp-modem overridden by hsfmc97ati Current parameters: ("hsfconfig --info") Config for modem unit 0: /dev/ttySHSF0 Device instance: 0-PCI-14f1:2f00-155d:8d8b HW revision : Basic2 2.18 Standard DAA 3VoltsIA HW profile name: hsfpcibasic2hsfi Current region : USA (T.35 code: 00B5) The /dev/modem alias (symlink) points to ttySHSF0 ____________________________________________ But hylafax doesn't recognize it: ____________________________________________ ATQ0V1E1 OK AT+FCLASS=? 0 OK We were unable to deduce what type of modem you have. This means that it did not respond as a Class 1, Class 2, or Class 2.0 modem should. If you believe that your modem conforms to the Class 1, Class 2, or Class 2.0 interface specification, then check that the modem is operating properly and that you can communicate with the modem from the host. If your modem is not one of the above types of modems, then this software does not support it and you will need to write a driver that supports it. _____________________________________________ What do I do now? Bill Wayson wrote (on Thu, Sep 20, 2012 at 08:14:24AM -0700): > It sounds like you did not modify the > /usr/lib/hsfmodem/modules/GPL/oscompat.h and the > /usr/lib/hsfmodem/modules/osservices.c files. The patch file I sent needs > to be used to determine which files need to be modified by you and what > modifications need to be made. If you open the patch file in a text > editor, you'll see this section at the top: