[FUGSPBR] Kernel

Ricardo Campos Passanezi riccp em ige.unicamp.br
Ter Out 2 10:03:46 BRT 2001


On Tue, Oct 02, 2001 at 12:30:40AM -0300, Luis Vitorio Cargnini wrote:
> como assim console aonde não tinha isso no kernel original ????

Recapitulando:

Qual a release do FreeBSD que você está usando?

Já compilou o "GENERIC"?

O que citei (sc0, atkbdc0, atkbd0 e psm0) fazem parte do arquivo
GENERIC. Inclusivo do GENERIC dos 3.X. Como exemplo, segue trecho do
GENERIC de um 3.2:

<--------------------------- GENERIC - 3.2 ------------------------------->
# atkbdc0 controlls 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
<--------------------------- GENERIC - 3.2 ------------------------------->


Como no seu arquivo de configuração o "SOFTUPDATES" está habilitado
dentre as opções (logo abaixo do ident), creio que você usa o 4.X mesmo.

Assim, segue o GENERIC (apaguei várias partes para reduzir a mensagem,
deixando a parte que interessa). Note a existência dos sc0, atkbdc0,
atkbd0 e psm0.


<--------------------------- GENERIC - 4.X ------------------------------->
[ ... ]
machine		i386
[ ... ]
cpu		I686_CPU
ident		GENERIC
maxusers	32

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

[ ... ]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
[ ... ]

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		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI Controllers
[ ... ]

# SCSI peripherals
[ ... ]

# RAID controllers interfaced to the SCSI subsystem
[ ... ]

# RAID controllers
[ ... ]

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

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? flags 0x100

[ ... ]

# Power management support (see LINT for more options)
device		apm0    at nexus? disable flags 0x20 # Advanced Power Management

# PCCARD (PCMCIA) support
[ ... ]

# Serial (COM) ports
[ ... ]

# Parallel port
[ ... ]

# PCI Ethernet NICs.
[ ... ]

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
[ ... ]

# ISA Ethernet NICs.
# 'device ed' requires 'device miibus'
[ ... ]

# Pseudo devices - the number indicates how many units to allocate.
[ ... ]

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

# USB support
[ ... ]
<--------------------------- GENERIC - 4.X ------------------------------->


-- 
Ricardo Campos Passanezi -  Administrador de Rede
Chave PGP e GPG Pública em: http://www.ige.unicamp.br/~riccp
Instituto de Geociências -  http://www.ige.unicamp.br - UNICAMP
----
Para sair da lista envie um e-mail para majordomo em fugspbr.org
com as palavras "unsubscribe fugspbr" no corpo da mensagem.



Mais detalhes sobre a lista de discussão freebsd