[FreeBSD] kernel forgatas

Dohany Tibor tibor.dohany at novacom.hu
1999. Okt. 28., Cs, 01:29:44 CEST


>

Sziasztok.

Elnézést. Az idézés tehát:

>
>
> > > Vagy van a kernel konfiguralasahoz esetleg valami felulet ?
> >
> > Aha.  Ugy hijjak, hogy vi -R /sys/i386/conf/LINT
> >
> > Mottónak ennyi

> ZGabor at CoDe dot HU

>
> --
> #!/bin/ksh
> Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"

Hardver: Csirke Intel Pentium
Dos particióról illetve CD - rõl instalált FBSD 3.2 Release.
Install közben a billentyûzet tökéletesen mûködött, az egér is utána, bár azzal voltak kis gondok, mert nem egészen szabványos.
A billentyûzet szabványos angol 101 billentyûs.
A GENERIC -et már teljesen átszabtam, mivel egy darab SCSI eszközöm nincs.
(Acorp TX, 48 Meg RAM, 2.1G, SB16, Creative 24x, SMC8013EP)
Boot közben semmi hibát nem ír ki, még verbose módban sem.
A config sajnos most messze van.
De egy másik gépnek a konfigját elküldhetem, amely szintén produkál ilyesmiket.
Ez le van sed -el abálva, viszont elég sok fölösleges dolog van benne.
Szóval ez a pálya.
--------- következ? rész ---------

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		MY	
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

config		kernel	root on wd0


controller	isa0
controller	pnp0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

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

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)

controller	ncr0
controller	ahb0
controller	ahc0
controller	isp0

controller      dpt0

controller	adv0	at isa? port ? cam irq ?
controller	adw0

controller	scbus0

device		da0

device		sa0

device		pass0

device		cd0	#Only need one of these, the code dynamically grows




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

pseudo-device	splash

device		sc0	at isa? tty

device		npx0	at isa? port IO_NPX irq 13

device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management


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

device		ppc0	at isa? port? flags 0x40 net irq 7
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?

device rl0		# RealTek 8129/8139



pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

options		KTRACE		#kernel tracing

options		SYSVSHM
options		SYSVMSG
options		SYSVSEM

pseudo-device	bpfilter 4	#Berkeley packet filter

device pca0 at isa? port "IO_TIMER1" tty




További információk a(z) BSD levelezőlistáról