Linux-Misc Digest #126, Volume #28               Sun, 17 Jun 01 03:13:02 EDT

Contents:
  Can you make your own "Tivo"? (Reuben King)
  hda1 not unmounted at shutdown...why?  ([EMAIL PROTECTED])
  Re: hda1 not unmounted at shutdown...why? (David Means)
  Re: What does etc stand for? (David Means)
  Re: HELP! I just deleted /bin! (Dave Uhring)
  Re: apache on RH not starting automatically (Dave Uhring)
  Re: Problem with 'ls' (reader of news)
  Kernel panic/ unable to mount root (mike)
  Re: HELP! I just deleted /bin! (David Means)
  Re: DFE-538TX on Red Hat 7.0 (Manish Kathuria)
  Re: hi (Manish Kathuria)
  Re: DFE-538TX on Red Hat 7.0 (Manish Kathuria)
  Re: DFE-538TX on Red Hat 7.0 (Manish Kathuria)
  Modifying lilo.conf on boot diskette (Chris Mactaggart)
  remote window manager in RH 7.0 ? ("Brett L. Moore")
  Re: Can you make your own "Tivo"? ("Glitch")
  Re: Total Linux newbie ("Glitch")
  Re: Physical memory usage (Lew Pitcher)
  Re: Total Linux newbie ("Jeff S")
  Re: Modifying lilo.conf on boot diskette (David)
  Re: HELP! I just deleted /bin! ("Eric en Jolanda")

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

From: Reuben King <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Can you make your own "Tivo"?
Date: Sat, 16 Jun 2001 20:08:27 -0700

So Tivo runs Linux... Surely there is a way to make your own home-brewed 
Tivo machine, isn't there?  I suppose the most important part would be 
the software -- any GPL Tivo-like software out there for KDE or Gnome?

I really want a Tivo but I don't have the $$$ and I have a spare Pentium 
II box and several 17 gig hard drives.. 

Any pointers?

Thanks,
-Reuben King


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

From: [EMAIL PROTECTED]
Subject: hda1 not unmounted at shutdown...why? 
Date: Sun, 17 Jun 2001 03:48:22 GMT

  I have this situation where at shutdown I get an error message saying 
that
whatever that is being unmounted is in use and therefore doesn't get 
unmounted
(forcing an fsck next time around).

What's going on here?

Cev.


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

From: David Means <[EMAIL PROTECTED]>
Subject: Re: hda1 not unmounted at shutdown...why?
Date: Sun, 17 Jun 2001 00:06:56 -0400

[EMAIL PROTECTED] wrote:
> 
>   I have this situation where at shutdown I get an error message saying
> that
> whatever that is being unmounted is in use and therefore doesn't get
> unmounted
> (forcing an fsck next time around).
> 
> What's going on here?
> 
> Cev.

Sounds like somthing is not getting killed during the shutdown (and
should be).

David


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

From: David Means <[EMAIL PROTECTED]>
Subject: Re: What does etc stand for?
Date: Sun, 17 Jun 2001 00:11:13 -0400

Arctic Storm wrote:
> 
> The directory /etc contains a lot of important stuff, but my question is not
> about the contents of /etc, but the name etc itself.
> I can't believe that the name of the directory /etc comes from the
> abbreviation of "et cetera", Latin for "and so forth".
> Thanks in advance.

Believe it.


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

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: HELP! I just deleted /bin!
Date: Sat, 16 Jun 2001 23:08:44 -0500

Carl Fink wrote:

> On Sat, 16 Jun 2001 15:34:32 -0500 Dave Uhring <[EMAIL PROTECTED]>
> wrote:
> 
>>Perhaps this will be an object lesson.  Never put a / after a rm command.
> 
> I thought it was an object lesson to back up regularly.
> 
> (Yes, I did back up last night.  Why do you ask?)

What did I ask?

Nobody is a perfect typist.  Putting a / after a rm -r is asking for 
problems.


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

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: apache on RH not starting automatically
Date: Sat, 16 Jun 2001 23:10:07 -0500

