Linux-Hardware Digest #202, Volume #9            Sun, 17 Jan 99 16:13:50 EST

Contents:
  Re: Help w/ Audio Excel CMI8330 sound card ("Ken McCord")
  Re: HELP: tape experts!!!! URGENT (Eric Lawson)
  Re: Support for RS/6000 250,320,520 + C10 (Al)
  Re: My partition choice (Ernst-Udo Wallenborn)

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

From: "Ken McCord" <[EMAIL PROTECTED]>
Subject: Re: Help w/ Audio Excel CMI8330 sound card
Date: Sun, 17 Jan 1999 10:22:19 -0500

Do a DejaNews search for my CMI8330 HowTo posted in December and last week.
Let me know if you have any difficulties with the setup.

Ken McCord

JTKirk wrote in message <[EMAIL PROTECTED]>...
>I'm having trouble configuring my sound card (as I said, an Audio Excel
>ISA PnP with a CMI8330A chip) under RedHat 5.2 (kernel 2.0.36)
>with the OSS/Free driver.
>Even after using pnpdump and setting properly the /etc/isapnp.conf
>file, when I run sndconfig, I get the messge "No PCI or PnP
>sound card detected" and have then to manually set up the card.
>I set it as a SB16, io=0x220, irq=5, dma=1, dma16=5, mpu_i0=0x330
>Then the sound check passes OK (which means I hear the digitized
>sound without problems)
>BUT: when I try to play a MIDI file, it's as if it was being
>played through /dev/null (no output at all, no error messages,
>nmo nothing). The same happens when running xdoom, the background
>music isn't heard, though the sound F/X do (and I haven't any
>problems playing .wav, .au or any other sampled sounds, either)
>When trying to run Quake, I get that "segmentation fault" error,
>possibly because the program tries to autodetect the soundcard
>and fails...
>
>Here's every file I can think of that is related to sound:
>
>
>/proc/devices:
>==============
>Character devices:
> 1 mem
> 2 pty
> 3 ttyp
> 4 ttyp
> 5 cua
> 7 vcs
>10 misc
>14 sound
>
>Block devices:
> 1 ramdisk
> 2 fd
> 3 ide0
> 9 md
>
>/proc/dma:
>==========
> 1: SoundBlaster8
> 4: cascade
> 5: SoundBlaster16
>
>
>/proc/interrupts:
>=================
> 0:     970180   timer
> 1:      18610   keyboard
> 2:          0   cascade
> 4:      84112 + serial
> 5:       1447   soundblaster
> 8:          1 + rtc
>13:          1   math error
>14:     210842 + ide0
>
>/proc/ioports:
>==============
>0000-001f : dma1
>0020-003f : pic1
>0040-005f : timer
>0060-006f : keyboard
>0070-007f : rtc
>0080-009f : dma page reg
>00a0-00bf : pic2
>00c0-00df : dma2
>00f0-00ff : npu
>01f0-01f7 : ide0
>0220-022f : soundblaster
>02f8-02ff : serial(auto)
>0330-0333 : MPU-401 UART
>0388-038b : Yamaha OPL3
>03c0-03df : vga+
>03f0-03f5 : floppy
>03f6-03f6 : ide0
>03f7-03f7 : floppy DIR
>03f8-03ff : serial(auto)
>
>/proc/modules:
>==============
>isofs              5 1 (autoclean)
>nls_iso8859_1      1 3 (autoclean)
>vfat               4 3 (autoclean)
>nls_cp437          1 4 (autoclean)
>umsdos             5 1 (autoclean)
>opl3               3 0
>sb                 6 0
>uart401            2 [sb] 0
>sound             15 [opl3 sb uart401] 0
>soundlow           1 [sound] 0
>soundcore          1 [sb sound] 6
>
>/dev/sndstat:
>=============
>OSS/Free:3.8s2++-971130
>Load type: Driver loaded as a module
>Kernel: Linux uss-defiant 2.0.36 #1 Tue Oct 13 22:17:11 EDT 1998 i486
>Config options: 0
>
>Installed drivers:
>
>Card config:
>
>Audio devices:
>0: Sound Blaster 16 (4.13)
>
>Synth devices:
>0: Yamaha OPL3
>
>Midi devices:
>0: Sound Blaster 16
>
>Timers:
>0: System clock
>
>Mixers:
>0: Sound Blaster
>
>/etc/conf.modules:
>==================
>alias sound sb
>alias midi opl3
>options opl3 io=0x388
>options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
>
>/etc/sysconfig/soundcard:
>=========================
># THIS FILE IS WRITTEN BY SNDCONFIG
># PLEASE USE SNDCONFIG TO MODIFY
># TO CHANGE THIS FILE!
># There should be no spaces at the start of a line
># or around the '=' sign
>CARDTYPE=SB16
>
>output of script /etc/rc.d/init.d/sound showing status:
>=======================================================
>Modular sound card detected.
>MIDI device present.
>
>and the /etc/isapnp.conf file:
>==============================
>
># $Id: pnpdump.c,v 1.15a 1998/05/25 17:22:16 fox Exp $
># This is free software, see the sources for details.
># This software has NO WARRANTY, use at your OWN RISK
>#
># For details of this file format, see isapnp.conf(5)
>#
># For latest information on isapnp and pnpdump see:
># http://www.roestock.demon.co.uk/isapnptools/
>#
># Compiler flags: -DREALTIME -DNEEDSETSCHEDULER
>#
># Trying port address 0203
># Trying port address 020b
># Board 1 has serial identifier 8d 01 00 01 00 01 00 a9 0d
>
># (DEBUG)
>(READPORT 0x020b)
>(ISOLATE PRESERVE)
>(IDENTIFY *)
>
># Card 1: (serial identifier 8d 01 00 01 00 01 00 a9 0d)
># Vendor Id CMI0001, Serial Number 16777472, checksum 0x8D.
># Version 1.0, Vendor version 0.0
># ANSI string -->CMI8330. Audio Adapter<--
>#
># Logical device id @@@0001
>#     Device supports vendor reserved register @ 0x3a
>#     Device supports vendor reserved register @ 0x3c
>#     Device supports vendor reserved register @ 0x3d
>#
># Edit the entries below to uncomment out the configuration required.
># Note that only the first value of any range is given, this may be changed
if
>required
># Don't forget to uncomment the activate (ACT Y) when happy
>
>(CONFIGURE CMI0001/16777472 (LD 0
>
># Multiple choice time, choose one only !
>
>#     Start dependent functions: priority preferred
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0530
>#             Maximum IO base address 0x0530
>#             IO base alignment 1 bytes
>#             Number of IO addresses required: 8
>  (IO 0 (BASE 0x0530))
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0388
>#             Maximum IO base address 0x0388
>#             IO base alignment 1 bytes
>#             Number of IO addresses required: 8
>  (IO 1 (BASE 0x0388))
>#       IRQ 11.
>#             High true, edge sensitive interrupt (by default)
>  (INT 0 (IRQ 11 (MODE +E)))
>#       First DMA channel 0.
>#             8 bit DMA only
>#             Logical device is not a bus master
>#             DMA may execute in count by byte mode
>#             DMA may not execute in count by word mode
>#             DMA channel speed in compatible mode
>  (DMA 0 (CHANNEL 0))
>
>#       Start dependent functions: priority acceptable
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0530
>#             Maximum IO base address 0x0530
>#             IO base alignment 1 bytes
>#             Number of IO addresses required: 8
># (IO 0 (BASE 0x0530))
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0388
>#             Maximum IO base address 0x0388
>#             IO base alignment 1 bytes
>#             Number of IO addresses required: 8
># (IO 1 (BASE 0x0388))
>#       IRQ 5, 7, 9, 10, 11 or 12.
>#             High true, edge sensitive interrupt (by default)
># (INT 0 (IRQ 5 (MODE +E)))
>#       First DMA channel 0, 1 or 3.
>#             8 bit DMA only
>#             Logical device is not a bus master
>#             DMA may execute in count by byte mode
>#             DMA may not execute in count by word mode
>#             DMA channel speed in compatible mode
># (DMA 0 (CHANNEL 0))
>
>#       Start dependent functions: priority acceptable
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0e80
>#             Maximum IO base address 0x0f40
>#             IO base alignment 192 bytes
>#             Number of IO addresses required: 8
># (IO 0 (BASE 0x0e80))
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0388
>#             Maximum IO base address 0x03f8
>#             IO base alignment 16 bytes
>#             Number of IO addresses required: 8
># (IO 1 (BASE 0x0388))
>#       IRQ 5, 7, 9, 10, 11 or 12.
>#             High true, edge sensitive interrupt (by default)
># (INT 0 (IRQ 5 (MODE +E)))
>#       First DMA channel 0, 1 or 3.
>#             8 bit DMA only
>#             Logical device is not a bus master
>#             DMA may execute in count by byte mode
>#             DMA may not execute in count by word mode
>#             DMA channel speed in compatible mode
># (DMA 0 (CHANNEL 0))
>
>#     End dependent functions
>  (ACT Y)
>))
>#
># Logical device id @H@0001
>#     Device supports vendor reserved register @ 0x38
>#     Device supports vendor reserved register @ 0x3a
>#     Device supports vendor reserved register @ 0x3c
>#     Device supports vendor reserved register @ 0x3d
>#
># Edit the entries below to uncomment out the configuration required.
># Note that only the first value of any range is given, this may be changed
if
>required
># Don't forget to uncomment the activate (ACT Y) when happy
>
>(CONFIGURE CMI0001/16777472 (LD 1
>
># Multiple choice time, choose one only !
>
>#     Start dependent functions: priority preferred
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0330
>#             Maximum IO base address 0x0330
>#             IO base alignment 1 bytes
>#             Number of IO addresses required: 2
>  (IO 0 (BASE 0x0330))
>#       IRQ 9.
>#             High true, edge sensitive interrupt (by default)
>  (INT 0 (IRQ 9 (MODE +E)))
>
>#       Start dependent functions: priority acceptable
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0300
>#             Maximum IO base address 0x0330
>#             IO base alignment 16 bytes
>#             Number of IO addresses required: 2
># (IO 0 (BASE 0x0300))
>#       IRQ 5, 7, 9, 10, 11 or 12.
>#             High true, edge sensitive interrupt (by default)
># (INT 0 (IRQ 5 (MODE +E)))
>
>#     End dependent functions
>  (ACT Y)
>))
>#
># Logical device id @P@0001
>#     Device supports vendor reserved register @ 0x3a
>#     Device supports vendor reserved register @ 0x3c
>#     Device supports vendor reserved register @ 0x3d
>#
># Edit the entries below to uncomment out the configuration required.
># Note that only the first value of any range is given, this may be changed
if
>required
># Don't forget to uncomment the activate (ACT Y) when happy
>
>(CONFIGURE CMI0001/16777472 (LD 2
>
># Multiple choice time, choose one only !
>
>#     Start dependent functions: priority preferred
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0200
>#             Maximum IO base address 0x0200
>#             IO base alignment 1 bytes
>#             Number of IO addresses required: 8
>  (IO 0 (BASE 0x0200))
>
>#       Start dependent functions: priority acceptable
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0200
>#             Maximum IO base address 0x0fe0
>#             IO base alignment 16 bytes
>#             Number of IO addresses required: 8
># (IO 0 (BASE 0x0200))
>
>#     End dependent functions
>  (ACT Y)
>))
>#
># Logical device id @X@0001
>#     Device supports vendor reserved register @ 0x3a
>#     Device supports vendor reserved register @ 0x3c
>#     Device supports vendor reserved register @ 0x3d
>#
># Edit the entries below to uncomment out the configuration required.
># Note that only the first value of any range is given, this may be changed
if
>required
># Don't forget to uncomment the activate (ACT Y) when happy
>
>(CONFIGURE CMI0001/16777472 (LD 3
>
># Multiple choice time, choose one only !
>
>#     Start dependent functions: priority preferred
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0220
>#             Maximum IO base address 0x0220
>#             IO base alignment 1 bytes
>#             Number of IO addresses required: 16
> (IO 0 (BASE 0x0220))
>#       IRQ 5.
>#             High true, edge sensitive interrupt (by default)
> (INT 0 (IRQ 5 (MODE +E)))
>#       First DMA channel 1.
>#             8 bit DMA only
>#             Logical device is not a bus master
>#             DMA may execute in count by byte mode
>#             DMA may not execute in count by word mode
>#             DMA channel speed in compatible mode
> (DMA 0 (CHANNEL 1))
>#       Next DMA channel 5.
>#             16 bit DMA only
>#             Logical device is not a bus master
>#             DMA may not execute in count by byte mode
>#             DMA may execute in count by word mode
>#             DMA channel speed in compatible mode
> (DMA 1 (CHANNEL 5))
>
>#       Start dependent functions: priority acceptable
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0220
>#             Maximum IO base address 0x0240
>#             IO base alignment 32 bytes
>#             Number of IO addresses required: 16
>#  (IO 0 (BASE 0x0220))
>#       IRQ 5, 7, 9 or 10.
>#             High true, edge sensitive interrupt (by default)
>#  (INT 0 (IRQ 7 (MODE +E)))
>#       First DMA channel 0, 1 or 3.
>#             8 bit DMA only
>#             Logical device is not a bus master
>#             DMA may execute in count by byte mode
>#             DMA may not execute in count by word mode
>#             DMA channel speed in compatible mode
>#  (DMA 0 (CHANNEL 3))
>#       Next DMA channel 5 or 7.
>#             16 bit DMA only
>#             Logical device is not a bus master
>#             DMA may not execute in count by byte mode
>#             DMA may execute in count by word mode
>#             DMA channel speed in compatible mode
>#  (DMA 1 (CHANNEL 5))
>
>#       Start dependent functions: priority acceptable
>#       Logical device decodes 16 bit IO address lines
>#             Minimum IO base address 0x0220
>#             Maximum IO base address 0x0280
>#             IO base alignment 32 bytes
>#             Number of IO addresses required: 16
># (IO 0 (BASE 0x0220))
>#       IRQ 5, 7, 9, 10, 11 or 12.
>#             High true, edge sensitive interrupt (by default)
># (INT 0 (IRQ 5 (MODE +E)))
>#       First DMA channel 0, 1 or 3.
>#             8 bit DMA only
>#             Logical device is not a bus master
>#             DMA may execute in count by byte mode
>#             DMA may not execute in count by word mode
>#             DMA channel speed in compatible mode
># (DMA 0 (CHANNEL 0))
>#       Next DMA channel 5 or 7.
>#             16 bit DMA only
>#             Logical device is not a bus master
>#             DMA may not execute in count by byte mode
>#             DMA may execute in count by word mode
>#             DMA channel speed in compatible mode
># (DMA 1 (CHANNEL 5))
>
>#     End dependent functions
>  (ACT Y)
>))
># End tag... Checksum 0x00 (OK)
>
># Returns all cards to the "Wait for Key" state
>(WAITFORKEY)
>
>
>All the sound options in the kernel are the defaults, that is,
>everything as "M"odules.
>
>And Finally, just in case, here are my DOS and Win95 setups:
>
>DOS:
>====
>WSS I/O E80
>WSS IRQ 10
>WSS DMA 0
>VOICE I/O 220
>VOICE IRQ 5
>VOICE DMA 1,5
>MPU ENABLE
>MPU I/O 330
>MPU IRQ 9
>GAME I/O 200
>OPL3 I/O 388
>
>Win95:
>======
>
>MPU 401 i/o 0330-0331, int 09
>SB16 i/o 0220-022F, irq 05, dma 01, dma 05
>WSS i/o 0E80-0E87, i/o 0388-03FF, irq 10, dma 00
>JOYSTICK i/o 0200-0207
>
>So, please, if anyone could tell me what I'm doing wrong and
>why I'm not hearing any synth sound...
>
>TIA
>
>--
>__________   ____---____       Marco Antonio  Checa  Funcke
>\_________D /-/---_----'       mailto:[EMAIL PROTECTED],
>       _H__/_/            [EMAIL PROTECTED],[EMAIL PROTECTED]
>      '-_____|(     http://www.GeoCities.com/Hollywood/2645



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

