Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2000 00:00:36 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Azzeddine Mzouri <am@chello.fr>
Cc:        freebsd-questions@freebsd.org, brucegb@realtime.net
Subject:   Re: configure SCSI adapter "AHA1542" ...
Message-ID:  <20000611000036.B233@parish>
In-Reply-To: <3942B160.5AEEC72@chello.fr>; from am@chello.fr on Sat, Jun 10, 2000 at 11:21:36PM %2B0200
References:  <3942B160.5AEEC72@chello.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 10, 2000 at 11:21:36PM +0200, Azzeddine Mzouri wrote:
> 
> Hello,
> 
> I'm looking for more help in order to configure SCSI adapter "AHA1542"
> ...
> 
> The new situation is described in the following files :
> 
> - configuration of machine : see attached file named "MyPCconfig"
> - file describing my kernel configuration  see attached file named
> "NewKernel"
>     -- I have added "device     pass"
>     -- I have removed "controller hda"
> 
> - messages describing errors :   see attached file named "MesgError"
> 
> 
> Thanks to Mark Ovens and Bruce Burden for their  help.
> 
> Azzeddine Mzouri

> 
> When i reboot my machine with the new kernel, i receive the folowing messages :
> 
> unknown0 : <SCSI Host Adapter> at port 0x330-0x333 irq 10 drq 5 on isa0

Is this a plug 'n' play card. That message looks similar to what I saw
with my ISA PnP modem. In that case I needed to add its' Pnp ID to
/usr/src/sys/isa/sio.c but that wouldn't work with a SCSI card I don't
think.

Hopefully someone else will jump in here and give you the answer.

> no devsw (majdev4: bootdev=0xa0200004)
> Mounting root from ufs: /dev/da0s1a 
> no such device `a'
> setrootbyname failed
> ffs_mountroot : can't find rootvp
> Root mount failed: 6
> 
> 

> #
> # NewKernel - kernel configuration file for FreeBSD/i386
> #
> # For more information on this file, please read the handbook section on
> # Kernel Configuration Files:
> #
> #    http://www.freebsd.org/handbook/kernelconfig-config.html
> #
> # The handbook is also available locally in /usr/share/doc/handbook
> # if you've installed the doc distribution, otherwise always see the
> # FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
> # latest information.
> #
> # An exhaustive list of options and more detailed explanations of the
> # device lines is also present in the ./LINT configuration file. If you are
> # in doubt as to the purpose or necessity of a line, check first in LINT.
> #
> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246 2000/03/09 16:32:55 jlemon Exp $
> 
> machine		"i386"
> cpu	        "I586_CPU"
> ident		NEWKERNEL
> maxusers	32
> 
> #makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
> 
> options      	CPU_WT_ALLOC		#enable write alloc for AMD K2-6 cpu
> options 	NO_MEMORY_HOLE		#optimisation for AMD K2-6 cpu
> 					#indicates that the 15-16MB range is
> 					#definitely not being used by an ISA
> 					#memory hole.
> 
> 
> #options 	MATH_EMULATE		#Support for x87 emulation
> 
> #COMPATIBILITY OPTIONS
> options 	COMPAT_43		#implement system calls compatible
> 					#with 4.3BSD and older versions of
> 					#FreeBSD.
>   
> #These three options provide support for System V Interface Definition-style IPC
> options 	SYSVSHM			#SYSV-style shared memory
> options 	SYSVMSG			#SYSV-style message queues
> options 	SYSVSEM			#SYSV-style semaphores
> 
> #KTRACE enables the system-call tracing facility ktrace (2).
> options 	KTRACE			#kernel tracing
> 
> #Allow ordinary users to take the console - this is useful for X.
> options 	UCONSOLE		#Allow users to grab the console
> 
> # XXX - this doesn't belong here either
> options 	USERCONFIG		#boot -c editor
> options 	VISUAL_USERCONFIG	#visual boot -c editor
> 
> ###############################################################################
> #NETWORKING OPTIONS
> 
> #Protocol families:
> #Only the INET <Internet> family is officially supported in FreeBSD.
> #
> options 	INET			#InterNETworking
> options 	INET6			#IPv6 communications protocols
> 
> #Network interfaces:
> #The "loop" pseudo-device is MANDATORY when networking is enabled.
> #The "ether" pseudo-device provide generic code to handle Ethernets;
> #it is MANDATORY when Ethernet device driver is configured or token-ring
> #is enabled.
> #The `bpf' pseudo-device enables the Berkeley Packet Filter. Be aware of
> #the administrative consequences of enabling this!
> #The `disc' pseu-do device implements a minimal network interfacei, which    
> #throws away all packets sent and never receives any. It is included for
> #testing purposes. This shows up as 'ds' interface.
> #The `tun' pseudo-device implements (user-)ppp and nos-tun
> #The `pty' device usually turns out be "effectively mandatory", as it is
> #required for "telnetd", "rlogind", "screen", "emacs", and "xterm", amoung
> #others. Default value is 16, and Maximum value is 64.
> 
> # Pseudo devices - the number indicates how many units to allocated.
> pseudo-device	loop		# Network loopback
> pseudo-device	ether		# Ethernet support
> pseudo-device	bpf		# Berkeley packet filter
> pseudo-device 	disc		# Discard device (ds0, ds1, etc)
> pseudo-device	tun		# Tunnel dirver {ppp{8}, nos-tun{8)}.
> pseudo-device	pty		# Pseudo-ttys (telnet etc)
>  
> 
> #########################################################################
> # MISCELLANEOUS DEVICES AND OPTIONS
>  
> pseudo-device	gzip 		# Exec gzipped a.out's 
> pseudo-device	md		# Memory/malloc disk
> pseudo-device	vn		# Vnode driver (turns a file into a device)
> #pseudo-device	log		# kernel syslog interface (/dev/klog). MANDATORY
> 
> 
> #The `ef' pseudo-device provides support for multiple ethernet frame types
> #specified via ETHER_* options. See ef(4) for details.
> #pseudo-device	ef		#Multiple ethernet frames support
> #options	ETHER_II	#enable Ethernet_II frame
> #options	ETHER_8023	#enable Ethernet_802.3 (Novell) frame
> #options	ETHER_8022	#enable Ethernet_802.2 frame
> #options	ETHER_SNAP	#enable Ethernet_802.2/SNAP frame
> 
> #FOR IPv6
> #The `gif' pseudo-device implements IPv6 over IPv4 tunneling, IPv4 over IPv6
> #tunneling, IPv4 over IPv4 tunneling and IPv6 over IPv6 tunneling.
> #The `faith' pseudo-device captures packets sent to it and diverts them
> #to the IPv4/IPv6 translation daemon.
> pseudo-device	gif	4
> pseudo-device	faith	1
> 
> # TCP_RESTRICT_RST adds support for blocking the emission of TCP RST packets.
> # This is useful on systems which are expressed to SYN floods (e.g. IRC 
> # servers) or any system which one does not wantto be easily portscannable.
> 
> #options	TCP_RESTRICT_RST	#restrict emission of TCP RST
> 
> # ICMP_BANDLIM enables icmp error response bandwidth limiting. You typically
> # want this option as it will help protect the machine from D.O.S. packet 
> # attacks.
> options		ICMP_BANDLIM		#Rate limit bad replies
> 
> # PCI Ethernet NICs.
> device		ed		# Novell NE1000 and NE2000;
> 
> #####################################################################
> # FILESYSTEM OPTIONS
> 
> # Only the root, /usr, and /tmp filesystems need be statically compiled;
> # everything else will be automatically loaded at mount time. (Exception:i
> # the UFS family ---FFS, and MFZ --- cannot currently be demand-loaded). Some
> #people still prefer tp statically compile other filesystems as well.
> 
> # One of theses is mandatory:
> options 	FFS			#Berkeley Fast Filesystem
> options 	NFS			#Network Filesystem
> 
> # The rest are optional:
> options 	CD9660			#ISO 9660 Filesystem
> options 	PROCFS			#Process filesystem
> 
> # The xFS_ROOT options REQUIRE the associated "options xFS"
> options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
> options 	FFS_ROOT		#FFS usable as root device [keep this!]
> options 	NFS_ROOT		#NFS usable as root device, NFS required
> 
> options 	SUIDDIR			#This machine is a Fileserver for
> 					#PC users using SAMBA
> 
> options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
> 
> ##################################################################
> # POSIX P1003.1B
> 
> # Real time extensions added in the 1993 Posix
> # P1003_1B: Infrastructure
> # P1003_1B: Infrastructure (real-time extentions).
> options 	P1003_1B
> options 	_KPOSIX_PRIORITY_SCHEDULING
> 
> options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
> options		"TUNE_1542"
> 
> ############################################################### 
> #HARDWARE DEVICE CONFIGURATION
> 
> # Mandatory ISA devices : isa, npx
> device		isa
> 
> #option for "isa":
> #options 	MAXMEM="(128*1024)"
> options 	AUTO_EOI_1
> #options 	BROKEN_KEYBOARD_RESET
> 
> # Floppy drives
> device		fdc0	at isa? port IO_FD1 irq 6 drq 2
> device		fd0	at fdc0 drive 0
> 
> # PCI devices and PCI options
> device		pci
> 
> # ATA and ATAPI devices
> device		ata0	at isa? port IO_WD1 irq 14
> device		ata1	at isa? port IO_WD2 irq 15
> device		ata
> device		atadisk			# ATA disk drives
> device		atapicd			# ATAPI CDROM drives
> options 	ATA_STATIC_ID		#Static device numbering
> options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
> 
> # SCSI Controllers
> 
> device		aha0	at isa?
> 
> # SCSI peripherals
> device		scbus           # SCSI bus (required)
> device		da 		# Direct Access (disks)
> device		pass 		# CAM passthrough driver
> 
> # The keyboard controller : it controls both the keyboard and the PS/2 mouse.
> device		atkbdc0	at isa? port IO_KBD
> 
> # The AT keyboard
> device		atkbd0	at atkbdc? irq 1
> 
> # The video card driver.
> device		vga0	at isa?
> 
> # Splash screen at start up! Screen savers require this too.
> pseudo-device	splash
> 
> # syscons is the default console driver, resembling an SCO console
> device		sc0	at isa?
> options		MAXCONS=8		# number of virtual consoles
> options		SC_HISTORY_SIZE=200	# number of history buffer lines
> options 	SC_DISABLE_REBOOT	# disable reboot key sequence
> 
> # Add the following option to use the right button of the mouse to past text.
> options		SC_TWOBUTTON_MOUSE
> 
> # Floating point support - do not disable.
> device		npx0	at nexus? port IO_NPX irq 13
> 
> # Power management support (see LINT for more options)
> #device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
> 
> # Serial (COM) ports
> device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
> device		sio1	at isa? port IO_COM2 irq 3
> 
> # Parallel port
> device		ppc0	at isa? irq 7
> device		ppbus		# Parallel port bus (required)
> device		lpt		# Printer

> 
> My machine configuration running under FreeBSD, 4.0-RELEASE #0, is :
> 
> - AMD-K6 3D 500Mhs
> - RAM 128MB
> - SCSI Host Adapter :    AHA-1542CP at port 0x330-0x333 irq 10 drq 5 on isa 0
> - SCSI devices : SEAGATE/SCSI-2 (1010MB) da0 at aha1 bus 0 target 0 lun 0
> ...
> 


-- 
        Want a lean, mean, computing machine?
	Get rid of that excess FAT - install FreeBSD
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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