Linux-Setup Digest #211, Volume #20 Tue, 12 Dec 00 18:13:07 EST
Contents:
linux raid questions ([EMAIL PROTECTED])
Re: Compile New Kernel (Gregory Davis)
compiling kernel 2.2.18 (Gregory Davis)
Re: Trouble with RealMagic Hollywood Card ("Vigil")
Re: Compile New Kernel (Paul Kimoto)
Re: SCSI detect problem with xcdroast-0.98alpha8 (Robert A. Nader)
Re: Kernel sees only part of memory (Ming He)
LIL- Dead after Kernel Compile on NT Duel Boot Laptop?? ("Phillip J. Allen")
Re: windows VFAT partitions too fat?! (Gill)
Amanda using Dell PowerVault 120T DLT ("Mike Lemmen")
Re: Sendmail question (Herb Stein)
Zip 100 Parallel Port ("Robert Morelli")
Re: compiling kernel 2.2.18 (Roger Leigh)
Re: set-up DSL? ([EMAIL PROTECTED])
a 2 cpu machine on linux ([EMAIL PROTECTED])
Scanner ("Aloysio")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.hardware,linux.dev.kernel
Subject: linux raid questions
Date: Tue, 12 Dec 2000 20:15:32 GMT
Reply-To: [EMAIL PROTECTED]
I am running Raid 1 on a Dual Pentium II 400 with 2 IDE drives and
have a few questions for anyone that knows. The distro is Mandrake 7.2
and I am running the stock 2.2.17-21 kernel that came with the distro.
Should I upgrade the kernel to 2.2.18? If so, does it require raid
patching?
What is the best way to change chunk sizes in a raid array?
Are there other parameters that can be changed for tuning purposes?
What is the best benchmark tool for ata harddisk io testing? i.e. is
bonnie good or should I use something better?
What are the best ways to recover from a power failure where the
filesystems do not unount cleanly?
If I am booting raid 1, which I am, how can I unmount /dev/md0 and
/dev/md1 in order to run e2fsck on harddrive partitions?
Thanks for any answers to the above.
Charles
------------------------------
From: Gregory Davis <[EMAIL PROTECTED]>
Subject: Re: Compile New Kernel
Date: Tue, 12 Dec 2000 15:26:00 -0500
philo wrote:
> I recently upgraded my red hat 6
> to mandrake 7.2
> but now want to recompile my kernel
>
> when i used red hat all i had to do was:
> make menuconfig
> or make xconfig
> if i recall correctly
> but when i try this with mandrake
> all i get is the error message:
>
> no rule to make target 'menuconfig'
> i do have my kernel source installed...
> so as someone who is still pretty new to linux...
> what am i missing?
> thus far i have not gotten an answer when i posted
> on the mandrake news group...
> so i'm trying here
>
> thank you!
>
> Philo
I am also having problems recompiling. Try doing "make clean" or for a
more thorough clean "make mrproper" at the command prompt. This cleans
out existing dependencies.
Greg
------------------------------
From: Gregory Davis <[EMAIL PROTECTED]>
Subject: compiling kernel 2.2.18
Date: Tue, 12 Dec 2000 15:35:21 -0500
Oh no, I can't seem to compile kernel 2.2.18 correctly.
I have comiled kernels before (2.2.14 through 2.2.17) and they all
worked fine after I was done. I have followed the guidlines as
described in the Kernel howto version 1 by Brian Somebody. The kernel
appears to compile ok, and I don't see any errors after "make dep." The
modules all compile right and install ok. My problems start after the
kernel has loaded and the SuSE init script takes over. I see an error
message in their handy "xconsole" window saying that the system can't
find a "map" file. Also, the init script tries to load usb which I
specifically left out of kernel. I also get about 6 to 8 lines of an
error message "cannot find module character device major 4." I would
send the exact copy of these error messages, but I don't know where they
are located after the boot. Below is my lilo.conf as I think that is
the source of the map error. (what the heck is a "map?") the kernel is
named 2.2.18_image and is in this directory all by itself. Maybe if
someone pointed me to a more appropriate howto that talks about init
scripts...
thanks,
Greg
lilo.conf:
boot = /dev/hda
vga = normal
read-only
prompt
timeout = 30
default = suse
image = /boot/vmlinuz
label = linux
root = /dev/hda3
initrd = /boot/initrd
image = /boot/vmlinuz.suse
image = suse
root = /dev/hda3
initrd = /boot/initrd.suse
image = /boot/2.2.18/2.2.18-image
label = 2.2.18
root = /dev/hda3
other = /dev/hda1
label = windows
end lilo.conf
------------------------------
From: "Vigil" <[EMAIL PROTECTED]>
Subject: Re: Trouble with RealMagic Hollywood Card
Date: Tue, 12 Dec 2000 20:38:19 +0000
>From where, exactly?
"Jaideep Tibrewala" <[EMAIL PROTECTED]> had the audacity to claim:
> Hello Has anyone had any success with this card? I installed it, downloaded
> the required files from the homepage.
--
.
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Compile New Kernel
Date: 12 Dec 2000 15:48:32 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, philo wrote:
> no rule to make target 'menuconfig'
You need to run make(1) from the top-level source directory, which should
contain the Makefile that has the "menuconfig" rule.
--
Paul Kimoto
This message was originally posted on Usenet in plain text. Any images,
hyperlinks, or the like shown here have been added without my consent,
and may be a violation of international copyright law.
------------------------------
From: Robert A. Nader <[EMAIL PROTECTED]>
Subject: Re: SCSI detect problem with xcdroast-0.98alpha8
Date: Tue, 12 Dec 2000 20:39:55 GMT
Problem solved by re-reading README and re-installing with:
cd /usr/local/src/xcdroast-0.98alpha8
make deinstall
make clean
make PREFIX=/usr/local
make install PREFIX=/usr/local
Thanks Thomas.
Rob -
Sent via Deja.com
http://www.deja.com/
------------------------------
Date: Tue, 12 Dec 2000 16:02:12 -0500
From: Ming He <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware
Subject: Re: Kernel sees only part of memory
What if I'm not using LILO, I can get linux to recognize more than 64MB by
recompiling kernel?
/ming
E J wrote:
> Exchange your memory and get linux compatible memory. Just kidding :)
>
> put append="mem=256M" in your /etc/lilo.conf and execute lilo.
>
> $ su -
> password: <secret>
> # cp /etc/lilo.conf /etc/lilo.conf.bak # just in case you screw up.
> # vi /etc/lilo.conf # use your editor to modify lilo.conf
>
> # this is an example of lilo.conf
> boot=/dev/hda3
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> message=/boot/message
> linear
> default=dos
>
> image=/boot/vmlinuz-2.2.16-22
> label=linux
> read-only
> # here is the append line to add
> append="mem=256M"
> root=/dev/hda4
>
> other=/dev/hda1
> label=dos
>
> # /sbin/lilo
> # reboot # cross your fingers and 256M will be used.
>
> Peter Linde wrote:
>
> > Dear all,
> >
> > I am running RH Linux 7.0 on an HP Kayak, which has
> > 2x733 Mhz processors and 256 Mb of memory. I also run Windows 2000
> > from a separate disk. While booting Linux, the kernel reports and uses
> > only 64 Mb of
> > memory. Under Windows the entire memory is seen and used.
> >
> > Any hints?
> >
> > Peter Linde
> > Lund Observatory
> > Sweden
------------------------------
Date: Tue, 12 Dec 2000 16:19:42 -0500
From: "Phillip J. Allen" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: LIL- Dead after Kernel Compile on NT Duel Boot Laptop??
Hi all,
For quit a while I have been trying to recompile a new kernel for my
RH6.2 Dell Inspiron 7500 Pentium III laptop so I can have access to my
NTFS disks. This is what I have done.
/usr/src/tar �xzf linux-2.2.17.tar.gz
cd /usr/src/linux-2.2.17
make mrproper
make xconfig
select all the options I think are necessary including ntfs support
make dep
make clean
emacs Makefile
change EXTRAVERSION = pa1 for my new kernel
make bzImage
make modules
make modules_install
cp -p /usr/src/linux-2.2.17/arch/i386/boot/bzImage
/boot/vmlinuz-2.2.17pa1
emacs /etc/lilo.conf
and added this to the end of my lilo.conf
image=/boot/vmlinuz-2.2.17pa1
label=palinux
vga=791
read-only
root=/dev/hda8
cd /usr/src
/sbin/lilo -v
/usr/src/tar -xzf pcmcia-cs-3.1.22.tar.gz
cd /usr/src/pcmcia-cs-3.1.22
make config
answered all question including noting the
/usr/src/linux-2.2.17 directory
make all
make install
After I reboot Lilo only gets to LIL-. And all is dead.
I have tried to rerun /sbin/lilo and still the same LIL- death.
So what is wrong? Earlier with week I complied a kernel and missed a
few things I wanted and at least the system booted to either kernel.
Now I cannot get LILO to work?
Must I delete and recreate the linked file /usr/src/linux ? Are there
any other files that must be linked to the /usr/src/linux-2.2.17
directory?
Must I update another file such as the System.map? If so why?
Since I am booting the machine with the Windows NT OS Loader must I make
a new boot sector to pass over to my c:\ drive? If so why did my
earlier kernel work?
Any ideas? I am starting to get annoyed with not getting a simple
little job like this work right.
Thanks in advance,
Phillip J. Allen
Consulting Geochemist/Geologist
Lima Peru
e-mail: [EMAIL PROTECTED]
------------------------------
From: Gill <[EMAIL PROTECTED]>
Subject: Re: windows VFAT partitions too fat?!
Date: Tue, 12 Dec 2000 23:59:56 +0200
Hi all,
Since this has turned into an academic debate I would just like
to post how i finally managed to get around this problem, in case
this might help someone in the future.
Here's what finally worked (not that i fully understand what went on)
an excerpt from my 'me and my linux' diary i keep under the pillow:
1. when creating the extended parttion using linux fdisk
it is assigned type 05.
this worked fine with the 'old' disk - it had one linux logic
and two windows. except the second windows (8GB) was not
recognized by linux. and WORSE Svend Olaf Mikkelsen told
me this is the wrong type and might damage my system.
With or without connection - that hard disk DIED after 3 months!
2. Indeed if you let windows create the extended partition it then
shows as type 0f. But then it seems that if you place a linux
logic there - windows 'recognizes' it and messes with it.
(at least when you place it before the windows logic).
3. Eventually the following worked:
1. partitioned the disk using a linux boot into 3 primaries:
windows (must be first!), linux, linux swap.
2. installed windows on hda1.
3. installed linux on hda2.
4. let *windows* fdisk add the extended, and made several under
4GB logicals within it.
5. added these to the linux /etc/fstab - they work fine.
bottom line:
a. i gave up on adding a linux logical (ie. have one big fat linux).
b. i let windows create and manage the extended.
good luck to all,
and thanks for your time eric & svend olaf.
-Gill
ps here's what it looks like today
[root@dod /home/jill]# /sbin/fdisk -l /dev/hda
Disk /dev/hda: 255 heads, 63 sectors, 2498 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 255 2048256 b Win95 FAT32
/dev/hda2 256 893 5124735 83 Linux
/dev/hda3 894 959 530145 82 Linux swap
/dev/hda4 960 2498 12362017+ f Win95 Ext'd (LBA)
/dev/hda5 960 1406 3590496 b Win95 FAT32
/dev/hda6 1407 1853 3590496 b Win95 FAT32
hope it lasts :)
------------------------------
From: "Mike Lemmen" <[EMAIL PROTECTED]>
Subject: Amanda using Dell PowerVault 120T DLT
Date: Tue, 12 Dec 2000 12:18:58 -1000
Hello,
I'm using RedHat 7.0 on a Dell Poweredge server. Trying to use amanda with
a DLT4000 Powervault 120T, I can use individual tapes just fine, but I've
been unable to find any programs/configurations that control the autoloader
feature. Anyone out there have a utility that will change tapes
automatically in conjunction with a nightly backup scheme?
Thanks,
Mike Lemmen
[EMAIL PROTECTED]
------------------------------
From: Herb Stein <[EMAIL PROTECTED]>
Subject: Re: Sendmail question
Date: Tue, 12 Dec 2000 16:38:43 -0600
I don't have a clean install of sendmail to look at, but you are probably
masquarading as somebody and need to add and entry to /etc/sendmail.cw
Look for the Fw directive in /etc/sendmail.cf and read about it.
cappie wrote:
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> says...
> > Sendmail question
> > I am running RedHat Linux 6.2. As my system boots up it loads Sendmail
> > just fine and gives an [OK] status. When I log onto the system I can
> > send out e-mail to friends and family fine. But when they send e-mail
> > back to me they get the following bounce back:
> >
> > "This Message was undeliverable due to the following reason:
> >
> > Each of the following recipients was rejected by a remote mail server.
> > The reasons given by the server are included to help you determine why
> > each recipient was rejected.
> >
> > Recipient: <[EMAIL PROTECTED]>
> > Reason: <[EMAIL PROTECTED]>... Relaying denied
> >
> > Please reply to [EMAIL PROTECTED]
> > if you feel this message to be in error."
> >
> > Can anyone help. What do I need to do to receive e-mail on my server to
> >
> > my local domain?
> >
> > Thanks for your help.
> >
> >
> >
> >
>
> try to find a file called "relay-domains" and add the hostnames or ip's
> of the systems which can have access.. (wildcards (.bla.com or 10.0.0.
> (something like that.. come on.. you're creative enough)) might work, I
> think..)
>
> also check your sendmail.cf and be sure that your local domain is
> defined somewhere (thought it was one of the first 10 variables.. I
> think it started with 'cw' or something)
>
> this should get rid of that stupid shit..
------------------------------
From: "Robert Morelli" <[EMAIL PROTECTED]>
Subject: Zip 100 Parallel Port
Date: Tue, 12 Dec 2000 15:56:41 -0700
I've been trying to get my parallel port zip drive to work without
success. I'm not even sure where to start in describing the problem
because I'm finding the Linux system to be so scantily documented
and so problematic in terms of reliability that it's hard to tell what's actually
working and what's not.
1. The only documentation I've been able to find on installing
zip support is a HOWTO document called "Zip Drive Mini-HOWTO."
It is a useful document, but considering that it is the only
documentation in the entire world that I've been able to find on zip
drives under Linux, there's a real need for more complete documentation.
2. I have a SCSI based system with a SCSI hard drive (/dev/sda)
and a jaz drive (/dev/sdb). I am running Red Hat 6.2
3. ppa is present as a module on the system. I can load the module
with
/sbin/insmod -v ppa
When I do so, the drive spins up, but I get no useful output other than
a confirmation that the module was loaded. In particular, there is no
message stating what devices the module has recognized.
4. The lp module is loaded sometime during boot up, but I don't
know how. The HOWTO document mentions a file called boot.local
in /etc/rc.d where the author (running Suse) puts two lines
insmod ppa
insmod lp
I'm not entirely sure what the Red Hat equivalent of boot.local is and
I don't want to muck with something if I'm not sure. In any case,
according to the document it's necessary for ppa to be loaded before
lp so I need to also know where lp is loaded.
5. The file /var/messages contains the same few messages repeated several
hundred times:
Dec 12 10:01:57 localhost kernel: scsi : 1 host.
Dec 12 10:02:33 localhost kernel: ppa: Version 2.03 (for Linux 2.2.x)
Dec 12 10:02:33 localhost kernel: ppa: Found device at ID 6, Attempting to use EPP 32
bit
Dec 12 10:02:33 localhost kernel: ppa: Communication established with ID 6 using EPP
32 bit
Dec 12 10:02:33 localhost kernel: scsi1 : Iomega VPI0 (ppa) interface
Dec 12 10:02:33 localhost kernel: scsi : 2 hosts.
Dec 12 10:02:33 localhost kernel: Vendor: IOMEGA Model: ZIP 100 Rev:
C.19
Dec 12 10:02:33 localhost kernel: Type: Direct-Access ANSI
SCSI revision: 02
Dec 12 10:02:33 localhost kernel: Detected scsi removable disk sdc at scsi1, channel
0, id 6, lun 0
Dec 12 10:02:34 localhost kernel: SCSI device sdc: hdwr sector= 512 bytes. Sectors=
196608 [96 MB] [0.1 GB]
Dec 12 10:02:34 localhost kernel: sdc: Write Protect is off
Dec 12 10:02:34 localhost kernel: sdc:SCSI disk error : host 1 channel 0 id 6 lun 0
return code = 27010000
Dec 12 10:02:34 localhost kernel: scsidisk I/O error: dev 08:20, sector 0
Dec 12 10:02:34 localhost kernel: unable to read partition table
Dec 12 10:02:59 localhost kernel: lp0: using parport0 (polling).
Dec 12 10:03:11 localhost kernel: SCSI error: host 1 id 6 lun 0 return code = 27010000
Dec 12 10:03:11 localhost kernel: ^ISense class 0, sense error 0, extended sense 0
Dec 12 10:03:11 localhost kernel: sdc : READ CAPACITY failed.
Dec 12 10:03:11 localhost kernel: sdc : status = 0, message = 00, host = 1, driver =
27
Dec 12 10:03:11 localhost kernel: sdc : sense not available.
Dec 12 10:03:11 localhost kernel: sdc : block size assumed to be 512 bytes, disk size
1GB.
Dec 12 10:03:11 localhost kernel: sdc:scsidisk I/O error: dev 08:20, sector 0
Dec 12 10:03:11 localhost kernel: unable to read partition table
To an expert, that may or may not make it obvious what is wrong.
This is just the beginning of an amazingly time consuming and frustrating
struggle to get this operating system do simple things like access common
hardware devices, but I'm going to stop here. Recounting every snag I've
had with Linux would fill an encyclopedia volume, and probably elicit no
responses.
Any help appreciated,
Robert Morelli
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Roger Leigh)
Subject: Re: compiling kernel 2.2.18
Date: 12 Dec 2000 22:54:11 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 12 Dec 2000 15:35:21 -0500, Gregory Davis <[EMAIL PROTECTED]> wrote:
>
>
>Oh no, I can't seem to compile kernel 2.2.18 correctly.
[snip problem]
There is a file /usr/src/linux/System.map
Copy this to /boot/System.map-2.2.18
For added effect,
cd /boot ; ln -s System.map-2.2.18 System.map
Whenever you recompile the kernel, make sure that the generated System.map
is copied correctly.
HTH,
Roger
--
Roger Leigh ** Registration Number: 151826, http://counter.li.org **
Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/
For GPG Public Key: finger [EMAIL PROTECTED] or see public keyservers.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: set-up DSL?
Date: Tue, 12 Dec 2000 22:45:11 GMT
Here's a total newbie question for you:
Where do you enter the information for IP, Subnet Mask, Default Gateway
and DNS servers for Linux? I'm running RH 6.2 using Pacbell's DSL. My
machine connects to the internet fine, because I entered the static IP
when installing, but I'm just wondering where I make the other changes
if need be,
Thanks!
~j
> Not all dsl lines need the pppoe stuff. As an example, my pacbell dsl
(not
> PBI) uses the alcatel athome external dsl box. This is a simple
ethernet
> device which plugs into the phone line and has a cat5 ethernet
connector
> which I then feed to a firewall/NAT box. For me, I brought up two
network
> interfaces in debian potato, told it that one was for the external
network
> and one for internal, plugged the internal network card into a hub,
did some
> fuddling/fiddling with routes, and installed and modified the ipmasq
deb
> package.
>
> I also have one static IP address but my ISP does not stop the use of
NAT.
> Its nice to have an enlightened (and BSD/Linux) ISP. :)
>
> --
> Michael Perry
> [EMAIL PROTECTED]
> ------------------
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: a 2 cpu machine on linux
Date: Tue, 12 Dec 2000 22:50:34 GMT
Hi.
I have a server running on 2 cpu's with sybase running. How could I
set it up so that the os ( linux ) runs on one cpu and sybase runs on
the other cpu?
Thanks for any help.
Shao
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Aloysio" <[EMAIL PROTECTED]>
Subject: Scanner
Date: Tue, 12 Dec 2000 20:53:56 -0000
===== Original Message =====
From: "Aloysio" <[EMAIL PROTECTED]>
Newsgroups: alt.os.linux
Sent: Tuesday, December 12, 2000 8:52 PM
Subject: Scanner
Hi, I do need some help. I bought a TCE S450 Scanner but I could not put
it
to work under Linux. Could anybody give a hand, please.
Thanks,
Aloysio
[EMAIL PROTECTED] (be aware of the no spam when replying)
------------------------------
** 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
******************************