Re: Re: USB ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS] in debian
On Nov 29, 10:50 pm, Scott Ferguson wrote: > On 30/11/11 07:06, wzab wrote: > Did you try:- > lsmod | grep rtl819 > ? > the above previously returned rtl8192cu and rtl8192c_common (now only the second one). Yes, I had this module installed (that's why I had to disable it by renaming rtl8192cu.ko file to rtl8192cu.ko.deleted ) > You'd need to enable the *non-free* repository for the module. > > Perhaps you could file a bug report against it? Well, but against which package should it be filled? "apt-file search rtl8192cu" returns: firmware-realtek: /lib/firmware/rtlwifi/rtl8192cufw.bin linux-headers-3.0.0-1-686-pae: /usr/src/linux-headers-3.0.0-1-686-pae/include/config/rtl8192cu.h linux-image-3.0.0-1-686-pae: /lib/modules/3.0.0-1-686-pae/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko So probably i should file the bug report against linux-image-3.0.0-1-686-pae? > NOTE: has worked fine for others and I. Sorry, I don't understand. Do you mean that my recipe worked, or installing of some packages from non-free section? BTW. I have non-free repository enbled in this system (e.g. the fimrware-realtek is installed from there). -- Cheers, WZab -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAMduVEejWoXuYrHUgweF9E7zQS=zfit2ukbxrwzqbtpno50...@mail.gmail.com
Xilinx USB programmer - problems with Debian/Linux - Solved
Hi, After last upgrade of my Debian/testing system which I use for FPGA development, the Xilinx USB programmer stopped to work. After some research I've found, that the syntax of udev rules has changed, and it is necessary to replace $TEMPNODE with $tempnode: === xusbdfwu.rules SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0008", MODE="666" BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/local/firmware/xusbdfwu.hex -D $tempnode" BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/local/firmware/xusb_xup.hex -D $tempnode" BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/local/firmware/xusb_emb.hex -D $tempnode" BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/local/firmware/xusb_xlp.hex -D $tempnode" BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0013", RUN+="/sbin/fxload -v -t fx2 -I /usr/local/firmware/xusb_xpr.hex -D $tempnode" === end of rules === I hope, that this info may be useful for others, experiencing the above problem. -- HTH & Regards, Wojtek w...@ise.pw.edu.pl http://www.ise.pw.edu.pl/~wzab/gps_logger - Open Source GPS logger with voice recording -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
New package suggestion - scanbuttond - extension of sane packages
Hi All, I'd like to suggest adding a new package - "scanbuttond" (http://scanbuttond.sourceforge.net/). It is a very useful program allowing to make full use of buttons found in some scanners. -- Regards, Wojtek Zabolotny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Suggestion of new debian package - GHDL - free VHDL simulatior
Hi All, I've just found GHDL (http://ghdl.free.fr) which is a free (GPL) VHDL simulator. I think it would be a nice suplement to the Icarus Verilog package... It seems to me that it should be relatively easy to package it (however I'm not able to do it myself :-( ) -- Regards, Wojtek Zabolotny [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
More details:: esdrec hangs when esd is running - select function problem?
Hi All, I've done one more test. I've run esd with: $ strace 2>/tmp/debug esd And then I've run on the another console: $ esdrec > /tmp/test.raw Then I've killed esdrec with CTRL+C (after a few seconds). In the /tmp/debug I've found: [...] socket(PF_UNIX, SOCK_STREAM, 0) = 4 fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 setsockopt(4, SOL_SOCKET, SO_LINGER, {onoff=1, linger=100}, 8) = 0 setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 umask(0)= 022 bind(4, {sa_family=AF_UNIX, path="/tmp/.esd/socket"}, 18) = 0 umask(022) = 0 listen(4, 16) = 0 open("/dev/dsp", O_WRONLY|O_NONBLOCK) = 5 fcntl64(5, F_GETFL) = 0x801 (flags O_WRONLY|O_NONBLOCK) fcntl64(5, F_SETFL, O_WRONLY) = 0 ioctl(5, SNDCTL_DSP_SETFMT, 0xb9a0) = 0 ioctl(5, SNDCTL_DSP_GETFMTS, 0xb9a0) = 0 ioctl(5, SNDCTL_DSP_STEREO, 0xb9a0) = 0 ioctl(5, SOUND_PCM_READ_RATE, 0xb9a0) = 0 ioctl(5, SNDCTL_DSP_GETBLKSIZE, 0xb9a0) = 0 select(6, NULL, [5], NULL, {0, 10}) = 1 (out [5], left {0, 1}) [...] select(5, [4], NULL, NULL, {0, 5500}) = 0 (Timeout) ioctl(5, SNDCTL_DSP_POST, 0)= 0 time(NULL) = 1064062091 select(5, [4], NULL, NULL, NULL)= 1 (in [4]) accept(4, {sa_family=AF_UNIX, path="@"}, [2]) = 6 ioctl(6, FIONBIO, [0]) = 0 setsockopt(6, SOL_SOCKET, SO_SNDBUF, [16384], 4) = 0 setsockopt(6, SOL_SOCKET, SO_RCVBUF, [16384], 4) = 0 accept(4, 0xb8a0, [2]) = -1 EAGAIN (Resource temporarily unavailable) select(7, [6], NULL, NULL, {0, 0}) = 1 (in [6], left {0, 0}) read(6, "[EMAIL PROTECTED]@[EMAIL PROTECTED]", 20) = 20 write(6, "\1\0\0\0", 4) = 4 select(7, [4 6], NULL, NULL, {0, 5500}) = 1 (in [6], left {0, 1}) select(7, [6], NULL, NULL, {0, 0}) = 1 (in [6], left {0, 0}) read(6, "\4\0\0\0", 4) = 4 select(7, [4 6], NULL, NULL, {0, 5500}) = 1 (in [6], left {0, 1}) select(7, [6], NULL, NULL, {0, 0}) = 1 (in [6], left {0, 0}) read(6, "! \0\0D\254\0\0test.raw\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 136) = 136 setsockopt(6, SOL_SOCKET, SO_SNDBUF, [16384], 4) = 0 setsockopt(6, SOL_SOCKET, SO_RCVBUF, [16384], 4) = 0 close(5)= 0 nanosleep({0, 10}, NULL)= 0 open("/dev/dsp", O_RDWR|O_NONBLOCK) = 5 fcntl64(5, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl64(5, F_SETFL, O_RDWR) = 0 ioctl(5, SNDCTL_DSP_SETDUPLEX, 0) = 0 ioctl(5, SNDCTL_DSP_SETFMT, 0xb7c0) = 0 ioctl(5, SNDCTL_DSP_GETFMTS, 0xb7c0) = 0 ioctl(5, SNDCTL_DSP_STEREO, 0xb7c0) = 0 ioctl(5, SOUND_PCM_READ_RATE, 0xb7c0) = 0 ioctl(5, SNDCTL_DSP_GETBLKSIZE, 0xb7c0) = 0 select(6, NULL, [5], NULL, {0, 10}) = 1 (out [5], left {0, 1}) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) select(7, [4 6], NULL, NULL, {0, 0})= 0 (Timeout) So it seems, that ESD is waiting for input from the client!!! (And as I've stated in my previous post the client is waiting for input from the ESD). It seems that there is a kind of deadlock there :-(... -- TIA & Regards, Wojtek Zabolotny [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
esdrec hangs when esd is running
Hi All, I need to use an application which uses ESD for both capture and playing of voice (a voice chat enabled YM client for Linux). However I've discovered that ESD based voice capture doesn't work in my system. Tracing down the problem, I'v get to the situation where I run esd on one console, and then run "esdrec -b -m -r 8000 > test.raw" on the another. Then I wait 30 seconds, and after pressing CTRL+C inpect the test.raw file - it is 0 bytes long. So I've tried to run "strace esdrec -b -m -r 8000 > test.raw". Strace returns following results: [...] setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 connect(4, {sa_family=AF_UNIX, path="/tmp/.esd/socket"}, 18) = 0 rt_sigaction(SIGPIPE, {0x40027090, [PIPE], SA_RESTORER|SA_RESTART, 0x400939d8}, {SIG_DFL}, 8) = 0 open("/home/wzab/.esd_auth", O_RDONLY) = 6 read(6, "[EMAIL PROTECTED]@\314\373\377\277\0\236\0@", 16) = 16 write(4, "[EMAIL PROTECTED]@\314\373\377\277\0\236\0@", 16) = 16 write(4, "NDNE", 4) = 4 read(4, "\1\0\0\0", 4) = 4 close(6)= 0 rt_sigaction(SIGPIPE, {SIG_DFL}, {0x40027090, [PIPE], SA_RESTORER|SA_RESTART, 0x400939d8}, 8) = 0 rt_sigaction(SIGPIPE, {0x40027090, [PIPE], SA_RESTORER|SA_RESTART, 0x400939d8}, {SIG_DFL}, 8) = 0 write(4, "\4\0\0\0", 4) = 4 write(4, "\20 \0\0", 4) = 4 write(4, "@\37\0\0", 4) = 4 write(4, "[EMAIL PROTECTED]"..., 128) = 128setsockopt(4, SOL_SOCKET, SO_SNDBUF, [22579], 4) = 0 setsockopt(4, SOL_SOCKET, SO_RCVBUF, [22579], 4) = 0 rt_sigaction(SIGPIPE, {SIG_DFL}, {0x40027090, [PIPE], SA_RESTORER|SA_RESTART, 0x400939d8}, 8) = 0 read(4, [END] So esdrec hangs on reading from the esd socket :-(. Without esd running esdrec works perfectly (fallback to /dev/dsp when esd not present?). When i try to read or write to the /tmp/.esd/socket, I get the message: $cat test.wav > /tmp/.esd/socket bash: /tmp/.esd/socket: No such device or addres $cat /tmp/.esd/socket > test.wav cat: /tmp/.esd/socket: No such device or address So it seems, that there is a problem with the ESD daemon :-(. However esdplay works (both with and without ESD running). When using bplay & brec everything works perfectly so my sound setup seems to be correct (SB 128 PCI, kernel 2.4.21 with OSS)) What can be a reason of my problems? I'm running debiang/testing. -- TIA & Regards, Wojtek Zabolotny [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
DocBook with MathML in debian/testing - doesn't work :-(((
Hi All, I'm not able to process succesfully a DocBook with MathML equation into the PDF file. To be sure that the XML source is correct, I've just downloaded the http://belnet.dl.sourceforge.net/sourceforge/docbook/docbook-testdocs-1.1.tar.gz test documents, and tried to process: $ db2pdf mathml.001.xml The output was: Using catalogs: /etc/sgml/catalog Using stylesheet:/usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#print Working on: /tmp/math/mathml.001.xml And then a lot of error messages like these: jade:/usr/share/sgml/docbook/custom/mathml/1.0/../../../../dtd/w3/mathml/2.0/isomfrk.ent:28:30:E: "1D51E" is not a character number in the document character set jade:/usr/share/sgml/docbook/custom/mathml/1.0/../../../../dtd/w3/mathml/2.0/isomfrk.ent:29:30:E: "1D504" is not a character number in the document character set jade:/usr/share/sgml/docbook/custom/mathml/1.0/../../../../dtd/w3/mathml/2.0/isomfrk.ent:30:30:E: "1D51F" is not a character number in the document character set (pełna lista bardzo długa). I tried to use "jw", "jade", "openjade" directly, but results were just the same. Has anybody succeeded to process DocBook'a + MathML correctly? My configuration: debian/testing Installed packages : docbook-mathml 1.0-1 w3-dtd-mathml 2.0-1 docbook 4.2-1 docbook-dsssl 1.77-2 docbook-utils 0.6.12-2 docbook-xml 4.2-4 openjade 1.4devel1-8 jade 1.2.1-28 opensp 1.5pre5-5.1 And other packages on which the above depend. Thank you in advance for any help/suggestions how to fix the problem. -- Wojciech M. Zabolotny [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
CIPE in debian 2.2 - a few problems
Hi All, I use the CIPE encrypted channel to establish communication between my two separated intranet subnets. The cipcb daemon is loaded with following options in modules.conf: ### update-modules: start processing /etc/modutils/cipe alias cipcb0 cipcb alias cipcb1 cipcb alias cipci0 cipci alias cipci1 cipci options cipcb cipe_maxdev=2 cipe_debug=0 These settings should switch the debugging off (and in fact I get the following loading confirmation in my kern.log: "Nov 12 00:38:19 wzab kernel: cipcb: CIPE driver vers 1.5.2 (c) Olaf Titz 1996-2000, 2 channels, debug=0"), but anyway I get the following messages in my log files: (IP numbers are changed due to security reasons) Nov 12 01:29:57 wzab kernel: PROTO=17 aaa.bbb.ccc.ddd:1234 111.222.333.444:9876 L=108 S=0x00 I=58291 F=0x4000 T=64 Nov 12 01:29:57 wzab kernel: nf_hook: hook 4 already set. Nov 12 01:29:57 wzab kernel: skb: pf=2 (owned) dev=eth1 len=100 Nov 12 01:29:57 wzab kernel: PROTO=17 aaa.bbb.ccc.ddd:1234 111.222.333.444:9876 L=100 S=0x00 I=58292 F=0x4000 T=64 Nov 12 01:29:57 wzab kernel: nf_hook: hook 4 already set. Nov 12 01:29:57 wzab kernel: skb: pf=2 (owned) dev=eth1 len=100 Nov 12 01:29:57 wzab kernel: PROTO=17 aaa.bbb.ccc.ddd:1234 111.222.333.444:9876 L=100 S=0x00 I=58293 F=0x4000 T=64 I don't know how to switch off these annoying messages which overflow my logs... -- TIA & Regards, Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] If the dynamic growth is a sign of health, then a cancer is the healthiest part of the body.
Re: Kernel documentation/book
On Thu, Oct 25, 2001 at 02:37:52PM +0200, Jean-Sylvestre Gakwaya wrote: > Does someone has a good reference about a book/ full documentation about > Kernel > (Linux point of view) which explains things clearly and in a didactical way ? 1) Understanding the Linux Kernel http://www.oreilly.com/catalog/linuxkernel/ 2) Many interesting things may be found in: Linux Device Drivers, 2nd Edition (freely available online!!!) http://www.oreilly.com/catalog/linuxdrive2/ -- HTH & Regards, Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
More details: Problems with crosscompilation of 2.0.38 on potato with 2.4.9 kernel
I just want to add a few more details to my previous post: > I receive the following errors: > make[2]: *** [fastdep] Error 135 > make[2]: Leaving directory /tmp/linux/drivers/char' > make[1]: *** [fastdep] Error 2 > What is the cause of that error, and how to cure it? The source of problem is the "mkdep" program, which fails causing the "bus error". I have taken the mkdep.c file form the "2.4.9" kernel and replaced the old version in 2.0.38 kernel tree with it. Now the kernel compiles smoothly, but I'm a little worried if I haven't introduced another difficult to find error (i dislike solutions which I don't understand ;-) ). -- TIA & Regards, Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
Problems with crosscompilation of 2.0.38 on potato with 2.4.9 kernel
Hi All, Recently I had to recompile my old 2.0.38 kernel for an embedded system. Unfortunately the source, which compiled smoothly on potato with 2.2.18, now fails during the "make dep". (I have a potato upgraded to 2.4.9 according to http://www.fs.tum.de/~bunk/kernel-24.html) I receive the following errors: make[2]: *** [fastdep] Error 135 make[2]: Leaving directory /tmp/linux/drivers/char' make[1]: *** [fastdep] Error 2 What is the cause of that error, and how to cure it? -- TIA & Regards, Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.opendvd.org Don't allow others to decide what can you play on YOUR hardware, and what OS you need to watch DVD!!!
INCOMPATIBILITY FOUND: Re: IrDA stopped working after kernel upgrade to 2.4.9
On Thu, Aug 23, 2001 at 12:47:11AM +0200, Wojciech Zabolotny wrote: > Hi All, > > I just stated that the reason is that the "irattach" is not running. > When I start it by hand with "irattach /dev/ttyS1", everything works > correctly. But now I really don't know what is the correlation with > kernel upgrade =:-( ? THIS IS associated with kernel upgrade. The real reason of my problems is that "irmanager" does nor start. When I tried to run it by hand: "/etc/init.d/irmanager start" it didn't start, and in the /var/log/daemon I found: Aug 23 00:56:10 wzab modprobe: modprobe: Can't locate module char-major-9 So it seems that the major number or IrDA devices has changed between 2.2.18 and 2.4.9 So I think, that the deb "http://people.debian.org/~bunk/debian potato main " collection should be suplemented with new version of "irda-common" package. -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - save your data and time
IMPORTANT HINT Re: IrDA stopped working after kernel upgrade to 2.4.9
Hi All, I just stated that the reason is that the "irattach" is not running. When I start it by hand with "irattach /dev/ttyS1", everything works correctly. But now I really don't know what is the correlation with kernel upgrade =:-( ? -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - an OS without "trojan horses" inside
Re: IrDA stopped working after kernel upgrade to 2.4.9
On Wed, Aug 22, 2001 at 10:33:24PM +0200, thomas wrote: > > I used "make menuconfig" and configured the kernel by hand (having read > > the configuration from the old 2.2.18 config), was it wrong? > > Does "oldconfig" makes some magic conversions from old version of > > configfile? > > It only works from 2.Y.x -> 2.Y.x anyway (not 2.2.x -> 2.4.x) afaik (you > could try it out though). I think the problem might be the old 2.2.18 > kernel to 2.4.9 upgrade. Well, does it mean that reading the old .config file during the "make menuconfig" can break something? (eg. some important config options may become unavailable or the setting to chose from may get currupted?) I upgraded many times 2.0.x->2.0.y, 2.0->2.2, and 2.0.x->2.0.y that way and it allways worked perfectly (after the further review and manual corrections). Certainly some options were not used in newer kernels, and some new options were introduced so even if I just read the old .config and write it back, the new .config was different. I have compared the original .config file from 2.4.9 (generated by "make menuconfig" just after unpacking the archive, and saved without editing any options)with my own "upgraded from 2.2.18". AFAIK There were no corrupted options... BTW. This is the section with IrDA related options: CONFIG_SERIAL=y # CONFIG_SERIAL_CONSOLE is not set CONFIG_SERIAL_EXTENDED=y # CONFIG_SERIAL_MANY_PORTS is not set CONFIG_SERIAL_SHARE_IRQ=y CONFIG_SERIAL_DETECT_IRQ=y # CONFIG_SERIAL_MULTIPORT is not set # CONFIG_HUB6 is not set # CONFIG_SERIAL_NONSTANDARD is not set # IrDA (infrared) support # CONFIG_IRDA=m CONFIG_IRLAN=m # CONFIG_IRNET is not set CONFIG_IRCOMM=m CONFIG_IRDA_ULTRA=y CONFIG_IRDA_OPTIONS=y CONFIG_IRDA_CACHE_LAST_LSAP=y CONFIG_IRDA_FAST_RR=y CONFIG_IRDA_DEBUG=y # # Infrared-port device drivers # CONFIG_IRTTY_SIR=m CONFIG_IRPORT_SIR=m # CONFIG_DONGLE is not set # CONFIG_USB_IRDA is not set # CONFIG_NSC_FIR is not set # CONFIG_WINBOND_FIR is not set # CONFIG_TOSHIBA_FIR is not set # CONFIG_SMC_IRCC_FIR is not set # CONFIG_ALI_FIR is not set # CONFIG_VLSI_FIR is not set > But since you upgraded all important packages > (like modutils etc.) from the url you mentioned i'm kinda clueless. > Maybe sth. went wrong. Pls check if lsmod -V gives 2.4.6 or higher. lsmod -V lsmod version 2.4.6 > Does everything work if you boot the old kernel again? I can not check it because I have changed my filesystem e2fs->reiserfs so it can not work with old 2.2.18 any more :-(. BTW. Reiserfs performs much better, wastes much less space and up to this time appears to be "power failure proof". > If nothing helps then > build 2.4.9 again, you probably missed sth. during the config. > I've quoted the IrDA related sections of my .config above. It seems that everything is correct, but I may be wrong. I was amused that using pilot-xfer causes loading of "ircomm-tty" and "ircomm" modules but doesn't cause loading of neither "irtty" nor "irport" modules. May be this is the reason of problems ??? I've tried to unload "irda" manually, and then load "irtty" and only then run pilot-xfer. Unfortunately it didn't help anyway. PS. I've decided to change the subject. I suppose that only a few people know what pilot-xfer is. Probably "IrDA" is much more popular... -- Thanks & Regards, Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Linux - free OS for free people!
Re: pilot-xfer stopped working after kernel upgrade to 2.4.9
On Wed, Aug 22, 2001 at 02:04:34PM +0200, thomas wrote: > > What kernel did you run before? Did you use 'make oldconfig' before you > made the new kernel? I used "make menuconfig" and configured the kernel by hand (having read the configuration from the old 2.2.18 config), was it wrong? Does "oldconfig" makes some magic conversions from old version of configfile? >Are the modules for the serial modules in > /lib/modules/2.4.9? Did you forget to compile them in the kernel? > 'dmesg | grep serial' after a reboot might help. No my serial driver is configured into the kernel dmesg | grep serial outputs nothing, but 'dmesg | grep 165' reports: ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A When I use my own program using the serial port or "minicom" the serial interrupts get activated (in /proc interrupts: CPU0 0: 570951 XT-PIC timer 1: 16118 XT-PIC keyboard 2: 0 XT-PIC cascade 4: 9 XT-PIC serial 8: 1 XT-PIC rtc 9: 138453 XT-PIC eth0 10: 35904 XT-PIC es1371, eth1 12: 221904 XT-PIC PS/2 Mouse 14: 37033 XT-PIC ide0 15: 41 XT-PIC ide1 NMI: 0 ERR: 0 MIS: 0 ) So it is not a problem with serial drivers probably. (Anyway irport should work even without serial driver, but didn't) -- Regards, Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - save your data and time
pilot-xfer stopped working after kernel upgrade to 2.4.9
Hi All, I have upgraded my Debian box to kernel 2.4.9 I have added: deb http://people.debian.org/~bunk/debian potato main deb-src http://people.debian.org/~bunk/debian potato main to my /etc/apt/sources.list and upgraded the necessary packages. Now, when I run the pilot-xfer, it displays the message: Waiting for connection on /dev/pilot (press the HotSync button now)... And waits forever. I've stated that the appropriate modules are loaded: (Output from lsmod: Module Size Used by ircomm-tty 32080 1 (autoclean) ircomm 14576 0 (autoclean) [ircomm-tty] [...] ) But I've noticed that serial interrupts are not activated: (Output from cat /proc/interrupts: 0: 128286 XT-PIC timer 1: 4372 XT-PIC keyboard 2: 0 XT-PIC cascade 8: 1 XT-PIC rtc 9: 0 XT-PIC eth0 10: 7160 XT-PIC es1371, eth1 12: 37128 XT-PIC PS/2 Mouse 14: 7780 XT-PIC ide0 15: 41 XT-PIC ide1 NMI: 0 ERR: 0 MIS: 0 ) So it seems that irda modules do not communicate properly with the serial device? I've tried to load "irport" or "irtty" modules by hand but it didn't help The BIOS is probably configured properly, because IrDA works with Win98. Everything worked perfectly before the kernel upgrade :-( -- TIA & Regards, Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html - Build your FREE Data Acquisition System
The ALSA driver in potato is very outdated :-(
Hi All, I had some troubles with ALSA drivers, provided with potato. I sent a message to one of their developers, and this is what I received: > you are using a very old version of ALSA. > please upgrade your driver/libs from www.alsa-project.org > > all azt2320 cards are well supported now. So now I have two questions. 1) How can I upgrade the ALSA drivers in potato so that I wouldn't break the debian packaging system (Is there something like kernel-package available for them)? 2) Are there any plans to upgrade the ALSA drivers for potato (eg. placing the new version in proposed-updates)? -- Greetings Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
Re: GR to remove the support for non-free packages
Hi All, What about the packages which are in non-free only because of the country-specific (usually US) patent restrictions? They can be used/distributed freely in almost the whole world except of single countries, and do not contradict the DFSG. This category includes such important things like RSA dependent cryptographic packages, software for compressed GIFs and MP3 encoders... -- Greetings Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.freedos.org Free DOS for free people!
How to extract the "ms-tnef" attachment in debian?
Hi All, My friend sent a binary file to me, however it arrived as an application/ms-tnef attachment. I saved this attachment to the file, and it seems that there is the desired file inside but with strange rubbish attached at the begining, and probably at the end. Does anybody knows how to filter out all the rubbish and get the data back? What is the "ms-tnef" MIME type? Is it any documented standard (I saw the "IPM Microsoft Mail Note" string inside, so probably it is yet another "genial" u$oft invention aimed to corrupt the Internet standards)? BTW I tried to decode the message on Win98 machine. M$ Outlook didn't detect any attachment at all (however the message length in the "properties" was displayed correctly), and the win version of Netscape found the attachment, but didn't know how to handle the "application/ms-tnef" MIME type. :-P -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
Re: Boot Windows with LILO
On Mon, Jun 05, 2000 at 06:37:07PM +0200, Wojciech Zabolotny wrote: > On Mon, Jun 05, 2000 at 05:56:09PM +0200, Francois Fayard wrote: [...] > > default = Linux > > vga = normal > > root = /dev/hda5 > > read-only [...] >In this case you'll need to restart your Linux from its rescue floppy >(remeber to add "root=/dev/hda1" option) and rerun lilo as root. Sorry, it should be "root=/dev/hda5" of course... -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] Before buying any hardware ask the dealer if it is Open Source friendly!!! hhtp://www.openhardware.org
Re: Boot Windows with LILO
On Mon, Jun 05, 2000 at 05:56:09PM +0200, Francois Fayard wrote: > Hello, > I want to boot linux and w95 on my computer with LILO > I have > /dev/hda1: /boot > /dev/hda2: Windows (I have untared the win98 partition I've previously saved > on a CD-R) > /dev/hda...: linux partitions > > Here is my lilo.conf: > boot = /dev/hda > delay = 20 > timeout = 500 > prompt > default = Linux > vga = normal > root = /dev/hda5 > read-only > install=/boot/boot.b > map=/boot/map > image = /vmlinuz > label = Linux > other = /dev/hda2 > label = 98 > > I've marked bootable /dev/hda2 > And LILO tells when I choose 98 to run that this is not a bootable hard drive. I can see two problems with your system. 1) Windows is not Linux, if you untared your saved Windows partition it can't be bootable. The tar/untar sequence does not preserve the physical files placement, and some files are expected to be found on the particular locations... Take the Win98 rescue floppy, boot your system from it and then execute the following: A:> sys a: c: HOWEVER, be sure that you have a working linux rescue floppy, because Windows may overwrite the MBR on /dev/hda, and your LILO will disappear. In this case you'll need to restart your Linux from its rescue floppy (remeber to add "root=/dev/hda1" option) and rerun lilo as root. 2) I'd suggest adding the "table = /dev/hda" line at the end of your lilo.conf (see "man lilo.conf" for details). -- HTH Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.opendvd.org Don't allow others to decide what can you play on YOUR hardware, and what OS you need to watch DVD!!!
Re: 128 bit version of Netscape 4.73
On Mon, Jun 05, 2000 at 09:21:39AM +, ktb wrote: > Rick Macdonald wrote: > > > > On Sun, 4 Jun 2000, Brad wrote: > > > > > I went ahead and downloaded the 128-bit versions of both Navigator and > > > > How did you download it? Using my current 4.72, I go through the netscape > > web pages to accept the strong encription but when I click on "I accept" > > it starts loading the 16MB into the window rather than offering to save to > > a file. SHIFT-click makes no difference - it's a button not a link. > > > > You could download what your looking for with an ftp program at -- > ftp.netscape.com Is there 128-bit version available on their ftp site? I couldn't find it. There is only an "export" version :-(. ftp//:ftp.netscape.com/pub/communicator/english/4.73/unix/supported/linux20_glibc2/complete_install/ -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - an OS without "trojan horses" inside
How to use/create "transparent compression" on CD's under debian?
Hi All, Is it possible to create and read CDs with transparently compressed files (-z option in mkisofs) under debian? How to do it? How to create the files suitable for "transparent decompression"? Are they just the standard gzip compressed files? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html - Build your FREE Data Acquisition System
Re: Intro and it seems that W3.1 can see beyond thepartitionbarriers!
On Mon, May 29, 2000 at 04:49:26PM +0200, Vitux wrote: > One last thing: Try getting a bios-update for your old > computer; I've had much succes on my own old 486/100 (now > being reconf'ed for server use). When I updated my old Award > bios, it enabled LBA and other nice stuff (apm was much > improved). These old machines were made when a 540Mb hd was > HUGE, so no wonder if it craps out on large 1.1G drive. I run pure Linux on old 386DX/40MHz (AMI BIOS 1990) with 1.2G HDD. There are no problems with such configuration at all. (The only thing to be remebered is that there should be a small start partition located under the 1024th cylinder mounted as "/boot" directory). -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Linux - free OS for free people!
Re: Problem with installing potato on i810 based PC. (No agpgart
On Thu, May 25, 2000 at 03:26:01PM -0700, [EMAIL PROTECTED] wrote: > as someone who has installed quite a few i810 machines recently (including > a potato one) i suggest grabbing the XF86 sources and getting agpgart from > that. X server is very picky about what version of agpgart it uses > apparently, or you can grab it direct from me: > > http://209.162.145.197/agpgart-source.tar.gz (10kb) > > extract it, compile it, add the new /dev/agpgart and it should be ok(and > insmod the module) Thanks, I've found the agpgart.c and agpgart.h in xfree86-1_3.3.6.orig.tar.gz (in source/x11 directory of didtribution). Now I'm a little confused, because it is obviously different from the agp_backend, provided in the 2.2.14 kernel sources provided with RedHat 6.2. (available eg. at: ftp://ftp.icm.edu.pl/pub/Linux/redhat/current/i386/RedHat/RPMS/kernel-source-2.2.14-5.0.i386.rpm ) AFAIK both potato and debian use the same xfree86-3.3.6. So what is the difference between the agp_backend and agpgart? Which one is better? Has anybody tested and compared both of them? It seems to me, that agp_backend (internally marked as AGPGART module version 0.99) is just the previous version of agpgart (internally marked as agpgart.c,v 1.1.2.2 1999/11/18 19:06:20)... -- Greetings Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.opendvd.org Don't allow others to decide what can you play on YOUR hardware, and what OS you need to watch DVD!!!
Re: Programowanie za pomocą skryptów
On Fri, May 26, 2000 at 09:07:56AM +0200, M P wrote: > Chciałbym przesłać do zaopiniowania programik, który moim zdaniem świetnie > pasowałby do Linux'a. > Jest on napisany w oparciu o bibl. curses i służy do łatwej budowy menu > wyboru w skryptach. > Nazywa się win3 i zwraca do shell'a wartość będącą numerem wybranego przez > użytkownika skryptu wiersza. > Odczytując status ostatnio wykonanej operacji wiemy jakie pole w menu wybrał > użytkownik i możemy > wykonać odpowiedni program (np. następne podmenu). Pierwszym parametrem > programu jest tytuł menu, > a następne parametry - to pola menu. Dear Maciek, Sorry, I had no time to check your program at the moment. Any contribution is welcome, however: The official language of debian-users list is English. If you want to send something in Polish, I'd rather suggest the usenet group: pl.comp.os.linux Additionally I'd rather suggest sending the sources as "tgz" or "gz" attachments to spare the bandwidth. My reply was not intented to offend you. I hope that you continue to contribute the Linux software. -- Greetings Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.freedos.org Free DOS for free people!
Re: Problem with installing potato on i810 based PC. (No agpgart
On Thu, May 25, 2000 at 10:24:15AM -0700, Sean 'Shaleh' Perry wrote: > On 25-May-2000 Wojciech Zabolotny wrote: > > I just tried to install potato on the PC with i810 based motherboard. > > The problem is with it's VGA adapter. In the documentation attached > > to the xserver-svga I've read that it requires the agpgart module, > > which should be included with the server. However I can't find neither > > compiled model nor its source in the xserver-svga package. > > Have I missed something? > > nope, it is not there. the agpart module is actually a kernel module. for > the > i810 to work, the kernel has to help. It is essentially a winVidcard (ala > winmodem). Well, I've found the sources of agpgart module (in the drivers/char/agp directory) in the kernel 2.2.14 sources included in RedHat 6.2. However I can't find them in the kernel sources available in potato (both 2.2.14 and 2.2.15)... Where can I get them from? Is it safe to copy the drivers/char/agp directory from the RedHat's 2.2.14 sources into the debian's 2.2.15, and use the make-kpkg? -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
Problem with installing potato on i810 based PC. (No agpgart in xserver-svga package?)
Hi All, I just tried to install potato on the PC with i810 based motherboard. The problem is with it's VGA adapter. In the documentation attached to the xserver-svga I've read that it requires the agpgart module, which should be included with the server. However I can't find neither compiled model nor its source in the xserver-svga package. Have I missed something? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - an OS without "trojan horses" inside
Berlin - an addition to or replacement of X11?
Hi All, Following the links on the Debian site, I found the home page of Berlin project http://www.berlin-consortium.org . It looks very promissing, however I have a few questions. - Is this system designated to be an addition to or the replacement of the X11? - What will be the hardware requirements? (Sometimes I need to provide the windowing system for the small embedded PC's - it is difficult to do it with svgalib+libgrx). - Will it be included in debian distribution? -- TIA & Greetings Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.verilog.net - Get the FREE Verilog compilers & simulators!
[OT] -march=pentium and -malign-double in egcs
Hi All, Does anybody know if -march=pentium in egcc implies automatically the -malign-double? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.freedos.org Free DOS for free people!
Re: How to optimize for speedy calcs?
On Fri, May 05, 2000 at 10:12:16AM -0500, Brendel, Rob wrote: > One problem: My Scilab code runs about half as fast in Linux as it does in > WinNT. This is for identical Scilab-only code (no linking) on the identical > machine. How can I speed things up? In both OS's I installed binaries for > Pentium machines, but compiling from source is an option for the Linux port > of Scilab. Would that make any difference? I've just found that the message mentioned in my previous post can be retrieved faster and in much clearer form by the following command: $ lynx "http://www.deja.com/getdoc.xp?AN=589930016&fmt=text"; -- HTH Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.freedos.org Free DOS for free people!
Re: How to optimize for speedy calcs?
On Fri, May 05, 2000 at 10:12:16AM -0500, Brendel, Rob wrote: > Hi - > > I've recently installed Debian 2.1 on my desktop machine (Pentium Pro 200, > 64 MB RAM, 64 MB swap), dual-booting with WinNT. I made the switch to use > Scilab under Linux for the easy linking to Fortran object files. (Showing > my age...) > > One problem: My Scilab code runs about half as fast in Linux as it does in > WinNT. This is for identical Scilab-only code (no linking) on the identical > machine. How can I speed things up? In both OS's I installed binaries for > Pentium machines, but compiling from source is an option for the Linux port > of Scilab. Would that make any difference? > I read, that there was a problem with data alignment in the Scilab under Linux. For details read: http://x32.deja.com/getdoc.xp?AN=589930016&search=thread&CONTEXT=957862085.2010841139&HIT_CONTEXT=957861990.2011627534&hitnum=1 Or enter the dejanews and search for "+Scilab +alignment" in the complete archive. To summarize it shortly - you need to add the -malign-double option in fortran compiler options (the FC_OPTIONS variable). -- HTH Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.verilog.net Find FREE Verilog compilers & simulators !
Mitsumi CR-2801TE under debian - stopped working after firmware upgrade :-(
Hi All, I've used successfully for ca. two years the Mitsumi CR-2801TE. Unfortunately, one of my students "upgraded" the drive's firmware to the 1.10 version, and now it stopped to work with Linux. I've downloaded and compiledd the newest cdrecord, but it didn't help. Does anybody faced and solved the similar problem? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - an OS without "trojan horses" inside
Re: compiling spice from src
On Mon, Apr 10, 2000 at 04:43:30PM -0600, Gary Hennigan wrote: > Attila Csosz <[EMAIL PROTECTED]> writes: > > I tried to compile spice 3f5 from source but I got the following error > [errors snipped] > > What is wrong? > > You need to install the termcap compatibility package, termcap-compat > and then you may need to create the link: > > ln -s /lib/libtermcap.so.2 /lib/libtermcap.so > > It's been a while since I needed this but that's my recollection. AFAIR it is a solution for programs already compiled to work with termcap. For compilation of termcap dependent programs the ncurses library (as it was mentioned two messages ago) is the proper choice. -- Greetings Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Linux - free OS for free people!
Console text editor with text/enriched support?
Hi All, I'm looking for the SMALL (ie. not emacs :-) ) console mode with the text/enriched support, which could be integrated with mutt. Is such a beast in debian available? -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - save your data and time
Any verilog compiler packaged for debian?
Hi All, Are there any plans to package any of the free Verilog compilers/simulators for debian (for section "electronics" i suppose)? Below I give some links (maybe there is more such stuff): VBS http://www.flex.com/~jching/ VER http://daggit.pagecreator.com/ver/ver.html Icarus Verilog http://www.icarus.com/eda/verilog/index.html V2K http://www.v-ms.com/v2000.html -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html - Build your FREE Data Acquisition System
Configuring crypt++el in slink to work with gpg
Hi All, I need to set up the crypt++el to work with the gpg on my slink driven system. Unfortunately the crypt-encryption--alist does not contain the record corresponding to the gpg. Does it mean that I have to modify the crypt++el file =:-( to add the gpg support ? Maybe I can add the new item to crypt-encryption-alist modifying my .emacs file? The docs for crypt++el is rather poor (or I'm to dumb to use it). Thanks for any help. BTW. The gpg & pgp compresses the data before encryption - it results in costant begining of the message beeing encrypted. Doesn't it impair the security? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Linux - free OS for free people!
Re: Threads under linux
On Mon, Mar 27, 2000 at 10:07:57AM -0600, Keith G. Murphy wrote: > I don't know much about that stuff, but you *do* know you can download > Solaris for your PC for free now, right? :-) Well, but what for? Is it open source like Linux is? -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - an OS without "backdoors" inside
Re: VPN
On Wed, Mar 22, 2000 at 09:41:47AM +0100, Onno wrote: > I've been away too long... > > Anyway, I have a problem and it involves a > Virtual Private Network a.k.a. VPN. > > I ask anyone who has done this kind of thing > to please tell me how they did set it up or > point me in the direction of good documentation. > > My first setup will be between two LAN's but > it has to scale to three LAN's and more... > > Any pointers, advice or pitfall warnings are welcome. I don't know if I can help you, but I'm just interested what software do you use - FreeS/Wan (http://www.freeswan.org) (GPL'ed) or VPS2.0 (http://www.strongcrypto.com/) (which is GPL'ed but uses SSH1, so there are problems with commercial use)? -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab Build your free Data Acquisition System: http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html
Ghostscript 6.01 in debian?
Hi All, I hoped that the new potato will include the newest ghostscript 6.xx . However even in the non-free section there is still only old 5.50 available. AFAIK the newest ghostscript fixes a lot of problems with PDF generation (eg. The conversion of Xfig generation EPS into PDF's ready for inluding in pdflatex documents). So I think I'll need to debianize it for myself... Does anybody has some experiences in debianizing of gs? -- TIA Wojciech Zabolotny [EMAIL PROTECTED]
LyX in frozen linked with buggy xforms?
Hi All, In the LyX home page I've found following statement Additional Programs/Libraries Required XForms 0.86 or 0.88 Don't use XForms-0.89 it's buggy. Automake 1.4 ... However LyX in the frozen dist is linked with Xforms0.89. Is it safe? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.opendvd.org Don't let others to decide what can you play on YOUR hardware, and what OS you need to watch DVD!!!
FreeS/WAN as debian package?
Hi All, I trid to find the FreeS/Wan package ( http://www.freeswan.org ) in the debian non-us ditribution. However I was unable to find it. Are there any plans to include it? -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.freedos.org Free DOS for free people!
Re: HELP! Install problem. How to free I/O locked by "reserve=..." in boot params?
On Wed, Mar 08, 2000 at 09:14:27PM +0100, Bjoern Brill wrote: > > > Have you tried to insert the wd module with parameters (io=0x280 etc.)? > > > I think it doesn't care if resources are reserved or not in this case. > > > > Hmmm, I used the "insmod wd io=0x280", and it resulted in the mentioned > > error. > > What error? I couldn't find a verbatim error message in your previous > postings. Sorry, I really didn't quote it strictly. It was: "Device or resource busy" > Some ideas about what could be wrong: > > * I suppose the WD card connects to the ISA bus (would anybody want to > produce PCI cards with this ancient chipset?). If so, you may have to > tell the BIOS setup the resources the WD uses. They can be taken by > other hardware or disabeled otherwise. > > The IRQ has to be marked as "used by ISA card" or the like, > and you have to enable "ISA shared memory" or something like that at the > correct address (0xcc000, size 16k in my case). Look for these options in > the "PnP BIOS Setup" (or similar) section. You may have to disable "auto > config" before you can change or even see any of this. > > * Check your /etc/conf.modules (or /etc/modules.conf - the name keeps > changing) for conflicting wd options. > > * Try to use modprobe instead of insmod in case the wd module requires > other modularized stuff that doesn't get autoloaded. Today everything started fine, without any problems. I don't know why, maybe someone has changed the BIOS setup, and the busy resource was really an interrupt? The failing machine is my friend's workstation which is used by many people, mainly in Window$, so everything may happen ;-). Anyway thanks a lot. -- Greetings Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
Re: free c compiler 8051
On Wed, Mar 08, 2000 at 09:17:53PM -0600, Jorge Arturo Colorado wrote: > i will apreciate if you can send me a c compiler(8051) and instruccion > i devoloped project in assembly languaje ,but i think that this c > compiler can help me to develope the program quickly. > Sincerily yours Check the SDCC: http://www.geocities.com/ResearchTriangle/Forum/1353/ It works in debian perfectly!!! -- HTH Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.freedos.org Free DOS for free people!
Re: HELP! Install problem. How to free I/O locked by "reserve=..." in boot params?
On Wed, Mar 08, 2000 at 03:04:03AM +0100, Bjoern Brill wrote: > > Have you tried to insert the wd module with parameters (io=0x280 etc.)? > I think it doesn't care if resources are reserved or not in this case. Hmmm, I used the "insmod wd io=0x280", and it resulted in the mentioned error. However I've checked it in my home system. I've append the "reserve=0x300,1" line to the lilo.conf (I have ne2000 at 0x300). In this case system starts correctly, then I switched off the eth0 interface and removed the ne module. After I tried: "insmod ne", I got: #insmod ne ne.c: No PCI cards found. Use "io=0xNNN" value(s) for ISA cards. /lib/modules/2.0.36/net/ne.o: init_module: Device or resource busy However, when I typed "insmod ne=0x300", I got: #insmod ne io=0x300 ne.c:v1.10 9/23/94 Donald Becker ([EMAIL PROTECTED]) NE*000 ethercard probe at 0x300: 00 c0 df 48 fa ef eth0: NE2000 found at 0x300, using IRQ 11. The 0x300 area is still reported in /proc/ioports as: 0300-0300 : reserved (even when the module is loaded!) So I can see a few possibilities: 1) The modules ne and wd differently handles the reserved I/O space 2) There is a difference in this subject between 2.0 and 2.2 kernels (I use 2.0.36 at home, and 2.2.14 in the failing machine) 3) This is not I/O space, what causes the "resource unavailable" error. Unfortunately the insmod gives very poor information about the reasons of failure (even the -v switch does not help). Thanks for suggestions. Tomorrow I'll try to investigate the problem more thoroughly. -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.freedos.org Free DOS for free people!
Is it possible to burn the "upgrade CD's"?
Hi All I've burned the official CD's with Debian 2.1r0. I'd like to have the updated version 2.1r4, but I would like to avoid burning all the 5 CD's again (2 for binary, 2 for sources, 1 for non-free non-US). Is it possible to automatically create the CD containing only the updated packages, which have changed between the r0 and r4? Additionally I'd like to apply the similar method to the new, potato distribution. I have to maintain a few debian boxes without free Internet connections :-(. -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab Build your free Data Acquisition System: http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html
HELP! Install problem. How to free I/O locked by "reserve=..." in boot params?
Hi All, I have to install potato on a computer which locks with standard potato's installation kernel. This machine has a NIC (wd8003) located at 0x280. During the boot time one of the SCSI drivers (probably sim710) included in the standard kernel tries to detect the SCSI controller at the same address, locking the machine. The only solution is to use "reserve=0x280,0x20" at the boot prompt. In this case kernel initializes correctly, however I can not insmod the NIC module later to complete the installation :-(. I've read the Boot-Prompt HOWTO, but there was nothing about such cases. I can not change the NIC's iobase. Is there any special boot parameter to disable the autodetection of particular address without blocking it for modules? Is there any way to free such reserved I/O space? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
Problem with potato installation, Where can I find the description of kernel's boot parameters?
Hi All, I need to block the autodetection (at the boot time) of device located at 0x280 , but without blocking possibility of loading the module with this iobase. The problem is that the WD8003 netcard is located there, which locks the system during the startup of potatos installation kernel (probably the SCSI driver looks there for the controller). When I use "reserve=0x380,0x20", I can't load the module later, cause these IO locations are still "reserved". Is there any "noscan" or "noauto" option for temporarly locking of the particular IO locations only for boot time? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.freedos.org Free DOS for free people!
How to create a mirror of "source" "binary-i386" & "binary-all"?
Hi All, I just bought a new 18,8GB disk, and would like to put a snapshot of potato distribution on one of its partitions. I'm interested in copying "source", "binary-all" and "binary-i386" directories. Is there any tool available to make such job easy? (I know, that I can use the "wget" with sophisticated options..., but maybe there is something easier.) -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Linux - free OS for free people!
EIDE ORB drives in debian/linux ?
Hi All, I'd like to know if ORB drives can be smoothly integrated with linux driven PC? Are they normally visible as an ATAPI/FLOPPY or something like this? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.opendvd.org Don't let others to decide what can you play on YOUR hardware, and what OS you need to watch DVD!!!
Re: Parser for c++
On Tue, Feb 29, 2000 at 01:38:44PM +0100, Ron Rademaker wrote: > Doe anybody here know if (and if yes what) there is a program (debian > package or source code to compile or non-free binary) that is able to > parse c++ code mad with borland c++ builder 4 to c++ code that can be > used with linux (Xwindows, glibc or something like that). > > So what it should do is transform the standard borland components to > glibc component and win API calls to linux system calls. AFAIK there is no such "parser", however there are libraries (eg. V or wxWin - both are packaged for debian) allowing to develop the applications which may be compiled for Windows and for Linux. -- HTH Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - an OS without "trojan horses" inside
Problems with compiling FreeHDL (free VHDL) in slink - any other experiences?
Hi All, I tried to compile the FreeHDL ( http://freehdl.seul.org/ - The FREE implementation of VHDL-93) on my linux/slink box. When compiling the v2cc.cc, the memory usage increased to 70MB causing the build process to fail. Does it really need so much memory, or there is an error (eg. repeatedly included header file)? Has anybody successfully compiled this package for debian? I can add four 128MB swap files and run compilation in the evening ;-), but maybe there is something to be fixed before. -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Linux - free OS for free people!
Re: HELP: debian IMAP client with non-kerberos encrypting authentication?
On Fri, Feb 25, 2000 at 04:05:31PM -0500, Brendan Cully wrote: > On Friday, 25 February 2000 at 21:41, Wojciech Zabolotny wrote: > > Hi All, > > > > I'm looking for IMAP server/client, allowing for safe authentication (no > > plain > > text password transfer). > > The imap/fetchmail set requires installation of the whole kerberos suite, > > which is very big trouble... :-(. > > fetchmail/uw-imap/cyrus all support CRAM-MD5, as do current mutt > versions. It's like APOP, and may suit your needs. Otherwise, you may > wish to consider tunneling over ssh or stunnel. Thanks, Versions available in slink don't seem to support CRAM-MD5 :-(. Should I download the sources from potato and recompile them? -- Greetings Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
HELP: debian IMAP client with non-kerberos encrypting authentication?
Hi All, I'm looking for IMAP server/client, allowing for safe authentication (no plain text password transfer). The imap/fetchmail set requires installation of the whole kerberos suite, which is very big trouble... :-(. -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - save your data and time
Re: How to configure the imap package after installation?
On Fri, Feb 25, 2000 at 02:48:36PM +0100, Wojciech Zabolotny wrote: > I've installed the imap package on my debian box. However I can't access > my mail folders, located in ~/Mail directory - neither from other debian > box with fetchmail nor from Win98 box with Netscape. I couldn't find > any info about required further configuration of imap... > How to make my mail folders visible? > In Netscape I can see only "~" and "INBOX" folders which in fact do not > exist... Well, the answer was RTFM of course. Quoting from README.Debian: Comments regarding the Package Here are some known issues. 1. Default mailbox location Is now $HOME/mail in accord with Debian policy. If you don't want this you can recompile the package to something more to your liking. Here's how. MAKE SURE YOU KNOW WHAT YOU ARE DOING. Neither Debian nor I have any responsibility if things go wrong. I've changed my folders location to ~/mail, and now imap works fine. Anyway I'll need to recompile it to enable the IMAP-GSS ;-). -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.opendvd.org Don't let others to decide what can you play on YOUR hardware, and what OS you need to watch DVD!!!
How to configure the imap package after installation?
I've installed the imap package on my debian box. However I can't access my mail folders, located in ~/Mail directory - neither from other debian box with fetchmail nor from Win98 box with Netscape. I couldn't find any info about required further configuration of imap... How to make my mail folders visible? In Netscape I can see only "~" and "INBOX" folders which in fact do not exist... -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Linux - free OS for free people!
How to fetch procmail processed mail from my office computer?
Hi All, To manage the giant amount of mail from different mailgroups I had to install the procmail in my office debian box. The procmail is run by my .forward file and splits the incoming mail into few folders, located in my ~/Mail directory. However I'd like to be able to transfer some folders to my home debian box. Reading the documentation I've stated that I should use the "imap" package. I've installed it on my office box without any problems, however when I tried to fetch the mail, specifying the folders to fetch, I got the following error: fetchmail: mailbox selection failed fetchmail: client/server synchronization error while fetching from my.office.box.name fetchmail: Query status=7 I've tried both: folder Mail/folder1,Mail/folder2 and: folder ~/Mail/folder1,~/Mail/folder2 syntaxes. No one of them works :-(. How should I specify the folder names for fetchmail? -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.freedos.org Free DOS for free people!
Mutt & procmail in debian - how to configure locking of folders?
Hi All, I just wanted to configure procmail in my system, and I'm a little afraid of locking problems. How should I configure the locking in procmail and in mutt, to avoid the destruction of mail folders when procmail delivers a message to the folder which is currently beeing modified by mutt. Is there any universal solution (I'd like to be able to access the procmail created folders with other MUA's eg. pine, Mozilla etc.). -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - an OS without "trojan horses" inside
Re: Scanners in Debian
On Mon, Feb 21, 2000 at 11:59:27AM +1030, John Pearson wrote: > Most SCSI scanners work under Linux, using SANE. > > USB and parallel port scanners may work with kernel 2.4 > when it comes out, which means they may also work with > some 2.3.x (development) kernels). Does it include only "SCSI over Printer Port" scanners or proprietary protocols too? I'm especially interested in using with Linux my Mustek ScanMagic 9636P (AKA Mustek 12000P). -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html - Build your FREE Data Acquisition System
Re: spice (fwd)
The source of SPICE for Linux may be found almost everywhere. Just connect to any archie service (eg. http://archie.luth.se) and enter the spice3f5sfix.tar.gz as a search string. You'll get a lot of location to download it from. I've downloaded it from: ftp://ftp.sunsite.org.uk/Mirrors/sunsite.unc.edu/pub/Linux/apps/circuits/spice3f5sfix.tar.gz and compiled without any special problems. On Sat, Feb 19, 2000 at 09:17:21AM -0800, Ernest Johanson wrote: > Have a look at http://fides.fe.uni-lj.si/~spice/welcome.html. There isn't > a debian pacakge, but you may want to have a look. No source, just binary, > and I have a hunch it is compiled for slink. I couldn't get it to run on > potato. -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - an OS without "trojan horses" inside
Support for custom designed PCI/PLX9080 card in debian.
Hi All, I need to add Linux support for custom designed PCI card. The card contains the PLX9080 PCI bridge, controlling the card's local bus in J mode. What I need is the access to the memory and I/O registers connected to the local bus of the card. The possibility of DMA transfers would be also appreciated. However the PLX9080 belongs to the unfamous (because of closed specs) I2O devices. So my questions are: 1) Is it possible to support the required functions basing on freely available info? 2) What functionalities are assured by the Linux PCI driver itself? Does it perform the mapping of the PCI card local bus to the CPU's memory or I/O address space? 3) Can the required functions be implemented in the "user mode" driver, or is it necessary to write the kernel module? -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab Build your free Data Acquisition System: http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html
[continued] How to set LANG variable for X window session started by XDM?
When i kill XDM, and start X by: export LANG=pl_PL; export LC_ALL=pl_PL; export LC_CTYPE=iso-8859-2; startx everything works OK - I get the Polish characters. However, when I kill XDM, and then restart it (as root) by: export LANG=pl_PL; export LC_ALL=pl_PL; export LC_CTYPE=iso-8859-2; xdm The locales are not set in my X session... Finally, after analysis of the /etc/X11/Xsession, I've decided to create the /etc/environment file: export LANG=pl_PL export LC_ALL=pl_PL export LC_CTYPE=iso-8859-2 After that, when I've restarted the XDM, everything works perfectly. Is it the proper way to set locales for X sessions? BTW. Why the /etc/environment is not sourced by the standard debian /etc/profile? -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - an OS without "trojan horses" inside
How to set LANG variable for X windows sessions started by XDM?
Hi All, I need to set the LANG, LC_ALL and LC_CTYPE variables for X sessions started by xdm in my system. How to do it? When I set it in the /etc/profile, it is set in the xterm's but not in other programs started eg. by menu. Should it be set in the /etc/X11/xdm/Xstartup ? (or Xstartup_0 ?), I've checked it, but without success... Setting in /etc/init.d/xdm doesn't work either :-(. Is there any place where I could set IN ONE PLACE the correct default i18n values for both X and console applications? -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab Build your free Data Acquisition System: http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html
Re: Problems with vncserver in debian...
On Thu, Feb 10, 2000 at 03:17:31PM -0500, [EMAIL PROTECTED] wrote: > On Thu, Feb 10, 2000 at 03:54:17PM +0100, Wojciech Zabolotny generated a > stream of 1s and 0s: > > Hi All, > > > > When I connect from a DOS computer to vncserver running on my Debian box, > > the keyboard works in completly crazy way. Eg. pressing "o" produces "r", > > pressing 1 or 2 produces "4" and so on. I couldn't find any rule for it :-(. > > Is it caused by misconfiguration of my vncserver or the DOS client? > > How to fix it? > > -- > > Try kbdconfig. Did you mean keyconf, found in the dos-vncwiever? I can't find kbdconfig neither on my Debian box, neither in dos-vncviewer... -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - an OS without "trojan horses" inside
Problems with vncserver in debian...
Hi All, When I connect from a DOS computer to vncserver running on my Debian box, the keyboard works in completly crazy way. Eg. pressing "o" produces "r", pressing 1 or 2 produces "4" and so on. I couldn't find any rule for it :-(. Is it caused by misconfiguration of my vncserver or the DOS client? How to fix it? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html - Build your FREE Data Acquisition System
Re: DVD
On Wed, Feb 09, 2000 at 08:32:13AM -0800, David Wiard wrote: > I can get a DVD player pretty cheap. Is there any point in doing so when > all my machines run non-Winblows? I don't keep up with the DVD camp, so > could those of you that do enlighten me? > Check the http://www.opendvd.org There is Linux software on this site, with the info how to set it up. Probably, there should be also a list of compatible DVD players. -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab
Re: How to change size of page in postscript doc? (non-trivial question)
On Wed, Feb 09, 2000 at 10:35:51AM +0100, E.L. Meijer Eric" wrote: > > > > I've got a PostScript doc, which is incorrectly formated - the usable part > > uses a small rectangle on each page (on each page the same, but not centered > > on the page), and the margines are sometimes occupied by random writings, > > and > > sometimes not. I have no sources, so I can't generate it correctly. > > The psresize fails to handle it correctly - when enlarging, it moves part of > > the usable area outside the page and leaves some rubbish on it :-(. > > I need an utility, where I could specify not only the change of size, but > > also > > the X and Y offset, by which the page should be shifted in the output. > > Does anybody know such a beast? > > pstops can do things like that. It requires very thorough study of the > man page, and if the PS document is really shaky, your only option left > is to learn postscript (it is a computer language, not just a format) > and start debugging. If you can do that, you will be highly esteemed > in hacker circles (but probably have lost joy in life ;). Thank's, pstops did the trick, however one problem still remained - the rubbish still exist even though it does not fit on the page. When I use the psbook and psnup to get the smaller, printed booklet, rubbish from left page destroys the right one :-(. Is it possible to force psnup to clip the joined pages? -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Linux - free OS for free people!
How to change size of page in postscript doc? (non-trivial question)
Hi All, I've got a PostScript doc, which is incorrectly formated - the usable part uses a small rectangle on each page (on each page the same, but not centered on the page), and the margines are sometimes occupied by random writings, and sometimes not. I have no sources, so I can't generate it correctly. The psresize fails to handle it correctly - when enlarging, it moves part of the usable area outside the page and leaves some rubbish on it :-(. I need an utility, where I could specify not only the change of size, but also the X and Y offset, by which the page should be shifted in the output. Does anybody know such a beast? -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.opendvd.org Don't let others decide what can you play on YOUR hardware, and what OS do you need to watch DVD !!!
Whiteboard for debian?
Hi All, I'm looking for the whiteboard teleconferencing utility, available for both Linux and Winblow$. It should be open source of course... -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - save your data and time
Is it safe to upgrade debhelper to potato, leaving the rest of slink?
Hi All, I'd like to compile/install the ted package on my slink box. Unfortunately the slink debhelper lacks the dh_installmime and dh_link functions, (and maybe some others) needed by the source package of ted. Is it safe to upgrade the debhelper alone, and leave the rest of the slink untouched? (I'm afraid, that I will be unable to recompile any standard slink packages after such change :-( ). -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
How to compose text/enriched messages in mutt?
Hi All, I prefere using the pure text in mail, but sometimes it is nice to emphasize a part of the message or format it in a particular way. AFAIK the text/enriched format is an accepted mail format. However how can I compose the text/enriched messages in mutt? Is there any text/enriched aware, console mode text editor, that I could use with mutt? How to automatically create the appropriate Content-type header? -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
How to reset a local printer from the Debian box?
Hi All, One of my debian boxes works additionally as a print server for a few Win98 and Linux machines. The problem is however, that sometimes users send something in the wrong format, or Windows programs crashes in the middle of the print job, producing the corrupted output. I would like to provide my users with the possibility of cleaning up the print queue, and resetting the printer. It can be done with a small perl setuid'ed script, but there is a problem with my printer (HP-DJ670C) - There is no way to clean up it's buffer and reinitialize it in other way, than by switching off and on the power :-(. Does anybody know how to reinitialize the printer in software way? Please keep in mind, that the trasmission may be stopped in the middle of binary data, so sending of any initialization codes in data stream may not give reasonable results. The toggling of INIT line in the LPT port probably could give good results, but I couldn't find any IOCTL to perform it with the standard lpt driver... It is possible to rmmod the lpt driver, run the program which takes over the lpt ports, sets the INIT line low for a second, and then insmod the lpt driver again, but it seems to be a very dirty trick :-(. -- Thanks for any suggestions Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.freedos.org Free DOS for free people!
Re: ppp/chat: BLACKLISTED after (many) tries
On Wed, Jan 19, 2000 at 12:26:19AM +0100, Konrad Mierendorff wrote: > Henrique M Holschuh wrote: > > Some modems can be configured to believe they're in the wrong country and > > ignore the blacklisting thing. > > ALMOST ALL modems can be switched off and on again :-) > And this is legal! > > A german user who has made good experiences with switching off/on his > modem before redialing ;-} > If you have an external modem, you can even build a simple hardware device, controlled by one of unused RS-232 lines, (or by one pin in the printer port), which will switch off/on your modem under the software controll. (Switching modem on and off after each two trials, when you have to try 100 times before you get connected is really tiring :-)). -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.freedos.org Free DOS for free people!
Re: Please Help me!!!
On Sun, Jan 09, 2000 at 07:53:26PM +, VEVE ROUDY wrote: > Hello! > > There's longtime I'm looking for > a program on linux as net2phone or dialpad.com applet > on windows, please could you tell me a pgrogram PC-to-Phone > on linux, so I can make free call or cheap call via Internet. > I know about two such programs: VAT and speak-freely. AFAIK both are available as debian packages. -- HTH Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Linux - free OS for free people!
Re: Problem with mutt sources - unknown C syntax?
On Sun, Jan 09, 2000 at 07:53:28PM +, Paul J. Keenan wrote: > On Sat, Jan 08, 2000 at 02:50:14PM +, Paul J. Keenan wrote: > > On Sat, Jan 08, 2000 at 12:24:26PM +0100, Wojciech Zabolotny wrote: > > > Hi All, > > > > > > The problem is that I don't know what does mean the underscore preceeding > > > the paranthesis around the string definition? > > > Is it a GCC extension? > > > -- > > > Wojciech Zabolotny > > > http://www.ise.pw.edu.pl/~wzab > > > > I don't have the mutt sources, but I just did a test, and underscore > > is a perfectly valid (if somewhat terse!) function name. Look for a > > function definition returning a char * called _ in the source - it > > is probably used for preprocessing the string before printing it, > > perhaps to add "mutt[PID]: " to the beginning or something. > > Now I do have the sources for mutt to do something unrelated, so looked at > this again. I tracked the definition to mutt.h : > > #ifdef ENABLE_NLS > # include > # define _(a) (gettext (a)) > > So it's a macro which defines _ as an alias to calling gettext, presumably > to keep the code less busy. The gettext function returns the translation > of the text in the target language if you are using internationalisation. > Thank's a lot to all who responded. Anyway I don't know why mutt 1.0.1 works perfectly on one slink system (in my office) and segfaults on the other (at home). The libraries versions (displayed by ldd) are the same. Maybe the i18n settings are different? Probably I have to wait for potato... -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - an OS without "trojan horses" inside
Re: UNIX variant for old PC
On Sun, Jan 09, 2000 at 07:53:25PM +, Fish Smith wrote: > I know that the intel version of Linux is written for > 80386 up. Is there any UNIX variant available for an > 8088 or 8086? What processors does Minix run on? I'd rather suggest to use such machines as terminals (running NCSA-telnet under FreeDos) and connect them to one 386 or better Linux server... -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.freedos.org Free DOS for free people!
Problem with mutt sources - unknown C syntax?
Hi All, A few days ago I've written about problems with self-packaged mutt 1.0.1 in slink. I've investigated problem more thoroughly, and found, that the failing instruction is: 623 mutt_message (_("Reading %s..."), ctx->path); The stack trace is as follows: (gdb) bt #0 0x40089387 in () #1 0x40089281 in () #2 0x80727bb in mx_open_mailbox (path=0xbc08 "/var/spool/mail/wzab", flags=0, pctx=0x0) at mx.c:623 #3 0x806c06f in main (argc=1, argv=0xbd24) at main.c:681 The problem is that I don't know what does mean the underscore preceeding the paranthesis around the string definition? Is it a GCC extension? -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - save your data and time
Problems with mutt 1.0.1 i under slink
Hi All, A few days ago I've send a message about successfull packaging of mutt 1.0.1 for slink. Unfortunately things are more difficult :-(. The new version of mutt works without problems on my office PC, which is continously connected to the Internet and is systematically upgraded (so now it is probably running debian 2.1r4 or so). My home computer runs the debian2.1r0 (first stable), and mutt 1.0.1 causes the memory protection error. Probably I should upgrade to slink r4, but making it by modem is really painfull. Which package should I upgrade? ldd shows that mutt uses only: ldd /usr/bin/mutt libncurses.so.4 => /lib/libncurses.so.4 (0x4001) libc.so.6 => /lib/libc.so.6 (0x4005) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000) These libraries are the same on both mentioned computers... BTW is there any easy way to burn on CD only the modified packages, needed to r0 -> r4 upgrade? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - save your data and time
How to setup the safe mail&news relying system in debian?
Hi All, I need to set up the safe mail & news relying system on my debian box. The authorised users (or users from the authorised hosts) should be able to connect via Internet (from dial-up ISP's with dynamic IP, or even from CTV ISP, which uses the IP-masquarading itself), and send mail & news. Due to mentioned above problems no IP based authorisation is possible. The whole system should be built with free & open source tools. Probably it should be possible to build it with the open-ssl system, however how to define the smail's SMTP transports/routers to work with SSL? Thanks for any suggestions & pointers. -- TIA & best XMas wishes Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - save your data and time
Debianized Mutt-i 1.0 for slink! (WAS: Problem with Mutt <-> GPG cooperation)
On Mon, Dec 20, 1999 at 10:50:21PM +, Jonathan McDowell wrote: > > On Mon, Dec 20, 1999 at 11:41:52PM +0100, Wojciech Zabolotny wrote: > > > > I had this problem too and upgraded to mutt 1.0i and it's gone away, so > > > I guess it was a known bug that got fixed. > > Is the mutt 1.0i available somewhere as a debian package? > > 1.0 appears to be in unstable according to a search on > http://www.debian.org/distrib/packages > I have successfully debianized mutt.1.0i downloaded from ftp://ftp.guug.de/pub/mutt/mutt-1.0i.tar.gz All I had to do was: 1. unpack the tar.gz in the ~/tmp directory 2. enter the mutt-1.0 directory 3. modify the charsets/parse_i18n.c (otherwise the compile error occured), adding the STATE struct definition Below is the part of my mutt_1.0-1.diff.gz file: --- mutt-1.0.orig/charsets/parse_i18n.c +++ mutt-1.0/charsets/parse_i18n.c @@ -22,6 +22,14 @@ #include #include +typedef struct +{ + FILE *fpin; + FILE *fpout; + char *prefix; + int flags; +} STATE; + #include "../charset.h" 4. run the dpkg-buildpackage That's all. Now my mutt works excellent with GnuPG! Thanks for all who helped. -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
Re: Problem with Mutt <-> GPG cooperation
On Mon, Dec 20, 1999 at 08:48:36PM +, Jonathan McDowell wrote: > > I had this problem too and upgraded to mutt 1.0i and it's gone away, so > I guess it was a known bug that got fixed. Is the mutt 1.0i available somewhere as a debian package? Is it able to handle automatically multipart/splitted messages (eg. generated by mpack)? -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system pgpgQlpY0m7qI.pgp Description: PGP signature
Problem with Mutt <-> GPG cooperation
Hi all, I can't force my mutt/gpg set to work properly. Signing of messages works fine (as can be seen from this message :-) ), but I can't encrypt a message to be sent to somebody. I have the recipient's public key in my public keyring. I can encrypt the date with this recipient's public key using the GPG itself. However when I prepare the message in mutt, end set the "PGP:" option to "encrypt", after pressing the "y" (send) key I'm asked for the recipient's keyID. I've checked the short (32 bit) form, the long (64 bit) form, the recipient's e-mail... all the syntaxes given in gpg's man page. Nothing works! The beep is heard and I can see again the: Enter keyID for ...: What's wrong? The pgp_default_version is set to 'gpg'. The mutt version is Mutt 0.95.3i (1999-02-12), and the gpg version is: gpg (GnuPG) 1.0.1 -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - an OS without "trojan horses" inside pgpYFbgrAYeG6.pgp Description: PGP signature
Problems with building of Gnupg 1.0.1 package in slink - with (dirty) solution
Hi All, I've downloaded the new GnuPG source from http://www.gnupg.org (gnupg-1.0.1.tar.gz), unpacked it, and tried to build on my slink system. After the first try to run 'su -c "dpkg-buildpackage"', I received the message: usr/bin/dpkg-buildpackage: debian/rules: permission denied I've stated, that the debian/rules file has no execute permission, so I've done: wzab:~/gnupg/tmp/gnupg-1.0.1$ chmod o+x debian/rules and ran the 'su -c "dpkg-buildpackage"' once again. Now I first received the warning: dpkg-source: warning: source directory ./gnupg-1.0.1' is not - Gnupg-0.9.10' And finally the build failed with the error: install -m 755 debian/preinst debian/postinst debian/postrm debian/tmp/DEBIAN/ install: debian/postinst: No such file or directory install: debian/postrm: No such file or directory make: *** [binary-arch] Error 1 I've stated that the debian/rules contains the section: binary-arch:checkroot build # test $(checkdir) -rm -rf debian/tmp install -d debian/tmp/DEBIAN/ install -m 755 debian/preinst debian/postinst debian/postrm debian/tmp/DEBIAN/ but the files debian/postinst and debian/postrm do not exist. After changing this section to: binary-arch:checkroot build # test $(checkdir) -rm -rf debian/tmp install -d debian/tmp/DEBIAN/ install -m 755 debian/preinst debian/tmp/DEBIAN/ Now everything worked fine, and I've got the working gnupg_0.9.10-2_i386.deb package. BTW I don't know what defines the version of the package. The debian/control does not contain the "Version:" line, there is only "Standards-Version" line... -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Big Brother is watching... Use Linux - an OS without "back doors" inside.
Re: Monochrome XFIG
On Mon, Dec 13, 1999 at 10:39:08PM +, Pedro Sanchez wrote: > Why is xfig monochrome-only for menus? I can add colors to my drawings > but the panels and menus are plain black and white as if I had started > "xfig -monochorome." I have the same effect in one of my boxes, which was continuously upgraded (without reinstallation) since debian 1.2. Probably I have preserved the old config files for xfig. However I never had time to solve this problem (it is not very important for me and my users). Please let me know if you discover the reason. -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.freedos.org Free DOS for free people!
How to handle message/partial attachments in mutt.
Hi All, I've received a few messages with a long file splitted into message/partial attachments. The manual decoding of them is very tiring. Is mutt able to handle such multi-message attachments automatically like Netscape or Internet Exploder? How to do it? -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system
Has anybody fixed python-plplot to work with python1.5?
Hi all, I need the python-plplot interface for my program. I've download the plplot source, which builds the python-plplot package too. Unfortunately this package does not work with python 1.5, and in package's info there is notice (from 1998) that it should be fixed soon. I've checked the potato, but it still contains the same plplot sources. I've checked the fixes pointed in the mentioned info, but their application is not so easy, so I'd like to know if anybody succeeded to get working python-plplot in slink? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - save your data and time
Re: Crash windows with ping?
On Mon, Nov 29, 1999 at 01:16:50PM +0100, Horvath Zsolt wrote: > I've heard windows will crash when I ping it. What parameters have ping in > this case? Search the net for "teardrop" this nice program does the trick... -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - an OS without "trojan horses" inside
Re: your mail
On Sun, Nov 28, 1999 at 01:52:32AM +, RafaÅ Szulim wrote: > > Dopiero niedawno zainstalowaÅem debiana 2.1 na moim PC i nie bardzo wiem jak > dokÅadnie korzystaÄ w kompilatora gcc. > Wedle tego co siÄ oriÄtujÄ to kompilacja programu przebiega poprawnie, > niestety nie udaje mi siÄ uruchomiÄ póżniej programu skompilowanego. If you would like to get a polish response, please use the comp.os.linux.pl newsgroup, which is dedicated to the polish-speaking linux users... > > I'm a new user debian 2.1 and I have a problem with my gcc compilator. I > don't now why my compiled programs don't run. > Could you give more detailed description of your problem? Now let's check if you really cano not get the working program: 1) Make the directory for your sources, and compiled program mkdir ~/moj_program 2) Go to this directory cd ~/moj_program 3) With your favorite editor prepare the source (let's make it in the file testc.c): == START OF THE SOURCE CODE (REMOVE THIS LINE) == #include #include void main() { printf("A jednak dziala!!!\n"); } == END OF THE SOURCE CODE (REMOVE THIS LINE) == 4) Compile your source gcc -o testc testc.c 5) Run your program ./testc You should get the message "A jednak dziala!!!" on your terminal. There are two traps in 4) and 5) steps. - If you don't use the -o option int 4th step, your compiled program will have the "a.out" filename. - You have to use the "./" before the name of your program, because the current directory IS NOT included in your path. (Don't change it, it is good for security reasons). -- Hope this helps Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - an OS without "trojan horses" inside
Annoying anacron (or cron?) jobs after turning on the debian box
Hi all, I saw a lot of complaints on this list, concerning the behaviour of debian box shortly after turning it on. If the box is running continuously, all the "serious housekeeping" tasks are performed unnoticeably (because before 7am each normal computer user sleeps tidy :-) ), but if someone uses his/her debian PC as a workstation, they make a serious trouble. If you switch on your debian box just to do a twenty-minutes ASAP work before you go to the work, it is really annoying when the performance of your PC is decreased 2 or three times by such "important" thing as updating the locate's database (I'm not sure if I've used the "locate" command even once in the last week). I think, that "reniceing" of this tasks could make them more acceptable. What should I change in the /etc/crontab or /etc/anacrontab to let this jobs be performed at eg. 19th priority? Is it correct to change these files to the following form: # /etc/anacrontab: configuration file for anacron # See anacron(8) and anacrontab(5) for details. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # These entries are useful for a Debian system. 1 5 cron.daily nice 19 run-parts /etc/cron.daily 7 10 cron.weekly nice 19 run-parts /etc/cron.weekly 30 15 cron.monthlynice 19 run-parts /etc/cron.monthly -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Linux - free OS for free people!
Re: Aztech 3D sound card ??????
On Sat, Nov 27, 1999 at 02:11:34PM -0500, Antonio Rodriguez wrote: > Does any body know of any support for Aztech 3D sound card? I haven't > been able to hear any sound in my Linux-slink box yet. Except for beeps. What kind of Aztech 3D have you got? If it is the WaveRider 3D PnP, then it is the card I'm uisng for at least two years. It works for me in slink with 2.0.36 karnel (however there are some problems - the mixer devices mapping is not correct). I had to make some chnges in the kernel, and use an additional utility written by Artur Skawina. There was a message about setting up the WaveRider in linux, posted by me one, or ona and half year ago to the debian-users. Please check the mailing list archive. If you can't find it, however, I can find this posting in my archive, and send it to you. -- Greetings. Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.freedos.org Free DOS for free people!
Mgetty configuration...
Hi all, I've installed the mgetty, mgetty-voice i mgetty-fax packages. Everything works fine, but I receive messages: cannot open logfile /var/log/mgetty/mg_unknown.log: Permission denied cannot open logfile /var/log/mgetty/vm.log: Permission denied I've checked the /var/log/permissions/ and they are: wzab:~$ ls -lr /var/log/mgetty total 2 -rw-r--r-- 1 root root 551 lis 27 13:57 vm.log -rw-r--r-- 1 root root 154 lis 27 13:57 mg_unknown.log wzab:~$ ls -lrd /var/log/mget* drwxr-xr-x 2 root root 1024 lis 27 13:57 /var/log/mgetty Shouldn't the group be set for "voice", and the write permission for group be added? -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.freedos.org Free DOS for free people!
Re: Problems with libapache-mod-python in slink
On Thu, Nov 25, 1999 at 01:09:22PM -0800, Eric G . Miller wrote: > On Thu, Nov 25, 1999 at 09:33:46PM +0100, Wojciech Zabolotny wrote: > > Hi all, > > > > I have problems with libapache-mod-python in Slink. > > I need to use the apache-ssl, but libapache-mod-python depends on apache, > > so I needed to install the standard apache as well (so I changed > > the non-ssl port for apache-ssl to 8080). > > However when I installed the apache, my apache-ssl didn't start any more... > > Where is the problem? > > Shouldn't the libapache-mod-python depend on apache-common instead of > > apache? > > -- > > I think the dependency should be, apache-ssl provides apache, this > problems exists in potato as well. AFAIK, apache-ssl does not provide apache. Quoting from /var/libdpkg/status: Package: apache-ssl Status: install ok installed Priority: optional Section: non-us Installed-Size: 482 Maintainer: Christoph Martin <[EMAIL PROTECTED]> Version: 1.3.3+1.29-2 Replaces: apache-modules Provides: httpd Depends: libc6 (>= 2.0.7u-6), libssl09, mime-support, perl, apache-common (>= 1. Suggests: apache-doc, lynx Conflicts: apache-modules, php3 (<= 3.0.3-1), libapache-mod-perl (<= 1.15-2.1 > > I got apache-ssl to run. Don't run the regular apache (update-rc.d -f > apache remove). Then set-up apache-ssl to listen on both ports 80 and > 443. Use .htaccess files to force https where it is required. > > However, when all is said and done, I haven't been able to get the > python module to work. For some reason it always kills apache (either > version) when I configure it to be loaded. The only suggestion I got was > to recompile apache from source -- apparently a problem with the > configuration of the binary versions. I haven't gotten around to doing > this, so... > -- I've got apache-ssl to run just by installing the apache-common and apache-ssl. It runs then "out of box" without any customization, but libapache-mod-python can not be installed :-(. -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab Build your free Data Acquisition System: http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html
Problems with libapache-mod-python in slink
Hi all, I have problems with libapache-mod-python in Slink. I need to use the apache-ssl, but libapache-mod-python depends on apache, so I needed to install the standard apache as well (so I changed the non-ssl port for apache-ssl to 8080). However when I installed the apache, my apache-ssl didn't start any more... Where is the problem? Shouldn't the libapache-mod-python depend on apache-common instead of apache? -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Linux - free OS for free people!
SOLVED! (but with dirty trick) Problems with using metapost in Slink
Hi all, About a week ago I've reported a problem with using MetaPost in Slink. I was unable to generate the figures with PostScript fonts, because the MetaPost failed. Now I've found the reason of this problems, and a working (but dirty) workaround. The problem is that the "dvitomp" returns the "2" exit code, when processing the "dvi" file with postscript fonts. It generates the warning messages: DVItoMP warning: Checksum mismatch for ptmr8r DVItoMP warning: Checksum mismatch for psyr DVItoMP warning: Checksum mismatch for ptmri8r (Which is correct), but then exits with status "2", which causes the "makempx" script to fail. The workaround is to disable the diagnostics of dvitomp execution in the makempx script. Below I attached the changes, I had to make: 157,171c157 < if $WHATEVER_TO_MPX $INFILE $MPXFILE >$ERRLOG; then < : # success < else < # failure < mv -f $INFILE $INERROR < test $mode = troff && mv -f mpx$$.i $TROFF_INERR < echo "$0: Command failed: $WHATEVER_TO_MPX $INERROR $MPXFILE" >&2 < # Better to remove $MPXFILE if something went wrong rather than < # leaving behind an unfinished or unusable version since $NEWER < # might think that all is fine if $MPXFILE exists. < rm -f $MPXFILE < cat $ERRLOG >&2 < exit 3 < fi < --- > $WHATEVER_TO_MPX $INFILE $MPXFILE >$ERRLOG; As you can see, it is the VERY DIRTY trick, but it works. Now I can add at the begining of my MetaPost file the following preamble: verbatimtex \documentclass[polish]{article} \usepackage{babel} \usepackage{pslatex} \usepackage[latin2]{inputenc} \usepackage[T1]{fontenc} \begin{document} And get the correct figures, ready to include in the LaTeX document. However this solution is not satisfactory. (Because if dvitomp fails because of other problem than font chksum error, one may get corrupted figures). So if someone finds a better solution, please let me know... BTW. What is the reason of these awfull " Checksum mismatch for..." messages? -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - an OS without "trojan horses" inside
Problems with PostScript fonts in tetex in debian slink
Hi All, When I use the "pslatex" package in latex documents in debian-slink, I get the following errors: == dvips: Checksum mismatch in ptmri8r dvips: Checksum mismatch in ptmri8r dvips: Checksum mismatch in psyr == I ignored them, because it didn't affect the resulting document. However now I tried to use the "pslatex" with the MetaPost, and now these errors cause the MetaPost to fail: == [310] [111] [211] [311] [411] [13]/usr/bin/makempx: Command failed: dvitomp mpxerr.dvi manfig.mpx DVItoMP warning: Checksum mismatch for psyr DVItoMP warning: Checksum mismatch for ptmri8r DVItoMP warning: Checksum mismatch for ptmr8r DVItoMP warning: Checksum mismatch for ptmr8r >> manfig.mp >> manfig.mpx ! Unable to make mpx file. l.219 picture llab; llab = btex \llap{$x={}$}0 etex; 19 output files written: manfig.0 .. manfig.411 Transcript written on manfig.log. How to fix this problem, or how to force MetaPost to ignore it, like dvips did? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - save your data and time
Re: Creating contrib/non-free/non-us cd
On Mon, Nov 08, 1999 at 04:24:10PM +0100, Michelle Konzack wrote: > ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? > I do not know, why do you want to create it, because I had bought the > 4-CD-Distribution from Debian 2.1 SLINK and there are all on it. > Two CD's are binaries and two CD's are source codes. > > Oh yes, I have payed US$ 30,- for the 4 CD's. AFAIK the official distribution does not contain at least the "non-us" section. (due to the legal reason). So it is not the good solution. Even if we do not consider the price. I always downloaded the whole "non-us" tree and put it on the CDROM, installing the non-us packages by hand. -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - save your data and time
Where in the debian's gcc is defined the FLT_MAX constant?
Hi All, I'm just trying to compile the "snns" program, which uses the MAXFLOAT constant. The maxfloat is defined in the /usr/include/math.h as: #define MAXFLOAT FLT_MAX However the FLT_MAX is not defined at all... Probably it should be defined in the float.h file, but there is no such file in my debian system :-( Is my system damaged? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.debian.org Use Linux - an OS without "trojan horses" inside
USB support in Linux?
Hi All, My research group is considering developing of simple A/D converter for USB bus. Of course I'd like to provide it with the Linux support. I'm interested if the USB is supported by Linux? Where can I get the info about writing the drivers for USB devices for Linux (on-line preferred)? -- TIA Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.freedos.org Free DOS for free people!
Are pdfslide and pdfscreen included in potato's version of tetex?
Hi All! I'd like just to know if the "pdfslide" and "pdfscreen" packages are included in potato's distribution of tetex? -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab Build your free Data Acquisition System: http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html
Bug in gnuplot in the pslatex.trm still exists :-(
Dear gnuplot developers, I'm very amused, that the old bug, which I've found ca one year ago (and reported to you) still exists. Below I attach my bug report. The line numbers has changed in the new version, but the bug's nature and the cure is still the same. I attach the gnuplot_bug.tgz file, which demonstrates the problem. It is really tiring to change the gnuplot source and recompile it after each upgrade :-(. Below follows the bug description and the fix: Subject: SOLVED !!! Problems with "pslatex" terminal in gnuplot beta347 (pre3.6) in Debian Linux 2.0 (hamm) From: Wojciech Zabolotny;[EMAIL PROTECTED]; Date: Sun, 2 Aug 1998 01:12:29 +0200 Hi All! I've just solved the problem desribed in my previous message. It was not related to debian. There is really a bug in the gnuplot source. I've sent my solution to the gnuplot team, but I would like to forward it to this group too (and to package's mantainer), to allow for correction of debian gnuplot package. Wojtek Zabolotny [EMAIL PROTECTED] -- Forwarded message -- Date: Sun, 2 Aug 1998 01:01:58 +0200 (EEST) From: Wojciech Zabolotny <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Problems with "pslatex" terminal in gnuplot beta347 (pre3.6) in Debian Linux 2.0 (hamm) (SOLVED !!!) Hello gnuplot developers! I have performed some additional experiments with the gnuplot, and my data. I've linked the gnuplot with "electric-fence" library to find the instruction which overwrites the memory. Below I present the output given by gdb after the failure: gnuplot> set term pstex auxfile Terminal type set to 'pstex' Options are 'monochrome dashed rotate auxfile' gnuplot> set output "phd_w4_s3_l10_wzneur.nsts.tex" gnuplot> load "phd_w4_s3_l10_wzneur.nsts.gnuplot" Program received signal SIGSEGV, Segmentation fault. 0x80a7cae in PSLATEX_init () at term/pslatex.trm:204 204 strcpy(PSLATEX_psfile + (dotIndex-outstr) + 1,"ps"); (gdb) bt #0 0x80a7cae in PSLATEX_init () at term/pslatex.trm:204 #1 0x808f7ae in term_init () at term.c:325 #2 0x80552b4 in do_plot (plots=0x40120fb8, pcount=3) at graphics.c:1165 #3 0x80779c2 in eval_plots () at plot2d.c:1335 #4 0x80743a7 in plotrequest () at plot2d.c:332 #5 0x804b84f in command () at command.c:539 #6 0x804afd1 in do_line () at command.c:287 #7 0x807209c in load_file (fp=0x4011af98, name=0xb96c "phd_w4_s3_l10_wzneur.nsts.gnuplot", can_do_args=0) at misc.c:1042 #8 0x804bd70 in command () at command.c:624 #9 0x804afd1 in do_line () at command.c:287 #10 0x804af4f in com_line () at command.c:262 #11 0x8073c25 in main (argc=1, argv=0xbda0) at plot.c:439 When I've analyzed the source in pslatex.trm, I've found following lines: PSLATEX_psfile = gp_alloc(dotIndex - outstr + 3, "pslatex aux filename"); if (PSLATEX_psfile) { strncpy(PSLATEX_psfile, outstr, dotIndex-outstr+1); /*including .*/ strcpy(PSLATEX_psfile + (dotIndex-outstr) + 1,"ps"); The problem is, that "strcpy" instruction writes three bytes: 'p','s' and \0. The last byte is written after the end of PSLATEX_psfile buffer, overwriting another variable... :-( I have changed the 201st line in pslatex.trm in the following way: PSLATEX_psfile = gp_alloc(dotIndex - outstr + 4, "pslatex aux filename"); Now everything works fine ! :-) Wojciech Zabolotny [EMAIL PROTECTED] -- Wojciech M. Zabolotny http://www.ise.pw.edu.pl/~wzab <--> [EMAIL PROTECTED] http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system gnuplot.bug.tgz Description: GNU Unix tar archive