From: Eric Lawson <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.misc,alt.uu.comp.os.linux.questions,fj.comp.dev.tape,fido.ger.linux
Subject: Re: HELP: tape experts!!!! URGENT
Date: Thu, 14 Jan 1999 17:59:56 -�700

Markus Kohler wrote:

(snip)
> I have written tar files onto the tape using "cat filename >
> /dev/nftape". When I had written everything I checked the status with
> "mt -f /dev/nftape status" and indeed the data must have been written,
> because there were only some 114 Meg left instead of the 400Meg before.
(snip)
> How can I get beyond this border line? Is there any way? I tried cat, dd
> etc. Nothing worked.
>

Get to the end of the tape, tell mt to move the tape to the
next block and then try to continue on.  
I think the command is mt -f /dev/nftape fsr   Check the man
page first.

You may lose one block of data, but hopefully you can work
around it

This is about the best that I can do.

Eric

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

From: Al <[EMAIL PROTECTED]>
Subject: Re: Support for RS/6000 250,320,520 + C10
Date: Sun, 17 Jan 1999 12:13:20 +0000

>>Al wrote in message ...
>>Er, sorry.
>>
>>I'm knew to Linux - I know some AIX and HPUX, but as far as Linux goes
>>it's something new.
>>
>>I have obtained some hardware from the company I work for, and I want to
>>ditch the AIX and have a bit more control over the software.
>>
>>OK, the C10 is not a problem as it uses (I think a 68k) a RISC chip.  As
>>for the antiques - well - I don't know what processors they use so I was
>>wondering if anyone knew if any flavours of Linux will run on them.
>>
>>As for configuring - support for MCA?

