From owner-freebsd-stable Thu Sep 21 2:48:30 2000 Delivered-To: freebsd-stable@freebsd.org Received: from morpheus.skynet.be (morpheus.skynet.be [195.238.2.39]) by hub.freebsd.org (Postfix) with ESMTP id 92DC637B423; Thu, 21 Sep 2000 02:48:22 -0700 (PDT) Received: from [195.238.1.121] (brad.techos.skynet.be [195.238.1.121]) by morpheus.skynet.be (Postfix) with ESMTP id 5B792DCF3; Thu, 21 Sep 2000 11:48:18 +0200 (MET DST) Mime-Version: 1.0 X-Sender: blk@pop.skynet.be Message-Id: In-Reply-To: <200008040734.AAA00618@mass.osd.bsdi.com> References: <200008040734.AAA00618@mass.osd.bsdi.com> Date: Thu, 21 Sep 2000 11:48:09 +0200 To: Mike Smith , stable@FreeBSD.ORG From: Brad Knowles Subject: Re: Mylex adapters with 2.x firmware and "couldn't map register window" Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:34 AM -0700 2000/8/4, Mike Smith wrote: > The fix for this has been committed to -stable, and there's a kit for > 4.1-RELEASE users wanting to install on these adapters at > http://people.freebsd.org/~msmith/RAID/mylex/mlx2_patchkit.tar.gz After having recently done a "make update" followed by "make buildworld" then "make buildkernel" and "make installkernel", then rebooting and doing a "make installworld", and then finally re-building the new FreeBSD 4.1-STABLE kernel using the "normal" procedure, I pulled down the kit, and followed the instructions according to the README: To install: 1) Copy sys/dev/asr and sys/modules/asr from the distribution archive into their corresponding locations. 2) Apply the 'files.diff' patch to /sys/conf/files 3) Ensure that your kernel has CAM support, ie. that the lines device scbus device da are present in your kernel configuration. 3a) Build and install the 'asr' module. 3b) Add the line asr_load="YES" to /boot/loader.conf, or - or - 4) Add the line controller asr to your kernel configuration file and rebuild/reinstall your kernel. I did not do step 3b, I instead elected to do step 4. This way I don't have to worry about the additional manual "camcontrol rescan". However, when doing a "make depend" for my kernel configuration, I get: mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 device_if.c bus_if.c ../../cam/cam.c ../../cam/cam_xpt.c ../../cam/cam_extend.c ../../cam/cam_queue.c ../../cam/cam_periph.c ../../cam/cam_sim.c ../../cam/scsi/scsi_all.c ../../cam/scsi/scsi_da.c ../../cam/scsi/scsi_sa.c ../../cam/scsi/scsi_cd.c ../../cam/scsi/scsi_pass.c ../../dev/aic/aic.c ../../dev/aic7xxx/ahc_eisa.c ../../dev/aic7xxx/ahc_pci.c ../../dev/aic7xxx/aic7xxx.c ../../dev/aic7xxx/93cx6.c ../../dev/dpt/dpt_scsi.c ../../dev/dpt/dpt_eisa.c ../../dev/dpt/dpt_pci.c ../../dev/asr/asr.c ../../dev/md/md.c ppbus_if.c ../../dev/ppbus/if_plip.c ../../dev/ppbus/lpt.c ../../dev/ppbus/ppb_base.c ../../dev/ppbus/ppb_1284.c ../../dev/ppbus/ppb_msq.c ../../dev/ppbus/ppbconf.c ../../dev/ppbus/ppi.c ../../isofs/cd9660/cd9660_bmap.c ../../isofs/cd9660/cd9660_lookup.c ../../isofs/cd9660/cd9660_node.c ../../isofs/cd9660/cd9660_rrip.c ../../isofs/cd9660/cd9660_util.c ../../isofs/cd9660/cd9660_vfsops.c ../../isofs/cd9660/cd9660_vnops.c ../../kern/imgact_aout.c ../../kern/imgact_elf.c ../../kern/imgact_shell.c ../../kern/init_main.c ../../kern/init_sysent.c ../../kern/kern_intr.c ../../kern/kern_module.c ../../kern/kern_linker.c ../../kern/link_aout.c ../../kern/link_elf.c ../../kern/kern_acct.c ../../kern/kern_acl.c ../../kern/kern_clock.c ../../kern/kern_conf.c ../../kern/kern_descrip.c ../../kern/kern_environment.c ../../kern/kern_event.c ../../kern/kern_exec.c ../../kern/kern_exit.c ../../kern/kern_fork.c ../../kern/kern_jail.c ../../kern/kern_kthread.c ../../kern/kern_ktrace.c ../../kern/kern_lock.c ../../kern/kern_lockf.c ../../kern/kern_malloc.c ../../kern/kern_mib.c ../../kern/kern_ntptime.c ../../kern/kern_physio.c ../../kern/kern_proc.c ../../kern/kern_prot.c ../../kern/kern_random.c ../../kern/kern_resource.c ../../kern/kern_shutdown.c ../../kern/kern_sig.c ../../kern/kern_subr.c ../../kern/kern_switch.c ../../kern/kern_synch.c ../../kern/kern_syscalls.c ../../kern/kern_sysctl.c ../../kern/kern_time.c ../../kern/kern_timeout.c ../../kern/kern_xxx.c ../../kern/md5c.c ../../kern/subr_autoconf.c ../../kern/subr_bus.c ../../kern/subr_devstat.c ../../kern/subr_disk.c ../../kern/subr_diskslice.c ../../kern/subr_eventhandler.c ../../kern/subr_log.c ../../kern/subr_module.c ../../kern/subr_prf.c ../../kern/subr_prof.c ../../kern/subr_blist.c ../../kern/subr_scanf.c ../../kern/subr_taskqueue.c ../../kern/subr_xxx.c ../../kern/sys_generic.c ../../kern/sys_pipe.c ../../kern/sys_process.c ../../kern/subr_rman.c ../../kern/sys_socket.c ../../kern/sysv_ipc.c ../../kern/sysv_msg.c ../../kern/sysv_sem.c ../../kern/sysv_shm.c ../../kern/tty.c ../../kern/tty_compat.c ../../kern/tty_conf.c ../../kern/tty_cons.c ../../kern/tty_pty.c ../../kern/tty_subr.c ../../kern/tty_tty.c ../../kern/uipc_accf.c ../../kern/uipc_domain.c ../../kern/uipc_mbuf.c ../../kern/uipc_mbuf2.c ../../kern/uipc_proto.c ../../kern/uipc_socket.c ../../kern/uipc_socket2.c ../../kern/uipc_syscalls.c ../../kern/uipc_usrreq.c ../../kern/vfs_bio.c ../../kern/vfs_cache.c ../../kern/vfs_cluster.c ../../kern/vfs_conf.c ../../kern/vfs_default.c ../../kern/vfs_init.c ../../kern/vfs_lookup.c ../../kern/vfs_subr.c ../../kern/vfs_syscalls.c ../../kern/vfs_vnops.c ../../kern/kern_threads.c ../../kern/vfs_aio.c ../../miscfs/deadfs/dead_vnops.c ../../miscfs/fifofs/fifo_vnops.c ../../miscfs/procfs/procfs_ctl.c ../../miscfs/procfs/procfs_dbregs.c ../../miscfs/procfs/procfs_fpregs.c ../../miscfs/procfs/procfs_map.c ../../miscfs/procfs/procfs_mem.c ../../miscfs/procfs/procfs_note.c ../../miscfs/procfs/procfs_regs.c ../../miscfs/procfs/procfs_status.c ../../miscfs/procfs/procfs_subr.c ../../miscfs/procfs/procfs_type.c ../../miscfs/procfs/procfs_vfsops.c ../../miscfs/procfs/procfs_vnops.c ../../miscfs/procfs/procfs_rlimit.c ../../miscfs/specfs/spec_vnops.c ../../msdosfs/msdosfs_conv.c ../../msdosfs/msdosfs_denode.c ../../msdosfs/msdosfs_fat.c ../../msdosfs/msdosfs_lookup.c ../../msdosfs/msdosfs_vfsops.c ../../msdosfs/msdosfs_vnops.c ../../net/bpf.c ../../net/bpf_filter.c ../../net/if.c ../../net/if_ethersubr.c ../../net/if_faith.c ../../net/if_gif.c ../../net/if_loop.c ../../net/if_media.c ../../net/if_mib.c ../../net/if_ppp.c ../../net/if_sl.c ../../net/if_tun.c ../../net/net_osdep.c ../../net/ppp_tty.c ../../net/intrq.c ../../net/radix.c ../../net/raw_cb.c ../../net/raw_usrreq.c ../../net/route.c ../../net/rtsock.c ../../net/slcompress.c ../../netinet/if_ether.c ../../netinet/in_gif.c ../../netinet/igmp.c ../../netinet/in.c ../../netinet/in_pcb.c ../../netinet/in_proto.c ../../netinet/in_rmx.c ../../netinet/ip_ecn.c ../../netinet/ip_encap.c ../../netinet/ip_flow.c ../../netinet/ip_icmp.c ../../netinet/ip_input.c ../../netinet/ip_mroute.c ../../netinet/ip_output.c ../../netinet/raw_ip.c ../../netinet/tcp_input.c ../../netinet/tcp_output.c ../../netinet/tcp_subr.c ../../netinet/tcp_timer.c ../../netinet/tcp_usrreq.c ../../netinet/udp_usrreq.c ../../nfs/nfs_bio.c ../../nfs/nfs_node.c ../../nfs/nfs_nqlease.c ../../nfs/nfs_serv.c ../../nfs/nfs_socket.c ../../nfs/nfs_srvcache.c ../../nfs/nfs_subs.c ../../nfs/nfs_syscalls.c ../../nfs/nfs_vfsops.c ../../nfs/nfs_vnops.c ../../pci/if_fxp.c ../../pci/pci.c ../../pci/pci_compat.c ../../pci/pcisupport.c pci_if.c ../../posix4/posix4_mib.c ../../posix4/p1003_1b.c ../../posix4/ksched.c ../../ufs/ffs/ffs_alloc.c ../../ufs/ffs/ffs_balloc.c ../../ufs/ffs/ffs_inode.c ../../ufs/ffs/ffs_softdep_stub.c ../../ufs/ffs/ffs_softdep.c ../../ufs/ffs/ffs_subr.c ../../ufs/ffs/ffs_tables.c ../../ufs/ffs/ffs_vfsops.c ../../ufs/ffs/ffs_vnops.c ../../ufs/mfs/mfs_vfsops.c ../../ufs/mfs/mfs_vnops.c ../../ufs/ufs/ufs_bmap.c ../../ufs/ufs/ufs_disksubr.c ../../ufs/ufs/ufs_ihash.c ../../ufs/ufs/ufs_inode.c ../../ufs/ufs/ufs_lookup.c ../../ufs/ufs/ufs_quota.c ../../ufs/ufs/ufs_vfsops.c ../../ufs/ufs/ufs_vnops.c ../../vm/default_pager.c ../../vm/device_pager.c ../../vm/phys_pager.c ../../vm/swap_pager.c ../../vm/vm_fault.c ../../vm/vm_glue.c ../../vm/vm_init.c ../../vm/vm_kern.c ../../vm/vm_map.c ../../vm/vm_meter.c ../../vm/vm_mmap.c ../../vm/vm_object.c ../../vm/vm_page.c ../../vm/vm_pageout.c ../../vm/vm_pager.c ../../vm/vm_swap.c ../../vm/vm_unix.c ../../vm/vnode_pager.c ../../vm/vm_zone.c isa_if.c ../../isa/isa_common.c ../../isa/isahint.c ../../isa/pnp.c ../../isa/pnpparse.c ../../libkern/arc4random.c ../../libkern/bcd.c ../../libkern/index.c ../../libkern/inet_ntoa.c ../../libkern/qsort.c ../../libkern/random.c ../../libkern/rindex.c ../../libkern/scanc.c ../../libkern/skpc.c ../../libkern/strcat.c ../../libkern/strcmp.c ../../libkern/strcpy.c ../../libkern/strlen.c ../../libkern/strncmp.c ../../libkern/strncpy.c ../../libkern/strtol.c ../../libkern/strtoq.c ../../libkern/strtoul.c ../../libkern/strtouq.c ../../dev/aic/aic_isa.c ../../dev/ata/ata-all.c ../../dev/ata/ata-dma.c ../../dev/ata/ata-disk.c ../../dev/ata/atapi-all.c ../../dev/ata/atapi-cd.c ../../dev/ata/atapi-fd.c ../../dev/ata/atapi-tape.c ../../dev/eisa/eisaconf.c ../../dev/fb/fb.c ../../dev/fb/splash.c ../../dev/fb/vga.c ../../dev/kbd/atkbd.c ../../dev/kbd/atkbdc.c ../../dev/kbd/kbd.c ../../dev/syscons/schistory.c ../../dev/syscons/scmouse.c ../../dev/syscons/scterm.c ../../dev/syscons/scterm-dumb.c ../../dev/syscons/scterm-sc.c ../../dev/syscons/scvgarndr.c ../../dev/syscons/scvidctl.c ../../dev/syscons/scvtb.c ../../dev/syscons/syscons.c ../../dev/syscons/sysmouse.c ../../i386/apm/apm.c ../../i386/i386/atomic.c ../../i386/i386/autoconf.c ../../i386/i386/bios.c ../../i386/i386/busdma_machdep.c ../../i386/i386/elf_machdep.c ../../i386/i386/i686_mem.c ../../i386/i386/identcpu.c ../../i386/i386/in_cksum.c ../../i386/i386/initcpu.c ../../i386/i386/k6_mem.c ../../i386/i386/machdep.c ../../i386/i386/math_emulate.c ../../i386/i386/mem.c ../../i386/i386/nexus.c ../../i386/i386/pmap.c ../../i386/i386/procfs_machdep.c ../../i386/i386/sys_machdep.c ../../i386/i386/trap.c ../../i386/i386/userconfig.c ../../i386/i386/vm86.c ../../i386/i386/vm_machdep.c ../../i386/isa/clock.c ../../isa/fd.c ../../i386/isa/intr_machdep.c ../../i386/isa/ipl_funcs.c ../../i386/isa/isa.c ../../i386/isa/isa_compat.c ../../i386/isa/isa_dma.c ../../i386/isa/npx.c ../../i386/isa/pcibus.c ../../isa/atkbd_isa.c ../../isa/atkbdc_isa.c ../../isa/ppc.c ../../isa/psm.c ../../isa/sio.c ../../isa/syscons_isa.c ../../isa/vga_isa.c ../../kern/subr_diskmbr.c ../../libkern/divdi3.c ../../libkern/moddi3.c ../../libkern/qdivrem.c ../../libkern/udivdi3.c ../../libkern/umoddi3.c ioconf.c param.c vnode_if.c config.c ../../i386/i386/genassym.c ../../dev/asr/asr.c:231: opt_asr.h: No such file or directory mkdep: compile failed *** Error code 1 Indeed, this file is not present in ../../dev/asr. In fact, this file is not found anywhere on the system, not even in the kit I downloaded. I also note that this is the only line anywhere in my kernel config that uses something like "controller asr" as opposed to "device asr". Is this a FreeBSD 5.x-ism that accidentally crept into suggestion for a 4.x kernel configuration? Please let me know if there is any more information I can provide that would be of use. Thanks! -- These are my opinions -- not to be taken as official Skynet policy ====================================================================== Brad Knowles, || Belgacom Skynet SA/NV Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124 Phone/Fax: +32-2-706.13.11/12.49 || B-1140 Brussels http://www.skynet.be || Belgium "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message