Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 22:01:04 +0100
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        "M. Warner Losh" <imp@village.org>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: Thinkpad 310 and cardbus
Message-ID:  <20020207210143.238833FC2E@energyhq.homeip.net>
In-Reply-To: <20020206.134504.133433385.imp@village.org>
References:  <20020206152811.A18529@energyhq.homeip.net> <20020206.134504.133433385.imp@village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wednesday 06 February 2002 21:45, M. Warner Losh wrote:

Hi Warner and all who replied.

After downloading new floppies from snapshots.jp.freebsd.org (because of the 
problems with current.freebsd.org), I've installed 
5.0-CURRENT-20020204-JPSNAP using a 16bit pcmcia NIC and using FTP install 
with no problems. As suggested, I've compiled the NEWCARD kernel and booted 
off it, and the rl0 device is there.

> Please provide a demsg for 5.0-current.  The realtek based card should
> be detected by the rl driver.

It certainly is, but only with NEWCARD, that was what I was missing. Thanks 
for all the help.

I've attached the dmesg from both the standard kernel and the newcard one 
which shows the rl0 device.

Cheers,

-- 
        Miguel Mendez - flynn@energyhq.homeip.net
        Public Key :: http://energyhq.homeip.net/files/pubkey.txt
        EnergyHQ :: http://www.energyhq.tk
        FreeBSD - The power to serve!

[-- Attachment #2 --]
Copyright (c) 1992-2002 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-CURRENT-20020204-JPSNAP #0: Sun Feb  3 22:18:38 GMT 2002
    root@ushi.jp.freebsd.org:/usr/src/sys/i386/compile/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0524000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 133121810 Hz
CPU: Pentium/P54C (133.12-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 50331648 (49152K bytes)
avail memory = 43716608 (42692K bytes)
Intel Pentium detected, installing workaround for F00F bug
pcibios: No call entry point
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Generic PCI ATA controller> port 0xf000-0xf00f at device 2.1 on pci0
atapci0: Busmastering DMA not supported
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcibios: No call entry point
pci_cfgintr: BIOS 0.00 doesn't support interrupt routing
pcic0: <TI PCI-1131 PCI-CardBus Bridge> mem 0x44000000-0x44000fff at device 4.0 on pci0
pcibios: No call entry point
pci_cfgintr: BIOS 0.00 doesn't support interrupt routing
pcic0: No PCI interrupt routed, trying ISA.
pcic0: Polling mode
pcic0: TI113X PCI Config Reg: [CSC parallel isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcibios: No call entry point
pci_cfgintr: BIOS 0.00 doesn't support interrupt routing
pcic1: <TI PCI-1131 PCI-CardBus Bridge> mem 0x44001000-0x44001fff at device 4.1 on pci0
pcibios: No call entry point
pci_cfgintr: BIOS 0.00 doesn't support interrupt routing
pcic1: No PCI interrupt routed, trying ISA.
pcic1: Polling mode
pcic1: TI113X PCI Config Reg: [CSC parallel isa irq]
pccard1: <PC Card bus (classic)> on pcic1
pci0: <display, VGA> at device 6.0 (no driver attached)
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
pcic: pcic0 already exists; skipping it
pcic: pcic1 already exists; skipping it
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
orm0: <Option ROM> at iomem 0xc0000-0xcafff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0401> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0e00> can't assign resources
ad0: 3102MB <FUJITSU MHD2032AT> [6304/16/63] at ata0-master BIOSPIO
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 1
ed1 at port 0x300-0x31f irq 3 slot 1 on pccard1
ed1: address 00:00:1c:e1:01:a2, type NE2000 (16 bit) 

[-- Attachment #3 --]
Copyright (c) 1992-2002 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-CURRENT-20020204-JPSNAP #0: Thu Feb  7 20:13:00 CET 2002
    root@saioa.energyhq.org:/usr/src/sys/i386/compile/NEWCARD
Preloaded elf kernel "/boot/kernel/kernel" at 0xc050c000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 133122474 Hz
CPU: Pentium/P54C (133.12-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 50331648 (49152K bytes)
avail memory = 43814912 (42788K bytes)
Intel Pentium detected, installing workaround for F00F bug
pcibios: No call entry point
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Generic PCI ATA controller> port 0xf000-0xf00f at device 2.1 on pci0
atapci0: Busmastering DMA not supported
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pccbb0: <TI1131 PCI-CardBus Bridge> irq 9 at device 4.0 on pci0
pccbb0: PCI Memory allocated: 84000000
cardbus0: <CardBus bus> on pccbb0
pccard0: <16-bit PCCard bus> on pccbb0
pccbb1: <TI1131 PCI-CardBus Bridge> irq 9 at device 4.1 on pci0
pccbb1: PCI Memory allocated: 84001000
cardbus1: <CardBus bus> on pccbb1
pccard1: <16-bit PCCard bus> on pccbb1
pci0: <display, VGA> at device 6.0 (no driver attached)
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
orm0: <Option ROM> at iomem 0xc0000-0xcafff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0401> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
ad0: 3102MB <FUJITSU MHD2032AT> [6304/16/63] at ata0-master BIOSPIO
Mounting root from ufs:/dev/ad0s1a
cardbus0: detach_card: no card to detach!
pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
pccbb1: card inserted: event=0x00000000, state=30000820
pccbb1: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
pccbb1: pccbb_power: CARD_VCC_3V and CARD_VPP_VCC [11]
found->	vendor=0x10ec, dev=0x8138, revid=0x10
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0xa8 (5040 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns)
	intpin=a, irq=128
cardbus1: Expecting link target, got 0xd7
cardbus1: Resource not specified in CIS: id=10, size=100
cardbus1: Resource not specified in CIS: id=14, size=200
cardbus1: Non-prefetchable memory at 84002000-840021ff
cardbus1: Non-prefetchable memory rid=14 at 84002000-840021ff (200)
cardbus1: IO port at 1000-10ff
cardbus1: IO port rid=10 at 1000-10ff
rl0: <RealTek 8139 10/100BaseTX CardBus> port 0x1000-0x10ff mem 0x84002000-0x840021ff irq 9 at device 0.0 on cardbus1
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:10:d7:0a:60:66
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020207210143.238833FC2E>