Re: So far it sounds good

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tapan,

Here is a typical answer from the 537 driver with
$ stty -F /dev/modem -a

[philippe@victor intel-536-537]$ stty -F /dev/modem -a
speed 115200 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt
= ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop
-echoprt
echoctl echoke

The $ stty -F /dev/modem -a issued from your computer returns the third
time:
speed 19200 baud; rows 0; columns 0; line = 0;
 intr =<undef>; quit =<undef>; erase =<undef>; kill =<undef>; eof =<undef>;
 eol =<undef>; eol2 =<undef>; swtch =<undef>; start = ^Q; stop = ^S;
 susp =<undef>; rprnt =<undef>; werase =<undef>; lnext =<undef>;
 flush =<undef>; min = 1; time = 0;
 -parenb -parodd cs8 -hupcl -cstopb cread clocal -crtscts
 ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff
 -iuclc -ixany -imaxbel -iutf8
 -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
 -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt
-echoctl -echoke
 
Could you check the following:
$ cd intel-536-537/
$ sudo make uninstall
$ reboot
after reboot:
$ ls -l /dev/modem

Thank you in advance.
-  
http://vouters.dyndns.org:8080/
Philippe Vouters (Fontainebleau/France)


Le vendredi 03 juillet 2009 à 19:21 +0200, Philippe Vouters a écrit :
> Dear Tapan,
> 
> Our last test will be with 8250.nr_uarts=1 for your kernel boot
> parameters in /etc/grub/grub.conf, if you haven't already done so.
> Then you reboot, you retry once the $ stty -F /dev/modem -a and
> afterwards you send me your /var/log/messages.
> Warmest regards,
> -  
> http://vouters.dyndns.org:8080/
> Philippe Vouters (Fontainebleau/France)
> 
> 
> Le vendredi 03 juillet 2009 à 22:36 +0530, Tapan Chugh a écrit :
> > On 07/03/2009 06:29 PM, Philippe Vouters wrote:
> > > Dear Tapan,
> > >
> > > So far it looks goods.
> > >
> > > As an aside subject, you have this message:
> > > "
> > > WARNING: Deprecated config file /etc/modprobe.conf, all config files
> > > belong into /etc/modprobe.d/.
> > > "
> > > To avoid this message, you might try performing the following:
> > > $ mv /etc/modprobe.conf /etc/modprobe.d/
> > >
> > > Perform as a beginning the following command:
> > > $ sudo lsof | grep 537ep
> > >
> > > With the software I am running on my computer and the 536ep driver, I
> > > can read the following:
> > >
> > > [philippe@victor ~]$ sudo lsof | grep 536ep
> > > lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file
> > > system /home/philippe/.gvfs
> > >        Output information may be incomplete.
> > > faxgetty  2188      uucp    7u      CHR      240,1      0t0
> > > 8135 /dev/536ep
> > >
> > > Providing lsof returns nothing, attempt:
> > > On one terminal
> > > $ tail -f /var/log/messages
> > > On another terminal
> > > $ stty -F /dev/modem -a
> > >
> > > Providing you a correct response with a kernel oops, download efax.zip
> > > from http://vouters.dyndns.org:8080/Intel/ and
> > > $ unzip -aa efax.zip
> > > $ cd efax
> > > $ make -f Makefile.orig
> > > $ ./efax -vewinchmart
> > >
> > > And you send me the output of each above command until failure or
> > > success.
> > > -
> > > http://vouters.dyndns.org:8080/
> > > Philippe Vouters (Fontainebleau/France)
> > >
> > >
> > >
> > >    
> > All going well.
> > Step 1
> > 
> > $ sudo lsof | grep 537ep
> > output nothing(excluding the gvfs stuff)
> > 
> > $ tail -f /var/log/messages
> > $ stty -F /dev/modem -a
> > output:
> > stty: /dev/modem bad address
> > tail -f /var/log/messages
> > Jul  3 22:24:27 localhost kernel: Can't initialize modem h/w
> > 
> > the same stty command again
> > kernel oop
> > 
> > /var/log/messages
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:------------[ cut here ]------------
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:------------[ cut here ]------------
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:invalid opcode: 0000 [#1] SMP
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:invalid opcode: 0000 [#1] SMP
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:last sysfs file: /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/devnum
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:last sysfs file: /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/devnum
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:Process stty (pid: 12379, ti=f0ae0000 task=c2043280 task.ti=f0ae0000)
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:Process stty (pid: 12379, ti=f0ae0000 task=c2043280 task.ti=f0ae0000)
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:Stack:
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:Stack:
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: 00000000 fae30ce6 00000000 00003052 00001543 30001543 ffffffff 000000ff
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: 00000000 fae30ce6 00000000 00003052 00001543 30001543 ffffffff 000000ff
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: f0ae1e4c fab55b9b c5042000 c5042000 c8d41380 c5042000 c5042000 f0ae1e58
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: f0ae1e4c fab55b9b c5042000 c5042000 c8d41380 c5042000 c5042000 f0ae1e58
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:Call Trace:
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:Call Trace:
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<fab5962b>] ? modem_init+0x23b/0x250 [Intel537]
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<fab5962b>] ? modem_init+0x23b/0x250 [Intel537]
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<fab59637>] ? modem_init+0x247/0x250 [Intel537]
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<fab59637>] ? modem_init+0x247/0x250 [Intel537]
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<fab55b9b>] ? open+0xcb/0x1b0 [Intel537]
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<fab55b9b>] ? open+0xcb/0x1b0 [Intel537]
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<fab58ae1>] ? softserial_open+0x141/0x160 [Intel537]
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<fab58ae1>] ? softserial_open+0x141/0x160 [Intel537]
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c05cabe5>] ? tty_open+0x281/0x3a0
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c05cabe5>] ? tty_open+0x281/0x3a0
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04aaaf1>] ? chrdev_open+0x11e/0x135
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04aaaf1>] ? chrdev_open+0x11e/0x135
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04a6d43>] ? __dentry_open+0x116/0x1f9
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04a6d43>] ? __dentry_open+0x116/0x1f9
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04a6ece>] ? nameidata_to_filp+0x32/0x47
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04a6ece>] ? nameidata_to_filp+0x32/0x47
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04aa9d3>] ? chrdev_open+0x0/0x135
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04aa9d3>] ? chrdev_open+0x0/0x135
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04b0ea6>] ? do_filp_open+0x34c/0x5e9
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04b0ea6>] ? do_filp_open+0x34c/0x5e9
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c042149f>] ? default_spin_lock_flags+0x8/0xd
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c042149f>] ? default_spin_lock_flags+0x8/0xd
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c05682a1>] ? strncpy_from_user+0x38/0x54
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c05682a1>] ? strncpy_from_user+0x38/0x54
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04b8e23>] ? alloc_fd+0xd0/0xdc
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04b8e23>] ? alloc_fd+0xd0/0xdc
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04a6b4a>] ? do_sys_open+0x47/0xbc
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04a6b4a>] ? do_sys_open+0x47/0xbc
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04a6c0b>] ? sys_open+0x23/0x2b
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c04a6c0b>] ? sys_open+0x23/0x2b
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c040945f>] ? sysenter_do_call+0x12/0x34
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel: [<c040945f>] ? sysenter_do_call+0x12/0x34
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:Code: c3 00 00 00 8d b0 00 00 00 40 c1 ee 0c c1 e6 05 03 35 80 80 a0 c0 8b 06 f6 c4 40 74 03 8b 76 0c 8b 06 84 c0 78 15 f6 c4 60 75 04<0f>  0b eb fe 89 f0 e8 a0 3f fe ff e9 8c 00 00 00 8b 5e 0c 8b 55
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:Code: c3 00 00 00 8d b0 00 00 00 40 c1 ee 0c c1 e6 05 03 35 80 80 a0 c0 8b 06 f6 c4 40 74 03 8b 76 0c 8b 06 84 c0 78 15 f6 c4 60 75 04<0f>  0b eb fe 89 f0 e8 a0 3f fe ff e9 8c 00 00 00 8b 5e 0c 8b 55
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:EIP: [<c04a2851>] kfree+0x40/0xe4 SS:ESP 0068:f0ae1df0
> > 
> > Message from syslogd@localhost at Jul  3 22:24:27 ...
> >   kernel:EIP: [<c04a2851>] kfree+0x40/0xe4 SS:ESP 0068:f0ae1df0
> > Jul  3 22:24:27 localhost kernel: Can't initialize modem h/w
> > Jul  3 22:24:27 localhost kernel: ------------[ cut here ]------------
> > Jul  3 22:24:27 localhost kernel: kernel BUG at mm/slub.c:2754!
> > Jul  3 22:24:27 localhost kernel: invalid opcode: 0000 [#1] SMP
> > Jul  3 22:24:27 localhost kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/devnum
> > Jul  3 22:24:27 localhost kernel: Modules linked in: Intel537 fuse ipt_MASQUERADE iptable_nat nf_nat sco bridge stp llc bnep l2cap bluetooth sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 dm_multipath uinput snd_hda_codec_idt ppdev pcspkr snd_hda_intel parport_pc snd_hda_codec snd_hwdep iTCO_wdt iTCO_vendor_support snd_pcm snd_timer snd e100 mii soundcore snd_page_alloc i2c_i801 parport ata_generic pata_acpi i915 drm i2c_algo_bit i2c_core video output [last unloaded: Intel537]
> > Jul  3 22:24:27 localhost kernel:
> > Jul  3 22:24:27 localhost kernel: Pid: 12379, comm: stty Not tainted (2.6.29.5-191.fc11.i686.PAE #1)
> > Jul  3 22:24:27 localhost kernel: EIP: 0060:[<c04a2851>] EFLAGS: 00210246 CPU: 0
> > Jul  3 22:24:27 localhost kernel: EIP is at kfree+0x40/0xe4
> > Jul  3 22:24:27 localhost kernel: EAX: 40040000 EBX: ffffffff ECX: f334f1c0 EDX: 00000000
> > Jul  3 22:24:27 localhost kernel: ESI: c11e5700 EDI: cf2b8000 EBP: f0ae1e04 ESP: f0ae1df0
> > Jul  3 22:24:27 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > Jul  3 22:24:27 localhost kernel: Process stty (pid: 12379, ti=f0ae0000 task=c2043280 task.ti=f0ae0000)
> > Jul  3 22:24:27 localhost kernel: Stack:
> > Jul  3 22:24:27 localhost kernel: fab5962b 00200286 ffffffff 00000000 c8d41380 f0ae1e30 fab59637 fae34d04
> > Jul  3 22:24:27 localhost kernel: 00000000 fae30ce6 00000000 00003052 00001543 30001543 ffffffff 000000ff
> > Jul  3 22:24:27 localhost kernel: f0ae1e4c fab55b9b c5042000 c5042000 c8d41380 c5042000 c5042000 f0ae1e58
> > Jul  3 22:24:27 localhost kernel: Call Trace:
> > Jul  3 22:24:27 localhost kernel: [<fab5962b>] ? modem_init+0x23b/0x250 [Intel537]
> > Jul  3 22:24:27 localhost kernel: [<fab59637>] ? modem_init+0x247/0x250 [Intel537]
> > Jul  3 22:24:27 localhost kernel: [<fab55b9b>] ? open+0xcb/0x1b0 [Intel537]
> > Jul  3 22:24:27 localhost kernel: [<fab58ae1>] ? softserial_open+0x141/0x160 [Intel537]
> > Jul  3 22:24:27 localhost kernel: [<c05cabe5>] ? tty_open+0x281/0x3a0
> > Jul  3 22:24:27 localhost kernel: [<c04aaaf1>] ? chrdev_open+0x11e/0x135
> > Jul  3 22:24:27 localhost kernel: [<c04a6d43>] ? __dentry_open+0x116/0x1f9
> > Jul  3 22:24:27 localhost kernel: [<c04a6ece>] ? nameidata_to_filp+0x32/0x47
> > Jul  3 22:24:27 localhost kernel: [<c04aa9d3>] ? chrdev_open+0x0/0x135
> > Jul  3 22:24:27 localhost kernel: [<c04b0ea6>] ? do_filp_open+0x34c/0x5e9
> > Jul  3 22:24:27 localhost kernel: [<c042149f>] ? default_spin_lock_flags+0x8/0xd
> > Jul  3 22:24:27 localhost kernel: [<c05682a1>] ? strncpy_from_user+0x38/0x54
> > Jul  3 22:24:27 localhost kernel: [<c04b8e23>] ? alloc_fd+0xd0/0xdc
> > Jul  3 22:24:27 localhost kernel: [<c04a6b4a>] ? do_sys_open+0x47/0xbc
> > Jul  3 22:24:27 localhost kernel: [<c04a6c0b>] ? sys_open+0x23/0x2b
> > Jul  3 22:24:27 localhost kernel: [<c040945f>] ? sysenter_do_call+0x12/0x34
> > Jul  3 22:24:27 localhost kernel: Code: c3 00 00 00 8d b0 00 00 00 40 c1 ee 0c c1 e6 05 03 35 80 80 a0 c0 8b 06 f6 c4 40 74 03 8b 76 0c 8b 06 84 c0 78 15 f6 c4 60 75 04<0f>  0b eb fe 89 f0 e8 a0 3f fe ff e9 8c 00 00 00 8b 5e 0c 8b 55
> > Jul  3 22:24:27 localhost kernel: EIP: [<c04a2851>] kfree+0x40/0xe4 SS:ESP 0068:f0ae1df0
> > Jul  3 22:24:27 localhost kernel: ---[ end trace 0422f40dc556bb32 ]---
> > 
> > then stty all ok
> > 
> > speed 19200 baud; rows 0; columns 0; line = 0;
> > intr =<undef>; quit =<undef>; erase =<undef>; kill =<undef>; eof =<undef>;
> > eol =<undef>; eol2 =<undef>; swtch =<undef>; start = ^Q; stop = ^S;
> > susp =<undef>; rprnt =<undef>; werase =<undef>; lnext =<undef>;
> > flush =<undef>; min = 1; time = 0;
> > -parenb -parodd cs8 -hupcl -cstopb cread clocal -crtscts
> > ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff
> > -iuclc -ixany -imaxbel -iutf8
> > -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
> > -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt
> > -echoctl -echoke
> > 
> > /var/log/messages nothing
> > 
> > next i download efax from your site
> > 
> > make -f Makefile.orig
> > gcc -O3 -D__USE_MISC -fshort-wchar  -c efax.c
> > gcc -O3 -D__USE_MISC -fshort-wchar  -c efaxlib.c
> > gcc -O3 -D__USE_MISC -fshort-wchar  -c efaxio.c
> > gcc -O3 -D__USE_MISC -fshort-wchar  -c efaxos.c
> > gcc -O3 -D__USE_MISC -fshort-wchar  -c efaxmsg.c
> > gcc -o efax  efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
> > gcc -O3 -D__USE_MISC -fshort-wchar  -c efix.c
> > gcc -o efix  efix.o efaxlib.o efaxmsg.o
> > 
> > 
> > $ ./efax -vewinchmart
> > ./efax: Fri Jul  3 22:25:59 2009 efax v 0.9a-001114 Copyright 1999 Ed Casas
> > ./efax: Fri Jul  3 22:25:59 2009 efax v 0.9a-001114 Copyright 1999 Ed Casas
> > efax: 25:59 compiled Jul  3 2009 22:25:43
> > efax: 25:59 argv[0]=./efax
> > efax: 25:59 argv[1]=-vewinchmart
> > efax: 25:59 using built-in 128x0 font
> > efax: 25:59 opened /dev/modem
> > efax: 25:59 command  "Q0V1"
> > efax: 25:59 waiting 2.0 s
> > 
> > so far it has been running for about 5 minutes and nothing has happened
> > 
> > then again the lsof command
> > 
> > efax      12526     tapan    3u      CHR      240,1       0t0     139926 /dev/537ep
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 



[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux