Linux-Setup Digest #157, Volume #21 Thu, 3 May 01 07:13:08 EDT
Contents:
Re: Kernel 2.4.4 compile error - lex: command not found (Nader)
Re: Lilo with WinNT ("Eric")
Re: run two linuxes (Faux_Pseudo)
Re: File System going bad ("Peter T. Breuer")
Re: Doing a little research regarding AMD Duron (Alexander Martinez)
SoundFusion sound card?? ([EMAIL PROTECTED])
REQ: Linux boot floppy, w/ Xenix & DOS drivers (see inside) ("Innov@tion")
Re: How to download and make bootable Red Hat 7.1 disks? (Dino Hsu)
Re: Kernel 2.4.4 compile error - lex: command not found ("Peter T. Breuer")
Red Hat disk recognition? setup problem (Rob Knell)
Re: In linux how is the Updation?? ("Glitch")
Having problems with X ("Michael H. T�rving")
Apache PHP (Lars Willemsens)
Re: Apache PHP (H.Bruijn)
----------------------------------------------------------------------------
From: Nader <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4.4 compile error - lex: command not found
Date: Wed, 02 May 2001 23:05:41 -0700
You may find it odd, but Markus' fix did the trick. No need to install lex or
flex.
Markus, why did I need to do this? Is 2.4.4 missing the latest driver code
for aic7xxx?
And thanks for your help!!!
"Peter T. Breuer" wrote:
> Markus Kossmann <[EMAIL PROTECTED]> wrote:
> > Nader wrote:
> >> I patched the 2.4.2 source code with patch-2.4.3 and patch-2.4.4. After
> >> make clean, mrproper, dep, etc., the make bzImage fails:
> >>
> >> make -C aicasm
> >> make[5]: Entering directory
> >> `/usr/src/linux-2.4.4/drivers/scsi/aic7xxx/aicasm'
> >> /bin/sh: lex: command not found
> >>
> >> How do I correct this? Do I need to install lex? I do have flex
>
> Install lex (flex) for a start.
>
> > Get the patch for the current version of the aic7xxx driver from
> > http://people.FreeBSD.org/~gibbs/linux/, apply it and _don't_ enable
> > CONFIG_AIC7XXX_BUILD_FIRMWARE when configuring it .
>
> Why not? I have it enabled on my 6.1.5 and 6.1.8. How did this comment
> creep in here anyways ... it doesn't seem to relate to the subject.
> Oh well.
>
> Peter
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: Re: Lilo with WinNT
Date: Thu, 3 May 2001 09:39:07 +0200
> Hopefully, you have a Windows 2000 boot disk or rescue disk of some sort
> because all of the info I have seen says if you are dual booting with NT ,
> then you must NOT install LILO to the MBR or you will wipe out the OS
Loader
not true.
NT does not install a bootloader in the MBR.
It uses the default DOS MBR. The NT bootloader is on the NT C: partition
> in NT. The instructions seem to always recommend loading LILO to the /
> partition and to use a Linux boot disk to initiate LILO. Maybe someone
has
> a solution, but you could be in for some trouble if LILO is in your MBR.
There are reasons why LILO shouldn't be in the MBR. The location
of the NT loader isn't one of them. (I personally don't find any reason
convincing enough to put LILO anywhere else then in the MBR)
> >
> > Hi Horst,
> >
> > I'm currently runnin (trying to run) a very similar configration to
> > yours.
you posted to a NG. I'm not Horst, I doubt your system is similar to mine.
> > I installed Win2000 then managed to ahve Linux (Distro is Mandrake). I
> > worked out the fact that the linux won't work properly unless I install
> > the XFree4, but I now seem to be unable to boot in Win2000.
linux does work properly without any X whatsoever.
> > My disk is partition like this :
> > /hda1 : 1 Gb --> Win2000 NTFS (Type 07 in cfdisk)
What's the type of hda2?
You should post the output of cfdisk as is.
`cfdisk -P t /dev/hda`
> > /hda5 : 1.5Gb --> /usr Ext2
> > /hda6 : 2 Gb --> Data Win FAT32
> > /hda7 : 2 GB --> Pgrm Win Fat32
> > /hda8 : 520Mb --> Swap
> > /hda9 : 800Mb --> / Ext2
> > /hda10 : 1.7Gb --> /opt Ext2
> >
> > The system boots fine in Linux but doesn't seem to be able to view the
> > Win partition anymore...
??
linux isn't able?
> > When requesting to boot up in Win it just says
> > Loading Win
Ah, windows doesn't boot you mean.
> > And then nothing .... Here below you may find attached copy of my
> > lilo.conf that I've modified a few times now without success (without
> > forgetting to /sbin/lilo afterwards each time).
What have you done?
running /sbin/lilo can destroy the NT loader, if teh lilo.conf file is wrong
> > boot=/dev/hda
Did this *ever* contain hda1?
Did you run /sbin/lilo with that?
Then you're into trouble. You destroyed the NT loader.
If you don't recall, check if the file /boot/boot.0301 exists.
If so, you overwrote the loader.
You can restore it easily though:
(First check that boot.0301 really contains what you expect!
check the date, and contents with a hex-viewer)
`dd if=/boot/boot.0301 of=/dev/hda1 bs=512 count=1`
Now it should boot again.
Eric
------------------------------
From: [EMAIL PROTECTED] (Faux_Pseudo)
Subject: Re: run two linuxes
Reply-To: [EMAIL PROTECTED]
Date: Thu, 03 May 2001 07:56:06 GMT
all very well said but i would add 2 more partitions
/root (shared)
/home (shared)
this way no matter what linux you are booting you can have the same
home dir.
on my other desktop i have a linux installed on it but its mostly a
win box for faux wife.
inside of windows there is a C:\faux
and as far as the linux install is configured that is the same as
/home/faux
this way i can use cygwin slrn bitchx lynx and a few other must have
apps running from windows. while updateing one rc file on one os it
automaticly dose it for the other os. Now isn't that nice.
--(Once apon a time, in comp.os.linux.setup,)--
--(Kwan Lowe said it like only they can.)--
> alik blochin <[EMAIL PROTECTED]> wrote:
> > Hi
> > can i run both Mandrake 8.0 and RH7.1 on the same hdisk ?
> > i suppose i can but two separate disks would definitly be
> > better choice for such endevour...
>
> > the question is how do i do it?
>
> These are some rough notes I created for doing a Mandrake 8.0/7.2 dual boot.
> The same stuff applies to RH7/Mdk
>
>
>
> Install the first OS, making sure to create a /boot, swap and / partition.
> Create the secondary boot OS partitions about 1.2G. Label them if needed.
> E.g.
> SDA1 /boot (shared)
> SDA2 /swap (shared)
> SDA5 /
> SDA6 /Mandrake8.0
>
> Do create a bootdisk if asked.
> Boot into the newly installed OS and backup the /boot partition. The
> /boot/vmlinuz should be a symlink to the vmlinuz-kernel_version. If it is not,
> copy vmlinuz to vmlinuz-kernel_version. Do the same for system.map.
>
>
> Shutdown and begin the installation for the next OS.
> Use the same boot partition and swap space. Choose the next available partition
> for your / filesystem. E.g.:
> SDA1 /boot (shared)
> SDA2 /swap (shared)
> SDA5 /Mandrake7.2
> SDA6 /
>
> Make sure that /boot is *not* re-formatted.
>
> Install the new OS as normal. Boot into the new OS and make the following
> changes:
>
> Check the version of lilo. If the versions differ, synchronize them to the same
> version. (Not absolutely necessary, but makes changes easier).
>
> Edit the /etc/lilo.conf file to include both OS's:
>
>
> boot=/dev/hda
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=90
> linear
> default=Mandrake7.2
>
> image=/boot/vmlinuz-2.2.17-21mdk
> label=Mandrake7.2
> read-only
> root=/dev/sda5
> append="mem=192M"
> initrd=/boot/initrd-2.2.17-21mdk.img
>
> image=/boot/vmlinuz-2.4.3-20mdk
> label=Mandrake8.0
> read-only
> root=/dev/sda6
> append="mem=192M"
>
> If necessary, add initrd entries pointing to the /boot/initrd-KERNELVERSION.img
> files. This is needed for most SCSI devices.
>
> Delete the /boot/system.map link if it exists. You should have
> System.map.KERNELVERSION for each bootable OS.
>
>
>
> Run lilo.
>
> That's it --
>
>
--
--(UIN=66618055)--
--([EMAIL PROTECTED]:45_/home/faux)-- cat .sig
GUI's are for slackers. ibpconf.sh 6.1 on freshmeat.net
The easiest way to customize the command line. By Faux_Pseudo
It's a damn poor mind that can only think of one way to spell a word.
- Andrew Jackson
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,alt.linux.slakware
Subject: Re: File System going bad
Date: Thu, 3 May 2001 09:45:22 +0200
In comp.os.linux.help Scott <[EMAIL PROTECTED]> wrote:
> did you actually read my original post, are you just
> trolling for a flame war?
> This problem takes weeks to show up. It's not something I just
> place on a bench, boot up and see if it's there.
So your second task is to develop an accelerator for the condition,
as well as your first ask being to develop a diagnostic for it!
(I am trying to teach you how to test!).
Peter
------------------------------
From: Alexander Martinez <[EMAIL PROTECTED]>
Subject: Re: Doing a little research regarding AMD Duron
Date: Thu, 03 May 2001 10:35:26 +0200
Zhan wrote:
> Hi, I would like to hear from anyone who has successfully installed a Linux
> distro on a machine running an AMD Duron processor. In your reply, please
> include your system configuration, the related distro with version, and any
> other pertinent information. I would also like to hear from those who have
> been unable to install Linux on a Duron machine. Please, of course, include
> the info mentioned above.
>
> Thanks for your help!
Hello,
this is my system configuration:
CPU: AMD Duron 800MHz
Motherboard: Elitegroup K7VZA
RAM: 128 MB PC-100
IDE: Western Digital WDC WD300BB-00AUA1 (ATA-100) 30Gig
HD on /dev/hda
IBM-DTTA-350840 8Gig HD on /dev/hdc
AOpen CD-Rom 48x/TKU on /dev/hdd
graphics: 3Dfx Voodoo3 3000 (AGP)
network: Realtek 8029 (PCI)
sound: Soundblaster Live! Player 1024
tv: Hauppauge WinTV with bt878 chipset
distribution: Debian/GNU Linux 2.2r3
kernel: 2.4.3
why do you need this information?
Greetings
Alex
------------------------------
From: [EMAIL PROTECTED]
Subject: SoundFusion sound card??
Date: 3 May 2001 08:45:15 GMT
Hi all, I'm setting up a HP Vectra VL. The idea is to
wipe out the WinNT installation and put Linux on it.
Win NT tell me that the sound card is a "Sound Fusion".
Anybody have an idea of what the heck is it? I've never
heard about it. Checked also the ALSA web site and there is
no trace of it... neither between the 'unsupported' cards...
Usually I will simply forget about this, but the machine is
not for my personal use, and I want to show off the other
Windroids that even Linux can run on this thing.
Any idea ?
Davide
------------------------------
From: "Innov@tion" <[EMAIL PROTECTED]>
Subject: REQ: Linux boot floppy, w/ Xenix & DOS drivers (see inside)
Reply-To: this newsgroup....
Date: Thu, 03 May 2001 08:45:27 GMT
REQ: Linux boot floppy, w/ Xenix & DOS drivers (see inside)
I am coming over from the *other side*, the DOS world, looking for
some help. My friend at work has a Xenix box that is mostly dead,
except for the SCSI hard drive. We were close to having a solution,
because we found a process on the 'Net to image a Linux boot floppy.
The Linux boot floppy didn't have a Xenix driver compiled into the
kernel, and I guess we need to make sure that the Linux can mount a
DOS floppy drive, as well.
We need to boot, log into the O/S, mount the Xenix hard drive, mount
the other floppy in DOS, and search for text files on the Xenix drive,
to copy them to a DOS floppy disk.
If one of the wizards in this group could help, it would be very cool.
I'm guessing that the disk image of such a boot floppy wouldn't be
that big, but we would understand it might be some work to help us
with this. So, thanks for just reading our request. And, I would
understand that we should pick the right group for posting and
retrieving the image.
Keep in mind that we don't run Linux, so a disk image would probably
have to be self-installing, like maybe a WinImage executable.
------------------------------
From: Dino Hsu <[EMAIL PROTECTED]>
Subject: Re: How to download and make bootable Red Hat 7.1 disks?
Date: Thu, 03 May 2001 16:49:16 +0800
On 2 May 2001 09:30:37 GMT, [EMAIL PROTECTED] (H.Bruijn)
wrote:
>On Wed, 02 May 2001 17:09:10 +0800, Dino Hsu allegedly wrote:
>>Dear all,
>>
>>I would like to download Red Had 7.1 and make bootable disks from it.
>>
>>Firstly, the download part, I have tried the ftp.redhat.com and some
>>mirror sites, with either IE5.5 or Cuteftp 4.0. I cannot succeed yet.
>>The download is difficult, because it is not downloaded as a single
>>compressed file, but a lot of directories and files under
>>/pub/redhat/redhat-7.1-en (ftp.redhat.com). Is there a way to download
>>the whole thing as a single compressed file as I do with Oracle? On
>>the other hand, how do we know the overall size of the download, when
>>it is a lot of direcotries and files?
>>
>>Secondly, the bootable part, what is the correct procedure and file
>>layout when I make disks from what I download?
>>
>>I know many people get Linux from Internet rather than from a software
>>store, can anyone show me how? Thanks in advance.
>
>Go to one of the many mirrors of RedHat.com and download the cd images
>(which use the .iso extension) from the directory redhat-7.1-en/i386/iso
>
>The cd-images contain the correct files and directories to install
>RedHat. They should be virtually identical in contents to RedHat cd's
>you'd purchase on the web or from your local bookstore.
>
>Get discs 1 and 2 (650 MB each) and use Easy CD Creator or something
>like that to burn cd's from the images. disc-1 should be bootable.
Thank you so much. I now realize that the files under iso directory
are what I need, I also realize I have to find an appropriate mirror
site which gives the fastest transfer rate. The closest mirror site
linux.sinica.edu.tw (Taiwan) is slow, while a Japanese site
ftp.kddlabs.co.jp is pretty fast, about 400kbps (bits rate) or 40KB/s
transfer rate for a 512/64 ADSL line.
Dino
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4.4 compile error - lex: command not found
Date: Thu, 3 May 2001 10:44:53 +0200
Nader <[EMAIL PROTECTED]> wrote:
> You may find it odd, but Markus' fix did the trick. No need to install lex or
> flex.
No it's not odd. You updated the file that you would have otherwise needed
lex to update, accoording to the make rules.
> Markus, why did I need to do this? Is 2.4.4 missing the latest driver code
> for aic7xxx?
You didn't need to do this.
Peter
------------------------------
From: [EMAIL PROTECTED] (Rob Knell)
Subject: Red Hat disk recognition? setup problem
Date: Thu, 03 May 2001 09:41:32 GMT
Hi folks
I'm trying to install Red Hat 7.1 on my PC at home. All goes well
until it gets to the end of installation, when it gives me a message
saying there is a problem with the bootloader, and an error message
that says 'dev/hdf is not on the first disk'. If I try and reboot the
machine I get an 'L' and it hangs, if I try and boot from a floppy it
gives me a 'kernel panic: unable to mount fs' and hangs.
The system is a Duron 800 on a Gigabyte GA-7ZXR motherboard with 64Mb
RAM and a 30 Gb IBM hard drive. The motherboard has 4 IDE slots, two
on an ATA-66 controller and two on an ATA-100 controller (I think). If
I move the HDD cable to another socket it gives me the same error but
with dev/hdg instaed of dev/hdf.
During partition it called the HD hdf as well.
Any hints? Bear in mind that the above is pretty much the limit of my
understanding of these things.
Thanks
Rob Knell
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: In linux how is the Updation??
Date: Thu, 03 May 2001 06:30:41 -0400
In article <9cqrs0$f8k84$[EMAIL PROTECTED]>, "Unknown"
<[EMAIL PROTECTED]> wrote:
> "v.naga srinivas" <[EMAIL PROTECTED]> wrote:
>> Likewise is there any option while reinstalling the linux
>> (i am using SuSE 6.3) only updating the linux without disturbing the
>> current configuration and the software already installed....
>
> Well, one: why you want to 'reinstall' Linux? You can upgrade each
> single application/part of the system without reinstalling the whole.
> Two: usually if you upgrade some part, there is no modification in the
> configuration or in the programs already installed (unless you screw up
> the libraries or remove the configuration files in /etc). Three: if you
> backup/restore your configuration files into /etc you can restore them
> and have the same configuration as before (unless you change completely
> distribution). But first reply the (one) question... why are you
> reinstalling linux?
>
>
although i could be wrong i dont think the OP *is* reinstalling. He just
used the only word he knew of to describe the situation and the question.
He says '...while reinstalling Linux only updating the linux...." so i
think he is only wanting to update linux, not reinstall, and he doesn't
realize he should just upgrade the needed apps, not teh whole
distribution.
------------------------------
From: "Michael H. T�rving" <[EMAIL PROTECTED]>
Subject: Having problems with X
Date: Thu, 3 May 2001 12:46:22 +0200
Hi...
Please..I need some help.
I am new to linux, and i have a problem configuring X under linux mandrake
8.0.
When I try to run it i replies with errors and wont start up.
So I tried to run the Xconfigurator but it reported some errors when i try
out the configurations.
Below i have listed my configuration and the one i choose in the
configurator, plus the error msg i recieved when trying it out.
My Configuration:
Gfx-Card : ATI Radeon :64MB DDR, AGP, Video i/o
Bus type :AGP 2x/4x
Graphic processor : 183 Mhz ATI RADEON GPU
Pixel Fill Rate : 586 Mpix/sec
Ram type : 183 MHz 64 MB DDR SDRAM
RAMDAC : 350 MHz
Texel Fill Rate : 1,1 Gtex/sec
Connectiontype : VGA DB15, TV-out, Video-in
Triangles : 30 millioner/sec
Monitor : AOC International AOC Spectrum 7Glr
The Configuration I could choose in the setup :
Keyboard-type : dk
Mouse type : PS/2
Monitor :AOC International AOC Spectrum 7Glr&7GlrA
Gfx - Card : ATI Radeon
Color Depth : 65k colors (16 bit)
Resolution : 1024x768
XFree86 Driver : Radeon
The Errors Reported by Xconfigurator :
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) | |-->Monitor "AOC International| AOC SPECTRUM 7Glr & 7GlrA"
(**) | |-->Device "ATI Radeon"
(**) | |-->Input Device "Mouse1"
If anybody know what i can do and where the error lies so that I can correct
it. I hope someone can guide me through "getting this to work".
My first ideer was that it was the gfx-cadrd driver that did not work, and
if that is the case what other driver can I use instead?
Best Regards
Michael H. Toerving
[EMAIL PROTECTED]
------------------------------
From: Lars Willemsens <[EMAIL PROTECTED]>
Subject: Apache PHP
Date: Thu, 3 May 2001 12:51:50 +0200
Hi,
I have configured apache to use php when necessary. I've tried a hello
world php file and everything works fine.
It seems that apache is configured to look for an index.html file first
("Indexes" in httpd.conf ?), when entering a new directory/url.
What do I need to change in httpd.conf so that apache will first look for
index.php (and then index.html if index.php was not available) ?
thanks,
Lars
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: Apache PHP
Date: 3 May 2001 11:09:49 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 3 May 2001 12:51:50 +0200, Lars Willemsens allegedly wrote:
>Hi,
>
>I have configured apache to use php when necessary. I've tried a hello
>world php file and everything works fine.
>It seems that apache is configured to look for an index.html file first
>("Indexes" in httpd.conf ?), when entering a new directory/url.
>What do I need to change in httpd.conf so that apache will first look for
>index.php (and then index.html if index.php was not available) ?
Depending on your install, edit the file /etc/apache/srm.conf and edit
the DirectoryIndex directive. For more info consult
http://www.apache.org
...
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
# default.htm is the IIS index, and quite a common error for users
# migrating to apache.
DirectoryIndex index.php3 index.php index.html index.htm default.htm
...
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn website: http://hermanbruijn.com
The Netherlands
------------------------------
** 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
******************************