From owner-freebsd-stable@FreeBSD.ORG Sat Jun 26 01:29:57 2004 Return-Path: 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 2605516A4CE; Sat, 26 Jun 2004 01:29:57 +0000 (GMT) Received: from access.inet.co.th (access.inet.co.th [203.151.127.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85FA443D41; Sat, 26 Jun 2004 01:29:55 +0000 (GMT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (TruPPPv92-230-139.inet.co.th [203.151.230.139]) by access.inet.co.th (8.12.9p2/8.12.9) with ESMTP id i5Q1TKbE000134; Sat, 26 Jun 2004 08:29:20 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (localhost.thai-aec.org [127.0.0.1]) by firak.thai-aec.org (8.12.11/8.12.11) with ESMTP id i5Q1Zsr8022255; Sat, 26 Jun 2004 08:35:54 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: (from pirat@localhost) by firak.thai-aec.org (8.12.11/8.12.11/Submit) id i5Q1ZsOR022254; Sat, 26 Jun 2004 08:35:54 +0700 (ICT) (envelope-from pirat@access.inet.co.th) X-Authentication-Warning: firak.thai-aec.org: pirat set sender to pirat@access.inet.co.th using -f Date: Sat, 26 Jun 2004 08:35:53 +0700 From: pirat To: freebsd-questions@FreeBSD.ORG Message-ID: <20040626013553.GA22207@thai-aec.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD firak.thai-aec.org 4.10-RELEASE FreeBSD 4.10-RELEASE www-home-page: http://www.thai-aec.org www-FreeBSD-page: http://www.thai.net/makham cc: freebsd-stable@FreeBSD.ORG Subject: can not make ltmdm ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2004 01:29:57 -0000 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=tis-620 Content-Disposition: inline hi sirs, my laptop is dell inspiron 1100 with Conexant D480 MDC modem controller. i tried to compile ltmdm from ports but strange enough, it failed. i spent about 2 months in looking or searching from internet if there were any one else can use that modem in that machin with freebsd. finally, i have to come back to my box and decide to make from ports. as mentioned above, make failed. can any one please helps me or explains me why do make failed ? other informations about dell inspiron 1100 are attached. thanks in advanced fro any helps and hints. -- with best regards, psr http://www.thai-aec.org http://www.thai.net/makham --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=tis-620 Content-Disposition: attachment; filename=inspiron-pciconf >From root@inspiron.thai-aec.org Sat Jun 26 08:13:35 2004 Return-Path: Received: from inspiron.thai-aec.org (inspiron.thai-aec.org [192.168.1.70]) by firak.thai-aec.org (8.12.11/8.12.11) with ESMTP id i5Q1DZmA022143 for ; Sat, 26 Jun 2004 08:13:35 +0700 (ICT) (envelope-from root@inspiron.thai-aec.org) Received: from inspiron.thai-aec.org (localhost [127.0.0.1]) by inspiron.thai-aec.org (8.12.11/8.12.11) with ESMTP id i5Q17ZHP001148 for ; Sat, 26 Jun 2004 08:07:35 +0700 (ICT) (envelope-from root@inspiron.thai-aec.org) Received: (from root@localhost) by inspiron.thai-aec.org (8.12.11/8.12.11/Submit) id i5Q17Y9b001147 for pirat@firak.thai-aec.org; Sat, 26 Jun 2004 08:07:34 +0700 (ICT) (envelope-from root) Date: Sat, 26 Jun 2004 08:07:34 +0700 (ICT) From: Charlie Root Message-Id: <200406260107.i5Q17Y9b001147@inspiron.thai-aec.org> To: pirat@firak.thai-aec.org Status: RO Content-Length: 2910 Lines: 64 hostb0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x25608086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82845G/GL/GV/GE/PE DRAM Controller / Host-Hub I/F Bridge' class = bridge subclass = HOST-PCI agp0@pci0:2:0: class=0x030000 card=0x01491028 chip=0x25628086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82845G/GL/GV/GE/PE Integrated Graphics Device' class = display subclass = VGA uhci0@pci0:29:0: class=0x0c0300 card=0x24c08086 chip=0x24c28086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBM (ICH4/M) USB UHCI Controller #1' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0x24c08086 chip=0x24c48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBM (ICH4/M) USB UHCI Controller #2' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0x24c08086 chip=0x24c78086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBM (ICH4/M) USB UHCI Controller #3' class = serial bus subclass = USB none0@pci0:29:7: class=0x0c0320 card=0x24c08086 chip=0x24cd8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBM (ICH4/M) USB EHCI Controller' class = serial bus subclass = USB pcib1@pci0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x82 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/EB/ER (ICH2/3/4/5/5R) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x24c08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB (ICH4) LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x24c08086 chip=0x24cb8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB (ICH4) UltraATA/100 EIDE Controller' class = mass storage subclass = ATA pcm0@pci0:31:5: class=0x040100 card=0x01491028 chip=0x24c58086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBM (ICH4/M) AC'97 Audio Controller' class = multimedia subclass = audio none1@pci0:31:6: class=0x070300 card=0x542214f1 chip=0x24c68086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBM (ICH4/M) AC'97 Modem Controller' class = simple comms bfe0@pci2:1:0: class=0x020000 card=0x10284401 chip=0x440114e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM440x 10/100 Integrated Ethernet Controller' class = network subclass = ethernet cbb0@pci2:4:0: class=0x060700 card=0x01491028 chip=0xac56104c rev=0x00 hdr=0x02 vendor = 'Texas Instruments (TI)' device = 'PCI1510 PC card CardBus Controller' class = bridge subclass = PCI-CardBus --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=tis-620 Content-Disposition: attachment; filename=inspiron-ltmdm >From root@inspiron.thai-aec.org Sat Jun 26 08:17:43 2004 Return-Path: Received: from inspiron.thai-aec.org (inspiron.thai-aec.org [192.168.1.70]) by firak.thai-aec.org (8.12.11/8.12.11) with ESMTP id i5Q1HhTK022167 for ; Sat, 26 Jun 2004 08:17:43 +0700 (ICT) (envelope-from root@inspiron.thai-aec.org) Received: from inspiron.thai-aec.org (localhost [127.0.0.1]) by inspiron.thai-aec.org (8.12.11/8.12.11) with ESMTP id i5Q1BhNY001401 for ; Sat, 26 Jun 2004 08:11:43 +0700 (ICT) (envelope-from root@inspiron.thai-aec.org) Received: (from root@localhost) by inspiron.thai-aec.org (8.12.11/8.12.11/Submit) id i5Q1BhOG001400 for pirat@firak.thai-aec.org; Sat, 26 Jun 2004 08:11:43 +0700 (ICT) (envelope-from root) Date: Sat, 26 Jun 2004 08:11:43 +0700 (ICT) From: Charlie Root Message-Id: <200406260111.i5Q1BhOG001400@inspiron.thai-aec.org> To: pirat@firak.thai-aec.org Status: RO Content-Length: 13855 Lines: 229 Script started on Sat Jun 26 08:10:27 2004 You have mail. /usr/ports/comms/ltmdm# make ===> Vulnerability check disabled ************************************************* If your ISP supports K56flex protocol only and doesn't support V90, define WITH_595_OBJ. Otheriwse your modem will not connect ************************************************* ===> Extracting for ltmdm-1.4_6 >> Checksum OK for ltmdm-1.4.tgz. ===> Patching for ltmdm-1.4_6 ===> Applying FreeBSD patches for ltmdm-1.4_6 ===> Configuring for ltmdm-1.4_6 ===> Building for ltmdm-1.4_6 Warning: Object directory not changed from original /usr/ports/comms/ltmdm/work/sys/modules/ltmdm @ -> /usr/src/sys machine -> /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h uudecode -p ltmdmobj.o cc -O -pipe -DLTMDMOBJ_VERSION=600 -DCDEV_MAJOR=228 -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/ports/comms/ltmdm/work/sys/modules/ltmdm/../../dev/ltmdm/ltmdmsio.c /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: In function `inp': /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:883: warning: comparison is always true due to limited range of data type /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: In function `outp': /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:888: warning: comparison is always true due to limited range of data type /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: In function `ltmdm_pci_attach': /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1428: warning: assignment makes integer from pointer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1430: warning: assignment makes integer from pointer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1432: warning: assignment makes integer from pointer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1434: warning: assignment makes integer from pointer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1436: warning: assignment makes integer from pointer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1438: warning: assignment makes integer from pointer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: In function `ltmdm_pci_detach': /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1512: warning: passing arg 1 of `destroy_dev' makes pointer from integer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: At top level: /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1523: error: conflicting types for `sioopen' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:358: error: previous declaration of `sioopen' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: In function `sioopen': /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1531: warning: passing arg 1 of `minor' makes pointer from integer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1540: error: invalid type argument of `->' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1594: warning: assignment makes pointer from integer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1683: warning: passing arg 1 of pointer to function makes pointer from integer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: At top level: /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1700: error: conflicting types for `sioclose' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:359: error: previous declaration of `sioclose' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: In function `sioclose': /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1706: warning: passing arg 1 of `minor' makes pointer from integer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: At top level: /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1791: error: conflicting types for `sioread' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:360: error: previous declaration of `sioread' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: In function `sioread': /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1795: warning: passing arg 1 of `minor' makes pointer from integer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: At top level: /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1810: error: conflicting types for `siowrite' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:361: error: previous declaration of `siowrite' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: In function `siowrite': /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:1815: warning: passing arg 1 of `minor' makes pointer from integer without a cast /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: At top level: /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:2143: error: conflicting types for `sioioctl' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:362: error: previous declaration of `sioioctl' /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c: In function `sioioctl': /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:2154: warning: passing arg 1 of `minor' makes pointer from integer without a cast *** Error code 1 Stop in /usr/ports/comms/ltmdm/work/sys/modules/ltmdm. *** Error code 1 Stop in /usr/ports/comms/ltmdm. /usr/ports/comms/ltmdm# uname -a FreeBSD inspiron.thai-aec.org 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Tue Jun 22 16:41:37 ICT 2004 pirat@inspiron.thai-aec.org:/usr/obj/usr/src/sys/INSPIRON i386 /usr/ports/comms/ltmdm# dmesg Copyright (c) 1992-2004 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 5.2-CURRENT #1: Tue Jun 22 16:41:37 ICT 2004 pirat@inspiron.thai-aec.org:/usr/obj/usr/src/sys/INSPIRON Preloaded elf kernel "/boot/kernel/kernel" at 0xc08d3000. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc08d31f4. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc08d32a0. Preloaded acpi_dsdt "/boot/Dell.aml" at 0xc08d334c. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08d3390. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 2.20GHz (2192.89-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebf9ff real memory = 267161600 (254 MB) avail memory = 251756544 (240 MB) random: Pentium Pro MTRR support enabled ACPI: DSDT was overridden. ACPI-0374: *** Info: Table [DSDT] replaced by host OS npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: [GIANT-LOCKED] pcibios: BIOS version 2.10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 2 INTA is routed to irq 11 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 29 INTD is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 agp0: mem 0xf6f80000-0xf6ffffff,0xe0000000-0xe7ffffff irq 11 at device 2.0 on pci0 agp0: detected 892k stolen memory agp0: aperture size is 128M uhci0: port 0xbf80-0xbf9f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbf40-0xbf5f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbf20-0xbf3f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib1: at device 30.0 on pci0 pci2: on pcib1 pcib1: slot 1 INTA is routed to irq 11 bfe0: mem 0xfcffe000-0xfcffffff irq 11 at device 1.0 on pci2 miibus0: on bfe0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:0d:56:31:fe:79 bfe0: [GIANT-LOCKED] cbb0: at device 4.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib1: slot 4 INTA is routed to irq 11 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcm0: port 0xcc40-0xcc7f,0xc800-0xc8ff mem 0xf6f7f400-0xf6f7f4ff,0xf6f7f800-0xf6f7f9ff irq 11 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: pci0: at device 31.6 (no driver attached) atkbdc0: port 0x66,0x62,0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: flags 0x1000 irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 orm0: