Linux-Misc Digest #793, Volume #25               Sun, 17 Sep 00 18:13:01 EDT

Contents:
  Scanjet IIp, SANE & hpscanpbm (Robert Jones)
  Disk utilities for Linux ("Martin Duspiva")
  Re: Goddamnit!  Can't download files (Paul Lew)
  Re: installation question (repo)
  Re: The Truth About the Kursk Disaster (Jerry L Kreps)
  Re: SB Live using ALSA (Mark Hymers)
  Re: What's the largest machine in the world that uses Linux ? (Jerry L Kreps)
  Re: ext2 file size limit? (Christopher Browne)
  can't connect to napster (Matt Garman)
  Re: Packet Loss ("Andrew N. McGuire ")
  How to set break points when using gdb? (hover)
  Re: The Truth About the Kursk Disaster ("David ..")
  Re: Solaris emulation (solemul)????? (The Drag)
  Re: End-User Alternative to Windows ("Aaron R. Kulkis")

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

From: Robert Jones <[EMAIL PROTECTED]>
Subject: Scanjet IIp, SANE & hpscanpbm
Date: Sun, 17 Sep 2000 14:27:05 -0500

I'm stuck.  I'm trying to install a HP scanjet IIp on a RH6.0 machine,
kernel 2.2.16 with SCSI already enabled:

(scsi0) <Adaptec AHA-294X SCSI host adapter> found at PCI 0/20/0
(scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs
(scsi0) Downloading sequencer code... 416 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.28/3.2.4
       <Adaptec AHA-294X SCSI host adapter>
scsi : 1 host.
(scsi0:0:2:0) Synchronous at 5.0 Mbyte/sec, offset 8.
  Vendor: IBM       Model: HP35480A      !C  Rev: 9
  Type:   Sequential-Access                  ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 2, lun 0
scsi : detected 1 SCSI tape total.

I started looking and asking a few weeks ago, have downloaded SANE

[rj@localhost sane]$ ls
sane-1.0.1-4.i386.rpm  sane-1.0.1-4.src.rpm

and hpscanpbm-0.3a.tar.gz

Since I really didn't know where to start, I untarred hpscanpbm and
attempted to compile it according to the instructions in the source file
-- and immediately hit a brick wall.

[rj@localhost hpscan]$ cc hpscanpbm.c -o hpscanpbm
hpscanpbm.c:169: /usr/src/linux/drivers/scsi/sg.h: No such file or
directory

Sure enough, there isn't a file named 'sg.h'. I looked in my original
source for kernel 2.2.5 and the file isn't there, either.  Where do I go
from here?  Will some kind of magic be worked if I go ahead and install
the SANE rpm?  Am I going to have to drop back and recompile my kernel?
As should be obvious to the most casual observer, I am thoroughly
confused at this point.

Thanks in advance for giving me a shove in the right direction!

--
I use not only all the brains I have, but all those I can borrow as
well.
                -- Woodrow Wilson

  1:57pm  up 13 days,  8:10,  1 user,  load average: 0.03, 0.11, 0.08



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

From: "Martin Duspiva" <[EMAIL PROTECTED]>
Subject: Disk utilities for Linux
Date: Sun, 17 Sep 2000 21:28:52 +0200

Hello,
I've had an accident which damaged a part of my hard disk.
Fortunately I can still boot Linux and use the apps there, but I also have a
vfat partition with Windoze (that I need sometimes) and it can't boot. It
freezes everytime it tries to read some of the damaged data.
I've tried to use DOS bootdisk with Norton disk doctor, but it freezed too.

Is there some "disk doctor" for Linux?? I really need it, because Linux is
the only OS I have, that doesn't crash when using the damaged disk.

Thanks



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

From: [EMAIL PROTECTED] (Paul Lew)
Subject: Re: Goddamnit!  Can't download files
Date: Sun, 17 Sep 2000 19:53:52 GMT

On Sat, 16 Sep 2000 22:18:00 -0700, MH <[EMAIL PROTECTED]> wrote:
>Praedor Tempus wrote:
>> 
>> This is really beginning to tick me off.
>> 
>> Lately I have been unable to download files.  I have
>> tried with ncftp and plain old ftp.  Neither works.
>> 
>> What happens is that it appears to download fine, all
>> the way to the end, but at the end, the connection
>> doesn't terminate and just doesn't complete.
>> 
>> Using Netscape, I tried downloading a couple of
>> RPMs from rufus.rpmfind.  Both rpms downloaded 100%
>> but the download window will NOT close.  I cannot
>> install the rpms because of this.
>> 
>> If I try to download via CLI using ncftp, the same
>> thing occurs.  The download goes to "completion"
>> but wont really complete the transaction.
>> 
>> What. Is.  Wrong.  Please, does anyone know what
>> the deal here might be?
>> 
>> How do I fix this?
>> 
>> I am running Mandrake 7.1, kernel-2.2.17, glibc-2.1.3-6mdk,
>> Netscape 4.72 (which has worked fine until very recently),
>> ncftp-3.0.1-6mdk.
>> 
>
>I have the exact same problem with RH 6.0 (2.2.16 kernel). It appears to
>occur only with large files.  Still, I thought Linux was "one with the
>Internet"...
>So much for downloading distribution ISOs!!!
>

I've used netscape 4.7x to download the oracle 8.1 distr of 384 megs that
is just 1 file; so, large file download is ok.  Also have just downloaded
the msoffice service pack that is 52+ megs.  Both downloads were done
in SuSE. Also have used ncftp to get 20+ meg filesizes without problems
while in linux.

Your "problem" may be just the max users for the site or when "everyone"
is downloading the everything.  What "speed" is your access...

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

From: repo <[EMAIL PROTECTED]>
Subject: Re: installation question
Date: Sun, 17 Sep 2000 22:11:10 +0200

Nawaz Ahmed Khan wrote:
> 
> i am using redhat 6.2 with kde desktop. recently i have downloaded
> realplayer for linux from real.com. it is binry file type (eg
> realplayer.bin), how can i install or use it.
> 
> --
> Posted via CNET Help.com
> http://www.help.com/
Hi
AFAIK, you need to excecute the file
./file.bin
perhaps you need to do a chmod +x

-- 
Good Luck
Repo
ICQ 69588792
http://www.crosswinds.net/~beginnerslinux/
http://beginnerslinux.org/
Redhat 6.0 Kernel 2.2.5-15
 10:09pm  up 7 days,  1:36,  2 users,  load average: 0.31, 0.53, 0.47

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

From: Jerry L Kreps <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,redhat.general,alt.linux
Subject: Re: The Truth About the Kursk Disaster
Date: Sun, 17 Sep 2000 15:06:50 -0500

On Sun, 17 Sep 2000, David .. wrote:
>Some new information has come to light over the Kursk disaster. For

What's really scarey is that W2K is going to be used to control the new
warships coming from the Newport News Inc. ship building facility, of which
Gates is a large shareholder.

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

From: [EMAIL PROTECTED] (Mark Hymers)
Subject: Re: SB Live using ALSA
Date: Sun, 17 Sep 2000 20:11:19 GMT

>Unless I'm wrong, there currently is no support for /dev/sequencer with
>the alsa drivers.  You can look into timidity++ to get a pseudo
>/dev/sequencer; that's what I'm trying to do right now.
I didn't realise this.  Do you know if they're planning to include
this support.  And, a stupid question but what are the -seq driver
modules for?

Mark

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

From: Jerry L Kreps <[EMAIL PROTECTED]>
Subject: Re: What's the largest machine in the world that uses Linux ?
Date: Sun, 17 Sep 2000 15:11:05 -0500

On the S/390, and it was 40,000+ virtual Linux systems.

On Sun, 17 Sep 2000, Grant Edwards wrote:
>In article <[EMAIL PROTECTED]>, Hal Burgiss wrote:
>>On Sun, 17 Sep 2000 11:34:39 +0800, Yeung Ming <[EMAIL PROTECTED]> wrote:
>>>do anyone know the ans or where i can find it by myself?
>>
>>Meaning computer? Single computer, or cluster? Check IBM's website. They
>>ran some ridiculous number of simulataneous Linux sessions on one 'box'.
>
>IIRC, it was something like 4000 simlutaneous Linux systems running on one
>of their big machines (a 390?).  Pretty cool.
>
>-- 
>Grant Edwards                   grante             Yow!  I'm in LOVE with
>                                  at               DON KNOTTS!!
>                               visi.com

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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.development.system
Subject: Re: ext2 file size limit?
Reply-To: [EMAIL PROTECTED]
Date: Sun, 17 Sep 2000 20:30:32 GMT

Centuries ago, Nostradamus foresaw a time when Robert Heller would say:
>  Paul Reilly <[EMAIL PROTECTED]>,
>  In a message on Sat, 16 Sep 2000 17:53:18 -0700, wrote :
>PR> Hi
>PR> 
>PR> Can someone tell me what the max size for a single file is in linux?
>PR> 
>PR> I'm trying to creat a 6GB loopback device, but using dd if=/dev/zero
>PR> of=file
>PR> crashes out after filling the file with 2GB. I presume this is happening
>PR> as I've reached some file system limit? Is there any way around this or
>PR> any plans on making ext2 handle larger files?
>
>This is a problem with the current i386 (32-bit) ext2 kernel code.  I
>don't know if the 2.4.x kernel will fix this or not.

Could you be more specific about that?  The last time I checked the 
ext2 code, it merely had the same limitation as VFS + LIBC.

I expect Alexander Viro can comment on this more competently than
anyone else, as VFS is basically "his baby."

For those that don't want to go through those details should
take a look at /usr/include/stdio.h, particularly at the 
call signature for fseek(stream, long int offset, int whence).

File sizes are limited by the fact that on 32 bit platforms, a
"long int" is normally 32 bits long.  

And cacheing doesn't work out too well if you can't map files onto
virtual memory.
-- 
[EMAIL PROTECTED] - <http://www.hex.net/~cbbrowne/lsf.html>
"Bother," said Pooh, as he deleted his root directory.

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

From: [EMAIL PROTECTED] (Matt Garman)
Subject: can't connect to napster
Reply-To: [EMAIL PROTECTED]
Date: Sun, 17 Sep 2000 20:50:27 GMT

Hello:

I run IP masqerading on a Linux box to share a cable modem with my
roommate.  He's running Win98 on his computer and can use Napster without
any problems (connects okay, downloads fine, etc).

I used to use the gtk-napster client version 0.201 until it started to
consistently time out on every connection attempt.  I figured it was the
software and upgraded to v0.301.  Here I selected "autoget best server"
from the connect screen, and it returns a "Warning -- connection refused"
back on the terminal from which I started gtk-napster.

I tried some other clients and had similar problems:
        - with TekNap I get these results:
                Attempting to get host from 12.18.122.252:8888.
                Connected. Attempting Login to 12.18.122.252:8888.
                blah!* banned: do not unban
                do_server() Connection closed from 12.18.122.252: Remote end closed
                          connection
        - with nap-1.4.4 I get stuff such as this:
                Getting best host...
                Connecting...
                Error connecting socket
                Getting best host...
                Connecting...
                Error connecting socket
        - I also tried the client lopster-0.9.3, it just times out on
                connections to the "Official Server" while searching for the best 
                server.

For a while I thought that my IP was banned somehow---but if my roommate
connects okay, that certainly isn't the case.  Also I thought my username
was banned, but I also tried connecting with my roommate's password, and
that didn't work either.  Also I thought my IP masquerading setup was in
error, but again, if my roommate's works okay, shouldn't mine?

Anyone have any ideas?  I am just missing something obvious here?
Thanks,
Matt

-- 
Matt Garman, [EMAIL PROTECTED]
"I may make you feel, but I can't make you think."
        -- Jethro Tull, "Thick as a Brick"

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

Crossposted-To: comp.os.linux,comp.os.linux.networking,comp.os.linux.redhat
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Packet Loss
Date: Sun, 17 Sep 2000 16:10:45 -0500

On Sun, 17 Sep 2000, [EMAIL PROTECTED] quoth:

> In article <[EMAIL PROTECTED]>,
>   Harri Haataja <[EMAIL PROTECTED]> wrote:
> > "Andrew N. McGuire" wrote:
> > > On Sat, 16 Sep 2000, [EMAIL PROTECTED] quoth:
> > > >   "Bluezz" <[EMAIL PROTECTED]> wrote:
> > > > I have spent months of my time batteling hackers on redhat 6.1
> and have
> > > > tried countless steps of security against them but they keep
> managing
> > > > to get in.  Now I use linux mandrake 7 as recommended by my guru
> linux
> > > > master and have not been hacked once.
> > >
> > > You can achieve the same level of security in ~ANY~ Linux
> distribution.
> >
> > And then some =).  Some just have better defaults. RH is reputed to
> have
> > sadly loose defaults. So is Solaris I hear. Don't take this as pro-mdk
> > though, I've never used it.
> 
> 
> If you install Mandrake in expert mode there's a "Paranoid" security
> mode that will not even allow root login from the server itself.  My
> linux guru tells me it's so secure that it can be difficult to do
> things, but he loves it and uses it for the company site.
> I'm not an expert so I just did a simply no brainer high security
> install which is more secure than red hats default install.
> 

What I am saying is that a "Paranoid" security mode is fine for
beginners, however one should truly ~LEARN~ how to harden a machine
from ~SCRATCH~.  I have never found it particularly benificial to
depend on any particular vendor (save OpenBSD) for security issues.
It is good that Mandrake simplifies the operation, but ultimately I
would not feel secure until I had done the usual patching, plugging,
checking, etc... (inetd.conf, rc.d dirs, SUID scans, tripwire, etc..).

> > > > don't under estamate hackers! they're insane but amazing in their
> > > > abilities.  have you noticed any new installed programs on your
> system?
> > > > one of my hackers installed a custom sniffit program that was
> causing
> > > > packet losses with my dns server.
> > >
> > > I think you have hackers and crackers confused.
> >
> > Almost everyone does. It seems to be best to just let it go and
> watch -
> > you can tell a hacker by the point that he knows what a hacker is =).
> > Ok, not neccessarily but like that.
> >
> 
> Cracker?  Does a cracker install software on your server?  Anyhow, this
> guy did not get in by any simple means and knew his/her stuff!!  It got
> to the point where I would set up traps in commands such as ls mv rm
> more and he/she found out, undid what I did and prevented me from
> moving, deleting or even modifying those files even though I was logged
> in as root.

First, if someone cracks your machine, ~STOP~, do not pass go do not
collect $200 US.  ~YOU HAVE LOST CONTROL~, there is only one sure way
to get it back.  Remove your network connection, halt your machine, wipe
the disk, and reinstall.  Even restoring from backup at this point
poses an extreme risk, I would not, but if your information is that
important, restore, but be careful.  While your machine is down, and
before you reconnect to any network, read all you can on hardening a
machine, then put that knowledge to good use.  Get the most UNIX savvy
person you know to attempt to break in.  After you have carefully
assessed the security of your host, and are ~SURE~ that it is OK,
return it to its normal duties.

Now, to anwer you question "Does a cracker install software on your server?"
Yes a cracker does all that.  Think of the force, there is a dark side
to the force, those who belong to the dark side are crackers, those who
belong to the good side are hackers.  Most of the people who are
hackers (you are not a hacker until another hacker calls you one) will
be quite upset at the flagrant misuse of the term.  It takes much
effort to become a hacker, to see other script kiddies who break into
machines for kicks called hackers is simply wrong.

The above is an over-simplification of reality.  For a more in depth
discussion of the subject read Eric S. Raymond's _The Cathedral and
the Bazaar_.  It is good reading anyway.

All the Best!

anm
-- 
BEGIN { $\ = $/; $$_ = $_ for qw~ just another perl hacker ~ }
my $J = sub { return \$just }; my $A = sub { return \$another };
my $P = sub { return \$perl }; my $H = sub { return \$hacker  };
print map ucfirst() . " " => ${&$J()}, ${&$A()}, ${&$P()}, ${&$H()};


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

From: hover <[EMAIL PROTECTED]>
Subject: How to set break points when using gdb?
Date: Sun, 17 Sep 2000 21:52:12 GMT

Hi all,

    I am debugging using 'gdb'. I have one file 'main.c' and a
file 'func.c', with their relation indicated in the makefile. I want to
set a break point in the file 'func.c'. Can anyone tell me how to do
it?

    The following is what I have tried but failed:
======================
    gdb main
    break func.c:52

    Then I was told that "No source file named func.c"

======================

    Many thanks.


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "David .." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,redhat.general,alt.linux
Subject: Re: The Truth About the Kursk Disaster
Date: Sun, 17 Sep 2000 16:50:26 -0500

John Smith wrote:
> 
> I'm glad to see that you find the horrible death of 118 people so amusing.

Actually I find the tragedy of the Kursk to be an extreme horror of the
consequences of war. Though actual war was not the direct cause of it's
sinking it was a vessel of war none the less.

I also find the movie "The Day After" which tells of the tragedy of the
consequences of war. But I also respect the fact that if a nuclear war
were to ever be as severe as in the movie we won't have to worry about
what to fight World War IV  with. 

Sticks and stones will be plentiful if we are still here to fight.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: [EMAIL PROTECTED] (The Drag)
Crossposted-To: linux.redhat.misc,de.alt.linux
Subject: Re: Solaris emulation (solemul)?????
Date: Sun, 17 Sep 2000 22:05:58 GMT

What version of solemu are you using?
solemul-1.1-1 is available on rpmfind.net


On Sun, 17 Sep 2000 18:26:45 +0200, Daniel Wetzler
<[EMAIL PROTECTED]> wrote:
>The Drag wrote:
>> Hiya Daniel,
>> These pages might help, they provide info on running Solaris binaries
>> on Linux.
>> http://www.linuxdoc.org/HOWTO/mini/Linux%2BSolaris-7.html
>>
>> and additional information sources regarding Solaris+Linux
>> http://www.linuxdoc.org/HOWTO/mini/Linux%2BSolaris-8.html
>>
>> and if all else fails, this will tell you how to run Solaris and Linux
>> on the same box.  :-)
>> http://www.linuxdoc.org/HOWTO/mini/Linux%2BSolaris.html
>>
>> On Sat, 16 Sep 2000 13:50:45 +0200, Daniel Wetzler
>> <[EMAIL PROTECTED]> wrote:
>>
>> >Hi,
>> >
>> >I'm using Red Hat  6.1 on a sparc based mashine.
>> >I would like to emulate solaris to use some little solaris-based
>> >programs.
>> >I already copied the required files from my solaris 7 system to
>> >
>> >/usr/gnemul/solaris/
>> >
>> >But it seems that my linux kernel doesn't own the solaris kernel module
>> >:
>> >
>> >[root@dawe-sparc10 /]# insmod solaris
>> >insmod: solaris: no module by that name found
>> >[root@dawe-sparc10 /]#
>> >
>> >Does someone know where to get a (precompiled)  solaris-kernel module ?
>> >
>> >
>> >Greetings,
>> >
>> >Daniel
>> >
>> >
>> >
>
>Hi,
>
>thanks for your help.
>I have already Solaris 7 and Linux running on the same system.
>I prefer to use Linux, because it runs significantly faster on my
>old mashine.
>Lxrun only runs under Solaris for x86. I'm using a old Sparcstation 10
>mashine.
>
>The only programs I'm missing under Linux are Java studio und Java
>Workshop. To run these programs under Linux I wanted to use solemul, wich
>is delivered with
>red hat 6.1.
>
>Unfortunately the needed kernel module seems to be missing. It must be a
>module called solaris.
>Does someone know where to find it ?
>
>
>Greetings,
>
>Daniel
>


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

From: "Aaron R. Kulkis" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy
Subject: Re: End-User Alternative to Windows
Date: Sun, 17 Sep 2000 18:00:55 -0400

Yannick wrote:
> 
> Donovan Rebbechi <[EMAIL PROTECTED]> a �crit dans le message :
> [EMAIL PROTECTED]
> > On Fri, 15 Sep 2000 20:15:31 GMT, Yannick wrote:
> > >> > and also that possibility to advertise optional
> > >> >functionality with on-demand installation ? And the package
> > >transformations,
> > >> >allowing multiple package customizations while reducing HD space ?
> > >>
> > >> I don't know what you mean by the above.
> > >Since I don't know which one you refer to, I'll detail both :
> > >- on-demand installation lets you install some menu options, shortcuts,
> > >etc... referring to elements that are not really installed until you
> invoke
> > >them.
> >
> > I see. IN LInux, you'd acheieve this goal by having multiple packages.
> >
> No. Here the packages are absent in a transparent manner : if you click on
> an
> uninstalled feature, the installation of that feature is automatic (just as
> if
> it had already been installed, only it takes some time the first time).
> 
> > >you're the sysadmin. You want to decide what elements are needed for each
> > >category of users, and perform an automatic installation of those
> packages.
> > >For each category of users, you build a transformation of the MSI package
> > >describing the actual setup options. This transformation is not a new
> > >package, it really is the definition of the transformation : when you
> > >install with the transformation, it uses the original MSI package. Thus,
> if
> > >you have ten different categories of users with different needs, you'll
> only
> > >have one big MSI file and ten much smaller files describing the
> > >tranformations.
> >
> > Are you saying you install the software once for each user ? I'm confused.
> Sorry, this comes from the habit of having one user per workstation. In fact
> I suppose you can find relevant cases where this is a sensible thing to do
> on a per-user basis, but nevertheless this is probably possible for a set of
> machines (those machines being used for different purposes and thus
> requiring different software configs).
> 
> > >Now you set up everything so that the install starts when your users log
> off
> > >on friday evening and shutdown their machines after completion.
> >
> > If you want to set certain times for installs, you can do this with
> > cron.
> It's not about times. Times are very well if your machines are on all time
> (in which case you can do everything at night, so as not to be annoying to
> people working late or early), but this is a waste of energy. Events, in
> particular "on machine shutdown", is better because you are 95% sure that no
> one bothers the software being installed when the machine should be off
> anyway.
> But this is surely possible in Unix too.\

Sure...just put it in a shutdown script.
But...with unix..the utility of shutting down machines is nil.


> 
> Yannick.


-- 
Aaron R. Kulkis
Unix Systems Engineer
ICQ # 3056642

H: "Having found not one single carbon monoxide leak on the entire
    premises, it is my belief, and Willard concurs, that the reason
    you folks feel listless and disoriented is simply because
    you are lazy, stupid people"

I: Loren Petrich's 2-week stubborn refusal to respond to the
   challenge to describe even one philosophical difference
   between himself and the communists demonstrates that, in fact,
   Loren Petrich is a COMMUNIST ***hole

A:  The wise man is mocked by fools.

B: Jet Silverman plays the fool and spews out nonsense as a
   method of sidetracking discussions which are headed in a
   direction that she doesn't like.
 
C: Jet Silverman claims to have killfiled me.

D: Jet Silverman now follows me from newgroup to newsgroup
   ...despite (D) above.

E: Jet is not worthy of the time to compose a response until
   their behavior improves.

F: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
   adultery while concurrently committing adultery with Tammy Hahn.

G:  Knackos...you're a retard.

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


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