Date: Sun, 11 Jun 2000 11:38:31 +0200 From: Azzeddine Mzouri <am@chello.fr> To: brucegb@realtime.net, mark@ukug.uk.freebsd.org, freebsd-questions@freebsd.org Subject: Re: configure SCSI adapter "AHA1542" ... Message-ID: <39435E17.3233E7C3@chello.fr> References: <200006110004.TAA29438@sullivan.realtime.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
[-- Attachment #2 --]
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000
root@monster.cdrom.com:/usr/src/sys/compile/GENERIC
Timecounter "i8254" frequency 1193182 Hz
CPU: AMD-K6(tm) 3D processor (501.14-MHz 586-class CPU)
Origin = "AuthenticAMD" Id = 0x58c Stepping = 12
Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
AMD Features=0x80000800<SYSCALL,3DNow!>
real memory = 134217728 (131072K bytes)
avail memory = 126255104 (123296K bytes)
Preloaded elf kernel "kernel.sos" at 0xc03c0000.
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <3Dfx Voodoo 3 graphics accelerator> at 0.0 irq 11
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ed0: <NE2000 PCI Ethernet (KTI)> port 0xe000-0xe01f irq 12 at device 8.0 on pci0
ed0: supplying EUI64: 00:40:f6:ff:fe:34:99:5c
ed0: address 00:40:f6:34:99:5c, type NE2000 (16 bit)
ed1: <NE2000 PCI Ethernet (RealTek 8029)> port 0xe400-0xe41f irq 5 at device 9.0 on pci0
ed1: address 52:54:00:eb:82:6a, type NE2000 (16 bit)
atapci0: <AcerLabs Aladdin ATA33 controller> port 0xf000-0xf00f,0x374-0x377,0x170-0x17f,0x3f4-0x3f7,0x1f0-0x1ff at device 15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
aha1: <SCSI Host Adapter> at port 0x330-0x333 irq 10 drq 5 on isa0
aha1: AHA-1542CP FW Rev. D.0 (ID=46) SCSI Host Adapter, SCSI ID 7, 16 CCBs
ad0: 2014MB <QUANTUM FIREBALL_TM2100A> [4092/16/63] at ata0-master using WDMA2
acd0: CDROM <CD-ROM 48X/AKU> at ata1-master using PIO4
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da0 at aha1 bus 0 target 0 lun 0
da0: <SEAGATE ST31051N 0286> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 8)
da0: 1010MB (2069860 512 byte sectors: 64H 32S/T 1010C)
ed0: starting DAD for fe80:0001::0240:f6ff:fe34:995c
ed0: DAD complete for fe80:0001::0240:f6ff:fe34:995c - no duplicates found
[-- Attachment #3 --]
#
# 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
[-- Attachment #4 --]
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
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39435E17.3233E7C3>
