Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 00:09:11 +0100
From:      Mark Ovens <marko@freebsd.org>
To:        Antoine Beaupre <beaupran@iro.umontreal.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PnP modem not recognized at boot, but by pnpinfo(8)
Message-ID:  <20000915000911.B272@parish>
In-Reply-To: <Pine.LNX.4.21.0009141627240.28743-100000@phobos.IRO.UMontreal.CA>; from beaupran@iro.umontreal.ca on Thu, Sep 14, 2000 at 04:35:01PM -0400
References:  <20000914172932.B2261@parish> <Pine.LNX.4.21.0009141627240.28743-100000@phobos.IRO.UMontreal.CA>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <CIRRUS LOGIC PnP V34 MODEM> 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: <Pace 56 Voice Internal Plug & Play Modem> 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
> 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: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1
> on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x6900-0x691f irq 11
> 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
> uhub0: port 1 power on failed, IOERROR
> uhub0: port 2 power on failed, IOERROR
> chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at
> device 7.3 on pci0
> pci0: <ATI Mach64-GU graphics accelerator> at 9.0
> ahc0: <Adaptec 2930CU SCSI adapter> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> 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 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: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> ppi0: <Parallel I/O> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> plip0: <PLIP network interface> 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: <CIRRUS LOGIC PnP V34 MODEM> can't assign resources
> sbc0: <Creative SB AWE64> 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: <SB DSP 4.16> on sbc0
> unknown: <Game> can't assign resources
> unknown0: <WaveTable> at port 0x620-0x623 on isa0
> ad0: 3079MB <QUANTUM FIREBALL ST3.2A> [6256/16/63] at ata0-master using
> UDMA33
> acd0: CDROM <MATSHITA CR-585> 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: <DEC RZ2CD-KS (C) DEC 0306> 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: <YAMAHA CRW8424S 1.0d> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000915000911.B272>