Date: Tue, 26 Oct 1999 21:15:09 -0500 From: mideyon <leoric@fastlane.net> To: freebsd-questions@freebsd.org Subject: kernel config Message-ID: <3816602D.5BA3A140@fastlane.net>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------E2F534F51A8D87239B6423C8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I am new at configuring FreeBSD kernels and I had some problems
Here is my dmesg output and my kernel config file:
what is the invalid command errors i am getting at the config prompt and
what is the new nccb thing that is printing to the screen
also i am having problems with my hayes accura 56k external modem:
it is somehow responsible for the silo errors i am getting in the dmesg
also whenever my internet connection is idle i will drop offline and the
ppp program will give the error "Unrecognized CBCP packet (code 5,
length 4). I have tried different cables and i still get the same
problems
can anyone help me with the problems?
--------------E2F534F51A8D87239B6423C8
Content-Type: text/plain; charset=us-ascii;
name="dmesg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="dmesg.txt"
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.3-STABLE #0: Mon Oct 25 00:17:51 CDT 1999
mideyon@galadriel.my.domain:/usr/src/sys/compile/MYKERNEL
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 233864397 Hz
CPU: AMD-K6tm w/ multimedia extensions (233.86-MHz 586-class CPU)
Origin = "AuthenticAMD" Id = 0x562 Stepping = 2
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
AMD Features=0x400<<b10>>
real memory = 67108864 (65536K bytes)
config> di zp0
No such device: zp0
Invalid command or syntax. Type `?' for help.
config> di ze0
No such device: ze0
Invalid command or syntax. Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax. Type `?' for help.
config> di le0
No such device: le0
Invalid command or syntax. Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax. Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax. Type `?' for help.
config> di ex0
No such device: ex0
Invalid command or syntax. Type `?' for help.
config> di ep0
No such device: ep0
Invalid command or syntax. Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax. Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax. Type `?' for help.
config> di wt0
No such device: wt0
Invalid command or syntax. Type `?' for help.
config> di scd0
No such device: scd0
Invalid command or syntax. Type `?' for help.
config> di matcdc0
No such device: matcdc0
Invalid command or syntax. Type `?' for help.
config> di bt0
No such device: bt0
Invalid command or syntax. Type `?' for help.
config> di aha0
No such device: aha0
Invalid command or syntax. Type `?' for help.
config> di adv0
No such device: adv0
Invalid command or syntax. Type `?' for help.
config> en mcd0
No such device: mcd0
Invalid command or syntax. Type `?' for help.
config> po mcd0 0x300
No such device: mcd0
Invalid command or syntax. Type `?' for help.
config> ir mcd0 10
No such device: mcd0
Invalid command or syntax. Type `?' for help.
config> f mcd0 0
No such device: mcd0
Invalid command or syntax. Type `?' for help.
config> q
avail memory = 62623744 (61156K bytes)
Preloaded elf kernel "kernel" at 0xc0284000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc028409c.
Probing for devices on PCI bus 0:
chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.7.3
ncr0: <ncr 53c875j fast20 wide scsi> rev 0x04 int a irq 9 on pci0.9.0
vga0: <Cirrus Logic GD5446 SVGA controller> rev 0x45 on pci0.10.0
vr0: <VIA VT3043 Rhine I 10/100BaseTX> rev 0x06 int a irq 11 on pci0.12.0
vr0: Ethernet address: 00:80:c8:e8:1e:bd
vr0: autoneg complete, link status good (full-duplex, 100Mbps)
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <FUJITSU MPB3064ATU>
wd0: 6187MB (12672450 sectors), 13410 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (atapi): <FX400_02/B03>, removable, intr, iordis
acd0: drive speed 689KB/sec, 256KB cache
acd0: supported read types:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
wdc1 not found at 0x170
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppb0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 710C> SCP,VLINK
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Waiting 15 seconds for SCSI devices to settle
new nccb @0xc0861800.
new nccb @0xc0861600.
new nccb @0xc0861400.
new nccb @0xc0861200.
new nccb @0xc0861000.
new nccb @0xc0864e00.
new nccb @0xc0864c00.
new nccb @0xc0864a00.
new nccb @0xc0864800.
new nccb @0xc0864600.
new nccb @0xc0864400.
new nccb @0xc0864200.
new nccb @0xc0864000.
new nccb @0xc0865e00.
new nccb @0xc0865c00.
new nccb @0xc0861c00.
new nccb @0xc085f000.
new nccb @0xc085f400.
new nccb @0xc085f800.
new nccb @0xc085fc00.
new nccb @0xc085d000.
new nccb @0xc085d400.
changing root device to wd0s2a
cd0 at ncr0 bus 0 target 1 lun 0
cd0: <TOSHIBA CD-ROM XM-6201TA 1037> Removable CD-ROM SCSI-2 device
cd0: 10.000MB/s transfers (10.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
sio1: 1 more silo overflow (total 1)
sio1: 4 more silo overflows (total 5)
sio1: 4 more silo overflows (total 9)
sio1: 5 more silo overflows (total 14)
sio1: 5 more silo overflows (total 19)
sio1: 1 more silo overflow (total 20)
pid 348 (communicator-4.6), uid 1000: exited on signal 10
sio1: 1 more silo overflow (total 21)
sio1: 1 more silo overflow (total 22)
sio1: 2 more silo overflows (total 24)
sio1: 2 more silo overflows (total 26)
sio1: 1 more silo overflow (total 27)
sio1: 7 more silo overflows (total 34)
sio1: 1 more silo overflow (total 35)
sio1: 1 more silo overflow (total 36)
sio1: 1 more silo overflow (total 37)
--------------E2F534F51A8D87239B6423C8
Content-Type: text/plain; charset=us-ascii;
name="MYKERNEL"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="MYKERNEL"
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# 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.143.2.23 1999/10/10 23:04:56 wpaul Exp $
machine "i386"
#cpu "I386_CPU"
#cpu "I486_CPU"
cpu "I586_CPU"
#cpu "I686_CPU"
ident MYKERNEL
maxusers 32
#options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options MFS #Memory Filesystem
options MFS_ROOT #MFS usable as root device, "MFS" req'ed
#options NFS #Network Filesystem
#options NFS_ROOT #NFS usable as root device, "NFS" req'ed
options MSDOSFS #MSDOS Filesystem
options "CD9660" #ISO 9660 Filesystem
options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
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 KTRACE #ktrace(1) syscall trace support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
config kernel root on wd0
# To make an SMP kernel, the next two are needed
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options NCPU=2 # number of CPUs
#options NBUS=4 # number of busses
#options NAPIC=1 # number of IO APICs
#options NINTR=24 # number of INTs
#MY LINT OPTIONS
options "MAXDSIZ=(256*1024*1024)"
options "DFLDSIZ=(256*1024*1024)"
options NO_MEMORY_HOLE
options USER_LDT
options "MD5"
options "ICMP_BANDLIM"
pseudo-device speaker # Play IBM BASIC-style noises from speaker
options "EXT2FS"
controller usb0
device ugen0
options USB_DEBUG
options UGEN_DEBUG
options SCSI_NCR_DEBUG
options SCSI_NCR_MYADDR=7
options SCSI_NCR_MAX_WIDE=1
options SCSI_NCR_MAX_SYNC=10000
options SCSI_NCR_DFLT_TAGS=4
controller isa0
controller pnp0 # PnP support for ISA
controller eisa0
controller pci0
# Floppy drives
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2
disk fd0 at fdc0 drive 0
disk fd1 at fdc0 drive 1
# IDE controller and disks
options "CMD640" # work around CMD640 chip deficiency
controller wdc0 at isa? port "IO_WD1" bio irq 14
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1
controller wdc1 at isa? port "IO_WD2" bio irq 15
disk wd2 at wdc1 drive 0
disk wd3 at wdc1 drive 1
# ATAPI devices
options ATAPI #Enable ATAPI support for IDE bus
options ATAPI_STATIC #Don't do it as an LKM
device acd0 #IDE CD-ROM
device wfd0 #IDE Floppy (e.g. LS-120)
# SCSI Controllers
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
controller ncr0 # NCR/Symbios Logic
#controller ahb0 # EISA AHA1742 family
#controller ahc0 # AHA2940 and onboard AIC7xxx devices
#controller amd0 # AMD 53C974 (Teckram DC-390(T))
#controller isp0 # Qlogic family
#controller dpt0 # DPT Smartcache - See LINT for options!
#controller adv0 at isa? port ? cam irq ?
#controller adw0
#controller bt0 at isa? port ? cam irq ?
#controller aha0 at isa? port ? cam irq ?
# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
controller scbus0 # SCSI bus (required)
device da0 # Direct Access (disks)
device sa0 # Sequential Access (tape etc)
device cd0 # CD
device pass0 # Passthrough device (direct SCSI)
# Proprietary or custom CD-ROM Interfaces
#device wt0 at isa? port 0x300 bio irq 5 drq 1
#device mcd0 at isa? port 0x300 bio irq 10
#device matcd0 at isa? port 0x230 bio
#device scd0 at isa? port 0x230 bio
# atkbdc0 controls both the keyboard and the PS/2 mouse
controller atkbdc0 at isa? port IO_KBD tty
device atkbd0 at isa? tty irq 1
device psm0 at isa? tty irq 12
device vga0 at isa? port ? conflicts
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? tty
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa? tty
#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
# Floating point support - do not disable.
device npx0 at isa? port IO_NPX irq 13
# Power management support (see LINT for more options)
#device apm0 at isa? disable flags 0x31 # Advanced Power Management
# PCCARD (PCMCIA) support
#controller card0
#device pcic0 at card?
#device pcic1 at card?
# Serial (COM) ports
device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4
device sio1 at isa? port "IO_COM2" tty irq 3
#device sio2 at isa? disable port "IO_COM3" tty irq 5
#device sio3 at isa? disable port "IO_COM4" tty irq 9
# Parallel port
device ppc0 at isa? port? flags 0x40 net irq 7
controller ppbus0 # Parallel port bus (required)
device lpt0 at ppbus? # Printer
#device plip0 at ppbus? # TCP/IP over parallel
device ppi0 at ppbus? # Parallel port interface device
#controller vpo0 at ppbus? # Requires scbus and da0
# PCI Ethernet NICs.
#device al0 # ADMtek AL981 (``Comet'')
#device ax0 # ASIX AX88140A
#device de0 # DEC/Intel DC21x4x (``Tulip'')
#device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)
#device mx0 # Macronix 98713/98715/98725 (``PMAC'')
#device pn0 # Lite-On 82c168/82c169 (``PNIC'')
#device rl0 # RealTek 8129/8139
#device sf0 # Adaptec AIC-6915 DuraLAN (``Starfire'')
#device sis0 # Silicon Integrated Systems SiS 900/SiS 7016
#device ste0 # Sundance ST201 (D-Link DFE-550)
#device tl0 # Texas Instruments ThunderLAN
#device tx0 # SMC 9432TX (83c170 ``EPIC'')
device vr0 # VIA Rhine, Rhine II
#device vx0 # 3Com 3c590, 3c595 (``Vortex'')
#device wb0 # Winbond W89C840F
#device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# ISA Ethernet NICs.
# 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 0x280 net irq 10 iomem 0xd8000
#device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
#device ep0 at isa? port 0x300 net irq 10
#device ex0 at isa? port? net irq?
#device fe0 at isa? port 0x300 net irq ?
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
#device lnc0 at isa? port 0x280 net irq 10 drq 0
#device cs0 at isa? port 0x300 net irq ?
# requires PCCARD (PCMCIA) support to be activated
#device xe0 at isa? port? net irq ?
# PCCARD NIC drivers.
# ze and zp take over the pcic and cannot coexist with generic pccard
# support, nor the ed and ep drivers they replace.
#device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
#pseudo-device sl 1 # Kernel SLIP
#pseudo-device ppp 1 # Kernel PPP
pseudo-device tun 1 # Packet tunnel
pseudo-device pty 16 # Pseudo-ttys (telnet etc)
pseudo-device gzip # Exec gzipped a.out's
# The `bpfilter' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# The number of devices determines the maximum number of
# simultaneous BPF clients programs runnable.
#pseudo-device bpfilter 1 #Berkeley packet filter
--------------E2F534F51A8D87239B6423C8--
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?3816602D.5BA3A140>
