Linux-Misc Digest #915, Volume #18                Fri, 5 Feb 99 18:13:09 EST

Contents:
  Sound Blaster PCI128 (Mats Karlsson)
  Re: Opinions about LyX? (Carl Windsor)
  Re: When the next version of different distributions will be released (Michael 
Meissner)
  [Stop it NOW, you all] Re: Best Free Unix? (why FreeBSD?) (Alexander Viro)
  Re: CD-RW as backup alternative (Leslie Mikesell)
  Re: Is Microsoft a nasty company ? I'm asking you this question. (jedi)
  Re: module problems with kernel 2.2.1 (Charles Mulks)
  Standard host name for standalone box? (Jay)
  Re: MySQL Benchmarks for FreeBSD and Linux (David Malone)
  Re: Window Manager(s) Broken (Ben Russo)
  Re: Undelete for Linux...? (Radovan Garabik)
  Re: > 64MB RAM (lgbp)
  Cable Modem and ethernet help! (lgbp)

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

From: Mats Karlsson <[EMAIL PROTECTED]>
Subject: Sound Blaster PCI128
Date: Fri, 05 Feb 1999 13:17:26 +0000

Hello!!

I have this problem with my Soundblaster PCI128.
I can't get it to work with Linux. :-(

I'm running Debian 2.0(kernel 2.0.34) on a PII 450.
[Linux zaphod 2.0.34 #3 Fri Jan 29 12:18:00 MET 1999 i686 unknown]

I have also installed alsa-driver-0.3.0-pre3, alsa-lib-0.3.0pre3
and alsa-utils-0.3.0-pre3, which I heard have support for SB PCI128.

How can I get the right devices to work (/dev/*)?
After installing 'alsa', I ran the script ./snddevices to create
the right devices and symbolic links.

To load the drivers into the kernel I used modprobe.
# modprobe snd-audiopci

And then I set everything in the alsa-mixer to max.
> CLI ALSA Mixer v0.11 (c) 1998 Adnans
>
>Master          100% (  0.00dB) : 100% (  0.00dB)
>Master M        100% (  0.00dB) : 100% (  0.00dB)
>PCM             100% ( 12.00dB) : 100% ( 12.00dB)
>PCM 1           100% ( 12.00dB) : 100% ( 12.00dB)
>Line-In         100% ( 12.00dB) : 100% ( 12.00dB)
>MIC             100% ( 12.00dB) : 100% ( 12.00dB)
>CD              100% ( 12.00dB) : 100% ( 12.00dB)
>Mono 1          100% ( 12.00dB) : 100% ( 12.00dB)
>Mono 2          100% ( 12.00dB) : 100% ( 12.00dB)
>Aux A           100% ( 12.00dB) : 100% ( 12.00dB)  

This all by the book and I get no error messages.
So now everything should be working, but not!!!

When I klick on play in x11amp I get:
>Unable to open the audio device
>Unable to reset audio device 

When I run mpg123 I get:
> Can't open /dev/dsp! 

I can use aplay(alsa-utils) for playing of wav-files.
>root@zaphod:~/usr/bin# aplay ding.wav
>Aplay: version 0.3.0-pre3 by Jaroslav Kysela <[EMAIL PROTECTED]>
>Playing raw data 'ding.wav' : Unsigned 8-bit, Rate 8000 Hz, Mono
>write error   

The strange thing is that 'write error' only shows when I use
wav-files, but if I e.g. use a text-file I get no 'write error'.
Anyway I get sound from the speakers. :-)

The INSTALL-file for the alsa-drivers says the following:

|  Module snd-audiopci.o
|  ---------------------
|
|    Module for Ensoniq AudioPCI ES1370/1371 PCI soundcards.
|                        * SoundBlaster PCI 64
|                        * SoundBlaster PCI 128
|
|    snd_dac1_frame_size - max dac1 (playback1) frame size in kB
(4-128kB)
|    snd_dac2_frame_size - max dac2 (playback2) frame size in kB
(4-128kB)
|    snd_adc_frame_size  - max adc (record) frame size in kB (4-128kB)
|
|    Module supports up to 8 cards and autoprobe.

How to use this information I don't know. :-(

In the documentation I read I can't find any special settings
for the compile of the kernel. The only info I find is:
| Driver can be compiled only under 2.0.X kernels and under 2.1.127+
kernels.

I would be very greatful if anyone could solve my problem.

PS: Sorry for my bad English.
    As we use to say i Sweden. The ball is round.

// Mats Karlsson
// [EMAIL PROTECTED]
// [EMAIL PROTECTED]

Some more info:

root@zaphod:/proc# cat pci
PCI devices found:
  Bus  0, device  15, function  0:
    Multimedia audio controller: Unknown vendor AudioPCI (rev 1).
      Slow devsel.  IRQ 10.  Master Capable.  Latency=64.  Min
Gnt=12.Max Lat=128.
      I/O at 0xe400.
  Bus  0, device   9, function  0:
    Multimedia video controller: 3Dfx Voodoo2 (rev 2).
      Fast devsel.  Fast back-to-back capable.  IRQ 255.
      Prefetchable 32 bit memory at 0xe9000000.
  Bus  0, device   7, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 2).
      Medium devsel.  Fast back-to-back capable.
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 255.  Master
Capable.  Latency=64.
      I/O at 0xe000.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable. 
Latency=64.
      I/O at 0xf000.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No
bursts.
  Bus  0, device   1, function  0:
    PCI bridge: Intel 440BX - 82443BX AGP (rev 3).
      Medium devsel.  Master Capable.  Latency=64.  Min Gnt=136.
  Bus  0, device   0, function  0:
    Host bridge: Intel 440BX - 82443BX Host (rev 3).
      Medium devsel.  Master Capable.  Latency=64.
      Prefetchable 32 bit memory at 0xe0000000. 

root@zaphod:/proc# cat modules
snd-audiopci       1            0
snd-ens1370        3    [snd-audiopci]  0
snd-pcm1           4    [snd-ens1370]   0
snd-ac97-codec     3    [snd-ens1370]   0
snd-mixer          4    [snd-audiopci snd-ens1370 snd-ac97-codec]      
0
snd-pcm            3    [snd-audiopci snd-pcm1] 0
snd-midi           4    [snd-audiopci snd-ens1370]      0
snd                8    [snd-audiopci snd-ens1370 snd-pcm1
snd-ac97-codec snd-mixer snd-pcm snd-midi]   0
ne                 2            0
8390               2    [ne]    0  

root@zaphod:/proc# cat asound/cards
0 [card1          ]: AudioPCI - Ensoniq AudioPCI
                     Ensoniq AudioPCI ES1370 at 0xe400, irq 10   

root@zaphod:/# ls -l /dev/snd/
total 0
crw-rw-rw-   1 root     root      14, 144 Feb  4 20:42 control0
crw-rw-rw-   1 root     root      14, 200 Feb  4 20:42 midi00
crw-rw-rw-   1 root     root      14, 152 Feb  4 19:56 mixer00
crw-rw-rw-   1 root     root      14, 168 Feb  4 20:09 pcm00
crw-rw-rw-   1 root     root      14, 169 Feb  4 20:42 pcm01        

root@zaphod:/# ls -l /dev/audio*
lrwxrwxrwx   1 root     root           11 Feb  4 20:26 /dev/audio ->
/dev/audio0
crw-rw-rw-   1 root     root      14,   4 Feb  4 20:26 /dev/audio0
crw-rw-rw-   1 root     root      14,  20 Feb  4 20:26 /dev/audio1
crw-rw-rw-   1 root     root      14,  36 Feb  4 20:26 /dev/audio2
crw-rw-rw-   1 root     root      14,  52 Feb  4 20:26 /dev/audio3

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

From: Carl Windsor <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Re: Opinions about LyX?
Date: Fri, 05 Feb 1999 13:55:38 +0000
Reply-To: [EMAIL PROTECTED]

I don't use LyX but I have a thesis template for Latex if that is any
good?

Carl

QM wrote:

> However at the moment I don't have a specific thesis layout. Does anyone 
> have one for LyX?
 
-- 
===============================================================
|E-mail for life:  [EMAIL PROTECTED]                   |
===============================================================
|Carl Mark Windsor - Ph.D Student in Computational Chemistry, |
|                    University of Manchester,                |
|                    Oxford Road,                             |
|                    Manchester.                              |
===============================================================
|"Do...or do not, there is no try"      Yoda, Jedi Master     |
===============================================================

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

From: Michael Meissner <[EMAIL PROTECTED]>
Crossposted-To: 
alt.uu.comp.os.linux.questions,alt.os.linux,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: When the next version of different distributions will be released
Date: 05 Feb 1999 16:13:52 -0500

"Eugene" <[EMAIL PROTECTED]> writes:

> RedHat 5.2 and SuSE 6.0 are 2.2.0-ready (and they are available now). Not
> sure about other distros.

I don't know about S.U.S.E, but RedHat 5.2 is not completely 2.2.0 ready.  The
dhcpcd client is the biggest thing that hit me (the 0.70 version of dhcpcd
absolutely will not work on 2.2.0 and the 1.3.16 version will not work on
2.0.36), but there are other things (like no ipchains, network init scripts
call route after ifconfig resulting in double route entries, printer port
changing, etc.).  No biggy if you also search the contrib and rawhide sites,
but it isn't as simple as loading 5.2 and plunking a 2.2.0 kernel on it.  Given
RedHat releases every six months or so, we are probably due for a new release
shortly (I've heard April).

-- 
Michael Meissner, Cygnus Solutions (Massachusetts office)
4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
[EMAIL PROTECTED],    617-354-5416 (office),  617-354-7161 (fax)

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

From: [EMAIL PROTECTED] (Alexander Viro)
Crossposted-To: 
comp.unix.questions,comp.unix.advocacy,comp.unix.misc,comp.unix.bsd.freebsd.misc
Subject: [Stop it NOW, you all] Re: Best Free Unix? (why FreeBSD?)
Date: 5 Feb 1999 08:31:18 -0500

In article <79ekkr$cc8$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
>more secure after installation than Linux. Linux distributions are
>made for people without experience in unixes, FreeBSD is made for
>people who knows, what is unix :> 

        Paul, may I politely ask you to look at the list of Debian developers.
And *then* shut up and stop making fool of yourself, OK?
        Sheeesh... These days Linux newbies are often ignorant and militant.
Sad that FreeBSD catches up with *that*.

Followups set.

ObSig: No, you didn't reach *exactly* that level. But you are getting close.
-- 
Your brand of "advocacy" is akin to having the KKK show up at one's wedding to
congradulate the happy couple on their choice of marrying within their race.
Some kinds of "support" you just don't need if all it leaves you with the desire
to take a couple of dozen showers.                Jordan Hubbard on c.u.b.f.m

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

From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: comp.unix.solaris
Subject: Re: CD-RW as backup alternative
Date: 5 Feb 1999 15:58:45 -0600

In article <[EMAIL PROTECTED]>,
Frank Hale  <[EMAIL PROTECTED]> wrote:
>> Huh?  If you have a supported drive, you can use either media type
>> with xcdroast.  What happened when you tried?
>
>I haven't tried it. If I record to a CD-RW how am I going to erase it? I
>didn't see anything about CD-RW's in the docs. If you can erase then can
>you delete 1 file at a time say like a diskette? I can do this on
>windows with direct cd.

Xcdroast doesn't erase at all, but it uses and includes cdrecord which
does claim to do multisession stuff if you give the right command
line options.

>> There isn't any difference in the way you write a single session.
>> Xcdroast uses cdrecord under the GUI.  You can erase the CD-RW with
>> cdrecord's command line mode -blank=all.
>> 
>
>Yeah I know that, but what if I don't want to erase the whole disk say a
>couple of files? It can be done with direct cd on windows and works like
>a big floppy disk can something like this be done in linux, if not I
>will just stick with burning CD-R's since they are so cheap. 

I just use mine for archiving and snapshot a growing/changing directory
periodically onto RW's doing a complete erase to recycle them.  When the
directory fills a complete CD or stops changing it can go on a CD-R.
I have a 1.5 gig Syjet for the more dynamic stuff so I haven't tried
to use a CD-RW like a big floppy.

  Les Mikesell
    [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (jedi)
Crossposted-To: 
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,alt.conspiracy.microsoft,comp.os.linux.x,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Is Microsoft a nasty company ? I'm asking you this question.
Date: Fri, 5 Feb 1999 13:35:27 -0800

On Fri, 05 Feb 1999 20:56:54 GMT, Dex <[EMAIL PROTECTED]> wrote:
>On Mon, 25 Jan 1999 23:34:40 -0500, Jim Frost <[EMAIL PROTECTED]>
>wrote:
>
>>It's funny you should mention that.  I've taught a lot of new people how to use
>>UNIX and Windows and I don't see much difference in the learning curve.
>>
>>The funny thing is that graphical systems have become even harder to use than
>>CLI systems in recent years -- there are just so many gestures you have to
>>learn to get things done, and no way to discover them without a manual, and
>>nobody ships manuals any more.
>>
>>jim
>
>I taught myself DOS and later Windows, but I never needed an
>instruction manual. Windows is only difficult for users who don't have
>the guts to do anything they don't know about. For Linux however, I do
>need a manual. In DOS, some 6 years ago, I discovered that typing HELP
>gave the answer to my questions. Linux should have something as easy
>to use. In fact, in Linux you absolutely need to know the (most
>important) key-combinations because else you're doomed.

        apropos <keyword>
        man <commandname>

        You want to talk about HELP commands? VMS has a HELP
        command. The DOS version is a pale immitation.

-- 
                Herding Humans ~ Herding Cats
  
Neither will do a thing unless they really want to, or         |||
is coerced to the point where it will scratch your eyes out   / | \
as soon as your grip slips.

        In search of sane PPP docs? Try http://penguin.lvcm.com








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

From: [EMAIL PROTECTED] (Charles Mulks)
Crossposted-To: comp.os.linux.setup,alt.os.linux
Subject: Re: module problems with kernel 2.2.1
Date: 5 Feb 1999 12:47:28 GMT

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>Uhm...when you compile, where exactly do you build the kernel? 'cause I
>don't see any 'make zImage' or 'make zdisk' or anything similar in your
>make sequence.
>
>MST
>
 JEEZ! - red face - forgot the most important step
 (but only in the message)  :>)
>
>Charles Mulks wrote:
>> 
>> I'm trying to upgrade to kernel 2.2.1 on my RedHat 5.2
>> linux box.  Everything seems to go well except that no
>> *modules* are being loaded
>> 
>> make mrproper
>> make xconfig
>> make dep
>> make clean
   make zImage
>> make modules
>> make modules_install
>> 
>> no errors during any of the above, but when I
>> boot I get an error message:
>> 
>> finding module dependencies
>> depmod... error loading shared libraries
>> undefined symbol: __bzero


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

From: Jay <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Standard host name for standalone box?
Date: Fri, 05 Feb 1999 14:07:14 +0000

All,

        I'm curious if there is a standard hostname convention for stand
alone Linux boxes.  I run Linux on my home machine and thos hostname is
localhost.localdomain.  Is it customary to change that to something more
personal?
I don't have a permant IP address, just a PPP dialup address.

Thank you.

Take care,
Jay

-- 
[EMAIL PROTECTED]
http://www.roadrunner.com/~joconnor

"God himself plays the bass strings first when He tunes the soul"


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

From: [EMAIL PROTECTED] (David Malone)
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: MySQL Benchmarks for FreeBSD and Linux
Date: 5 Feb 1999 12:47:05 -0000

Shu Bin Zhu <[EMAIL PROTECTED]> writes:

>  If you know how to make the file system faster under FreeBSD, please
>let me know.

It is probably the syncronous updates that are slowing the benchmark
on FreeBSD. If you are using FreeBSD-2.2-something you can mount the
filesystem with the "async" flag which turns this off. However if your
machine reboots unexpectedly the filesystem may end up in a mess. You
can just add async to the list of options in fstab.

If you are using FreeBSD-3.0-something you can try softupdates - this
gives you most of the reilyability of sync mounts with atleast the speed
of async mounts (usually). You'll need to compile a new kernel for this,
see the comment above the SOFTUPDATES option in the LINT kernel config
file. After that you will need to turn on softupdates on the filesystem
in question:

        umount /filesystem
        tunefs -n enable /dev/rsdwhatever
        mount /filesystem

When you have softupdates enabeled you should see a log message saying:

/kernel: ffs_mountfs: superblock updated for soft updates


        David.

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

From: Ben Russo <[EMAIL PROTECTED]>
Subject: Re: Window Manager(s) Broken
Date: Fri, 05 Feb 1999 17:09:23 -0500

"Robert H. Thompson" wrote:

> Newbie needs help:
>
> I recently got a Linux box up and running at home. The window manager
> for the root logon is Afterstep. After creating user names and passwords
> for my wife, daughter and myself with window managers of fvwm2. In
> trying to give everyone the same window manager I have screwed them all
> up. Is there a way to give everyone the same window manager. I've got a
> couple of books and they all mention the .xinitrc, .fvwm2rc and .fvwmrc
> files and that they should be in the home directory for all users. These
> files were not present in the /etc/X11 directory there was only a
> system.fvwm2rc and a system.fvwmrc files. I copied these to the home
> directory for the users that I set up and that's when my problems began.
>
> I am using Red Hat 5.2 distribution. If anyone has any insight to this
> problem I would greatly appreciate it.

My suggestion (in addition to helping with the common X config)
is that you get KDE.

If you are running RH 5.1 or 5.2 and haven't done any hacking to your
system,
then do the following.


"ftp://metalab.unc.edu/pub/Linux/distributions/redhat/contrib/manhattan/i386/"

 get

kdesupport-1.0-7rh51*
kdelibs-1.0-7rh51*
kdebase-1.0-7rh51*
kdegames-1.0-5rh51*
qt-1.40-2.i386.rpm

log into the machine as root, (make sure no one is using X on any
console)
and run the following from the directory where you just put these files.

            rpm -Uvh qt* kde*

then cp /etc/X11/xinit/Xclients   /etc/X11/xinit/Xclients.rh-orig
and cp /etc/X11/xinit/Xclients.kde /etc/X11/xinit/Xclients

remove from all user directories ".xinitrc" and ".xserverrc" and
".Xclients"

Then logout and log back in as any user and run "startx"

This should bring up KDE, if you have any more problems, write back.

-Ben.


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

From: [EMAIL PROTECTED] (Radovan Garabik)
Subject: Re: Undelete for Linux...?
Date: 5 Feb 1999 12:42:39 GMT

Frans Gumpu Slothouber <[EMAIL PROTECTED]> wrote:
: Joerg Klaas <[EMAIL PROTECTED]> wrote:
: 
: : Does somwhere a kind of "undelete"-Utility exist for Linux ?
: : (e.g. undeleting files that have been accidently removed by "rm")
: 
: There's a 
: 
: Linux Ext2fs Undeletion mini-HOWTO
: 
: http://cal011111.student.utwente.nl/LDP/HOWTO/mini/Ext2fs-Undeletion.html
: 
: But it looks like you need to be a bit of a wizard...
: 
: Much better is to use a number of shell scripts that 
: wrap around rm  and put files that are deleted in a trash folder
: that is emptied in given intervals....
: 
: Hope that helps,
: Frans.
: 

Midnight commander has undelete built-in. In recent versions, just type
cd /#undel:hdaX  and you can look at deleted files (without names, though)
and copy them wherever you want (to another filesystem is better,
of course). You need to have 2.1 or 2.2 kernel to undelete files bigger
than a few KB. There is also a patch for ext2 filesystem to allow safe
undelete.

bye
--
 ------------------------------------------------------------
| Radovan Garabik   http://melkor.dnp.fmph.uniba.sk/~garabik |
| __..--^^^--..__   garabik @ center . fmph . uniba . sk     |
 ------------------------------------------------------------

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

From: lgbp <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: > 64MB RAM
Date: Fri, 05 Feb 1999 17:44:34 -0500

Ben Russo wrote:

> For 2.0.x   kernel's only finds up to 1023 MB,  (the kernel won't boot if
> more than that!!)
> for 2.2.x  kernel's only finds up to 2GB.
> 
> Sorely limited if you ask me.  I have HP-UX and SOLARIS boxes that are
> limited to
> 4GB or 2TB respectively.
> 
> Linux needs to move to 64 bit!!
> 
> -Ben.

What exactly are you doing that requires one machine to have over two
Gigabytes of memory??

gbp

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

From: lgbp <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Cable Modem and ethernet help!
Date: Fri, 05 Feb 1999 17:48:59 -0500

Next month I'm subscribing to RoadRunner(time/warner) cable modem
service.  It requires an ethernet card and they do not support Linux,
although they say it should work.  

  * What kind of ethernet card should I buy, any in particular?  It only
has to be 10 base-T.  I plan to get a PCI one.  The PCI bus is
plug-and-play so I assume I don't have to worry about drivers for
certain cards right? or do I?

  thanks
  gbp

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


** 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 (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

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

Reply via email to