Linux-Misc Digest #594, Volume #24 Thu, 25 May 00 06:13:04 EDT
Contents:
Re: xmms stuttering (Sony VAIO) ([EMAIL PROTECTED])
Re: Linux On Laptop (Cameron Hutchison)
Re: how-to develop? (Nicola Attico)
How can I get ksh as a login shell ? (jose luis fernandez diaz)
Re: help - messed up silo now i cant boot (Andrew Williams)
Re: Segmentation fault - "talk" program (Andrew Williams)
Re: how to enter a bug report against linux? (Richard Steiner)
Linux books (John Hong)
Re: Linux books (Andrew Williams)
Re: init rc5.d mechanism ("Ez-Aton")
Re: CAUTION: I am under attack from an incompetent hacker probably in germany
("Ez-Aton")
Re: Installing from hard disk + complaints ("Ez-Aton")
Re: Need ideas for university funded project for linux (Donal K. Fellows)
Re: Printing man pages (NDQ)
Re: Mounting CD-ROM (NDQ)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: xmms stuttering (Sony VAIO)
Date: Thu, 25 May 2000 07:59:42 GMT
I have Win2K on another partition and haven't had any problems running
it with PNP off.
In article <[EMAIL PROTECTED]>,
Steve Linberg <[EMAIL PROTECTED]> wrote:
>
> That did it! Woohoo! Thanks!
>
> As an aside: I don't care too much, but are there any adverse
consequences
> of having PnP off? I do still have a Windoze boot on that machine;
any
> idea whether it will screw it up?
>
> Thanks for the help!
>
> --
> Steve Linberg, Chief Goblin
> Silicon Goblin Technologies
> http://silicongoblin.com
> Be kind. Remember, everyone you meet is fighting a hard battle.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Cameron Hutchison)
Subject: Re: Linux On Laptop
Date: 25 May 2000 08:12:46 GMT
On Wed, 24 May 2000 12:30:05 GMT, Jonid <[EMAIL PROTECTED]> wrote:
>
>I've installed many virsions of linux on my laptop "which is Twinhead p166
>and 16MB RAM" including mandrake, storm winlinux and redhat linux. but all
>these virsions doesnt work on my system and it freezes on first boot after
>the installation, during the following line:
>
>Starting PCMCIA.....
I've had this problem on a twinhead laptop before. The problem occurs
when the PCMCIA module does an interrupt scan (see section 3.3 of the
PCMCIA howto, below).
You can fix it by adding "do_scan=0" to the PCIC_OPTS definition in the
PCMCIA startup script.
There is another method described in the PCMCIA howto, that requires you
to know on which interrupt the problem is occuring. I never bothered to
figure that out - I just went with the do_scan=0 and everything was fine.
I'll paste section 3.3 of the PCMCIA howto here:
=============================================================================
3.3. Interrupt scan failures
Symptoms:
� The system locks up when the PCMCIA drivers are loaded, even with
no cards present.
� The system log shows a successful host controller probe just before
the lock-up, but does not show interrupt probe results.
After identifying the host controller type, the socket driver probes
for free interrupts. The probe involves programming the controller
for each apparently free interrupt, then generating a ``soft''
interrupt, to see if the interrupt can be detected correctly. In some
cases, probing a particular interrupt can interfere with another
system device.
The reason for the probe is to identify interrupts which appear to be
free (i.e., are not reserved by any other Linux device driver), yet
are either not physically wired to the host controller, or are
connected to another device that does not have a driver.
In the system log, a successful probe might look like:
Intel PCIC probe:
TI 1130 CardBus at mem 0x10211000, 2 sockets
...
ISA irqs (scanned) = 5,7,9,10 status change on irq 10
There are two ways to proceed:
� The interrupt probe can be restricted to a list of interrupts using
the irq_list parameter for the socket drivers. For example,
``irq_list=5,9,10'' would limit the scan to three interrupts. All
PCMCIA devices will be restricted to using these interrupts
(assuming they pass the probe). You may need to use trial and
error to find out which interrupts can be safely probed.
� The interrupt probe can be disabled entirely by loading the socket
driver with the ``do_scan=0'' option. In this case, a default
interrupt list will be used, which avoids interrupts already
allocated for other devices.
In either case, the probe options can be specified using the PCIC_OPTS
definition in the PCMCIA startup script, for example:
PCIC_OPTS="irq_list=5,9,10"
It should be noted that /proc/interrupts is completely useless when it
comes to diagnosing interrupt probe problems. The probe is sensible
enough to never attempt to use an interrupt that is already in use by
another Linux driver. So, the PCMCIA drivers are already using all
the information in /proc/interrupts. Depending on system design, an
inactive device can still occupy an interrupt and cause trouble if it
is probed for PCMCIA.
=============================================================================
------------------------------
From: Nicola Attico <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: how-to develop?
Date: Thu, 25 May 2000 10:53:06 +0200
> Nicola Attico wrote:
>
> > Hello,
> >
> > I'm serching for a word of advice.
> > I'm searching for a project to work at
> > (starting from zero [maybe better] or
> > running).
> > The point is that I've not strong C
> > knowledge, so I would like to learn...
> > Anyway I'm not a total unable
> > and I've years of experience using
> > Linux and some practice in administration...
> > I think moreover that the better way
> > to learn how to write software is to write
> > it, so I would like to learn doing it!
> > So, I'm searching for a *baby* project,
> > where it is possible to learn...
> >
> > Does it exists?
> >
> > Thanks,
> >
> > Nicola
> Are you looking for a job or just summin to do to help u learn? :-)
...the second you said :-/
No, really, try to explain me apart being sarcastic...
Cheers,
Nicola
------------------------------
From: jose luis fernandez diaz <[EMAIL PROTECTED]>
Subject: How can I get ksh as a login shell ?
Date: Thu, 25 May 2000 08:39:24 +0000
Hi,
I have a RH 6.1. The default login shell is bash, but I want ksh as a
login shell. I writed the '/etc/passwd' file to get this, but it haven't
comman-line editing. If I press 'Esc + K' the term shows:
^[k
instead of repeat the last command. How can I solve this problem ?
Thanks,
Jose Luis.
------------------------------
From: Andrew Williams <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat
Subject: Re: help - messed up silo now i cant boot
Date: Thu, 25 May 2000 11:16:00 +0200
Reply-To: [EMAIL PROTECTED]
Mount your main disc partition as /mnt and call vi as
/mnt/usr/bin/vi /mnt/etc/silo.conf
Of course, if the two are on seperate partitions, you will need two mount
points.
I *think* this is how I handled this problem, last time I had something
similar.
Jeff Canar wrote:
> I added what i thought was a legitimate option to my silo.conf file,
> but it was not, and now my sparc classic won't boot. It reports that
> the silo.conf contains a bad option, and then kicks me to a boot
> prompt, with some very complex instructions for booting (which i do
> not really understand).
>
> I have the redhat sparc cdrom, so i can boot with it and get a
> linux=single boot prompt, so i was hoping to find and edit the
> silo.conf file to take out the bad option: My questions:
>
> (1) how do i go about editing the silo.conf file? I know i have to
> mount something to somewhere (as per the 'forgot root password' faq
> answer), but i can't really figure out how this mount works, and how i
> can use an editor from the single boot prompt. When i try to use vi,
> the computer reports 'vi' as an unknown command.
>
> (2) is there an easier way to resolve this? i don't want to reinstall
> the whole system again.
--
Mielipiteet omiani - Opinions personal, facts suspect, especially on my
http://home.germany.net/101-69082/samba.html
Simple Samba Solutions web page. ICQ 1722461
------------------------------
From: Andrew Williams <[EMAIL PROTECTED]>
Subject: Re: Segmentation fault - "talk" program
Date: Thu, 25 May 2000 11:22:31 +0200
Reply-To: [EMAIL PROTECTED]
afaik, this can have two explanations:
- the 'talk' program is buggy
- you are having hardware - probably memory - problems.
Since the program worked before, you could try removing (rpm -e) and
re-installing (rpm -i) it.
A very good test of your memory is to re-compile the kernel. If you get a
Sig 11 error, then the hardware is the most probably cause.
http://www.bitwizard.nl/sig11/ is a very good resource on this.
I suppose re-initialising your swap file (swapoff, mkswapfs, swapon - look
at the man-pages for more) might also be a good idea.
Hampus Klarin wrote:
> Hi, a RH6.1 machine here has apparently decided it does not want to run
> the "talk" program anymore.
>
> All it says is "Segmentation fault" and another user also got an error
> message like "Segmentation fault/ core dump" but he deleted it before I
> had a chance to check it out. Feels like I've looked everywhere but I
> can't find anything. From what I've been able to find about segmentation
> faults it's got to do when a process tries to write in memory that isn't
> allocated for it, the thing is we're not running low on memory. The
> machine isn't a proper server but I've checked out the processes and
> it's nothing too memory-hogging in there.
>
> So does anyone know what the problem is and what can I do about it? Help
> would really be appreciated.
>
> /EHK
--
Mielipiteet omiani - Opinions personal, facts suspect, especially on my
http://home.germany.net/101-69082/samba.html
Simple Samba Solutions web page. ICQ 1722461
------------------------------
From: [EMAIL PROTECTED] (Richard Steiner)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: how to enter a bug report against linux?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 25 May 2000 04:06:35 -0500
Here in comp.os.linux.misc, s@- spake unto us, saying:
>What I find the most amazing thing in this, is that we are aactually
>arguing if a bug-tracking system is usefull or not.
A lot depends on whether the overhead of the system justifies its use.
Not all systems are worth the effort in all cases, and I know some folks
who are quite unhappy about the overhead involved in some of the more
complex commercial change-control systems (as an example).
>This by itself just shows how far behind the linux developers
>are compared to main stream software engineers when it comes
>to modern software processes.
Actually, I think you may be jumping to conclusions.
How can you toss out meaningful criticisms without knowing the actual
process(es) currently being used by the core developers, if any?
--
-Rich Steiner >>>---> [EMAIL PROTECTED] >>>---> Bloomington, MN
OS/2 + BeOS + Linux + Solaris + Win95 + WinNT4 + FreeBSD + DOS
+ VMWare + Fusion + vMac + Executor = PC Hobbyist Heaven! :-)
"She's dead, Jim, but still warm. Let's flip a coin."
------------------------------
From: [EMAIL PROTECTED] (John Hong)
Subject: Linux books
Date: 25 May 2000 09:23:31 GMT
Most of the books I have seen are mainly for the
beginner/intermediate types who want to install and config Linux. I was
wondering if there were any that go beyond that, say,
intermediate/advanced that go into the use of Linux and other stuff like
that.
------------------------------
From: Andrew Williams <[EMAIL PROTECTED]>
Subject: Re: Linux books
Date: Thu, 25 May 2000 11:29:10 +0200
Reply-To: [EMAIL PROTECTED]
The O'Reilly 'Linux in a Nutshell' (Jessica Hekman) lists the commands with
a brief explanation of each. It is a good reference work.
John Hong wrote:
> Most of the books I have seen are mainly for the
> beginner/intermediate types who want to install and config Linux. I was
> wondering if there were any that go beyond that, say,
> intermediate/advanced that go into the use of Linux and other stuff like
> that.
--
Mielipiteet omiani - Opinions personal, facts suspect, especially on my
http://home.germany.net/101-69082/samba.html
Simple Samba Solutions web page. ICQ 1722461
------------------------------
From: "Ez-Aton" <[EMAIL PROTECTED]>
Subject: Re: init rc5.d mechanism
Date: Thu, 25 May 2000 12:32:48 +0200
Christoph Kukulies <[EMAIL PROTECTED]> wrote in message
news:8gg1el$fol$[EMAIL PROTECTED]...
> Peter T. Breuer <[EMAIL PROTECTED]> wrote:
> : Christoph Kukulies <[EMAIL PROTECTED]> wrote:
> : : Although I dealt with SCO 11 years ago and sometimes with HP-UX
> : : the SYSVisms in Linux are something I can't get acquainted with
(working
> : : with BSD systems preferably). Anyway, what is the magic behind these
> : : K05innd, S25netfs (to pick some) in /etc/rc.d/rc5.d.
>
> : Yeah, well, join the club for sysv init haters. I think slackware still
> : uses a bsd style init. I certainly do.
>
> : : It must be the brain of a Basic programmer having this worked out.
> : : (the numbering scheme suggests that something would fit between
> : : K50snmpd and K54pxe).
>
> : : What do the letters K, S mean?
>
> : Uh, S would be start. K kill?
> ...
> : : Where is this documented?
>
> : In the man page.
>
> Uh, not so precise, please. man rc? man init? No.
>
> : : I want to install a NIS client under RH 6.1.
> : : Where do I know it would fit best inbetween ?
>
> : It should come with its own drop-in rc files.
>
> : : Where is NIS installation documented and provided in RH 6.1?
>
> : I suppose in its manpages. Or in the documentation with the nis suite.
> : Why would one need documentation for NIS anyway? Just start the
> : ypclient after having set a yp domain name and pointed yp.conf at some
> : server (and check securenets).
>
> : These questions are not linux specific. So you should not
>
> Well, they are linux distribution (RH) specific. Is there a NG
> that is closer to RH issues? They have a nice web interface but
> when it comes to support >/dev/null
>
> : expect to look at linux in particular for the answers. Nevertheless,
> : the NIS-HOWTO strikes me as the obvious starting point.
>
> The NIS HOWTO is full of caveats that this and that
> did not work with this and that libc. But it doesn't loose a word
> on those drop in rc.d files nor does it say where the
> NIS package can be found.
>
> : Peter
>
> --
> Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
The SysV is one of the most complicated to people who come from either
Dos/Windos and/or BSD.
It is built on the idea that there shouldn't be one init script that runs
all, but there should be a special script for every service.
in /etc/rc5.d you will find symbolic links that point to /etc/init (where
the scripts reside) with a starting letter (S or K) and a number.
The scripts themselves respond to simple commands, such as restart, stop,
start (ie /etc/init/httpd restart), and the letter S or K in the
/etc/rc.d/rc5.d shows whether it should be started or killed. The number
stright afterwards sets the order of the events, ie S5inetd will come before
S95httpd (just an example). All K are being run before the S ones start.
When you get to understand the principle of it, you understand that using
SysV is quite simple. If you wish to start under runlevel 3, another new
service which you do not wish to run under runlevel5, you put a symbolic
link in /etc/rc.d/rc3.d/ with a satrting letter S# (# - the order you want
it to run in the init proccess), but you do not put it in /etc/rc.d/rc5.d!
Also, causing a service to be removed from the init process is made by just
deleting the symbolic link in that rc level!
One last comment - You can have as many S95 as you wish, if their order is
of no importance. Quite simple when you get the hang of it.
Unfortunatley, there are few disadvantages, but I will not discuss them in
this letter, since it is meant only to explain the mechanism of init.
Good luck.
Ez.
------------------------------
From: "Ez-Aton" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.admin
Subject: Re: CAUTION: I am under attack from an incompetent hacker probably in germany
Date: Thu, 25 May 2000 12:36:24 +0200
Jeff Silverman <[EMAIL PROTECTED]> wrote in message
news:8gg4e4$rsa$[EMAIL PROTECTED]...
> Hi.
>
> Somebody tried to send my /etc/passwd and /etc/shadow files from my server
to their account in
> germany. I am not sure how they did that part, but they did. However, my
hacker is incompetent and
> he botched his own e-mail address. Imagine my surprise and astonishment
when I got my own files in
> the mail! I looked in the maillog and I can see where the messages went
out. I checked wtmp -
> found nothing there, and nothing noteworthy in /var/log/*, either. The
Email address the guy used
> is [EMAIL PROTECTED] if that means anything to anybody. I think
> he's in germany because the remote mail daemon said:
>
> >>> RCPT To:<[EMAIL PROTECTED]>
> <<< 550 <kx2246>... User unknown or not available - Empfaenger unbekannt
oder
> nicht erreichbar
> 550 [EMAIL PROTECTED] User unknown
>
> [ Part 2: "Delivery Status" ]
>
> Reporting-MTA: dns; angel.commercialventvac.com
> Arrival-Date: Mon, 22 May 2000 19:24:07 -0700
>
> Final-Recipient: RFC822; [EMAIL PROTECTED]
> Action: failed
> Status: 5.1.1
> Remote-MTA: DNS; mx0.gmx.net
> Diagnostic-Code: SMTP; 550 <kx2246>... User unknown or not available -
> Empfaenger unbekannt oder nicht erreichbar
>
>
>
> Anyway, I am battening down my hatches, again. Fortunately, my users have
picked strong passwords,
> such as 2sday and blue=danube, so using crack or satan probably won't buy
this person anything, and
> I am going to personally change those passwords, just in case. Blech!
>
> I thought you might want a "heads up" warning.
>
>
> Jeff
>
> --
> Jeff Silverman, PC guy, Linux wannabe, Java wannabe, Software engineer,
husband, father etc.
> See my website: http://www.commercialventvac.com/~jeffs
> [EMAIL PROTECTED]
My suggestion is to start thinking seriously on changing all pwd, and
checking users shell permissions.
If I were you, I would have also close my machine to any un-especially-used
service, and maybe block the use of the required ones, allowing only known
IP addresses to be used.
Ez.
------------------------------
From: "Ez-Aton" <[EMAIL PROTECTED]>
Subject: Re: Installing from hard disk + complaints
Date: Thu, 25 May 2000 12:43:47 +0200
Edgar <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am new to Linux, but have used and repaired DOS-PC's for about 10 years.
> I tried to install first Caldera OpenLinux and, when that didn't work,
> TurboLinux from my hard disk. This was the most frustrating experience in
> my life! I hate Windows because it doesn't work and it is very slow.
> After 10 (ten!) days trying to install Linux I am about to give up.
> * OpenLinux says: "Oops! No valid root!" Of course not, I just started the
> installation program! It doesn't mater how my disk is partitioned, I have
> tried installing with already formatted Linux partitions but nothing
helps.
> * TurboLinux seems not to be able to find the TurboLinux files on my hard
> drive, Setup Installer says "Cannot find ../module/module..." (don't
> remember the rest, ends with .qz)
> Now I have Mandrake. No (!) problem to install - but the mouse doesn't
> work. NIC is found, configured and installed but doesn't work.
> (Initializaton failed during boot.)
>
> Using only the prompt & Midnight Commander, together with my book "Using
> Caldera OpenLinux" I have tried to find out which files to edit, but I
> don't succeed.
> I must also say, I thought that Windows took a long time to start and shut
> down - but more like the speed of light compared with Linux!
> Even though I am an MCP, I am a fanatic Windows-hater. Don't tell me that
> this is the way it is with the alternative!
> Peter Haraldson, Sweden
>
> --
> Posted via CNET Help.com
> http://www.help.com/
In addition to the two massages prior to mine, (to check the HW, and to get
the CD - which is always recommended), I would advise on using few
configuration tools - try running 'linuxconf' (There you can configure
everything - but there are unimportant error massages there the few first
times you use it). There you will be able to set up mouse, network and all.
It's a powerful tool.
The other tool you might like to use is being called Xconfigurator (I might
miss the name a bit, since I don't use it), which is a shell based X
configuration utility.
Setting things up there might help you run the rest of the system (X).
Good luck there.
Ez.
------------------------------
From: [EMAIL PROTECTED] (Donal K. Fellows)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: 25 May 2000 09:59:18 GMT
In article <[EMAIL PROTECTED]>,
David Steuber <[EMAIL PROTECTED]> wrote:
> On my machines, I have code with quite a variety of licenses. Those
> include GPL, BSD, QPL, Perl's Artistic License, the TCL license, and a
> bunch of others. The base system is GNU/Linux. A bunch of libraries
> in use are either GPL or LGPL, including libc.
>
> Have I violated someone's license?
It depends. If you've statically linked a GPL library against a
non-GPL program, quite possibly. I believe (but can't quite be
entirely sure) that there have been problems with readline in this
respect, at least in the past. There were problems with Bison
(particularly the parser skeleton code) at one stage too, but I know
that these are resolved now and have been for years.
The GPL only plays nicely if all the world is GPL. Opinion is divided
on whether this is a serious license bug or an excellent feature.
Donal.
--
Donal K. Fellows http://www.cs.man.ac.uk/~fellowsd/ [EMAIL PROTECTED]
-- I may seem more arrogant, but I think that's just because you didn't
realize how arrogant I was before. :^)
-- Jeffrey Hobbs <[EMAIL PROTECTED]>
------------------------------
From: NDQ <[EMAIL PROTECTED]>
Subject: Re: Printing man pages
Date: Thu, 25 May 2000 11:04:56 -0400
Reply-To: NDQ <[EMAIL PROTECTED]>
Brian wrote:
>
> I know I have read this somewhere but I cannot find it now.
> How do I print a man topic so it is properly formatted on my printer?
> When I send it to the printer, it appears with doubled letters, etc. What
> is the correct command; i.e man grep | lpr ..........?
None !
$ man man
NDQ
------------------------------
From: NDQ <[EMAIL PROTECTED]>
Subject: Re: Mounting CD-ROM
Date: Thu, 25 May 2000 11:05:48 -0400
Reply-To: NDQ <[EMAIL PROTECTED]>
Beno�t Smith wrote:
>
> Greetings,
>
> I would like to know if there is some way to allow mounting a CD-ROM as
> a non-root user.
>
have a look at your /etc/fstab
NDQ
------------------------------
** 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
******************************