From owner-freebsd-questions Thu Sep 14 16: 9:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 7600E37B43C for ; Thu, 14 Sep 2000 16:09:19 -0700 (PDT) Received: from parish ([62.253.84.244]) by mta01-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000914230916.YML16640.mta01-svc.ntlworld.com@parish>; Fri, 15 Sep 2000 00:09:16 +0100 Received: (from mark@localhost) by parish (8.11.0/8.11.0) id e8EN9BN00922; Fri, 15 Sep 2000 00:09:11 +0100 (BST) (envelope-from mark) Date: Fri, 15 Sep 2000 00:09:11 +0100 From: Mark Ovens To: Antoine Beaupre Cc: freebsd-questions@freebsd.org Subject: Re: PnP modem not recognized at boot, but by pnpinfo(8) Message-ID: <20000915000911.B272@parish> References: <20000914172932.B2261@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from beaupran@iro.umontreal.ca on Thu, Sep 14, 2000 at 04:35:01PM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Sep 14, 2000 at 04:35:01PM -0400, Antoine Beaupre wrote: > 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. (?) > Maybe that is it; I got it the wrong way round. Looking at GENERIC the IRQ probed for by sio2 is IRQ5 so I guess that it is probing for IRQ5 when the modem is using another IRQ (disclaimer: I did say "IIRC" in my original message, obviously I didn't RC :) ) It would be worth trying IRQ10 (anyone know if you can omit the ``IRQ X'' from the line in the config file, or use ``IRQ ?'' instead?). The only other thing is: It's not a bloody Winmodem is it? > > 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 One other point: Don't take too much notice of what IRQ and address Windows uses, it changes things to suit itself, and I believe it can update the BIOS settings to use it's (Windows) choice of settings for future reboots. This modem of mine used to be on IRQ11 until I had to re-install Win95 (although FreeBSD still found it without any changes). > > % 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! :): > You are now appointed as our resident kernel building expert :) > 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] > > -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message