X install/config query
Hello: I recently installed Debian 1.3 on a '386, but apparently did not complete the process correctly. X was not configured (although everything else that I have tried seems to be). I cannot find 'xf86config' or 'XF86Setup' on the system. Should I remove X and re-install, or is there another way? Thanks, Dean Provins -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: X install/config query
Hello: I recently installed Debian 1.3 on a '386, but apparently did not complete the process correctly. X was not configured (although everything else that I have tried seems to be). I cannot find 'xf86config' or 'XF86Setup' on the system. If neither of these is there, then you don't have X installed. You must install xbase and one of the xserver-* packages. If you want to use XF86Setup then you must also install xserver-vga16. Clearly, it wasn't installed correctly. There are all kinds of X applications and libraries in place, but I must have missed something. I presume that a remove and re-install is the correct procedure then? Dean -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
xterm: select and paste query
Hello: I recently installed Debian 2.0 from the Cheapbytes CD (July 21 record date). After the usual 'monkeying around', I got X up and running, using my favourite windowing system - OpenLook (virtual) Window Manager (olvwm). I observed two differences from what I expected: firstly, 'xterm' cut and paste no longer worked (selection seems functional, but I can't paste); and secondly, the 6 xterm windows that I 'opened' via the '.openwin-init' file all appeared in the same (lower left hand) virtual window - even though the geometry specifications indicated that they should be distributed one per virtual window. With respect to the individual xterm windows, 'mouse button' - 'control key' sequences didn't bring up the menu I expected. For example, there was no reverse video option, nor a Tek window option (something I never used, but was always there). If you have any idea what I may be doing wrong (I expect that it is some configuration file, but which), please advise. Thanks, Dean
Re: clearing screen after logout login screen
How do I clear the screen after logout? so...instead of walking up on the remnants of the X server terminating and a login prompt, all that shows on the screen is the login prompt... what script is it? In your home directory, create a file called '.bash_logout' (assuming that you are using 'bash' as your shell). In its place the word 'clear' starting in column 1. For that matter, how can I change the login prompt itself?both lines (Debian GNU/Linux (name) ttyX and login: )? To change the login line, read the man page for 'getty' and then edit the file '/etc/issue'. Dean
Re: Graphing/Charting software
Ian: I don't have a million points for line graphs, although I do for maps. For line graphs I use gnuplot which makes good PostScript (or EPS) images which I can include in publications. For maps, use Generic Mapping Tools (GMT) which will also do first class line graphs. it too generates PostScript. Dean On Tue, Oct 07, 2003 at 08:43:15PM -0500, Ian Melnick wrote: Hey all Does anyone know of good graphing software that won't crash with huge amounts of data? All I need is a nice x-y plot graph, but I have over a million points. Excel has many limitations, as it turns out -- which I managed to get around, but not the graph preview pane, which is horribly slow. Don't even ask about Quattro Pro, Gnumeric or StarOffice... *shudder*. What'd be nice is just a simple text-based program that outputs a nice postscript-type graph. Does such a program exist? And if so, does it do anything close to what I need? Thanks in advance -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Weather Stations
Bill: Dallas Semiconductor sold weather stations several years ago that could talk to Linux (as well as that other OS). It was about $80US. I believe that another firm is now marketing the product. A google search ought to find it. The base system includes wind speed and direction, and temperature. There was an add-on for a rain guage too. The software to control it was included. Dean On Fri, Oct 10, 2003 at 02:47:33PM -0700, Bill Moseley wrote: Actually, there's two parts. First we need a machine to collect data from an inexpensive weather station and then copy (ftp/scp) the data to some location every so often. Any suggestions for weather stations (a piece of equipment, not an online station) that a linux box can talk to? I assume a serial port is the interface of choice here. The second part is for a web site to fetch the data and convert it into some type of display suitable for a web page. It would be nice to have something graphic (even if it is static data -- could use some animated image to give the effect of the wind speed fluctuating, I suppose ;) Any ideas? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Printer in kernel 2.2.1
Hello: A recent message (portion follows) indicated printer problems with Kernel 2.2.1. I am having somewhat sinilar problems, and request assistance. The previous correspondents indicated: *- On 9 Mar, Paulo Henrique Baptista de Oliveira wrote about Printer in kernel 2.2.1 Hi Debian users, I'm setting a printer with the new kernel: 2.2.1. When I tried make xconfig and search for parallel printer support in character devices section I couldnt mark the option. It's in gray collor. How I can mark this option? Have a nice day,Paulo Henrique Printer support in the new kernel has lots of possibilities: General Setup: * Parallel port support == required *PC-style hardware == required for x86 Plug and Play Support: * Auto-probe for parallel devices Character Devices: * Parallel printer support == required [*] Support IEEE1284 status readback == I like this! At boot with the above options selected I get this: parport0: PC-style at 0x378 [SPP,ECP,ECPEPP,ECPPS2] parport0: detected irq 7; use procfs to enable interrupt-driven operation. parport0: Printer, HEWLETT-PACKARD DESKJET 660C -- Brian I have set up all the options indicated above as modules (where appropriate), and requested that kerneld load them on request. When I queue a print job, and then request status, I discover the following: status: cannot open '/dev/lp0' - 'Operation not supported by device', attempt 8, sleeping 60 at 21:34:55 In conf.modules, I gave options for 'io=0x378,0x278 auto,auto' (going from memory), but have only one printer port. The parport.txt file wasn't clear enough for me to decide what to do here... 'lsmod' shows 'lp' loaded, and 'parport' as well. Do I have to force loading of the relevant modules at boot time, and in a particular order? Does auto-loading support some order (if that is required? Any insights you may have are welcomed. Regards, Dean Provins
Re: SCSI aic7xxx problem
Hello: I have a similar problem which I have not been able to resolve. It seems that I can access the discs from the console after boot (read and write is fine - note that the disc is classed as (rw) in /etc/fstab), but NOT after firing up X. Once X has started, or at any time after I terminate it, I get messages similar to those you quote below (and they won't stop until I hit the reset button). The problem appears to be a buggy chipset. I am using a first generation Pentium with SCSI onboard (an NCR 53C810 rev 1), and there is some sort of conflict with the PCI bus. The solution is either NOT to use X, or to replace the mainboard and SCSI with new parts. Regards, Dean Provins I have Debian 2.1 and kernel 2.0.36-3 version. I have problem with the SCSI disk, I can read it but cannot write on it. If I attempt than I got messages like this: SCSI host 0 abort (pid 184) timed out - resetting SCSI bus is being reset for host 0 channel 0. At the boot I got these messages: scsi : 0 hosts. (scsi0) Adaptec AHA-294X SCSI host adapter found at PCI 15/0 (scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs (scsi0) Downloading sequencer code... 412 instructions downloaded scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.11/3.2.4 Adaptec AHA-294X SCSI host adapter scsi : 1 host. Vendor: QUANTUM Model: TRB850S R ev: 0403 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 Vendor: TOSHIBA Model: CD-ROM XM-3401TA Rev: 0283 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0 (scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 8. SCSI device sda: hdwr sector= 512 bytes. Sectors= 1660299 [810 MB] [0.8 GB] sda: sda1 sda2 I installed the SCSI driver as a module. At the configuration I haven't changed anything for the default aic7xx options. Gabor -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Linux to NT Server printing
John: I would just like to know if any one has been able to print from a Linux machine to a printer attached to a Window NT 4 (sp3) Server based machine. ---snip I am just wondering if there is something particular with NT server... any clues. Appreciate any info anyone has. Thanks. John I went through the same experience, without success. I eventually got the NT system administrator to load up TCP/IP-based remote printing, for UNIX hosts: (i.e. in your Linux printcap file, lp:lp=:rp=NT_host:rm=NT.somewhere.org) They were reluctant because (unlike Linux/UNIX), they have no way of ensuring that only selected hosts /or users can access the printer. But it works just fine. Dean
Re: Plotting pixel maps and graphs.
Geoff: On Fri, Jan 30, 2004 at 04:53:48PM -, Geoff Bagley wrote: I wish to use my Debian box for plotting the output of compiled programmes in the form of bitmaps or cartesian pixel maps either on the X window display, or on a laserjet printer. The material to be plotted consists of calculated mathematical graphs and maps or plans. Does Debian include any packages for math- plotting or geographical plotting ? Could possibly be piped to (say) ghostscript ? I use gnuplot for most of my graphs. It displays under X, and can generate Postscript files for high quality output, or a myriad of other device formats, including HPLJ. For geographic data, I use GMT (Generic Mapping Tools) which only creates Postscript. It creates publication quality graphics - but you may not like the interface. Fortunately, the documentation is excellent, and if you persist, you will be rewarded. Postscript can be piped to ghostview (don't know about ghostscript) which is the graphical interface for ghostscript. Dean TIA Geoff. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins 50.950333,-114.037916 [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tar/tape
Gavin: On Mon, Feb 23, 2004 at 04:01:51PM +0100, Dr Gavin Seddon wrote: I have tried mt setblk 0 but now the error is: tar: /dev/st0: Wrote only 0 of 10240 bytes tar: Error is not recoverable: exiting now Can anyone help? Gavin. Your problem is curious as I too have no difficulty (although I seldom use tar, preferring dump and restore) with my SCSI drive. Please provide the tape drive description, and the output of mt -f /dev/st0 status (with a tape in the drive). As well, I presume that /dev/tape is linked to /dev/st0 (you may prefer /dev/nst0 to avoid rewinds). Finally, with a blank or re-usable tape in the drive, can you dd some records to it, write setmarks, and then repeat successfully, as per: echo Some text to go to the tape | dd of=/dev/nst0 count=1 mt -f /dev/nst0 wset 1 echo Another line of text for the tape | dd of=/dev/nst0 count=1 mt -f /dev/nst0 wset 1 mt -f /dev/nst0 rewi dd if=/dev/nst0 count=1 mt -f /dev/nst0 fss 1 dd if=/dev/nst0 count=1 Assuming I coded this correctly, you should write 2 text records followed by a setmark each, rewind the tape, and then read them back (sending the output to the console). At least this would confirm your SCSI drive is functioning. By the way, tar uses a block size of 10240 bytes. A previous correspondent suggested setblk of zero (which I happen to use too), but the reported write block was 4096 bytes (of the 10240 that tar expected to write. That value is suspiciously like the block size for pipes and other file system devices - implying /dev/tape may not point to where you think. Did you happen to try a setblk of 10240? Dean -- Dr Gavin Seddon [EMAIL PROTECTED] University of Manchester -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins 50.950333,-114.037916 [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
timezone and clock error
Hello: It seems that the PC clocks here in Alberta are still on daylight savings time. This is odd as Alberta's clocks switched back last weekend. /etc/timezone contains: Canada/Mountain Anyone know how to fix them? Regards, Dean in Calgary -- Dean Provins, P. Geoph. 50.95033N, 114.03791E [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
NFS lock problem
Hello: I clobbered my client system accidently after discovering I could no longer boot due to a bad master boot record. When I got it back up, the NFS system began to act strangely. I can read/write the mounted file systems on the server (a 'sarge' system), but cannot run mutt, openoffice or iceweasel as they try to set up a lock on the server. They hang until I kill them. The only message that results is: lockd: couldn't create RPC handle for 192.168.1.2 The server is 192.168.1.2 and has not changed its OS or NFS configuration for months. The client (192.168.1.3) is from the testing distribution and has NFS configured (and successfully mounts the remote file systems). The client kernel is 2.6.20.2; the server is a stock kernel: 2.4.27-2-386. For 'iceweasel' (firefox), the file that the system is trying to lock is: ~/.mozilla/firefox/h7y7nif1.default/.parentlock For 'mutt', it is '/var/mail/provinsd' (/var/mail is mounted from the server). Any ideas for a solution? Regards from Calgary, Dean -- Dean Provins, P. Geoph. 50.95033N, 114.03791E [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OpenOffice crashing in Sarge
On Sun, Aug 27, 2006 at 10:28:36AM -0700, Marc Shapiro wrote: I just did an 'apt-get upgrade' and openoffice.org was upgraded from 2.0.1 to 2.0.3 and now I am unable to save my files. When I do try to save I get an error message saying that OpenOffice has crashed due to an unknown error and that all of my files are saved. They are saved without my changes, however. I had this same problem previously, when I switched from the upstream version to the debian package on backports.org. (I thought that I had commented bpo out of my sources.list, but apparently not -- hence, the upgrade.) There had been some sort of configuration change, so the solution had been to remove (or rename) my .openoffice.org2 directory and let OOo rebuild a new one. I just tried that, now, but the problem remains. Does anyone have a fix for the problem this time? Is this going to happen every time that OOo is upgraded? -- Marc Shapiro Marc: You'll find the solution at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372719;. You need a new copy of libfreetype which as the page above says, can be obtained from http://people.debian.org/~vorlon/libfreetype6_2.1.7-3_i386.deb;. Get a copy, and then do dpkg -i libfreetype6_2.1.7-3_i386.deb. You may have to restart OO - can't remember.. Dean -- Dean Provins, P. Geoph. 50.95033N, 114.03791E [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 signature.asc Description: Digital signature
Re: compiling and installing lib's
Mich: How do i compile both static and non static librarys under C (.a and .so) and how do i install them on the system so they can be found by the linker or programs. I've just been through this process, trying to build the shared libraries for UIT and SlingShot (Xview C++ and graphics support routines respectively). The process is straightforward, but I had to 'dig' to learn how. Basically, it goes like this: 1 Compile with -fpic to .o files 2 Create an archive with 'ar' to make the .a static library 3 Run 'ld -shared' to build the shared library 4a Copy the libraries and set permissions 4b Set up any soft links for the shared libraries (for examples, look in /usr/X11R6/lib) 5 Run ldconfig to set up 'ld.so's cache The last step makes them visible when linking your applications. Good luck. Dean
Re: Backup
Hi, I'm thinking to get a scsi backup tape for the Potato box. I'd like to know what is the recommended drive and what software should be used. I also have this dump question. Would the backup software append the backup files to the end of the tape or overwrite it everytime? TIA! --- tcp I use an HP DAT drive (35xxx - now called Surestore, I think). Its been use for about 5 years (every night) without a problem. I've used 'tar' and 'dump' and both work just fine. I've also used a Sony 5000 and it works too (also cheaper, I think), but it lacks some of the SCSI commands, and needs to be set up for 0 (zero) block length before use. I built some scripts to handle the problems, but seldom use the drive... Whether or not the software appends or not, is in part predicated on where the tape is when the run gets going. Device /dev/nst0 doesn't rewind, while /dev/st0 does. If the backup software always rewinds, and doesn't search for an EOF marker before writing again (i.e. knows to append) you'll be out of luck. If you use commercial software, check the specs first. If you write a simple 'tar' script, you can do what you want. Dean
Re: mcserv over SSL - any experiences?
Hi All, I need to provide my users with the possibility of safe and convenient file transfer. The ftp is difficult for setup with SSL. The scp lacks the convenient GUI or TUI. The mcserv (from midnight commander suite) seems to be a good alternative. However I don't know if it can be easily setup for working over the SSL... On the server's side it can be easily solved using the stunnel. On the client's side however setting the stunnel by hand before connecting seems to be very inconvenient... Does anybody know how to configure the mc to work with mcserv over SSL? Maybe someone knows the better alternative? -- TIA Greeetings Wojciech Zabolotny [EMAIL PROTECTED] Have you considered 'mirrordir'. It provides security natively. I have attached the 'lsm' for you: Begin3 Title: Mirrordir Version:0.10.45 Entered-date: 17OCT98 Description:PSLOGIN does secure logins over tcp/ip using diffie- hellman key exchanges, and strong stream cypher encryption. It can be used as an alternative to ssh. FORWARD forwards arbitrary TCP sockets over a secure channel to create secure services from ordinary ones. MIRRORDIR mirrors a directory tree in every detail, including devices, ownerships, permissions, symlinks, hardlinks and access times, suitable for timed backups of disk drives. The minimal set of changes needed to make the original directory tree identical to the backup directory tree is executed. Can optionally create backup files before deleting, and store multiple revisions through any number of levels. A scripting language allows for custom excluding of special files. Works over ftp and mcfs. Also implements its own secure sockets for transparent strong encrypted file transfer, using a custom daemon. Keywords: backup, mirror, copy, cp, mirrordir, recursive, directory trees, revision control, ftp, mc, vfs, mcfs, diffie-hellman, ssl, secure sockets, stream ciphers, public key cryptography, ssh, rlogin, telnet. Author: [EMAIL PROTECTED] (Paul Sheer) Maintained-by: [EMAIL PROTECTED] (Paul Sheer) Primary-site: lava.obsidian.co.za /pub/linux/mirrordir 260kB mirrordir-0.10.45.tar.gz 2kB mirrordir.lsm Alternate-site: sunsite.unc.edu /pub/Linux/system/backup 260kB mirrordir-0.10.45.tar.gz 2kB mirrordir.lsm Platforms: Any Unix Copying-policy: GPL End -- Dean Provins Calgary
Re: Tape Backup
Paulo: You'll find dump and restore at http://perso.cybercable.fr/pop;. Dean Hi, where is dump and restore commands (in what package)? Thanks, PH PS: How I mark the tape at its end? Is it necessary? Quoting Ron Farrer ([EMAIL PROTECTED]): Paulo Henrique Baptista de Oliveira ([EMAIL PROTECTED]) wrote: any one has a tape backup to share with me. I tried kbackup software and cant backup using a tape. How about dump and restore? JMHO, Ron -- Email: mailto:[EMAIL PROTECTED] Home: http://www.farrer.net/~rbf/ Alpha Linux Organization: http://www.alphalinux.org Alpha News: http://www.alphanews.net Bellingham Linux Users Group: http://www.blug.org -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Tekram DC310U? Re: Advansys 3940UA Ultra-SCSI controller recommended?
Peter: Hi again, I can get a Tekram DC310U PCI Ultra-SCSI controller (based on the Symbios Logic SYM53C860 SCSI-3 Chip) for the same price as the Advansys 3940UA. It uses the sym53c8xx.o driver. Should I go for that instead? Thanks! -- Peter Galbraith, research scientist [EMAIL PROTECTED] Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546 I've used two Tekram cards and find them quite reliable. I cannot comment on your alternative, but they are certainly much cheaper than the Adaptec which was the only alternative for me. Dean Provins Calgary
samba/win for workgroups problem
Hello: I have one Linux (Debian) machine and one legacy Windows for Workgroups machine on a private network. All worked well (i.e. they shared files and printers) until this morning, when I decided it was time to change the passwords. I haven't been able to get the WFW - Linux host communication to function since, while the other direction seems to work fine. The following are what I believe are the relevant particulars: Changed user's password on Linux host with 'passwd', changed samba user's via 'smbpasswd' and also for WFWG 3.11 sign-on (i.e. same everywhere). Both smbclient -L linux_host smbclient -L wfwg_host function properly for the user. 'root' can mount the WFW C nd D drives, and perform listings on them. When i realized that I had problems, I set 'syslog = 3' in smb.conf and set smbd options in /etc/inetd.conf to -a -d3. Killed smbd and let inetd restart it for all tests (used /etc/init.d/inetd stop/start for this). Set 'security = user (was share when it worked, but this didn't seem to work either after the password change) in smb.conf Set 'user = provinsd' in [homes] section (previously this was not used). Unfortunately, I cannot access provinsd's shared directory on the Linux host from WFWG 3.11 machine. Says password is invalid. Message in /var/log/auth.log is: Nov 2 13:14:03 ve6cta PAM_unix[23380]: authentication failure; (uid=0) - **unknown** for samba service Nov 2 13:14:04 ve6cta PAM_unix[23380]: authentication failure; (uid=0) - **unknown** for samba service Nov 2 13:14:06 ve6cta smbd[23380]: [2000/11/02 13:14:06, 1] smbd/reply.c:reply_sesssetup_and_X(925) Nov 2 13:14:06 ve6cta smbd[23380]: Rejecting user 'provinsd': authentication failed Apparently it recognizes that 'provinsd' is trying to connect, but presumably, something is wrong with the password, or it thinks 'provinsd' is 'root' and 'root' isn't allowed to connect. I've spent hours trying various combinations, and can't seem to get this going again. Other smb.conf parameters that may be relevant, mos of which I didn't touch are the following: [global] guest account = nobody invalid users = root syslog = 3 **I added this** security = user **I added this** workgroup = WORKGROUP server string = %h server (Samba %v) encrypt passwords = no wins support = no preserve case = yes short preserve case = yes unix password sync = false [homes] user = provinsd **I added this** read only = no create mask = 0700 directory mask = 0700 Any ideas? All are welcome... Dean
Re: C Profiling tools like gprof
Mani: Did you compile everything with -pg? If so, it should work fine (does for me). Dean Hi All, I tried gprof for getting the amount time spent in each function call in the C code. But it seems that it is not working. gprof o/p shows the statistics as zero. Is there any other program/tool like gprof ? Thanks in advance Regards Mani -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
curious Ethernet errors
Hello: I have been experiencing curious NIC error messages, none of which mean anything to me. Any assistance in comprehending their content is welcome. System is Debian 2.1 (up to date) on Pentium, 64 MB, with NIC (from dmesg), eth0: PCnet/ISA 79C960 at 0x340, 00 00 f4 b1 84 e7, probed IRQ 12, DMA 7. lance.c:v1.14ac 1998/11/20 [EMAIL PROTECTED], [EMAIL PROTECTED] The error message that appears in 'dmesg' at various times after booting is: eth0: transmit timed out, status 0062, resetting. Ring data dump: dirty_tx 118 cur_tx 134 (full) cur_rx 58. 83c09800 0608 00b6 83d3b800 0608 0040 83d3b000 0608 0040 83d3a800 0608 00b6 83d3a000 0608 0076 83d39800 0608 0040 83d39000 0608 0040 83d38800 0608 00b6 83d38000 0608 0040 83fd7800 0608 0076 83fd7000 0608 00ea 83fd6800 0608 00b6 83fd6000 0608 0044 83fd5800 0608 00b6 83fd5000 0608 0041 83fd4800 0608 0040 83ff 002a 83f26002 04fe 83c09002 05ea 83c08802 05ea 83ff1820 002a 83ff1e28 002a 83fd4002 04fe 83ff2a38 05ea 83ff3040 05ea 83c08002 04fe 83f27002 05ea 83f26802 05ea 83f27802 04fe 83ff4e68 05ea 83ff5470 05ea 83ff5a78 002a Note that error messages of this form, but different content appear irregularly, but frequently (2 in 24 hours this time). Is the NIC bad, or do I have another problem? Thanks, Dean Provins Calgary
Re: scsi tape device
Ryan: I have a similar system. If in /dev/, you have no 'st?' devices, try making them with 'mknod /dev/st0 c 9 0' = 'mknod /dev/st7 c 9 7'. Check the man page for correct options... They should have root:tape ownership and be owner:group RW. Put any users that need acces in group 'tape' Dean Provins Calgary -- For some reason I do not have /dev/st* . I compiled my kernel with scsi tape support and I thought that would do it. Is there something that I am missing. Am I looking in the wrong spot for my tape device. I have a ICP raid card (GDT) which is fully functional and the kernel sees the tape drive Configuring GDT-PCI HA at 0/9 IRQ 3 scsi0 : GDT6518RD scsi : 1 host. Vendor: ICP Model: Host Drive #01 Rev: Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 1, lun 0 Vendor: HPModel: C1537ARev: L708 Type: Sequential-Access ANSI SCSI revision: 02 Detected scsi tape st0 at scsi0, channel 2, id 3, lun 0 scsi : detected 1 SCSI tape 1 SCSI disk total. SCSI device sda: hdwr sector= 512 bytes. Sectors= 35551845 [17359 MB] [17.4 GB] but I am just lost as to how to access it in taper or kbackup. -Ryan -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: How to access tape drive ?
Wilson: I have a SCSI tape too. The device names are /dev/st0 (rewinds after each operation) and /dev/nst0 (does NOT rewind after each operation - you or your program/script must do the rewind). You can use 'mt -f /dev/[n]st0 OPERATION' to manipulate a tape (do man mt for a description of the OPERATIONS that are available). For backups, use 'tar' or (I prefer) 'dump and restore'. Dean Provins Calgary --- Dear all, I have a scsi tape drive and want to use it to backup. From the output of dmesg, i know that the tape drive is detected. However, I don't know the device file name of the drive. The output of dmesg command : scsi : 1 host. Vendor: IBM Model: DCAS-34330W Rev: S65A Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 (scsi0:0:0:0) Synchronous at 20.0 Mbyte/sec, offset 8. Vendor: IBM Model: DCAS-34330W Rev: S65A Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0 (scsi0:0:1:0) Synchronous at 20.0 Mbyte/sec, offset 8. Vendor: SEAGATE Model: ST31200N Rev: 8648 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sdc at scsi0, channel 0, id 2, lun 0 (scsi0:0:2:0) Synchronous at 10.0 Mbyte/sec, offset 15. Vendor: SEAGATE Model: ST31200N Rev: 8648 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sdd at scsi0, channel 0, id 4, lun 0 (scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 15. Vendor: SONY Model: SDT-2000E Rev: E326 Type: Sequential-Access ANSI SCSI revision: 02 (scsi0:0:6:0) Synchronous at 5.0 Mbyte/sec, offset 8. scsi : detected 4 SCSI disks total. Pls help! Thank you very much! Wilson -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: How to access tape drive ?
Wilson: I have checked that there is no /dev/st0 or /dev/nst0. Does it mean the kernel dosen't support tape drive Need me recompile the kernel ?? Thank You! Wilson Your original post (see later in this post) shows that the kernel recognized your tape drive. Thus you do not need to re-compile the kernel. Just make your devices with 'mknod'. The 'st' devices have major 9 and minors 0 - 7 (for st0 - st7) and the rewind devices ('nst') have major 9 and minors 128 - 135 for nst0 to nst7. Just make them (as root, see man mknod), ensure the ownership is root:tape and permissions 660, and add (if necessary) your userid to the tape group in /etc/group. As far as I know, you only need /dev/st0 and /dev/nst0. Those are the only two I use. Dean On Mon, 17 Jan 2000, Dean Allen Provins wrote: Wilson: I have a SCSI tape too. The device names are /dev/st0 (rewinds after each operation) and /dev/nst0 (does NOT rewind after each operation - you or your program/script must do the rewind). You can use 'mt -f /dev/[n]st0 OPERATION' to manipulate a tape (do man mt for a description of the OPERATIONS that are available). For backups, use 'tar' or (I prefer) 'dump and restore'. Dean Provins Calgary --- Dear all, I have a scsi tape drive and want to use it to backup. From the output of dmesg, i know that the tape drive is detected. However, I don't know the device file name of the drive. The output of dmesg command : scsi : 1 host. Vendor: IBM Model: DCAS-34330W Rev: S65A Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 (scsi0:0:0:0) Synchronous at 20.0 Mbyte/sec, offset 8. Vendor: IBM Model: DCAS-34330W Rev: S65A Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0 (scsi0:0:1:0) Synchronous at 20.0 Mbyte/sec, offset 8. Vendor: SEAGATE Model: ST31200N Rev: 8648 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sdc at scsi0, channel 0, id 2, lun 0 (scsi0:0:2:0) Synchronous at 10.0 Mbyte/sec, offset 15. Vendor: SEAGATE Model: ST31200N Rev: 8648 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sdd at scsi0, channel 0, id 4, lun 0 (scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 15. Vendor: SONY Model: SDT-2000E Rev: E326 Type: Sequential-Access ANSI SCSI revision: 02 (scsi0:0:6:0) Synchronous at 5.0 Mbyte/sec, offset 8. scsi : detected 4 SCSI disks total. Pls help! Thank you very much! Wilson -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: curious Ethernet errors
Thanks to the two respondents. I updated the kernel to 2.2.14, but the problem symtoms simply changed too. So I switched to another card and the problem has stopped. Must have been hardware. Regards, Dean Hello: I have been experiencing curious NIC error messages, none of which mean anything to me. Any assistance in comprehending their content is welcome. System is Debian 2.1 (up to date) on Pentium, 64 MB, with NIC (from dmesg), eth0: PCnet/ISA 79C960 at 0x340, 00 00 f4 b1 84 e7, probed IRQ 12, DMA 7. lance.c:v1.14ac 1998/11/20 [EMAIL PROTECTED], [EMAIL PROTECTED] The error message that appears in 'dmesg' at various times after booting is: eth0: transmit timed out, status 0062, resetting. Ring data dump: dirty_tx 118 cur_tx 134 (full) cur_rx 58. 83c09800 0608 00b6 83d3b800 0608 0040 83d3b000 0608 0040 83d3a800 0608 00b6 83d3a000 0608 0076 83d39800 0608 0040 83d39000 0608 0040 83d38800 0608 00b6 83d38000 0608 0040 83fd7800 0608 0076 83fd7000 0608 00ea 83fd6800 0608 00b6 83fd6000 0608 0044 83fd5800 0608 00b6 83fd5000 0608 0041 83fd4800 0608 0040 83ff 002a 83f26002 04fe 83c09002 05ea 83c08802 05ea 83ff1820 002a 83ff1e28 002a 83fd4002 04fe 83ff2a38 05ea 83ff3040 05ea 83c08002 04fe 83f27002 05ea 83f26802 05ea 83f27802 04fe 83ff4e68 05ea 83ff5470 05ea 83ff5a78 002a Note that error messages of this form, but different content appear irregularly, but frequently (2 in 24 hours this time). Is the NIC bad, or do I have another problem? Thanks, Dean Provins Calgary -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
(n)vi doesn't exit at correct command line
Hello: I use 'vi' exclusively, and until upgrading to Debian 2.1, never experienced any problems with 'vi' exits. It always exited on the same line at which it was started. I believe at the time, I was using 'elvis' as 'vi'. For the record, I use 'xterm's under OpenLook, and that is were I observe the problem. Now 'vi' (or rather 'nvi', as that is what is in /etc/alternatives) exits at seemingly arbitrary locations on the screen. Consequently, I have to 'clear' the screen to find the prompt before carrying on with other work. Anybody know how to get around this problem? Regards, Dean
vi problems
Hello: I use 'vi' exclusively, and until upgrading to Debian 2.1, never experienced any problems with 'vi' exits. It always exited on the same line at which it was started. I believe at the time, I was using 'elvis' as 'vi'. For the record, I use 'xterm's under OpenLook, and that is were I observe the problem. Now 'vi' (or rather 'nvi', as that is what is in /etc/alternatives) exits at seemingly arbitrary locations on the screen. Consequently, I have to 'clear' the screen to find the prompt before carrying on with other work. Anybody know how to get around this problem? Regards, Dean
Re: vi problems
Steve: Thanks for the fix. I just tried it and I'm VERY PLEASED to say that it works! Dean -- Thursday, September 30, 1999, 2:02:55 PM, Dean wrote: Anybody know how to get around this problem? If it is the problem I think it is... dpkg -r nvi apt-get install vim vim-rt *or* apt-get install elvis Some editors (joe is one) have a problem when they exit on mucking up the terminal and other assorted things of that nature. It has been debated whether or not it was the editor or the libraries that caused the problem. Personally, I rarely saw the joe bug but since switching to vim I've not seen it at all. -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your ICQ: 5107343 | main connection to the switchboard of souls. ---+-
Re: Need SCSI Tape Help
Hi all! I'm using slink with an SMP kernel (2.0.36) on a dual Pentium Pro 200 with 256M RAM. The HD setup is a pair of 4 GB Seagate Barracudas on an Adaptec 2940UW along with an SCSI CDROM and a Tandberg 4222 tape drive. I've got a really sweet server here except that I just noticed there are no /dev/st* for the tape drive. Anyone know at what point during the installation these get created? I've got another machine here with an SCSI tape with lots of /dev/st*. I'd sure hate to mknod 'em all by hand on the new beast. Thanks For a single drive, you only need two: /dev/st0 (9,0) and /dev/nst0 (9,128). Dean
Re: Anybody from Canada here who use Sympatico ADSL????
Can't help you with your problem, but the news group 'can.internet.highspeed' does have some Linux users. You might try there, if you haven't done so already. Regards, Dean Calgary - Sorry if this is offtopic for this list, but I'm at my wits' end. I'm from Toronto and I use Sympatico's High Speed Edition ADSL service... Recently they've switched to PPPoE and today they disabled their DHCP servers. Argh... what a long day... what's worse, they officially do NOT support Linux, and the only thing they could come up with was to provide the NTS PPPoE client (which was *user-level*, very CPU-intensive, and buggy and poorly written.) I searched dejaNews and managed to find a kernel patch for a PPPoE driver, and I managed to get the connection working fine for my Linux box. But there are a few other machines that connect to my box (I use IP masquerade) running windows, and they just can't seem to retrieve webpages properly. There have been mentions of the problems stemming from MTU's -- I've tried setting all the MTU's I can find to a small value (1200-1300), on my Linux box, on the other windows machines, but the windows machines STILL can't retrieve webpages correctly. FTP works fine, ping works, DNS services work, and even some simple webpages appear to work. But places like Yahoo, the Debian site, just doesn't load at all (or only loads the first few lines of HTML and stops). Anybody can help Thanks! U = ()() Don't modify spaghetti code unless you can eat the consequences. `--' __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: asking for help with getting the tape drive to work
Aaron: Your command line should be something like: mt -f /dev/ht0 status to get the drive status (assuming 'ht0' is the device, and a tape is loaded). If you set environment variable TAPE to /dev/ht0 (as per export TAPE=/dev/ht0 then the following will work: mt status as will all other commands listed in the 'mt' man page. Regards, Dean greetings, before upgrading the kernel i went for the first time to use my tape drive to back up my box. the dmesg output contained these lines: hdd: Seagate STT8000A, ATAPI TAPE drive ... ide-tape: hdd - ht0, 600KBps, 14*26kB buffer, 2600kB pipeline, 190ms tDSC but neither dump nor mt recognise it: mortirolo:/# mt /dev/ht0 mt: invalid tape operation `/dev/ht0' mortirolo:/# mt /dev/hdd mt: invalid tape operation `/dev/hdd' mortirolo:/# can somebody lend a helping hand explaining what is wrong and how to fix it? for some reason i was convinced that i had a scsi tape drive, so i loaded the st module but got similar response: mortirolo:/# mt /dev/st0 mt: invalid tape operation `/dev/st0' i also noticed the following line in demesg's output: Failed initialization of WD-7000 SCSI card! does it have something to do with my tape troubles? tia, -a -- Aaron Stromas| Tick-tick-tick!!!... ja, Pantani is weg... Oracle Corp | BRTN commentator +1 703.708.68.21 | L'Alpe d'Huez 1995 Tour de France
StarOffice query
Hello: I just installed StarOffice on my slink system. Seems to work fine, but I cannot get the BACKSPACE key to do anything. Anyone know how to make it move left and delete as it goes? Thanks, Dean Provins
Re: StarOffice query
Rick: Thanks for responding. Curiously, my BACKSPACE key is a DELETE key on the system in question. On this machine (also slink), it is identical to yours (i.e. a BACKSPACE key). The 'xev' output for the former is: At ve6cta, the BACKSPACE key generates KeyPress event, serial 16, synthetic NO, window 0x381, root 0x26, subw 0x0, time 440073742, (170,167), root:(205,222), state 0x0, keycode 22 (keysym 0x, Delete), same_screen YES, XLookupString gives 1 characters: KeyRelease event, serial 18, synthetic NO, window 0x381, root 0x26, subw 0x0, time 440073792, (170,167), root:(205,222), state 0x0, keycode 22 (keysym 0x, Delete), same_screen YES, XLookupString gives 1 characters: So now the question becomes, where do I reset it? Regards, Dean - Forwarded message from Rick Macdonald - On Wed, 2 Feb 2000, Dean Allen Provins wrote: I just installed StarOffice on my slink system. Seems to work fine, but I cannot get the BACKSPACE key to do anything. Anyone know how to make it move left and delete as it goes? Howdy, Dean! Works on my slink system. What does xev show for the backspace key? Here's mine: KeyPress event, serial 21, synthetic NO, window 0x401, root 0x25, subw 0x0, time 402403461, (118,63), root:(124,87), state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES, XLookupString gives 1 characters: KeyRelease event, serial 21, synthetic NO, window 0x401, root 0x25, subw 0x0, time 402403602, (118,63), root:(124,87), state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES, XLookupString gives 1 characters: ...RickM...
Re: StarOffice query
Rick: Thanks for the insight. I've got to invest some time in learning how to set up X's key mapping system. Clearly, there are still a few things to learn! Dean --- On Fri, 4 Feb 2000, Dean Allen Provins wrote: Rick: Thanks for responding. Curiously, my BACKSPACE key is a DELETE key on the system in question. On this machine (also slink), it is identical to yours (i.e. a BACKSPACE key). The 'xev' output for the former is: At ve6cta, the BACKSPACE key generates KeyPress event, serial 16, synthetic NO, window 0x381, root 0x26, subw 0x0, time 440073742, (170,167), root:(205,222), state 0x0, keycode 22 (keysym 0x, Delete), same_screen YES, XLookupString gives 1 characters: xmodmap -e keycode 22 = BackSpace ...RickM...
Re: Programs to fill in pdf forms
On Fri, Jan 03, 2003 at 11:33:27PM +0100, Frank Gevaerts wrote: On Fri, Jan 03, 2003 at 04:51:51PM -0500, Derrick 'dman' Hudson wrote: On Fri, Jan 03, 2003 at 01:21:29PM -0800, Ross Boylan wrote: | Are there any tools that will let me fill in forms in pdf? acroread | Ideally, the output would be pdf as well. The only output acroread provides is via printing. When run on a pdf with a form to fill in acroread reports the following : To save form data you need to have Adobe Acrobat or Acrobat Approval. This form can be completed and printed from Reader; however to save the data you need one of the viewers noted above. If you come across any others , let us know! (In case you didn't realize it already, printing generates PostScript data and it is fairly easy to partially circumvent the above and direct PS to a file instead of the printer. Then you'll have the completed form in PS format. However, naturally, that doesn't let you edit the form later, you would need to start over in acroread.) Of course, the PS can then be easily be converted to PDF (using ps2pdf, in the gs-common package). This doesn't solve the reedit problem, but it can be useful. If you need this often, it can be useful to define a 'printer' to make pdf files Just a side note: If the edits required are small (say a spelling error), then editing the Postscript file before creating the PDF file is quite possible as Postscript is just another text file. Regards, Dean -- Dean Provins [EMAIL PROTECTED] Linux is a stimulating and productive alternative to other PC operating systems. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: netmeeting server
Paulo: The January issue of Linux Journal has an article in Cooking with Linux about gnomemeeting (I believe that was the name) which is supposed to talk to NetMeeting. You may find the information that you require in that article, or by contacting its author, Marcel Gagne: [EMAIL PROTECTED] (www.salmar.com/marcel). Regards, Dean On Mon, Jan 13, 2003 at 09:52:17PM +, Paulo Henrique Baptista de Oliveira wrote: Hi all, anyone knows something similar to M$ netmeeting server in open plataform (using H 323 I think?!?). TIA,Paulo Henrique -- Paulo Henrique B de Oliveira Gerente de Opera??es - Linux Solutions - http://www.linuxsolutions.com.br O maior conte?do de Linux em l?ngua portuguesa - OLinux - http://www.olinux.com.br (21) 2526-7262 ramal 31 -- Dean Provins [EMAIL PROTECTED] Linux is a stimulating and productive alternative to other PC operating systems. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
BIOS reports more memory than kernel finds
Hello: I just added another 32 + 64 MB of memory to an older Pentium 1 (2 72 pin SIMMS each). There was already 32 MB installed, so this should have totalled 128 MB. The BIOS finds about 117 MB, and the kernel (2.2.18) finds just 65 MB. Any ideas on what is happening, or how it can be fixed? Thanks, Dean -- Dean Provins [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Ghostscript Problem
Mike: I'm using the Debian install of ghostscript (6.53) and the matching ghostview install, so this may not answer your query, but nevertheless On Wed, Oct 30, 2002 at 02:53:38PM -0700, Mike Fontenot wrote: I'm hoping someone can tell me how Ghostscript (specifically, gs-aladdin 7.04 (testing)) is supposed to know where the ghostscript fonts are located (i.e., the pathname to the directory where they reside). Is there an environment variable that is supposed to be set to that directory? The fonts appear to be under /usr/X11R6/lib/X11/fonts/ on my Deb 3 system. Also, can someone who has a testing system tell me where the font file n022003l.pfb is located? I.e., what do you get when you do a find . -name n022003l.pfb -print? (Note: the final character before the suffix is a lowercase L, not a numeral 1). find found them at /usr/X11R6/lib/X11/fonts/Type1/n022003l.pfb. (On my system, the above font file is located under /usr/lib/ghostscript/fonts, and also under /usr/lib/grace/fonts/type1. Also under the above [...]/ghostscript/fonts directory, there is a file Fontmap, which is a link to /etc/gs.Fontmap. There is also a Fontmap file under /usr/share/gs-aladdin/7.04, but there are no *.pfb files there.) Any help much appreciated. Mike Fontenot [EMAIL PROTECTED] -- Dean Provins [EMAIL PROTECTED] Linux is a stimulating and productive alternative to other PC operating systems. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
ps2epsi fails
Hello: I have used ps2epsi for several years without difficulty, but have just discovered that the woody version fails with newly created postscript documents, and even on old Postscript documents. A typical error message is (for a good Postscript document): --ps2epsi run-- p0:[EMAIL PROTECTED]:/tmp 98$ ps2epsi a.ps Error: /invalidaccess in --.setdevice-- Operand stack: --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- 1 4 %oparray_pop --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1040/1476(ro)(G)-- --dict:0/20(G)-- --dict:68/200(L)-- --dict:19/30(L)-- Current allocation mode is local Current file position is 8771 GNU Ghostscript 6.53: Unrecoverable error, exit code 1 ---end of errors Such a series of error messages mean nothing to me. Any suggestions for action? Regards, Dean -- Dean Provins [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Linux is a stimulating and productive alternative to other PC operating systems. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
2 NIC's, assigned in wrong order
Hello: I have two Ethernet cards (NICs) in a PII-300. The first recognized is an NE2000 ISA clone at IRQ10, and the second is a PCI at (shared) IRQ 12. I would like the second (the PCI) to be assigned as ETH0, and the first (ISA) to be ETH1. I've fiddled with the ether= append line for the kernel, and also the contents of the interfaces file in /etc/network to no avail. Anyone know how to force the assignment without resorting to ifconfig and route directly? Dean -- Dean Provins 50.950333,-114.037916 [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 2 NIC's, assigned in wrong order
Jan: On Mon, Dec 29, 2003 at 12:33:17AM +0100, Jan Minar wrote: On Sun, Dec 28, 2003 at 12:56:47PM -0700, Dean Allen Provins wrote: I have two Ethernet cards (NICs) in a PII-300. The first recognized is an NE2000 ISA clone at IRQ10, and the second is a PCI at (shared) IRQ 12. I would like the second (the PCI) to be assigned as ETH0, and the first (ISA) to be ETH1. I have rather similar problem. And what is the solution when the cards are the same type? -- The closest I got is: nameif (8) - name network interfaces based on MAC addresses But I couldn't find nameif called from anywhere--so I guess the right thing to do would be to call it from /etc/init.d/networking or /etc/networking/interfaces. That seemed like such a good suggestion. I created scripts to assign the desired names to the desired MAC addresses and placed them in /etc/network/if-pre-up.d/, and then added invocation in the interfaces file, but I keep getting the messages (in syslog): Dec 28 19:11:31 ve6wvc nameif: cannot change name of eth1 to eth0: File exists Dec 28 19:11:31 ve6wvc nameif: cannot change name of eth0 to eth1: Device or resource busy A typical script was eth0.sh: #!/bin/sh # Set up eth0 as the 3COM card (system sets it to eth1 at boot) /sbin/nameif -s eth0 00:50:da:08:f0:4a exit 0 with invocation in interfaces as: auto eth0 eth1 iface eth0 inet static pre-up /etc/network/if-pre-up.d/eth0.sh address192.168.0.3 network192.168.0.0 netmask255.255.255.0 broadcast 192.168.0.255 gateway192.168.0.1 iface eth1 inet static pre-up /etc/network/if-pre-up.d/eth1.sh address192.168.0.30 network192.168.0.0 netmask255.255.255.0 broadcast 192.168.0.255 gateway192.168.0.1 Unfortunately it failed as noted above, even though I downed the network and then restarted it. Any ideas or insights? Merry Christmas to you too. Dean Whoopy Xmas. Jan. I've fiddled with the ether= append line for the kernel, and also the contents of the interfaces file in /etc/network to no avail. -- Jan Minar Had I any humility, I would be perfect. -- Dean Provins 50.950333,-114.037916 [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 2 NIC's, assigned in wrong order: thanks
Jan: On Mon, Dec 29, 2003 at 03:41:29PM +0100, Jan Minar wrote: Morning! Please don't CC me, I'm subscribed. Sorry about the CC, when I hit Reply, you were there first and I failed to delete you. Shouldn't happen this time... On Sun, Dec 28, 2003 at 07:22:04PM -0700, Dean Allen Provins wrote: nameif (8) - name network interfaces based on MAC addresses But I couldn't find nameif called from anywhere--so I guess the right thing to do would be to call it from /etc/init.d/networking or /etc/networking/interfaces. That seemed like such a good suggestion. I created scripts to assign the desired names to the desired MAC addresses and placed them in /etc/network/if-pre-up.d/, and then added invocation in the interfaces file, but I keep getting the messages (in syslog): Dec 28 19:11:31 ve6wvc nameif: cannot change name of eth1 to eth0: File exists The `file' here is the network device `eth0' -- ``ifconfig -a'' will show both eth1 and eth0 are there, waiting to be upped. This looks like a kernel limitation. The workaround is something like: # nameif foo HWADDR1 # nameif eth0 HWADDR0 # nameif eth1 HWADDR1 Before finding this Email on the list, I experimented with exactly your idea. Of course it worked. I stuck the following 3 lines in front of the ifup -a in /etc/init.d/networking: /sbin/nameif -s eth2 00:50:da:08:f0:4a # 3COM:set to eth2 /sbin/nameif -s eth1 00:40:05:45:19:22 # Linksys: set to eth1 /sbin/nameif -s eth0 00:50:da:08:f0:4a # 3COM:set to eth0 To the list readers/responders who suggested using the module interface, thankyou. I'm sure that such a procedure wold also work. I just happened to have both NIC's built into the kernel already - hence the request. So I when there is an interface bar that (1) is down, and (2) has a name we want, we just give bar a random name foo. If (2) is not true, we just proceed ourselves, and when (1) is not true, we die screaming aloud. Loosely: # HWADDR_TO_RENAME=$(ip -l | grep -A1 eth0 | tail -n1 | awk '{print $2}') # [ -n $HWADDR_TO_RENAME ] nameif foo $HWADDR_TO_RENAME in both the scripts, _before_ the real naming. Dec 28 19:11:31 ve6wvc nameif: cannot change name of eth0 to eth1: Device or resource busy Then, the eth1 is UP (busy). You might want to go to singleuser mode, put the network down, and experiment a bit, just to grasp what's going on. A typical script was eth0.sh: snip The scripts are OK. Merry Christmas to you too. :-) -- Jan MinarChvostny Snovy krok. \/\ Whoopy Boo Year. Dean -- Dean Provins 50.950333,-114.037916 [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: devices
Gavin: On Tue, Jan 06, 2004 at 04:17:23PM +, Dr Gavin Seddon wrote: Hi, Ihave 2 devices that I cannot get working. a. A scsi tape drive. Here I have installed the mt-st kernel patch and made a ln -s between /dev/sto and /dev/tape. I'm using kernel 2.4.18 without any patches and can see my SCSI tape as /dev/[n]st0. Of course I have CONFIG_SCSI=y and CONFIG_SCSI_SYM53C8XX=y (my scsi card), plus some related SCSI configuration parameters set. What are your symptoms? b. A cdrw, here I have installed the scsi emulation patch and added an append line to my lilo.conf. I suspect the 2 probs may be linked. Can someone help pls? -- Dr Gavin Seddon [EMAIL PROTECTED] University of Manchester -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins 50.950333,-114.037916 [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: devices
Gavin: On Wed, Jan 07, 2004 at 12:32:20PM +, Dr Gavin Seddon wrote: On Tue, 2004-01-06 at 18:21, Wayne Topa wrote: Dr Gavin Seddon([EMAIL PROTECTED]) is reported to have said: Hi, Ihave 2 devices that I cannot get working. Can not get working is very vague. You must be getting some error message which would assist someone in helping you. a. A scsi tape drive. Here I have installed the mt-st kernel patch and made a ln -s between /dev/sto anmount: /dev/st0 is not a block devicev/tape. ^ Typo? do you mean st0? What error message do you get when you try to mount it? When I try to mount it mount: /dev/st0 is not a block device Mounting a tape is somewhat unusual. I recollect seeing that done on UNIVAC mainframes, but not on UNIX or Linux. I use the drive (with tape loaded) by writing to or reading from it. For example; (echo Date: `date`, tape 1; dd of=/dev/nst0 count=1) should write a single line to the tape in the drive. Note that I didn't rewind the tape. To read what was written: mt -f /dev/st0 rewind dd if=/dev/st0 count=1 should dump the contents of the first (and only) record on the tape (and rewind the tape). It is unclear why you are trying to mount the tape drive, as I've lost the beginning of this thread, but I presume that you have some data on your tape that you want to save on a CD. Try placing the tape data into a file on disc (set up as an ISOFS filesystem, I believe) and recording from it. b. A cdrw, here I have installed the scsi emulation patch and added an append line to my lilo.conf. Nowhere near enough info here to say. What does the append line look like? Did you add the drive to /etc/fstab? does cdrecord find it? etc, etc. The line is append=hdc=ide-scsi No i did not add anything to fstab. Don't know what to add. I do not have a CD writer, but the CD reader is listed in /etc/fstab as: # file system mount point type options dump pass /dev/cdrom /cdrom iso9660 ro,user,noauto The drive happens to be a SCSI device and /dev/cdrom is soft linked to /dev/sr0. /cdrom (the mount point) is a directory at the root of the file system (readable and executable by all). For my case, when a CD is loaded and mounted, it is done so read-only, and can be done by a user, but is not done automatically by a general mount command. Hope this is useful. Regards, Dean cdrecord -scanbus finds nothing. Yes sto was a typo should be st0 I suspect the 2 probs may be linked. Can someone help pls? Not without much more info. -- Hardware, n.: The parts of a computer system that can be kicked. ___ -- Dr Gavin Seddon [EMAIL PROTECTED] University of Manchester -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins 50.950333,-114.037916 [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: devices
Gavin: I attempted to send this to you directly, but as you can see, your personal address is not liked by my ISP: |- Failed addresses follow: -| [EMAIL PROTECTED] ... transport smtp: 550 host is listed in rbl-plus.mail-abuse.ja.net |- Message text follows: | On Wed, Jan 07, 2004 at 06:42:33PM +, Dr Gavin Seddon wrote: Dean, The original thread was my cdrw and scsi tape are not detected by the system, someone advised to try mounting the tape. I installed the mt-st kernel patch, added the necessary append to my lilo.conf and added the adaptec cdrw patch. No joy. Gav. If the SCSI tape isn't detected, then I presume that the kernel doesn't recognize it as a device (visible as device 9 on my system when I cat /proc/devices): Character devices: 1 mem 2 pty 3 ttyp 4 ttyS 5 cua 7 vcs 9 st - the tape drive 10 misc 14 sound 162 raw 226 drm Block devices: 3 ide0 I haven't used the mt-st patch since I can't remember when (a long time ago). The kernel supports many SCSI devices, including tape out of the box providing you configure it. Rebuild your unpatched kernel sources and enable SCSI and SCSI tape. My configuration (which is bound to be slightly different from yours, but may still be useful as a reference) for SCSI follows: # # SCSI support # CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_SD_EXTRA_DEVS=40 CONFIG_CHR_DEV_ST=m - the SCSI tape CONFIG_BLK_DEV_SR=m - the SCSI CDROM CONFIG_SR_EXTRA_DEVS=2 CONFIG_CHR_DEV_SG=m CONFIG_SCSI_DEBUG_QUEUES=y CONFIG_SCSI_CONSTANTS=y # # SCSI low-level drivers (I have TEKRAM card - see below) # CONFIG_SCSI_SYM53C8XX=y CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=4 CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32 CONFIG_SCSI_NCR53C8XX_SYNC=20 At boot, the following SCSI messages appear: sym53c8xx: at PCI bus 0, device 13, function 0 sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up) sym53c8xx: 53c875 detected with Tekram NVRAM sym53c875-0: rev 0x26 on pci bus 0 device 13 function 0 irq 9 sym53c875-0: Tekram format NVRAM, ID 7, Fast-20, Parity Checking scsi0 : sym53c8xx-1.7.3c-20010512 Vendor: SONY Model: CD-ROM CDU-76SRev: 1.1c Type: CD-ROM ANSI SCSI revision: 02 Vendor: HPModel: HP35480A Rev: 1109 Type: Sequential-Access ANSI SCSI revision: 02 I appreciate that your configuration is probably different, but you may find the above useful. Be sure to start with clean kernel sources (make mrproper the unpatched sources) and do a make menuconfig or whatever you choose to ensure proper SCSI support is built in. Regards, Dean On Wed, 2004-01-07 at 17:19, Dean Allen Provins wrote: Gavin: On Wed, Jan 07, 2004 at 12:32:20PM +, Dr Gavin Seddon wrote: On Tue, 2004-01-06 at 18:21, Wayne Topa wrote: Dr Gavin Seddon([EMAIL PROTECTED]) is reported to have said: Hi, Ihave 2 devices that I cannot get working. Can not get working is very vague. You must be getting some error message which would assist someone in helping you. a. A scsi tape drive. Here I have installed the mt-st kernel patch and made a ln -s between /dev/sto anmount: /dev/st0 is not a block devicev/tape. ^ Typo? do you mean st0? What error message do you get when you try to mount it? When I try to mount it mount: /dev/st0 is not a block device Mounting a tape is somewhat unusual. I recollect seeing that done on UNIVAC mainframes, but not on UNIX or Linux. I use the drive (with tape loaded) by writing to or reading from it. For example; (echo Date: `date`, tape 1; dd of=/dev/nst0 count=1) should write a single line to the tape in the drive. Note that I didn't rewind the tape. To read what was written: mt -f /dev/st0 rewind dd if=/dev/st0 count=1 should dump the contents of the first (and only) record on the tape (and rewind the tape). It is unclear why you are trying to mount the tape drive, as I've lost the beginning of this thread, but I presume that you have some data on your tape that you want to save on a CD. Try placing the tape data into a file on disc (set up as an ISOFS filesystem, I believe) and recording from it. b. A cdrw, here I have installed the scsi emulation patch and added an append line to my lilo.conf. Nowhere near enough info here to say. What does the append line look like? Did you add the drive to /etc/fstab? does cdrecord find it? etc, etc. The line is append=hdc=ide-scsi No i did not add anything to fstab. Don't know what to add. I do not have a CD writer
mutt and PGP query
Hello: I have been trying to encrypt messages with PGP 6.5.8 when using mutt to no avail. Signing, and decoding seem to work fine, but mutt cannot seem to locate the correct key for encoding. When sending (after indicating that I want the message encrypted), it asks if it should use keyID = 0x9643AE65 for [EMAIL PROTECTED] (my userid and address). When I respond yes, it lists several choices. Each has the correct Email adress, and my name, but none have the correct keyID. In fact, these keyID's do not correspond to any in my public key file. No matter which I choose, PGP cannot encrypt because, as it says: Cannot find the public key matching userid '0x72A1F430' This user will not be able to decrypt this message. Encryption error This isn't surprising, as the key is incorrect. For the record, the 'pgp_getkeys_command=pkspxycwrap %r' doesn't work, as I don't have the script enabled, but then I figured as I'm using a public key that I already have, I shouldn't need a key caching proxy. Does any reader know where I'm going wrong? I'd appreciate any and all input. Thanks, Dean Calgary
kernel 2.4.2 and PPP
Hello: I just upgraded my 2.4.0 kernel to 2.4.2 (via 2 patches) and PPP immediately failed. The connection was made, but an IOCTL said there was an argument error, and PPPD aborted. The IOCTL command in question was for PPPIOCGFLAGS. Anyone else had this problem, and know how to correct for it? I'm using Debian 2.2 for everything except the kernel. Thanks, Dean Calgary
KDE2 and login screen blanking
Hello: I have KDE2 as the X display manager using an ATI rage128 card, but cannot get the login screen to blank. I've set xset to 10 minutes, but nothing happens at the end of the interval. Clearly I'm missing something, probably related to KDE and its login. Ideas or suggestions are most welcome. Regards, Dean Calgary
has debian-user dried up?
Hello: Since Friday, I've seen 5 messages on this list. During the previous week, there seemed to be about as many! It was VERY ACTIVE until quite recently. What's happened? Dean Calgary
non-modular kernel, multi E/N card recognition
Hello: I have encountered a problem with the recognition of 2 Ethernet cards when using a non-modular kernel. The specifics are as follows: kernel 2.4.2 (with console = tty and lance ethernet enabled) 2 Lance (ISA) E/N cards jumpered to 0x300 and 0x320 respectively system is '386, 8 MB, no graphics, keyboard or mouse: uses vt101 as a console I tried the following append statements in the lilo.conf file, kernel section, but only the card at 0x300 is identified: append = io=0x300,0x320 console=ttyS0,4800E7 append = io=0x300 io=0x320 console=ttyS0,4800E7 append = io=0x320 io=0x300 console=ttyS0,4800E7 append = io=0x300,0x320 (with append = console=ttyS0,4800E7 in the global section) Note that a modular kernel 2.2.13, with the line options lance io=0x300,0x320 in the /etc/modules.conf file DOES recognise both cards at boot time. The newer kernel is needed (I believe) because I want the '386 as a firewall between my LAN and the ADSL modem to the world. I cannot get dhcpcd that came with the earlier Debian release (currently on the '386) to make a connection, so want dhcp-client, plus iptables for packet filtering. If you have any experience with a similar environment, or have any insight into solving my problem at all, I would very much like to hear from you. Regards from frustrated in Calgary, Dean Provins
Re: Reiser and IP Masq kernel2.4.12
Hello: Don't you also have to do (as root): echo 1 /proc/sys/net/ipv4/ip_forward Dean On Sat, Oct 20, 2001 at 08:21:17AM -0500, Lance Hoffmeyer wrote: Does anyone have IP Masq setup using a Reiser FS and kernel 2.4.12. I setup IP Masq one night with kernel 2.4.12 when I had a ext2 FS on my router. It worked fine. The next day I reinstalled my system using Reiser FS. I installed the same kernel.deb that I used the previous night and now I cannot MASQ my computers. The network works. I can ping router-workstation, router-outside,workstation-router, but I cannot ping workstation-outside. If I cat /proc/sys/net/ipv4/ip_forward it returns 0 even though I set all of the iptable rules to forward. Lance -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins [EMAIL PROTECTED] [EMAIL PROTECTED] I support Linux as a stimulating and productive alternative to other PC operating systems.
pump returns Operation failed.
Hello: I use a '386 (successfully) as a firewall, with Debian 2.2 on it. It is connected to an ADSL modem and runs quite well. Its been up for 63 days, passing packets back and forth. Lately, pump, when asked for status (i.e. pump --status) on the default device (eth0) returns Operation failed. Does anyone know what that means? Is it something caused by the ISP, or is it a local software failure? I'm concerned that the ISP may have changed the IP and I should be using it, rather than the original one that ifconfig continues to return when I check periodically. Dean -- Dean Provins [EMAIL PROTECTED] [EMAIL PROTECTED] I support Linux as a stimulating and productive alternative to other PC operating systems.
Re: intel fortran compiler
Hello: You indicate that you are using a Pentium IV CPU. This is a 32 bit processor, so the 64 bit FORTRAM shared libraries mentioned in your post (below) will never work. You must install the 32 bit version. While I have but a Pentium II, I've had no trouble with the compiler. Dean On Tue, Oct 23, 2001 at 06:34:29PM +0200, Ionel Mugurel Ciobîcã wrote: Hi all, I downloaded the intel compiler form Intel and I want to check it on my pentium IV computer. I run unstable with 2.4.10 kernel. The tar file from Intel contain 5 rpm packages (for RH 6.2) and an install script. I can't run the install script. I try to make .deb out of .rpm using alien, but for few packages it is not working. I get this error: computer: fortran# alien intel-efc64-5.0.1-37.ia64.rpm objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libCEPCF90.so: File format not recognized objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libF90.so: File format not recognized objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libIEPCF90.so: File format not recognized objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libPOSF90.so: File format not recognized objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libcprts.so: File format not recognized objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libcprts.so.2: File format not recognized objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libcxa.so: File format not recognized objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libcxa.so.2: File format not recognized objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libintrins.so: File format not recognized objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libunwind.so: File format not recognized objdump: debian/intel-efc64/opt/intel/compiler50/ia64/lib/libunwind.so.2: File format not recognized dpkg-shlibdeps: warning: format of libmofl.so not recognized dpkg-shlibdeps: warning: format of libmofl.so not recognized dpkg-shlibdeps: warning: format of libsched.so not recognized dpkg-shlibdeps: warning: format of libasmutils.so not recognized dpkg-shlibdeps: warning: format of libSymDbg.so not recognized dpkg-shlibdeps: failure: ldd on `debian/intel-efc64/opt/intel/compiler50/ia64/lib/crtxi.o' gave error exit status 1 dh_shlibdeps: command returned error code make: [binary-arch] Error 1 (ignored) dpkg-gencontrol: error: current build architecture i386 does not appear in package's list (ia64) dh_gencontrol: command returned error code make: *** [binary-arch] Error 1 Package build failed. Here's the log: dh_testdir dh_testdir dh_testroot dh_clean -k dh_installdirs cp -a `ls -1 |grep -v debian` debian/intel-efc64 dh_installdocs dh_installchangelogs dh_compress dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol Out of 5 .rpm I made only 3 .deb. Did someone succeeded to install this compiler? Thank you for your help. Ionel P.S. The compilers can be downloaded from http://developer.intel.com/software/products/eval/; (version complete without support). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins [EMAIL PROTECTED] [EMAIL PROTECTED] I support Linux as a stimulating and productive alternative to other PC operating systems.
'make' and symbolic link problem
Hello: I have a curious problem that first surfaced several months ago, but I was unable to address until this week. Basically, 'make' refuses to make anything, although it knows what has to be done. For example, I have a small library, and a corresponding makefile for which 'make -n' tells me it will run the following: p3:[EMAIL PROTECTED]:~/utils 554$ make -n gcc -c -g create_2d.c gcc -c -g pgm_out.c gcc -c -g WaveletCorr.c gcc -c -g is_power2.c gcc -c -g fft.c gcc -c -g conv.c gcc -c -g read_vals.c ar cr libdaputils.a create_2d.o pgm_out.o WaveletCorr.o is_power2.o fft.o conv.o read_vals.o This is correct, and make runs the same makefile just fine on my home machine (also Debian 2.2). Everything compiles properly there. When I run 'make' on this machine, however, I get the following cryptic message, and it terminates in error: p3:[EMAIL PROTECTED]:~/utils 555$ make gcc -c -g create_2d.c make: execvp: gcc: Too many levels of symbolic links make: *** [create_2d.o] Error 127 If I execute the gcc statement above (gcc -c -g create_2d.c), it runs to completion without any hint of error. I should add that until I noticed the problem in February, I had no difficulty with make here (or at home). Both 'make' and 'gcc' are not linked to anything. Neither is my home directory, nor the subdirectory containing the makefile and sources listed above. Apart from '/usr/local', which I mounted on a separate partition, the rest of '/usr' is on its own partition. Debian 2.2 is up-to-date (as of this morning), but that had no effect. The kernel is: Linux enf403-2 2.2.14 #1 Mon Jan 17 08:13:18 MST 2000 i686 unknown Does anyone have any ideas to enable me to correct the problem, or have any suggestions on how to investigate the problem? Dean Provins Calgary
Re: Applications not using hosts file for name resolution
Pat: The order hosts bind line should be in /etc/host.conf, and formatted as order hosts,bind. This line is followed (in my /etc/host.conf file) with the single line multi on. The remainder looks fine to me. Dean - On Mon, May 27, 2002 at 02:13:17PM +0100, Pat Colbeck wrote: Hi I have noticed something starnge about my Woody system. I have to maintain a hosts file due to some firewall and external DNS weirdness for some of the hosts in the office. If I ping them then they resolve via the hosts file but applications like telnet and postfix seem to be using DNS (thus getting the wrong address). Any ideas why ? Here is my resolv.conf file from /etc order hosts bind domain esc.azlan.co.uk nameserver 10.44.69.102 nameserver 10.44.65.120 Thanks Pat -- Dean Provins [EMAIL PROTECTED], [EMAIL PROTECTED] Linux is a stimulating and productive alternative to other PC operating systems. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
thunderbird and screen resolution
Hello: I recently went to a dual screen setup, and X provided a screen resolution of 191x96 (from 96x96). I was able to configure mozilla and firefox to use a resolution of 96 (thus making the image the same size as on the single screen setup, instead of double size), but do not know how to do the same for thunderbird. There is no about:config that I can find. Does anyone know how to change the resolution used by thunderbird? Regards, Dean -- Dean Provins, P. Geoph. 50.95033N, 114.03791E [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: thunderbird and screen resolution: fixed
On Fri, Jul 21, 2006 at 01:48:44PM +0100, George Borisov wrote: Dean Allen Provins wrote: I recently went to a dual screen setup, and X provided a screen resolution of 191x96 (from 96x96). I was able to configure mozilla and firefox to use a resolution of 96 (thus making the image the same size as on the single screen setup, instead of double size), but do not know how to do the same for thunderbird. There is no about:config that I can find. Recent version of Thunderbird has the option to edit this. Look under the General tab of the Advanced section of the preferences (there will be a Config Editor button.) Hope this helps, -- George Borisov George: It helped immensely. I'm still using version 1.0.x, but had a copy of 1.5 on the system. Once I located the required parameter, I was able to manually set it for the older system. This will do until I get converted over. For anyone else in this annoying situation, the line in prefs.js for the old version to add is: user_pref(browser.display.screen_resolution, 96); where 96 is your screen resolution (you may find it to be 0 (zero)). In the new version, is seems to be: user_pref(mail.display.screen_resolution, 96); Thanks for your help, George. Regards, Dean -- Dean Provins, P. Geoph. 50.95033N, 114.03791E [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: using plotter HP7470A
Patrick: I've used a 7475A and a 7550 successfully on Linux (Debian), but both are attached via serial ports. Best results were with software flow control. I've also driven them via a Windows machine. I know of no CUPS driver. The cat should work. Dean -- On Thu, Jun 27, 2002 at 12:25:27AM -0400, Patrick M wrote: Once again, I seek for your help. I recently put my hands on a HP 7470A plotter for a few bucks... It's supposed to read HPGL file format. I therefore downloaded pdtoedit file converter, got myself an HPGL file, and did: # cat ./example.hpgl /dev/lp0 And nothing happens. Is there a cups driver available somewhere I didn't look? Has anyone used this device? Any inputs? Thanks, PM, 22 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins [EMAIL PROTECTED], [EMAIL PROTECTED] Linux is a stimulating and productive alternative to other PC operating systems. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
SSH and X11 Forwrding query
Hello: I have used SSH and X Forwarding successfully in the past, but since moving to Sarge, it refuses to co-operate. Either I can't read/understand the documentation or there's something new. From work, I can ssh or scp to home using a host.domain address. At home I've added 3 lines to my .ssh/config file: Host my_work.dyndns.org User my_user ForwardX11 yes where the host address is another host.domain address that I registered with dyndns.org (great service). My user name and hostname at my_work are not the same as at home. Both IP addresses are correctly deduced by DNS from the host.domain's that I registered. Both hosts are behind firewalls and have private addresses (192.168.x.x). When I connect from work, the DISPLAY variable is NOT set. I've tried the command line option as well as the config file above. Anyone have any ideas on what I'm doing incorrectly or have knowledge of why this setup will consistently fail? Regards, Dean -- Dean Provins 50.95033N, 114.03791E [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: SSH and X11 Forwrding query
Gentlemen: Thanks to your recommendations (from Jacob S, John Smith, Tony Godshall), it worked once I turned it on in /etc/ssh/sshd_config. I must have done that when I used it before, but I've completely forgotten. Thanks again. Regards, Dean On Sun, Jul 03, 2005 at 12:54:51PM +0200, John Smith wrote: On Sat, 2 Jul 2005 15:23:24 -0500 Jacob S [EMAIL PROTECTED] wrote: On Sat, 2 Jul 2005 14:09:42 -0600 Dean Allen Provins [EMAIL PROTECTED] wrote: Hello: I have used SSH and X Forwarding successfully in the past, but since moving to Sarge, it refuses to co-operate. Either I can't read/understand the documentation or there's something new. From work, I can ssh or scp to home using a host.domain address. At home I've added 3 lines to my .ssh/config file: Host my_work.dyndns.org User my_user ForwardX11 yes where the host address is another host.domain address that I registered with dyndns.org (great service). My user name and hostname at my_work are not the same as at home. Both IP addresses are correctly deduced by DNS from the host.domain's that I registered. Both hosts are behind firewalls and have private addresses (192.168.x.x). When I connect from work, the DISPLAY variable is NOT set. I've tried the command line option as well as the config file above. Anyone have any ideas on what I'm doing incorrectly or have knowledge of why this setup will consistently fail? Do you have X11Forwarding yes set in /etc/ssh/sshd_config? (Make sure to run /etc/init.d/ssh restart if you make changes to that file.) The ForwardX11 yes line in your ~/.ssh/config file will only affect _outgoing_ connections from that computer, not incoming. Plus, both ForwardX11 yes and -X will only work if the X11Forwarding yes line is set in the sshd_config file. HTH, Jacob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Hi All, another thing that might be the cause of this problems is that xauth is not installed on the box you'r trying to connect to. Check with dpkg -l xbase-clients and install with apt-get install xbase-clients. Sincerely, Jan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins 50.95033N, 114.03791E [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: PDF-Writer printer?
Hi: On Thu, Dec 02, 2004 at 06:20:14AM -0500, Kevin Mark wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Dec 02, 2004 at 12:06:58PM +0100, Arrizabalaga, Saioa wrote: Hello all, I need a pdf-printer: I have tried with the cups-pdf package, following the installation steps from (http://transtronics.com/reference/print2pdf.htm). Anyway, if anyone knows another package to get my objectives, I would appreciate any help. After completing all the steps in the link before, I have tried to print a plain-text file in this pdf-printer with lp: lp -d pdf_writer_printer -t result.pdf plain_text_file A pdf file is created (although it doesn?t take the name I wanted (result.pdf), it takes the name job_number-untitled_document.pdf). Anyway, the created pdf file is always empty (its size is always 321 bytes). I have been looking the logs, and found that there is an error of ESP Ghostscript: [snipped] D [29/Nov/2004:17:41:34 +0100] [Job 9] stdin: is not a tty D [29/Nov/2004:17:41:34 +0100] [Job 9] ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1 [snipped] At the end you will find all the error stack (/var/log/cups/error_log). I don?t know if the error is because I am using lp in an incorrect way, or my cups-pdf configuration is incorrect... Any ideas? Here you have the stack of the errors: (/var/log/cups/error_log) [snipped] Hi Saioa, I just stated using tex (latex) and you can create great documents with relative easy. I used a command 'pdflatex $FILE.tex' to produce pdf files. HTH - -Kev Saioa: PDF is easily generated from TeX as noted above (try `LyX' to generate `LaTeX or TeX' as it is much easier to use), but also easily generated from any PostScript document. To send `plain text' to PDF, try the following: mpage -1 plain-text.file /tmp/a.ps# convert to PostScript ps2pdf /tmp/a.ps /tmp/a.pdf # convert to PDF An alternative to `mpage' is `a2ps'. `ps2pdf' comes with the ghostscript package `gs'. The companion program `gv' displays both PostScript and PDF files. Good printing... Dean -- - -- counter.li.org #238656 -- goto counter.li.org and be counted! (__) (oo) /--\/ / ||| * /\---/\ ~~ ~~ Have you mooed today?... -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBrvpuRp+kG4Nu//URAvW4AJ90vP1s/1QQb4xptUmvLnQB0HTWjQCfZC+D tm/TFGBhU2Nb7khnNBKjIVc= =+M4G -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins 50.950333N, 114.037916E [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
CD/DVD writer successes anyone?
Hello: I'm interested in adding a CD/DVD reader/writer to my meager system and have been looking at LG GSA 4160B units (which allegedly `do it all'). I'm sure that there are alternatives, but I'm still in the infancy of my search. I'm aware only that the LG GSA 4040B (an old unit) was supported by Linux, but I haven't located any info to suggest that current units were. Have any readers any experiences with these units (or others) which they would care to share? Thanks, Dean -- Dean Provins 50.950333N, 114.037916E [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: openoffice won't import eps postscript graphic
Dave: On Fri, Jul 09, 2004 at 01:48:38PM +0100, Dave Howorth wrote: I wrote I'm trying to import an EPS file into OOo Writer. I choose Insert/Graphics/FromFile... then select EPS as the file type and click on my eps file But when I press the open button, it says 'Unknown graphic format'. I haven't been able to find anything in the help or on this list. I'm running Woody with: openoffice.org 1.0.3-2 openoffice.org-bin 1.0.3-1woody2 openoffice.org-debian-files 1.0.3-2+1 openoffice.org-help-en 1.0.3-2 openoffice.org-I10n-en 1.0.3-2 (I don't know why the versions are slightly different) The eps file was created by Grace 5.1.7. Can anybody suggest what might be causing the problem or how to fix it? Roberto Sanchez replied: IS it actually an EPS graphic? or a PS graphic that was just saved with an EPS extension? Try opening it in the GIMP and resaving it. You can check the file format via: 'file name_of_file'. Well I saved it using the EPS device, not the PostScript device, and the first line says %!PS-Adobe-3.0 EPSF-3.0. There does seem to be something odd about it though because I get a different problem when loading other EPS files from our professional visual aids department. When I load those, OOo displays the title, creator, and time notes instead of the picture. Is there some way to see the image? EPS files can include a rastered version of the image which when opened in OO, and also in MS presentation, is displayed in the preview box, and on the page when finally positioned. Only when the final PostScript is generated does the actual EPS image get displayed. To include such a rastered version, use ps2epsi. I have used eps2eps on occasion to get a good quality EPS iamge for inclusion in a document. It may not help you, but it too might be worth a try. I tried saving my file from the GIMP. Then it has the second problem rather than the first. The GIMP rasterizes it when it loads it and saves that in the file - I certainly don't want that. Cheers, Dave Regards, Dean -- Dean Provins, P. Geoph. 50.950333,-114.037916 [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ZOOM X4 adsl modem , Apache behind home gateway
Hasan: On Sun, Sep 12, 2004 at 07:51:15PM +0300, Hasan wrote: Hello , I want to use apache server , it works at localhost perfect . Bu i have the adsl modem zoom x4 . When i click my ip at the browser Home Gateway popup appears and ask password. I tried to do Virtual Host section . When I set port 80 to my ip , it reset the modem and my ip chages ! How can i do this ? I googled and ask in freenode irc but cant find . If I understand your situation and question correctly, you want to set up your Apache web server for access from outside your local network. As far as I know, and this is based on my experience of a network behind an ADSL modem and a router (there are several machines connected via the router to the modem), you need a little more. You must direct port 80 traffic to the host running Apache. It appears that you've tried to do this, but every time the modem is reset, you get a new IP number. This happens because your ISP is assigning you a dynamically assigned IP number (via DHCP). You could ask for a static IP number, but that usually costs more (it does from my ISP). The way around this is to use a service which associates a name with your current IP number. That way, people wanting to connect to your web server, need only remember an unchaning name. There are free services on the 'net which will let you associate a name of your choice with your current IP. For example, you might choose the name 'maria' for your PC. At 'www.dyndns.org' (the provider that I use) you would register that name and associate it with a domain (they have several from which to choose - I use 'dyndns.org' as the domain name). Thus, your host might have the name 'maria.dyndns.org'. If every time you reset your modem, you also redid the name to IP association (and there are free scripts which will assist you to do this), then users could always reach your host. Using this procedure may help you solve your problem. It certainly did for me. Regards, Dean -- Dean Provins 50.950333,-114.037916 [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ZOOM X4 adsl modem , Apache behind home gateway
Hasan: On Sun, Sep 12, 2004 at 10:11:15PM +0300, Hasan wrote: Dean Allen Provins wrote: Hasan: On Sun, Sep 12, 2004 at 07:51:15PM +0300, Hasan wrote: Hello , I want to use apache server , it works at localhost perfect . Bu i have the adsl modem zoom x4 . When i click my ip at the browser Home Gateway popup appears and ask password. I tried to do Virtual Host section . When I set port 80 to my ip , it reset the modem and my ip chages ! How can i do this ? I googled and ask in freenode irc but cant find . If I understand your situation and question correctly, you want to set up your Apache web server for access from outside your local network. As far as I know, and this is based on my experience of a network behind an ADSL modem and a router (there are several machines connected via the router to the modem), you need a little more. You must direct port 80 traffic to the host running Apache. It appears that you've tried to do this, but every time the modem is reset, you get a new IP number. This happens because your ISP is assigning you a dynamically assigned IP number (via DHCP). You could ask for a static IP number, but that usually costs more (it does from my ISP). The way around this is to use a service which associates a name with your current IP number. That way, people wanting to connect to your web server, need only remember an unchaning name. There are free services on the 'net which will let you associate a name of your choice with your current IP. For example, you might choose the name 'maria' for your PC. At 'www.dyndns.org' (the provider that I use) you would register that name and associate it with a domain (they have several from which to choose - I use 'dyndns.org' as the domain name). Thus, your host might have the name 'maria.dyndns.org'. If every time you reset your modem, you also redid the name to IP association (and there are free scripts which will assist you to do this), then users could always reach your host. Using this procedure may help you solve your problem. It certainly did for me. Regards, Dean Thank you for the reply . And i think there is no chance to do this without static ip right ? I'll ask it to my ISP . The fixed name (as per my example above), should fix you up PROVIDING you tell 'dyndns.org' the IP address for that name every time it changes. 'dyndns.org' has scripts available (for free) to assist with this, or you can do it manually every time you reset your modem. The static IP is the simplest, but but also most costly. 'dyndns.org' charges nothing. Dean Hasan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dean Provins 50.950333,-114.037916 [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tar/tape
Gavin: On Tue, Feb 24, 2004 at 01:03:34PM +0100, Dr Gavin Seddon wrote: Hello, My tape drive is a hp 20 40 scsi drive. It will allow data to be written to it. The output of mt -f /dev/st0 is: [EMAIL PROTECTED]:/home/gseddon# mt -f /dev/st0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 10240 bytes. Density code 0x13 (DDS (61000 bpi)). Soft error count since last status=0 General status bits on (4101): BOT ONLINE IM_REP_EN There is a symbolic link between /dev/st0 and /dev/tape. I have tried mt setblk 10240. Still the device stops, with the same error. However, some data is written to the tape. Gavin. Your drive and mine are very similar (both HP, although model numbers are different). The status returns: p4:[EMAIL PROTECTED]:~ 4$ rsh ve6cta 'mt status' drive type = Generic SCSI-2 tape drive status = 318767104 sense key error = 0 residue count = 0 file number = 0 block number = 0 Tape block size 0 bytes. Density code 0x13 (DDS (61000 bpi)). Soft error count since last status=0 General status bits on (4101): BOT ONLINE IM_REP_EN but /dev/tape points to /dev/nst0 (the no rewind version). I notice in your status that a partition number is mentioned (zero). I have NOT partitioned any tapes (as I recall, a tape can have 2 partitions of presumably arbitrary size). Thus I can write until I run out of tape. If (by chance) your tape has a small partition followed by a large (the remainder of the tape) partition, then tar may be hitting the limit of that first partition. In this case, either: repartition the tape to a single partition, or move the tape to the second partition and try tar there. But I don't see a way of using mt for any partition adjustments, so I suggest you get an unused tape (new) tape. I suppose the alternative would be to alter mt to allow the needed adjustments, but that may be more than you (or I) might be willing to try. However, by your comments, I presume that you tried the write test that I suggested. It would only verify that several short records could be read and written. Try a bigger test to see if you find the write limits. The following comes to mind: dd if=/dev/zero of=/tmp/zeros count=50 obs=1024 ibs=1024 dd if=/tmp/zeros of=/dev/nst0 ibs=1024 obs=1024 count=50 The first statement will create a file of 50*1024 bytes of zeros. The second will write it to the tape in no rewind mode. If the partition to which it is writing is smaller than 50*1024 bytes, it will fail, but tell you how many blocks were written. From that you can confirm that the partition is smaller than the amount of that you intended to write. If that is the case (I expect 4*1024, given your previous post), then the reparitioning, or tape replacement will be your only alternative. Incidently, I use 90M tapes (and some 60M tapes that I picked up cheaply). They are DDS-90 data tapes. Dean PS: As this may be a problem that others experience, I am posting this to the Debian list, as well as CCing you. -- Dean Provins 50.950333,-114.037916 [EMAIL PROTECTED] KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT programming languages/ systems for advanced applications on Linux
David: On Thu, Dec 22, 2011 at 02:14:44PM -0800, David Christensen wrote: Someone wrote: I am like you and wrote most of my C++ during the early years of the language. I used the ATT Cfront version 1.2 compiler for years. Always on Unix machines and never on Windows. I have become disillusioned with the new C++ that has the kitchen sink in it. It has become the new ADA. I believe it makes easy programs easy and hard programs harder. So now I program in C and haven't written much C++ in years. I learned Perl in 1998, and have been using it as my primary ---snip--- I learned C++ in 1995 and used it professionally until ~2000. While I loved C, I have mixed memories of C++. I have positive memories ---big snip--- My preference was C (which followed years of FORTRAN) for geophysical applications. I did some C++ but never cared for the syntax. I noted your comments on Python, and while I haven't any experience with the 2 - 3 transition, I am inclined to prefer it. In fact, almost all my work is now in that language. You can see some examples at my page (below) in the SOFTWARE section. Regards, Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca http://www.telusplanet.net/~provinsd KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20111223155737.GA2870@ve6wvc
Re: OT programming languages/ systems for advanced applications on Linux
On Fri, Dec 23, 2011 at 11:46:23PM -0800, David Christensen wrote: On 12/23/2011 07:57 AM, Dean Allen Provins, P. Geoph. wrote: I noted your comments on Python, and while I haven't any experience with the 2 - 3 transition, I am inclined to prefer it. In fact, almost all my work is now in that language. You can see some examples at my page (below) in the SOFTWARE section. Which version of Python do you use? David 2011-12-23 23:43:38 dpchrist@p43400e ~ $ cat /etc/debian_version 6.0.3 2011-12-23 23:44:03 dpchrist@p43400e ~ $ python --version Python 2.6.6 My system and Python versions are identical to yours. Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca http://www.telusplanet.net/~provinsd KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20111224185101.GB2942@ve6wvc
MSI N210 graphics card causes boot failure
Hello: My nVidia GeForce 6600 GT card started to act up, so I purchased an inexpensive MSI N210 card (which uses the 210 nVidia chipset). The salesman said I'd be happier with it! Sadly, after the the initial boot sequence lines of text (in regular VGA font) appear, the screen goes blank, and the disc stops working. It appears that the fine print boot messages are lost at that time. Is it possible the card does not support alternative VGA text formats? I should add that the keyboard, mouse and network are all dead at that time, which suggests that the boot sequence was incomplete. The MSI box indicates that a PCI Express or PCI Express 2.0 slot are all that is required. The mother board provides the former (it is an ASUS A8N-E board purchased with the original graphics card in '06 or so). lsmod shows a nouveau driver being loaded with the old card, but I doubt it gets that far with the new card. Does anyone know why this happens, or what if any incompatibilities there are between the current Debian release and this card? Any suggestions for an alternative card would also be welcome (high gaming performance is not needed). Thanks, Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca http://www.telusplanet.net/~provinsd KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20111231143030.GA3199@ve6wvc
Re: MSI N210 graphics card causes boot failure
Sven and Camaleón: Thankyou for the replies and suggestions. I have made some progress. See below. On Sat, Dec 31, 2011 at 04:41:11PM +0100, Sven Joachim wrote: On 2011-12-31 16:31 +0100, Camaleón wrote: On Sat, 31 Dec 2011 07:30:30 -0700, Dean Allen Provins, P. Geoph. wrote: My nVidia GeForce 6600 GT card started to act up, so I purchased an inexpensive MSI N210 card (which uses the 210 nVidia chipset). The salesman said I'd be happier with it! Sadly, after the the initial boot sequence lines of text (in regular VGA font) appear, the screen goes blank, and the disc stops working. It appears that the fine print boot messages are lost at that time. Is it possible the card does not support alternative VGA text formats? Hardly, I dare say. Does anyone know why this happens, or what if any incompatibilities there are between the current Debian release and this card? Any suggestions for an alternative card would also be welcome (high gaming performance is not needed). Before anything, I would try these steps: 1/ Rename any current /etc/X11/xorg.conf file (if any) and let Xorg to auto-configure the card. This will not help, since there is a problem with the kernel module. 2/ Boot with KMS disabled (append nouveau.modeset=0 at boot's kernel line). That should work around the problem. If possible, use a second machine to log in via ssh and run rmmod nouveau; modprobe nouveau modeset=1 then. Apending nouveau.modeset=0 at boot time allowed the boot to proceed normally. gdm popped up a graphical screen as expected, BUT, the resolution was 800X600. As root, I then executed rmmod nouveau; modprobe nouveau modeset=1 which caused a loss of X (screen went black) and a loss of the mouse. The keyboard continued to function allowing me to halt the system. I was unable to bring up one of the 6 text screens, and had to work blindly. I examined the /var/log/Xorg.0.log.old (new MSI card) and compared it to the /var/log/Xorg.0.log (old 6600 card). It appears that the nouveau module may not have been used. The VESA module seems to be the module of choice and all the higher resolutions were disabled. Sven It seems that the nouveau modeset=1 does not function as expected. To your knowledge, are there alternative settings that one might use; or do you recommend the binary nVidia driver? Thanks, Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca http://www.telusplanet.net/~provinsd KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20111231204112.GA2875@ve6wvc
Re: MSI N210 graphics card causes boot failure
Sven: I have executed the recommended procedure. I didn't appreciate the need for the remote login until you explained the purpose - sorry for the delay. On Sun, Jan 01, 2012 at 11:29:51AM +0100, Sven Joachim wrote: On 2011-12-31 21:41 +0100, Dean Allen Provins, P. Geoph. wrote: On Sat, Dec 31, 2011 at 04:41:11PM +0100, Sven Joachim wrote: That should work around the problem. If possible, use a second machine to log in via ssh and run rmmod nouveau; modprobe nouveau modeset=1 then. Apending nouveau.modeset=0 at boot time allowed the boot to proceed normally. gdm popped up a graphical screen as expected, BUT, the resolution was 800X600. As root, I then executed rmmod nouveau; modprobe nouveau modeset=1 which caused a loss of X (screen went black) and a loss of the mouse. The keyboard continued to function allowing me to halt the system. I was unable to bring up one of the 6 text screens, and had to work blindly. That's why I suggested to log in from a second computer via ssh. It's hard to do anything with a blank screen. I examined the /var/log/Xorg.0.log.old (new MSI card) and compared it to the /var/log/Xorg.0.log (old 6600 card). It appears that the nouveau module may not have been used. The VESA module seems to be the module of choice and all the higher resolutions were disabled. This is expected, the nouveau X driver needs kernel modesetting to work. It seems that the nouveau modeset=1 does not function as expected. It is essential to find out why it does not work. You might want to try my suggestion to to log in via ssh and then run dmesg after re-loading the nouveau module. Boot with drm.debug=0x04 to obtain additional information. Also, try a 3.2.0-rc7 kernel from experimental. I have performed the following to create the attached file: booted with nouveau.modeset=0 and drm.debug=0x04 logged in remotely executed rmmod nouveau; modprobe nouveau modeset=1 executed dmesg dmesg.drm.modeset_1 gzipped the latter file I noted where the rmmod etc. was executed in the file (near line 643) Attached the file to this note... I'll try the 3.2.0-rc7 kernel you mentioned after this note goes. To your knowledge, are there alternative settings that one might use; or do you recommend the binary nVidia driver? The only available alternative in wheezy/sid is the vesa driver which is probably not going to suite you. Sven Regards, Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca http://www.telusplanet.net/~provinsd KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 dmesg.drm.modeset_1.gz Description: Binary data
Re: MSI N210 graphics card causes boot failure
Sven: On Sun, Jan 01, 2012 at 11:29:51AM +0100, Sven Joachim wrote: On 2011-12-31 21:41 +0100, Dean Allen Provins, P. Geoph. wrote: On Sat, Dec 31, 2011 at 04:41:11PM +0100, Sven Joachim wrote: ---snip--- It is essential to find out why it does not work. You might want to try my suggestion to to log in via ssh and then run dmesg after re-loading the nouveau module. Boot with drm.debug=0x04 to obtain additional information. Also, try a 3.2.0-rc7 kernel from experimental. As I haven't heard back, I presume that the dmesg with debug enabled was insufficient to diagnose the problem. I did try to load up the experimental kernel, but there were two libraries (as I recall, my notes are unavailable just now) that were dependencies, and they weren't available. I've been to kernel.org to get the suggested kernel, but haven't managed to build it yet. I'll try today and let you know. Thanks for the assistance so far. Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca http://www.telusplanet.net/~provinsd KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20120105153241.GA2459@ve6wvc
under GDM3 printer outputs only blank pages
Hello: I finally upgraded to Wheezy and GDM3 in August. Since then, my Postscript printer which functioned correctly under GDM2 outputs ONLY blank pages when print requests are submitted to CUPS. The printer does function correctly if I run: cat PS_FILE.ps /dev/lp0 But using lp PS_FILE.ps or lp FILE.txt outputs only a blank page. Similar results occur if I print from ghostview for example. Any ideas on where to look, or what config file might need tweaking? Thanks, Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca http://www.telusplanet.net/~provinsd public key 0x9643AE65 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20130912025454.ga27...@telusplanet.net
only GDM3 greeter screen works
Hello, Apparently I have mucked something up. The GDM3 greeter screen (i.e. the screen that displays your name, and solicits the password) functions, but it will not sign me on. I can sign on via a terminal session, so it isn't a userid or password problem. I've run dpkg-reconfigure gdm3, but that didn't help. I've run /etc/init.d/gdm3 restart, and that didn't help either. Any ideas? Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca http://www.telusplanet.net/~provinsd public key 0x9643AE65 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20130913010841.ga5...@telusplanet.net
arbitrary disk name assignment affects dump/restore
Hello I have used dump and restore to perform system backups for many years. Since upgrading to Debian 6.x, I have not been able to obtain consistent and reliable dumps for the following reason: Sometimes. my single fixed disk is labeled as /dev/sda, but At other times, it is labeled as /dev/sdb. My dump script identifies a partition to dump by its name (i.e. /home) or partition (i.e. /dev/sda3) depending on the dump level. If /var/lib/dumpdates indicates that the last lower value dump was performed on partition /dev/sda3, and the system has assigned that partition to /dev/sda3, then all is well; however if the system has arbitrarily labeled that partition as /dev/sdb3, then dump thinks that no lower level dump was ever performed on that partition, and it attempts to perform a level 0 (i.e. full dump) dump and the tape in my tape drive is insufficiently long to handle that amount of data. This means that I must NOT rely on my automatic (crontab-based) dump scripts, but interrogate the system manually, and if necessary, alter /var/lib/dumpdates so that the script will run properly. This is a REAL PAIN. Is it possible that /etc/fstab, which now identifies the partitions on my single fixed disc via UUID labels, is an unwilling participant in this confusion? Should I alter /dev/fstab to indicate the partitions as it was done before (i.e. /dev/sda1 is /, /dev/sda3 is /home etc.)? I look forward to your analysis and recommendation. Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20110416210039.GA4137@ve6wvc
arbitrary disk name assignment affects dump/restore
Andrei, Stan and Paul: Thanks for the replies. I was unaware that /dev/disk/* existed. I must have missed that lesson during the last upgrade. I appreciate your assistance. Regards from Calgary, Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20110418191757.GA4754@ve6wvc
web page image alignment
Hello: I'm trying to use the Writer program to put a web page together. I want to include some images, and I'd like to cut back on the document length. I tried placing the PNG images side by side (I used the LEFT alignment and RIGHT alignment controls on the menu bar), and they looked just fine in the Writer document. Sending them out to HTML (via export) and displaying them with iceweasel (and I also tried the most recent Firefox, and the installed Epiphany Web Browser) wasn't very satisfactory. They overlaid each other! Any ideas on how to correct this? Thanks, Dean PS: I'm using OO 3.3.0 (330M20 build 9567). -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20110419213332.GA5224@ve6wvc
Re: web page image alignment
Wayne and Weaver: On Tue, Apr 19, 2011 at 08:02:43PM -0400, Wayne Topa wrote: On 04/19/2011 07:47 PM, Heddle Weaver wrote: On 20 April 2011 07:33, Dean Allen Provins, P. Geoph. provi...@telusplanet.net wrote: Hello: I'm trying to use the Writer program to put a web page together. I want to include some images, and I'd like to cut back on the document length. I tried placing the PNG images side by side (I used the LEFT alignment and RIGHT alignment controls on the menu bar), and they looked just fine in the Writer document. Sending them out to HTML (via export) and displaying them with iceweasel (and I also tried the most recent Firefox, and the installed Epiphany Web Browser) wasn't very satisfactory. They overlaid each other! I have not used it in a few years but I suggest you take at the Debian kompozer package. I tried it when OO didn't cut the mustard and was very satisfied with thew results. WT Any ideas on how to correct this? In the repositories, in any distribution from Squeeze onward and even available in Lenny through backports: *http://tinyurl.com/3o9acyn * Writer is essentially an html capable word processor but is far from a mature web authoring app. Regards, Weaver. Thanks for the feedback. I've installed kompozer and am now experimenting with it. So far it looks very good. Dean -- Dean Provins, P. Geoph. dprov...@alumni.ucalgary.ca KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65 Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65 -- 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/20110420204710.GA4691@ve6wvc