Linux-Setup Digest #212, Volume #21              Sat, 12 May 01 12:13:07 EDT

Contents:
  sndconfig (S hi s h i r)
  win98 & win2k  =>  RedHat7.1 & win2k,  newbie need advise ("Jens Persson")
  Re: RealPlayer cannot open audio device... ("root")
  Re: SOLVED:Re: Shutdown for non root users (DanH)
  LFS ("proxy_squid")
  New Linux web site (Eric)
  Re: RealPlayer cannot open audio device... ([EMAIL PROTECTED])
  serious bug in raidtoos (Armin Ollig)
  Re: serious bug in raidtoos ("Peter T. Breuer")
  Re: LFS ("J. E. Garrott Sr")
  Font quality in Linux? (Ralph Mack)
  Re: modifying IRQ settings for maestro.o/soundcore (Marcel van Osenbruggen)
  Re: Installing Apache (Ralph Mack)
  Re: New Linux web site (Daryl Fonseca-Holt)
  Re: Font quality in Linux? ("Wayne Osborn")
  Re: SOLVED:Re: Shutdown for non root users (Santiago Capel)
  Re: sndconfig (Angry Bob)

----------------------------------------------------------------------------

From: S hi s h i r <[EMAIL PROTECTED]>
Subject: sndconfig
Date: Sat, 12 May 2001 09:33:56 GMT

Hi,

I installed Linux - Mandrake 7.2 on my Dell Optiplex GX110. All works fine, but I am 
not able to configure sound. I downloaded the latest sndconfig RPM and also 
installed the ALSA drivers. While booting, it recognises the sound card as i810 Sound 
Module but nothing plays. Could some one guide?

Shishir


------------------------------

From: "Jens Persson" <[EMAIL PROTECTED]>
Subject: win98 & win2k  =>  RedHat7.1 & win2k,  newbie need advise
Date: Sat, 12 May 2001 11:38:16 -0700

Hi, I now have one hard drive in two partitions
with win98 on C: and win2000 on D:  and i want to
install redhat 7.1 and get rid of win98, what is the
best way to do this?

(I suppose i cannot just format C: (because win2k
  boot manager has something in it, right?) should i
  delete everything that has to do with win98 on C:
  and then make another partition for linux?)

Thanks in advance /Jens



------------------------------

From: "root" <[EMAIL PROTECTED]>
Subject: Re: RealPlayer cannot open audio device...
Date: Sat, 12 May 2001 10:49:35 GMT

Jeff,

 I have the same configuration and the same problem. I hope someone has a
solution.
 I had the same problem on RH7.0 and fixed it by adjusting the
Realplayer setings at View > Preferences , select Performance Tab. Then
playing with the settings on th Audio Options or Sound Card Compatability
[disable 16 bit sound, disable custom settings]. It doesn't appear to
work on 7.1 but try it, it may work for you.

jim...I


n article <[EMAIL PROTECTED]>, "Unknown"
<[EMAIL PROTECTED]> wrote:

> "Cannot open the audio device.  Another application may be using it." So
> says RealPlayer.  RealPlayer does identify the file and its contents,
> and is able to display comment info from the file, etc.
> 
> The sound card itself checks out OK, and I can play CD's, MP3, etc. no
> problem.
> 
> I would appreciate any suggestions as to what I should look for.
> 
> Linux version 2.4.2-2   from RedHat 7.1.2.96-79 VIA Technologies IAC97
> Audio Controller RealPlayer version 8.0.3.412
> 
> 
> Thanks, Jeff

------------------------------

From: DanH <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.misc
Subject: Re: SOLVED:Re: Shutdown for non root users
Date: Sat, 12 May 2001 07:08:44 -0400

Harald Schneider wrote:
> 
> > Have you tried changing the permissions of /sbin/halt to a+x  ?
> 
> No, it's OK - sudo does good work. Thanks!

Another way you can do this without requiring sudo is change one line in
/etc/inittab

from
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

to
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -h now

