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ålerud 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 comments in the GENERIC and LINT files, they would never get dependancy 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=2 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=0x300> > > 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=1024 cylinders, 0..254=255 heads, 1..63=63 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=4 dmamode=2 udmamode=5 cblid=1 > > ata1-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1 > > 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 = 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...stopped > > > > syncing disks... 2 > > done > > Copyright (c) 1992-2002 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > > 1994 > > > The 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 = "AuthenticAMD" Id = 0x662 Stepping = 2 > > Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,C > MOV,PAT,PSE36,MMX,FXSR,SSE> > > > AMD Features=0xc0400000<AMIE,DSP,3DNow!> > > real memory = 536788992 (524208K bytes) > > avail memory = 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=1106 device=b099)> 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=1106 device=3147)> at device 17.0 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=0x300> > > 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 UDMA100 > > 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...stopped > > > > syncing disks... 1 > > done > > Copyright (c) 1992-2002 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > > 1994 > > > The 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 = "AuthenticAMD" Id = 0x662 Stepping = 2 > > Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,C > MOV,PAT,PSE36,MMX,FXSR,SSE> > > > AMD Features=0xc0400000<AMIE,DSP,3DNow!> > > real memory = 536788992 (524208K bytes) > > avail memory = 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=1106 device=b099)> 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=1106 device=3147)> at device 17.0 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=0x300> > > 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 UDMA100 > > 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:28 > > on fxp0 > > > arp: 212.118.165.142 moved from 00:a0:f9:04:43:28 to 00:02:b3:4c:1a:2f > > on fxp0 > > > linux: syscall mmap2 is obsoleted or not implemented (pid=57968) > > linux: syscall mmap2 is obsoleted or not implemented (pid=57968) > > linux: syscall mmap2 is obsoleted or not implemented (pid=58022) > > linux: syscall mmap2 is obsoleted or not implemented (pid=58022) > > linux: syscall mmap2 is obsoleted or not implemented (pid=62919) > > linux: syscall mmap2 is obsoleted or not implemented (pid=62919) > > linux: syscall mmap2 is obsoleted or not implemented (pid=64123) > > linux: syscall mmap2 is obsoleted or not implemented (pid=64123) > > > > # > > # 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:01 > > obrien Exp $ > > > machine i386 > > #cpu I386_CPU > > #cpu I486_CPU > > cpu I586_CPU > > cpu I686_CPU > > ident VOODOO > > maxusers 0 > > > > makeoptions DEBUG=-g #Build kernel with gdb(1) debug > > symbols > > > options MATH_EMULATE #Support for x87 emulation > > options INET #InterNETworking > > #options INET6 #IPv6 communications protocols > > options FFS #Berkeley Fast Filesystem > > options FFS_ROOT #FFS usable as root device [keep > > this!] > > > options SOFTUPDATES #Enable FFS soft updates support > > options UFS_DIRHASH #Improve performance on big > > directories > > > options MFS #Memory Filesystem > > options MD_ROOT #MD is a potential root device > > options NFS #Network Filesystem > > options NFS_ROOT #NFS usable as root device, NFS > > required > > > 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 > > extensions > > > options _KPOSIX_PRIORITY_SCHEDULING > > options ICMP_BANDLIM #Rate limit bad replies > > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > > options IPX > > options NCP > > 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 DDB > > options USER_LDT > > > > # To make an SMP kernel, the next two are needed > > #options SMP # Symmetric MultiProcessor > > Kernel > > > #options APIC_IO # Symmetric (APIC) I/O > > > > device isa > > device eisa > > device pci > > device pcm > > device pcm0 > > > > # 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 > > # > > # 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 fdc0 > > > > # 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 > > > > > > # 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 > > > > # Floating point support - do not disable. > > device npx0 at nexus? port IO_NPX irq 13 > > > > # Power management support (see LINT for more options) > > device apm0 at nexus? disable flags 0x20 # Advanced > > Power Management > > > # 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 that use the common MII bus controller code. > > # NOTE: Be sure to keep the 'device miibus' line in order to use these > > NICs! > > > device miibus # MII bus support > > device fxp # Intel EtherExpress PRO/100B > > (82557, 82558) > > > # Pseudo devices - the number indicates how many units to allocate. > > pseudo-device loop # Network loopback > > pseudo-device ether # Ethernet support > > pseudo-device pty 512 # Pseudo-ttys (telnet etc) > > pseudo-device md # 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 bpf #Berkeley packet filter > > > > # USB support > > device uhci # UHCI PCI->USB interface > > device ohci # OHCI PCI->USB interface > > device usb # USB Bus (required) > > device ugen # Generic > > device uhid # "Human Interface Devices" > > device ukbd # Keyboard > > device ulpt # Printer > > device umass # Disks/Mass storage - Requires > > scbus and da > > > device ums # Mouse > > device uscanner # Scanners > > device urio # Diamond Rio MP3 Player > > # USB Ethernet, requires mii > > device aue # ADMtek USB ethernet > > device cue # CATC USB ethernet > > device kue # Kawasaki LSI USB ethernet -- 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>
