From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 14 15:42:10 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C61E237B401 for ; Thu, 14 Aug 2003 15:42:10 -0700 (PDT) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CDEB43FA3 for ; Thu, 14 Aug 2003 15:42:08 -0700 (PDT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gw [210.21.6.34]) by gddsn.org.cn (Postfix) with ESMTP id C5AAF38CB01; Fri, 15 Aug 2003 06:42:05 +0800 (CST) Message-ID: <3F3C103C.5070805@gddsn.org.cn> Date: Fri, 15 Aug 2003 06:42:04 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.4) Gecko/20030809 X-Accept-Language: zh-cn, zh-tw, en-us MIME-Version: 1.0 To: "M. Warner Losh" References: <3F3B71F0.1010502@gddsn.org.cn> <20030814.093938.62371742.imp@bsdimp.com> In-Reply-To: <20030814.093938.62371742.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: mobile@freebsd.org Subject: Re: GPRS modem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 22:42:11 -0000 M. Warner Losh wrote: >can you please send a more complete dmesg? the part you sent is >interesting, but I need a little more info than it provided. > >Warner > > > > ok, here is the dmesg from R40. and by the way, I add this patch, the gprs modem can work, I am not sure it is right. --- pci_pci.c~ Fri May 23 01:45:26 2003 +++ pci_pci.c Fri Aug 15 06:39:37 2003 @@ -340,6 +340,7 @@ end = sc->iolimit; } } else { + ok = 1; if (start < sc->iobase) printf("start (%lx) < sc->iobase (%x)\n", start, sc->iobase); Aug 15 06:01:00 tp kernel: Copyright (c) 1992-2003 The FreeBSD Project. Aug 15 06:01:00 tp kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Aug 15 06:01:00 tp kernel: The Regents of the University of California. All rights reserved. Aug 15 06:01:00 tp kernel: FreeBSD 5.1-CURRENT #17: Thu Aug 14 19:52:36 CST 2003 Aug 15 06:01:00 tp kernel: root@tp.gddsn.org.cn:/usr/obj/usr/src/sys/IBM01 Aug 15 06:01:00 tp kernel: Preloaded elf kernel "/boot/kernel/kernel" at 0xc0814000. Aug 15 06:01:00 tp kernel: Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0814294. Aug 15 06:01:01 tp kernel: Timecounter "i8254" frequency 1193182 Hz Aug 15 06:01:01 tp kernel: CPU: Intel(R) Pentium(R) M processor 1500MHz (1498.73-MHz 686-class CPU) Aug 15 06:01:01 tp kernel: Origin = "GenuineIntel" Id = 0x695 Stepping = 5 Aug 15 06:01:01 tp kernel: Features=0xa7e9f9bf Aug 15 06:01:01 tp kernel: real memory = 1073086464 (1023 MB) Aug 15 06:01:01 tp kernel: avail memory = 1033850880 (985 MB) Aug 15 06:01:01 tp kernel: Pentium Pro MTRR support enabled Aug 15 06:01:01 tp kernel: npx0: on motherboard Aug 15 06:01:01 tp kernel: npx0: INT 16 interface Aug 15 06:01:01 tp kernel: acpi0: on motherboard Aug 15 06:01:01 tp kernel: acpi_ec0: port 0x66,0x62 on acpi0 Aug 15 06:01:01 tp kernel: pcibios: BIOS version 2.10 Aug 15 06:01:01 tp kernel: Using $PIR table, 12 entries at 0xc00fded0 Aug 15 06:01:01 tp kernel: ACPI-1287: *** Error: Method execution failed [\_SB_.PCI0.USB7._INI] (Node 0xc65dd180), AE_AML_REGION_LIMIT Aug 15 06:01:01 tp kernel: acpi0: power button is handled as a fixed feature programming model. Aug 15 06:01:01 tp kernel: Timecounter "ACPI-fast" frequency 3579545 Hz Aug 15 06:01:01 tp kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 Aug 15 06:01:01 tp kernel: acpi_cpu0: port 0x530-0x537 on acpi0 Aug 15 06:01:01 tp kernel: acpi_tz0: port 0x530-0x537 on acpi0 Aug 15 06:01:01 tp kernel: acpi_lid0: on acpi0 Aug 15 06:01:01 tp kernel: acpi_button0: on acpi0 Aug 15 06:01:01 tp kernel: pcib0: port 0xcf8-0xcff on acpi0 Aug 15 06:01:01 tp kernel: pci0: on pcib0 Aug 15 06:01:01 tp kernel: pcib0: slot 29 INTA is routed to irq 11 Aug 15 06:01:01 tp kernel: pcib0: slot 29 INTB is routed to irq 11 Aug 15 06:01:01 tp kernel: pcib0: slot 29 INTC is routed to irq 11 Aug 15 06:01:01 tp kernel: pcib0: slot 29 INTD is routed to irq 11 Aug 15 06:01:01 tp kernel: pcib0: slot 31 INTB is routed to irq 11 Aug 15 06:01:01 tp last message repeated 2 times Aug 15 06:01:01 tp kernel: agp0: mem 0xd0000000-0xdfffffff at device 0.0 on pci0 Aug 15 06:01:01 tp kernel: pcib1: at device 1.0 on pci0 Aug 15 06:01:01 tp kernel: pci1: on pcib1 Aug 15 06:01:01 tp kernel: pcib1: slot 0 INTA is routed to irq 11 Aug 15 06:01:01 tp kernel: pci1: at device 0.0 (no driver attached) Aug 15 06:01:01 tp kernel: uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 Aug 15 06:01:01 tp kernel: usb0: on uhci0 Aug 15 06:01:01 tp kernel: usb0: USB revision 1.0 Aug 15 06:01:01 tp kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Aug 15 06:01:01 tp kernel: uhub0: 2 ports with 2 removable, self powered Aug 15 06:01:01 tp kernel: uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 Aug 15 06:01:01 tp kernel: usb1: on uhci1 Aug 15 06:01:01 tp kernel: usb1: USB revision 1.0 Aug 15 06:01:01 tp kernel: uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Aug 15 06:01:01 tp kernel: uhub1: 2 ports with 2 removable, self powered Aug 15 06:01:01 tp kernel: ums0: Logitech USB Optical Mouse, rev 1.10/21.10, addr 2, iclass 3/1 Aug 15 06:01:01 tp kernel: ums0: 3 buttons and Z dir. Aug 15 06:01:01 tp kernel: uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 Aug 15 06:01:01 tp kernel: usb2: on uhci2 Aug 15 06:01:01 tp kernel: usb2: USB revision 1.0 Aug 15 06:01:01 tp kernel: uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Aug 15 06:01:01 tp kernel: uhub2: 2 ports with 2 removable, self powered Aug 15 06:01:01 tp kernel: pci0: at device 29.7 (no driver attached) Aug 15 06:01:01 tp kernel: pcib2: at device 30.0 on pci0 Aug 15 06:01:01 tp kernel: pci2: on pcib2 Aug 15 06:01:01 tp kernel: pcib2: slot 0 INTA is routed to irq 11 Aug 15 06:01:01 tp kernel: pcib2: slot 2 INTA is routed to irq 11 Aug 15 06:01:01 tp kernel: pcib2: slot 7 INTA is routed to irq 11 Aug 15 06:01:01 tp kernel: pcib2: slot 8 INTA is routed to irq 11 Aug 15 06:01:01 tp kernel: cbb0: mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2 Aug 15 06:01:01 tp kernel: start (50000000) < sc->membase (c0200000) Aug 15 06:01:01 tp kernel: start (50000000) < sc->pmembase (e8000000) Aug 15 06:01:01 tp kernel: cardbus0: on cbb0 Aug 15 06:01:01 tp kernel: pccard0: <16-bit PCCard bus> on cbb0 Aug 15 06:01:01 tp kernel: pci2: at device 2.0 (no driver attached) Aug 15 06:01:01 tp kernel: fwohci0: vendor=104c, dev=8026 Aug 15 06:01:01 tp kernel: fwohci0: <1394 Open Host Controller Interface> mem 0xc0200000-0xc0203fff,0xc0206000-0xc02067ff irq 11 at device 7.0 on pci2 Aug 15 06:01:01 tp kernel: fwohci0: OHCI version 1.10 (ROM=0) Aug 15 06:01:01 tp kernel: fwohci0: No. of Isochronous channel is 4. Aug 15 06:01:01 tp kernel: fwohci0: EUI64 00:06:1b:00:20:06:be:9c Aug 15 06:01:01 tp kernel: fwohci0: Phy 1394a available S400, 1 ports. Aug 15 06:01:01 tp kernel: fwohci0: Link S400, max_rec 2048 bytes. Aug 15 06:01:01 tp kernel: firewire0: on fwohci0 Aug 15 06:01:01 tp kernel: if_fwe0: on firewire0 Aug 15 06:01:01 tp kernel: if_fwe0: Fake Ethernet address: 02:06:1b:06:be:9c Aug 15 06:01:01 tp kernel: sbp0: on firewire0 Aug 15 06:01:01 tp kernel: fwohci0: Initiate bus reset Aug 15 06:01:01 tp kernel: fwohci0: BUS reset Aug 15 06:01:01 tp kernel: fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode Aug 15 06:01:01 tp kernel: firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) Aug 15 06:01:01 tp kernel: firewire0: bus manager 0 (me) Aug 15 06:01:01 tp kernel: fxp0: port 0x8000-0x803f mem 0xc0205000-0xc0205fff irq 11 at device 8.0 on pci2 Aug 15 06:01:01 tp kernel: fxp0: Ethernet address 00:06:1b:cc:ea:b2 Aug 15 06:01:01 tp kernel: miibus0: on fxp0 Aug 15 06:01:01 tp kernel: inphy0: on miibus0 Aug 15 06:01:01 tp kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Aug 15 06:01:01 tp kernel: isab0: at device 31.0 on pci0 Aug 15 06:01:01 tp kernel: isa0: on isab0 Aug 15 06:01:01 tp kernel: atapci0: port 0x1860-0x186f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 Aug 15 06:01:01 tp kernel: ata0: at 0x1f0 irq 14 on atapci0 Aug 15 06:01:01 tp kernel: ata1: at 0x170 irq 15 on atapci0 Aug 15 06:01:01 tp kernel: pci0: at device 31.3 (no driver attached) Aug 15 06:01:01 tp kernel: pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0 Aug 15 06:01:01 tp kernel: pcm0: Aug 15 06:01:01 tp kernel: pci0: at device 31.6 (no driver attached) Aug 15 06:01:01 tp kernel: atkbdc0: port 0x64,0x60 irq 1 on acpi0 Aug 15 06:01:01 tp kernel: atkbd0: flags 0x1 irq 1 on atkbdc0 Aug 15 06:01:01 tp kernel: kbd0 at atkbd0 Aug 15 06:01:01 tp kernel: psm0: irq 12 on atkbdc0 Aug 15 06:01:01 tp kernel: psm0: model Generic PS/2 mouse, device ID 0 Aug 15 06:01:01 tp kernel: sio0: configured irq 4 not in bitmap of probed irqs 0 Aug 15 06:01:01 tp kernel: sio0: port may not be enabled Aug 15 06:01:01 tp kernel: sio0 port 0x3f8-0x3ff irq 4 on acpi0 Aug 15 06:01:01 tp kernel: sio0: type 8250 or not responding Aug 15 06:01:01 tp kernel: ppc0 port 0x378-0x37f irq 7 on acpi0 Aug 15 06:01:01 tp kernel: ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode Aug 15 06:01:01 tp kernel: ppbus0: on ppc0 Aug 15 06:01:01 tp kernel: plip0: on ppbus0 Aug 15 06:01:01 tp kernel: lpt0: on ppbus0 Aug 15 06:01:01 tp kernel: lpt0: Interrupt-driven port Aug 15 06:01:01 tp kernel: ppi0: on ppbus0 Aug 15 06:01:01 tp kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 Aug 15 06:01:01 tp kernel: sio1: port may not be enabled Aug 15 06:01:01 tp kernel: acpi_cmbat0: on acpi0 Aug 15 06:01:01 tp kernel: acpi_cmbat1: on acpi0 Aug 15 06:01:01 tp kernel: acpi_acad0: on acpi0 Aug 15 06:01:01 tp kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 Aug 15 06:01:01 tp kernel: sio1: port may not be enabled Aug 15 06:01:01 tp kernel: orm0: