Linux-Misc Digest #616, Volume #21               Tue, 31 Aug 99 14:13:08 EDT

Contents:
  index for tv1 in sched.c ([EMAIL PROTECTED])
  Re: telnet connects, but 'closed by foreign host' b4 prompt (matt shobe)
  Re: Netscape not connecting to the Internet (John Quinn)
  Re: Help! Hard drive IRQ timeouts! ("Gerson G. H. Cavalheiro")
  Re: Directory tree: function to display? (Stephan Houben)
  News Proxy (Jimmy Lio)
  Re: Using grep to match complete words (Joe Kline)
  Re: 3d manipulation software? ([EMAIL PROTECTED])
  Re: Save my 486... Linux and HDD controller board ("patman")
  Re: Is MS *.asf format supported? (Errin Watusikac)
  Re: Difficulties with SCSI disk drive. (Zero Partition) (Leonard Evens)
  Re: Best language for graphical apps? (Nick Bower)
  Re: is there a HOWTO about upgrading a Linux kernel? (Colin Watson)
  Re: KDE/GNOME (Mark Timmings)
  Re: Save my 486... Linux and HDD controller board (Paul Sherwin)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED]
Subject: index for tv1 in sched.c
Date: Tue, 31 Aug 1999 16:30:16 GMT

Not sure if this is the right place to post this.

In 2.3.13, sched.c, line 485(starting and ending with *** below)


static inline void internal_add_timer(struct timer_list *timer)

unsigned long expires = timer->expires;
unsigned long idx = expires - timer_jiffies;

if (idx < TVR_SIZE) {
***   int i = expires & TVR_MASK; ***
   insert_timer(timer, tv1.vec, i);
} else if (idx < 1 << (TVR_BITS + TVN_BITS)) {


should be

***   int i = (expires + tv1.index) & TVR_MASK; *** ???

Otherwise any timeout less than 256 jiffies may not be indexed into the
"correct" tv1.vec[idx] to be run at the "correct time" in
run_timer_list.

Any comments will be appreciated.  Thanks.

Samuel Wang
Deskin Research Group


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: matt shobe <[EMAIL PROTECTED]>
Subject: Re: telnet connects, but 'closed by foreign host' b4 prompt
Date: Tue, 31 Aug 1999 16:29:23 GMT

it's surely bad form to reply to yourself, but I have new information
that' probably quite relevant to this:

>
> Aug 31 08:49:59 knrq in.telnetd[787]: connect from 127.0.0.1
> Aug 31 08:49:59 knrq in.telnetd[787]: error: cannot
> execute /usr/sbin/in.telnetd: No such file or directory
>
> ...which just leaves me wondering, how did in.telnetd get misplaced or
> blown away? hack? careless whispers?

I noticed that in/telnetd was simply missing from /usr/sbin, as the
error message would suggest. However, I somehow have two telnet RPMs
installed, one client and one client+server. They won't allow each
other to uninstall because they are both named "telnet." anyhow,
in.telnetd is now on my system and the logfile no long lists the error
shown above, but the connection is still rejected, even from the
console.

1) how do you uninstall duplicate-named RPM packages?

2) if the log won't even tell me why the connection was rejected, how
can I start over from scratch with telnetd? I have no man for telnetd
on my system, dangit.

-matt


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: [EMAIL PROTECTED] (John Quinn)
Subject: Re: Netscape not connecting to the Internet
Date: Tue, 31 Aug 1999 17:29:38 GMT
Reply-To: none

On Tue, 31 Aug 1999 11:43:03 -0400, "Ben Gunter" <[EMAIL PROTECTED]>
wrote:

I reinstalled Suse Linux and and put in the nameserver settings in my
rc.config file and then ran /sbin/SuSEconfig, and guess what !

It worked.

Thanks to every one for there help.

John