Then whenever you want to shut the box down get out of X (it traps
CTRL-ALT-DEL from getting to the command line) and hit CTRL-ALT-DEL and
it'll shutdown.  

As it is in the first example, you can still do it and it'll shutdown
for a reboot and  you can turn the computer off when you see the BIOS
screen come back up.

DanH
-- 
Air Cav Reference Board
http://www.cavalrypilot.com
UNIX - Not just for vestal virgins anymore

------------------------------

From: "proxy_squid" <[EMAIL PROTECTED]>
Subject: LFS
Date: Sat, 12 May 2001 12:41:54 +0100

Ok , so I am totally new to all of this:

Trying out an LFS install , I have dedicated a partition to lfs and created
a /mnt/lfs directory as well as setting export LFS=/mnt/lfs . I get to the
very early part of creating a directory "dirname" ie: $dirname.

According to the step by step instructions that come with lfs I should
create the directory with this command : mkdir $dirname
I get this reply from bash : mkdir : too few arguments
                                                    Try "mkdir --help" for
more information

I strongly suspect the "$" is the culprit here and I think that "$dirname"
is supposed to be substituted with something else , I have no idea what.

Here is the full section in the lfs book:

cd $LFS
mkdir -p bin boot dev/pts etc home lib mnt proc root sbin tmp var

for dirname in $LFS/usr $LFS/usr/local
do
mkdir $dirname
cd $dirname
mkdir bin etc include lib sbin share src tmp var

What should I be doing here to get the "mkdir $dirname" command done?



------------------------------

From: Eric <[EMAIL PROTECTED]>
Subject: New Linux web site
Date: Thu, 10 May 2001 06:40:05 -0700

Setting up a new place for Linux chat.

www.linuxdiscussions.org

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: RealPlayer cannot open audio device...
Date: Sat, 12 May 2001 12:02:47 GMT

Can root access the audio device? If so, then the permissions are set
wrong for /dev/dsp and possibly /dev/mixer. You may need to chmod 666
/dev/dsp to get sound working for the user accounts.

--Kevin   


On Sat, 12 May 2001 10:49:35 GMT, [EMAIL PROTECTED]
 <[EMAIL PROTECTED]> wrote:
> Jeff,
> 
>  I have the same configuration and the same problem. I hope someone has a
> solution.
>  I had the same problem on RH7.0 and fixed it by adjusting the
> Realplayer setings at View > Preferences , select Performance Tab. Then
> playing with the settings on th Audio Options or Sound Card Compatability
> [disable 16 bit sound, disable custom settings]. It doesn't appear to
> work on 7.1 but try it, it may work for you.
> 
> jim...I
> 
> 
> n article <[EMAIL PROTECTED]>, "Unknown"
><[EMAIL PROTECTED]> wrote:
> 
>> "Cannot open the audio device.  Another application may be using it." So
>> says RealPlayer.  RealPlayer does identify the file and its contents,
>> and is able to display comment info from the file, etc.
>> 
>> The sound card itself checks out OK, and I can play CD's, MP3, etc. no
>> problem.
>> 
>> I would appreciate any suggestions as to what I should look for.
>> 
>> Linux version 2.4.2-2   from RedHat 7.1.2.96-79 VIA Technologies IAC97
>> Audio Controller RealPlayer version 8.0.3.412
>> 
>> 
>> Thanks, Jeff

------------------------------

From: Armin Ollig <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware
Subject: serious bug in raidtoos
Date: Sat, 12 May 2001 14:28:11 +0200
Reply-To: [EMAIL PROTECTED]

Gentlemen,

we experienced data corruption while testing the raid tools.
Here is the problem:

1. create simple raid1 md device like this:

 raiddev /dev/md0
        chunk-size      256k
        raid-level      1
        nr-raid-disks   2
        nr-spare-disks  0
        persistent-superblock 1
        device          /dev/hdg1
        raid-disk       0
        device          /dev/hdo1
        raid-disk       1

Make the device active and create the ext2fs on it (default).

2. Mount the device, then write to a file very fast like this
   dd if=/dev/zero of=file bs=1024k count=800
   repeat this several times. Make a backup copy of "file" to another
drive.

3. Unmount the md device and run fsck -f on it:

luna:/ # fsck   -f /dev/md5
Parallelizing fsck version 1.19a (13-Jul-2000)
e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Pass 1: Checking inodes, blocks, and sizes
Inode 13, i_size is 86310912, should be 86312960.  Fix<y>?

If fsck is done, the files you just created are corrupted (run diff
against the backup copy on the other drive).

The bug does not seem to occur with -o sync mounts, but sync is almost
useless (slow). No messages about hardware problems. All IDE disks are
connected to 3 Promise IDE ATA100 controller. No data corruption when
writing to single disks. Only occurs with software raid md.


Now what ?!
--Armin

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware
Subject: Re: serious bug in raidtoos
Date: Sat, 12 May 2001 15:00:59 +0200

In comp.os.linux.misc Armin Ollig <[EMAIL PROTECTED]> wrote:
> we experienced data corruption while testing the raid tools.

As if that was unexpected. The raid tools (which ones?  0.4.1? 0.42? 0.91?)
tell you taht intreresting things can happen. Be careful.

> 1. create simple raid1 md device like this:

>  raiddev /dev/md0
>         chunk-size      256k
>         raid-level      1
>         nr-raid-disks   2
>         nr-spare-disks  0
>         persistent-superblock 1
>         device          /dev/hdg1
>         raid-disk       0
>         device          /dev/hdo1
>         raid-disk       1

That's fairly fine, but not very interesting, except for the device
letters. What are your ide controllers and how many do you have?

> 2. Mount the device, then write to a file very fast like this
>    dd if=/dev/zero of=file bs=1024k count=800
>    repeat this several times. Make a backup copy of "file" to another
> drive.

> 3. Unmount the md device and run fsck -f on it:

> luna:/ # fsck   -f /dev/md5
> Parallelizing fsck version 1.19a (13-Jul-2000)
> e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
> Pass 1: Checking inodes, blocks, and sizes
> Inode 13, i_size is 86310912, should be 86312960.  Fix<y>?

> If fsck is done, the files you just created are corrupted (run diff
> against the backup copy on the other drive).

Well, that's obviously nothing to do with the raid tools!  You didn't
even use them! Complain to the author of the kernel driver, or the ide
controller driver. Which kernel are you using? I have been using raid
since 2.0.0 days (and now on 2.4.4) and never have had any problems.

> The bug does not seem to occur with -o sync mounts, but sync is almost
> useless (slow). No messages about hardware problems. All IDE disks are

Sync should be fine, and is the mandatory way to use a mirrored system! 
Are you crazy? This is like saying "I keep my money in a safe, but I
leave the door open so it's quicker to get at".

> connected to 3 Promise IDE ATA100 controller. No data corruption when
> writing to single disks. Only occurs with software raid md.


Looks like you've discovered a bug in the hardware IDE controller. Via
mobo? The one with the hardware bug in the south bridge that hits when
you write from one ide channel to another?


> Now what ?!

Put both disks on the same controller and repeat.


Peter

------------------------------

From: "J. E. Garrott Sr" <[EMAIL PROTECTED]>
Subject: Re: LFS
Date: Sat, 12 May 2001 06:27:54 -0700

proxy_squid wrote:
> 
> Ok , so I am totally new to all of this:
> 
> Trying out an LFS install , I have dedicated a partition to lfs and created
> a /mnt/lfs directory as well as setting export LFS=/mnt/lfs . I get to the
> very early part of creating a directory "dirname" ie: $dirname.
> 
> According to the step by step instructions that come with lfs I should
> create the directory with this command : mkdir $dirname
> I get this reply from bash : mkdir : too few arguments
>                                                     Try "mkdir --help" for
> more information
> 
> I strongly suspect the "$" is the culprit here and I think that "$dirname"
> is supposed to be substituted with something else , I have no idea what.
> 
> Here is the full section in the lfs book:
> 
> cd $LFS
> mkdir -p bin boot dev/pts etc home lib mnt proc root sbin tmp var
> 
> for dirname in $LFS/usr $LFS/usr/local
> do
> mkdir $dirname
> cd $dirname
> mkdir bin etc include lib sbin share src tmp var
> 
> What should I be doing here to get the "mkdir $dirname" command done?

