Re: cardbus problem
On Thursday 07 March 2002 17.13, M. Warner Losh wrote: In message: [EMAIL PROTECTED] : I have xl0: watchdog timeout on my 3Com cardbus card after updating : kernel recently. Everything seems to be OK during boot, : but xl0: watchdog timeout starts directly after ifconfig, and makes : network incredibly slow. : boot -v will not boot at all, it stops somewhere around : cardbus_attach_card. : : It seems the problem is in recent changes to sys/dev/cardbus, because : taking the August version of sys/dev/cardbus/* files resolved the : problem. So using a completely -current kernel, except for the august version of sys/dev/cardbus/*? I wouldn't have expected that to compile, but that's a good data point if true. Yes, it compiled. The only complain was about DETACH_NOWARN. : xl0: 3Com 3c656B Fast Etherlink XL port 0x1000-0x107f mem : 0x84002000-0x8400207f,0x84002000-0x840020ff irq 11 at device 0.0 on : cardbus1 xl0: Ethernet address: 00:50:04:92:29:17 What does vmstat -i say about irq 11? This is for the new kernel: interrupt total rate stray irq0 1 0 stray irq6 1 0 npx0 irq13 1 0 ata0 irq14 1323 12 pccbb1 irq111 0 atkbd0 irq1 200 1 clk irq010417100 Total 11944114 This is for kernel with august cardbus: interrupt total rate stray irq0 1 0 stray irq6 1 0 npx0 irq13 1 0 ata0 irq14 1371 19 atkbd0 irq1 133 1 clk irq0 6868 99 xl0 irq11 63 0 So its pccbb1 on irq 11 in the first case, and xl0 in the second. Yuri Warner /me gets out his 656 cardbus card and gives it a whirl. -- Yuri Khotyaintsev Swedish Institute of Space Physics To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: cardbus problem
OK. I've recreated this problem. It looks like I broke interrupts to cardbus with the large cleanup. I could have sworn I'd tested that, but it looks like my testing metholology was flawed. I'm looking into it. Thanks. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
cardbus problem
Hi! I have xl0: watchdog timeout on my 3Com cardbus card after updating kernel recently. Everything seems to be OK during boot, but xl0: watchdog timeout starts directly after ifconfig, and makes network incredibly slow. boot -v will not boot at all, it stops somewhere around cardbus_attach_card. It seems the problem is in recent changes to sys/dev/cardbus, because taking the August version of sys/dev/cardbus/* files resolved the problem. Further investigation is needed. I attach dmesg output below. -- Yuri Khotyaintsev Swedish Institute of Space Physics, Uppsala Division, Box 537, S-75121 Uppsala 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 #0: Mon Mar 4 23:11:04 CET 2002 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/JAZZ Preloaded elf kernel /boot//kernel/kernel at 0xc0454000. Preloaded elf module /boot//kernel/acpi.ko at 0xc04540ac. Timecounter i8254 frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU) Origin = GenuineIntel Id = 0x66a Stepping = 10 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 100597760 (98240K bytes) avail memory = 93360128 (91172K bytes) Pentium Pro MTRR support enabled Using $PIR table, 9 entries at 0xc00fdf30 ACPI-0567: *** Warning: Reference BAT0 at AML 1276 not found ACPI-0567: *** Warning: Reference BAT1 at AML 127a not found apm0: APM BIOS on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: math processor on motherboard npx0: INT 16 interface acpi0: Other PM system enabled. pcib0: Intel 82443BX (440 BX) 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 device 0.0 (no driver attached) pcm0: ESS Technology Maestro-2E port 0xf800-0xf8ff irq 5 at device 6.0 on pci0 isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX4 ATA33 controller port 0xfcd0-0xfcdf 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 device 7.2 (no driver attached) pci0: bridge, PCI-unknown at device 7.3 (no driver attached) pccbb0: TI1220 PCI-CardBus Bridge irq 11 at device 10.0 on pci0 cardbus0: CardBus bus on pccbb0 pccbb1: TI1220 PCI-CardBus Bridge irq 11 at device 10.1 on pci0 cardbus1: CardBus bus on pccbb1 orm0: Option ROM at iomem 0xc-0xcefff 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 GlidePoint, 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 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode 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 0xa-0xb on isa0 TUPLE: LINKTARGET [3]: 43 49 53 Product version: 5.0 Product name: 3Com Corporation | 3CCFEM656B-LAN | LAN | 1 | Manufacturer ID: 02016265 Functions: Network Adaptor, Multi-Functioned TUPLE: DEVICE_OC [2]: 02 ff cardbus1: Opening BAR: type=IO, bar=10, len=0080 cardbus1: Opening BAR: type=MEM, bar=14, len=0100 TUPLE: CONFIG_CB [6]: 03 01 00 00 00 00 TUPLE: CFTABLE_ENTRY_CB [15]: 41 ba 01 b5 1e 01 b5 1e 02 30 f8 ff 04 01 02 CIS reading done cardbus1: Resource not specified in CIS: id=18, size=80 cardbus1: Non-prefetchable memory at 84002000-8400217f cardbus1: Non-prefetchable memory rid=14 at 84002000-840020ff (100) cardbus1: Non-prefetchable memory rid=18 at 84002000-8400207f (80) cardbus1: IO port at 1000-107f cardbus1: IO port rid=10 at 1000-107f xl0: 3Com 3c656B Fast Etherlink XL port 0x1000-0x107f mem 0x84002000-0x8400207f,0x84002000-0x840020ff irq 11 at device 0.0 on cardbus1 xl0: Ethernet address: 00:50:04:92:29:17 miibus0: MII bus on xl0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto TUPLE: LINKTARGET [3]: 43 49 53 Product version: 5.0 Product name: 3Com Corporation | 3CCFEM656B-MDM | MDM | 1 | Manufacturer ID: 02016365 Functions: Serial Port, Multi-Functioned TUPLE: DEVICE_OC [2]: 02 ff cardbus1: Opening BAR: type=MEM, bar=18, len=1000 TUPLE: CONFIG_CB [6]: 03 01 00 00 00 00 TUPLE: CFTABLE_ENTRY_CB [14]: 41 b2
Re: cardbus problem
In message: [EMAIL PROTECTED] Yuri Khotyaintsev [EMAIL PROTECTED] writes: : Hi! : : I have xl0: watchdog timeout on my 3Com cardbus card after updating kernel : recently. Everything seems to be OK during boot, : but xl0: watchdog timeout starts directly after ifconfig, and makes network : incredibly slow. : boot -v will not boot at all, it stops somewhere around cardbus_attach_card. : : It seems the problem is in recent changes to sys/dev/cardbus, because : taking the August version of sys/dev/cardbus/* files resolved the problem. So using a completely -current kernel, except for the august version of sys/dev/cardbus/*? I wouldn't have expected that to compile, but that's a good data point if true. : xl0: 3Com 3c656B Fast Etherlink XL port 0x1000-0x107f mem : 0x84002000-0x8400207f,0x84002000-0x840020ff irq 11 at device 0.0 on cardbus1 : xl0: Ethernet address: 00:50:04:92:29:17 What does vmstat -i say about irq 11? Warner /me gets out his 656 cardbus card and gives it a whirl. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Dell laptop cardbus problem
I have a Dell Latitude CPx with a Xircom RealPort CardBus Ethernet 10/100+Modem 56 card. The card used to work on an Aug 1, 2001 -CURRENT. I've cvsup'ed and built the system yesterday (sep 15) and cannot make the card work anymore. Any ideas what might be wrong? I am attaching dmesg and kernel config (NEWCARD). I have the following in sio.c: static struct pci_ids pci_ids[] = { { 0x0103115d, Xircom Cardbus modem, 0x10 }, { 0x, NULL, 0 } }; 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 #4: Sat Sep 15 14:23:16 CDT 2001 [EMAIL PROTECTED]:/mnt_usr/local/src/current/src/sys/i386/compile/NEWCARD Calibrating clock(s) ... TSC clock: 647201286 Hz, i8254 clock: 1193208 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 647190546 Hz CPU: Pentium III/Pentium III Xeon/Celeron (647.19-MHz 686-class CPU) Origin = GenuineIntel Id = 0x683 Stepping = 3 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 134135808 (130992K bytes) Physical memory chunk(s): 0x1000 - 0x0009efff, 647168 bytes (158 pages) 0x0042b000 - 0x07fe3fff, 129732608 bytes (31673 pages) avail memory = 126259200 (123300K bytes) bios32: Found BIOS32 Service Directory header at 0xc00ffe80 bios32: Entry = 0xffe90 (c00ffe90) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf+0xc0be pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f:e2f4 Rev = 1.0 pnpbios: Event flag at 4b4 Other BIOS signatures found: Preloaded elf kernel /boot/kernel/kernel at 0xc0404000. Preloaded elf module /boot/kernel/snd_maestro3.ko at 0xc04040b4. Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc0404168. null: null device, zero device random: entropy source mem: memory I/O Pentium Pro MTRR support enabled Math emulator present pci_open(1):mode 1 addr port (0x0cf8) is 0x80003ac0 pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=71908086) Using $PIR table, 6 entries at 0xc00fbd30 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Intel 82443BX (440 BX) host to PCI bridge at pcibus 0 on motherboard pci0: physical bus=0 map[10]: type 3, range 32, base f400, size 26, enabled found- vendor=0x8086, dev=0x7190, revid=0x03 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 found- vendor=0x8086, dev=0x7191, revid=0x03 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 found- vendor=0x104c, dev=0xac1c, revid=0x01 bus=0, slot=3, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=a, irq=11 powerspec 1 supports D0 D1 D2 D3 current D0 found- vendor=0x104c, dev=0xac1c, revid=0x01 bus=0, slot=3, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=a, irq=11 powerspec 1 supports D0 D1 D2 D3 current D0 found- vendor=0x8086, dev=0x7110, revid=0x02 bus=0, slot=7, func=0 class=06-80-00, hdrtype=0x00, mfdev=1 map[20]: type 4, range 32, base 0860, size 4, enabled found- vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=7, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 map[20]: type 4, range 32, base dce0, size 5, enabled found- vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=7, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 intpin=d, irq=11 map[90]: type 4, range 32, base 0840, size 4, enabled found- vendor=0x8086, dev=0x7113, revid=0x02 bus=0, slot=7, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 map[10]: type 4, range 32, base d800, size 8, enabled map[14]: type 1, range 32, base faffe000, size 13, enabled found- vendor=0x125d, dev=0x1998, revid=0x10 bus=0, slot=8, func=0 class=04-01-00, hdrtype=0x00, mfdev=0 intpin=a, irq=5 powerspec 2 supports D0 D1 D2 D3 current D0 pci0: PCI bus on pcib0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode0xe000-0xefff pcib1: memory decode 0xfc00-0xfeff pcib1: prefetched decode 0xfff0-0xf pci1: physical bus=1 map[10]: type 1, range 32, base fd00, size 24, enabled map[14]: type 4, range 32, base ec00, size 8, enabled map[18]: type 1, range 32, base fcfff000, size 12, enabled found- vendor=0x1002, dev=0x4c4d, revid=0x64 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 powerspec 1 supports D0 D1 D2 D3 current D0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no
Re: Dell laptop cardbus problem
At Sat, 15 Sep 2001 14:43:38 -0500, Vladimir V. Egorin [EMAIL PROTECTED] wrote: I have a Dell Latitude CPx with a Xircom RealPort CardBus Ethernet 10/100+Modem 56 card. The card used to work on an Aug 1, 2001 -CURRENT. I've cvsup'ed and built the system yesterday (sep 15) and cannot make the card work anymore. Any ideas what might be wrong? I am attaching dmesg and kernel config (NEWCARD). I have the following in sio.c: static struct pci_ids pci_ids[] = { { 0x0103115d, Xircom Cardbus modem, 0x10 }, { 0x, NULL, 0 } }; [...] sio3: configured irq 9 not in bitmap of probed irqs 0 sio3: irq maps: 0x201 0x201 0x201 0x201 sio3: probe failed test(s): 0 1 2 4 6 7 9 sio3 failed to probe at port 0x2e8-0x2ef irq 9 on isa0 I remember the probe failure. My card needed to be re-initialized to 8 bit CFCR. I'm attaching my current patch which I'm using on an early August -current. Warner, how about committing this patch? -- Regards, Georg. sio.c.diff
Re: Dell laptop cardbus problem
In message [EMAIL PROTECTED] Vladimir V. Egorin writes: : I have a Dell Latitude CPx with a Xircom RealPort : CardBus Ethernet 10/100+Modem 56 card. The card used : to work on an Aug 1, 2001 -CURRENT. I've cvsup'ed and : built the system yesterday (sep 15) and cannot make the card : work anymore. Any ideas what might be wrong? I am attaching : dmesg and kernel config (NEWCARD). I have the following : in sio.c: Don't know. Maybe Jonathan's changes have caused you grief, like so many others. I'm snowed under trying to finish up the OLDCARD stuff, but will soon be doing lots of NEWCARD work. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Dell laptop cardbus problem
In message [EMAIL PROTECTED] Georg-W. Koltermann writes: : I remember the probe failure. My card needed to be re-initialized to : 8 bit CFCR. I'm attaching my current patch which I'm using on an : early August -current. : : Warner, how about committing this patch? I want to know why my card used to work and now doesn't when SIO didn't change first. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Dell laptop cardbus problem
On Sat, Sep 15, 2001 at 11:03:25PM +0200, Georg-W. Koltermann wrote: At Sat, 15 Sep 2001 14:43:38 -0500, Vladimir V. Egorin [EMAIL PROTECTED] wrote: I have a Dell Latitude CPx with a Xircom RealPort CardBus Ethernet 10/100+Modem 56 card. The card used to work on an Aug 1, 2001 -CURRENT. I've cvsup'ed and built the system yesterday (sep 15) and cannot make the card work anymore. Any ideas what might be wrong? I am attaching dmesg and kernel config (NEWCARD). I have the following in sio.c: static struct pci_ids pci_ids[] = { { 0x0103115d, Xircom Cardbus modem, 0x10 }, { 0x, NULL, 0 } }; [...] sio3: configured irq 9 not in bitmap of probed irqs 0 sio3: irq maps: 0x201 0x201 0x201 0x201 sio3: probe failed test(s): 0 1 2 4 6 7 9 sio3 failed to probe at port 0x2e8-0x2ef irq 9 on isa0 I remember the probe failure. My card needed to be re-initialized to 8 bit CFCR. I'm attaching my current patch which I'm using on an early August -current. Warner, how about committing this patch? Thank you very much for the advice. I had an equivalent fix in sio.c (was calling sioprobe() twice in sio_pci_probe() ), this worked on Aug 1 -CURRENT, but not anymore. I've also tried applying your patch, unfortunately with no success. I guess I'll just downgrade back to Aug 1 source.Warner, I'll be happy to upgrade and test if needed whenever you have a chance to get back to this. -- Vladimir To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message