From owner-freebsd-questions Thu Sep 14 13:35:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mercure.IRO.UMontreal.CA (mercure.IRO.UMontreal.CA [132.204.24.67]) by hub.freebsd.org (Postfix) with ESMTP id C42E437B424; Thu, 14 Sep 2000 13:35:08 -0700 (PDT) Received: from phobos.IRO.UMontreal.CA (IDENT:root@phobos.IRO.UMontreal.CA [132.204.20.20]) by mercure.IRO.UMontreal.CA (8.9.3/8.9.3) with ESMTP id QAA00954; Thu, 14 Sep 2000 16:35:02 -0400 Received: from localhost (beaupran@localhost) by phobos.IRO.UMontreal.CA (8.9.3/8.9.3) with ESMTP id QAA29256; Thu, 14 Sep 2000 16:35:02 -0400 Full-Name: Antoine Beaupre Date: Thu, 14 Sep 2000 16:35:01 -0400 (EDT) From: Antoine Beaupre To: Mark Ovens Cc: freebsd-questions@freebsd.org Subject: Re: PnP modem not recognized at boot, but by pnpinfo(8) In-Reply-To: <20000914172932.B2261@parish> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 14 Sep 2000, Mark Ovens wrote: > On Thu, Sep 14, 2000 at 12:15:02PM -0400, Antoine Beaupre wrote: > > Hi! > > > > I've upgraded my machine to FreeBSD 4.1 release recently (clean > > install) and the kernel is not recognizing my modem. (Please note that > > I've read the FAQ, the handbook, searched the mailing lists, read a few > > man pages and hacked some of the kernel source, still no luck. Please read > > on.) I'm thinking of sending this to -hackers, since it's recognized by > > pnpinfo(8) and not on boot (is this normal?). > > > > Extract from dmesg output: > > > > sio2: configured irq 5 not in bitmap of probed irqs 0 > > [...] > > Is sio2 in your kernel config file? Yes. > If so, try commenting it out and re-building your kernel. Tried it. Not working: sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A [...no sio2...] unknown: can't assign resources > The message above means, IIRC, that your modem is using IRQ5 but the sio > probe is using another IRQ for that port. Weird. What IRQ would the probe use then??? It is more likely to be the opposite. The modem being on irq 10 and the probe trying irq 5... I will try to setup a kernel with sio on irq 10. (?) > Just FYI, I have a PnP modem that appears on sio2, but I only sio0 and > sio1 in my kernel: > > % dmesg | grep Pace > sio2: at port > 0x3e8-0x3ef irq 5 on isa0 > % grep 'sio[0-9]' /sys/i386/conf/PARISH > device sio0 at isa? port IO_COM1 flags 0x10 irq 4 > device sio1 at isa? port IO_COM2 irq 3 > % Strange.. I think there's a problem with the PnP probe since unrecognized PnP devices are supposed to be identified and reported as such, along with their PnP ID... Latest dmesg (25th build! :): Copyright (c) 1992-2000 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.1-RELEASE #25: Thu Sep 14 16:11:40 EDT 2000 root@shall.anarcat.yi.org:/usr/src/sys/compile/SHALL Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P55C (167.05-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Features=0x8001bf real memory = 33554432 (32768K bytes) avail memory = 29384704 (28696K bytes) Preloaded elf kernel "kernel" at 0xc035d000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc035d09c. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 uhci0: port 0x6900-0x691f 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 uhub0: port 1 power on failed, IOERROR uhub0: port 2 power on failed, IOERROR chip1: port 0x5000-0x500f at device 7.3 on pci0 pci0: at 9.0 ahc0: port 0x6400-0x64ff mem 0xe1001000-0xe1001fff irq 9 at device 11.0 on pci0 ahc0: aic7859 Single Channel A, SCSI Id=7, 3/255 SCBs isa0: too many dependant configs (8) isa0: too many dependant configs (8) isa0: unexpected small tag 14 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> fdc0: 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 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 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppi0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port plip0: on ppbus0 pca0 at port 0x40 on isa0 ep0: <3Com 3C509-TPO EtherLink III> at port 0x200-0x20f irq 5 on isa0 ep0: Ethernet address 00:10:5a:aa:51:33 unknown: can't assign resources sbc0: at port 0x220-0x22f,0x300-0x301,0x388-0x38b irq 10 drq 0,5 on isa0 sbc0: setting card to irq 10, drq 0, 5 pcm0: on sbc0 unknown: can't assign resources unknown0: at port 0x620-0x623 on isa0 ad0: 3079MB [6256/16/63] at ata0-master using UDMA33 acd0: CDROM at ata0-slave using PIO3 Waiting 2 seconds for SCSI devices to settle Mounting root from ufs:/dev/ad0s2a da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled da0: 4091MB (8380080 512 byte sectors: 255H 63S/T 521C) cd0 at ahc0 bus 0 target 3 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: cd present [330048 x 2048 byte records] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message