Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 1998 23:37:03 -0800
From:      Donald Acton <acton@opentext.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        Donald Acton <acton@opentext.com>, freebsd-questions@FreeBSD.ORG, acton@vn.opentext.com, acton@stoner.nsg.bc.ca
Subject:   Re: DMA beyond end of ISA in 3.0 
Message-ID:  <199801230737.XAA13973@stoner.nsg.bc.ca>
In-Reply-To: Your message of "Fri, 23 Jan 1998 17:52:04 %2B1030." <19980123175204.39831@lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


Greg Lehay responded with 

>This is probably because your kernel is built without the line
>
>options         BOUNCE_BUFFERS          #include support for DMA bounce buffers
>
>You need these with ISA DMA devices like your Adaptec 154x if you have
>more than 16 MB memory.
>

I should have mentioned that this problem occurs with the kernel on
the boot floppies shipped with the various releases, and with the
kernel's I have built. Here is a copy of the kernel configuration file 
I have been using.

Donald

machine         "i386"
cpu             "I386_CPU"
cpu             "I486_CPU"
cpu             "I586_CPU"
ident   Comox
maxusers        10

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
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
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         "MD5"
config          kernel  root on wd0

controller      isa0
controller      eisa0
controller      pci0

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

options         "CMD640"        # work around CMD640 chip deficiency
controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wdc0 drive 0
controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
options         "TUNE_1542"
controller      aha0    at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr

controller      scbus0

device          sd0

device          st0

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

# 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                XSERVER                 # support for X server
#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

device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
#controller     card0
#device         pcic0   at card?
#device         pcic1   at card?

device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4 vector sioin
tr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr
device          sio2    at isa? disable 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

# 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 ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr
device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr
pseudo-device   loop
pseudo-device   ether
pseudo-device   ppp     1
pseudo-device   tun     2
pseudo-device   pty     16
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   vn 
pseudo-device   bpfilter 2
# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options         KTRACE          #kernel tracing

# This provides support for System V shared memory.
#
options         SYSVSHM





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