Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 1996 01:15:21 -0900 (GMT)
From:      Woohyong Choi <whchoi@cosmos.kaist.ac.kr>
To:        freebsd-multimedia@freebsd.org
Cc:        hasty@rah.star-gate.com, whchoi@cosmos.kaist.ac.kr (Woohyong Choi), yichoi@cosmos.kaist.ac.kr (Youngil Choi)
Subject:   problem installing beta release for the gus pnp pro
Message-ID:  <199605161015.BAA04876@cosmos.kaist.ac.kr>

next in thread | raw e-mail | index | archive | help
hi again, freebsd-multimedia hackers!

i've retrieved guspnp.tar.gz from your host and trying to install
it onto 2.2-960501-SNAP snapshot distribution.

I've followed instructions given in the README.GUSPNP, to unpack 
the release,

cd /sys/i386/isa
mv sound sound.old
tar -xzf guspnp.tar.gz 

then i've ran configure as follows,

bash# ./configure 

Configuring the sound support

Old configuration exists in /etc/soundconf. Use it (y/n) ? n
/*      Generated by configure. Don't edit!!!!  */
/*      Making changes to this file is not as simple as it may look.    */

  ProAudioSpectrum 16 support (n/y) ? n
  SoundBlaster support (n/y) ? n
  Generic OPL2/OPL3 FM synthesizer support (n/y) ? n
  Gravis Ultrasound support (n/y) ? y
  MPU-401 support (NOT for SB16) (n/y) ? n
  6850 UART Midi support (n/y) ? n
  PSS (ECHO-ADI2111) support (n/y) ? n
  16 bit sampling option of GUS (_NOT_ GUS MAX) (n/y) ? n
  GUS MAX support (n/y) ? y
  Microsoft Sound System support (n/y) ? n
  Ensoniq Soundscape support (n/y) ? n
  MediaTriX AudioTriX Pro support (n/y) ? n
  Support for MAD16 and/or Mozart based cards (n/y) ? n
  Support for Crystal CS4232 based (PnP) cards (n/y) ? n
  Support for Turtle Beach Wave Front (Maui, Tropez) synthesizers (n/y) ? n
  /dev/dsp and /dev/audio supports (usually required) (y/n) ? y
  MIDI interface support (y/n) ? n

#define KERNEL_SOUNDCARD
#undef  CONFIG_PAS
#undef  CONFIG_SB
#undef  CONFIG_ADLIB
#define CONFIG_GUS
#undef  CONFIG_MPU401
#undef  CONFIG_UART6850
#undef  CONFIG_PSS
#undef  CONFIG_GUS16
#define CONFIG_GUSMAX
#undef  CONFIG_MSS
#undef  CONFIG_SSCAPE
#undef  CONFIG_TRIX
#undef  CONFIG_MAD16
#undef  CONFIG_CS4232
#undef  CONFIG_MAUI
#undef  CONFIG_PNP
#undef  CONFIG_SBPRO
#undef  CONFIG_SB16
#undef  CONFIG_AEDSP16
#define CONFIG_AUDIO
#undef  CONFIG_MIDI
#undef  CONFIG_YM3812
#define CONFIG_SEQUENCER

#undef  CONFIG_MPU_EMU
#define CONFIG_AD1848


Select the DMA buffer size (4096, 16384, 32768 or 65536 bytes)
65536 is recommended value for this configuration.
Enter the value: 65536
The DMA buffer size set to 65536
#define DSP_BUFFSIZE 65536
#define SELECTED_SOUND_OPTIONS  0x01080108
The sound driver is now configured.
Save copy of this configuration to /etc/soundconf (y/n)y
bash# 

and then copied /etc/soundconf into /sys/i386/isa/sound/local.h


then I get the following error during the kernel make process.

cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Winline  -nostdinc -I. -I../.. -I../../sys -I../../../include -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU -DAPM_BROKEN_STATCLOCK -DATAPI_STATIC -DATAPI -DMETEOR_ALLOC_PAGES=151 -DFAILSAFE -DCOMPAT_43 -DCD9660 -DMSDOSFS -DGRF_NTSC -DMULTICAST -DNFS -DFFS -DINET -DKERNEL  ../../i386/isa/sound/dev_table.c
In file included from ../../i386/isa/sound/os.h:9,
                 from ../../i386/isa/sound/sound_config.h:40,
                 from ../../i386/isa/sound/dev_table.c:31:
