From owner-freebsd-stable Mon Jan 25 12:58:01 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA09624 for freebsd-stable-outgoing; Mon, 25 Jan 1999 12:58:01 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from main.avias.com (avias-gw.corbina.net [195.14.40.4] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA09617 for ; Mon, 25 Jan 1999 12:57:55 -0800 (PST) (envelope-from j@avias.com) Received: from 195.14.38.65 (dialup2.avias.com [195.14.38.69]) by main.avias.com (8.9.0/8.9.0) with SMTP id XAA26752 for ; Mon, 25 Jan 1999 23:57:38 +0300 (MSK) Date: Mon, 25 Jan 1999 23:58:20 +0300 From: Juriy Goloveshkin X-Mailer: The Bat! (v1.19) S/N D508402B Reply-To: Juriy Goloveshkin X-Priority: 3 (Normal) Message-ID: <4998.990125@avias.com> To: freebsd-stable@FreeBSD.ORG Subject: pccard Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, all does the PC Card support work in 3.0-STABLE(CURRENT)? 1) the kernel doesn't respond on card insertion/removal. it seems to me that the reason of such behavior is in the string 789 of file pccard/pcic.c it has changed from if (validslots) to if (validslots && pcic_irq <=0) are there any problems with irq handling? but it isn't my main problem. pccard_configure() displays only the last device added via pccard_add_driver(). in my case I have sio, ed and fdc devices, but only fdc is displayed. but even these devices doesn't work on insertion. it seems that it worked in 3.0-RELEASE (excluding the problem with irq described above). could andybody comment this? I have Libretto 50ct. === LIBRETTO === machine "i386" cpu "I586_CPU" ident LIBRETTO maxusers 32 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor config kernel root on wd0 controller isa0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 options FDC_YE controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts device sc0 at isa? tty device npx0 at isa? port IO_NPX irq 13 device apm0 at isa? flags 0x31 # Advanced Power Management # PCCARD (PCMCIA) support controller card0 device pcic0 at card? device pcic1 at card? options PCIC_RESUME_RESET === Jan 25 23:28:52 home /kernel: Copyright (c) 1992-1999 FreeBSD Inc. Jan 25 23:28:52 home /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993 Jan 25 23:28:52 home /kernel: The Regents of the University of California. All rights reserved. Jan 25 23:28:52 home /kernel: FreeBSD 3.0-STABLE #16: Mon Jan 25 23:27:29 MSK 1999 Jan 25 23:28:52 home /kernel: root@home.avias.com:/sysst/compile/LIBRETTO Jan 25 23:28:52 home /kernel: Timecounter "i8254" frequency 1193182 Hz Jan 25 23:28:52 home /kernel: CPU: Pentium/P54C (74.98-MHz 586-class CPU) Jan 25 23:28:52 home /kernel: Origin = "GenuineIntel" Id = 0x52c Stepping=12 Jan 25 23:28:52 home /kernel: Features=0x1bf Jan 25 23:28:52 home /kernel: real memory = 33685504 (32896K bytes) Jan 25 23:28:52 home /kernel: config> quit Jan 25 23:28:52 home /kernel: avail memory = 30482432 (29768K bytes) Jan 25 23:28:52 home /kernel: Preloaded elf kernel "kernel" at 0xf0272000. Jan 25 23:28:52 home /kernel: Initializing PC-card drivers: sio Jan 25 23:28:52 home /kernel: Initializing PC-card drivers: ed Jan 25 23:28:52 home /kernel: Initializing PC-card drivers: fdc I added pccard_configure() in pccard_add_driver() for saw it. Jan 25 23:28:52 home /kernel: Probing for devices on the ISA bus: Jan 25 23:28:52 home /kernel: sc0 on isa Jan 25 23:28:52 home /kernel: sc0: VGA color <16 virtual consoles, flags=0x0> Jan 25 23:28:52 home /kernel: ed0 not found at 0x280 Jan 25 23:28:52 home /kernel: atkbdc0 at 0x60-0x6f on motherboard Jan 25 23:28:52 home /kernel: atkbd0 irq 1 on isa Jan 25 23:28:52 home /kernel: psm0 irq 12 on isa Jan 25 23:28:52 home /kernel: psm0: model Generic PS/2 mouse, device ID 0 Jan 25 23:28:52 home /kernel: sio0 at 0x3f8-0x3ff Jan 25 23:28:52 home /kernel: irq 4 flags 0x10 on isa Jan 25 23:28:52 home /kernel: sio0: type 16550A Jan 25 23:28:52 home /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa Jan 25 23:28:52 home /kernel: sio1: type 16550A Jan 25 23:28:52 home /kernel: lpt0 at 0x378-0x37f irq 7 on isa Jan 25 23:28:52 home /kernel: lpt0: Interrupt-driven port Jan 25 23:28:52 home /kernel: lp0: TCP/IP capable interface Jan 25 23:28:52 home /kernel: ... try to identify the yamaha Jan 25 23:28:52 home /kernel: pcm0 at 0x530 irq 10 drq 1 flags 0xc100 on isa Jan 25 23:28:52 home /kernel: mss_attach 0 at 0x530 irq 10 dma 1:1 flags 0xc100 Jan 25 23:28:52 home /kernel: setting up yamaha registers Jan 25 23:28:52 home /kernel: set yamaha master volume to max Jan 25 23:28:52 home /kernel: fdc0: direction bit not set Jan 25 23:28:52 home /kernel: fdc0: cmd 3 failed at out byte 1 of 3 Jan 25 23:28:52 home /kernel: fdc0 not found at 0x3f0 Jan 25 23:28:52 home /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa Jan 25 23:28:52 home /kernel: wdc0: unit 0 (wd0): Jan 25 23:28:52 home /kernel: wd0: 777MB (1592640 sectors), 1580 cyls, 16 heads, 63 S/T, 512 B/S Jan 25 23:28:52 home /kernel: vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa Jan 25 23:28:52 home /kernel: npx0 on motherboard Jan 25 23:28:52 home /kernel: npx0: INT 16 interface Jan 25 23:28:52 home /kernel: apm0 flags 0x31 on isa Jan 25 23:28:52 home /kernel: apm: found APM BIOS version 1.2 Jan 25 23:28:52 home /kernel: PC-Card Intel 82365 (5 mem & 2 I/O windows) Jan 25 23:28:52 home /kernel: pcic: controller irq 5 Jan 25 23:28:52 home /kernel: Initializing PC-card drivers: fdc Jan 25 23:28:52 home /kernel: Intel Pentium detected, installing workaround for F00F bug Jan 25 23:28:52 home /kernel: changing root device to wd0s2a Jan 25 23:29:19 home /kernel: Card inserted, slot 0 Jan 25 23:29:30 home pccardd[48]: driver allocation failed for Ethernet Jan 25 23:29:41 home /kernel: Card removed, slot 0 old 3.0-RELEASE kernel from /sys/i386/conf/PCCARD == Jan 25 23:30:51 home /kkk: Copyright (c) 1992-1998 FreeBSD Inc. Jan 25 23:30:51 home /kkk: Copyright (c) 1982, 1986, 1989, 1991, 1993 Jan 25 23:30:51 home /kkk: The Regents of the University of California. All rights reserved. Jan 25 23:30:51 home /kkk: FreeBSD 3.0-RELEASE #0: Sun Jan 24 18:53:08 MSK 1999 Jan 25 23:30:51 home /kkk: root@myname.my.domain:/usr/src/sys/compile/PCCARD Jan 25 23:30:51 home /kkk: Timecounter "i8254" frequency 1193182 Hz cost 5873 ns Jan 25 23:30:51 home /kkk: CPU: Pentium/P54C (74.98-MHz 586-class CPU) Jan 25 23:30:51 home /kkk: Origin = "GenuineIntel" Id = 0x52c Stepping=12 Jan 25 23:30:51 home /kkk: Features=0x1bf Jan 25 23:30:51 home /kkk: real memory = 33685504 (32896K bytes) Jan 25 23:30:51 home /kkk: avail memory = 30658560 (29940K bytes) Jan 25 23:30:51 home /kkk: Preloaded a.out kernel "kkk" at 0x0xf024f000. Jan 25 23:30:51 home /kkk: Probing for devices on the ISA bus: Jan 25 23:30:51 home /kkk: sc0 at 0x60-0x6f irq 1 on motherboard Jan 25 23:30:51 home /kkk: sc0: VGA color <16 virtual consoles, flags=0x0> Jan 25 23:30:51 home /kkk: ed0 not found at 0x280 Jan 25 23:30:51 home /kkk: fe0 not found at 0x300 Jan 25 23:30:51 home /kkk: sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa Jan 25 23:30:51 home /kkk: sio0: type 16550A Jan 25 23:30:51 home /kkk: sio1 at 0x2f8-0x2ff irq 3 on isa Jan 25 23:30:51 home /kkk: sio1: type 16550A Jan 25 23:30:51 home /kkk: lpt0 at 0x378-0x37f irq 7 on isa Jan 25 23:30:51 home /kkk: lpt0: Interrupt-driven port Jan 25 23:30:51 home /kkk: lp0: TCP/IP capable interface Jan 25 23:30:51 home /kkk: psm0 at 0x60-0x64 irq 12 on motherboard Jan 25 23:30:51 home /kkk: psm0: model Generic PS/2 mouse, d Jan 25 23:30:51 home /kkk: evice ID 0 Jan 25 23:30:51 home /kkk: fdc0: direction bit not set Jan 25 23:30:51 home /kkk: fdc0: cmd 3 failed at out byte 1 of 3 Jan 25 23:30:51 home /kkk: fdc0 not found at 0x3f0 Jan 25 23:30:51 home /kkk: wdc0 at 0x1f0-0x1f7 irq 14 on isa Jan 25 23:30:51 home /kkk: wdc0: unit 0 (wd0): Jan 25 23:30:51 home /kkk: wd0: 777MB (1592640 sectors), 1580 cyls, 16 heads, 63 S/T, 512 B/S Jan 25 23:30:51 home /kkk: ep0 not found at 0x300 Jan 25 23:30:51 home /kkk: npx0 on motherboard Jan 25 23:30:51 home /kkk: npx0: INT 16 interface Jan 25 23:30:51 home /kkk: apm0 flags 0x31 on isa Jan 25 23:30:51 home /kkk: apm: found APM BIOS version 1.2 Jan 25 23:30:51 home /kkk: PC-Card Intel 82365 (5 mem & 2 I/O windows) Jan 25 23:30:51 home /kkk: pcic: controller irq 5 Jan 25 23:30:51 home /kkk: Initializing PC-card drivers: ed ep fe sio Jan 25 23:30:51 home /kkk: Intel Pentium F00F detected, installing workaround Jan 25 23:30:51 home /kkk: changing root device to wd0s2a Ehternet card(if it was inserted before boot) works normally. === Bye, Juriy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message