Date: Wed, 5 Feb 2003 14:54:22 +0200 From: Willie Viljoen <will@unfoldings.net> To: Erik Paulsen =?iso-8859-1?q?Sk=E5lerud?= <erik@pentadon.com> Cc: freebsd-stable@freebsd.org Subject: Re: error making new kernel Message-ID: <200302051454.22490.will@unfoldings.net> In-Reply-To: <000b01c2cd13$0590bec0$0a00000a@yes.no> References: <000b01c2cd13$0590bec0$0a00000a@yes.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 05 February 2003 14:35, Erik Paulsen Sk=E5lerud wrote: > This is a pretty frequent question that I see alot of on the lists and > in different FreeBSD-channels on IRC. > > Perhaps someone should implent some kind of kernel-config checker that > sees over the config and tells the user if something important is > missing (like scsbus and da if you're going to use umass). > I am sure that there are several other things it could check aswell. > > I'd love to make one myself, the only problem is that I don't know > enough about shell-scripting to do this. > > Erik. That shouldn't really be needed. If people took the time to read the=20 comments in the GENERIC and LINT files, they would never get dependancy=20 problems :) > > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG] On Behalf Of Gunnar Flygt > Sent: Wednesday, February 05, 2003 9:57 AM > To: Kirill Ponomarew > Cc: freebsd-stable@FreeBSD.ORG > Subject: Re: error making new kernel > > On Wed, Feb 05, 2003 at 09:48:42AM +0100, Kirill Ponomarew wrote: > > Hi, > > > > I tried to upgrade 4.7-RELESE to -STABLE now, "make buildworld" > > did things correctly, but I have troubles building the new > > kernel: > > From GENERIC kernel config file: > > device umass # Disks/Mass storage - Requires scbus > and da > > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > > -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc > > -I- -I. -I/usr/src/sys -I/usr/src/sys/../include > > -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include > > opt_global.h -mpreferred-stack-boundary=3D2 vers.c > > linking kernel.debug > > umass.o: In function `umass_cam_attach_sim': > > /usr/src/sys/dev/usb/umass.c(.text+0x137f): undefined reference > > to `cam_simq_alloc' > > /usr/src/sys/dev/usb/umass.c(.text+0x13a5): undefined reference > > to `cam_sim_alloc' > > /usr/src/sys/dev/usb/umass.c(.text+0x13be): undefined reference > > to `xpt_bus_register' > > /usr/src/sys/dev/usb/umass.c(.text+0x13ce): undefined reference > > to `cam_simq_free' > > umass.o: In function `umass_cam_rescan_callback': > > /usr/src/sys/dev/usb/umass.c(.text+0x13e7): undefined reference > > to `xpt_free_path' > > umass.o: In function `umass_cam_rescan': > > /usr/src/sys/dev/usb/umass.c(.text+0x1431): undefined reference > > to `xpt_periph' > > /usr/src/sys/dev/usb/umass.c(.text+0x143a): undefined reference > > to `xpt_create_path' > > /usr/src/sys/dev/usb/umass.c(.text+0x144d): undefined reference > > to `xpt_setup_ccb' > > /usr/src/sys/dev/usb/umass.c(.text+0x1468): undefined reference > > to `xpt_action' > > umass.o: In function `umass_cam_detach_sim': > > /usr/src/sys/dev/usb/umass.c(.text+0x151f): undefined reference > > to `xpt_bus_deregister' > > /usr/src/sys/dev/usb/umass.c(.text+0x153d): undefined reference > > to `cam_sim_free' > > umass.o: In function `umass_cam_detach': > > /usr/src/sys/dev/usb/umass.c(.text+0x157e): undefined reference > > to `xpt_create_path' > > /usr/src/sys/dev/usb/umass.c(.text+0x159f): undefined reference > > to `xpt_async' > > /usr/src/sys/dev/usb/umass.c(.text+0x15a7): undefined reference > > to `xpt_free_path' > > umass.o: In function `umass_cam_action': > > /usr/src/sys/dev/usb/umass.c(.text+0x1913): undefined reference > > to `xpt_done' > > /usr/src/sys/dev/usb/umass.c(.text+0x1925): undefined reference > > to `xpt_done' > > umass.o: In function `umass_cam_cb': > > /usr/src/sys/dev/usb/umass.c:2632: undefined reference to > > `xpt_done' > > umass.o: In function `umass_cam_sense_cb': > > /usr/src/sys/dev/usb/umass.c:2627: undefined reference to > > `xpt_done' > > /usr/src/sys/dev/usb/umass.c:2634: undefined reference to > > `xpt_done' > > umass.o(.text+0x1b53):/usr/src/sys/dev/usb/umass.c: more > > undefined references to `xpt_done' follow > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/VOODOO. > > *** Error code 1 > > > > Kernel config and dmesg output are attached > > > > -- > > Kirill > > If you want to get along, go along. > > > > ce ID 4-00, 5 buttons > > psm0: config:00000000, flags:00000000, packet size:4 > > psm0: syncmask:08, syncbits:08 > > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > > isa0 > > > fb0: vga0, vga, type:VGA (5), flags:0x7007f > > fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 > > fb0: init mode:24, bios mode:3, current mode:24 > > fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k > > VGA parameters upon power-up > > 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 > > bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 > > b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c > > 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff > > VGA parameters in BIOS for mode 24 > > 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 > > bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 > > b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c > > 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff > > EGA/VGA parameters to be used for mode 24 > > 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 > > bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 > > b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c > > 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff > > sc0: <System console> at flags 0x100 on isa0 > > sc0: VGA <16 virtual consoles, flags=3D0x300> > > sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) > > pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0 > > pcic1: not probed (disabled) > > sio0: irq maps: 0x41 0x51 0x41 0x41 > > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > > sio0: type 16550A > > sio1: irq maps: 0x41 0x49 0x41 0x41 > > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > > sio1: type 16550A > > sio2: not probed (disabled) > > sio3: not probed (disabled) > > ppc0: parallel port found at 0x378 > > ppc0: using extended I/O port range > > ppc0: ECP SPP ECP+EPP SPP > > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 > > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > > ppc0: FIFO with 16/16/9 bytes threshold > > plip0: <PLIP network interface> on ppbus0 > > bpf: lp0 attached > > lpt0: <Printer> on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: <Parallel I/O> on ppbus0 > > ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 > > fe0 failed to probe at port 0x300-0x31f on isa0 > > ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0 > > lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0 > > cs0 failed to probe at port 0x300-0x31f on isa0 > > sn0 failed to probe at port 0x300-0x30f irq 10 on isa0 > > isa_probe_children: probing PnP devices > > BIOS Geometries: > > 0:03fffe3f 0..1023=3D1024 cylinders, 0..254=3D255 heads, 1..63=3D63 = sectors > > 0 accounted for > > Device configuration finished. > > bpf: fxp0f0 attached > > bpf: fxp0f1 attached > > bpf: fxp0f2 attached > > bpf: fxp0f3 attached > > bpf: sl0 attached > > bpf: faith0 attached > > bpf: lo0 attached > > bpf: ppp0 attached > > new masks: bio 68c060, tty 63149a, net 671c9a > > ncp_load: [210-213] > > ad0: success setting UDMA5 on VIA chip > > Creating DISK ad0 > > ar: FreeBSD check1 failed > > ad0: <IC35L120AVVA07-0/VA6OA52A> ATA-5 disk at ata0-master > > ad0: 117800MB (241254720 sectors), 239340 C, 16 H, 63 S, 512 B > > ad0: 16 secs/int, 1 depth queue, UDMA100 > > ad0: piomode=3D4 dmamode=3D2 udmamode=3D5 cblid=3D1 > > ata1-master: piomode=3D4 dmamode=3D2 udmamode=3D2 dmaflag=3D1 > > ata1-master: success setting PIO4 on generic chip > > acd0: <TOSHIBA DVD-ROM SD-R1202/1026> CD-RW drive at ata1 as master > > acd0: read 6890KB/s (36026KB/s) write 2755KB/s (2755KB/s), 2048KB > > buffer, PIO4 > > > acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R, packet > > acd0: Writes: CD-R, CD-RW, test write, burnproof > > acd0: Audio: play, 16 volume levels > > acd0: Mechanism: ejectable tray, unlocked > > acd0: Medium: no/blank disc > > Mounting root from ufs:/dev/ad0s1a > > ad0s1: type 0xa5, start 0, end =3D 241254719, size 241254720 : OK > > start_init: trying /sbin/init > > Linux ELF exec handler installed > > pid 8059 (procmail), uid 0: exited on signal 11 > > pid 41844 (ssh), uid 179: exited on signal 3 (core dumped) > > cd9660: RockRidge Extension > > pid 74965 (opera), uid 179: exited on signal 11 (core dumped) > > pid 38663 (micq), uid 179: exited on signal 6 > > pid 42147 (mutt), uid 179: exited on signal 11 (core dumped) > > Waiting (max 60 seconds) for system process `vnlru' to stop...stopped > > Waiting (max 60 seconds) for system process `bufdaemon' to > > stop...stopped > > > Waiting (max 60 seconds) for system process `syncer' to stop...stoppe= d > > > > syncing disks... 2 > > done > > Copyright (c) 1992-2002 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > > 1994 > > > =09The Regents of the University of California. All rights > > reserved. > > > FreeBSD 4.7-RELEASE #3: Fri Dec 27 09:53:03 CET 2002 > > root@voodoo.oberon.net:/usr/obj/usr/src/sys/VOODOO > > Timecounter "i8254" frequency 1193182 Hz > > CPU: AMD Athlon(TM) XP1800+ (1544.51-MHz 686-class CPU) > > Origin =3D "AuthenticAMD" Id =3D 0x662 Stepping =3D 2 > > Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC= A,C > MOV,PAT,PSE36,MMX,FXSR,SSE> > > > AMD Features=3D0xc0400000<AMIE,DSP,3DNow!> > > real memory =3D 536788992 (524208K bytes) > > avail memory =3D 516870144 (504756K bytes) > > Preloaded elf kernel "kernel" at 0xc0549000. > > Pentium Pro MTRR support enabled > > md0: Malloc disk > > Using $PIR table, 10 entries at 0xc00f14a0 > > npx0: <math processor> on motherboard > > npx0: INT 16 interface > > pcib0: <Host to PCI bridge> on motherboard > > pci0: <PCI bus> on pcib0 > > pcib1: <PCI to PCI bridge (vendor=3D1106 device=3Db099)> at device 1.= 0 on > > pci0 > > > pci1: <PCI bus> on pcib1 > > pci1: <Matrox MGA G550 AGP graphics accelerator> at 0.0 irq 11 > > fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd800-0xd83f mem > > 0xf7800000-0xf781ffff,0xf8000000-0xf8000fff irq 11 at device 13.0 on > pci0 > > > fxp0: Ethernet address 00:02:b3:4c:18:9f > > inphy0: <i82555 10/100 media interface> on miibus0 > > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > pcm0: <ESS Solo-1 (unknown vendor)> port > > 0xb000-0xb003,0xb400-0xb403,0xb800-0xb80f,0xd000-0xd00f,0xd400-0xd43f > irq 10 at device 15.0 on pci0 > > > isab0: <PCI to ISA bridge (vendor=3D1106 device=3D3147)> at device 17= =2E0 on > > pci0 > > > isa0: <ISA bus> on isab0 > > atapci0: <VIA 8233 ATA133 controller> port 0xa800-0xa80f irq 0 at > > device 17.1 on pci0 > > > ata0: at 0x1f0 irq 14 on atapci0 > > ata1: at 0x170 irq 15 on atapci0 > > uhci0: <VIA 83C572 USB controller> port 0xa400-0xa41f irq 5 at device > > 17.2 on pci0 > > > usb0: <VIA 83C572 USB controller> on uhci0 > > usb0: USB revision 1.0 > > uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub0: 2 ports with 2 removable, self powered > > uhci1: <VIA 83C572 USB controller> port 0xa000-0xa01f irq 5 at device > > 17.3 on pci0 > > > usb1: <VIA 83C572 USB controller> on uhci1 > > usb1: USB revision 1.0 > > uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub1: 2 ports with 2 removable, self powered > > orm0: <Option ROMs> at iomem 0xc0000-0xc8fff,0xcc000-0xcd7ff on isa0 > > 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,0x64 on isa0 > > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 > > kbd0 at atkbd0 > > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > > psm0: model IntelliMouse Explorer, device ID 4 > > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > > isa0 > > > sc0: <System console> at flags 0x100 on isa0 > > sc0: VGA <16 virtual consoles, flags=3D0x300> > > 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: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > > ppc0: FIFO with 16/16/9 bytes threshold > > plip0: <PLIP network interface> on ppbus0 > > lpt0: <Printer> on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: <Parallel I/O> on ppbus0 > > ncp_load: [210-213] > > ad0: 117800MB <IC35L120AVVA07-0> [239340/16/63] at ata0-master UDMA10= 0 > > acd0: CD-RW <TOSHIBA DVD-ROM SD-R1202> at ata1-master PIO4 > > Mounting root from ufs:/dev/ad0s1a > > Waiting (max 60 seconds) for system process `vnlru' to stop...stopped > > Waiting (max 60 seconds) for system process `bufdaemon' to > > stop...stopped > > > Waiting (max 60 seconds) for system process `syncer' to stop...stoppe= d > > > > syncing disks... 1 > > done > > Copyright (c) 1992-2002 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > > 1994 > > > =09The Regents of the University of California. All rights > > reserved. > > > FreeBSD 4.7-RELEASE #4: Fri Dec 27 10:01:26 CET 2002 > > root@voodoo.oberon.net:/usr/obj/usr/src/sys/VOODOO > > Timecounter "i8254" frequency 1193182 Hz > > CPU: AMD Athlon(TM) XP1800+ (1544.51-MHz 686-class CPU) > > Origin =3D "AuthenticAMD" Id =3D 0x662 Stepping =3D 2 > > Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC= A,C > MOV,PAT,PSE36,MMX,FXSR,SSE> > > > AMD Features=3D0xc0400000<AMIE,DSP,3DNow!> > > real memory =3D 536788992 (524208K bytes) > > avail memory =3D 516870144 (504756K bytes) > > Preloaded elf kernel "kernel" at 0xc0549000. > > Pentium Pro MTRR support enabled > > md0: Malloc disk > > Using $PIR table, 10 entries at 0xc00f14a0 > > npx0: <math processor> on motherboard > > npx0: INT 16 interface > > pcib0: <Host to PCI bridge> on motherboard > > pci0: <PCI bus> on pcib0 > > pcib1: <PCI to PCI bridge (vendor=3D1106 device=3Db099)> at device 1.= 0 on > > pci0 > > > pci1: <PCI bus> on pcib1 > > pci1: <Matrox MGA G550 AGP graphics accelerator> at 0.0 irq 11 > > fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd800-0xd83f mem > > 0xf7800000-0xf781ffff,0xf8000000-0xf8000fff irq 11 at device 13.0 on > pci0 > > > fxp0: Ethernet address 00:02:b3:4c:18:9f > > inphy0: <i82555 10/100 media interface> on miibus0 > > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > pcm0: <ESS Solo-1 (unknown vendor)> port > > 0xb000-0xb003,0xb400-0xb403,0xb800-0xb80f,0xd000-0xd00f,0xd400-0xd43f > irq 10 at device 15.0 on pci0 > > > isab0: <PCI to ISA bridge (vendor=3D1106 device=3D3147)> at device 17= =2E0 on > > pci0 > > > isa0: <ISA bus> on isab0 > > atapci0: <VIA 8233 ATA133 controller> port 0xa800-0xa80f irq 0 at > > device 17.1 on pci0 > > > ata0: at 0x1f0 irq 14 on atapci0 > > ata1: at 0x170 irq 15 on atapci0 > > uhci0: <VIA 83C572 USB controller> port 0xa400-0xa41f irq 5 at device > > 17.2 on pci0 > > > usb0: <VIA 83C572 USB controller> on uhci0 > > usb0: USB revision 1.0 > > uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub0: 2 ports with 2 removable, self powered > > uhci1: <VIA 83C572 USB controller> port 0xa000-0xa01f irq 5 at device > > 17.3 on pci0 > > > usb1: <VIA 83C572 USB controller> on uhci1 > > usb1: USB revision 1.0 > > uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub1: 2 ports with 2 removable, self powered > > orm0: <Option ROMs> at iomem 0xc0000-0xc8fff,0xcc000-0xcd7ff on isa0 > > 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,0x64 on isa0 > > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 > > kbd0 at atkbd0 > > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > > psm0: model IntelliMouse Explorer, device ID 4 > > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > > isa0 > > > sc0: <System console> at flags 0x100 on isa0 > > sc0: VGA <16 virtual consoles, flags=3D0x300> > > 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: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > > ppc0: FIFO with 16/16/9 bytes threshold > > plip0: <PLIP network interface> on ppbus0 > > lpt0: <Printer> on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: <Parallel I/O> on ppbus0 > > ncp_load: [210-213] > > ad0: 117800MB <IC35L120AVVA07-0> [239340/16/63] at ata0-master UDMA10= 0 > > acd0: CD-RW <TOSHIBA DVD-ROM SD-R1202> at ata1-master PIO4 > > Mounting root from ufs:/dev/ad0s1a > > pid 17196 (mutt), uid 179: exited on signal 11 (core dumped) > > pid 13801 (conftest), uid 0: exited on signal 6 (core dumped) > > fxp0: promiscuous mode enabled > > fxp0: promiscuous mode disabled > > pid 83011 (mutt), uid 179: exited on signal 11 (core dumped) > > pid 77299 (mutt), uid 179: exited on signal 11 (core dumped) > > pid 95041 (conftest), uid 0: exited on signal 6 (core dumped) > > cd9660: Joliet Extension (Level 3) > > pid 2086 (conftest), uid 0: exited on signal 6 (core dumped) > > arp: 212.118.165.142 moved from 00:02:b3:4c:1a:2f to 00:a0:f9:04:43:2= 8 > > on fxp0 > > > arp: 212.118.165.142 moved from 00:a0:f9:04:43:28 to 00:02:b3:4c:1a:2= f > > on fxp0 > > > linux: syscall mmap2 is obsoleted or not implemented (pid=3D57968) > > linux: syscall mmap2 is obsoleted or not implemented (pid=3D57968) > > linux: syscall mmap2 is obsoleted or not implemented (pid=3D58022) > > linux: syscall mmap2 is obsoleted or not implemented (pid=3D58022) > > linux: syscall mmap2 is obsoleted or not implemented (pid=3D62919) > > linux: syscall mmap2 is obsoleted or not implemented (pid=3D62919) > > linux: syscall mmap2 is obsoleted or not implemented (pid=3D64123) > > linux: syscall mmap2 is obsoleted or not implemented (pid=3D64123) > > > > # > > # 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.2.43 2002/05/23 17:04:0= 1 > > obrien Exp $ > > > machine=09=09i386 > > #cpu=09=09I386_CPU > > #cpu=09=09I486_CPU > > cpu=09=09I586_CPU > > cpu=09=09I686_CPU > > ident=09 =09VOODOO > > maxusers=090 > > > > makeoptions=09DEBUG=3D-g=09=09#Build kernel with gdb(1) debug > > symbols > > > options =09MATH_EMULATE=09=09#Support for x87 emulation > > options =09INET=09=09=09#InterNETworking > > #options =09INET6=09=09=09#IPv6 communications protocols > > options =09FFS=09=09=09#Berkeley Fast Filesystem > > options =09FFS_ROOT=09=09#FFS usable as root device [keep > > this!] > > > options =09SOFTUPDATES=09=09#Enable FFS soft updates support > > options =09UFS_DIRHASH=09=09#Improve performance on big > > directories > > > options =09MFS=09=09=09#Memory Filesystem > > options =09MD_ROOT=09=09=09#MD is a potential root device > > options =09NFS=09=09=09#Network Filesystem > > options =09NFS_ROOT=09=09#NFS usable as root device, NFS > > required > > > options =09MSDOSFS=09=09=09#MSDOS Filesystem > > options =09CD9660=09=09=09#ISO 9660 Filesystem > > options =09CD9660_ROOT=09=09#CD-ROM usable as root, CD9660 > > required > > > options =09PROCFS=09=09=09#Process filesystem > > options =09COMPAT_43=09=09#Compatible with BSD 4.3 [KEEP > > THIS!] > > > options =09SCSI_DELAY=3D15000=09#Delay (in ms) before probing > > SCSI > > > options =09UCONSOLE=09=09#Allow users to grab the console > > options =09USERCONFIG=09=09#boot -c editor > > options =09VISUAL_USERCONFIG=09#visual boot -c editor > > options =09KTRACE=09=09=09#ktrace(1) support > > options =09SYSVSHM=09=09=09#SYSV-style shared memory > > options =09SYSVMSG=09=09=09#SYSV-style message queues > > options =09SYSVSEM=09=09=09#SYSV-style semaphores > > options =09P1003_1B=09=09#Posix P1003_1B real-time > > extensions > > > options =09_KPOSIX_PRIORITY_SCHEDULING > > options=09=09ICMP_BANDLIM=09=09#Rate limit bad replies > > options =09KBD_INSTALL_CDEV=09# install a CDEV entry in /dev > > options=09=09IPX > > options=09=09NCP > > 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 > > > options=09=09DDB > > options=09=09USER_LDT > > > > # To make an SMP kernel, the next two are needed > > #options =09SMP=09=09=09# Symmetric MultiProcessor > > Kernel > > > #options =09APIC_IO=09=09=09# Symmetric (APIC) I/O > > > > device=09=09isa > > device=09=09eisa > > device=09=09pci > > device=09=09pcm > > device=09=09pcm0 > > > > # Floppy drives > > device=09=09fdc0=09at isa? port IO_FD1 irq 6 drq 2 > > device=09=09fd0=09at fdc0 drive 0 > > device=09=09fd1=09at fdc0 drive 1 > > # > > # If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy, > > # don't use the above line for fdc0 but the following one: > > #device=09=09fdc0 > > > > # ATA and ATAPI devices > > device=09=09ata0=09at isa? port IO_WD1 irq 14 > > device=09=09ata1=09at isa? port IO_WD2 irq 15 > > device=09=09ata > > device=09=09atadisk=09=09=09# ATA disk drives > > device=09=09atapicd=09=09=09# ATAPI CDROM drives > > device=09=09atapifd=09=09=09# ATAPI floppy drives > > device=09=09atapist=09=09=09# ATAPI tape drives > > options =09ATA_STATIC_ID=09=09#Static device numbering > > > > > > # atkbdc0 controls both the keyboard and the PS/2 mouse > > device=09=09atkbdc0=09at isa? port IO_KBD > > device=09=09atkbd0=09at atkbdc? irq 1 flags 0x1 > > device=09=09psm0=09at atkbdc? irq 12 > > > > device=09=09vga0=09at isa? > > > > # splash screen/screen saver > > pseudo-device=09splash > > > > # syscons is the default console driver, resembling an SCO console > > device=09=09sc0=09at isa? flags 0x100 > > > > # Floating point support - do not disable. > > device=09=09npx0=09at nexus? port IO_NPX irq 13 > > > > # Power management support (see LINT for more options) > > device=09=09apm0 at nexus? disable flags 0x20 # Advanced > > Power Management > > > # Serial (COM) ports > > device=09=09sio0=09at isa? port IO_COM1 flags 0x10 irq 4 > > device=09=09sio1=09at isa? port IO_COM2 irq 3 > > > > # Parallel port > > device=09=09ppc0=09at isa? irq 7 > > device=09=09ppbus=09=09# Parallel port bus (required) > > device=09=09lpt=09=09# Printer > > device=09=09plip=09=09# TCP/IP over parallel > > device=09=09ppi=09=09# Parallel port interface device > > > > > > # PCI Ethernet NICs that use the common MII bus controller code. > > # NOTE: Be sure to keep the 'device miibus' line in order to use thes= e > > NICs! > > > device=09=09miibus=09=09# MII bus support > > device=09=09fxp=09=09# Intel EtherExpress PRO/100B > > (82557, 82558) > > > # Pseudo devices - the number indicates how many units to allocate. > > pseudo-device=09loop=09=09# Network loopback > > pseudo-device=09ether=09=09# Ethernet support > > pseudo-device=09pty=09512=09# Pseudo-ttys (telnet etc) > > pseudo-device=09md=09=09# Memory "disks" > > pseudo-device ef > > > > # The `bpf' pseudo-device enables the Berkeley Packet Filter. > > # Be aware of the administrative consequences of enabling this! > > pseudo-device=09bpf=09=09#Berkeley packet filter > > > > # USB support > > device=09=09uhci=09=09# UHCI PCI->USB interface > > device=09=09ohci=09=09# OHCI PCI->USB interface > > device=09=09usb=09=09# USB Bus (required) > > device=09=09ugen=09=09# Generic > > device=09=09uhid=09=09# "Human Interface Devices" > > device=09=09ukbd=09=09# Keyboard > > device=09=09ulpt=09=09# Printer > > device=09=09umass=09=09# Disks/Mass storage - Requires > > scbus and da > > > device=09=09ums=09=09# Mouse > > device=09=09uscanner=09# Scanners > > device=09=09urio=09=09# Diamond Rio MP3 Player > > # USB Ethernet, requires mii > > device=09=09aue=09=09# ADMtek USB ethernet > > device=09=09cue=09=09# CATC USB ethernet > > device=09=09kue=09=09# Kawasaki LSI USB ethernet --=20 Willie Viljoen Freelance IT Consultant 214 Paul Kruger Avenue, Universitas Bloemfontein 9321 South Africa +27 51 522 15 60 +27 51 522 44 36 (after hours) +27 82 404 03 27 (mobile) will@unfoldings.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302051454.22490.will>