From owner-freebsd-stable Wed Feb 5 0:49: 2 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 28EDB37B401 for ; Wed, 5 Feb 2003 00:48:50 -0800 (PST) Received: from office.LF.net (office.LF.net [212.9.190.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id E622243F43 for ; Wed, 5 Feb 2003 00:48:48 -0800 (PST) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net ([212.118.165.100]) by office.LF.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.04) id 18gLEN-000MHQ-00 for freebsd-stable@FreeBSD.org; Wed, 05 Feb 2003 09:48:31 +0100 Received: from krion by voodoo.oberon.net with local (Exim 4.10) id 18gLEY-0004vo-00 for freebsd-stable@FreeBSD.org; ср, 05 фев 2003 09:48:42 +0100 Date: Wed, 5 Feb 2003 09:48:42 +0100 From: Kirill Ponomarew To: freebsd-stable@FreeBSD.org Subject: error making new kernel Message-ID: <20030205084841.GA9243@krion> Mail-Followup-To: Kirill Ponomarew , freebsd-stable@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline X-PGP-Fingerprint: 58E7 B953 57A2 D9DD 4960 2A2D 402D 46E9 AEB4 26E5 X-NCC-Regid: de.oberon 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 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I tried to upgrade 4.7-RELESE to -STABLE now, "make buildworld" did things correctly, but I have troubles building the new kernel: 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. --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg 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=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: 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=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: 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: 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 AMD Features=0xc0400000 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: 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: