Linux-Setup Digest #253, Volume #20 Tue, 19 Dec 00 12:13:08 EST
Contents:
Re: Help!! Partitioning (srinivas_vanjari)
Re: How to install patch? (Terry Porter)
Re: SoundCard (Terry Porter)
Re: =?ISO-8859-1?Q?Probl=E8me_de_d=E9tection_m=E9moire?= (Dragan Colak)
Re: linux, NT & 98? (-rw)
Re: Help!! Partitioning (Eric)
kernel recompilation error (maher abedib)
Re: SoundCard (steve mcclue)
Re: kernel panic ([EMAIL PROTECTED])
consultant needed for turnkey system (Henry W Meyerding)
Re: Help!! Partitioning (srinivas_vanjari)
Re: Problem with Linux/NT dual-boot (Paul Lew)
Glibc-2.2.x install? (John Dixon)
----------------------------------------------------------------------------
From: srinivas_vanjari <[EMAIL PROTECTED]>
Subject: Re: Help!! Partitioning
Date: Tue, 19 Dec 2000 14:08:58 GMT
Hi,
> > > No, I can't from here, unless you provide numbers (fdisk -
l /dev/hda,
>
> > >Depends on the current partitioning scheme.
> >
> > I want to try out partitioning once again. I have back up for
> > everything. So any suggestions will be really helpful.
>
> I need more info before I would recommend anything
Here is the current partitioning scheme..
/dev/hda 240 heads, 63 sectors, 2646 cylinders
Units = cylinders of 15120* 512 bytes.
Device Boot start end blocks id system
/dev/hda1 * 1 400 3023968+ b win95 fat32
/dev/hda2 401 403 22680 83 linux
/dev/hda3 404 2646 16957080 5 extended
/dev/hda5 404 2637 16889088+ 83 linux
/dev/hda6 2638 2646 680008 82 linux swap
Here are the results for the mount command:
/dev/hda5 on / type ext2 (rw)
none on /proc
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda2 on /boot type ext2 (rw)
none on /dev/pts type devpts
df: /dev/hda5 6% used mounted on /
/dev/hda2 12% used mounted on /boot
I want to have the following:
1) One windows partition of size around 2.5 gb for just the operating
system
2) 2/3 extended dos partitions for storing
data/applicationsoftware/backup such that atleast one partition can be
mounted on linux ( I have a winmodem and i have no way of connecting to
net using linux. I want to download data using windows and access it
using linux).
3) One partition for /home and one partition for application software
which does not come with linux.
How should I go about doing this. (Reformatting the entire disk is not
a problem..i have a backup for everything).
I also want to know what the difference is between a primary partition
and an extended partition.
Thanks a lot for your time,
--
regards,
srinivas_vanjari,
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Terry Porter)
Subject: Re: How to install patch?
Reply-To: No-Spam
Date: 19 Dec 2000 14:32:49 GMT
On Tue, 19 Dec 2000 16:22:44 +0800, Frank <[EMAIL PROTECTED]> wrote:
>Hi,
> I have a ATA66 controller (HPT 366) build in my main board. To use that
>controller in linux, I download a patch (if in Windows OS, it's called
>'driver'). The name of the patch is
> ide.2.2.16.20000630.patch.bz2
> Since I am new to Linux, I just donot know how to install such patch.
>could anyone teach me how to install it? I think the way install this patch
>can also apply to install VGA card driver, sound driver, right?
>
> Thanks.
>
>Frank.
>
>
A patch in Linux refers to a file that contains only the differences
between an old version of a program, and the new version, of that same
program. This is done so you dont have to obtain the whole new program
if you already have the old one.
And patch works this way :-
'patch old_program < patch_file'
What you have sounds like a patch to add to a file in your kernel source ?
typing 'man patch' will give you further info.
--
Kind Regards
Terry
--
**** ****
My Desktop is powered by GNU/Linux, and has been
up 2 days 20 hours 57 minutes
** Registration Number: 103931, http://counter.li.org **
------------------------------
From: [EMAIL PROTECTED] (Terry Porter)
Subject: Re: SoundCard
Reply-To: No-Spam
Date: 19 Dec 2000 14:47:18 GMT
On Sun, 17 Dec 2000 19:43:04 GMT, enness <[EMAIL PROTECTED]> wrote:
>I am running LM7.2. I have a OPL3-SA3 sound card which I am not able to
>install. I had replys from LM support and newsgroup members(thanks) saying
>run 'sndconfig' from root. But I dont have sndconfig anywhere in my machine.
>I tried to install it from a RPM (which said sndconfig-x-y-z...) in one of
>the CDs, but the package installer says that an 'Unsatisfied
>dependency'(??) - "awesf" exists.
Thats a odd one !
Have you logged in as root, and typed 'sndconfig' ?
Here is where mine is located
[terry_porter@gronk terry_porter]$ locate sndconfig
/usr/sbin/sndconfig
Possibly you logged in as root by doing a 'su' ?
If you do this then the root will have the path that the user had, and it wont
include "/usr/sbin" !
That means when you issue the command 'sndconfig' as root you will get this
error :-
[terry_porter@gronk terry_porter]$ su
Password:
[root@gronk terry_porter]# sndconfig
bash: sndconfig: command not found
So log in as root from a normal user with this command 'su -l' and you will
have the paths that root has.
Then the above command would work!
to see your paths issue the 'set' command.
> I could not find naything like that in the
>CDs (That is asking too much of a Brand new newbie like me!!). Doe anyone
>know what it is all about?? and help me out.\
Get a good book on Linux, I reccoment the Oriely book "Running Linux".
>
>I have anther simple question: How to know what all files are there in each
>linux partition. (Like where is root, /home, /etc, /usr) or the converse,
>which file is on which partition?
Look in /etc/fstab using 'less' ie
'less /etc/fstab'
/dev/hda1 / ext2 defaults 1 1
/dev/hdd1 /home ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hdc1 swap swap defaults 0 0
>
>Thanks
>Sri
>
>
--
Kind Regards
Terry
--
**** ****
My Desktop is powered by GNU/Linux, and has been
up 2 days 20 hours 57 minutes
** Registration Number: 103931, http://counter.li.org **
------------------------------
From: Dragan Colak <[EMAIL PROTECTED]>
Subject: Re: =?ISO-8859-1?Q?Probl=E8me_de_d=E9tection_m=E9moire?=
Date: Tue, 19 Dec 2000 16:01:22 +0100
Dambo wrote:
> En effet, j'ai des probl�mes avec Suse Linux 7.0. Apr�s l'avoir install�,
> je le d�marre et il est super lent... Je me suis d'abors demand� d'ou
> venait le probl�me et je crois comprendre qu'il vient du fait que Suse n'a
> pas d�tect� ma m�moire vive correctement. J'ai 128 Mb mais il en d�tecte
> que 16 Mb. Comment faire pour changer cel� ?
>
> Merci de votre aide a+
>
>
>
>
I'd say you check your BIOS. There should be an option to
limit the memory to 15-16 MByte. Disable it.
Dragan
------------------------------
From: -rw <[EMAIL PROTECTED]>
Subject: Re: linux, NT & 98?
Date: Tue, 19 Dec 2000 15:33:34 GMT
This all sounds great -- except that I read somewhere (and I can't find
the reference now, of course) that while the NT bootloader loaded
linux, the Windows 2000 bootloader does not.
And, of course, I completely misspoke in my original post and said that
I had Windows NT and not Windows 2000.
With that new information newly peeled from my warped brain, do you
have other helpful information? :)
In article <[EMAIL PROTECTED]>,
"UsuLsuspct" <[EMAIL PROTECTED]> wrote:
> I am rather new to Linux, but I have messed with the lilo.conf file
allot
> for a newbie dealing with the dual boot and NT loader....I might be
able to
> lend some advice.
>
> First of all, is there some reason that you would rather use LILO to
handle
> your dual boot? The only problem with using LILO is that it will get
> overwritten with every install/reinstall of a MS operating system. I
have
> found that it is easier to add Linux to the NT loader, that way you
wont
> have to worry about LILO getting overwritten, and being forced to the
boot
> disk to load Linux.
>
> This is what you will need to do to get Linux in the NT
loader.....first of
> all, make sure you have a boot disk that will work, in case
something get's
> screwed up. Goto the Lilo.conf setup portion and make sure that LILO
is
> installed on your root directory that holds linux.... IE /dev/hdb5,
and
> that it is currently looking for the right Linux kernel as the
default boot
> choice.
>
> You can remove all the other OS choices here as you will be using
your NT
> bootloader to load the rest of the OS's.
>
> Once this is done you will need to rerun the LILO setup with
a /sbin/lilo
> command. After this we will peel off the nescarry boot information
with dd
> if=/dev/hdb5 of=/bootsect.lnx bs=512 count=1
>
> The file created from the last step will be called bootsect.lnx.
This file
> will need to be copied to your first boot directory, ie where
boot.ini is
> located....Probally the first partition on C: drive, but may be
different.
> Copy this file to the initial startup partion.....you will then need
to edit
> the boot.ini file to add the Linux option to the NT loader.
>
> Add a line similar to the following:
>
> c:\bootsect.lnx = "Mandrake 7.2"
>
> Then try and restart, and you should end up with an option of
Mandrake 7.2
> in the NT loader....which when selected will automatically boot
Linux......
>
> I reccomend that you read the NT Loader and dual boot How-to's that
are out
> there they might clear up any question you might have on this matter.
>
> This is a thorough how to on the dual boot process.....
> http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader.html
>
> Hope this helps...
> "-rw" <[EMAIL PROTECTED]> wrote in message
> news:91lr1a$888$[EMAIL PROTECTED]...
> > Every notice how things are always fine until you mess with them...?
> >
> > Anyway, I had lilo running fine on my system with /dev/hda1 holding
NT
> > (on NTFS), /dev/hdb1 holding some data (on FAT32), and /dev/hdb5
holding
> > linux.
> >
> > Then I added Windows 98. Aside from the poor planning of adding
Win 98
> > after NT, and aside from loads of other 'fun' difficulties,
everything
> > is up and running with the following new configuration:
> >
> > /dev/hda1 Windows NT (now FAT32)
> > /dev/hdb1 Windows 98 (booting from /dev/hda1, FAT32)
> > /dev/hdb5 Linux
> >
> > Despite my (foolish) efforts, I can't get my lilo.conf to directly
boot
> > Windows 98. I can only get it to boot Windows 98 by booting
Windows NT
> > and then going through the NT bootloader to get to 98. Surely
there is
> > a simpler way?
> >
> > (And once there is a simpler way to boot W98, I'll just remove the
W98
> > entry from the NT booloader)
> >
> > -Rich W.
> >
> >
> > Sent via Deja.com
> > http://www.deja.com/
>
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Help!! Partitioning
Date: Tue, 19 Dec 2000 16:51:15 +0100
Reply-To: [EMAIL PROTECTED]
srinivas_vanjari wrote:
>
> Hi,
>
> > > > No, I can't from here, unless you provide numbers (fdisk -
> l /dev/hda,
>
> >
> > > >Depends on the current partitioning scheme.
> > >
> > > I want to try out partitioning once again. I have back up for
> > > everything. So any suggestions will be really helpful.
> >
> > I need more info before I would recommend anything
>
> Here is the current partitioning scheme..
>
> /dev/hda 240 heads, 63 sectors, 2646 cylinders
This is kind of odd. I would expect 255 heads (255 is the maximum nr. of
heads)
Is this value set in your BIOS? The disc should probably be set to LBA
mode in the BIOS.
Or do you have some strange lilo.conf file? do you set these values
manually?
Be carefull, changing these values will probably make your current
installations unusable.
>
> Units = cylinders of 15120* 512 bytes.
>
> Device Boot start end blocks id system
> /dev/hda1 * 1 400 3023968+ b win95 fat32
> /dev/hda2 401 403 22680 83 linux
> /dev/hda3 404 2646 16957080 5 extended
This is the wrong ID. If an extended partition (partly) crosses cylinder
1024,
the (windows!) ID should be 0x0F (In this case 0x85 would be fine too)
> /dev/hda5 404 2637 16889088+ 83 linux
> /dev/hda6 2638 2646 680008 82 linux swap
>
> Here are the results for the mount command:
>
> /dev/hda5 on / type ext2 (rw)
> none on /proc
> usbdevfs on /proc/bus/usb type usbdevfs (rw)
> /dev/hda2 on /boot type ext2 (rw)
> none on /dev/pts type devpts
>
> df: /dev/hda5 6% used mounted on /
> /dev/hda2 12% used mounted on /boot
>
> I want to have the following:
>
> 1) One windows partition of size around 2.5 gb for just the operating
> system
> 2) 2/3 extended dos partitions for storing
> data/applicationsoftware/backup such that atleast one partition can be
> mounted on linux ( I have a winmodem and i have no way of connecting to
> net using linux. I want to download data using windows and access it
> using linux).
> 3) One partition for /home and one partition for application software
> which does not come with linux.
>
> How should I go about doing this. (Reformatting the entire disk is not
> a problem..i have a backup for everything).
Okay that eases things up a bit.
Restore the correct settings in the BIOS.
CHS values are something like 2490,255,63 after this (I suspect)
boot start end blocks ID system
/dev/hda1 1 320 ###### b win95 fat32 ========> +/-
2.5 GB Install windows here
/dev/hda2 * 321 323 ###### 83 linux ========> this
is /boot
/dev/hda3 324 2490 ###### f win95 ext'd LBA =====> the
extended partition
/dev/hda5 324 900 ###### b win95 fat32 ========> +/- 5
GB
/dev/hda6 901 1500 ###### b win95 fat32 ========> +/- 5
GB
/dev/hda7 1501 1510 ###### 82 linux swap ========> +/-
70 MB (Like you had already)
/dev/hda8 1511 1700 ###### 83 linux ========> +/-
1.5 GB /
/dev/hda9 1700 1950 ###### 83 linux ========> +/-
2GB /home
/dev/hda10 1950 2490 ###### 83 linux ========> +/-
rest(4G) /usr/local
There are many different scheme's but this will do
(read the partitioning HOWTO for more info)
> I also want to know what the difference is between a primary partition
> and an extended partition.
an extended partition is a primary partition that can contain logical
paritions.
They were "designed" to make more than 4 partitions possible. The
bootpartition
can hold up to four partitions max.
>
> Thanks a lot for your time,
HTH,
Eric
------------------------------
From: maher abedib <[EMAIL PROTECTED]>
Subject: kernel recompilation error
Date: Tue, 19 Dec 2000 23:53:09 +0800
Hi,
I have diffuculties to comprehend this error message after several times
customizing the kernel 2.2.17.
Can anyone highlight something what is wrong with the kernel..
Here is the output:
In file included from radio-miropcm20.c:13:
../sound/lowlevel/miroaci.h:9: #error Compiling a driver that needs the
ACI-mixer but without ACI-mixer support
radio-miropcm20.c: In function `pcm20_mute':
radio-miropcm20.c:33: warning: implicit declaration of function
`aci_write_cmd'
radio-miropcm20.c: In function `pcm20_setfreq':
radio-miropcm20.c:73: warning: implicit declaration of function
`aci_write_cmd_d'
radio-miropcm20.c: In function `pcm20_getsigstr':
radio-miropcm20.c:81: warning: implicit declaration of function
`aci_indexed_cmd'
make[2]: *** [radio-miropcm20.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.17/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.17/drivers'
make: *** [_mod_drivers] Error 2
Thank you very much.
regards,
maher
------------------------------
From: steve mcclue <[EMAIL PROTECTED]>
Subject: Re: SoundCard
Date: Tue, 19 Dec 2000 15:58:54 +0000
On Sun, 17 Dec 2000 20:59:15 +0100, "Peter T. Breuer"
<[EMAIL PROTECTED]> wrote:
>enness <[EMAIL PROTECTED]> wrote:
>> run 'sndconfig' from root. But I dont have sndconfig anywhere in my machine.
>> I tried to install it from a RPM (which said sndconfig-x-y-z...) in one of
>> the CDs, but the package installer says that an 'Unsatisfied
>> dependency'(??) - "awesf" exists. I could not find naything like that in the
>> CDs (That is asking too much of a Brand new newbie like me!!). Doe anyone
>
>Then look harder, because nobody is going to do your looking for you.
>Use rpmfind if you want to save yourself even that.
>
>> I have anther simple question: How to know what all files are there in each
>> linux partition. (Like where is root, /home, /etc, /usr) or the converse,
>> which file is on which partition?
>
>What do you mean, and why do you care? Man locate. Man find.
>
>Peter
Not very encouraging. If he's asking why Linux systems are organised
the way they are, then he should try the System Administrator's guide,
http://www.linuxdoc.org/LDP/sag/index.html
specifically
http://www.linuxdoc.org/LDP/sag/c218.html
If he just wants to know what files are in each section, use the file
manager and rummage around!
Steve
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: kernel panic
Date: Tue, 19 Dec 2000 16:21:36 GMT
It is a single disk computer and I boot from a floppy. This system
works fine on the HD I am now using. My problem is getting a file from
the first HD which gives the kernel panic message.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Henry W Meyerding <[EMAIL PROTECTED]>
Subject: consultant needed for turnkey system
Date: 19 Dec 2000 08:19:16 -0800
Seeking a consultant in Leicester England who can deliver a low end
turnkey Linux computer, RedHat preferred.
Send responses to
[EMAIL PROTECTED]
Thank you,
HWM
------------------------------
From: srinivas_vanjari <[EMAIL PROTECTED]>
Subject: Re: Help!! Partitioning
Date: Tue, 19 Dec 2000 16:39:34 GMT
> > /dev/hda 240 heads, 63 sectors, 2646 cylinders
>
> This is kind of odd. I would expect 255 heads (255 is the maximum nr.
of
> heads)
> Is this value set in your BIOS? The disc should probably be set to LBA
> mode in the BIOS.
> Or do you have some strange lilo.conf file? do you set these values
> manually?
>
I did not change anything manually. I only created the first dos
partition and left everything else to linux installation cd.
The computer is too fast for me to get into bias. I have tried del, f4
and f8 which are the common keys that get us into bios. The system is a
hp pavilon system. is there any other way (if i am not going wrong this
way to check the bias) to check the bios. Looks like some of the
information i am posting may not be worth posting in the newsgroup.
Shall I write a mail to you.
What does LBA stand for and why should bios have this mode.
> HTH, (what does this mean ?)
Thanks again,
--
regards,
srinivas_vanjari,
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Paul Lew)
Subject: Re: Problem with Linux/NT dual-boot
Date: Tue, 19 Dec 2000 16:53:57 GMT
On Tue, 19 Dec 2000 09:27:33 +0100, Eric <[EMAIL PROTECTED]> wrote:
>Jesse Sheidlower wrote:
>>
>> I've just installed RedHat 7.0 on my computer, which has
>> Windows NT on it. I followed very carefully the instructions
>> in the Linux+NT-Loader miniHOWTO.
>>
>> I believe everything went OK, but when I try to launch
>> Linux from the NT loader I immediately get the message
>> "A disk read error occurred. Insert a system diskette and
>> restart the system." If I restart the system and hit "return"
>> directly into WinNT, it works fine, and if I boot Linux
>> from the boot floppy, I get into Linux fine. Any suggestions?
>> I'm pretty sure I got the partitions correct....
>>
>
>You copied a piece of bootcode over to the NT partition, right?
>And you are using that to boot linux, right?
>Are you sure this is the correct code?
>Analyse that piece of bootcode with a hexviewer.
>
Much easier to get a copy of "bootpart 2.2" for NT and use that to
setup the nt boot.ini for the ntloader to load linux; very simple
and easy.
------------------------------
From: John Dixon <[EMAIL PROTECTED]>
Subject: Glibc-2.2.x install?
Date: Tue, 19 Dec 2000 09:06:55 -0800
Does anybody know how to install glibc-2.2 from rpm packages? I get
about 100 dependency warnings when I try, and I don't want to risk
switches like --nodeps and --force recklessly. Is there a safe way
forward?
------------------------------
** 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
******************************