Tom Edelbrok wrote:

> Have you added it to chkconfig? It should show 'on' for some runlevels.
> You add it to chkconfig by placing a couple lines of code at the top of
> the startup script, then do a 'man chkconfig' to see how to add it. It
> shouldn't show off for all runlevels if it has been added properly via
> chkconfig.
> 
> Tom
> 
> 
> "Gerry" <[EMAIL PROTECTED]> wrote in message
> news:_8OW6.41592$[EMAIL PROTECTED]...
>> I just loaded up Red Hat 7.1.  Apache 1.3.19-5 is installed, and will run
> if
>> I execute /etc/rc.d/init.d/httpd start.  It does not start by itself when
> I
>> boot the machine. When I do a chkconfig --list httpd, it's off in every
> run
>> level until I start it manually.  How do I make apache start when the
>> machine boots?  And how do I change the order of services that start at
>> startup as well.  Thanks for your help in advance....
>>
>> Gerry


If you installed KDE, take a look at the ksysv utility.


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

From: [EMAIL PROTECTED] (reader of news)
Subject: Re: Problem with 'ls'
Reply-To: [EMAIL PROTECTED]
Date: Sun, 17 Jun 2001 04:09:46 GMT

you can try perl

$ cd <directory you want>
$ perl -e 'open K,"> files.txt";opendir J,".";for(readdir J){print K "$_\n"}'

On Sun, 10 Jun 2001 04:31:24 +0000 (UTC),
Phillip Geiger <[EMAIL PROTECTED]> wrote:
>I have a directory with something like 30,000 or 40,000
>files in it.  I just need a simple text file with all of
>the filenames in it, but
>  ls * > files.txt
>returns the error
>  bash: /bin/ls: Argument list too long
>
>What can I do to avoid this, beyond splitting up the work
>by doing it a piece at a time, ie
>  ls a* > afiles.txt
>  ls b* > bfiles.txt
>    ...
>
>Thanks.
>
>
>-- 
>Phil Geiger
>[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (mike)
Subject: Kernel panic/ unable to mount root
Date: 16 Jun 2001 21:11:32 -0700

I just compiled and tried to setup kernel 2.4.2 for redhat 6.2 And I
got a strange error
when I booted up the new kernel this is what it said.  
root fs is not mounted 
cannot open root device"301" or 03:01
Please append a correct "root=" boot option
Kernel Panic ufs: unable to mount root file system on 03:01.  

When I edited lilo I put in the same device as my other kernel for the
root option which is /dev/hda1
If any of you can shed some light on what is going on it would be
greatly apreciated.  Thanks mike

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

From: David Means <[EMAIL PROTECTED]>
Subject: Re: HELP! I just deleted /bin!
Date: Sun, 17 Jun 2001 00:18:21 -0400

Joel wrote:
> 
> Is there any possible way to undelete files?  I just accidentaly deleted my
> /bin directory.  I had a directory call /bintmp, so I type "rm -R /bin
> [TAB]" the enter.  I expected it to autocomplete to "rm -R /bintmp"  but
> since there is a /bin it didn't.  What can I do?  I still have the bash
> prompt up, so is there any possible smidgen of a a way to undelete this
> directory?  I have spent a lot of time lately building my own distribution,
> and I will probably have to start all over if I can't recover that dir.
> Thanks in advance.

Sorry, Dude.  You're SOL, up a creek with out a paddle, etc., etc. 
Might create an alias next time like this:  rm="/bin/rm -i"

David


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

From: Manish Kathuria <[EMAIL PROTECTED]>
Subject: Re: DFE-538TX on Red Hat 7.0
Date: Sun, 17 Jun 2001 09:35:50 +0530

You don't have to compile the file since RHL already has the module
rtl8139.o 

You just have to configure the networking and add the line:

alias eth0 rtl8139

in the /etc/modules.conf file.


HTH,

Manish
http://www.tuxspace.com/

Antonius Herry Sukardi wrote:
> 
> Hi,
> 
> I am trying to compile the driver for D-Link DFE-538TX under RedHat 7.0
> (Kernel version 2.2.16-22).  The cards comes with the Makefile and the
> source code: rtl8139.c. When I do make, it comes back giving me the
> following error message:
> /usr/include/linux/modversions.h:1:2: #error modules should never use
> Kernel-header system header,
> /usr/include/linux/modversions.h:2:2: #error but header from an
> appropriate kernel source
> I look at the /usr/include/linux/modversions.h file, the file only
> contains those above lines (the #error lines).  Do I miss some
> files/applications/RPMS that I need to install here ?  Since when I look
> 
> on the rtl8139.c files, I see that it need to include the modversions.h
> file.  And I know that this rtl8139.c file has no problem, since I
> compile this same file (using the same Makefile) on a machine running
> Mandrake 7.2.  And it compiles well.
> Any suggestions ?
> 
> Thanks
> 
> Antonius



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

From: Manish Kathuria <[EMAIL PROTECTED]>
Subject: Re: hi
Date: Sun, 17 Jun 2001 09:28:34 +0530

Check out the Linux Documentation Project at http://www.linuxdoc.org/

-Manish
http://www.tuxspace.com/


amod khardekar wrote:
> 
> please can anybody can help me please mail any site whre i can get free books on
> linux i want to learn linux i am a beginner
> 
> amod



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

From: Manish Kathuria <[EMAIL PROTECTED]>
Subject: Re: DFE-538TX on Red Hat 7.0
Date: Sun, 17 Jun 2001 09:55:45 +0530

You don't have to compile the file since RHL already has the module
rtl8139.o 

You just have to configure the networking and add the line:

alias eth0 rtl8139

in the /etc/modules.conf file.


HTH,

Manish
http://www.tuxspace.com/

Antonius Herry Sukardi wrote:
> 
> Hi,
> 
> I am trying to compile the driver for D-Link DFE-538TX under RedHat 7.0
> (Kernel version 2.2.16-22).  The cards comes with the Makefile and the
> source code: rtl8139.c. When I do make, it comes back giving me the
> following error message:
> /usr/include/linux/modversions.h:1:2: #error modules should never use
> Kernel-header system header,
> /usr/include/linux/modversions.h:2:2: #error but header from an
> appropriate kernel source
> I look at the /usr/include/linux/modversions.h file, the file only
> contains those above lines (the #error lines).  Do I miss some
> files/applications/RPMS that I need to install here ?  Since when I look
> 
> on the rtl8139.c files, I see that it need to include the modversions.h
> file.  And I know that this rtl8139.c file has no problem, since I
> compile this same file (using the same Makefile) on a machine runX-Mozilla-Status: 
>0009 And it compiles well.
> Any suggestions ?
> 
> Thanks
> 
> Antonius


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

From: Manish Kathuria <[EMAIL PROTECTED]>
Subject: Re: DFE-538TX on Red Hat 7.0
Date: Sun, 17 Jun 2001 09:55:20 +0530

You don't have to compile the file since RHL already has the module
rtl8139.o 

You just have to configure the networking and add the line:

alias eth0 rtl8139

in the /etc/modules.conf file.


HTH,

Manish
http://www.tuxspace.com/

Antonius Herry Sukardi wrote:
> 
> Hi,
> 
> I am trying to compile the driver for D-Link DFE-538TX under RedHat 7.0
> (Kernel version 2.2.16-22).  The cards comes with the Makefile and the
> source code: rtl8139.c. When I do make, it comes back giving me the
> following error message:
> /usr/include/linux/modversions.h:1:2: #error modules should never use
> Kernel-header system header,
> /usr/include/linux/modversions.h:2:2: #error but header from an
> appropriate kernel source
> I look at the /usr/include/linux/modversions.h file, the file only
> contains those above lines (the #error lines).  Do I miss some
> files/applications/RPMS that I need to install here ?  Since when I look
> 
> on the rtl8139.c files, I see that it need to include the modversions.h
> file.  And I know that this rtl8139.c file has no problem, since I
> compile this same file (using the same Makefile) on a machine runX-Mozilla-Status: 
>0009 And it compiles well.
> Any suggestions ?
> 
> Thanks
> 
> Antonius

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

From: [EMAIL PROTECTED] (Chris Mactaggart)
Subject: Modifying lilo.conf on boot diskette
Date: 16 Jun 2001 21:35:05 -0700

I am using a boot disk to start up linux.

Linux is only recognizing 64 m of ram.

I read that you need to add append="mem=128m" to lilo.conf in 
order for linux to use all of your ram.

However since my lilo.conf is on my boot disk I have to edit it there, 
but I cant.  The error I get is that it is a read only device.  

And sometimes the data of the floppy can't be displayed at all.

Help

Thanks

Chris

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

From: "Brett L. Moore" <[EMAIL PROTECTED]>
Subject: remote window manager in RH 7.0 ?
Date: Sun, 17 Jun 2001 05:00:53 GMT

Hi,

I have RH 7.0 installed on a couple of older machines and have figured out
that sending their displays to my Xwin32 server (on my win2k machine) is a
nice way to administrate them.  However, I have no window manager running,
so I can effectively run one X app (all of the apps land in the upper left
corner!).  So is there a way to run the window manager on my Xwin32 server?

Thanks,
Brett



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

From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: Can you make your own "Tivo"?
Date: Sun, 17 Jun 2001 01:21:34 -0400

In article <[EMAIL PROTECTED]>, "Reuben
King" <[EMAIL PROTECTED]> wrote:

> So Tivo runs Linux... Surely there is a way to make your own home-brewed
> Tivo machine, isn't there?  I suppose the most important part would be
> the software -- any GPL Tivo-like software out there for KDE or Gnome?
> 
> I really want a Tivo but I don't have the $$$ and I have a spare Pentium
> II box and several 17 gig hard drives..
> 
> Any pointers?
> 
The biggest problem is finding an app that captures video thru a tv
tuner card.  I have an ATI AIW card and the way GATOS captures video with
it is horrendously stupid and awkward so i never do it.  It does however
work fine in Windows (usually, but at least it goes directly to AVI
format, not so in linux..i get  a YUV File for some damn awkward reason).

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

From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: Total Linux newbie
Date: Sun, 17 Jun 2001 01:28:20 -0400

In article <JEPW6.27150$[EMAIL PROTECTED]>, "viza"
<[EMAIL PROTECTED]> wrote:

> Thus quoth Dances With Crows:
> 
>> I don't know what you mean by "different drivers, or is it just a
>> different GUI etc?".  A Linux distro is a completely different OS from
>> Win/DOS, and it has a completely different way of doing things.  The
>> driver model is completely different, the X Window System is network-
>> transparent and runs in user space while the Windows GUI runs partially
>> in kernel space and has no native network capability, Linux is
>> aggressively multi-user while only NT and 2K have even the slightest
>> multi-user capability, etcetera, etcetera.
> 
> I meant do the different linuxes need different drivers to each other, I
> know you need different ones to Windows, and have already checked that
> they exist for my video card and sound card, but knowing that Corel
> Linux is different to Suse or Red Hat, wondered if it might not like
> generic Linux drivers.  I don't think I'll use it, I wasn't sure to
> start with.
> 

The different distributions only give various ways of installing the OS
and little things like that. They are still Linux underneath and
therefore all drivers are teh same. There are no 'generic' drivers. They
are all Linux drivers, plain and simple.

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

From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: Physical memory usage
Date: Sun, 17 Jun 2001 05:43:32 GMT

faeychild wrote:
> 
> try "top" or "ps aux" on a console/xtem

Specifically, take a look at the RSS value reported by 'top' or 'ps
aux', which represents "the total amount of physical memory used by the
task, in Kilobytes"

> --
> -
> -
> Regards
> RonN
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > How can I determine how much physical memory my app is using at a
> > given moment?  I know this changes as things are swapped, but we just
> > need to monitor the usage at various times.
> >
> > I've looked at the /proc/<pid>/maps and /proc/<pid>/stat files.
> > Unfortunately I don't know how to relate these to physical memory
> > usage.
> >
> > Can someone point me in the right direction.
> >
> > Thanks,
> > Keith
> >
> >

-- 
Lew Pitcher

Master Codewright and JOAT-in-training
Registered Linux User #112576

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

From: "Jeff S" <[EMAIL PROTECTED]>
Subject: Re: Total Linux newbie
Date: Sat, 16 Jun 2001 23:44:13 -0600

In article <PWNW6.19820$[EMAIL PROTECTED]>, "viza"
<[EMAIL PROTECTED]> wrote:

> I have my last exam om monday and am going to try to learn the basics of
> Linux over the summmer.  I have read that Corel Linux is good for
> complete newbies because thay have tried to make it more like windows. 
> Is it a good idea, and how different is it actually?  Will it want
> different drivers, or is it just a different GUI etc?

Tom, 

With Linux you need to find the right balance between doing things
yourself (to save beer money) and buying prepackaged solutions so that
you have time to actually drink it! Hence I'd prefer just buying
readymade CD-ROMs. Since this is your first time around, you'll probably
want some good documentation to go with that: Last time I checked, SuSe
manuals were pretty good. So are Red Hat's, but these days you get most
of it on CD-ROM unless you buy one of their more deluxe packages. Another
option is to buy one of those fat Linux books that includes one or more
CDs-basically everything you need to get started.

It's definitely no step-by-step setup guide but now that I've got a few
installs under my belt I think if I could have just one Unix/Linux
reference guide it would be this one: http://www.admin.com

Maybe I'm in danger of falling into a Microsoft mentality, but I've been
mostly using Red Hat for some time now, because it's the closest thing I
know of to a standard, and when someone prepackages binaries for
easy installation, chances are the first distributions they'll support
are Red Hat and Mandrake, which is based on RH. SuSe uses the same
.rpm-package format, but .rpms created for Red Hat don't always work on
SuSe and vice versa-probably due to some variance on exactly where
certain files are expected to be and what versions are installed. True,
you can bypass the matter by grabbing the source code and going from
there, but I've grown lazy ;-)

Jeff S

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

From: David <[EMAIL PROTECTED]>
Subject: Re: Modifying lilo.conf on boot diskette
Date: Sun, 17 Jun 2001 05:54:56 GMT

Chris Mactaggart wrote:
> 
> I am using a boot disk to start up linux.
> 
> Linux is only recognizing 64 m of ram.
> 
> I read that you need to add append="mem=128m" to lilo.conf in
> order for linux to use all of your ram.
> 
> However since my lilo.conf is on my boot disk I have to edit it there,
> but I cant.  The error I get is that it is a read only device.
> 
> And sometimes the data of the floppy can't be displayed at all.
> 
> Help
> 
> Thanks
> 
> Chris


Edit /etc/lilo.conf
Then run:  lilo -b /dev/fd0
That will place lilo on floppy.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.257% of seti users. +/- 0.01%

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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: HELP! I just deleted /bin!
Date: Sun, 17 Jun 2001 08:43:43 +0200

> > Is there any possible way to undelete files?  I just accidentaly
> > deleted my

> I understand that there *may* be a way using mc.  Do a google search
> for "mc undelete"

There is, but unless he remounted the partition that contained /bin
read-only
right after his rm action, chances are that not everything is recoverable.
No need to google search, it's pretty straight forward:
mount the partition ro, start-up mc, in one of the submenus, select undelete
and start searching for the undeleted files (finding them is the most
difficult part).

Eric



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


** 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.misc.

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