Richard Payne <[EMAIL PROTECTED]> writes

>umm...No. I believe that all the machines you have listed there
>are built around IBM's Power series of processors. This pre-dates
>the current PowerPC boxes. Unfortunately there is currently no
>port of Linux to these boxes. There is some Linux MCA work but
>I have been told it may or may not work for RS/6000 MCA (don't
>know why, just repeating what somebody had said to me).

Bugger. :(
>
>--
>Rich Payne
>(Speaking for myself, not my employer)
>payner at timken dot com
>
>Looking for Alpha-Linux info?
>http://www.alphalinux.org
>
>

-- 
Mother's got a brand new leaning post, it's made of words and pages,
It says 'God gives us our daily toast', but dad still earns the wages.

Al

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

Crossposted-To: comp.os.linux.misc,comp.unix.questions,comp.os.linux
Subject: Re: My partition choice
From: Ernst-Udo Wallenborn <[EMAIL PROTECTED]>
Date: 17 Jan 1999 17:49:36 +0100




> Ilya wrote:
> > 
> > I'd like to know if this will work pretty well for a personal workstation
> > and if I can improve this setup in any way. Redhat 5.2, 9.1GB hard drive.
> > 
> > So far, I am thinking about this partition setup.  I will assume that the
> > real capacity is about 90% of the pre-formatted 9.1GB capacity.
> > 
> > /swap    512  MB
> > /tmp     350  MB
> > /usr     4096 MB
> > /var     1648 MB
> > /home    1024 MB
> > /        512  MB
> > /proc    48   MB

In addition to what the other posters wrote (and i agree with most of
it) i'd like to state one more point: Having different partitions only
makes sense if there 's a good reason for it. A good reason might be
a fast local internal disk for /tmp in a  network that has nfs. Another
good reason would be different physical disks. In your case neither
of these applies. As i see it, there is only one possible reason you
might want to have more than / and swap: One day RH5.3 will come out,
or you'll want to give debian a try or you'd like to go 2.2.* and test
it in parallel to your existing setup. Then you need to ask yourself:
What has to change in the upgrade, and what has to stay the same?

In my personal experience (SuSE 5.1->5.3 (currently) and 6.0 (planned))
this was always the biggest problem after upgrades: personal setups,
programs that ran within shell script wrappers, upgraded software,
specialized libraries, and hacks like that. And based on this experience
i'd say: Make a 128MB swap, put /home on a separate partition (~4GB), 
put /usr/local on a separate partition (~3GB), install every tar.gz 
emacs-update, python-beta or teTeX-990117 in /usr/local/ only, and 
give / all the rest. In general, imho, things that are likely to change 
simultaneously or not at all, or whose expiration date you determine on 
your own justify a partition of their own. 




-- 
Ernst-Udo Wallenborn
Laboratorium fuer Physikalische Chemie
ETH Zuerich

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


** 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.hardware) 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-Hardware Digest
******************************

Reply via email to