From owner-freebsd-stable Wed Feb 5 5: 0: 0 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 423F037B401 for ; Wed, 5 Feb 2003 04:59:41 -0800 (PST) Received: from thufir.bluecom.no (thufir.bluecom.no [217.118.32.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF24C43F79 for ; Wed, 5 Feb 2003 04:59:38 -0800 (PST) (envelope-from erik@pentadon.com) Received: from erik (a217-118-56-152.bluecom.no [217.118.56.152]) by thufir.bluecom.no (Postfix) with ESMTP id 6908B50EBF5; Wed, 5 Feb 2003 13:59:34 +0100 (CET) From: =?iso-8859-1?Q?Erik_Paulsen_Sk=E5lerud?= To: "'Willie Viljoen'" Cc: Subject: RE: error making new kernel Date: Wed, 5 Feb 2003 13:58:58 +0100 Message-ID: <000c01c2cd16$5a9b0a80$0a00000a@yes.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <200302051454.22490.will@unfoldings.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Well, "if" isn't always going to happen. Why not make life easier to the ones who are new to FreeBSD? What's the harm? Giving people an easier OS wich still extremely stable, fast and easy to maintain? Oh, no, we wouldnt want that. Erik. -----Original Message----- From: Willie Viljoen [mailto:will@phoenix.home.laserfence.net] On Behalf Of Willie Viljoen Sent: Wednesday, February 05, 2003 1:54 PM To: Erik Paulsen Sk=E5lerud Cc: freebsd-stable@freebsd.org Subject: Re: error making new kernel 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: 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: 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: 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: on ppbus0 > > bpf: lp0 attached > > lpt0: on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: 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: 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: 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...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 =3D "AuthenticAMD" Id =3D 0x662 Stepping =3D 2 > > Features=3D0x383f9ff MOV,PAT,PSE36,MMX,FXSR,SSE> > > > AMD Features=3D0xc0400000 > > 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: on motherboard > > npx0: INT 16 interface > > pcib0: on motherboard > > pci0: on pcib0 > > pcib1: at device = 1.0 on > > pci0 > > > pci1: on pcib1 > > pci1: at 0.0 irq 11 > > fxp0: 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: on miibus0 > > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > pcm0: port > > 0xb000-0xb003,0xb400-0xb403,0xb800-0xb80f,0xd000-0xd00f,0xd400-0xd43f > irq 10 at device 15.0 on pci0 > > > isab0: at device = 17.0 on > > pci0 > > > isa0: on isab0 > > atapci0: 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: port 0xa400-0xa41f irq 5 at device > > 17.2 on pci0 > > > usb0: 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: port 0xa000-0xa01f irq 5 at device > > 17.3 on pci0 > > > usb1: 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: