Linux-Misc Digest #493, Volume #27               Sat, 31 Mar 01 13:13:03 EST

Contents:
  Re: CDRecord and Buffer Underruns (Stefano Ghirlanda)
  Re: Console tool to resize jpegs? (Doug Robbins)
  Problems installing Suse 7.0 (TMrshogi)
  TV-Ausgang bei ATI-Radeon / Xfree86 ("J.Ortlieb")
  Re: Questions on installation of Linux through NFS (Craig Kelley)
  Re: Making Getty work with the serial port COM1 (fred smith)
  how i want to make file runable under dos or windows?? ("max")
  Re: CDRecord and Buffer Underruns ("Matt")
  Re: CDRecord and Buffer Underruns (Stefano Ghirlanda)
  Re: system.map (Noah Roberts)
  Re: system.map (Noah Roberts)
  Re: Support for LCD Monitors? ("Robert Hardy")
  Re: Support for LCD Monitors? ("Robert Hardy")
  Re: Tips: Debian is very good (= (Noah Roberts)
  Re: Slide Show?? (Noah Roberts)

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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: CDRecord and Buffer Underruns
Date: 31 Mar 2001 18:24:51 +0200

"Matt" <[EMAIL PROTECTED]> writes:

> I'm running cdrecord under cygwin
> (http://sources.redhat.com/cygwin/) and whenever I attempt to run it
> I get these error msgs:

> I've asked some people about the problem and they tell me it's a
> buffer underrun.

I don't understand the error messages, but ASAIK buffer underruns are
not likely unless the system is heaviliy loaded. I never got them on a
P133, 32MB ram, writing at 8x. Hard drives are much faster than 8x. 

Of course if you are reading from anotehr cd which is slower than 8x
the thing is different (it's not clear from your post). In this case,
select the same burning speed as the reading speed.

If your cd image is on the hard drive, I suggest that you look for
other causes of problems...

> Does this mean I need to trash my current disc and try again?

What do you mean by "disc"? The burner, the cdrom or the cd medium?
In the latter case, if you started writing but the operation has been
interrupted, you need a new disc.

> Please email responses to [EMAIL PROTECTED] as I do not have much
> time to check this newsgroup today.

Only this time, ok? :-)

-- 
Stefano - Hodie pridie Kalendas Apriles MMI est

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

From: Doug Robbins <[EMAIL PROTECTED]>
Subject: Re: Console tool to resize jpegs?
Date: Sat, 31 Mar 2001 16:34:54 GMT

Dave Brown wrote:
> 
> In article <Usenet.qifqphoj@localhost>, Doug Robbins wrote:
> >Anyone know of a command-line tool that can simply take a jpeg and 
> >scale it down, say to 25%? I want something that I can run in a 
> >script:, to take 'picture.jpg', scale it to 25% and produce a new 
> >image, 'picture2.jpg'. I've been through Freshmeat and while there 
> >are tools for generating thumbnails and web pages, this isn't 
> >exactly what I want. 
> 
> Check out the tools in ImageMagick.  There's "convert" or "mogrify" 
> which (as I recall) can do resizing.  Also, "display", which is does 
> display in X, but has some very nice image processing tools... one of 
> the better resizing algorithms.
> 

Well, after posting I finally figured it out :)

The libjpeg package with RedHat has a number of tools that together do 
the job. For the record, here's what I came up with for the script: 

/usr/bin/djpeg -scale 1/4 picture.jpg > temp
/usr/bin/cjpeg temp > thumbnail.jpg
rm -f temp

djpeg decompresses and scales the jpeg to an image file.
cjpeg compresses an image file to jpeg format.

Now eventually I might figure out how to do that in a single line, but 
hey, it works for now. 

Thanks for taking the time to respond.

-- 
Doug


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

From: [EMAIL PROTECTED] (TMrshogi)
Date: 31 Mar 2001 16:44:57 GMT
Subject: Problems installing Suse 7.0


I've just got SuSe Personal 7.0 and am trying to install it on the last 2GB of
my 60GB Maxtor HD.

The problems come when it's trying to create the Linux partitions, it says it
can't create the Swap partition (this is using YasT 2).

I've tried using YasT 1 but my swap partition (which is /dev/hda19 in my case)
seems to disappear... :(

I've been on to Technical Support and they suggested that it may not be
correctly identifying the geometry of my hard disk. They sent
me an email from the Support Database which says I should use:-

boot: linux hdx=ccccc,hhh,ss

when installing.

However, I tried this using the values for Cylinders, Heads and Sectors from my
Maxtor Diagnostic floppy but still had no success.
I'm a bit stuck now...:(

Any suggestions would be greatly appreciated...:)

Michael (linux newbie)


P.S.
=====

In the hdx=ccccc,hhh,ss command can the Cylinders parameter be more than 5
digits, II'm supposed to have 119,112 cylinders according
to diagnostics....

Do all Linux distros have trouble with large Hard Disks?


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

From: "J.Ortlieb" <[EMAIL PROTECTED]>
Subject: TV-Ausgang bei ATI-Radeon / Xfree86
Date: Sat, 31 Mar 2001 19:01:20 +0200

Hallo,

ich habe mir einen neuen Rechner mit Suse 7.1 sowie einer ATI Radeon mit
TV-Ausgang eingerichtet. Leider schaltet der TV-Ausgang jedesmal, wenn der
X-Server startet, ab (beim Installieren mit Yast2 funktioniert er). Ich habe
es bis jetzt nicht geschafft, eine Modeline zu erstellen, bei der der
TV-Ausgang funtioniert, da beim "runterfahren" der Frequenzen vorher bereits
der Monitor abschaltet.
Hat denn jemand eine Modeline, mit der der TV-Out funktioniert? (Im �brigen
reicht es mir, wen diese funktioniert, da ich den Rechner als Videorecorder
nutzen will und somit eigentlich keinen Monitor mehr anschlie�e)
Oder habe ich evtl. ein ganz anderes Problem?

Gr��e, J�rgen



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

From: Craig Kelley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Questions on installation of Linux through NFS
Date: 31 Mar 2001 11:06:58 -0600

"Cedric Chausson" <[EMAIL PROTECTED](halteauspam)> writes:

> Hello all,
> 
> I want to install RH 6.2 on a machine that has no CD-ROM drive but has a
> Ethernet card. I have two questions :
> 
> First Question :
> 
> The machine has a 3Com 3C509A Ethernet Card. This card is not listed in
> the list that appears when you choose NFS Image installation. I tried
> going through by choosing others 3Com choices (like 3C501) but it did not
> work. How can I get my card to work for the installation ?

You want the 3c59x module (using 'expert' installation)

> Second question :
> 
> Supposing I get the first problem fixed (I'm being optimistic :-)) I
> wonder about something. The machine I will be using to offer the NFS
> share currently connects to the Internet through a cable modem and DCHP.
> So I wonder if I can just unplug it from the cable and into the
> destination machine for the installation to work. Won't there be some
> configuration to do like maybe specifying an adress for the host machine

If you want to connect them directly, you'll need to use a crossover
ethernet cable.  It's possible that your cable modem uses such a beast
so it may just work (mine does -- but many don't).

-- 
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley  -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block

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

From: fred smith <[EMAIL PROTECTED]>
Subject: Re: Making Getty work with the serial port COM1
Date: Sat, 31 Mar 2001 12:43:35 GMT

Siddharth Vajirkar <[EMAIL PROTECTED]> wrote:
: Hi,
: I'm trying to get getty to work with the serial port COM1. I have read
: through the HOWTO for serial port terminal and I understand the various
: steps in there to configure your serial port using setserial, configure
: getty using /etc/gettydefs. However I can't get this to work. My setup is a
: simple PC (e-machine 633) running RH 6.2 with COM1 connected using a null
: modem cable to a laptop running Win 2000 and hyperterminal looking at COM1.
: I can say ls ~ > /dev/ttyS0 and the listing of my home directory shows up on
: the hyperterminal, but I can't get getty to start on COM1. When I try to
: start getty, it waits for a couple of seconds and then just terminates my
: telnet session to the linux box.

: I tried mgetty, but it just sits there and does not seem to do anything.
: I am under the impression that I should be able to ask getty to start with
: /dev/ttyS0 and if I hit enter on my hyperterminal session I should get a
: login prompt. Is that how this is supposed to work? Any other references I
: should check to get this working?

Do you have an entry in your /etc/inittab that resembles this:

        S0:235:respawn:/sbin/getty -t60 ttyS0 DT19200 vt320

If not, you should. After adding such an entry, you need to then do:

        telinit q

to force init to re-read the inittab file.

The ":235:" field says this entry should be active in runlevels 2, 3, and 5.
The ":respawn:" says if it dies to restart it.
the "-T60" is a 60 second timeout for the getty, "ttyS0" is the port to 
use, "DT19200" is an entry in /etc/gettydefs to use as the tty parameters,
and "vt320" is the default terminal type to assume is connecting.

Fred

-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
  "For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
                     all ages, now and forevermore! Amen."
============================= Jude 1:24,25 (niv) =============================

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

From: "max" <[EMAIL PROTECTED]>
Subject: how i want to make file runable under dos or windows??
Date: Sun, 1 Apr 2001 01:13:40 +0800

is there any methods to make the program file that compiled under linux
runable
under dos or windows??
if yes, how i want to do that??
thx in advance!!





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

From: "Matt" <[EMAIL PROTECTED]>
Subject: Re: CDRecord and Buffer Underruns
Date: Sat, 31 Mar 2001 11:27:05 -0600

On 31 Mar 2001, Stefano Ghirlanda wrote:

First, let me thank Stefano Ghirlanda for replying :}  This is a followup
post/reply to clarify a few things that were not clearcut.

> I don't understand the error messages, but ASAIK buffer underruns are
> not likely unless the system is heaviliy loaded. I never got them on a
> P133, 32MB ram, writing at 8x. Hard drives are much faster than 8x.
>
> Of course if you are reading from anotehr cd which is slower than 8x
> the thing is different (it's not clear from your post). In this case,
> select the same burning speed as the reading speed.

No, I'm not reading from another CD... it's an image from my harddrive.  I
was confused for about an hour this morning when I was trying to follow
some instructions I found via google to switch my CDR to the master and my
CDROM to the slave.  I only recently realized that, since my CDR is part
of my CDROM, there's only one IDE cable going to it.

I also doubt my system know my system isn't heavily loaded, and I just
defragmented yesterday.  I'm running on a 700 mhz pIII @ 128 MB RAM.

> If your cd image is on the hard drive, I suggest that you look for
> other causes of problems...

Such as?  I killed directcd/mcaffee and already have screensavers
disabled.

>What do you mean by "disc"? The burner, the cdrom or the cd medium?
>In the latter case, if you started writing but the operation has been
>interrupted, you need a new disc.

Yes, the cd medium.  I'm not sure if it ever actually gets started.  There's
only one file currently on the cd, and it's a windows shortcut (?).  It
could have easily been put there when DirectCD did its thing.

>> Please email responses to [EMAIL PROTECTED] as I do not have much
>> time to check this newsgroup today.

>Only this time, ok? :-)

Sorry, I'm sort of inexperienced with newsgroups also.  Please post replys
to the group instead of emailing me, if email is considered unorthodox.

--
Stefano - Hodie pridie Kalendas Apriles MMI est



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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: CDRecord and Buffer Underruns
Date: 31 Mar 2001 19:54:02 +0200

"Matt" <[EMAIL PROTECTED]> writes:

> >What do you mean by "disc"? The burner, the cdrom or the cd medium?
> >In the latter case, if you started writing but the operation has been
> >interrupted, you need a new disc.
> 
> Yes, the cd medium.  I'm not sure if it ever actually gets started.  There's
> only one file currently on the cd, and it's a windows shortcut (?).  It
> could have easily been put there when DirectCD did its thing.

If that's really on the cd, and not something windows fakes for some
reasons, you need a new cd, a really blank one.

> >> Please email responses to [EMAIL PROTECTED] as I do not have much
> >> time to check this newsgroup today.
> 
> >Only this time, ok? :-)
> 
> Sorry, I'm sort of inexperienced with newsgroups also.  Please post
> replys to the group instead of emailing me, if email is considered
> unorthodox.

The philosohpy is "public question, public answer".
I hope you solve your problem, it will be easier to use cdrecord under
Linux! 

-- 
Stefano - Hodie pridie Kalendas Apriles MMI est

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

Date: Sat, 31 Mar 2001 09:59:13 -0800
From: Noah Roberts <[EMAIL PROTECTED]>
Subject: Re: system.map

Michael Heiming wrote:

> green wrote:
> >
> > Question what do you do if you have multi versions of kernels ? e.g. 2.2,
> > 2.4, different configs etc.
> >
> > System map can't match all.
>
> That's right,
>
> cp /usr/src/linux/System.map /boot/System.map-<kernel ver>
>
> and the kernel will know, wich one to use, or you get in
> /var/log/messages:
>
> Warning: /boot/System.map has an incorrect kernel version.
>
> But the System will run, as Peter T. Breuer posted to this thread.

I have never gotten these errors and I changed from 2.2.16 to 2.4.2 and did
not use System.map.......

What exactly is system.map for?  I have never seen the point in it or the
/boot directory and I am a 6 year linux user.  The only thing I can think of
that NEEDS it is Grub.


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

Date: Sat, 31 Mar 2001 10:01:59 -0800
From: Noah Roberts <[EMAIL PROTECTED]>
Subject: Re: system.map

"Steven J. Hathaway" wrote:

> Wong Ching Kuen Frederick wrote:
>
> > what is the use of the file /boot/system.map?! after compiling a new kernel,
> > should i copy this file to /boot as well?! without this file, my system
> > still reboot with no problem.
>
> /boot/System.map   is a representation of the defalut kernel symbol table
>
> When the kernel or modules query symbol information for debugging, the files
> looked for are:
>
> /boot/System.map-<version-code>
> /boot/System.map
>
> I have several kernel versions, and System.map is good for only one version.
>
> /boot/System.map-2.2.13
> /boot/System.map-2.2.17
> /boot/System.map-2.2.17-20
> /boot/System.map-2.4.0
> /boot/System.map-2.4.2
>
> This keeps the various kernels and their modules happy.
> Modules for the kernels are stored in the respective directories under
> /lib/modules
>
> /lib/modules/2.2.13
> /lib/modules/2.2.17
> /lib/modules/2.2.17-20
> /lib/modules/2.2.18
> /lib/modules/2.4.0
> /lib/modules/2.4.2
>
> Note: that kernel version 2.2.18 has no specified /System.map-2.2.18
> represented, therefore
> symbols for debugging will come from /boot/System.map.  All kernels boot OK
> without the
> System.map files, but the presence is invaluable for debugging code.

Would this have an effect on version symbols when they are enabled in the modules
section of the config?


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

Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware,uk.comp.os.linux
From: "Robert Hardy" <[EMAIL PROTECTED]>
Subject: Re: Support for LCD Monitors?
Date: Sat, 31 Mar 2001 17:54:37 GMT

Basically I've got a bit more info (which probably won't change
anything...but you know how paranoid a newbie can get...so I'm attatching it
here...).
The monitor is a Proview BM568, and is designed for Plug n Play.
Consequently, it goes perfectly well on Win stuff, since there are already
some drivers for Proview monitors - one of which works (although it is not
for exactly this model, but...).
Reading a bit about PnP support on Linux, I get concerned - will there be
the right kind of drivers available, or is a PnP monitor going to cause
problems (a bit like a WinModem) since it depends on Windows already having
the
right drivers, and under Linux I might not find them?
Thanks a lot,

Robert.

Stig Brautaset <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Robert Hardy" <[EMAIL PROTECTED]> writes:
>
> > Not knowing so much about Linux etc. I am wondering if I will have
problems
> > using a LCD monitor (precisely the Proview BM568 or the TAXAN
Crystalvision
> > 680) - I am just putting together a system and will want to run some
> > distribution of Linux (no preference as yet). Will I need drivers and
such -
> > since I know that they supply Win9* etc drivers with the product (not
sure
> > what they do), but they don't have any Linux drivers for download from
their
> > sites.
>
> You should not have any problem /at all/ using any monitor that will
> connect to your graphics card.
>
> Regards, Stig



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

Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware,uk.comp.os.linux
From: "Robert Hardy" <[EMAIL PROTECTED]>
Subject: Re: Support for LCD Monitors?
Date: Sat, 31 Mar 2001 17:54:37 GMT

Basically I've got a bit more info (which probably won't change
anything...but you know how paranoid a newbie can get...so I'm attatching it
here...).
The monitor is a Proview BM568, and is designed for Plug n Play.
Consequently, it goes perfectly well on Win stuff, since there are already
some drivers for Proview monitors - one of which works (although it is not
for exactly this model, but...).
Reading a bit about PnP support on Linux, I get concerned - will there be
the right kind of drivers available, or is a PnP monitor going to cause
problems (a bit like a WinModem) since it depends on Windows already having
the
right drivers, and under Linux I might not find them?
Thanks a lot,

Robert.

Stig Brautaset <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Robert Hardy" <[EMAIL PROTECTED]> writes:
>
> > Not knowing so much about Linux etc. I am wondering if I will have
problems
> > using a LCD monitor (precisely the Proview BM568 or the TAXAN
Crystalvision
> > 680) - I am just putting together a system and will want to run some
> > distribution of Linux (no preference as yet). Will I need drivers and
such -
> > since I know that they supply Win9* etc drivers with the product (not
sure
> > what they do), but they don't have any Linux drivers for download from
their
> > sites.
>
> You should not have any problem /at all/ using any monitor that will
> connect to your graphics card.
>
> Regards, Stig



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

Date: Sat, 31 Mar 2001 10:09:38 -0800
From: Noah Roberts <[EMAIL PROTECTED]>
Subject: Re: Tips: Debian is very good (=

John Hasler wrote:

> Spyros.
> > Is the Debian release _so_ good ?
>
> In my biased opinion, yes.
>
> > ...to simply upgrade packages . without the husle of , say, RH or
> > Mandrake ?
>
> Upgrading packages (or the entire distribution) with Debian is trivial.
> The initial installation of the Debian distribution, on the other hand, is
> not.

Yeah, that is what I found.....I answered one of the questions wrong in the
install and could not reverse it without a reinstall.....debian was not the
CD I put in when I had to reinstall :P

It used to be that debian would install, then boot and ask a whole shitload
of questions in this LONGGGG loop.  Really idiotic design....hopefully that
has changed?  I know I had a tendency to just quickly hit [enter] and take
default...but there where cases when that was a bad thing.

I think all distros should take install lessons from Slackware....out of ALL
the distros I have installed (RH SuSE Debian Caldera Turbo) Slackware is by
far the quickest and simplest install procedure around.  The one thing it is
missing is a help function to display package features in the menu view.  The
other install programs can be easy if you want whatever the default is
(having a few choices for what "default" is)....but once you install a custom
system your looking at much longer.....

Of course Slacware doesn't try and install every OpenSource program in
existance either :P


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

Date: Sat, 31 Mar 2001 10:11:36 -0800
From: Noah Roberts <[EMAIL PROTECTED]>
Subject: Re: Slide Show??

Stefano Ghirlanda wrote:

> Jim Bradley <[EMAIL PROTECTED]> writes:
>
> > I want to create a slide show of jpg images with an approximately 10
> > second interval between slides. Is there an easy Linux solution?
>
> man display, look at the -delay option.

OOOOOOO.....I didn't know THAT was there ;)


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


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