From owner-freebsd-current Mon Sep 10 12:51:40 2001 Delivered-To: freebsd-current@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id A323D37B405; Mon, 10 Sep 2001 12:51:06 -0700 (PDT) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id f8AJp1G09912; Mon, 10 Sep 2001 21:51:01 +0200 Received: (nullmailer pid 18481 invoked by uid 1000); Mon, 10 Sep 2001 19:51:00 -0000 Date: Mon, 10 Sep 2001 21:51:00 +0200 From: Mark Santcroos To: Jonathan Chen Cc: Warner Losh , current@FreeBSD.ORG Subject: Re: ToPIC100 not working correctly Message-ID: <20010910215100.A578@laptop.6bone.nl> References: <86n14cms6f.wl@e-ppp8.eken.phys.nagoya-u.ac.jp> <200109031624.f83GOVh26528@harmony.village.org> <20010904112524.A542@laptop.6bone.nl> <20010905115107.D28669@enterprise.spock.org> <20010906135053.C464@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010906135053.C464@laptop.6bone.nl>; from marks@ripe.net on Thu, Sep 06, 2001 at 01:50:53PM +0200 X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I supplied you with the information you asked for, but didnt receive any feedback/further directions. Is it btw recommended to switch to NEWCARD for the sake of testing/debugging. Or doesnt it matter at all? In pcic_pci.c v1.80 the warning for ToPIC100 not working disappeared, but it still isnt working as it should for me. (For verbosity: the cards only loads correctly once, it doesnt detect the second insert after removing (see other mails in this thread)) Do you know the exact reason for this problem or can I help by exactly finding out what change of code causes this problems? Mark On Thu, Sep 06, 2001 at 01:50:53PM +0200, Mark Santcroos wrote: > > On Wed, Sep 05, 2001 at 11:51:07AM -0400, Jonathan Chen wrote: > > A complete dmesg from a verbose boot with both the successful and failed > > attempts would be a good start. It would also be useful to know what card > > you're using. > > The card is a Lucent wavelan. I haven't tried this with another card > though, let me know if that might me usefull. > > Find attached the two dmesgs. They are both build after a cvsup. > For one of the two kernels I have replaced src/sys/pccard/ with the one > from August 20. > > I have also included my kernel config. > > Mark > > -- > Mark Santcroos RIPE Network Coordination Centre > http://www.ripe.net/home/mark/ New Projects Group/TTM > machine i386 > cpu I686_CPU > ident MYNEW > maxusers 32 > options INET #InterNETworking > options FFS #Berkeley Fast Filesystem > options SOFTUPDATES #Enable FFS soft updates support > options MD_ROOT #MD is a potential root device > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] > options UCONSOLE #Allow users to grab the console > options KTRACE #ktrace(1) support > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > options P1003_1B #Posix P1003_1B real-time extensions > options _KPOSIX_PRIORITY_SCHEDULING > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > device isa > device pci > device fdc > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > options ATA_STATIC_ID #Static device numbering > device atkbdc 1 > device atkbd > device psm > device vga > device sc 1 > device npx > device apm > device pmtimer > device card > device pcic > device sio > device wi > device random # Entropy device > device loop # Network loopback > device ether # Ethernet support > device tun # Packet tunnel. > device pty # Pseudo-ttys (telnet etc) > device md # Memory "disks" > device bpf # Berkeley packet filter > device uhci > device usb # USB Bus (required) > device ugen # Generic > options PSEUDOFS > options COMPAT_LINUX > options LINPROCFS > options DDB > options INCLUDE_CONFIG_FILE > options IPFIREWALL > options IPDIVERT > 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 #10: Thu Sep 6 09:41:15 CEST 2001 > root@laptop.6bone.nl:/usr/obj/usr/src/sys/LAPTOP > Calibrating clock(s) ... TSC clock: 299933216 Hz, i8254 clock: 1193150 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 > CPU: Pentium II/Pentium II Xeon/Celeron (299.94-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x66a Stepping = 10 > Features=0x183f9ff > real memory = 134086656 (130944K bytes) > Physical memory chunk(s): > 0x00001000 - 0x0009efff, 647168 bytes (158 pages) > 0x0032c000 - 0x07fd7fff, 130727936 bytes (31916 pages) > avail memory = 127447040 (124460K bytes) > bios32: Found BIOS32 Service Directory header at 0xc00f0220 > bios32: Entry = 0xfc465 (c00fc465) Rev = 0 Len = 1 > pcibios: PCI BIOS entry at 0xf0000+0xedcd > pnpbios: Found PnP BIOS data at 0xc00f8ed0 > pnpbios: Entry = f0000:9344 Rev = 1.0 > pnpbios: Event flag at 510 > pnpbios: OEM ID 1934f351 > Other BIOS signatures found: > Preloaded elf kernel "kernel" at 0xc0306000. > null: > random: > mem: > Pentium Pro MTRR support enabled > pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 > pci_open(1a): mode1res=0x80000000 (0x80000000) > pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71948086) > Using $PIR table, 7 entries at 0xc00f0190 > apm0: on motherboard > apm0: found APM BIOS v1.2, connected at v1.2 > npx0: on motherboard > npx0: INT 16 interface > pcib0: at pcibus 0 on motherboard > pci0: physical bus=0 > found-> vendor=0x8086, dev=0x7194, revid=0x01 > bus=0, slot=0, func=0 > class=06-00-00, hdrtype=0x00, mfdev=0 > map[10]: type 1, range 32, base ff400000, size 22, enabled > map[14]: type 1, range 32, base ff3e0000, size 17, enabled > map[18]: type 1, range 32, base fec00000, size 22, enabled > found-> vendor=0x1023, dev=0x9525, revid=0x49 > bus=0, slot=4, func=0 > class=03-00-00, hdrtype=0x00, mfdev=0 > intpin=a, irq=11 > powerspec 1 supports D0 D1 D2 D3 current D0 > found-> vendor=0x8086, dev=0x7198, revid=0x01 > bus=0, slot=7, func=0 > class=06-80-00, hdrtype=0x00, mfdev=1 > map[20]: type 4, range 32, base 0000fff0, size 4, enabled > found-> vendor=0x8086, dev=0x7199, revid=0x00 > bus=0, slot=7, func=1 > class=01-01-80, hdrtype=0x00, mfdev=0 > map[20]: type 4, range 32, base 0000ff80, size 5, enabled > found-> vendor=0x8086, dev=0x719a, revid=0x00 > bus=0, slot=7, func=2 > class=0c-03-00, hdrtype=0x00, mfdev=0 > intpin=d, irq=11 > found-> vendor=0x8086, dev=0x719b, revid=0x00 > bus=0, slot=7, func=3 > class=06-80-00, hdrtype=0x00, mfdev=0 > map[10]: type 4, range 32, base 0000ff60, size 5, enabled > found-> vendor=0x1179, dev=0x0d01, revid=0x00 > bus=0, slot=9, func=0 > class=0d-00-00, hdrtype=0x00, mfdev=0 > intpin=a, irq=11 > powerspec 2 supports D0 D1 D3 current D0 > found-> vendor=0x1179, dev=0x0617, revid=0x20 > bus=0, slot=11, func=0 > class=06-07-00, hdrtype=0x02, mfdev=1 > intpin=a, irq=255 > powerspec 1 supports D0 D3 current D0 > map[10]: type 4, range 32, base 0000fc00, size 8, enabled > found-> vendor=0x125d, dev=0x1978, revid=0x10 > bus=0, slot=12, func=0 > class=04-01-00, hdrtype=0x00, mfdev=0 > intpin=a, irq=11 > powerspec 2 supports D0 D1 D2 D3 current D0 > map[10]: type 1, range 32, base ffefff00, size 8, enabled > map[14]: type 4, range 32, base 000002f8, size 3, enabled > map[18]: type 4, range 32, base 00001c00, size 8, enabled > found-> vendor=0x11c1, dev=0x0441, revid=0x01 > bus=0, slot=13, func=0 > class=07-80-00, hdrtype=0x00, mfdev=0 > intpin=a, irq=3 > powerspec 2 supports D0 D2 D3 current D0 > pci0: on pcib0 > pci0: at device 4.0 (no driver attached) > PCI-ISA bridge with incorrect subclass 0x80 > PCI-ISA bridge with incorrect subclass 0x80 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0xfff0-0xffff at device 7.1 on pci0 > ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xfff0 > ata0: mask=03 ostat0=50 ostat2=00 > ata0-master: ATAPI probe 00 00 > ata0-slave: ATAPI probe 00 00 > ata0: mask=03 stat0=50 stat1=00 > ata0-master: ATA probe 01 a5 > ata0: devices=01 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xfff8 > ata1: at 0x170 irq 15 on atapci0 > uhci0: port 0xff80-0xff9f irq 11 at device 7.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 > pci0: at device 7.3 (no driver attached) > pci0: at device 9.0 (no driver attached) > pci_cfgintr_unique: hard-routed to irq 11 > pci_cfgintr: 0:11 INTA routed to irq 11 > pcic0: irq 11 at device 11.0 on pci0 > pcic0: PCI Memory allocated: 0x44000000 > pccard0: on pcic0 > pci0: at device 12.0 (no driver attached) > pci0: at device 13.0 (no driver attached) > ata-: ata0 already exists, using ata2 instead > ata-: ata1 already exists, using ata3 instead > pcic-: pcic0 already exists, using pcic1 instead > pcic-: pcic1 already exists, using pcic2 instead > 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 > pnpbios: 15 devices, largest 198 bytes > PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000 > PNP0c01: adding fixed memory32 range 0xf0000-0xfffff, size=0x10000 > PNP0c01: adding fixed memory32 range 0x100000-0x7fdffff, size=0x7ee0000 > PNP0c01: adding fixed memory32 range 0x7fe0000-0x7feffff, size=0x10000 > PNP0c01: adding fixed memory32 range 0x7ff0000-0x7ffffff, size=0x10000 > PNP0c01: adding fixed memory32 range 0x100a0000-0x100fffff, size=0x60000 > PNP0c01: adding fixed memory32 range 0xfff00000-0xffffffff, size=0x100000 > pnpbios: handle 1 device ID PNP0c01 (010cd041) > PNP0200: adding io range 0-0xf, size=0x10, align=0x1 > PNP0200: adding io range 0x81-0x83, size=0x3, align=0x1 > PNP0200: adding io range 0x87-0x87, size=0x1, align=0x1 > PNP0200: adding io range 0x89-0x8b, size=0x3, align=0x1 > PNP0200: adding io range 0x8f-0x8f, size=0x1, align=0x1 > PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0x1 > PNP0200: adding dma mask 0x10 > pnpbios: handle 2 device ID PNP0200 (0002d041) > PNP0000: adding io range 0x20-0x21, size=0x2, align=0x1 > PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0x1 > PNP0000: adding irq mask 0x4 > pnpbios: handle 3 device ID PNP0000 (0000d041) > PNP0100: adding io range 0x40-0x43, size=0x4, align=0x1 > PNP0100: adding irq mask 0x1 > pnpbios: handle 4 device ID PNP0100 (0001d041) > PNP0800: adding io range 0x61-0x61, size=0x1, align=0x1 > pnpbios: handle 5 device ID PNP0800 (0008d041) > PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0x1 > PNP0c04: adding irq mask 0x2000 > pnpbios: handle 6 device ID PNP0c04 (040cd041) > PNP0303: adding io range 0x60-0x60, size=0x1, align=0x1 > PNP0303: adding io range 0x64-0x64, size=0x1, align=0x1 > PNP0303: adding irq mask 0x2 > pnpbios: handle 7 device ID PNP0303 (0303d041) > PNP0f13: adding irq mask 0x1000 > pnpbios: handle 8 device ID PNP0f13 (130fd041) > PNP0b00: adding io range 0x70-0x71, size=0x2, align=0x1 > PNP0b00: adding irq mask 0x100 > pnpbios: handle 9 device ID PNP0b00 (000bd041) > PNP0c02: adding io range 0x80-0x80, size=0x1, align=0x1 > PNP0c02: adding io range 0x84-0x86, size=0x3, align=0x1 > PNP0c02: adding io range 0x88-0x88, size=0x1, align=0x1 > PNP0c02: adding io range 0x8c-0x8e, size=0x3, align=0x1 > PNP0c02: adding io range 0xe0-0xef, size=0x10, align=0x1 > PNP0c02: adding io range 0xb0-0xb2, size=0x3, align=0x1 > PNP0c02: adding io range 0x62-0x62, size=0x1, align=0x1 > PNP0c02: adding io range 0x66-0x66, size=0x1, align=0x1 > PNP0c02: adding io range 0x6d-0x6d, size=0x1, align=0x1 > PNP0c02: adding io range 0x6f-0x6f, size=0x1, align=0x1 > PNP0c02: adding io range 0x480-0x48f, size=0x10, align=0x1 > PNP0c02: adding io range 0xcf8-0xcff, size=0x8, align=0x1 > PNP0c02: adding io range 0x4d0-0x4d1, size=0x2, align=0x1 > PNP0c02: adding io range 0x22-0x22, size=0x1, align=0x1 > PNP0c02: adding io range 0x92-0x92, size=0x1, align=0x1 > PNP0c02: adding io range 0xfd00-0xfd3f, size=0x40, align=0x1 > PNP0c02: adding io range 0xfeac-0xfeac, size=0x1, align=0x1 > PNP0c02: adding io range 0xfe00-0xfe3f, size=0x40, align=0x1 > PNP0c02: adding io range 0xfe50-0xfe57, size=0x8, align=0x1 > PNP0c02: adding io range 0xfe70-0xfe7f, size=0x10, align=0x1 > PNP0c02: adding io range 0xfe90-0xfe97, size=0x8, align=0x1 > PNP0c02: adding io range 0xfe9e-0xfe9e, size=0x1, align=0x1 > PNP0c02: adding irq mask 0x200 > pnpbios: handle 10 device ID PNP0c02 (020cd041) > PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0x1 > PNP0700: adding io range 0x3f7-0x3f7, size=0x1, align=0x1 > PNP0700: adding irq mask 0x40 > PNP0700: adding dma mask 0x4 > pnpbios: handle 11 device ID PNP0700 (0007d041) > PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0x1 > PNP0501: adding irq mask 0x10 > pnpbios: handle 14 device ID PNP0501 (0105d041) > PNP0401: adding io range 0x378-0x37a, size=0x3, align=0x1 > PNP0401: adding io range 0x778-0x77a, size=0x3, align=0x1 > PNP0401: adding irq mask 0x80 > PNP0401: adding dma mask 0x8 > pnpbios: handle 16 device ID PNP0401 (0104d041) > pnpbios: handle 17 device ID PNP0a03 (030ad041) > PNP0e03: adding io range 0x3e0-0x3e1, size=0x2, align=0x1 > pnpbios: handle 20 device ID PNP0e03 (030ed041) > sc-: sc0 already exists, using sc1 instead > vga-: vga0 already exists, using vga1 instead > isa_probe_children: disabling PnP devices > isa_probe_children: probing non-PnP devices > orm0: