From owner-freebsd-mobile@FreeBSD.ORG Tue Feb 10 07:05:53 2004 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 848AD16A4D0 for ; Tue, 10 Feb 2004 07:05:53 -0800 (PST) Received: from web13603.mail.yahoo.com (web13603.mail.yahoo.com [216.136.175.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 64AED43D1F for ; Tue, 10 Feb 2004 07:05:53 -0800 (PST) (envelope-from g_naveen_k@yahoo.com) Message-ID: <20040210150553.23276.qmail@web13603.mail.yahoo.com> Received: from [139.85.252.107] by web13603.mail.yahoo.com via HTTP; Tue, 10 Feb 2004 07:05:53 PST Date: Tue, 10 Feb 2004 07:05:53 -0800 (PST) From: Naveen Kumar To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: problem configuring cardbus bridge on Sony VAIO FX 170 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: Tue, 10 Feb 2004 15:05:53 -0000 Hi all I am having a problem getting the Ricoh Cardbus bridge RF5C476 to be configured correctly under BSD. Is there anything that can be done (device hints) to correct this problem ? Thanks Naveen Copyright (c) 1992-2003 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.0-RELEASE #0: Sun Feb 8 17:31:56 EST 2004 root@:/usr/src/sys/i386/compile/VAIO Preloaded elf kernel "/boot/kernel/kernel" at 0xc0645000. Preloaded elf module "/boot/kernel/cbb.ko" at 0xc06450a8. Preloaded elf module "/boot/kernel/exca.ko" at 0xc0645150. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06451fc. Calibrating clock(s) ... TSC clock: 794945197 Hz, i8254 clock: 1193214 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 Timecounter "TSC" frequency 794926833 Hz CPU: Pentium III/Pentium III Xeon/Celeron (794.93-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 132644864 (126 MB) Physical memory chunk(s): 0x00001000 - 0x0009dfff, 643072 bytes (157 pages) 0x0066c000 - 0x07ceffff, 124272640 bytes (30340 pages) 0x07d00000 - 0x07e77fff, 1540096 bytes (376 pages) avail memory = 122032128 (116 MB) bios32: Found BIOS32 Service Directory header at 0xc00f7170 bios32: Entry = 0xfd878 (c00fd878) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd860+0x150 pnpbios: Found PnP BIOS data at 0xc00f71a0 pnpbios: Entry = f0000:8f27 Rev = 1.0 Other BIOS signatures found: Initializing GEOMetry subsystem random: mem: Pentium Pro MTRR support enabled null: npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31 pci_open(1): mode 1 addr port (0x0cf8) is 0x8000fac0 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=11308086) Using $PIR table, 9 entries at 0xc00fdf30 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 30 A 0x60 9 embedded 0 30 B 0x61 9 embedded 0 30 C 0x62 9 embedded 0 30 D 0x63 9 slot 1 1 6 A 0x62 9 slot 1 1 6 B 0x63 9 slot 1 1 6 C 0x60 9 slot 1 1 6 D 0x61 9 slot 2 1 4 A 0x61 9 slot 2 1 4 B 0x60 9 slot 2 1 4 C 0x62 9 slot 2 1 4 D 0x63 9 embedded 1 9 A 0x62 9 embedded 1 9 B 0x63 9 embedded 1 8 A 0x68 9 embedded 0 0 A 0x60 9 embedded 0 0 B 0x61 9 embedded 0 0 C 0x62 9 embedded 0 0 D 0x63 9 embedded 0 31 A 0x60 9 embedded 0 31 B 0x61 9 embedded 0 31 C 0x6b 9 embedded 0 31 D 0x63 9 embedded 0 2 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 1 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 1 B 0x61 3 4 5 6 7 9 10 11 12 14 15 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks BAD min = 3, max = 6, width = 4 ACPI timer looks GOOD min = 3, max = 4, width = 2 Timecounter "ACPI-safe" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ---- initial configuration ------------------------ \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.1.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.1.1 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 0.1.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 0.1.3 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.2.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.31.1 \\_SB_.LNKH irq 9: [ 9] low,level,sharable 0.31.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 0.31.3 ---- before setting priority for links ------------ \\_SB_.LNKC: interrupts: 9 penalty: 830 references: 1 priority: 0 \\_SB_.LNKD: interrupts: 9 penalty: 830 references: 2 priority: 0 ---- before fixup boot-disabled links ------------- \\_SB_.LNKD: interrupts: 9 penalty: 830 references: 2 priority: 1660 \\_SB_.LNKC: interrupts: 9 penalty: 830 references: 1 priority: 830 ---- after fixup boot-disabled links -------------- \\_SB_.LNKD: interrupts: 9 penalty: 830 references: 2 priority: 1660 \\_SB_.LNKC: interrupts: 9 penalty: 830 references: 1 priority: 830 ---- arbitrated configuration --------------------- \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.1.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.1.1 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 0.1.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 0.1.3 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.2.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.31.1 \\_SB_.LNKH irq 9: [ 9] low,level,sharable 0.31.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 0.31.3 pci0: on pcib0 pci0: physical bus=0 found-> vendor=0x8086, dev=0x1130, revid=0x11 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0106, statreg=0x2090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 3, range 32, base f8000000, size 26, enabled map[14]: type 1, range 32, base f4000000, size 19, enabled found-> vendor=0x8086, dev=0x1132, revid=0x11 bus=0, slot=2, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=9 powerspec 2 supports D0 D3 current D0 found-> vendor=0x8086, dev=0x2448, revid=0x03 bus=0, slot=30, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0080, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x244c, revid=0x03 bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 00001800, size 4, enabled found-> vendor=0x8086, dev=0x244a, revid=0x03 bus=0, slot=31, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 00001820, size 5, enabled found-> vendor=0x8086, dev=0x2442, revid=0x03 bus=0, slot=31, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=d, irq=9 map[20]: type 4, range 32, base 00001810, size 4, enabled found-> vendor=0x8086, dev=0x2443, revid=0x03 bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=9 map[20]: type 4, range 32, base 00002400, size 5, enabled found-> vendor=0x8086, dev=0x2444, revid=0x03 bus=0, slot=31, func=4 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=9 map[10]: type 4, range 32, base 00001c00, size 8, enabled map[14]: type 4, range 32, base 00001840, size 6, enabled found-> vendor=0x8086, dev=0x2445, revid=0x03 bus=0, slot=31, func=5 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=9 map[10]: type 4, range 32, base 00002000, size 8, enabled map[14]: type 4, range 32, base 00001880, size 7, enabled found-> vendor=0x8086, dev=0x2446, revid=0x03 bus=0, slot=31, func=6 class=07-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=9 agp0: mem 0xf4000000-0xf407ffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on pci0 pcib1: at device 30.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0x3000-0x3fff pcib1: memory decode 0xf4100000-0xf41fffff pcib1: prefetched decode 0xfff00000-0xfffff ---- initial configuration ------------------------ \\_SB_.LNKA irq 9: [ 9] low,level,sharable 1.0.0 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 1.2.0 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 1.2.1 \\_SB_.LNKE irq 9: [ 9] low,level,sharable 1.8.0 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 1.12.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 1.12.1 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 1.12.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 1.12.3 ---- before setting priority for links ------------ \\_SB_.LNKD: interrupts: 9 penalty: 1670 references: 4 priority: 1660 \\_SB_.LNKC: interrupts: 9 penalty: 1670 references: 3 priority: 830 ---- before fixup boot-disabled links ------------- \\_SB_.LNKD: interrupts: 9 penalty: 1670 references: 4 priority: 6680 \\_SB_.LNKC: interrupts: 9 penalty: 1670 references: 3 priority: 5010 ---- after fixup boot-disabled links -------------- \\_SB_.LNKD: interrupts: 9 penalty: 1670 references: 4 priority: 6680 \\_SB_.LNKC: interrupts: 9 penalty: 1670 references: 3 priority: 5010 ---- arbitrated configuration --------------------- \\_SB_.LNKA irq 9: [ 9] low,level,sharable 1.0.0 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 1.2.0 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 1.2.1 \\_SB_.LNKE irq 9: [ 9] low,level,sharable 1.8.0 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 1.12.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 1.12.1 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 1.12.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 1.12.3 pci1: on pcib1 pci1: physical bus=1 map[10]: type 1, range 32, base f4101000, size 11, memory disabled map[14]: type 1, range 32, base f4104000, size 14, enabled found-> vendor=0x104c, dev=0x8021, revid=0x02 bus=1, slot=0, func=0 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0110, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x03 (750 ns), maxlat=0x04 (1000 ns) intpin=a, irq=9 powerspec 2 supports D0 D2 D3 current D0 found-> vendor=0x1180, dev=0x0476, revid=0x80 bus=1, slot=2, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x07 (1750 ns) intpin=a, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 found-> vendor=0x1180, dev=0x0476, revid=0x80 bus=1, slot=2, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x07 (1750 ns) intpin=b, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base f4100000, size 12, enabled map[14]: type 4, range 32, base 00003000, size 6, enabled found-> vendor=0x8086, dev=0x2449, revid=0x03 bus=1, slot=8, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0117, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns) intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 pci1: at device 0.0 (no driver attached) cbb0: at device 2.0 on pci1 cbb0: sockbase : 00000000 cbb0: sockbase after read:fffff000 cbb0: sckbase calc:00001000 pcib1: device cbb0 requested decoded memory range 0xf4100000-0xf41fffff cbb0: base_res : 0xc18c1e40 start : f4100000 cbb0: PCI Memory allocated: f4100000 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib1: matched entry for 1.2.INTA (source \\_SB_.LNKC) pcib1: possible interrupts: 9 pcib1: slot 2 INTA routed to irq 9 via \\_SB_.LNKC cbb0: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44] cbb1: at device 2.1 on pci1 cbb1: sockbase : 00040110 cbb1: sockbase after read:00040110 cbb1: sckbase calc:00000010 pcib1: device cbb1 requested decoded memory range 0xf4100000-0xf41fffff cbb1: base_res : 0xc18c1c00 start : f4101000 cbb1: PCI Memory allocated: f4101000 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib1: matched entry for 1.2.INTB (source \\_SB_.LNKD) pcib1: possible interrupts: 9 pcib1: slot 2 INTB routed to irq 9 via \\_SB_.LNKD cbb1: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44] fxp0: port 0x3000-0x303f mem 0xf4100000-0xf4100fff irq 9 at device 8.0 on pci1 pcib1: device fxp0 requested decoded memory range 0xf4100000-0xf4100fff pcib1: device fxp0 requested decoded I/O range 0x3000-0x303f fxp0: using I/O space register mapping fxp0: Ethernet address 08:00:46:13:e2:54 fxp0: PCI IDs: 8086 2449 8086 3013 0003 fxp0: Dynamic Standby mode is disabled inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: bpf attached isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1800-0x180f at device 31.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1800 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1808 ata1: mask=03 ostat0=50 ostat2=01 ata1-master: ATAPI 14 eb ata1-slave: ATAPI 14 eb ata1: mask=03 stat0=00 stat1=01 ata1: devices=0c ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1820-0x183f irq 9 at device 31.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 uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2 uhub1: 4 ports with 4 removable, bus powered pci0: at device 31.3 (no driver attached) uhci1: port 0x2400-0x241f irq 9 at device 31.4 on pci0 usb1: on uhci1 usb1: 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 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: unable to allocate IRQ psmcpnp0 irq 12 on acpi0 psm0: current command byte:0047 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 acpi_ec0: port 0x66,0x62 on acpi0 sio0: irq maps: 0x401 0x411 0x401 0x401 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A unknown: not probed (disabled) unknown: not probed (disabled) ppc0: using extended I/O port range ppc0: ECP SPP ECP+EPP SPP 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/15 bytes threshold ppi0: on ppbus0 plip0: on ppbus0 lp0: bpf attached lpt0: on ppbus0 lpt0: Interrupt-driven port fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 unknown: not probed (disabled) unknown: not probed (disabled) ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it fdc: fdc0 already exists; skipping it ppc: ppc0 already exists; skipping it sio: sio0 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 ex_isa_identify() sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: