From owner-freebsd-mobile@FreeBSD.ORG Thu Feb 1 22:09:44 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3E1216A408 for ; Thu, 1 Feb 2007 22:09:44 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id 6BF6413C4B6 for ; Thu, 1 Feb 2007 22:09:44 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0JCT00DWT1K7QP40@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Thu, 01 Feb 2007 23:09:43 +0100 (CET) Received: from kg-work.kg4.no ([80.203.66.169]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0JCT00GOA1K6YPU6@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Thu, 01 Feb 2007 23:09:43 +0100 (CET) Date: Thu, 01 Feb 2007 23:09:38 +0100 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH To: freebsd-mobile@freebsd.org Message-id: <20070201230938.8b546beb.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.8; i386-portbld-freebsd6.2) Content-type: multipart/mixed; boundary="Boundary_(ID_DNywO1yVywqaHSrAS34SsQ)" Subject: Toshiba OmniBook 5500CT, FreeBSD 4.11 and two PCCards 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: Thu, 01 Feb 2007 22:09:44 -0000 This is a multi-part message in MIME format. --Boundary_(ID_DNywO1yVywqaHSrAS34SsQ) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT I have an old Toshiba laptop (OmniBook 5500CT), which is too old to run FreeBSD 6.x or even 5.x on. The reason for that is that the PCCard controller isn't supported / doesn't work under 5.x or 6.x. So I installed FreeBSD 4.11-RELEASE on it, and upgraded to 4.11-stable. I would like to use the OmniBook as a temporary firewall, while I upgrade the real firewall. For this to work, the OmniBook needs to have two network cards. Being old, this machine don't have built in network card(s), usb port(s) or anything that could be of help here. But it has two PCCard slots. I have two identical PCCard NIC's, both work in the machine: pccard: card inserted, slot 0 ed1 at port 0x300-0x31f irq 11 slot 0 on pccard0 ed1: address 00:10:60:f3:13:b0, type NE2000 (16 bit) The problem is that they only work in slot 0 (the lower slot). When I insert a card in slot 1 (the upper slot) I get this (boot verbose, from /var/log/messages): Jan 28 20:59:05 kg-omni2 /kernel: pcic0: Power: Vcc=0 Vpp=0 Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Power applied Jan 28 20:59:06 kg-omni2 /kernel: Power complete. Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Power: Vcc=-1 Vpp=-1 Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Autodetected 5.0V card Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Power applied Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Output enabled Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Settling complete Jan 28 20:59:06 kg-omni2 /kernel: Power complete. Jan 28 20:59:06 kg-omni2 /kernel: pccard: card inserted, slot 1 Jan 28 20:59:06 kg-omni2 /kernel: pcic0: reset 1 int is 0 stat is cf Jan 28 20:59:06 kg-omni2 /kernel: pcic0: reset 2 int is 60 stat is cf Jan 28 20:59:06 kg-omni2 /kernel: pcic0: reset 3 int is 60 stat is ef Jan 28 20:59:11 kg-omni2 pccardd[51]: No card in database for "(null)"("(null)") It doesn't matter if there is a card in slot 0 or not when I insert the card in slot 1. The PCCard controller is a PD6729: pcic0: port 0x3e0-0x3e3 at device 3.0 on pci0 pcic0: Polling mode pccard0: on pcic0 pccard1: on pcic0 pcic0@pci0:3:0: class=0x060500 card=0x00000000 chip=0x11001013 rev=0xe2 hdr=0x00 vendor = 'Cirrus Logic' device = 'CL-PD6729 PCI-to-PC Card host adapter' class = bridge subclass = PCI-PCMCIA I have attached the dmesg output from a verbose boot, in case it helps. I read the man page, and triedc setting hw.pcic.intr_path="1" in /boot/loader.conf Alas, it didn't help. This machine is so old, there are no settings in bios related to the pccard controller. Is there anything else I can try? -- Regards, Torfinn Ingolfsen, Norway --Boundary_(ID_DNywO1yVywqaHSrAS34SsQ) Content-type: text/plain; name=omnibook-dmesg-4.11-stable-20070128_verbose.txt Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=omnibook-dmesg-4.11-stable-20070128_verbose.txt 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 4.11-STABLE #0: Sun Jan 28 12:54:21 CET 2007 root@kg-omni2.kg4.no:/usr/obj/usr/src/sys/OMNIBOOK Calibrating clock(s) ... TSC clock: 133322139 Hz, i8254 clock: 1193172 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium/P54C (133.32-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 33554432 (32768K bytes) Physical memory chunk(s): 0x000001000 - 0x00009efff, 647168 bytes (158 pages) 0x0005bd000 - 0x001ff7fff, 27504640 bytes (6715 pages) avail memory = 27062272 (26428K bytes) bios32: Found BIOS32 Service Directory header at 0xc00e7050 bios32: Entry = 0xe9830 (c00e9830) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x286e pnpbios: Found PnP BIOS data at 0xc00ff000 pnpbios: Entry = ea000:2489 Rev = 1.0 pnpbios: Event flag at ea01e pnpbios: OEM ID 3726744e Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc0596000. Intel Pentium detected, installing workaround for F00F bug Creating DISK md0 md0: Malloc disk Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x80008048 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=c5571045) npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 104014978 bytes/sec bzero() bandwidth = 109625082 bytes/sec pcib0: on motherboard found-> vendor=0x1045, dev=0xc557, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x1045, dev=0xc558, revid=0x00 class=06-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x102c, dev=0x00dc, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base c0000000, size 23 found-> vendor=0x1013, dev=0x1100, revid=0xe2 class=06-05-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=255 map[10]: type 1, range 32, base 000003e0, size 2 found-> vendor=0x1004, dev=0x0105, revid=0x01 class=07-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 00003000, size 5 pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: (vendor=0x102c, dev=0x00dc) at 2.0 pcic0: port 0x3e0-0x3e3 at device 3.0 on pci0 pcic0: Polling mode pcic0: PCI Configuration space: 0x00: 0x11001013 0x040001c3 0x060500e2 0x00000000 0x10: 0x000003e1 0x00000000 0x00000000 0x00000000 0x20: 0x00000000 0x00000000 0x00000000 0x00000000 0x30: 0x00000000 0x00000000 0x00000000 0x000001ff 0x40: 0x00000000 0x00000000 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x00000000 0x00000000 0x00000000 0x00000000 0x90: 0x00000000 0x00000000 0x00000000 0x00000000 0xa0: 0x00000000 0x00000000 0x00000000 0x00000000 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 pccard0: on pcic0 pccard1: on pcic0 chip1: port 0x3000-0x301f irq 10 at device 4.0 on pci0 ex_isa_identify() pcic-: pcic0 exists, using next available unit number pcic-: pcic1 exists, using next available unit number Trying Read_Port at 203 CSC0000: start dependant CSC0000: adding dma mask 0x2 CSC0000: adding dma mask 0x9 CSC0000: adding irq mask 0x20 CSC0000: adding io range 0x534-0x537, size=0x4, align=0x4 CSC0000: adding fixed io range 0x388-0x38b, size=0x4, align=0x1 CSC0000: adding fixed io range 0x220-0x22f, size=0x10, align=0x1 CSC0000: start dependant CSC0000: adding dma mask 0xb CSC0000: adding irq mask 0x82a0 CSC0000: adding io range 0x534-0x537, size=0x4, align=0x4 CSC0000: adding fixed io range 0x388-0x38b, size=0x4, align=0x1 CSC0000: adding fixed io range 0x220-0x22f, size=0x10, align=0x1 CSC0000: end dependant CSC0001: start dependant CSC0001: adding fixed io range 0x200-0x207, size=0x8, align=0x1 CSC0001: start dependant CSC0001: adding io range 0x100-0x3ff, size=0x8, align=0x8 CSC0001: end dependant CSC0002: adding io range 0x538-0x53f, size=0x8, align=0x8 CSC0003: start dependant CSC0003: adding irq mask 0x200 CSC0003: adding fixed io range 0x330-0x331, size=0x2, align=0x1 CSC0003: start dependant CSC0003: adding irq mask 0x82a0 CSC0003: adding io range 0x100-0x3f9, size=0x2, align=0x8 CSC0003: end dependant isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: