Linux-Misc Digest #374, Volume #27 Fri, 16 Mar 01 13:13:06 EST
Contents:
Re: 10 gig disk in a 500 meg BIOS (John Joseph Trammell)
Re: Does Earthlink support Linux? (Michael Perry)
Re: Shell script... ("Adrian Davis")
Re: can a serial connection work when keyboard/monitor doesn't? (Randy R)
Re: Redirect stdout from background process started in shell script??? (Michael
Heiming)
Re: PPP dialer that handles dynamic one-time passwords? (Bill Unruh)
Re: making a partition on an existing disk (Yvan Loranger)
PCNFSD starts, but BWNFSD has an ERROR ("Nail A.")
Re: Linux crash like a Windows! (David Stark)
MySQL and BC4 (Mark)
Re: SOS No modem com4??? (Yvan Loranger)
Re: 10 gig disk in a 500 meg BIOS (Vilmos Soti)
Re: can a serial connection work when keyboard/monitor doesn't? (Martin Gregorie)
Re: can't kill! ([EMAIL PROTECTED])
Re: Redirect stdout from background process started in shell script??? (Vilmos Soti)
Re: A Better Web Browser...PLEASE! (Rick Baartman)
KDE in Redhat 6.2 is missing the taskbar on bottom of screen (mike)
Re: can't kill! ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (John Joseph Trammell)
Crossposted-To: comp.os.linux.hardware
Subject: Re: 10 gig disk in a 500 meg BIOS
Date: Fri, 16 Mar 2001 16:13:31 GMT
On Fri, 16 Mar 2001 10:52:52 -0500, Rick Griffiths wrote:
> Does it matter that the BIOS in my Nec Versa E (circa 1992) can't
> handle a 10 gig drive if I am using Linux exclusively on the machine?
> The way I read the howto, all I have to do is make a 5meg first
> partition as the root. Is this correct? If I make the first partition 5
> meg, will the installation system find another partition and use it if
> I mount the second partition with /root as the mount point?
I think 5 Mb is small, but I tend to tinker a lot. Here's what's
worked for me in the past:
/dev/hda1 /boot small (20 Mb?)
/dev/hda2 / big (500 Mb?)
/dev/hda3 /usr big (1.5 Gb?)
:
:
Put your kernels in /boot, which means they're well below
the 504 Mb limit. More docs at:
http://judi.greens.org/c/h/get/lilodocs.html
------------------------------
From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Does Earthlink support Linux?
Date: Fri, 16 Mar 2001 16:19:20 -0000
On 14 Mar 2001 03:27:35 GMT, Andrew Purugganan <[EMAIL PROTECTED]> wrote:
>They are offering a promo 700 hrs, and DSL. Were you able to get it to
>work with Linux? Or do they have a proprietary dialer, like NetZero?
>
>--
>jazz
>Registered linux user no. 164098 +--+--+--+ Litestep user no. 386
>Doesn't it bother you, that we have to search for intelligent life
>--- OUT THERE??
I don't use dsl with earthlink; but I have to admit to having the easiest
time with earthlink on the road with dialup ppp. It works with wvdial
really well for me. I would call earthlink and ask specifically what modem
they are offering. At home for me, the Alcatel at home works very well.
All you do is plug one cable into the phone line and the other is a cat5
ethernet cable which goes to a nat/firewall box. No setup of pppoe or
anything.
--
Michael Perry
[EMAIL PROTECTED]
==================
------------------------------
From: "Adrian Davis" <[EMAIL PROTECTED]>
Subject: Re: Shell script...
Date: Fri, 16 Mar 2001 16:19:28 -0000
> My script:
> #!/bin/bash
>
> host1='192.168.1.48'
> host2='192.168.1.58'
> host3='192.168.1.59'
> host4='192.168.1.61'
> host5='192.168.1.67'
> n='5'
>
> count=1
> while [ $count -le $n ]
> do
> echo $((host$count)) # FAILURE
> count=$((count+1))
> done
> exit
echo $host$count
Regards,
=Adrian=
------------------------------
From: Randy R <[EMAIL PROTECTED]>
Subject: Re: can a serial connection work when keyboard/monitor doesn't?
Date: Fri, 16 Mar 2001 16:24:25 GMT
It looks like I will have to do more experimenting on a home machine
or set up a developement machine at work. Hopefully the Alt-SysRq-$KEY
will work, once I find out what it is. The majority of the dedicated
Linux machines are the newest or next to newest version of RedHat.
Like I said in my response in another thread, we handle about 300 or
so dedicated Linux servers, and at least at the present time there's
no one machine that dies more often than others, so there's no way I
can monitor what's happening before the server crashed, and there
haven't been any crashes like this since I started investigating my
ideas.
When you ask if I had tried to ssh in, no I haven't. But the reason I
know the machine is down is because it doesn't respond to ICMP
(pings.)
Maybe if the Alt-SysRq-$KEY key combination doesn't work, then I will
experiment with starting a getty process on /dev/ttyS0 on bootup.
Would a loopback connection to the serial port work to fool it into
thinking there was a console connction? Or would this cause other
problems?
On 16 Mar 2001 04:17:03 GMT, [EMAIL PROTECTED] (Dances With Crows)
wrote:
>On Thu, 15 Mar 2001 19:25:23 GMT, Randy R staggered into the Black Sun
>and said:
>>We run about 300 - 400 dedicated linux servers, and every night/day 1
>>or 2 machines freeze up. All the hardware runs newer motherboards with
>>ps2 keyboards and mice.
>
>Are there any common elements among the machines that freeze? (Been up
>for X hours, running processes Y and Z, machines A-D tend to die much
>more often than any others, motherboards were built by the lowest
>bidder, etcetera.)
>
>>I don't know what Alt-SysRq-S, Alt-SysRq-U, Alt-SysRq-B means, please
>>explain.
>
>/usr/src/linux/Documentation/sysrq.txt has the scoop. This is a kernel
>compilation option which should be on in almost all cases. IIRC RedHat
>boxen do some magic with enabling/disabling this functionality upon boot
>depending on something in /etc/sysconfig/ . If it's in your kernel, you
>can activate it with "echo '1' > /proc/sys/kernel/sysrq" and then
>pressing Alt-SysRq-$KEY will make the kernel take certain actions
>depending on $KEY. This functionality is very low-level and can do
>things even when X/the consoles/the network/large parts of the kernel
>have gone bye-bye.
>
>>What you said about hot-plugging a keyboard into the computer is
>>exactly what I was wondering, if the computer will not respond to the
>>keyboard because the computer is too busy to notice that a keyboard
>>was plugged into it. I assume from your response it doesn't matter
>>whether the keyboard is plugged into it
>
>What I was referring to is the design problem (since fixed on *most*
>PC motherboards) where plugging/unplugging a PS/2 device while the
>machine was powered on could hang the system, or in the worst case burn
>out components on the board. Also, if a machine has no keyboard
>connected at boot time, the kernel may not initialize the keyboard when
>it's plugged in for the first time--on x86 hardware at least, the BIOS
>is supposed to get the keyboard controller into a sane state before the
>kernel even starts up.
>
>>I do intend to experiment with connecting to the compter via a serial
>>connection to see if it responds differently.
>
>Hmm. You'd need to have a serial console running or start a getty
>process on /dev/ttyS0 *before* the machine locked up for this to work.
>I repeat: Have you tried to ssh in over the network?
------------------------------
Date: Fri, 16 Mar 2001 17:54:33 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Redirect stdout from background process started in shell script???
Pat Hennessy wrote:
>
> I can redirect the output of a process and place that process in the
> background just fine like so:
>
> ./process > /tmp/myPipe &
>
> But, when I try to do this from within a bash script the redirection
> does not take place.
>
> Anyone know what's wrong?
Try:
cmd > file 2>&1
Perhaps, you should get a book like Linux/UNIX in a Nutshell, which
should
be always near to you, if your serious.
Good luck
Michael Heiming
>
> TIA
>
> Pat
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.networking,comp.os.linux.security
Subject: Re: PPP dialer that handles dynamic one-time passwords?
Date: 16 Mar 2001 17:05:22 GMT
In <[EMAIL PROTECTED]> John Marley <[EMAIL PROTECTED]>
writes:
]Our company has decided to implement strong authentication for dial-in
]access. They've issued us all with hardware tokens that generate a dynamic
]password when we enter our PIN. Obviously, I can't put a dynamic password
]into my chat script (can I?) so is there a ppp dialer that automates all
]the modem configuration and dialing bits, but propmts the user for username
]and password? I've look in FAQ's and HOWTO's but can't seem to find
]anything.
See some programs at
http://www.inetport.com/~kite/
-- SecurID and chatbypipe which may do what you want. These are by now
somewhat older files for older versions of chat (although as far as I
know chat has changed very little).
------------------------------
From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: making a partition on an existing disk
Date: 16 Mar 2001 17:09:47 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)
(SandMan) writes:
> Here's what I'm trying to do. I have 2 disks on a Linux RH7 system. The first
>disk has /, /boot and swap. There is also an extended partition like so:
>
> Disk /dev/sda: 2231 cylinders, 255 heads, 63 sectors/track
> Units = sectors of 512 bytes, counting from 0
>
> Device Boot Start End #sectors Id System
> /dev/sda1 * 63 48194 48132 83 Linux
> /dev/sda2 48195 35841014 35792820 5 Extended
> /dev/sda3 0 - 0 0 Empty
> /dev/sda4 0 - 0 0 Empty
> /dev/sda5 48258 3196934 3148677 82 Linux swap
> /dev/sda6 3196998 4257224 1060227 83 Linux
>
> There's a ton of space left behind that I'd like to make a partition on. However
>sfdisk complains about creating a partition on /dev/sda3, because it is an active
>disk. I understand the rationale behind this error, but is there any workaround where
>I can:
> 1. Create a partition on /dev/sda3 that covers the remaining disk space.
> 2. Make a filesystem on it.
> 3. Fsck it.
> 4. Mount it.
> 5. Reboot.
You have an extended partition, so create sda7 [& sda8, sda9, .. if you wish]
--
Merci.........................Yvan Pour le plein air: Club Vertige
[EMAIL PROTECTED] http://www.ncf.ca/vertige
------------------------------
From: "Nail A." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.networking
Subject: PCNFSD starts, but BWNFSD has an ERROR
Date: Fri, 16 Mar 2001 18:10:21 +0100
Hi,
i got a problem with my bwnfsd / pcnfsd on a SuSE Box 7.1, Kernel 2.4
The nkita is installed, the exports is OK (contains /var/spool/lpd & the
partitions to be exported). "showmount -e" shows them.
If i start the both processes by hand, everything seems to be OK. If a
NT-Client tries to mount the exported partitions, it crashes with a
blue-screen.
If the LINUX-Box is rebooted, the bwnfsd doesnt start & i got the
following error:
Starting PCNFS daemon done
Starting BWNFS daemon clntudp_create: RPC: Program not registered
startproc: exit status of /usr/sbin/rpc.bwnfsd: 255
failed
The portmapper runs correct.
Please does anyone has a suggestion where the error could be ?
Thanks in advance.
regards
Nail
------------------------------
From: David Stark <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.slackware,linux.dev.kernel
Subject: Re: Linux crash like a Windows!
Date: Fri, 16 Mar 2001 14:45:00 +0000
"Nils O. Sel�sdal" wrote:
> "Jacques" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hi,
> > >
> > [EMAIL PROTECTED]
> Ofte this occurs if you have some broke RAM in your box.
My box crashed ALL the time under doze.. then installed Linux.. It
crashed.. yes.. a few times.. per month.
Got hold of some Ram Stress Test Program and it told me that for 4
months I've been using faulty RAM!.. but linux still was
functional(partialy).. somehow.. If I pushed it it crashed..
What an awesome OS..
(PS : this story ended hapily with me buying some new ram)
David
---
Computors are like Air conditioners...
If you open windows and they stop working.
------------------------------
From: Mark <[EMAIL PROTECTED]>
Subject: MySQL and BC4
Date: Fri, 16 Mar 2001 17:30:14 -0000
I'm usilng MySQL and BC4 on Win2K and am trying to use the C source that
came wtih MySQL. The already compiled source (MyTest.exe) works fine,
however, I cannot compile the source myself. I am having linking
problems...undefined symbols. The paths to the libraries(
c:\mysql\lib\opt) looks right. Does anyone know what I may be doing wrong
or if I need additional libraries that did not come with BC4 or MySQL?
Thanks.
Mark
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: SOS No modem com4???
Date: 16 Mar 2001 17:25:37 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)
Glitch ([EMAIL PROTECTED]) writes:
> ln -s /dev/modem /dev/ttyS3
> will link 'modem' to ttyS3
i think you want ln -s /dev/ttyS3 /dev/modem
--
Merci.........................Yvan Pour le plein air: Club Vertige
[EMAIL PROTECTED] http://www.ncf.ca/vertige
------------------------------
Crossposted-To: comp.os.linux.hardware
Subject: Re: 10 gig disk in a 500 meg BIOS
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Fri, 16 Mar 2001 17:32:15 GMT
Rick Griffiths <[EMAIL PROTECTED]> writes:
> Does it matter that the BIOS in my Nec Versa E (circa 1992) can't
> handle a 10 gig drive if I am using Linux exclusively on the machine?
I have no idea about your machine, but my primary machine is a P133
and I have a 13GB disk in it. The BIOS recognizes it correctly, but
it hangs at boot. I can either make BIOS ignore the disk (this is hdb)
or recognize only as 8GB. In these cases it boots. However, when I
partitioned the disk under Linux, in the fdisk I went to the expert
mode and reconfigured the geometry to reflect the true 13GB size.
Linux doesn't use the BIOS for the disk stuff. It handles it entirely
on her own. This is why I could use it even it was not recognized by
the BIOS or the BIOS had the wrong idea about it.
> The way I read the howto, all I have to do is make a 5meg first
> partition as the root. Is this correct? If I make the first partition 5
> meg, will the installation system find another partition and use it if
> I mount the second partition with /root as the mount point?
You don't need the first 5MB as root. What it recommends (I think)
is that you have a 5MB partition at the beginning which would be
/boot and this would be where your kernel image is. The kernel has
to be under 1023 cylinders entirely (newer Lilos don't need this anymore),
and this is the reason that /boot partition is mentioned. I never had it,
I do these things on my own, but for beginners, this is clearly a
good way to go.
> Need I even do all this if I am only using Linux? Can I, in other
> words, make the first partition 5 gig and still expect the BIOS to find
> the master boot record in the first 1024 cylinders?
The master boot record (mbr) is not only "in the first 1024 cylinders".
It is the very first sector on your disk. It is in your first one
cylinder. When the system boots, it reads the contents of the first
sector on the disk (head0, cylinder0, sector1) and executes it.
In that sector you have lilo which in turn will load the kernel.
By definition, at this time, you still rely on the BIOS' idea of the
disk geometry, and it has this 1024 cylinder limitation. This is
why the compressed kernel image (vmlinuz) should be under it.
Once the kernel is up and running it will probe your machine for
everything, including the hard disks, and will recognize them correctly.
As I know, never Lilos don't have this 1024 cylinder limitation,
but I have no experience with it.
Vilmos
------------------------------
From: [EMAIL PROTECTED] (Martin Gregorie)
Subject: Re: can a serial connection work when keyboard/monitor doesn't?
Date: Fri, 16 Mar 2001 17:31:55 GMT
On Fri, 16 Mar 2001 16:24:25 GMT, Randy R <[EMAIL PROTECTED]>
wrote:
>Would a loopback connection to the serial port work to fool it into
>thinking there was a console connction? Or would this cause other
>problems?
>
Shouldn't be needed. In my experience most computers can't tell the
difference between an unplugged terminal and one thats switched off.
Plugging a terminal in and switching it on should get the system's
attention if its going to respond at all.
Note: I'm talking about a genuine terminal, such as a Wyse-60. Things
might not be quite so easy if you're running a terminal emulator on a
PC of some sort.
--
gregorie | Martin Gregorie
@logica | Logica Ltd
com | +44 020 76379111
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: can't kill!
Date: 16 Mar 2001 09:32:11 -0800
Jean-David Beyer <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] wrote:
> >
> > Jean-David Beyer <[EMAIL PROTECTED]> writes:
> >
> [snip] about killing processes in D state.
>
> > > The same kind of thing happens to me from time to time. Sometimes the
> > > problem seems to be a disk file, sometimes a tape drive. The disk
> > > drives are on an Ultra-2 SCSI controller and the tape drive is on a
> > > separate narrow SCSI controller.
> > >
> > > Were I to try to turn something off, I am not sure what it would be,
> > > since the controllers and drives are all internal. I normally do not
> > > care to remove the case from my machines when the power is on.
> > > Furthermore, unplugging the SCSI controllers would probably crash the
> > > system, so I might as well reboot and not have to deal with a crashed
> > > system. Bad enough that some device is locked up.
> > >
> > I think the idea is that with devices, the writer of the
> > device driver should know best what to do when a particular piece of
> > hardware is having difficulties. Ideally the writer should ensure
> > that something which is stuck will timeout eventually. But device
> > drivers are written by lots of different people, probably less unified
> > in vision or uniform in construction than the rest of an OS, and
> > therefore something of a weak link.
>
> Great idea, but since for me, these are devices on SCSI controllers.
> Is there a separate driver for each different type of SCSI controller
> and for each different type of device you could attach to each SCSI
> controller? I thought the SCSI controllers were all supposed to have a
> standard API, so that one driver would do for all. If I am mistaken,
> should I really get the "writing Linux device drivers" book and
> rewrite the SCSI controller drivers, possibly putting a 300-second
> time-out on all the devices?
...<snip>...
Different SCSI controllers have different device drivers. You get a list
when you do 'make config' (or xconfig or menuconfig) on the linux kernel.
There are drivers for Adaptec, Buslogic, etc. I use a Tekram controller
and I have to go to Tekram's website to download the driver source and
patch it into my kernel source tree. One reason I'm not running kernel
2.4xx right now is that Tekram hasn't come out with a driver for it yet.
Also, different devices on the SCSI bus will have different drivers.
The SANE driver I use for my scanner on the SCSI bus is different from
the disk controller driver. I'm not qualified to go to a deeper level
than that on the linux kernel. Looking in the help files and other
documentation that are in /usr/src/linux and that are accessible
during a make config might help you identify exactly which packages
are involved. If anything is a module you can play around with insmod
and rmmod (when I want to use the scanner I have a whole hierarchy of
insmods I have to do in the correct order). Ultimately, if there's a
bug, I suppose you could report it on some mailing list for kernel
hackers, maybe even find the author of the driver from comments in
the source code.
--
Replace ragwind.localdomain with rahul for a working email address
------------------------------
Subject: Re: Redirect stdout from background process started in shell script???
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Fri, 16 Mar 2001 17:34:16 GMT
Pat Hennessy <[EMAIL PROTECTED]> writes:
> I can redirect the output of a process and place that process in the
> background just fine like so:
>
> ./process > /tmp/myPipe &
>
>
> But, when I try to do this from within a bash script the redirection
> does not take place.
>
> Anyone know what's wrong?
Please post your script. It should work. I also redirect many
stuff in scripts, and I never had problems with it.
Maybe your problem is different. Are you sure that what you see
is the stdout and not stderr? You can redirect stderr, too.
./process 2>&1 > /tmp/myPipe &
Vilmos
------------------------------
From: Rick Baartman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: A Better Web Browser...PLEASE!
Date: 16 Mar 2001 09:53:31 -0800
Try galeon http://galeon.sourceforge.net/
>From the web page:
"Galeon is a GNOME Web browser based on gecko (the mozilla rendering
engine). It's fast, it has a light interface, and it is fully
standards-compliant. You can download it but first take a look at some
screenshots and read additional documentation (installation...).
It requires Gnome and MOZILLA."
--
rick
------------------------------
From: mike <[EMAIL PROTECTED]>
Subject: KDE in Redhat 6.2 is missing the taskbar on bottom of screen
Date: Fri, 16 Mar 2001 12:51:29 -0500
Hi,
a while after I installed Redhat 6.2 on my system the lower
taskbar of KDE is missing. It is the one that has the
button (K) for the main KDE menu, the shortcuts, as for example,
the one to bring up an xterm, and the system time on the right hand
of the screen.
How can I restore KDE?
Thanks
Mike
P.S. Is the taskbar a seperate program that can be reinstalled
or is it majorly interwoven into the KDE desktop software?
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: can't kill!
Date: 16 Mar 2001 09:57:12 -0800
[EMAIL PROTECTED] writes:
> Jean-David Beyer <[EMAIL PROTECTED]> writes:
>
> > [EMAIL PROTECTED] wrote:
> > >
> > > Jean-David Beyer <[EMAIL PROTECTED]> writes:
> > >
...<snip>...
> Also, different devices on the SCSI bus will have different drivers.
> The SANE driver I use for my scanner on the SCSI bus is different from
> the disk controller driver. I'm not qualified to go to a deeper level
> than that on the linux kernel. Looking in the help files and other
> documentation that are in /usr/src/linux and that are accessible
> during a make config might help you identify exactly which packages
> are involved. If anything is a module you can play around with insmod
> and rmmod (when I want to use the scanner I have a whole hierarchy of
> insmods I have to do in the correct order). Ultimately, if there's a
...<snip>...
I should probably remind folks that if your boot partition is accessed
via a SCSI drive, that SCSI driver can't be a module because the
kernel wouldn't be able to load the module to read the drive. At the
very least, the image for a kernel that uses modules has to have built
into it the software to read the partition and understand the
filesystem of where the modules are stored.
--
Replace ragwind.localdomain with rahul for a working email address
------------------------------
** 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
******************************