Linux-Setup Digest #272, Volume #20 Fri, 22 Dec 00 14:13:08 EST
Contents:
Re: What file sets the QTDIR environment variable? ("Chris Harris")
cpio backups ("Graeme Muirhead")
Re: What file sets the QTDIR environment variable? ("Jacek M. Holeczek")
Loading SAMBA automatically at startup? ("Neil Guinto")
How to call 'stty' from inittab? ("Scott M. Navarre")
problem in installing module runtime ([EMAIL PROTECTED])
Re: Sound does'nt work unless "root" ("Kurt R. Rahlfs")
Re: Loading SAMBA automatically at startup? ("Tim Watkins")
mouse didn't work ("Peter Chan")
Help with Linux on a 12gig drive on PII 333 ([EMAIL PROTECTED])
Re: Kernel Compile Issues ([EMAIL PROTECTED])
Re: Help with Linux on a 12gig drive on PII 333 (Ralph Miguel Hansen)
Re: mouse didn't work ("g.montgomery")
Re: RedHat Linux 7.0: LILO hangs ("g.montgomery")
Re: Sun Solaris ("MK")
----------------------------------------------------------------------------
From: "Chris Harris" <[EMAIL PROTECTED]>
Subject: Re: What file sets the QTDIR environment variable?
Date: Fri, 22 Dec 2000 11:22:54 -0300
Reply-To: "Chris Harris" <chris.harris(at)cwfi.co.fk>
Been there done all that, still haven't found it. As I have said,
repeatedly, I have read through the files...
Thanks for your comments.
"Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Chris Harris <[EMAIL PROTECTED]> wrote:
> > Once again thanks for your reply.
>
> > As I have said before, I have read the manpages, looked in all the files
> > referenced there, those that you mention. Looked for any $ENV or
BASH_ENV
> > and NONE OF THESE CONTAIN anything that sets QT DIR, except the lines
that I
> > put in myself.
>
> The process is plainly set out below. ENV or BASH_ENV or whatever are
> not normally involved! Not unless they've been set up to spite you.
>
> > The only problem that I now have is my desire to find out what is going
on.
>
> Then read the scripts. The full explanation is given to you below.
> [this is one of the FEW occasions on which I will leave a load of
> quotes in the reply, even though I am not commenting on them directly,
> as the context is necessary]
>
> Read /etc/profile. See if it sources anything else. It probably does
> .. in redhat, they tend to write weird things that source .bash_alias
> and .bash_env and so on. So grepping won't get you to where you want to
go.
> You have to READ.
>
> And even then you aren't done, because the environment could have been
> set up prior to bash being invoked for the first time in, for example,
> the script that runs your X session. FOr that you'd have to look at the
> xdm pages.
>
>
> > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> >>
> >> Sure. Man bash (if bash is your shell). It tells you very clearly:
> >>
> >> A login shell is one whose first character of argument
> >> zero is a -, or one started with the -login flag.
> >> An interactive shell is one whose standard input and out-
> >> put are both connected to terminals (as determined by
> >> isatty(3)), or one started with the -i option. PS1 is set
> >> and $- includes i if bash is interactive, allowing a shell
> >> script or a startup file to test this state.
> >> Login shells:
> >> On login (subject to the -noprofile option):
> >> if /etc/profile exists, source it.
> >> if ~/.bash_profile exists, source it,
> >> else if ~/.bash_login exists, source it,
> >> else if ~/.profile exists, source it.
> >> On exit:
> >> if ~/.bash_logout exists, source it.
> >> Non-login interactive shells:
> >> On startup (subject to the -norc and -rcfile options):
> >> if ~/.bashrc exists, source it.
> >> Non-interactive shells:
> >> On startup:
> >> if the environment variable ENV is non-null, expand
> >> it and source the file it names, as if the command
> >> if [ "$ENV" ]; then . $ENV; fi
> >> had been executed, but do not use PATH to search
> >> for the pathname. When not started in Posix mode, bash
> >> looks for BASH_ENV before ENV.
> >> If Bash is invoked as sh, it tries to mimic the behavior
> >> of sh as closely as possible. For a login shell, it
> >> .....
> >>
> >> and the same sort of thing with tcsh. Now WHAT is your problem? You
> >> can see that if you used a login shell, you executed
> >>
> >> /etc/profile
> >> ~/.profile
> >>
> >> unless you had a .bash_login, which beats out the .profile, unless you
> >> had a .bash_profile, which beats out a .bash_login.
> >>
> >>
> >> For tcsh and such, the canonical order is
> >>
> >> /etc/cshrc
> >> /etc/login
> >> ~/.cshrc
> >> ~/.login
> >>
> >> for login shells, according to my memory, and subject to future
> >> correction by kibitzers here.
> >>
> >>
>
------------------------------
From: "Graeme Muirhead" <[EMAIL PROTECTED]>
Subject: cpio backups
Date: Fri, 22 Dec 2000 14:26:48 -0000
When backing up Red Hat Linux (different releases) using find piped to cpio
I get "truncating inode number" messages and can't read back the tape.
Anyone come across this?
Thanks
Graeme Muirhead
[EMAIL PROTECTED]
------------------------------
From: "Jacek M. Holeczek" <[EMAIL PROTECTED]>
Subject: Re: What file sets the QTDIR environment variable?
Date: Fri, 22 Dec 2000 15:36:10 +0100
> referenced there, those that you mention. Looked for any $ENV or BASH_ENV
> and NONE OF THESE CONTAIN anything that sets QT DIR, except the lines that I
In case you are using RedHat see the /etc/profile and in the end of this
file see lines :
for i in /etc/profile.d/*.sh ; do
if [ -x $i ]; then
. $i
fi
Then have a look into /etc/profile.d subdirectory and notice the qt.sh
and qt.csh files (they set QTDIR).
The /etc/profile is called automatically when you log in.
Jacek.
------------------------------
From: "Neil Guinto" <[EMAIL PROTECTED]>
Subject: Loading SAMBA automatically at startup?
Date: Fri, 22 Dec 2000 08:55:42 -0600
Great! I can see my SAMBA server on my private windows network. Only
problem now is I had to manually start SAMBA at the command line using:
# /etc/rc.d/init.d/smb start
How do I set it up automatically at startup? Appreciate any help.
------------------------------
From: "Scott M. Navarre" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.misc
Subject: How to call 'stty' from inittab?
Date: Fri, 22 Dec 2000 15:46:31 GMT
Hello,
During my searches through the linux sites, I came across an example which
ran 'stty' from /etc/inittab. Well, I lost track of where I found this and
cannot for the life of me find it again. I would like to know how to do
this and also if it is a good idea to do it here rather than in an init
script such as rc.local.
From what I remember, the format was something like this:
m0::bootwait:/bin/stty {options} ttyS0
Is this correct? Or should the {options} come after the "ttyS0", or what?
Thanks in advance for helping me straighten this out,
Scott Navarre
------------------------------
From: [EMAIL PROTECTED]
Subject: problem in installing module runtime
Date: Fri, 22 Dec 2000 15:37:07 GMT
Hi,
I have recently installed RedHat Linux 6.1 on my m/c. When I boot it,
it failed to initialiaze the ethernet interface(3Com Fast Etherlink XL
Adapter(3c905)). When i tried to install the corresponding module
through '/sbin/insmod 3c509', it gave an error "module not found".
So, I recompiled the kernel with CONFIG_MODULES set to 'Y'. After that
I compiled the modules and installed them. When I reboot the system it
gave the message 'unresolved symbols' for lot of modules during bootup .
(It has not printed what are the unresolved modules though), and failed
to initialize the ethernet interface. When i tried to insert the module
3c509(driver module for ethernet card) at runtime, it gave the message
""/lib/modules/2.2.12-20/net/3c509.o: init_module: Device or resource
busy"
What does this message indicate? and what is the way to bring up the
ethernet interface..? Any thoughts..?
Thanks
--Amar
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Kurt R. Rahlfs" <[EMAIL PROTECTED]>
Subject: Re: Sound does'nt work unless "root"
Date: Fri, 22 Dec 2000 10:34:30 -0600
If you are not getting sound from the K desktop look at the
settings/sound/(system?) . Associate events with sounds and be sure to
set the check box in the upper left to enable the sounds.
Other sounds and perhaps the desktop sound to have to have a mixer
running. I use the kmix or kmixer.
Hope this helps you.
Noel McLoughlin wrote:
> I have sound (emu10k1 driver) working fine on my SUSE PC when logged in
> as root. But if I login as a normal user, Sound does'nt work.
>
> I glanced at permissions on /dev/cdrom, etc and it seems ok. I cannot
> remember the settings on /dev/dsp or /dev/dsp2 but I presume this is
> fine.
>
> Any ideas why sound does'nt work when logged in as a normal user?
>
> thanks
> noel.
------------------------------
From: "Tim Watkins" <[EMAIL PROTECTED]>
Subject: Re: Loading SAMBA automatically at startup?
Date: Fri, 22 Dec 2000 11:33:50 -0500
Put a symlink in your rc3.d or equivelent (or rc5.d if you boot into X) with
a capital S as the first character.
eg.. in your rcx.d dir type this.
ln -s /etc/rc.d/init.d/smb S60Samba
Then it will execute on startup. The number (60) next to the 'S' sets the
order in which things start up. You'll also want to put another sysmlink in
the same directory with the first letter being 'K'. This is the shutdown
command.
Tim
"Neil Guinto" <[EMAIL PROTECTED]> wrote in message
news:BVJ06.1845$XY5.21421@insync...
> Great! I can see my SAMBA server on my private windows network. Only
> problem now is I had to manually start SAMBA at the command line using:
>
> # /etc/rc.d/init.d/smb start
>
> How do I set it up automatically at startup? Appreciate any help.
>
>
------------------------------
From: "Peter Chan" <[EMAIL PROTECTED]>
Subject: mouse didn't work
Date: Sat, 23 Dec 2000 01:33:23 +0800
i'm installing the Red Hat Linux 7
(I'm new to Linux - i've install Red Hat Linux 5.2 and 6 once before, but
just using a few day.
That time just for have a look on the new system, and my mouse can be
detected and use.
But this time i really ready to use it, but my mouse can't functioning.)
when starting the setup process, i saw one of the many many message, one of
it is "probing for mouse", then
is "3 button mouse PS/2 found".
But i feel weird with this because my mouse is serial mouse.
then, during the graphical installation process, my mouse cursur can't move
when i move my mouse,
(the mouse is not functioning).
i just continue the installation process by press tab and enter.
In the installation process, i select the serial mouse and COM 2, because in
MS Windows, that's my setting.
after the installation, i reboot my PC, then until the graphical login, i
login.
But i still can't use my mouse.
did anyone can tell me what's the problem ?
what should i do to solve this problem ?
------------------------------
From: [EMAIL PROTECTED]
Subject: Help with Linux on a 12gig drive on PII 333
Date: Fri, 22 Dec 2000 18:00:59 GMT
I can't get Linux to install on my system. Here's what I have:
PII 333
256MB RAM
12 Gig HD (4 gig partition available)
S3 AGP video card
Windows 98 on an 8Gig partition
Can someone tell me how I can get Linux to dual boot on this system
without changing my current Win98 setup. I tried installing it before,
but I get an error message during the LILO setup. I tried both the ROOT
partition option and the MBR option.
Thanks,
Andy
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Kernel Compile Issues
Date: Fri, 22 Dec 2000 18:13:17 GMT
Yep, sure did. Oddly, I tried a 'make -k zImage' just to see what
would happen after that point. It failed again on something later,
then when I re-ran make, the original error wasn't there. Weird. I
guess I can't complain, since it seems to be working.
In article <91unbt$gh3$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Hope you did a 'make dep' before make zImage or bzImage.
>
> In article <91t3dn$4ne$[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] wrote:
> > I'm trying to compile a 2.2.14 kernel on an ARM
> > device, and am running into a problem.
> >
> > When I do 'make zImage', it goes a little and
> > fails. The last part of the log is:
> >
> > ------------------------------------------------
> >
> > Considering target file `dummy'.
> > File `dummy' does not exist.
> > Finished prerequisites of target file
> > `dummy'.
> > Must remake target `dummy'.
> > *** 2.2 kernels no longer build correctly with
> > old versions of binutils.
> > Got a SIGCHLD; 2 unreaped children.
> > Putting child 0x02070440 (dummy) PID 1692 on the
> > chain.
> > Live child 0x02070440 (dummy) PID 1692
> > Reaping winning child 0x02070440 PID 1692
> > *** Please upgrade your binutils to 2.9.5.
> > Got a SIGCHLD; 2 unreaped children.
> > Live child 0x02070440 (dummy) PID 1693
> > Reaping winning child 0x02070440 PID 1693
> > Live child 0x02070440 (dummy) PID 1694
> > Got a SIGCHLD; 1 unreaped children.
> > Reaping losing child 0x02070440 PID 1694
> > make: *** [dummy] Error 1
> > Removing child 0x02070440 PID 1694 from chain.
> >
> > ------------------------------------------------
> >
> > The biggest thing that stands out to me is the
> > binutils 2.9.5 bit, but I'm running 2.9.5.0.31-3.
> >
> > Any help would be greatly appreciated, since this
> > is driving me nuts!
> >
> > Thanks,
> > Bill
> >
> > Sent via Deja.com
> > http://www.deja.com/
> >
>
> Sent via Deja.com
> http://www.deja.com/
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Ralph Miguel Hansen <[EMAIL PROTECTED]>
Subject: Re: Help with Linux on a 12gig drive on PII 333
Date: Fri, 22 Dec 2000 19:34:01 +0100
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> I can't get Linux to install on my system. Here's what I have:
>
> PII 333
> 256MB RAM
> 12 Gig HD (4 gig partition available)
> S3 AGP video card
> Windows 98 on an 8Gig partition
>
> Can someone tell me how I can get Linux to dual boot on this system
> without changing my current Win98 setup. I tried installing it before,
> but I get an error message during the LILO setup. I tried both the ROOT
> partition option and the MBR option.
>
> Thanks,
> Andy
>
>
> Sent via Deja.com
> http://www.deja.com/
>
I think lilo quarreled about cylinder 1024 on your harddisk; there is a new
version of lilo being able to boot from the cylinders beyond (available at
www.freshmeat.net). Install the old lilo on a floppy -there is such an
option-, boot from floppy and then install the newer lilo into the mbr.
Hope it helps
Ralph Miguel Hansen
Auf der Donau 29
45139 Essen
------------------------------
From: "g.montgomery" <[EMAIL PROTECTED]>
Subject: Re: mouse didn't work
Date: Fri, 22 Dec 2000 18:39:10 GMT
Peter Chan wrote:
> i'm installing the Red Hat Linux 7
> (I'm new to Linux - i've install Red Hat Linux 5.2 and 6 once before, but
> just using a few day.
> That time just for have a look on the new system, and my mouse can be
> detected and use.
> But this time i really ready to use it, but my mouse can't functioning.)
>
> when starting the setup process, i saw one of the many many message, one of
> it is "probing for mouse", then
> is "3 button mouse PS/2 found".
> But i feel weird with this because my mouse is serial mouse.
>
> then, during the graphical installation process, my mouse cursur can't move
> when i move my mouse,
> (the mouse is not functioning).
> i just continue the installation process by press tab and enter.
> In the installation process, i select the serial mouse and COM 2, because in
> MS Windows, that's my setting.
>
> after the installation, i reboot my PC, then until the graphical login, i
> login.
> But i still can't use my mouse.
>
> did anyone can tell me what's the problem ?
> what should i do to solve this problem ?
Been there, done that... Your problem is probably in the "Pointer section"
of the XF86Config file. I have to set that up with each installation,
as a function of the specific mouse type I am using.
For example, for my 3-button Mouse Systems "white mouse", I have the
following entry in my /etc/X11/XF86Config file:
# **********************************************************************
# Pointer section
# **********************************************************************
Section "Pointer"
Protocol "MouseSystems"
Device "/dev/mouse"
EndSection
On another machine, where I am using a three-button Logitech
M-C43, I find the following in my /etc/X11/XF86Config file:
# **********************************************************************
# Pointer section
# **********************************************************************
Section "Pointer"
Protocol "Microsoft"
Device "/dev/mouse"
EndSection
You might also check the /dev/mouse link to see if it points to the
port you have your mouse plugged into.
Gene Montgomery
------------------------------
From: "g.montgomery" <[EMAIL PROTECTED]>
Subject: Re: RedHat Linux 7.0: LILO hangs
Date: Fri, 22 Dec 2000 18:45:41 GMT
Funny - I installed RH7.0 on a clean disk, and had no problems
with lilo on my setup. Wonder if there is a hardware or partition
issue?
Gene Montgomery
gmc wrote:
> This may be a little late for Eric, but I'll post it anyway for others
> who will likely have the same problem.
>
> The Lilo that ships with v 7 is broken. It failed on me with RedHat 7
> and the latest Corel distro. I wasted 3 days with
> this mess, and there was no help to be found anywhere (I am a linux
> newbie). RedHat must know of the problem because it seems to be a FAQ
> on the newsgroups. Too bad it's not a Frequently _Answered_ Question.
> Here's how I fixed it:
>
> Install RedHat 6.2
>
> Install RedHat 7.0 but DO NOT install this LILO when it asks.
>
> After this, the system will boot, but your modules will not load because
> of a kernel version conflict.
>
> You should then run lilo to install the version 7 boot sector.
> Everything should work properly now.
>
> Hope I have saved some poor unsuspecting soul from days of misery with
> this information.
>
> GMc
>
> Eric wrote:
>
> > Doug Grosso wrote:
> >
> >> On a system that has successfully handled past full installs (not upgrades)
> >> of RedHat Linux 6.0, 6.1, and 6.2, a fresh install of 7.0 always fails at
> >> boot time. The "L" in "LILO" appears and then the system hangs. I've
> >> reinstalled a few times, no other OS lives on this machine, and it does boot
> >> fine (albeit slowly) from a floppy. This is a fairly generic homebuilt
> >> Pentium 133, 64MB RAM, 8.5 GB Western Digital IDE drive, but nothing exotic
> >> attached. Thoughts?
> >
> >
> > Yes, there appears to be something wrong with the LILO that ships with
> > RH7.0
> >
> > Eric
------------------------------
From: "MK" <[EMAIL PROTECTED]>
Subject: Re: Sun Solaris
Date: Fri, 22 Dec 2000 18:47:45 GMT
Run solaris on it....its not worth it to run linux on such hardware
MK
<[EMAIL PROTECTED]> wrote in message news:91v0go$msi$[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
> "Avery" <[EMAIL PROTECTED]> wrote:
> > Is there a linux version out of the box that is compatible with the
> Sun
> > Solaris system I just scored?
> >
> > Thanks
> >
> >
> try redhat
>
>
> Sent via Deja.com
> http://www.deja.com/
------------------------------
** 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 by posting to comp.os.linux.setup.
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-Setup Digest
******************************