../../sys/user.h:70: field `e_vm' has incomplete type
In file included from ../../i386/isa/sound/sound_config.h:186,
                 from ../../i386/isa/sound/dev_table.c:31:
../../i386/isa/sound/sound_calls.h:166: warning: redundant redeclaration of `gusintr' in same scope
./ioconf.h:17: warning: previous declaration of `gusintr'
../../i386/isa/sound/dev_table.c:41: warning: no previous prototype for `snd_find_driver'
../../i386/isa/sound/dev_table.c:131: warning: no previous prototype for `sndtable_init'
../../i386/isa/sound/dev_table.c:137: warning: no previous prototype for `sound_unload_drivers'
../../i386/isa/sound/dev_table.c:162: warning: no previous prototype for `sound_unload_driver'
../../i386/isa/sound/dev_table.c:194: warning: no previous prototype for `sndtable_probe'
../../i386/isa/sound/dev_table.c:265: warning: no previous prototype for `sndtable_init_card'
../../i386/isa/sound/dev_table.c:323: warning: no previous prototype for `sndtable_identify_card'
../../i386/isa/sound/dev_table.c:345: warning: no previous prototype for `sound_chconf'
../../i386/isa/sound/dev_table.c:375: warning: no previous prototype for `sound_getconf'
*** Error code 1



just for your information, my kernel definitions are as follows,

thanks for your continuing help!

-whchoi


#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#       $Id: GENERIC,v 1.69 1996/05/01 03:26:58 bde Exp $
#

machine         "i386"
cpu             "I386_CPU"
cpu             "I486_CPU"
cpu             "I586_CPU"
cpu             "I686_CPU"
ident           GENERIC
maxusers        10

options         SYSVMSG
options         SYSVSEM
options         SYSVSHM
options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
options         MULTICAST
options         GRF_NTSC
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=15           #Be pessimistic about Joe SCSI device
options         BOUNCE_BUFFERS          #include support for DMA bounce buffers
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative

config          kernel  root on wd0

controller      isa0
controller      eisa0
controller      pci0
device          meteor0
options         METEOR_ALLOC_PAGES=151 
 
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0
disk            fd1     at fdc0 drive 1
tape            ft0     at fdc0 drive 2

controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM 
device          wcd0    #IDE CD-ROM     

# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
# for any number of installed devices.  
#controller     ncr0
#controller     ahb0
controller      ahc0

#controller     bt0     at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
#controller     uha0    at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
#controller     aha0    at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
#controller     aic0    at isa? port 0x340 bio irq 11 vector aicintr
#controller     nca0    at isa? port 0x1f88 bio irq 10 vector ncaintr
#controller     nca1    at isa? port 0x350 bio irq 5 vector ncaintr
#controller     sea0    at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seai
ntr

controller      scbus0 

device          sd0

device          od0     

device          st0     

device          cd0     #Only need one of these, the code dynamically grows

device          wt0     at isa? port 0x300 bio irq 5 drq 1 vector wtintr
device          mcd0    at isa? port 0x300 bio irq 10 vector mcdintr
device          mcd1    at isa? port 0x340 bio irq 11 vector mcdintr  

controller      matcd0  at isa? port 0x230 bio

device          scd0    at isa? port 0x230 bio

controller      snd0    
device          gus0    at isa? port 0x220 irq 11 drq 1 flags 0x3 vector gusintr

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa? port "IO_KBD" tty irq 1 vector pcrint
#options                PCVT_FREEBSD=210        # pcvt running on FreeBSD >= 2.0
.5
#options                XSERVER                 # include code for XFree86
#options                FAT_CURSOR              # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options                PCVT_SCANSET=2          # IBM keyboards are non-std

# Mandatory, don't remove
device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
device          apm0    at isa? disable # Advanced Power Management
options         APM_BROKEN_STATCLOCK    # Workaround some buggy APM BIOS

device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr
device          sio2    at isa? port "IO_COM3" tty irq 5 vector siointr
device          sio3    at isa? disable port "IO_COM4" tty irq 9 vector siointr

device          lpt0    at isa? port? tty irq 7 vector lptintr
device          lpt1    at isa? port? tty
device          lpt2    at isa? port? tty
device          mse0    at isa? port 0x23c tty irq 5 vector mseintr

device          psm0    at isa? disable port "IO_KBD" conflicts tty irq 12 vecto
r psmintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device de0
device fxp0     
device vx0
  
device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
device ep0 at isa? port 0x300 net irq 10 vector epintr
device fe0 at isa? port 0x300 net irq ? vector feintr
device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
device lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr
device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr

pseudo-device   loop
pseudo-device   ether
pseudo-device   log
pseudo-device   sl      1
# ijppp uses tun instead of ppp device
#pseudo-device  ppp     1
pseudo-device   tun     1
pseudo-device   pty     16
# keep this if you want to be able to continue to use /stand/sysinstall
pseudo-device   gzip            # Exec gzipped a.out's





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605161015.BAA04876>