Date: Thu, 23 Aug 2001 11:04:21 -0700 From: Ted Faber <faber@ISI.EDU> To: Warner Losh <imp@harmony.village.org> Cc: Kevin Oberman <oberman@es.net>, Michael Collette <metrol@earthlink.net>, FreeBSD <freebsd-mobile@FreeBSD.ORG>, FreeBSD <freebsd-stable@FreeBSD.ORG> Subject: Re: IRQ Problems with Stable Message-ID: <20010823110421.E610@ted.isi.edu> In-Reply-To: <200108231601.f7NG1ZW85483@harmony.village.org>; from imp@harmony.village.org on Thu, Aug 23, 2001 at 10:01:35AM -0600 References: <200108231415.f7NEFMR21307@ptavv.es.net> <200108231601.f7NG1ZW85483@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--oplxJGu+Ee5xywIT Content-Type: multipart/mixed; boundary="tSiBuZsJmMXpnp7T" Content-Disposition: inline --tSiBuZsJmMXpnp7T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 23, 2001 at 10:01:35AM -0600, Warner Losh wrote: > In message <200108231415.f7NEFMR21307@ptavv.es.net> "Kevin Oberman" writes: > : Warner has been putting in yoeman's service trying to get every thing > : working but, while it's getting closer, some systems still are not > : working right. > > Yes. I had it working on all my laptops but two (a pc98 one and a > very old HP) before I MFC'd. Just goes to show that 10 laptops isn't > enough to get good coverage. I know I've bugged you with my laptop problems before, but I'm going to try again. 4.4-RC cvsupped this morning, new kernel, new pccardd. The machine's a Fujitsu Lifebook C-5130. When I insert a Linksys PCMPC100 ethernet card the laptop freezes. ppcardd seems to allocate it irq 9, and it used to work fine on irq 11. No matter how hard I try, (including -I) I can't seem to convince it not to. Here's a dmesg -v showing the boot and card insertion, the kernel config file, and the /etc/pccard.conf . I think everything else is recent -STABLE. Let me know if there are things I can try or any way to help out. And I know you're working enormously hard on the PCCARD stuff, and I really appreciate all your work. Thanks. --tSiBuZsJmMXpnp7T Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=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 4.4-RC #42: Thu Aug 23 10:43:53 PDT 2001 root@arvon.lunabase.org:/usr/src/sys/compile/ARVON Calibrating clock(s) ... TSC clock: 398189193 Hz, i8254 clock: 1193162 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 (398.20-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 67022848 (65452K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00383000 - 0x03fe2fff, 63307776 bytes (15456 pages) avail memory = 61886464 (60436K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f6900 bios32: Entry = 0xfd7d6 (c00fd7d6) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x240 pnpbios: Found PnP BIOS data at 0xc00f6850 pnpbios: Entry = f0000:b508 Rev = 1.0 Other BIOS signatures found: ACPI: 000f68c0 Preloaded elf kernel "kernel" at 0xc035d000. Preloaded elf module "vesa.ko" at 0xc035d0a8. Preloaded elf module "snd_ds1.ko" at 0xc035d144. Preloaded elf module "snd_pcm.ko" at 0xc035d1e4. Preloaded elf module "usb.ko" at 0xc035d284. Preloaded elf module "ugen.ko" at 0xc035d320. VESA: information block 56 45 53 41 00 02 00 01 00 01 00 00 00 00 22 00 00 01 40 00 00 01 0b 01 00 01 21 01 00 01 2a 01 00 01 00 01 01 01 10 01 11 01 12 01 03 01 13 01 14 01 15 01 05 01 16 01 17 01 18 01 07 01 19 01 VESA: 0 mode(s) found module_register_init: MOD_LOAD (vesa, c0312d04, 0) error 6 Pentium Pro MTRR support enabled pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) Using $PIR table, 6 entries at 0xc00fdf60 apm0: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard found-> vendor=0x8086, dev=0x7190, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base f8000000, size 26 found-> vendor=0x8086, dev=0x7191, revid=0x03 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x8086, dev=0x7110, revid=0x02 class=06-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7111, revid=0x01 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000f090, size 4 found-> vendor=0x8086, dev=0x7112, revid=0x01 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=9 map[20]: type 1, range 32, base 0000f0a0, size 5 found-> vendor=0x8086, dev=0x7113, revid=0x02 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[90]: type 1, range 32, base 0000ff80, size 4 found-> vendor=0x1073, dev=0x0010, revid=0x02 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base fedf8000, size 15 map[14]: type 1, range 32, base 0000f0c0, size 6 map[18]: type 3, range 32, base 0000f08c, size 2 found-> vendor=0x11c1, dev=0x044a, revid=0x01 class=07-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base fedf7c00, size 8 map[14]: type 1, range 32, base 0000f080, size 3 map[18]: type 1, range 32, base 0000f400, size 8 found-> vendor=0x104c, dev=0xac1c, revid=0x01 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=2 secondarybus=2 intpin=a, irq=9 found-> vendor=0x104c, dev=0xac1c, revid=0x01 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=3 secondarybus=3 intpin=b, irq=9 pci0: <PCI bus> on pcib0 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 found-> vendor=0x1002, dev=0x4c4d, revid=0x64 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base fd000000, size 24 map[14]: type 1, range 32, base 0000e800, size 8 map[18]: type 1, range 32, base fecfe000, size 12 pci1: <PCI bus> on pcib1 pci1: <ATI Mobility-1 graphics accelerator> (vendor=0x1002, dev=0x4c4d) at 0.0 irq 9 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0xf090-0xf09f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf090 ata0: mask=03 status0=50 status1=00 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe a=00 b=00 ata0-slave: ATAPI probe a=00 b=00 ata0: mask=03 status0=50 status1=00 ata0-master: ATA probe a=01 b=a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf098 ata1: mask=03 status0=50 status1=01 ata1: mask=03 ostat0=50 ostat2=01 ata1-master: ATAPI probe a=14 b=eb ata1-slave: ATAPI probe a=14 b=eb ata1: mask=03 status0=00 status1=01 ata1: devices=0c ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xf0a0-0xf0bf irq 9 at device 7.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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 chip1: <Intel 82371AB Power management controller> port 0xff80-0xff8f at device 7.3 on pci0 pcm0: <Yamaha DS-1E (YMF744)> port 0xf08c-0xf08f,0xf0c0-0xf0ff mem 0xfedf8000-0xfedfffff irq 9 at device 13.0 on pci0 ds1: setmap (11000, 3de4), nseg=1, error=0 pcm0: ac97 codec id 0x414b4d02 (Asahi Kasei AK4543) pcm0: ac97 codec features headphone, 18 bit DAC, 18 bit ADC, 5 bit master volume, AKM 3D Audio using shared irq9. pcm: setmap 21000, 1000; 0xc53eb000 -> 21000 pcm: setmap 31000, 1000; 0xc53fb000 -> 31000 pcm: setmap 41000, 1000; 0xc540b000 -> 41000 pcm: setmap 51000, 1000; 0xc541b000 -> 51000 pcm: setmap 61000, 1000; 0xc542b000 -> 61000 pcm: setmap 71000, 1000; 0xc543b000 -> 71000 pci0: <unknown card> (vendor=0x11c1, dev=0x044a) at 16.0 irq 9 pcic0: <TI PCI-1225 PCI-CardBus Bridge> irq 9 at device 19.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pccard0: <PC Card bus (classic)> on pcic0 pcic1: <TI PCI-1225 PCI-CardBus Bridge> irq 9 at device 19.1 on pci0 pcic1: PCI Memory allocated: 0x44001000 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pccard1: <PC Card bus (classic)> on pcic1 pcic-: pcic0 exists, using next available unit number pcic-: pcic1 exists, using next available unit number 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 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x54ab (2) kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 psm0: current command byte:0047 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k vga0: vga: WARNING: video mode switching is not fully supported on this adapter VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 e7 a3 4f 67 8f 6d 1e 24 b3 00 6f 0d 0e 00 00 07 80 49 8f 8f 28 1f 47 6d a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 00 00 03 00 02 e7 a3 4f 67 8f 6d 1e 24 b3 00 6f 0d 0e 00 00 07 80 49 8f 8f 28 1f 47 6d a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) 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 sio0: irq maps: 0x41 0x51 0x41 0x41 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1: irq maps: 0x41 0x49 0x41 0x41 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A pcic2 failed to probe at port 0x3e0-0x3e1 irq 11 on isa0 pcic3 failed to probe at port 0x3e0-0x3e1 irq 11 on isa0 ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: EPP SPP ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 pps0: <Pulse per second Timing Interface> on ppbus0 isa_probe_children: probing PnP devices BIOS Geometries: 0:0345ef3f 0..837=838 cylinders, 0..239=240 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: lo0 attached bpf: faith0 attached bpf: stf0 attached IPsec: Initialized Security Association Processing. ata1-slave: ata_command: timeout waiting for intr ata1-slave: identify failed ata0-master: success setting UDMA2 on Intel chip Creating DISK ad0 ad0: <FUJITSU MHE2064AT/A020> ATA-4 disk at ata0-master ad0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, UDMA33 ad0: piomode=4 dmamode=2 udmamode=2 cblid=0 ad0: 6194MB <FUJITSU MHE2064AT> [13424/15/63] at ata0-master UDMA33 ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata1-master: success setting PIO4 on generic chip acd0: <NEC CD-ROM DRIVE:282/5.04> CDROM drive at ata1 as master acd0: read 4134KB/s (4134KB/s), 128KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA stream acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Mounting root from ufs:/dev/ad0s1a ad0s1: type 0xa5, start 63, end = 12685679, size 12685617 : OK start_init: trying /sbin/init Linux-ELF exec handler installed pcic1: Event mask 0x4 stat 0x30000182 pcic1: Event mask 0x4 stat 0x30000186 pcic1: Event mask 0x6 stat 0x30000510 pccard: card inserted, slot 1 pcic1: Event mask 0x9 stat 0x30000519 pccard1: Assigning ed0: io 0x300-0x31f irq 9 mem 0x0-0xffffffff pcic: I/O win 0 flags 15 300-31f ed0: Forcing IRQ to 9 pcic: I/O win 0 flags 5 300-31f ed0 at port 0x300-0x31f irq 9 slot 1 on pccard1 pcic: I/O win 0 flags 15 300-31f ed0: Forcing IRQ to 9 bpf: ed0 attached ed0: address 00:e0:98:7c:fb:21, type Linksys (16 bit) lxtphy0: <LXT970 10/100 media interface> on miibus0 lxtphy0: 100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled pcic1: Event mask 0x6 stat 0x3000011f lxtphy0: detached miibus0: detached pcic: I/O win 0 flags 5 300-31f ed0: detached pccard: card removed, slot 1 --tSiBuZsJmMXpnp7T Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=ARVON # # ARVON -- config for Ted's Fujitsu C-5130 Lifebook # machine i386 ident ARVON maxusers 10 makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc. #options ROOTDEVNAME=\"ufs:ad0s1a\" cpu I686_CPU # aka Pentium Pro(tm) # enable the L2 cache and disable F00F checking. Both these are probably # unnecessary options CPU_PPRO2CELERON options NO_F00F_HACK # no math emulation - we have an FPU options COMPAT_43 options USER_LDT #allow user-level control of i386 ldt # used by aviplay options SYSVSHM # include support for shared memory options SYSVSEM # include support for semaphores options SYSVMSG # include support for message queues options KTRACE #kernel tracing options PERFMON options UCONSOLE options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options INET #Internet communications protocols options INET6 #IPv6 communications protocols options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) pseudo-device ether #Generic Ethernet pseudo-device loop #Network loopback device pseudo-device bpf #Berkeley packet filter pseudo-device tun #Tunnel driver (ppp(8), nos-tun(8)) # for IPv6 pseudo-device gif 4 #IPv6 and IPv4 tunneling pseudo-device faith 1 #for IPv6 and IPv4 translation pseudo-device stf 1 #6to4 IPv6 over IPv4 encapsulation options MROUTING # Multicast routing options ICMP_BANDLIM options FFS #Fast filesystem options FFS_ROOT #FFS usable as root device # This code is still experimental (e.g. doesn't handle disk slices well). # Also, 'options MFS' is currently incompatible with DEVFS. #options DEVFS #devices filesystem # Soft updates is technique for improving file system speed and # making abrupt shutdown less risky. options SOFTUPDATES options NSWAPDEV=1 options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L pseudo-device pty #Pseudo ttys pseudo-device speaker #Play IBM BASIC-style noises out your speaker # Mandatory ISA devices: isa, npx # device isa device eisa device pci device miibus device apm0 # Enable support for the kernel PLL to use an external PPS signal, # under supervision of [x]ntpd(8) # More info in ntpd documentation: http://www.eecis.udel.edu/~ntp options PPS_SYNC # The keyboard controller; it controls the keyboard and the PS/2 mouse. device atkbdc0 at isa? port IO_KBD # The AT keyboard device atkbd0 at atkbdc? irq 1 # PS/2 mouse device psm0 at atkbdc? irq 12 # The video card driver. device vga0 at isa? # To include support for VESA video modes #options VESA # Splash screen at start up! Screen savers require this too. pseudo-device splash # The syscons console driver (sco color console compatible). device sc0 at isa? options SC_DISABLE_REBOOT # disable reboot key sequence options SC_PIXEL_MODE # add support for the raster text mode # use the right button of the mouse to paste text. options SC_TWOBUTTON_MOUSE device npx0 at nexus? port IO_NPX flags 0x0 irq 13 # # The 'ATA' driver supports all ATA and ATAPI devices. # It can reuse the majors of wd.c for booting purposes. device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives # # Standard floppy disk controllers: `fdc' and `fd' # device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device sio0 at isa? port IO_COM1 irq 4 device sio1 at isa? port IO_COM2 irq 3 #device pcm device ed0 # card: pccard slots # pcic: isa/pccard bridge device pcic0 at isa? irq 11 device pcic1 at isa? irq 11 #device pcic0 #device pcic1 device card # Parallel-Port Bus device ppc0 at isa? irq 7 device ppbus device lpt device ppi device pps # USB support #device uhci #device usb #device ugen #device uhid #device ukbd #device ulpt #device umodem #device ums #device uscanner --tSiBuZsJmMXpnp7T Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pccard.conf" irq 11 # Cabletron RoamAbout, WaveLAN/IEEE clone card "Cabletron" "RoamAbout 802.11 DS" config 0x1 "wi" ? # ISI requires the DS card to be in BSS mode insert /usr/sbin/wicontrol -i wi0 -p 1 insert /bin/test -s /usr/local/etc/SSID && /usr/sbin/wicontrol -i wi0 -q `cat /usr/local/etc/SSID` insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop --tSiBuZsJmMXpnp7T-- --oplxJGu+Ee5xywIT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7hUWlaUz3f+Zf+XsRAjrjAJ9GqwfR3EmSXrKxD+HbFsb0abSI9wCdFP/i RFAViyZgvlu2bR6ruTVc+FY= =bO6K -----END PGP SIGNATURE----- --oplxJGu+Ee5xywIT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010823110421.E610>