From owner-freebsd-mobile@FreeBSD.ORG Tue Feb 21 12:37:06 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org 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 EEA7916A420 for ; Tue, 21 Feb 2006 12:37:06 +0000 (GMT) (envelope-from liladude@aruba.it) Received: from vsmtp21.tin.it (vsmtp21.tin.it [212.216.176.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BB0943D58 for ; Tue, 21 Feb 2006 12:37:06 +0000 (GMT) (envelope-from liladude@aruba.it) Received: from stazione (82.54.249.62) by vsmtp21.tin.it (7.2.060.1) id 43F4E2BC0037F1C9; Tue, 21 Feb 2006 13:36:44 +0100 Message-ID: <00bd01c636e3$87cf3e60$0201a8c0@stazione> From: "Lila" To: "M. Warner Losh" References: <02a301c633a0$f9a5bb90$0201a8c0@stazione> <20060220.013902.86382266.imp@bsdimp.com> Date: Tue, 21 Feb 2006 13:37:08 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Cc: freebsd-mobile@freebsd.org Subject: Re: FreeBSD 5.4 and PCMCIA drivers X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2006 12:37:07 -0000 ----- Original Message ----- From: "M. Warner Losh" To: Cc: Sent: Monday, February 20, 2006 9:39 AM Subject: Re: FreeBSD 5.4 and PCMCIA drivers > In message: <02a301c633a0$f9a5bb90$0201a8c0@stazione> > "Lila" writes: > : Hello everybody! > : I have just managed to install FreeBSd 5.4 on my Omnibook 900 laptop (well.. > : I think I need to tune it a bit, but as my first FreeBSD installation it's > : working better than I suposed). > : My problem is with my ethernet pc-card: cardbus recognize it (I have a > : prompt and it blinks once) but cannot find proper drivers. > : Actually my card (Net-Easy DRP-32TXD) is supported by PCMCIA drivers fro > : linux (http://pcmcia-cs.sourceforge.net/) but is not listed in the > : pccard.conf file of FreeBSD. This is why I am planning to compile the PCMCIA > : drivers, but I'm worried about having it conflicting with cardbus and I'm > : not sure that drivers intended for Linux can run on FreeBSD as most > : application do, so I was wondering if anybody tried something similar or can > : give me any suggestion. > : My experience on FreeBSD is limited to compile applications on a jail, never > : had anything to do with kernel and drivers before, so I beg you pardon if my > : problem is somehow stupid or off topic. > > It should be supported. Can you send me a dmesg? It would be better > if you added > > hw.pccard.debug=1 > hw.pccard.cis_debug=1 > hw.cardbus.debug=1 > hw.cardbus.cis_debug=1 > > to /boot/loader.conf. This should enable us to tell you if it is > supported. Chances are excellent that support already exists for this > device and only minor changes are needed for you to use it. > > Warner > Thanks a lot for your suggestion. I had to work a bit to mount a floppy in order to be able to post dmesg here, but here it is: Copyright (c) 1992-2005 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.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC module_register: module uhub/umass already exists! Module uhub/umass failed to register: 17 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (297.79-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 100663296 (96 MB) avail memory = 88715264 (84 MB) pnpbios: Bad PnP BIOS data checksum npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) unknown: memory range not supported unknown: memory range not supported unknown: memory range not supported unknown: memory range not supported unknown: memory range not supported acpi_ec0: port 0x66,0x62 on acpi0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_lid0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) cbb0: at device 4.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: at device 4.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0xfcc0-0xfcdf irq 10 at device 7.2 on pci0 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 pci0: at device 7.3 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/7 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: at iomem 0xc0000-0xcbfff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 297786406 Hz quality 800 Timecounters tick every 10.000 msec TUPLE: LINKTARGET [3]: 43 49 53 Manufacturer ID: d11302ab Functions: Network Adaptor, Memory Function Extension: 0102 Function Extension: 0280969800 Function Extension: 0200e1f505 Function Extension: 0301 Product version: 5.0 Product name: Neteasy | DRP-32TXD Cardbus PC Card | V1.0 | | TUPLE: Unknown(0x04) [6]: 03 01 2a 00 00 00 cardbus0: Opening BAR: type=IO, bar=10, len=0100 cardbus0: Opening BAR: type=MEM, bar=14, len=0400 CIS reading done cardbus0: Non-prefetchable memory at 88000000-880003ff cardbus0: IO port at 1000-10ff cardbus0: at device 0.0 (no driver attached) ad0: 38154MB [77520/16/63] at ata0-master UDMA33 Mounting root from ufs:/dev/ad0s2a WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted Thanks a lot again Lila