New FreeBSD's users Questions

george.russell at clara.net george.russell at clara.net
Sun Jul 16 22:04:47 BST 2000


--Message-Boundary-7159
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body

On 16 Jul 2000, at 16:22, Mark Blackman wrote:

> the documentation is brought up to date by a team
> of over-worked volunteers. either file a PR (using 'send-pr')
> or better yet, submit some patches that correct the documentation.

Maybe once PPP is up and running ;-)
Getting ppp up is probably the most urgent for me
 
> tun* should be there. 'ifconfig -a' will give you a complete list
> of available drivers.

Its not, but ppp0 is.

Should I just use kernel ppp?
 
> if its PCI, the kernel should do all the work assuming its compiled in.
> can you show either '/sbin/dmesg' output or 'pciconf -l' output.

Attached.
 
> > I have a SB16, ISA card on factory settings. IRQ 5, DMA 1,5 etc 
> > Its compiled in and works with my new kernel - with a lot of 
> > warnings about compatibility mode. What driver should be used to 
> > replace snd?
> use 'device  pcm' instead and no specific drivers.

As in my example makefile, attached?
 
> umm. I seem to recall that Matsushita CDROM may no longer be supported. 
> I think I've seen e-mails to suggest thats the case. If so and you 
> really need matsushita support you may have to go back to 3.x or so.

Can a 3.x kernel be used with 4.0x? I wouldn't think so...

I've attached various outputs for details of my system.
Its all a bit alien after coming from Linux.

Thanks for any help
George Russell





--Message-Boundary-7159
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Text from file 'dmesgoutput'

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: Sun Jul 16 21:34:19 BST 2000
    root@:/usr/src/sys/compile/NEW
Timecounter "i8254"  frequency 1193182 Hz
CPU: Cyrix 6x86 (486-class CPU)
  Origin = "CyrixInstead"  DIR=0x2231  Stepping=2  Revision=2
real memory  = 41943040 (40960K bytes)
config> di pcic0
No such device: pcic0
Invalid command or syntax.  Type `?' for help.
config> di psm0
No such device: psm0
Invalid command or syntax.  Type `?' for help.
config> di sn0
No such device: sn0
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 ed0
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config> di ata1
No such device: ata1
Invalid command or syntax.  Type `?' for help.
config> di aic0
No such device: aic0
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> q
avail memory = 37732352 (36848K bytes)
Preloaded elf kernel "kernel" at 0xc02e7000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02e709c.
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <S3 ViRGE DX/GX graphics accelerator> at 10.0 irq 10
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0x6400-0x641f irq 11 at device 11.0 on pci0
ed0: address 00:80:c8:fd:f3:8d, type NE2000 (16 bit) 
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
ad0: 2060MB <SAMSUNG WN321620A (2.16 GB)> [4186/16/63] at ata0-master using WDMA2
ad1: 2014MB <ST32122A> [4092/16/63] at ata0-slave using WDMA2
Mounting root from ufs:/dev/ad1s2a

--Message-Boundary-7159
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Text from file 'ifconfigoutput'

ed0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
	ether 00:80:c8:fd:f3:8d 
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=8000<MULTICAST> mtu 1280
faith0: flags=8000<MULTICAST> mtu 1500

--Message-Boundary-7159
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Text from file 'New'

#
# GENERIC -- Generic 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		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		NEW
maxusers	32

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extentions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies


device		isa
device		eisa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata
device		atadisk			# ATA disk drives
options 	ATA_STATIC_ID		#Static device numbering
#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices


# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# 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
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device

# PCI Ethernet NICs.
device		de		# DEC/Intel DC21x4x (``Tulip'')
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		tx		# SMC 9432TX (83c170 ``EPIC'')
device		vx		# 3Com 3c590, 3c595 (``Vortex'')
device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus		# MII bus support
device		dc		# DEC/Intel 21143 and various workalikes
device		rl		# RealTek 8129/8139
device		sf		# Adaptec AIC-6915 (``Starfire'')
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
device		ste		# Sundance ST201 (D-Link DFE-550TX)
device		tl		# Texas Instruments ThunderLAN
device		vr		# VIA Rhine, Rhine II
device		wb		# Winbond W89C840F
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
device		ex
device		ep

# 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		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device	gif	4	# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

device pcm
device matcd0 at isa? port 0x230 

--Message-Boundary-7159
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Text from file 'pciconfoutput'

chip0 at pci0:0:0:	class=0x060000 card=0x00000000 chip=0x70308086 rev=0x02 hdr=0x00
isab0 at pci0:7:0:	class=0x060100 card=0x00000000 chip=0x70008086 rev=0x01 hdr=0x00
atapci0 at pci0:7:1:	class=0x010180 card=0x00000000 chip=0x70108086 rev=0x00 hdr=0x00
none0 at pci0:10:0:	class=0x030000 card=0x8a015333 chip=0x8a015333 rev=0x01 hdr=0x00
ed0 at pci0:11:0:	class=0x020000 card=0x802910ec chip=0x802910ec rev=0x00 hdr=0x00

--Message-Boundary-7159
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Text from file 'umaneoutput'

FreeBSD  4.0-RELEASE FreeBSD 4.0-RELEASE #0: Sun Jul 16 21:34:19 BST 2000     root@:/usr/src/sys/compile/NEW  i386

--Message-Boundary-7159--




More information about the Ukfreebsd mailing list