Linux-Misc Digest #541, Volume #24               Sun, 21 May 00 07:13:02 EDT

Contents:
  Re: Disk De-partitioning (Jeff Silverman)
  database recommendation needed (Neil)
  (no subject) (Tux)
  Re: Verify or compare data on CDRW ("Jim Tadd")
  Re: Need ideas for university funded project for linux ("Peter T. Breuer")
  (no subject) (Tux)
  Re: Need ideas for university funded project for linux (Horst von Brand)
  Re: Need ideas for university funded project for linux ("Peter T. Breuer")
  Re: serial mice & cheap motherboards ? (Mike Keiser)
  Re: What are independicies..? (YamYam)
  Re: serial mice & cheap motherboards ? (Mike Keiser)
  Re: How to search all files in a directory? (Achim Linder)
  UVM virtual memory algorithms ("Justin R. Smith")
  Re: serial mice & cheap motherboards ? (M. Buchenrieder)
  Re: printing to various deskjets from Linux ? (Robert Herzog)
  Re: Help connect to Internet ^^ (Tomislav Raseta)
  ahhhhhh! help!!!!!!! (Shocky)
  (no subject) (Hendrix)
  Linux (Hendrix)
  Re: assigning IRQs? (Robert Herzog)
  Re: ahhhhhh! help!!!!!!! (Bastian)

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

From: Jeff Silverman <[EMAIL PROTECTED]>
Crossposted-To: comp.misc
Subject: Re: Disk De-partitioning
Date: 21 May 2000 08:11:13 GMT



dan wrote:
> 
> to whoever can help,
> 
> i have a pc running windows 98 with an 8 gig harddrive. i partitioned 4 gigs
> of my harddrive for linux redhat 5.1. however, i no longer wish to run linux
> on my computer.
> 
> my question: is how do i de-partition the linux half of my harddisk so that
> dos and windows can use it?
> 
> i tried fdisk, but it wouldn't recognize the linux half of the drive. any
> help would be greatly appreciated.
> 
> thanks,
> 
> dan

One way to do it would be to get Partition Magic 4.0 or later (Earlier versions won't 
handle Linux
partitions properly, but since you want to get rid of a partition, maybe that's no big 
deal). 
Partition Magic is a very cool partition management program: it will shrink or grow 
partitions, move
them around, chasnge their types.  Very, very cool.


Jeff


-- 
Jeff Silverman, PC guy, Linux wannabe, Java wannabe, Software engineer, husband, 
father etc.
See my website: http://www.commercialventvac.com/~jeffs
[EMAIL PROTECTED]

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

From: Neil <[EMAIL PROTECTED]>
Subject: database recommendation needed
Date: 21 May 2000 01:16:57 PST

Neil <[EMAIL PROTECTED]> wrote:

(I posted this before but I think I worded the subject poorly).

I am a member of a club that is considering setting up a database for our
small library. I want to make sure that a Linux server ends up what is
chosen. :-)

Any recommendations on the hardware and database applications,
etc., needed to do the following? I'd prefer something that will not take
a lot of programming. I am a volunteer so will have limited time.

They provided me a bunch of info but it I will summarize it quickly:

1. Database (of Max of about 10,000 books, videos, etc.)
2. Accessible over the Web
3. Works with barcode scanner to scan in books, etc.

In my opinion 3 is optional, but nice to have. Any suggestions?

--- 
Neil

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

From: Tux <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking,nf.comp.linux
Subject: (no subject)
Date: Sun, 21 May 2000 05:43:24 -0230




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

From: "Jim Tadd" <[EMAIL PROTECTED]>
Subject: Re: Verify or compare data on CDRW
Date: Sun, 21 May 2000 09:34:07 +0100

Thanks for the info.


Steve wrote in message ...
>On Thu, 18 May 2000 22:38:41 +0100, Jim Tadd wrote:
>>Can anyone advise me of a way of checking that files I copy to a CDR or a
>>CDRW have been copied correctly. ie. verify or compare the data. I just
need
>>some shell commands that I could put into a script. I basically want to
copy
>>a directory structure and files straight onto the CD and then check that
the
>>data has recorded OK. I don't want to produce a tarred or gzipped archive.
>
>
>Sum is the command that you want, it produces a checksum for a file or a
group
>of files.  See the man page and the help message "sum -h" for more info.
>
>
>--
>Cheers
>Steve              email mailto:[EMAIL PROTECTED]
>
>%HAV-A-NICEDAY Error not enough coffee  0 pps.
>
>web http://www.ndirect.co.uk/~sjlen/
>
>or  http://start.at/zero-pps
>
> 12:18am  up 1 day,  8:23,  5 users,  load average: 1.00, 1.05, 1.07



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.development,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: 21 May 2000 08:51:10 GMT

In comp.os.linux.misc Leslie Mikesell <[EMAIL PROTECTED]> wrote:
: In article <[EMAIL PROTECTED]>,
: Ray <[EMAIL PROTECTED]> wrote:
:>"dpkg --get-selections > packages.dpkg" on master machine
:>"dpkg --set-selections < packages.dpkg" on new machine

: How graceful is it about hardware differences?  And is there
: a way to do a subsequent update (including adding/removing as
: well as updating packages) on the master so the copies can
: track along?  What if source changes are done and things
: recompiled?  Can the package be rebuilt and loaded from
: an alternate location on the copies? 


Over here I use debian as client machines.  Management is done from any
one of three central servers.  Each of them can install and uninstall
software on all of the client machines. No master copy is kept.
Instead all clients are checksummed daily and the servers run an 
analysis to detect differences. There are currently about 5-10 files
that differ between the machines, mostly in the /root directory.

dpkg run on the different machines almost always results in identical
installations. The exception is stuff that gets gzipped during
an install because the date or some such gets included in the image.
I repair such things later by using a tar.  It's rare.

All debian packages can be rebuilt from the installed version. It's
something like debian-repack foo, if I recall. I wrote a version
of that before I discovered there was an official version. It's easy.

Peter


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

From: Tux <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking,nf.comp.linux
Subject: (no subject)
Date: Sun, 21 May 2000 06:31:16 -0230


;;

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

From: [EMAIL PROTECTED] (Horst von Brand)
Crossposted-To: 
comp.os.linux,comp.os.linux.development,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: 21 May 2000 03:30:09 GMT
Reply-To: [EMAIL PROTECTED]

On Fri, 19 May 2000 20:20:25 +0100,
  Anthony W. Youngman <[EMAIL PROTECTED]> wrote:

[...]

>Also, aiui, rpm is sadly broken compared to dpkg... If a package has a
>"required" dependency registered with dpkg, you can be pretty sure that
>trying to run the dependent package will fail if the required package
>isn't installed. On the other hand it was a devil of a job to install
>SuSE *without* installing OSS and ISDN4LINUX because rpm said these
>packages were "required" - on a bare-bones system with no sound or isdn
>card. And I gather it's rpm's fault, not SuSE - those packages may be
>required, therefore they must be marked as required, therefore the
>system tries to force you to install them :-(

Sorry, no. Neither dpkg nor rpm can find out on their own which packages are
required for others to work (at least not in the general case). If the
package maintainer gives the wrong dependencies, it's his fault.
-- 
Horst von Brand                             [EMAIL PROTECTED]
Casilla 9G, Vi�a del Mar, Chile                               +56 32 672616

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.development,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: 21 May 2000 09:08:41 GMT

In comp.os.linux.misc JEDIDIAH <[EMAIL PROTECTED]> wrote:
: On 20 May 2000 14:54:26 -0500, Leslie Mikesell <[EMAIL PROTECTED]> wrote:
:>In article <[EMAIL PROTECTED]>,
:>David Steuber  <[EMAIL PROTECTED]> wrote:
:>>' And as a result of SuSE predating RedHat, SuSE rpms are incompatible
:>>' with RedHat ones :-( I wish they'd switch to dpkg, but I bet there would
:>>It is the RPM BS that has caused me to abandon that format whenever
:>>possible.  Instead, I prefere to install software from source.
:>You left out the dozen obligatory arguments to ./configure that
:>are different for every package to make it interoperate with
:       I dunno about you, but I rarely if ever actually need to 
:       use any of those options...

I need ./configure --prefix=/usr --sysconfdir=/etc usually. If I am
overwriting a system installed version, that is. Followed by
a find /usr /etc -type mount -cnewer . > /tmp/file_list, and some
quick comparisons with the earlier package listing. Yeah, OK, a
make -n install first to get a rough idea of where it will like to go.

To install KDE stuff, I usually need to incant --qtdir=/usr/local/qt
also and setenv KDEDIR /opt/kde. And make sure to point CC and CXX
at my gcc 2.7.2.3 installation (probably adjust some kde sources
to avoid templates too, or fix minor misdecls).

:       The point of automation is to avoid such manual futzing.

If I could be bothered to type the above into a command, I would.
But neither my brain nor my memory is sufficiently weak to encourage
me to do so. If some day I forget, it would take me all of ten minutes
to work it out again, and maybe I'd learn something new. Really
I should save the config log. That would be handy.

If I were doing something new and complicated, like trying to fit ibm's
idea of an ecommerce server together with the latest perl mods, then
I'd be grateful for a spec file to study. However, some don't help.
Look at suse's apache spec, for example. (the process of compiling
apache with the correct bits in is shrouded in mystery).

Peter

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

From: [EMAIL PROTECTED] (Mike Keiser)
Subject: Re: serial mice & cheap motherboards ?
Date: 21 May 2000 09:28:26 GMT

[EMAIL PROTECTED] (fred smith) wrote:

>Is it an AT-format board? One of those boards where you need
>to use a bracket with cable attached to hook up the serial
>port connector (attached to the bracket) to a pin-block on
>the motherboard? I've had untold grief with those things,
>I've got/had a bunch of them here that just don't work.
>Perhaps you've got a bad one. 
>
>Assuming you know that DOS's COM1 is LInux's /dev/ttyS0, and
>COM2 is /dev/ttyS1, you could troubleshoot further by using a
>terminal program (such as seyon, or minicom, or c-kermit).
>Fire up the appropriate terminal program, set it to 1200 baud
>and connect to the serial port where your mouse is connected.
>Simply moving the mouse or clicking any of its buttons should
>produce a bunch of strange-looking stuff on your screen. If
>nothing happens, then it is one of: -your mouse is broken
>-the serial port is broken
>-the cable/connector are broken or connected incorrectly.
>-you've got the terminal program set up wrong
>
>good luck!
>
>Fred

yep - it's an AT board, although I don't recall having to worry 
about a bracket-connection like that.  I followed your advice 
and used c-kermit to connect to /dev/ttyS0; interestingly 
enough, it actually hangs the program.  I was sure to set the 
speed appropriately, so it can't be that.  I'll keep messing 
around with c-kermit's settings to see if that will help, but 
will then move on to examining the hardware itself now that I 
see it's so glitchy.

thanks

- mike keiser

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

From: YamYam <[EMAIL PROTECTED]>
Subject: Re: What are independicies..?
Date: Sun, 21 May 2000 09:30:04 GMT

Rick wrote: > > > What are independicies. ? > Do u mean what dependicies are? If so, u 
can imagine that u have a small program' Say A' but does a lot of jobs, not from its 
code but from another program' Say B'. And A cannot run without existence of program 
B. So program A depends on program B. U may have seen some related messages when u 
install software on linux using RPM, so it may notify u dependicies

--
Posted via CNET Help.com
http://www.help.com/

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

From: [EMAIL PROTECTED] (Mike Keiser)
Subject: Re: serial mice & cheap motherboards ?
Date: 21 May 2000 09:30:40 GMT

[EMAIL PROTECTED] (Steve Wolfe) wrote:

>  What are the serial ports set to in the BIOS?  Don't set
>  them to "auto", but to standard serial IRQ/IO settings.

you know, they just might be at "auto" right now, although I did 
try setting them manually earlier on & it didn't fix my problem 
at the time - I'll be sure to change that, though.

thanks

- mike keiser

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

From: [EMAIL PROTECTED] (Achim Linder)
Subject: Re: How to search all files in a directory?
Date: Sun, 21 May 2000 12:11:55 +0200

On Sun, 21 May 2000 01:09:59 GMT, Hal Burgiss wrote:
>On Sun, 21 May 2000 00:50:33 GMT, Paul Rubin <[EMAIL PROTECTED]>
>wrote:
>>I'm a new linux user, and I'd like to find a way to search all the
>>files in one directory for a particular word or string, case
>>insensitive.

>$ grep -i <string_to_match> *
>
>Add '-r' to search subdirectories as well.

..with grep 2.2a or better.

Achim


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

From: "Justin R. Smith" <[EMAIL PROTECTED]>
Subject: UVM virtual memory algorithms
Date: Sun, 21 May 2000 06:14:33 -0500


Are there any plans to implement the UVM algorithms in Linux?
-- 
______________________________________________________________________
                                        |
Time blows wildly against my door       | Justin R. Smith
Stirring discarded sorrows              | Department of Mathematics and
Like dead leaves of summers past        |     Computer Science
Memories of forgotten lore              | Drexel University
Making way for new tomorrows            | Philadelphia, PA 19104
New hopes, new fears,                   |
         and new ways that last         | Office: (215) 895-1847
                                        |
c Justin R. Smith, March 14, 1994       | Fax:    (215) 895-1582

My home page: http://www.mcs.drexel.edu/~jsmith


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

From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: serial mice & cheap motherboards ?
Date: Sun, 21 May 2000 06:26:02 GMT

[EMAIL PROTECTED] (Mike Keiser) writes:

[...]

>root:~> cat /var/log/messages.1 | grep tty
>May  7 23:17:38 [snip] kernel: ttyS00 at 0x03f8 (irq = 4) is a 
>16550A 
>May  7 23:17:38 [snip] kernel: ttyS01 at 0x02f8 (irq = 3) is a 
>16550A 

[...]

When changing the motherboard, you _did_ use the serial connectors
that came with the new board, did you? Otherwise, there's no guarantee
at all that they use the same wiring. Only the external plug's layout
is standardized; the internal part (going from the motherboard to
the plug) isn't. 

Michael
-- 
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

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

From: Robert Herzog <[EMAIL PROTECTED]>
Subject: Re: printing to various deskjets from Linux ?
Date: Sun, 21 May 2000 10:29:03 GMT

fred smith wrote:
> 
> Robert Herzog <[EMAIL PROTECTED]> wrote:
> : Hello,
> : A colleague of mine intends to reconfigure his NT based network into all
> : Linux boxes. The machines must run a decent Office suite, like
> : Staroffice, Applixware, etc.
> : But each of these PC's presently have their own deskjet printer, ansd as
> : you might guess, there is a very heterogeneous stable of these.
> : While my choice would be to print on one or a few decent central laser
> : printers in PostScript, this is not an option here...
> : Can someone recommend which is/are the best option(s) here, in order to
> : fully exploit the color/BW capabilities of these printers, including
> : which Linux Office package is the richest in this respect ?
> : What about the present status of KWord and friends ?
> : Herzog

Thanks for the reply.

> 
> I think the biggest (and perhaps insurmountable) hurdle is going to be
> that some/all of these printers MIGHT be the dreaded WINprinter, i.e.,
> a printer which uses no normal command language, but which instead depends
> on the Windoze drivers to rasterize (or otherwise process) its data stream.
> (e.g., the HP 892C we have on the network at work to which I cannot print
> anything but smiley faces, hearts, and blobs from the Linux box.)
> 

Oh ! I did not even consider using any of these headless printers. Most
of the available printers are "normal". Alas, there is only one true PS
among them...

> If this is not a problem, then you should be able to set up the print
> spoolers on each machine to use an appropriate Ghostscript driver that
> will produce decent (if not superb, your mileage will vary) output on
> the HP boxen.

And this issue about "variable mileage" is what frightens me. Some basic
tests will produce reasonable output, but sometime in the future, one of
those secretaries of staff members will want to produce a more complex
page, on which the Ghostscript drive might succomb. So I could set up
some standard reasonably complex set of pages, which would be used as
kind of a benchmark of compatibility. The picante server mentioned by
Rod Smith in his reply seems to be very well documented on Ghostscript
support.

> 
> There are some (partial) solutions that reportedly work for some kinds
> of controllerless printers, but I've had no experience with any of them
> at this point in time.
> 
> If you find any good solutions for specific WINprinters that work with
> linux, feel free to post your answers!
> 
> Good luck!
> 
Thanks !
Robert
> Fred
> 
> --
> -------------------------------------------------------------------------------
>  .----    Fred Smith    /
> ( /__  ,__.   __   __ /  __   : /
>  /    /  /   /__) /  /  /__) .+'           Home: [EMAIL PROTECTED]
> /    /  (__ (___ (__(_ (___ / :__                                 781-438-5471
> -------------------------------- Jude 1:24,25 ---------------------------------

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

From: [EMAIL PROTECTED] (Tomislav Raseta)
Crossposted-To: alt.os.linux.dial-up,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Help connect to Internet ^^
Date: 21 May 2000 10:14:59 GMT

Jackie <[EMAIL PROTECTED]> wrote:
<snip>
>(11) # ifconfig
>       eth0 Link encap: Ethernet  HWaddr 00:E0:4C:DD:2A:99
>               inet addr:168.48.0.80  Bcast:168.48.0.255  Mask:255.255.255.0
>               UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>                ..........
>      lo      Link encap:Local Loopback
>               inet addr:127.0.0.1  Mask:255.0.0.0
>               UP LOOPBACK RUNNING  MTU:3924  Metric:1
>               ...........
>     ppp0  Link encap:Point-to-Point Protocol
>               inet addr:202.64.13.170  P-t-P:202.14.68.104
>(12) # ping www.pacific.net.hk
>       ping: unknown host www.pacific.net.hk
>       I cannot ping anywhere??!!

First of all, edit your /etc/resolv.conf file and set your ISP's namservers
properly. It should look like this:

search [your isp domain]
nameserver xxx.yyy.zzz.www       (ISP's 1st DNS)
nameserver xxx.yyy.zzz.www       (ISP's 2nd DNS)

Namserver (DNS) addresses should be provided by your ISP.


There could also be problem with your routing table. As far as I remember,
RedHat sets the default route to eth0 [your ethernet card], so you can't
ping anyone because all the traffic goes to eth0, rather than to ppp0.
Try this before your step 12.

route del default
route add default ppp0

>I'm using a Pentium II PC running only Redhat 6.0 with an 3Com External
>modem.

And you are _still_ using dip?!

RTFM, quickly! There are better and quicker ways to connect to your
favorite isp (kppp, ifup/ifdown, wvdial).

-- 
<-:   Tomislav Raseta <[EMAIL PROTECTED]>   :->
<-: http://tomyboy.cjb.net -- icq uin: 2809357 :->

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

From: Shocky <[EMAIL PROTECTED]>
Subject: ahhhhhh! help!!!!!!!
Date: Sun, 21 May 2000 10:30:04 GMT

i get this when i try to start linux:

autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Cannot open root device 08:01
Kernal panic: VFS: Unable to mount root fs on 08:01

what can i do about this?

--
Posted via CNET Help.com
http://www.help.com/

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

From: Hendrix <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking,nf.comp.linux
Subject: (no subject)
Date: Sun, 21 May 2000 07:54:20 -0230

 

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

From: Hendrix <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking,nf.comp.linux
Subject: Linux
Date: Sun, 21 May 2000 07:55:35 -0230

 

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

From: Robert Herzog <[EMAIL PROTECTED]>
Subject: Re: assigning IRQs?
Date: Sun, 21 May 2000 10:37:13 GMT

Janet wrote:
> 
> Hi,
> 
> My video card and ethernet card are using the same IRQ (11, according to
> cat /proc/interrupts).  At any rate, the network dies rather frequently,
> and the video has some issues as well, so I'm guessing that the shared IRQ
> is the problem.  Is there any way to convince one of them to use a
> different IRQ?  I looked in my BIOS, but the only IRQ options are to have
> them set automatically or to set them all manually.
> 
> Janet

If one of your cards is ISA (network card ?) definitely reserve an IRQ
for it in BIOS ("legacy ISA"). So at least the auto assigning of free
IRQ's will not interfere with it.
If all is PCI-AGP, I cant's see why BIOS would assign same IRQ to both,
unless there are _many_ other cards around (sound, modem, SCSI
controller, etc.). In that case you might be compelled to make choices
and remove some not too useful device...
Robert

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

From: [EMAIL PROTECTED] (Bastian)
Subject: Re: ahhhhhh! help!!!!!!!
Date: 21 May 2000 10:48:00 GMT

On Sun, 21 May 2000 10:30:04 GMT, Shocky wrote:
>i get this when i try to start linux:
>
>autodetecting RAID arrays
>autorun ...
>... autorun DONE.
>VFS: Cannot open root device 08:01
>Kernal panic: VFS: Unable to mount root fs on 08:01
>
>what can i do about this?

If your root partition isn't a RAID one, try the "root=" parameter
at the lilo prompt, ie. type "Linux root=/dev/hdx" with /dev/hdx as
your root device.
Then check your RAID setup, reinstall Lilo if necessary and adjust
the root device the kernel uses via rdev.

Bastian


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


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