Linux-Setup Digest #588, Volume #20 Thu, 8 Feb 01 07:13:12 EST
Contents:
Re: rsync problem - please help! (Michael Heiming)
Re: hwclock set wrong... or is it? (Villy Kruse)
Re: LI .. problem ... (subuno)
Re: What does Lilo write to boot= ? (Villy Kruse)
Re: What does Lilo write to boot= ? (Villy Kruse)
Re: Win 95/ linux (Villy Kruse)
ATA100 RAID Question ([EMAIL PROTECTED])
Re: Can't mount Floppy or Cdrom (Eric)
Re: Linux and Windows 2000 on one notebook? (Serge Eric Thiam Nkuiguieng)
Re: Linux Panic after install (Eric)
Re: Help: ISA internal modem ("Andreas Nauerz")
Re: /dev/cdrom: bread failed (Eric)
Re: help install tekram scsi adaptor ([EMAIL PROTECTED])
Linux newbie: I need help in installing ResHat 7 on a machine with Win 98 already
present... ("Bjarke Thor Iversen")
Re: Glibc upgrade on Debian 2.2 Potato (jerome Moliere)
Re: Help: ISA internal modem ("Duane Healing")
X Window to WinNT (Joerg Ettrich)
hdparm compiler error with Kernel 2.4.1 (Alexander Roalter)
----------------------------------------------------------------------------
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: rsync problem - please help!
Date: Thu, 08 Feb 2001 09:41:46 +0100
John Mravunac wrote:
> Hi,
>
> I'm hoping you are able to give me some advice. The problem I am having is
> that I need to schedule a cron job to run rsync to replicate a database and
> website here at work. If I run the job below, every time the job is run, an
> rsync and ssh2 process are left in the R process state (runnable - on run
> queue). These processes begin to take up much of the memory fairly quickly.
> But if I was to run the rsync at the command line it runs and exits
> perfectly. Can you tell me what I am doing wrong here? :)
>
> #!/bin/sh
>
> # Replicating the databases and tables from Inet-aus1 to Inet-usa1
>
> # 0 * * * * root
>
> rsync --verbose --progress --stats --compress --rsh=/usr/local/bin/ssh2 --re
> cursive --times --perms --links --delete --exclude="*.err" --exclude="*.log*
> " --exclude="*.pid" /usr/local/mysql/var 192.168.11.1:/usr/local/mysql >
> /tmp/output.rsync.mysql
>
> Thanking you very much for any help you may be able to offer!
> John Mravunac :^)
Hello,
that's how I'm running rsync over ssh, just create a user who can login without
password,
using ssh keyexchange, run ssh -v -v user@server to get this working first. Of
course this user should
have the rights to read/write where you want to sync.
#!/bin/sh
nice -n 19 rsync -rq -e ssh --rsync-path=/usr/local/bin/nice-rsync
/usr/local/mysql/var 192.168.11.1:/usr/local/mysql
change q to v until it works as expected...:-)
this rsync-path is just a script on the remote side:
#!/bin/sh
exec nice -n 19 rsync $*
I do this nice -n 19 because of the high load born during the rsync process,
the author of rsync (from the samba team) writes
on the rsync page (somewhere on www.samba.org), that this is due to a not very
good implementation of rsync,
but he hadn't time to rewrite it yet....
If everything is working run it from CRON.
Hope this helps.
Good luck
Michael Heiming
Sysadmin
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: hwclock set wrong... or is it?
Date: 8 Feb 2001 08:56:15 GMT
On Wed, 07 Feb 2001 17:05:53 GMT,
Peter B. Steiger <[EMAIL PROTECTED]> wrote:
>
>Instead, I get exactly the opposite. The date command shows
>the correct local time (from the system clock), but hwclock --show
>--utc ALSO shows the local time, instead of the UTC time. And
>hwclock --show --localtime shows UTC.
>
When you specify --utc it tells hwclock that RTC is running UTC time
so the dicplay can be converted to local time. Without --utc
you pretend the clock runs in local time and will therefore display
the time as is.
>Am I doing something wrong, or am I just misunderstanding the
>UTC/local time relationship as stored in the RTC?
>
No, the manual has confused you.
Villy
------------------------------
From: subuno <[EMAIL PROTECTED]>
Subject: Re: LI .. problem ...
Date: Thu, 08 Feb 2001 08:01:11 GMT
Once you get linux booted from disk you can go in and edit your
/etc/lilo.conf file to boot from hda(your boot sector). YOu can then
run lilo and should be good to go. If you need more explanation their
is lots to find by searching deja.com.
Cheers,
subuno
Eric wrote:
>
> maher abedib wrote:
> >
> > Opssssssss....actually "I still can load the LILO properly order" is
> > mistaken.
> > The correct one is I still can not load the LILO properly order.
> >
> > maher
> >
> > maher abedib wrote:
> > >
> > > Hi
> > >
> > > I try to install redhat 6.2 on my 10GB hard disk.The disk is already
> > > installed with windows 98.I have also made a 50% for windows partition
> > > and 50% for linux partiton.But I still can load the LILO properly in
> > > order.How do I recover this problem?
> > >
> > > Every time I boot the machine, the LI and it start to hangs .....
> > >
>
> I guess linux' /boot is above cyl. 1024.
>
> If that's true, update lilo to a version of 21.4.3 or use a floppy to
> boot linux
>
> Eric
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: What does Lilo write to boot= ?
Date: 8 Feb 2001 09:03:17 GMT
On Thu, 08 Feb 2001 01:02:09 +0000, Jeff Moore <[EMAIL PROTECTED]> wrote:
>Lilo does not write to /boot. It writes executable code to the boot record
>of the drive you select, or master boot record of your first drive, which
>ever you select. This is not a partition, but it is a program written into
>the boot track of your hard disk. You can clear the master boot record in
>dos by running fdisk /mbr. This will overwrite lilo and restore your dos
>boot record. /boot is for mounting the initial filesystem, modules, system
>map, and such.
>
When running the lilo command it creates the file /boot/map which
contains the absolute sector address of each block of each file
needed in the boot request. The sector address of this file
is patched into the lilo loader which is then written to the
first sector of the device you specify in the boot= line
in lilo.conf.
The lilo command may also create a file /boot/boot.xxxx if it doesn't
already exist. This file is used to support the "lilo -u" command.
Villy
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: What does Lilo write to boot= ?
Date: 8 Feb 2001 09:09:14 GMT
On Thu, 08 Feb 2001 08:47:51 +0100,
Juergen Pfann <[EMAIL PROTECTED]> wrote:
>So, if I understand things right, the machine code in the MBR/PBR
>is LILO's first stage - limited to 446 bytes. It then jumps to the
>location of /boot/map, to read all configurations from that file,
>and to go further to the resp. sectors according to the user's choice.
>If you have several configurations in several partitions, like me,
>the one with the kernel in the same /boot location is just one
>of them - no more special than the others....
>
Actualy the lilo loader as booted from the boot sector reads in /boot/map
based on the sector addresses patched into the boot code at install time.
The second stage loader is one of the other files in /boot.
It then uses the contents of /boot/map for the sector addresses of the
files to be booted, and also the arguments and other things you have
specified in lilo.conf.
Villy
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Win 95/ linux
Date: 8 Feb 2001 09:11:54 GMT
On Thu, 08 Feb 2001 08:51:05 +0100, Eric <[EMAIL PROTECTED]> wrote:
>Sounds like the FS on C: is gone.
>try if the disc itself is still okay.
>run the following command:
>
>dd if=/dev/hda1 of=/dev/null
>
>If you get any errors, the disc has bad sectors.
>Whatever happens, I hope you made a good back-up.
>
This can happen if you mistake the purpose of the boot= parameter
in lilo.conf. If so, use "lilo -u" to back out the damage.
>What did you exactly do when you made "changes" to the partition table?
>
Villy
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware
Subject: ATA100 RAID Question
Date: Thu, 08 Feb 2001 09:11:13 GMT
Hi
I have bought a ATA-100 RAID Card (use HPT370 chipset) .
if I run Raid 0+1 ,if one of the Hard Disk have the problem, the System
should still can Boot, but is that any Program or methods to know/
monita the harddisk's status!?
THanks!
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Can't mount Floppy or Cdrom
Date: Thu, 08 Feb 2001 10:30:41 +0100
Reply-To: [EMAIL PROTECTED]
subuno wrote:
>
> I can't seem to mount my floppy drive or my cdrom drive. I was able to
> before and am now having a problem. I am tring to go throught and
> Armour my box so I may have messed something up. I have an /etc/fstab
> file in place and it says that I have dev=/dev/fd0 and dev=/dev/cdrom
> and it says that they are supermount. I also checked my /mount
> directory and those directories are there. when I try to 'cd' to
> /floppy or /cdrom the terminal locks up. I can alt+F2 to get a new
> login so it dosen't lock up the whole system. I have tried to mount as
> root and as a normal user and get the same results. I am having some
> strange messages when I 'su' from root to a user account. I am able to
> do so but I get a message that says bash: /dev/tty2: Permission denied.
> Then when I sometimes get 'ls' the directory I get ls: .: Permission
> denied. When I looked in the /var/messages file I see a message that
> says 'end_request_: I/O Error, dev 02:00 (floppy) sector 0 . When I go
> to /dev and try to 'cat fd0' I get the message back 'device not
> configured'. Any help would be appriciated as I am tiring of fixing
> problems more than learning how to use Linux. Yes this is also a lesson
> for me to start backing up files before I make changes.
>
Sounds like the /dev/ directory is messed up.
What entries do you have for floppy/cdrom/tty* etc
Eric
------------------------------
From: Serge Eric Thiam Nkuiguieng <[EMAIL PROTECTED]>
Subject: Re: Linux and Windows 2000 on one notebook?
Date: Thu, 08 Feb 2001 10:34:13 +0100
I have both running on a Fujitsu/Siemens 750 AGP notebook without a
problem :-) If you need any help setting them up on your notebook, feel
free to ask.
Frederik Himpe wrote:
>
> On Wed, 7 Feb 2001 20:49:58 +0100 Georg Schwarz wrote:
>
> > Is there any FAQ/howto/documentation for setting up a notebook with both
> > Windows 2000 and Linux (e.g. which pitfalls to avoid, etc.)?
>
> Maybe you could make sure your graphics adapter is supported, check
> http://www.xfree.org/4.0.1/Status.html
>
> And if you want to use the Windows 2000 boot loader, read the Linux + NT
> loader mini-howto on www.linuxdoc.org
>
> Otherwise, I can't think of any particular problems, just follow the
> instructions/manual about the setup, which you can find on the homepage of
> the distribution you plan to install.
>
> Greetings,
> Frederik
>
> --
> Frederik's Linux-Mandrake Experience Story
> http://www.mandrakestory.cjb.net - http://how.to/mandrakestory
> Latest article: Playing AVI movies in Mandrake
--
Serge Eric Thiam. o _ _ _
__o __o __o __o /\_ _ \\o (_)\__/o (_)
_`\<, _`\<, _`\<, _`\<, _>(_) (_)/<_ \_| \ _|/' \/
(_)/(_) (_)/(_) (_)/(_) (_)/(_) (_) (_) (_) (_)' _\o_
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Linux Panic after install
Date: Thu, 08 Feb 2001 10:34:33 +0100
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> In The Name of GOD
>
> Hi, I have been Installed Red Hat Linux 6.0 on my hard disk(6 GB)(on
> partition hda6) but when linux boot i get the following error message
>
> "Kernel Panic: VFS: unable to mount root fs on 03:08"
>
It tries to find the root FS on hda8.
This will obviously fail if it is on hda6
when you boot linux, and get the lilo prompt, enter:
linux root=/dev/hda6
And adjust /etc/lilo.conf afterwards, so you don't need
to do this all the time. Don't forget to run /sbin/lilo
after you changed lilo.conf
Eric
------------------------------
From: "Andreas Nauerz" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Help: ISA internal modem
Date: Thu, 8 Feb 2001 10:37:41 +0100
Hey, Du you know how to integrate this LT modem driver for the Lucent
winmodem ?
See my post from today at 10.28am what I have done yet.
Best regards,
Andreas
Duane Healing <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
RGkg6.1151$[EMAIL PROTECTED]
> It's a winmodem. Get a real modem. Or at least a winmodem based on
> the LT chipset. There are drivers for that.
>
> --
> -Duane
> -DNAware SoftLabs.
>
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> wrote:
>
> > **** Post for FREE via your newsreader at post.usenet.com ****
> >
> > I recently installed Redhat Linux 7 on my computer but I was unable to
> > set up my ISA PnP internal modem(Wearnes MediaSurf 56K DSP, ESS chip).
> >
> > I tried pnpdump, isapnp, setserial and modemconf but none seemed to
> > work. pnpdump -c>/etc/isapnp.cof; isapnp /etc/isapnp.conf generated a
> > check error but I was able to let it pass if I delete the "(CHECK)"'s.
> > Nevertheless I could not see that the designated irq and ports are
> > utilized and setserial failed.
> >
> > I think my modem is not a winmodem so there should be a way to correctly
> > set it up. Does anyone have any advice? Thanks a lot.
> >
> >
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
> > http://www.usenet.com
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: /dev/cdrom: bread failed
Date: Thu, 08 Feb 2001 10:42:07 +0100
Reply-To: [EMAIL PROTECTED]
> hdc is correct; it's the only drive on my secondary IDE controller.
> The CD itself is good; it reads fine in my other system. The drive
> is also good; I can read it when I boot to Winduhs.
>
> /etc/fstab says this:
> /dev/cdrom /mnt/cdrom /iso9660 user,ro,noauto,unhide
>
> /mnt/cdrom does exist (with attributes drwxrwxr-x)
> /dev/cdrom is a link to /dev/hdc (attributes br--r--r--)
what is the full output of
`ls -l /dev/hdc`
It should be something like:
br--r--r-- 1 root disk 22, 0 May 5 1998 hdc
Notice the major/minor numbers 22,0
If these are incorrect, use mknod to recreate hdc
Eric
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: help install tekram scsi adaptor
Date: Thu, 08 Feb 2001 10:08:01 GMT
In <3a81e377$2$qnivfs$[EMAIL PROTECTED]>, on 02/08/01
at 12:14 AM, [EMAIL PROTECTED] said:
>In <95sfi6$1tul$[EMAIL PROTECTED]>, on 02/07/01
> at 11:43 PM, "Peter Tselios" <[EMAIL PROTECTED]> said:
>>Hi,
>>first of all to note that I am writing this from my Windows
>>machine, and that I run Suse on my Linux box.
>>Now. I had a similar problem (since I had another adapter during
>>the installation). The only solution that worked for me was the
>>recompilation of the kernel. Since I did not wanted to change
>>the default kernel, I made the "classic" make xconfig, I
>>selected the default values except of the SCSI section. Then I
>>made make dep, make modules make modules_install and that was
>>all!
>>Peter.
>Oh, ok. I was slowly drawing this conclusion. I'm having some
>trouble with the kernel compile setup here (I think more and
>more this Mandrake stuff is a little flaky) but I'll explore
>this direction.
>Thanks for the tip.
>F.
Turns out I didn't have to compile but I'm not sure what I did.
One thing was that the kernel compilation stuff wasn't installed
so I slapped that on.
(The Mandrake installation put a bunch of junk on the HD I
wouldn't have chosen and seems to be missing stuff, like the
sources, which I normally would have installed. I shouldn't be
too quick to blame the install since I may have made the errors
myself. I have to sort things out carefully - delete or shift
some stuff to other partitions - when I get time to play. I have
99% of this partition filled!)
Anyway, I was also trying to load the wrong driver though I had
tried the right driver once before without success. Anyway, I
have access to the CD-RW (Yamaha) and will start trying to burn
when I have time (tonight or tomorrow).
F.
===========================================================
Felmon John Davis
Union College / Schenectady, NY
os/2 - ma kauft koi katz em sack
===========================================================
------------------------------
From: "Bjarke Thor Iversen" <[EMAIL PROTECTED]>
Subject: Linux newbie: I need help in installing ResHat 7 on a machine with Win 98
already present...
Date: Thu, 8 Feb 2001 10:18:08 -0000
Hi, I need some help in Insltalling linux onto my machine...
I have two Hard drives, and I intend to install RedHat 7 on One(6 GB)
and keep my prev. os, win 98, on the other(3 GB), Is that not the smartest
way?
I have made several atempts, but they all fail at the same point: When all
is installed, and I boot up the computer(wich is then carrying Win98 and
RedHat Linux 7), the LILO starts up, which it should, but never gets past
the "LI"(it just writes "LI" on the screen and then freezez up!!!!!).
Should I maby install Linux and then Win 98 to let the win loader override
the LILO(as a os selector) or do I need to fiff something? One little
comment on my knowlidge of computers, I am a total newbie concerning LINUX,
but I am a intermediate computer user,
your truly
Bjarke Thor
[EMAIL PROTECTED]
------------------------------
From: jerome Moliere <[EMAIL PROTECTED]>
Subject: Re: Glibc upgrade on Debian 2.2 Potato
Date: Thu, 08 Feb 2001 11:31:42 +0100
Duane Healing a �crit :
>
> You'll want to upgrade the system from potato to woody.
> Edit your /etc/apt/sources.list to point to a Debian mirror with woody,
> then do an "apt-get update" and an "apt-get dist-upgrade". Make a backup
> of any critical files first in case of any problems. I just did this on
> one of my systems and had no significant problems at all.
thanks for your advice dwayne
cheers
Jerome
--
Jerome MOLIERE - World Wide Report
GNU/Linux addict
"I don't fear computers , I fear lack of them" Isaac Asimov
------------------------------
From: "Duane Healing" <[EMAIL PROTECTED]>
Subject: Re: Help: ISA internal modem
Crossposted-To: comp.os.linux.hardware
Date: Thu, 08 Feb 2001 03:36:36 -0800
I just downloaded the driver from http://walbran.org/sean/linux/stodolsk/
and followed the directions. It actually works really well, consistantly
makes great connections and has been fairly reliable.
--
-Duane
-DNAware SoftLabs
In article <95tpd3$ikd4c$[EMAIL PROTECTED]>, "Andreas Nauerz"
<[EMAIL PROTECTED]> wrote:
> Hey, Du you know how to integrate this LT modem driver for the Lucent
> winmodem ?
>
> See my post from today at 10.28am what I have done yet.
>
------------------------------
From: Joerg Ettrich <[EMAIL PROTECTED]>
Subject: X Window to WinNT
Date: Thu, 08 Feb 2001 12:44:23 +0100
Hi all,
I'm searching for a tool, which enables me to get access to a NT box
(for example running MS Office) from all my Linux and Unix (DEC) machines.
I heard something about "vmware" but I think this is more a tool which
enables me to have two operating systems on one machine (?), I want to
have only one NT box in my network and I want to be able to access it,
specially the MS office, under LINUX and UNIX (DEC).
Can anyone help me ....????
thanks in advance,
kind regards,
Joerg
------------------------------
From: Alexander Roalter <[EMAIL PROTECTED]>
Subject: hdparm compiler error with Kernel 2.4.1
Date: Thu, 08 Feb 2001 13:07:48 +0100
When compiling hdparm 3.9 from scratch with a 2.4.1 Kernel and glibc
2.2.1 (with gcc 2.95.2.1)
I get an error in the include files (/usr/include/linux/fs.h, references
to
/usr/include/linux/string.h) and complains about missing }, unknown
expressions __extern__ or
something, defines not defines and so on.
I was wondering if someone has encountered the same problems. Using and
old binary works, but
since all my stuff is self-compiled, I'd like to do this with hdparm,
too.
Regards,
Alexander Roalter
------------------------------
** 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.setup.
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-Setup Digest
******************************