Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2001 11:32:54 +0200 (SAST)
From:      lists <lists@security.za.net>
To:        Mike Smith <msmith@freebsd.org>
Cc:        Warner Losh <imp@harmony.village.org>, freebsd-hackers@freebsd.org
Subject:   Re: NewCard / pccbb 
Message-ID:  <Pine.BSF.4.21.0108041127020.68444-100000@security.za.net>
In-Reply-To: <200108040430.f744UMg01709@mass.dis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mike, ok my pci->pcmcia bridge is in slot 0, my network card is in slot
3, below are the dmesg outputs from both oldcard and newcard,

Thanks

Andrew

Newcard dmesg:

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.
FreeBSD 5.0-CURRENT #16: Sat Aug  4 11:09:22 SAST 2001
    root@vortexia.orbtech.pvt:/usr/obj/usr/src/sys/VORTEXIA
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 851941527 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (851.94-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6

Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 125763584 (122816K bytes)
avail memory = 116891648 (114152K bytes)
Preloaded elf kernel "kernel" at 0xc046f000.
Pentium Pro MTRR support enabled
Using $PIR table, 6 entries at 0xc00f77c0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xffa0-0xffaf at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at 7.2 (no driver attached)
pci0: <serial bus, USB> at 7.3 (no driver attached)
pci0: <serial bus, SMBus> at 7.4 (no driver attached)
pci0: <multimedia, audio> at 7.5 (no driver attached)
pccbb0: <TI1410 PCI-CardBus Bridge> at device 9.0 on pci0
pccbb0: PCI Memory allocated: 44000000
pci_cfgintr_virgin: using routable interrupt 3
pci_cfgintr: 0:9 INTA routed to irq 3
cardbus0: <Cardbus bus (newcard)> on pccbb0
pccard0: <16-bit PCCard bus> on pccbb0
rl0: <RealTek 8139 10/100BaseTX> port 0xc800-0xc8ff mem
0xdfffff00-0xdfffffff irq 12 at device 11.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect
mode
rl0: Ethernet address: 00:50:bf:3f:bb:9d
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/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 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sn0: ioaddr is 0x300
sn0: test1 failed
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc1: <System console> on isa0
sc1: MDA <16 virtual consoles, flags=0x0>
WARNING: Driver mistake: repeat make_dev("consolectl")
vga1: <Generic ISA VGA> at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0401> can't assign resources
unknown: <PNP0700> can't assign resources
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to accept, logging disabled
IP Filter: v3.4.20 initialized.  Default = pass all, Logging = enabled
ad0: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 19546MB <FUJITSU MPG3204AT E> [39714/16/63] at ata0-master UDMA33
acd0: CDROM <CD-ROM 52X/AKH> at ata0-slave PIO4
Mounting root from ufs:/dev/ad0s1a
pccbb0: card inserted: event=0x00000006, state=10000411
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 0x6f
pccbb0: card type is mem
pccard0: read_cis
pccbb_pcic_mem_map window 0 bus 44001000+400+bbfff000 card addr 0
pccbb_pcic_do_mem_map window 0: 8001 8001 3fff 44
(44001000+00000400.00001000*bbfff000)
pccbb_pcic_do_mem_map window 0: 8001 8001 7fff 44
(44001000+00000400.00001000*bbfff000)
cis mem map d46c5000
pccard0: CIS tuple chain:
CISTPL_DEVICE type=null speed=null
 01 03 00 00 ff
CISTPL_DEVICE_A type=sram speed=ext
 17 04 67 5a 08 ff
unhandled CISTPL 1d
 1d 05 01 67 5a 08 ff
CISTPL_VERS_1
 15 50 05 00 4c 75 63 65 6e 74 20 54 65 63 68 6e
 6f 6c 6f 67 69 65 73 00 57 61 76 65 4c 41 4e 2f
 49 45 45 45 00 56 65 72 73 69 6f 6e 20 30 31 2e
 30 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 ff
CISTPL_MANFID
 20 04 56 01 02 00
CISTPL_FUNCID
 21 02 06 00
unhandled CISTPL 22
 22 02 01 07
unhandled CISTPL 22
 22 05 02 40 42 0f 00
unhandled CISTPL 22
 22 05 02 80 84 1e 00
unhandled CISTPL 22
 22 05 02 60 ec 53 00
unhandled CISTPL 22
 22 05 02 c0 d8 a7 00
unhandled CISTPL 22
 22 02 03 07
unhandled CISTPL 22
 22 08 04 06 00 02 2d 1d 70 83
unhandled CISTPL 22
 22 02 05 01
CISTPL_CONFIG
 1a 07 03 01 e0 03 00 00 01
CISTPL_CFTABLE_ENTRY
 1b 0f c1 01 19 76 c5 4b d5 19 36 36 05 46 7f ff
 ff
CISTPL_END
 ff
pccard0: check_cis_quirks
pccard0: CIS version PC Card Standard 5.0
pccard0: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01, 
pccard0: Manufacturer code 0x156, product 0x2
pccard0: function 0: network adapter, ccr addr 3e0 mask 1
pccard0: function 0, config table entry 1: I/O card; irq mask ffff; iomask
6, iospace 0-3f; rdybsy_active wp_active bvd_active io16 irqpulse 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 0x6f
pccbb0: card type is io
pccard0: ++enabled_count = 1
pccbb_pcic_mem_map window 0 bus 44001000+400+bbfff000 card addr 0
pccbb_pcic_do_mem_map window 0: 8001 8001 3fff 44
(44001000+00000400.00001000*bbfff000)
pccard0: ccr_res == 44001000-440013ff, base=3e0
pccbb_pcic_do_mem_map window 0: 8001 8001 7fff 44
(44001000+00000400.00001000*bbfff000)
pccbb_pcic_do_mem_map window 0: 8001 8001 7fff 44
(44001000+00000400.00001000*bbfff000)
pccard0: function 0 CCR at 0 offset 3e0: 41 80 22 ff, ff ff ff ff, ff
wi0: <WaveLAN/IEEE> at port 0x100-0x13f irq 3 function 0 config 1 on
pccard0
pccbb_pcic_io_map window 0 auto port 100+40
pccbb_pcic_do_io_map window 0: 0100 013f (00000100+00000040)
pccbb_pcic_io_map window 0 auto port 100+40
pccbb_pcic_do_io_map window 0: 0100 013f (00000100+00000040)
wi0: Ethernet address: 00:02:2d:1d:70:83
pccard0: function 0 CCR at 0 offset 3e0: 45 80 22 ff, ff ff ff ff, ff


Oldcard dmesg:

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.
FreeBSD 5.0-CURRENT #15: Fri Aug  3 19:44:17 SAST 2001
    root@vortexia.orbtech.pvt:/usr/obj/usr/src/sys/VORTEXIA
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 851940834 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (851.94-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6

Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 125763584 (122816K bytes)
avail memory = 116899840 (114160K bytes)
Preloaded elf kernel "kernel" at 0xc046d000.
Pentium Pro MTRR support enabled
Using $PIR table, 6 entries at 0xc00f77c0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xffa0-0xffaf at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at 7.2 (no driver attached)
pci0: <serial bus, USB> at 7.3 (no driver attached)
pci0: <serial bus, SMBus> at 7.4 (no driver attached)
pci0: <multimedia, audio> at 7.5 (no driver attached)
pci_cfgintr_virgin: using routable interrupt 3
pci_cfgintr: 0:9 INTA routed to irq 3
pcic0: <TI PCI-1410 PCI-CardBus Bridge> irq 3 at device 9.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pcic0: TI12XX PCI Config Reg: [pwr save][pci only]
pccard0: <PC Card bus (classic)> on pcic0
rl0: <RealTek 8139 10/100BaseTX> port 0xc800-0xc8ff mem
0xdfffff00-0xdfffffff irq 12 at device 11.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect
mode
rl0: Ethernet address: 00:50:bf:3f:bb:9d
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/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 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sn0: ioaddr is 0x300
sn0: test1 failed
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc1: <System console> on isa0
sc1: MDA <16 virtual consoles, flags=0x0>
WARNING: Driver mistake: repeat make_dev("consolectl")
vga1: <Generic ISA VGA> at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0401> can't assign resources
unknown: <PNP0700> can't assign resources
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to accept, logging disabled
IP Filter: v3.4.20 initialized.  Default = pass all, Logging = enabled
ad0: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 19546MB <FUJITSU MPG3204AT E> [39714/16/63] at ata0-master UDMA33
acd0: CDROM <CD-ROM 52X/AKH> at ata0-slave PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
pccard: card inserted, slot 0
wi0 at port 0x240-0x27f irq 3 slot 0 on pccard0
wi0: Ethernet address: 00:02:2d:1d:70:83


Thats it,

Thanks again,

Andrew


On Fri, 3 Aug 2001, Mike Smith wrote:

> 
> Ok, now I need your dmesg again, since it's been trimmed and I've lost 
> it.  I also need to know what slots you have things in.  Please don't cut 
> the $PIR output off this message when you reply.
> 
> Note that your system is something of a pathalogical worst-case; no PCI 
> recommended interrupts, all the 'major' interrupts available for each 
> slot.  It's not improbable that the table is wrong or buggy too.
> 
> > Here we go, the output as requested:
> > 
> > $PIR table at 0x2812f7c0 version 1.0
> > PCI interrupt router at 0:3.8 vendor 0x1106 device 0x686
> > PCI-only interrupts [                                     ]
> > entry bus slot device
> >  00:  00   00    01  INTA  01  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTB  02  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTC  03  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTD  05  [      3 4 5   7   9 10 11 12    14 15]
> >  01:  00   00    07  INTA  fe  [                                14   ]
> >                      INTB  ff  [                                   15]
> >                      INTC  03  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTD  05  [      3 4 5   7   9 10 11 12    14 15]
> >  02:  00   01    09  INTA  02  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTB  03  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTC  05  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTD  01  [      3 4 5   7   9 10 11 12    14 15]
> >  03:  00   02    10  INTA  03  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTB  05  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTC  01  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTD  02  [      3 4 5   7   9 10 11 12    14 15]
> >  04:  00   03    11  INTA  05  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTB  01  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTC  02  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTD  03  [      3 4 5   7   9 10 11 12    14 15]
> >  05:  00   00    12  INTA  01  [      3 4 5   7   9 10 11 12    14 15]
> >                      INTB  00  [                                     ]
> >                      INTC  00  [                                     ]
> >                      INTD  00  [                                     ]
> > 
> > 
> > Thanks
> > 
> > Andrew
> > On Fri, 3 Aug 2001, Mike Smith wrote:
> > 
> > > > Tried the patch, interesting thing, for some reason or other its always
> > > > routing the IRQ to the same IRQ as the realtek network card I have in
> > > > here, and with the patch in (before nothing worked at all on the pccbb),
> > > > now if the network card is in slot0 it doesnt work, and the wavelan does,
> > > > if the wavelan comes first on the pcibus it doesnt work and the network
> > > > card does.  For some reason it always seems to be trying to share an IRQ
> > > > between these 2, any reason for this?
> > > 
> > > Yeah; that seems to be the way your system's interrupt routing is set up.
> > > 
> > > Get http://people.freebsd.org/~msmith/pir.c, build and run it and let's 
> > > look at the output.
> > > 
> > > -- 
> > > ... every activity meets with opposition, everyone who acts has his
> > > rivals and unfortunately opponents also.  But not because people want
> > > to be opponents, rather because the tasks and relationships force
> > > people to take different points of view.  [Dr. Fritz Todt]
> > >            V I C T O R Y   N O T   V E N G E A N C E
> > > 
> > > 
> > > 
> > 
> 
> -- 
> ... every activity meets with opposition, everyone who acts has his
> rivals and unfortunately opponents also.  But not because people want
> to be opponents, rather because the tasks and relationships force
> people to take different points of view.  [Dr. Fritz Todt]
>            V I C T O R Y   N O T   V E N G E A N C E
> 
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0108041127020.68444-100000>