From owner-freebsd-mobile Mon Oct 29 11:36: 5 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 4E62A37B403 for ; Mon, 29 Oct 2001 11:35:57 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id B6840A6C for ; Mon, 29 Oct 2001 11:35:44 -0800 (PST) Received: from gauss.cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id LAA12521 for ; Mon, 29 Oct 2001 11:35:44 -0800 (PST) Received: (from marcel@localhost) by gauss.cup.hp.com (8.11.6/8.11.1) id f9TJZiJ37999 for mobile@FreeBSD.org; Mon, 29 Oct 2001 11:35:44 -0800 (PST) (envelope-from marcel) Date: Mon, 29 Oct 2001 11:35:44 -0800 From: Marcel Moolenaar To: mobile@FreeBSD.org Subject: Non-sio pccard devices end up being sio devices? Message-ID: <20011029113544.A37920@gauss.cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.21i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Gang, I'm unable to keep up with -current on my laptop, because as soon as I boot with the latest kernel, networking stops working. Nothing major, it's just that both the ed0 and wi0 devices are added as if they are sio devices :-) I haven't seen anything in UPDATING or on the various MLs that may be related, so I hope this is not one of those "yes-we-know" things. First a diff between a "good" dmesg(1) and a "bad" dmesg(1) output; followed by some more details. Both have the ed0 device as the network interface, but the same happens with the wi0 device. If someone knows what's going on, let me know. Otherwise I either hang on to the working version, or if I feel up to it, try to get to the bottom of it. Diff between "good" and "bad": 4,5c4,5 < FreeBSD 5.0-CURRENT #3: Sun Oct 21 23:05:53 PDT 2001 < marcel@dhcp01.pn.xcllnt.net:/usr/obj/usr/src/sys/VAIO --- > FreeBSD 5.0-CURRENT #0: Sun Oct 28 20:34:13 PST 2001 > marcel@dhcp01.pn.xcllnt.net:/usr/src/sys/i386/compile/VAIO 7,8c7,8 < Timecounter "TSC" frequency 160706612 Hz < CPU: Pentium III/Pentium III Xeon/Celeron (160.71-MHz 686-class CPU) --- > Timecounter "TSC" frequency 160893216 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (160.89-MHz 686-class CPU) 12,17c12,17 < avail memory = 126611456 (123644K bytes) < Preloaded elf kernel "/boot/kernel/kernel" at 0xc03dd000. < Preloaded elf module "/boot/kernel/linux.ko" at 0xc03dd0a8. < Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc03dd154. < Preloaded elf module "/boot/kernel/if_ed.ko" at 0xc03dd200. < Preloaded elf module "/boot/kernel/miibus.ko" at 0xc03dd2ac. --- > avail memory = 126599168 (123632K bytes) > Preloaded elf kernel "/boot/kernel/kernel" at 0xc03e0000. > Preloaded elf module "/boot/kernel/linux.ko" at 0xc03e00a8. > Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc03e0154. > Preloaded elf module "/boot/kernel/if_ed.ko" at 0xc03e0200. > Preloaded elf module "/boot/kernel/miibus.ko" at 0xc03e02ac. 74d73 < fdc1: cannot reserve I/O port range (6 ports) 76d74 < ppc1: cannot reserve I/O port range 96c94 < cis mem map c8ac8000 --- > cis mem map c8ac7000 158d155 < ed0: at port 0x100-0x11f irq 9 function 0 config 16 on pccard0 160a158 > sio1 at port 0x100-0x11f irq 9 function 0 config 16 on pccard0 163c161 < ed0: address 01:d4:ff:03:00:20, type NE2000 (16 bit) --- > sio1: type 16550A with a bogus IIR_TXRDY register Some more details (ie the copyright :-) Copyright (c) 1992-2001 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. : acpi0: on motherboard : pccbb0: irq 0 at device 12.0 on pci0 pccbb0: PCI Memory allocated: 10000000 : cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 pccbb1: irq 0 at device 12.1 on pci0 pccbb1: PCI Memory allocated: 10001000 : cardbus1: on pccbb1 pccard1: <16-bit PCCard bus> on pccbb1 : sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A : pccbb0: card inserted: event=0x00000000, state=30000410 pccard0: chip_socket_enable pccbb_pcic_socket_enable: pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] pccbb0: pccbb_power: CARD_VCC_5V and CARD_VPP_VCC [15] pccbb0: pccbb_pcic_wait_ready: status 0x7f pccbb0: card type is mem pccard0: read_cis pccbb_pcic_mem_map window 0 bus 10002000+400+efffe000 card addr 0 pccbb_pcic_do_mem_map window 0: 8002 8002 3ffe 10 (10002000+00000400.00001000*efffe000) pccbb_pcic_do_mem_map window 0: 8002 8002 7ffe 10 (10002000+00000400.00001000*efffe000) cis mem map c8ac8000 pccard0: CIS tuple chain: CISTPL_DEVICE type=funcspec speed=100ns 01 03 d4 0a ff CISTPL_DEVICE_A type=eeprom speed=250ns 17 03 41 00 ff CISTPL_MANFID 20 04 49 01 ab c1 CISTPL_VERS_1 15 39 04 01 4c 69 6e 6b 73 79 73 00 45 74 68 65 72 46 61 73 74 20 31 30 2f 31 30 30 20 50 43 20 43 61 72 64 20 28 50 43 4d 50 43 31 30 30 20 56 32 29 00 56 32 2e 30 00 20 00 ff CISTPL_CONFIG 1a 05 01 20 00 04 01 CISTPL_CFTABLE_ENTRY 1b 07 d0 81 18 45 30 fc be CISTPL_CFTABLE_ENTRY 1b 07 01 08 ca 60 00 03 1f CISTPL_CFTABLE_ENTRY 1b 07 02 08 ca 60 20 03 1f CISTPL_CFTABLE_ENTRY 1b 07 03 08 ca 60 40 03 1f CISTPL_CFTABLE_ENTRY 1b 07 04 08 ca 60 80 03 1f CISTPL_CFTABLE_ENTRY 1b 07 05 08 ca 60 00 02 1f CISTPL_CFTABLE_ENTRY 1b 07 06 08 ca 60 20 02 1f CISTPL_CFTABLE_ENTRY 1b 07 07 08 ca 60 40 02 1f CISTPL_FUNCID 21 02 06 00 CISTPL_NO_LINK 14 00 CISTPL_END ff pccard0: check_cis_quirks pccard0: CIS version PCCARD 2.0 or 2.1 pccard0: CIS info: Linksys, EtherFast 10/100 PC Card (PCMPC100 V2), V2.0, pccard0: Manufacturer code 0x149, product 0xc1ab pccard0: function 0: network adapter, ccr addr 400 mask 1 pccard0: function 0, config table entry 16: I/O card; irq mask befc; iomask 5, iospace 0-1f; mwait_required rdybsy_active wp_active bvd_active io16 irqlevel pccard0: function 0, config table entry 1: I/O card; irq mask befc; iomask a, iospace 300-31f; mwait_required rdybsy_active wp_active bvd_active io16 irqlevel pccard0: function 0, config table entry 2: I/O card; irq mask befc; iomask a, iospace 320-33f; mwait_required rdybsy_active wp_active bvd_active io16 irqlevel pccard0: function 0, config table entry 3: I/O card; irq mask befc; iomask a, iospace 340-35f; mwait_required rdybsy_active wp_active bvd_active io16 irqlevel pccard0: function 0, config table entry 4: I/O card; irq mask befc; iomask a, iospace 380-39f; mwait_required rdybsy_active wp_active bvd_active io16 irqlevel pccard0: function 0, config table entry 5: I/O card; irq mask befc; iomask a, iospace 200-21f; mwait_required rdybsy_active wp_active bvd_active io16 irqlevel pccard0: function 0, config table entry 6: I/O card; irq mask befc; iomask a, iospace 220-23f; mwait_required rdybsy_active wp_active bvd_active io16 irqlevel pccard0: function 0, config table entry 7: I/O card; irq mask befc; iomask a, iospace 240-25f; mwait_required rdybsy_active wp_active bvd_active io16 irqlevel pccard0: functions scanning pccbb_pcic_socket_enable: pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] pccbb0: pccbb_power: CARD_VCC_5V and CARD_VPP_VCC [15] pccbb0: pccbb_pcic_wait_ready: status 0x7f pccbb0: card type is io pccbb_pcic_mem_map window 0 bus 10002000+400+efffe000 card addr 0 pccbb_pcic_do_mem_map window 0: 8002 8002 3ffe 10 (10002000+00000400.00001000*efffe000) pccard0: ccr_res == 10002000-100023ff, base=400 pccbb_pcic_do_mem_map window 0: 8002 8002 7ffe 10 (10002000+00000400.00001000*efffe000) pccbb_pcic_do_mem_map window 0: 8002 8002 7ffe 10 (10002000+00000400.00001000*efffe000) pccard0: function 0 CCR at 0 offset 400: 50 0 ff 0, 17 3 41 0, ff ed0: at port 0x100-0x11f irq 9 function 0 config 16 on pccard0 pccbb_pcic_io_map window 0 auto port 100+20 pccbb_pcic_do_io_map window 0: 0100 011f (00000100+00000020) pccbb_pcic_io_map window 0 auto port 100+20 pccbb_pcic_do_io_map window 0: 0100 011f (00000100+00000020) ed0: address 01:d4:ff:03:00:20, type NE2000 (16 bit) pccard0: function 0 CCR at 0 offset 400: 54 0 ff 0, 17 3 41 0, ff cardbus1: detach_card: no card to detach! pccbb1: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message