Linux-Misc Digest #413, Volume #24                Tue, 9 May 00 13:13:05 EDT

Contents:
  Re: Advice on Netware under linux. (Dallas Times)
  Re: How to fix staircase effect on printer (Patricia)
  glib installation (Varun Sinha)
  Re: how does the device driver determines its device number? (Dallas Times)
  Re: Random number generator between 0 - 70 ([EMAIL PROTECTED])
  Re: CD-RW weirdness ([EMAIL PROTECTED])
  Re: What is the best source for working with core dumps? (brian moore)
  Re: glib installation (Andreas Kahari)
  Re: SCSI devices and SMP kernels (Matt)
  Re: CD-RW weirdness (al)
  Re: rpm problems (Patrick O'Neil)
  Re: good email client for Linux? (Phillip Deackes)
  Re: Minimum Hard Ware Requirement for Windows NT,95,Dos & linex, (Karel Jansens)
  Re: tar vs afio usage - help please (Frank Miles)
  lpr printing, One Linux box to another (Ross Caughie)
  new !!! Milcom Advanced Information Services (Milcom Techie)
  Re: Newbie need help on configuring eth0 (Leonard Evens)
  VMware 2.0 and Linux-2.3.99pre6 ("[EMAIL PROTECTED]")
  LPT1 not recognized (Thomas Schonborg)

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

From: Dallas Times <[EMAIL PROTECTED]>
Subject: Re: Advice on Netware under linux.
Date: Tue, 09 May 2000 09:17:15 -0700

First check is to look at the IPX-Howto at http://www.linuxdoc.org (IPX
being the network protocol that Netware uses). This will give you a good
start on Linux and Netware issues.

Samba support for direct windows networking to your linux box can be a
(minor) pain to properly setup, but seems to be pretty stable for me. I
haven't been able to check the Netware issues since we don't run Novell
services here.

- Ken



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

From: Patricia <[EMAIL PROTECTED]>
Subject: Re: How to fix staircase effect on printer
Date: Tue, 9 May 2000 16:08:33 +0200
Crossposted-To: comp.os.linux.setup,comp.unix.misc,comp.unix.questions

On Tue, 09 May 2000, Peet Grobler wrote:
>How do I fix the staircase effect on a printer?
>
>I've got a 132-coloumn Fujitsu printer installed.
Peet
In Redhat you can run printtool
don't know for the other distributions.

--
Good Luck
Patricia

http://www.crosswinds.net/~beginnerslinux
Red Hat Linux release 6.0 (Hedwig)
Kernel 2.2.5-15 
  4:09pm  up 19:15,  2 users,  load average: 1.22, 1.38, 1.48
Tue May  9 16:09:13 CEST 2000

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

From: Varun Sinha <[EMAIL PROTECTED]>
Subject: glib installation
Date: Tue, 09 May 2000 14:30:03 GMT

I ran ./configure, make and then make install from the directory I unzipped
and untarred the file to and everything seemed to go fine.
When I run ./glib-config --version from /usr.local/bin it says 1.2.7

But when I run ./configure from the directory I unzipped and untarred
gtk+1.2.7 it gives the following error message:

*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: 
*** GLIB 1.2.7 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.
What should I do?

Varun Sinha
[EMAIL PROTECTED]

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

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

From: Dallas Times <[EMAIL PROTECTED]>
Subject: Re: how does the device driver determines its device number?
Date: Tue, 09 May 2000 09:27:39 -0700

(kernel hackers feel free to jump in - I'm [sort of] guessing here)

eth0 is the first ethernet device that is initialized in the kernel. In
this case, it would be the first module that is loaded/initialized that
is an ethernet device driver.

The /dev/ethXX ID's are determined by the kernel. The module asks the
kernel for the next available ethXX device when it initializes.

Optionally, you can specify in the /etc/conf.modules which device should
be eth0, eth1, etc. if you have multiple ethernet devices.

alias eth0 3c59x

- Ken


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

From: [EMAIL PROTECTED]
Subject: Re: Random number generator between 0 - 70
Date: Tue, 09 May 2000 14:41:23 GMT

On Mon, 08 May 2000 22:07:14 +0100, Carl Waring - Pipex
<[EMAIL PROTECTED]> wrote:
>I'm wanting to write a simple script which can be started from a cron
>which creates a random number between 0 and say 70.  The script should
>write some constant/variable text fields then output a series of random
>numbers.  The format of the file should be such:

Many languages, script or otherwise, provide a random number function
called rand.  It typically isn't a very good random number generator,
but is often okay for testing a few things.  Perl is one such
scripting languages.  These things will be documented.  Typically
they will either produce a random integer (1-32767 is typical), or
a random float (0-1).  Neither of which is what you are asking for.
If you multiply the 0-1 random deviate by 70.9999999999999,
and then chop the result at the decimal point, that is one approach.
Mulitplying the 0-1 by 70, adding 0.5, and then chopping at the
decimal point is another.  For quick and dirty RNGs, these work
not tooo bad, but if you are doing something where deviations
from an "ideal" 0-70 uniform random deviate are needed, you
will have to go find a good random number generator.  Most (IMHO)
are written in FORTRAN or assembler, many are in C.

Gord
#include <disclaimer.h>


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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux.mandrake
Subject: Re: CD-RW weirdness
Date: Tue, 09 May 2000 14:49:00 GMT

In article <[EMAIL PROTECTED]>,
  John Travis <[EMAIL PROTECTED]> wrote:
> All I had to do was fix the link to my burner the install created
(i.e.
> make it point to a scsi).  I just typed <ln -sf /dev/scd0 /dev/cdrom2>
> (as root).

I tried that, too.  Same "magic number" error.  After rebooting
this morning, though, I'm getting a much more fun error:
mount: the kernel does not recognize /dev/cdrom2 as a block device
       (maybe `insmod driver'?)

The crazy thing is that cdrecord can see the disk's contents just
fine -- both on /dev/hdd, and on /dev/scd0!

-Jonathan


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

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

From: [EMAIL PROTECTED] (brian moore)
Subject: Re: What is the best source for working with core dumps?
Date: 9 May 2000 15:08:01 GMT

On Tue, 09 May 2000 00:20:34 -0500, 
 Leonard Evens <[EMAIL PROTECTED]> wrote:
> brian moore wrote:
> > 
> > On Mon, 08 May 2000 19:10:31 -0500,
> >  Leonard Evens <[EMAIL PROTECTED]> wrote:
> > > Harlan Grove wrote:
> > > >
> > > > So does this mean there's no way to pull information from
> > > > core files without having the source code and a binary with
> > > > debugging information? What's the format of a core file? I
> > > > assume it's the memory image of the errant process, but
> > > > does it include the stack and register status at the moment
> > > > of failure? If so, at the end?
> > >
> > > Of course you can always find out which program produced the
> > > core dump by using the command
> > > file core
> > > The core dump is a memory image as you say.   I've never tried
> > > to look at one under Linux, but I did under SunOS.   You can
> > > probably get information about stack and register status, but
> > > what good would that do you?
> > 
> > With source?  It would allow you to see what it was doing when it
> > crashed, which may provide the clue to fixing the cause of the crash.
> >
> 
> Wouldn't you have to translate the source into assembly code
> first?

You mean compile it?  Yes.  But you have to do that with source anyway.
gdb allows you to see stuff like this from a core dump:

#0  0x26e20 in move_char (ch=0x7a52b0, door=0, follow=0 '\000')
    at act_move.c:184
184         for (obj = ch->in_room->contents; obj; obj = obj->next_content) 

See, I can see the exact line where the program dumped, and I can print
variables out, move up down the stack (ie "how the hell did I get
here?"), etc.

Certainly there is some use in at least a basic understanding of
assembly language to debug, but I believe that same understanding is
useful for C anyway in order to really grok things like pointers and bit
fields and such.  (Or even "why can't I read the same binary data file
on x86 as I can on Sparc?")  But that's a far cry from knowing anything
serious about assembly, as gdb is quite happy to debug C.

-- 
Brian Moore                       | Of course vi is God's editor.
      Sysadmin, C/Perl Hacker     | If He used Emacs, He'd still be waiting
      Usenet Vandal               |  for it to load on the seventh day.
      Netscum, Bane of Elves.

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

From: Andreas Kahari <[EMAIL PROTECTED]>
Subject: Re: glib installation
Date: Tue, 09 May 2000 14:57:15 GMT

In article <[EMAIL PROTECTED]>,
  Varun Sinha <[EMAIL PROTECTED]> wrote:
> I ran ./configure, make and then make install from the directory I
unzipped
> and untarred the file to and everything seemed to go fine.
> When I run ./glib-config --version from /usr.local/bin it says 1.2.7
>
> But when I run ./configure from the directory I unzipped and untarred
> gtk+1.2.7 it gives the following error message:
>
> *** The glib-config script installed by GLIB could not be found
> *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
> *** your path, or set the GLIB_CONFIG environment variable to the
> *** full path to glib-config.
> configure: error:
> *** GLIB 1.2.7 or better is required. The latest version of GLIB
> *** is always available from ftp://ftp.gtk.org/.
> What should I do?
>
> Varun Sinha
> [EMAIL PROTECTED]
>
> --
> Posted via CNET Help.com
> http://www.help.com/
>


Get, compile and install GLIB from <URL:ftp://ftp.gtk.org/>?

/A


--
# Andreas K�h�ri, <URL:http://hello.to/andkaha/>.
# All junk email is reported to the appropriate authorities.


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

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

From: Matt <[EMAIL PROTECTED]>
Subject: Re: SCSI devices and SMP kernels
Date: Tue, 09 May 2000 16:09:00 +0100

Henrique Seganfredo wrote:
> 
> Anybody here knows about the behaviour of SMP kernels with SCSI drivers?
> 
> I am trying to set up a right out of the box RPM package with a SMP
> kernel (the same version non SMP is already running)...when I boot, I
> get "kernel panic" cause the root fs (on sda1) could not be mounted due
> a problem loading the aic7xxx.o module....no, its not a version issue or
> something like that....
> 
> ...some dudes told me that I can't use some SCSI drivers with SMP
> kernels...is that a fact?
> 
> thanks,
> 
> --
> Henrique Seganfredo (Segao)
> 
> [EMAIL PROTECTED] & ICQ #340812
> 
> computer programmer - hardware geek
> guitar - scouting - drawing - AFS student
> 
> "Quanto mais aprendo, menos eu sei"
> "The more I learn, the less I know"

I never had any problems with my GA686BXDS and linux (Dual with onboard
SCSI).

Windows 2000 is another matter all together (not to mention a diff.
group)...

Matt.

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

From: al <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: CD-RW weirdness
Date: Tue, 09 May 2000 15:13:40 GMT

[EMAIL PROTECTED] wrote:

> In article <[EMAIL PROTECTED]>,
>   John Travis <[EMAIL PROTECTED]> wrote:
> > All I had to do was fix the link to my burner the install created
> (i.e.
> > make it point to a scsi).  I just typed <ln -sf /dev/scd0 /dev/cdrom2>
> > (as root).
>
> I tried that, too.  Same "magic number" error.  After rebooting
> this morning, though, I'm getting a much more fun error:
> mount: the kernel does not recognize /dev/cdrom2 as a block device
>        (maybe `insmod driver'?)
>
> The crazy thing is that cdrecord can see the disk's contents just
> fine -- both on /dev/hdd, and on /dev/scd0!

#1
ide-scsi maps to /dev/srx not /dev/scx

use /dev/sr0 for /dev/hdc (or your first cd-ROM or RW)
use /dev/sr1 for /dev/hdd(or your second     ""           "" )


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

From: Patrick O'Neil <[EMAIL PROTECTED]>
Subject: Re: rpm problems
Date: Tue, 09 May 2000 09:14:20 -0600

YamYam wrote:
> 
> Did u try to build rpm files with: cd <SRC_RPM_DIRECTORY> rpm -ivh <file.src.rpm
> cd /usr/src/RPM/SPECS rpm -ba <file.spec> --clean It will show u all messages when 
>it compiles, >and when it succeeded it will put the rpm files in /usr/src/RPM/RPMS 
>and the rpm 
>source files in /usr/src/RPM/SRPMS. -YamYam 
>Patrick O'Neil wrote: 
> > I am pulling my hair out on this one. I haven't a clue what > is wrong. 
> > I am running (now) a Mandrake 7.1 system. I started out with 
> > 7.0. I have this installed on both a laptop (IBM ThinkPad) 
> > and a desktop system. On my laptop I have no problems rebuilding 
> > src rpms (rpm

The problem has vanished with the reinstallation from scratch of my
Mandrake distro.
I am assuming that something got subtley corrupted during my upgrading
and updating
of various files.  Everthing I have since tried has built properly.

patrick

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

From: [EMAIL PROTECTED] (Phillip Deackes)
Subject: Re: good email client for Linux?
Date: 9 May 2000 15:15:33 GMT

In article <[EMAIL PROTECTED]>, Mario Saraceni wrote:
>> >Can anyone recomend a good email client for Linux?
>>
>
>Try CSCmail. it's probably the most complete GUI e-mail client for linux. Mutt for
>text-only, or pine.

Well, at the very least you will have a great amount of fun trying to
install it!! I have had a couple of year's experience of Linux, but gave
up with CSCMail. I followed the download instructions and ended up with
a directory under my home directory full of various folders I could
make head nor tail of. An appalling install routine. The very worst.

Maybe things have improved now? I hope so, because I would like to give
it a try.

-- 
Phillip Deackes
Using Storm Linux 2000

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

From: jansens_at_ibm_dot_net (Karel Jansens)
Subject: Re: Minimum Hard Ware Requirement for Windows NT,95,Dos & linex,
Date: 9 May 2000 16:21:12 GMT

uzman ali <[EMAIL PROTECTED]> wrote:

> My Name is Uzman,I want to ask the minimum(complete)hardware requirement 
> for WindowsNT,95,98,Dos,Linex. 
> 
For DOS: a computer.
For Linux: a computer with at least a 386 CPU and 8 mb RAM (should 
work with less, but more difficult).
For Windowsxx: the fastest, most expensive machine you can find in the
shop is the minimum required machine. For smooth running you will 
always need next year's hardware..

Karel Jansens
jansens_at_attglobal_dot_net
========================================================
VapourSig 1.1 has been postponed indefinitely
========================================================

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

From: [EMAIL PROTECTED] (Frank Miles)
Subject: Re: tar vs afio usage - help please
Date: 9 May 2000 14:50:42 GMT

In article <8f79pu$2l7$[EMAIL PROTECTED]>,
jsrockford  <[EMAIL PROTECTED]> wrote:
>I'm trying to changeover from using 'tar' for backups to 'afio' as it
>has better recovery capabilities if the archive file gets corrupted.
>Currently I'm using 'tar' as follows:
>
>tar czvf BACKUP.tar.gz -T FILELIST.LIST
>
>but haven't been able to figure out how to get 'afio' to accept input
>from the FILELIST.LIST file.  I've read the man pages and searched
>DejaNews but haven't figured it out. Can someone give me the correct
>usage for this? TIA

You might want to look at the shell script 'tob' (available in most
distributions), which is little more than an overgrown 'afio' (or tar)
caller.  It might even help you avoid having to write your own...

        -frank
-- 

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

From: [EMAIL PROTECTED] (Ross Caughie)
Subject: lpr printing, One Linux box to another
Date: Tue, 09 May 2000 15:26:52 GMT




I'm trying to print from one Linux box to another.

My first Linux box prints fine.

I read the Printing HOWTO files.  

...To allow remote machines to print to your printer using the LPD
protocol, you must list the machines in /etc/hosts.equiv or
/etc/hosts.lpd. 

I'm unsure of the syntax required in hosts.lpd, or if the protocol is
restricted in some way in inetd.conf.  To try to keep it as simple as
possible, I added only the ip address of the 2nd machine that would be
sending the print job.

Printcap on the 2nd machine contains:

lp1:\
        :sd=/var/spool/lpd/lp1:\
        :mx#0:\
        :sh:
        :rm=1st.machine.ip.address:\
        :rp=printername:\
        :lp=/dev/null:\

To send the testfile
lpr -Plp1 testfile


lpc status shows

lp1:
        queuing is enabled
        printing is enabled
        1 entry in spool area
        waiting for queue to be enabled on 1st.machine.ip.address


What am I missing here?

Mandrake 6.0 on both machines.

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

From: Milcom Techie <[EMAIL PROTECTED]>
Subject: new !!! Milcom Advanced Information Services
Date: Tue, 09 May 2000 15:31:53 GMT

www.ct-milcom.com

We would like to Welcome you to:


--- Milcom Information Technology Services Website ----

Milcom provides state of the art Services in the following areas.

       Web Page Design  - Flash Animation Design
       Web Site Hosting
       Online Business Advertising
       Linux Setup,
       Kernel Configurations,
       Server Setup, Web Server, Dialup, Proxy
       Programming Javascript, Perl,
       Unix Shell Programming , Automation, XML,
       Networking, TCP/IP Troubleshooting and configuration
       Lan and Wan Configuration
       Security analysis of your business and recommendations
       Reasonable quotes.


Our Web Site:       www.ct-milcom.com


MILCOM  -  PROVIDING SMALL BUSINESS WITH BIG BUSINESS SOLUTIONS.


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

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

From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: Newbie need help on configuring eth0
Date: Tue, 09 May 2000 10:36:32 -0500

Damon wrote:
> 
> Hi, sorry to post this but i would appreciate if anyone got any idea how
> to resolve this.
> 
> I found out that my PC ( Abit BP6 with Gentus Linux (similar to RH6.1) )
> uses irq 11 for both mass storage controllers and the Network
> Controller. I believe that there might be a conflict. My network card is
> using the RTL8139A chipset and i believe this is supported.
> 
> Does anyone know how to resolve conflicting irq? The funniest thing is
> that previously when i install RH6.1 on my Abit BP6 using the "linux
> ide2=0x????,0x????" as the boot parameters, it worked! Using the
> RTL8139A drivers, if i recall correctly. I switch to Gentus because i
> got sick of lack of ATA66 support in RH6.1 and having to go through hell
> to get RH6.1 installed.
> 
> Thank you.
> 
> Regards
> Damon

The interrupt for the network card is unlikely to be set
by hardware.   Linux should choose compatible interrupts.
For example, my (SCSI) system uses interrupt 9 for the
network card and interrupt 11 for the scsi adapter.

Try
more /proc/interrupts

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: VMware 2.0 and Linux-2.3.99pre6
Date: Tue, 09 May 2000 18:15:50 +0200

I have got a problem with VMware 2.0 and Linux-2.3.99-pre6. In the
logfile i see the following message:

        kernel: /dev/vmmon: 6 wait forglobal VM lock -1

It seems that VMware is working but this message fills up the
/var/log/message file rappidly! Can anybody tell me what is going wrong?

Thanks in advance!

Alexander




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

From: Thomas Schonborg <[EMAIL PROTECTED]>
Subject: LPT1 not recognized
Date: Tue, 09 May 2000 10:13:02 -0600

Hi All-

I have a bit of a problem with my printer port. Let me start by saying I

have RedHat 6.1 running on an HP Kayak XM600 (P-III, 256 MB RAM.) I have

read and implemented all the known fixes for this I could find.

A couple more points before I get started. One, I know the port works
because I dual boot with NT and can print fine from NT. Two, this worked

fine in Linux before I reloaded the system.

What I have done so far.....

1. I disabled plug and play in the BIOS
2. I added the following lines to /etc/conf.modules

        alias /dev/printers lp
        alias /dev/lp* lp
        alias parport_lowlevel parport_pc

3. I checked my /dev directory and found lp0's last modified data is
older than all the other installed devices. (I am under the impression
that when you install Linux and it finds various devices it some how
updates the device file thus giving it a newer, and in my case very
recent, date.)

Now, as I had mentioned before this was working before I wiped the
system and reinstalled. As I recall a friend of mine did "something??"
to update and thus activate lp0. She is quite a *nix pro and sometimes
she does things so fast I don't know what she did(case in point?)

I have searched the web for info about how to activate devices but to no

avail. I would greatly appreciate yourLPT help on this. I would also be
interested in finding out where I can find information regarding many of

the "built-in" devices i.e. parrallel ports, serial ports, floppy disks.

I mean if I want to install a Jaz drive (mine works fine BTW) I can
easily find a HOWTO and I'm off. With some of the devices that are taken

for granted the information is tough to find. Thanks in advance.

Tom Schonborg


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


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