>If you don't need a proxy in Windows, you won't need it in Linux.  It sounds
>like you just don't have your nameserver info set up correctly.  The file
>you need to put the "nameserver ..." lines in is /etc/resolv.conf .  Do that
>and see if the problem gets fixed.
>
>John Quinn wrote in message <[EMAIL PROTECTED]>...
>>On Mon, 30 Aug 1999 09:37:48 +0200, "Gero H. Marten"
>><[EMAIL PROTECTED]> wrote:
>>
>>Gero I did what you said. I put the lines
>>
>>search freeserve.co.uk
>>nameserver 195.92.177.3
>>
>>I ran SuSEconfig. When I try to enter the proxy settings
>>I get an error message saying it can not find the server or
>>something like that, everytime I try to ok the settings.
>>
>>Also I can still get the same error messages when trying to
>>go to a web site.
>>
>>The proxy settings I tried to get netscape to except were
>>
>>HTTP: http://www-cache.freeserve.net           PORT: 8080
>>
>>FTP: http://www-cache.freeserve.net               PORT: 8080
>>
>>GOPHER: http://www-cache.freeserve.net    PORT: 8080
>>
>>In Windows95 I can connect to freeserve without proxy settings
>>and ip 195.92.177.3, so I can't see why I need these settings for
>>Netscape in SUSE linux 6.1.
>>
>>regards
>>
>>John
>>
>>>John,
>>>
>>>After editing /etc/rc.config, did you run "SuSEconfig" (without
>>>quotes) ? /etc/resolv has to have the format:
>>>
>>>search provider.com
>>>nameserver xxx.xxx.xxx.xxx
>>>
>>>Then go online and edit the proxies online.
>>>
>>>Good luck
>>>
>>>--
>>>Gero H. Marten
>>><http://www.provi.de/gmarten/index.html>
>>>--
>>
>
>


------------------------------

From: "Gerson G. H. Cavalheiro" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Help! Hard drive IRQ timeouts!
Date: Tue, 31 Aug 1999 18:44:57 +0200

> Your hd is dying.

I'm not so sure...

I started to experiment this problem *just* after to
upgrade my system from kernel 2.0.36 to 2.2.5.

------------------------------

From: Stephan Houben <[EMAIL PROTECTED]>
Subject: Re: Directory tree: function to display?
Date: 31 Aug 1999 13:45:57 +0200

[EMAIL PROTECTED] writes:

> Is there a function analog to the DOS function 'tree' under Linux
> which prints a nice pipeable overview of the directory tree?

There are several options.
The simplest is `ls -R' which lists all files in all subdirectories.

But if you want to get fancy, you can use `find'.
Some examples:

find .

This gives you all files and subdirectories under the current path `.' .

find . -type d

Only lists directories. 

find . -type d -maxdepth 2

Only go two levels deep.

See `man find' for lots more info. 

Greetings,

Stephan

------------------------------

From: Jimmy Lio <[EMAIL PROTECTED]>
Crossposted-To: 
tw.bbs.comp.linux,alt.linux,comp.os.linux,comp.os.linux.networking,comp.os.linux.questions,info.ncsa-telnet,hk.comp.os.linux,hk.comp.os.unix,hk.comp.pc,alt.os.linux
Subject: News Proxy
Date: Wed, 01 Sep 1999 00:39:36 +0800

Any proxy servers that cache news from newsgroups?  What about Apache
and Squid?

Jimmy


------------------------------

From: Joe Kline <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.programmer,comp.unix.shell,comp.lang.perl.misc
Subject: Re: Using grep to match complete words
Date: Tue, 31 Aug 1999 12:36:21 -0400

Larry James wrote:

>      I have a grep script to check for the presents of a word in a list
> of words.  My problem is that if the current word is "hello" and the
> list has a word "hello2" because "hello2" has "hello" included, this
> will show up as found.
>      My script goes as:
>
> ---------------
> for i in wordlist
> do
>     if [ ! "`grep $i uniquewords`" ]
>     then
>         echo adding $i...
>         echo $i >>uniquewords
>     fi
> done

Well, one way to do this in Perl...

my (@uniquewords) = grep(/\buniqewords\b/,@wordlist);

This will match "uniquewords" in @list, but being mindful of word
boundaries (that's what the \b's are doing. The other suggestions in this
thread could apply here as well.

To better under regular expressions in Perl look at:

perldoc perlre

joe

--


------------------------------

From: [EMAIL PROTECTED]
Subject: Re: 3d manipulation software?
Date: Tue, 31 Aug 1999 16:48:23 GMT

yes lots, which one is best really depends on what you want and what you
want to do.
my two favorites are mops and ac3d.
if your into animation try blender.
for some list try
SAL/modeller :  http://SAL.KachinaTech.COM/E/3/index.shtml
or /cad         http://SAL.KachinaTech.COM/E/2/index.shtml
my page         http://www.cottagesoft.com/~phrostie/cad-tastrafy/

that should keep you busy for a while

good luck

phrostie


In article <7qhm3k$ecb$[EMAIL PROTECTED]>,
  "Jumbo" <[EMAIL PROTECTED]> wrote:
> hey guys can anyone tell me is there any 3D modeling software
> (low end i am not looking for something too jazzy) for LINUX?
> thanks
> V
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: "patman" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,comp.os.linux,comp.os.linux.questions,hk.comp.os.linux,alt.os.linux,tw.bbs.comp.linux,comp.os.linux.misc,comp.os.linux.help,comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: Save my 486... Linux and HDD controller board
Date: Tue, 31 Aug 1999 10:00:48 -0700


Paul Sherwin <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Tue, 31 Aug 1999 10:31:27 -0500, "Astroboy" <[EMAIL PROTECTED]>
> wrote:
>
> I don't think anyone will be able to find a new 500Mb disk these days
> - dealers sometimes have stocks of old 2Gb disks but the smallest
> manufactured today are 6.4Gb and production of these may have stopped
> by now.

Applied magnetics supplies parts to the drive manufacturers, they have
orders
for parts for 4.2g drives.. so somebody must be making smaller than 6.4g.
Patrick

>
> Best regards, Paul
>
> Paul Sherwin Consulting     22 Monmouth Road, Oxford OX1 4TD, UK
> Phone  +44 (0)1865 721438   http://www.telinco.co.uk/psherwin/index.htm
> Mobile +44 (0)7931 578334   mailto:[EMAIL PROTECTED]
> Pager  +44 (0)7666 797228



------------------------------

Subject: Re: Is MS *.asf format supported?
From: Errin Watusikac <[EMAIL PROTECTED]>
Date: 31 Aug 1999 10:39:31 -0700

Erik de Castro Lopo <[EMAIL PROTECTED]> writes:

> Beat Rupp wrote:
> > 
> > I have a decent movie in asf format here and unfortulately it only
> > works with windows netshow player. Any suggestions to get that running
> > in Linux?
> 
> ASF is a proprietary Microsoft format. Until somebody reverse
> engineers it you're not going to get support under Linux.

ASF is NOT proprietary; NO file format is proprietary.  That's why 
users of Samba-type software are allowed to use these M$-developed 
formats, once they are reverse-engineered.  If M$ could be granted 
copyrights, patents, or trade secret status on these formats, they 
surely would.  US law permits reverse-engineering of file (and other 
communication) formats and so they can't be considered proprietary 
trade secrets.

Remember: Proprietary /= secret.  Something is only proprietary if it 
someone has been granted "ownership rights" ("proprietary interests")
to it, like trademark, patent, (legally protected) trade secret status
or copyright.  Like the Linux kernel. :-)

Dictionary references for "proprietary":

http://www.wordsmyth.net/cgi-bin/simplesearch.cgi?matchent=proprietary&matchtype=exact&matchid=-1&retall=1
http://www.dictionary.com/cgi-bin/dict.pl?term=proprietary  (Ignore ESR's Jargon File 
entry, of course.)
http://www.m-w.com/netdict.htm

Not all jargon deserves acceptance.  Some of it is plain nonsense.

None of the above is intended to be legal advice, since I have not
been granted membership in any bar association, etc.

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Difficulties with SCSI disk drive. (Zero Partition)
Date: Tue, 31 Aug 1999 11:30:07 -0500

"Lyndon F. Bartels" wrote:
> 
> Hello,
> 
> I don't know what's wrong with the hard drive on my machine. Hopefully y'all
> can help.
> 
> My hardware:
> P-II 350. 192Meg of memory.
> Three disk drives: (All Ultra-Wide)
>   Disk1 is a 4.5G Seagate Medalist Pro
>   Disk2 is a 4.5G Seagate Medalist Pro
>   Disk3 is a 9.1G Seagate Medalist Pro
> Controller is a Adaptec 2940UW Pro.
> 
> Disk3 is composed of one partition. All data on this partition is web pages.
> 
> I'm getting interesting errors. The symptoms include "Input/output errors"
> when I try to rename a file. When I tried to unmount the drive I get
> a "device busy" error. But I'm the only one logged on, and not on that device.
> Obviously a process had some file open. I checked, and I'm not
> out of space, not out of inodes either. I killed off a bunch of httpd
> processes, and could unmount the device. On the next reboot, the drive didn't
> up on the controller's part of the boot. Tonight, when I powered the machine
> up, the drive showed up again, but when I tried to e2fsck it, I got
> an error.
> 
> I'm currently running RH6.0, kernel 2.2.5-15. I haven't installed any updates
> yet. Below, I included some excepts from /var/log/messages from
> last night. Followed by my e2fsck attempt, and the /var/log/messages entries
> added as a result. My gut tells me that there's something wrong with
> disk cacheing, but I could be wrong. I don't know if it's hardware or software
> or both. The two 4.5s have never given me problems since the install.
> I have them set up with the OS, /home, and other areas. I later added the
> 9.1Gigger for data. I used cfdisk to partition the drive. I copied the data
> from another computer, (via nfs) and I thought I was set. I started to rename
> some of the files, etc, and starting getting long waits after each
> command. Then I started getting the Input/output errors trying to execute a mv
> command.
> 
> Anyway... any ideas?
> 
> Thanks in advance,
> 
> Lyndon F. Bartels
> [EMAIL PROTECTED]
> 
> Aug 29 18:16:52 gl1500 kernel: scsi : aborting command due to timeout : pid
> 41256, scsi0, channel 0, id 2, lun 0 Write (6) 01 c0 4d 02 00
> Aug 29 18:16:53 gl1500 kernel: SCSI host 0 abort (pid 41256) timed out -
> resetting
> Aug 29 18:16:53 gl1500 kernel: SCSI bus is being reset for host 0 channel 0.
> Aug 29 18:16:56 gl1500 kernel: (scsi0:0:2:0) Performing Domain validation.
> Aug 29 18:16:56 gl1500 kernel: (scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec,
> offset 8.
> Aug 29 18:16:56 gl1500 kernel: (scsi0:0:1:0) Performing Domain validation.
> Aug 29 18:16:56 gl1500 kernel: (scsi0:0:1:0) Successfully completed Domain
> validation.
> Aug 29 18:16:56 gl1500 kernel: SCSI disk error : host 0 channel 0 id 2 lun 0
> return code = 26030000
> Aug 29 18:16:56 gl1500 kernel: scsidisk I/O error: dev 08:21, sector 114764
> Aug 29 18:20:07 gl1500 kernel: (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec,
> offset 8.
> .
> .
> .
> Aug 29 22:19:05 gl1500 kernel: scsi0 channel 0 : resetting for second half of
> retries.
> Aug 29 22:19:05 gl1500 kernel: SCSI bus is being reset for host 0 channel 0.
> Aug 29 22:19:09 gl1500 kernel: (scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec,
> offset 8.
> Aug 29 22:19:09 gl1500 kernel: SCSI disk error : host 0 channel 0 id 2 lun 0
> return code = 26030000
> Aug 29 22:19:09 gl1500 kernel: scsidisk I/O error: dev 08:21, sector 2
> Aug 29 22:19:38 gl1500 kernel: scsi0 channel 0 : resetting for second half of
> retries.
> Aug 29 22:19:38 gl1500 kernel: SCSI bus is being reset for host 0 channel 0.
> Aug 29 22:19:41 gl1500 kernel: (scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec,
> offset 8.
> Aug 29 22:19:41 gl1500 kernel: SCSI disk error : host 0 channel 0 id 2 lun 0
> return code = 26030000
> Aug 29 22:19:41 gl1500 kernel: scsidisk I/O error: dev 08:21, sector 2
> Aug 29 22:20:06 gl1500 kernel: (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec,
> offset 8.
> 
> # e2fsck -fy /dev/sdc1
> e2fsck 1.14, 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09
> e2fsck: Attempt to read block from filesystem resulted in short read while
> trying to open /dev/sdc1
> Could this be a zero-length partition?
> 
> # tail messages
> Aug 30 23:26:28 gl1500 kernel: SCSI disk error : host 0 channel 0 id 2 lun 0
> return code = 28000002
> Aug 30 23:26:28 gl1500 kernel: extra data not valid Current error sd08:21:
> sense key Not Ready
> Aug 30 23:26:28 gl1500 kernel: Additional sense indicates Logical unit not
> ready, manual intervention required
> Aug 30 23:26:28 gl1500 kernel: scsidisk I/O error: dev 08:21, sector 2
> #

In principle, if you have an external cable which goes from
68 pins to 50 pins, which is fairly likely, the unused leads
should be terminated.  Most of the time using a cable which
does not do that causes no problems, but if you have problems,
you might cvonsider getting a terminated cable.  
See the web page www.scsi-cables.com.
-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: Nick Bower <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: Best language for graphical apps?
Date: Tue, 31 Aug 1999 11:59:21 -0500

> I like Python for quick and easy development.

yep and it's got interface to Tcl/Tk.  And has a module for bindings to
Gnome and the GIMP toolkit.

http://www.python.org

Plus its just really easy to get going in :)

nick

-- 

Nick Bower
Space Science and Engineering Center
University of Wisconsin - Madison
http://arm1.ssec.wisc.edu/~nickb

------------------------------

From: [EMAIL PROTECTED] (Colin Watson)
Crossposted-To: comp.os.linux.setup
Subject: Re: is there a HOWTO about upgrading a Linux kernel?
Date: 31 Aug 1999 13:13:08 +0100

In article <[EMAIL PROTECTED]>,
Norman Levin <[EMAIL PROTECTED]> wrote:
>So, if my /etc/lilo.conf currently has a linux kernel (invoked with "l")
>and windows (invoked with "d") - what is a redhat UPDATE going to do?
>Is it going to create a third entry named linux?  with the new kernel?

<fx: shrug>

Just don't allow the update to do any LILO configuration, and do it
yourself. There is an option for this, isn't there?

In any case, a distribution update will probably install its own
kernel, so you'll want to reinstall your own custom kernel anyway. If
you allow a distribution to upgrade all your software, you ought to
expect to have to reinstall customized builds of said software. (If
you want to keep them, do the upgrade yourself, package by package.)

-- 
Colin Watson                                      [cjw44 at cam.ac.uk]
Trinity College, Cambridge, and Computer Science       [riva.ucam.org]
"DRIVE LETTERS SUCK ROTTING WALRUSES THROUGH A LEAKY OIL PIPELINE!"
 - Peter da Silva, scary.devil.monastery

------------------------------

From: Mark Timmings <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,redhat.config
Subject: Re: KDE/GNOME
Date: Tue, 31 Aug 1999 16:59:20 +0100

In article <[EMAIL PROTECTED]>, Thomas R. Shannon
<[EMAIL PROTECTED]> writes
>Red Hat (and perhaps Mandrake) puts the gnome/enlightenment commands
>in .Xclients.  I believe the Afterstep commands end up in .xinit or
>something like that.  This file is evaluated after .Xclients so if
>there's anything in it, it overrides .Xclients commands.
>
>Try deleting the later file.

Thanks, I'll have a look into that. 

Mark

------------------------------

From: [EMAIL PROTECTED] (Paul Sherwin)
Crossposted-To: 
alt.linux,comp.os.linux,comp.os.linux.questions,hk.comp.os.linux,alt.os.linux,tw.bbs.comp.linux,comp.os.linux.misc,comp.os.linux.help,comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: Save my 486... Linux and HDD controller board
Date: Tue, 31 Aug 1999 16:23:47 GMT

On Tue, 31 Aug 1999 10:31:27 -0500, "Astroboy" <[EMAIL PROTECTED]>
wrote:

>I had a similar problem on my 486 when I tried to install a second HD.  The
>HD turned out to be defective.  I ended up going on eBay and buying a HD of
>about 500+ meg (the largest you can use on a 486 with the older BIOS that
>most have). 

Huh? The BIOS only affects _booting_ - if you have an ancient non-LBA
BIOS and aren't using cylinder translation software like Disk Manager,
you  must put your kernel below cylinder 1024 (usually about 500Mb) -
in practice this means creating a small partition at the beginning of
the disk to put the kernel in. Once the Linux IDE driver has loaded
you can access as big a disk as the controller supports - this is
usually _very_ big.

I don't think anyone will be able to find a new 500Mb disk these days
- dealers sometimes have stocks of old 2Gb disks but the smallest
manufactured today are 6.4Gb and production of these may have stopped
by now.

Best regards, Paul
 
Paul Sherwin Consulting     22 Monmouth Road, Oxford OX1 4TD, UK
Phone  +44 (0)1865 721438   http://www.telinco.co.uk/psherwin/index.htm
Mobile +44 (0)7931 578334   mailto:[EMAIL PROTECTED]
Pager  +44 (0)7666 797228

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to