mkdir -p $dirname

Make sure LFS is defined!

You should try subscribing to the LFS
lists at http://www.linuxfromscratch.org/

Good luck,

John

PS: I've got two LFS systems running right now.

------------------------------

From: Ralph Mack <[EMAIL PROTECTED]>
Subject: Font quality in Linux?
Date: Sat, 12 May 2001 13:59:56 GMT

I have my Linux box and my Win2000 box on a port switch and I've been=20=

noticing that a 10 point font on my Linux box looks a bit smaller than a=
=20
10 point font on my Windows box. In fact, the 10 point font in Netscape =

on my 17" 1024x768 monitor is just about unreadable. 12 point works much=
=20
better.
Now I seem to recall that Windows used to inflate fonts slightly back in=
=20
Windows 3.0 in the days when VGA was considered a really hot thing.=20
Knowing Microsoft, they're probably still doing that in Win2K. It may be=
=20
a crutch, but I'm used to thinking of particular font sizes for=20
particular uses and don't really want to relearn the map for Linux. Is=20=

there any setting I can tweak in X so that I get similar font size=20
behavior on Linux?
Also, I've noticed that the fonts I'm seeing in Linux are frankly kind o=
f=20
ugly; they look like they're being used at scales where the scaling=20
parameters aren't optimal, kind of like some of the amateur 3rd party=20=

fonts I've seen on the net rather than the product of a real foundry.=20=

They look - it's hard to explain - kind of "out of focus". It also seems=
=20
like the spacing between words is somehow "off" too - spaces either=20
stretch too far or the words run together a little. This is really=20
disturbing.=20
Because of all of the above, I keep getting the uncomfortable feeling=20=

that I'm using the wrong fonts. Or maybe I've just gotten too sensitive.=
=20
Is there any way to get the same kind of font quality that I get in=20
Windows or the Mac? Have I misconfigured something or is there something=
=20
I can install?
Ralph

------------------------------

From: Marcel van Osenbruggen <[EMAIL PROTECTED]>
Subject: Re: modifying IRQ settings for maestro.o/soundcore
Crossposted-To: comp.os.linux.help,comp.os.linux.redhat
Date: Sat, 12 May 2001 13:11:15 +0200

Stephen Hanselman wrote:

> I am still trying to get my sonud running.  The main problem seems to be
> an
> IRQ issue (USB + Sound on IRQ 11).  The OSS driver allows me to move the
> sound to IRQ 10 and I can get most (not all) sound to work.  Apps such as
> xmms report a conflict trying to grab sound.

Isn't another program getting hold of the soundcard ??? Like artsd (from 
KDE) ...

That way xmms can't run also (without the artsd outputplugin)


-- 

 // Marcel van Osenbruggen          [EMAIL PROTECTED] \\


------------------------------

From: Ralph Mack <[EMAIL PROTECTED]>
Subject: Re: Installing Apache
Date: Sat, 12 May 2001 14:02:03 GMT

How about that! A question I can field!

It comes with every distribution of RedHat I've ever installed, but it
is only installed from the distribution for certain configurations.=20
That's no problem - you can install it (or any piece of Linux you=20
want) from the distribution after the fact. To find out if it was=20
installed with your configuration, use "rpm -q apache".=20

Since you're new to Linux and you're using Red Hat, one of the first=20=

commands you will want to get to know really well is rpm. It will tell=20=

you what is installed, it will install things, remove things, even tell =

you what other components need to be installed before the component you =

are trying to install. And with the frequent updates from Red Hat for=20=

obscure security holes you probably want to plug, you will use it a lot.=


Configuring Apache, of course, is a whole other matter. There are=20
lots of options. You only need a few settings tweaked to get started,
but you will probably want to do a bunch more. You can get really
fancy. The online doucmentation will get you started but I found a=20
good book helpful. Wrox and O'Reilly both have Apache books.

Ralph

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 5/11/2001, 3:22:35 PM, MCeli <[EMAIL PROTECTED]> wrote regarding Re:=20=

Installing Apache:


> Thank you for your response.

> Doesn't Apache come with Linux 7.0?

> Manny



------------------------------

From: [EMAIL PROTECTED] (Daryl Fonseca-Holt)
Subject: Re: New Linux web site
Reply-To: [EMAIL PROTECTED]
Date: Sat, 12 May 2001 13:49:45 +0000

And what will this offer that I don't already get here on the USENET?

When will it say more than "Coming Soon"? Maybe you could repost this when
there is actually something there.


On Thu, 10 May 2001 06:40:05 -0700, Eric <[EMAIL PROTECTED]> wrote:
> Setting up a new place for Linux chat.
> 
> www.linuxdiscussions.org

------------------------------

From: "Wayne Osborn" <[EMAIL PROTECTED]>
Subject: Re: Font quality in Linux?
Date: Sat, 12 May 2001 22:57:21 +0800

Yeh, uh, Microsoft truetype fonts are not scaled correctly. In Linux they
are correct.

See the Font Deuglification HOWTO and Xfree font HOWTO's at the Linux
Documentation Project web site: www.linuxdoc.org

--
  Wayne A. Osborn, SCADA Engineer.[dnar AT iinet DOT net DOT au]
  Registered Linux User #212818.  [2.2.16-22-Win4Lin-686] [i686]
 10:50pm  up  2:11,  1 user,  load average: 1.30, 1.34, 2.71
  ...Our informal mission is to improve the love life of operators worldwide.
                -- Peter Behrendt, president of Exabyte

------------------------------

From: Santiago Capel <[EMAIL PROTECTED]>
Subject: Re: SOLVED:Re: Shutdown for non root users
Date: Sat, 12 May 2001 15:08:31 GMT

DanH wrote:

> Harald Schneider wrote:
> 
>>> Have you tried changing the permissions of /sbin/halt to a+x  ?
>> 
>> No, it's OK - sudo does good work. Thanks!
> 
> 
> Another way you can do this without requiring sudo is change one line in
> /etc/inittab
> 
> from
> # Trap CTRL-ALT-DELETE
> ca::ctrlaltdel:/sbin/shutdown -t3 -r now
> 
> to
> # Trap CTRL-ALT-DELETE
> ca::ctrlaltdel:/sbin/shutdown -h now
> 
> Then whenever you want to shut the box down get out of X (it traps
> CTRL-ALT-DEL from getting to the command line) and hit CTRL-ALT-DEL and
> it'll shutdown.  
> 
> As it is in the first example, you can still do it and it'll shutdown
> for a reboot and  you can turn the computer off when you see the BIOS
> screen come back up.
> 
> DanH

Have you tried the command 'halt' or 'reboot'. They are in RH 6.2, but I 
don't know if they are in other distributions.


------------------------------

From: Angry Bob <[EMAIL PROTECTED]>
Subject: Re: sndconfig
Date: 12 May 2001 16:04:43 GMT

What would you like to read?  [[EMAIL PROTECTED] or ?*]
this is a S hi s h i r scroll!  it says:

> I installed Linux - Mandrake 7.2 on my Dell Optiplex GX110. All works fine, but I am 
>not able to configure sound. I downloaded the latest sndconfig RPM and also 
> installed the ALSA drivers. While booting, it recognises the sound card as i810 
>Sound Module but nothing plays. Could some one guide?

try running 'sndconfig', you may also run 'esd' afterwards if you have
things set up to play through that (i.e. tell xmms to output using it's
esound module). 

-- 
AngryBob                        Systems Consultant - http://www.trellisinc.com
 It is by caffine alone I set my mind in motion, it is by the beans of Java 
 that thoughts acquire speed, the hands acquire shaking, the shaking becomes 
 a warning, it is by caffine alone I set my mind in motion.      -- unknown

------------------------------


** 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
******************************

Reply via email to