From owner-freebsd-hackers Sun Aug 20 5: 0:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mercury.nildram.co.uk (mercury.nildram.co.uk [195.112.4.37]) by hub.freebsd.org (Postfix) with ESMTP id 11DE837B422 for ; Sun, 20 Aug 2000 05:00:12 -0700 (PDT) Received: from nermal.unix-consult.com (tgeusch.dial.nildram.co.uk [195.149.29.39]) by mercury.nildram.co.uk (8.10.0/8.10.0.Beta10) with ESMTP id e7KB8Ra26885 for ; Sun, 20 Aug 2000 12:08:28 +0100 Received: (qmail 480 invoked by uid 1002); 20 Aug 2000 11:53:25 -0000 Date: Sun, 20 Aug 2000 12:53:24 +0100 From: Timo Geusch To: hackers@freebsd.org Subject: USR I-modem problems on 4.1-stable and 5.0-current Message-ID: <20000820125324.A443@nermal.unix-consult.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="LZvS9be/3tNcYl/X" X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii All, I've written to the list earlier about this but was not able to provide all the info needed thanks to the usual lack of time. So here we go again: I've got two different systems, one running 5.0, the other 4.1-stable as of yesterday evening UK time. All info, i.e. dmesg etc are provided by the latter system but the output and the results are the same. On both systems, this ISDN modem card (which supposedly masks as a PnP serial port) is recognized and PnP configured by the BIOS. It also shows up on the dmesg but is listed as 'unknown'. As it will only ever be configured as one of the standard serial ports, I added it to my config so it would be probed. The result is ALWAYS the error message 'configured irq x is not in bitmap of probed irqs' - see attached dmesg. As this card is a PnP card and gets recognized as such, I also added the PnP id to the list of PnP ids in sio.c, recompiled the whole kernel (make clean depend all) but it still does not get picked up. It shows up as 'unknown' instead. Please find attached the dmesg of the system, pnpinfo output (the ISDN modem is currently the only PnP card in this system) and the entry I put into the sio pnp table. For reference I appended the whole pnp id table from sio.c; please search for '>>>' to find the entry I added. Any help re what i am missing here greatly appreciated - my soon to be ex-employer want their ISDN router back so I'd like to get this card going as the alternative is too ugly to mention (i.e. a 33.6 modem) TIA, Timo --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pnpinfo.out" Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID USR0410 (0x10047256), Serial Number 0x3642324e PnP Version 1.0, Vendor Version 0 Device Description: USRobotics Courier I-Modem with ISDN/V.34 Logical Device ID: USR0000 0x00007256 #0 TAG Start DF Good Configuration FIXED I/O base address 0x2f8 length 0x8 IRQ: 3 - only one type (true/edge) TAG Start DF Acceptable Configuration FIXED I/O base address 0x3f8 length 0x8 IRQ: 4 - only one type (true/edge) TAG Start DF Acceptable Configuration FIXED I/O base address 0x3e8 length 0x8 IRQ: 4 - only one type (true/edge) TAG Start DF Acceptable Configuration FIXED I/O base address 0x2e8 length 0x8 IRQ: 3 - only one type (true/edge) TAG Start DF Sub-optimal Configuration FIXED I/O base address 0x3e8 length 0x8 IRQ: 3 5 7 - only one type (true/edge) TAG Start DF Sub-optimal Configuration FIXED I/O base address 0x2e8 length 0x8 IRQ: 4 5 7 - only one type (true/edge) TAG End DF End Tag Successfully got 22 resources, 1 logical fdevs -- card select # 0x0001 CSN USR0410 (0x10047256), Serial Number 0x3642324e Logical device #0 IO: 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 IRQ 3 0 DMA 4 4 IO range check 0x00 activate 0x01 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sio.c" static struct isa_pnp_id sio_ids[] = { {0x0005d041, "Standard PC COM port"}, /* PNP0500 */ {0x0105d041, "16550A-compatible COM port"}, /* PNP0501 */ {0x0205d041, "Multiport serial device (non-intelligent 16550)"}, /* PNP0502 */ {0x1005d041, "Generic IRDA-compatible device"}, /* PNP0510 */ {0x1105d041, "Generic IRDA-compatible device"}, /* PNP0511 */ /* Devices that do not have a compatid */ {0x12206804, NULL}, /* ACH2012 - 5634BTS 56K Video Ready Modem */ {0x7602a904, NULL}, /* AEI0276 - 56K v.90 Fax Modem (LKT) */ {0x00007905, NULL}, /* AKY0000 - 56K Plug&Play Modem */ {0x01405407, NULL}, /* AZT4001 - AZT3000 PnP SOUND DEVICE, MODEM */ {0x56039008, NULL}, /* BDP0356 - Best Data 56x2 */ {0x36339008, NULL}, /* BDP3336 - Best Data Prods. 336F */ {0x0014490a, NULL}, /* BRI1400 - Boca 33.6 PnP */ {0x0015490a, NULL}, /* BRI1500 - Internal Fax Data */ {0x0034490a, NULL}, /* BRI3400 - Internal ACF Modem */ {0x00b4490a, NULL}, /* BRIB400 - Boca 56k PnP */ {0x0030320d, NULL}, /* CIR3000 - Cirrus Logic V43 */ {0x0100440e, NULL}, /* CRD0001 - Cardinal MVP288IV ? */ {0x36033610, NULL}, /* DAV0336 - DAVICOM 336PNP MODEM */ {0x0000aa1a, NULL}, /* FUJ0000 - FUJITSU Modem 33600 PNP/I2 */ {0x1200c31e, NULL}, /* GVC0012 - VF1128HV-R9 (win modem?) */ {0x0303c31e, NULL}, /* GVC0303 - MaxTech 33.6 PnP D/F/V */ {0x0505c31e, NULL}, /* GVC0505 - GVC 56k Faxmodem */ {0x0050c31e, NULL}, /* GVC5000 - some GVC modem */ {0x3800f91e, NULL}, /* GWY0038 - Telepath with v.90 */ {0x9062f91e, NULL}, /* GWY6290 - Telepath with x2 Technology */ {0x0000f435, NULL}, /* MOT0000 - Motorola ModemSURFR 33.6 Intern */ {0x5015f435, NULL}, /* MOT1550 - Motorola ModemSURFR 56K Modem */ {0xf015f435, NULL}, /* MOT15F0 - Motorola VoiceSURFR 56K Modem */ {0x6045f435, NULL}, /* MOT4560 - Motorola ? */ {0x61e7a338, NULL}, /* NECE761 - 33.6Modem */ {0x0f804f3f, NULL}, /* OZO800f - Zoom 2812 (56k Modem) */ {0x39804f3f, NULL}, /* OZO8039 - Zoom 56k flex */ {0x3024a341, NULL}, /* PMC2430 - Pace 56 Voice Internal Modem */ {0x1000eb49, NULL}, /* ROK0010 - Rockwell ? */ {0x5002734a, NULL}, /* RSS0250 - 5614Jx3(G) Internal Modem */ {0x6202734a, NULL}, /* RSS0262 - 5614Jx3[G] V90+K56Flex Modem */ {0xc100ad4d, NULL}, /* SMM00C1 - Leopard 56k PnP */ {0x9012b04e, NULL}, /* SUP1290 - Supra ? */ {0x1013b04e, NULL}, /* SUP1310 - SupraExpress 336i PnP */ {0x8013b04e, NULL}, /* SUP1380 - SupraExpress 288i PnP Voice */ {0x8113b04e, NULL}, /* SUP1381 - SupraExpress 336i PnP Voice */ {0x5016b04e, NULL}, /* SUP1650 - Supra 336i Sp Intl */ {0x7016b04e, NULL}, /* SUP1670 - Supra 336i V+ Intl */ {0x7420b04e, NULL}, /* SUP2070 - Supra ? */ {0x8020b04e, NULL}, /* SUP2080 - Supra ? */ {0x8420b04e, NULL}, /* SUP2084 - SupraExpress 56i PnP */ {0x7121b04e, NULL}, /* SUP2171 - SupraExpress 56i Sp? */ {0x8024b04e, NULL}, /* SUP2480 - Supra ? */ {0x01007256, NULL}, /* USR0001 - U.S. Robotics Inc., Sportster W */ {0x02007256, NULL}, /* USR0002 - U.S. Robotics Inc. Sportster 33. */ {0x04007256, NULL}, /* USR0004 - USR Sportster 14.4k */ {0x06007256, NULL}, /* USR0006 - USR Sportster 33.6k */ {0x11007256, NULL}, /* USR0011 - USR ? */ {0x01017256, NULL}, /* USR0101 - USR ? */ >>> This entry was added {0x10047256, NULL}, /* USR0410 - USR I-modem */ <<< {0x30207256, NULL}, /* USR2030 - U.S.Robotics Inc. Sportster 560 */ {0x50207256, NULL}, /* USR2050 - U.S.Robotics Inc. Sportster 33. */ {0x70207256, NULL}, /* USR2070 - U.S.Robotics Inc. Sportster 560 */ {0x30307256, NULL}, /* USR3030 - U.S. Robotics 56K FAX INT */ {0x31307256, NULL}, /* USR3031 - U.S. Robotics 56K FAX INT */ {0x50307256, NULL}, /* USR3050 - U.S. Robotics 56K FAX INT */ {0x70307256, NULL}, /* USR3070 - U.S. Robotics 56K Voice INT */ {0x90307256, NULL}, /* USR3090 - USR ? */ {0x70917256, NULL}, /* USR9170 - U.S. Robotics 56K FAX INT */ {0x90917256, NULL}, /* USR9190 - USR 56k Voice INT */ {0x0300695c, NULL}, /* WCI0003 - Fax/Voice/Modem/Speakphone/Asvd */ {0x61f7896a, NULL}, /* ZTIF761 - Zoom ComStar 33.6 */ {0} }; --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.out" 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-STABLE #1: Sun Aug 20 09:11:56 BST 2000 root@nermal.unix-consult.com:/usr/src/sys/compile/NERMAL.SMP Timecounter "i8254" frequency 1193182 Hz CPU: Pentium Pro (232.67-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping = 9 Features=0xfbff real memory = 268435456 (262144K bytes) avail memory = 258490368 (252432K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 10 IOAPIC #0 intpin 18 -> irq 12 IOAPIC #0 intpin 19 -> irq 11 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc02de000. Pentium Pro MTRR support enabled 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 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 11 pci0: at 11.0 irq 11 sym0: <875> port 0x9400-0x94ff mem 0xe2100000-0xe2100fff,0xe2102000-0xe21020ff irq 12 at device 12.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-20, SE, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. fxp0: port 0x9800-0x981f mem 0xe2000000-0xe20fffff,0xe2101000-0xe2101fff irq 10 at device 14.0 on pci0 fxp0: Ethernet address 00:08:c7:8c:40:03 isa0: too many memory ranges 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 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: parallel port not found. unknown0: at port 0x2f8-0x2ff irq 3 on isa0 unknown1: at port 0-0xf,0x81-0x83,0x87,0x89-0x8b,0x8f-0x91,0xc0-0xdf drq 4 on isa0 unknown2: at port 0x40-0x43 irq 0 on isa0 unknown3: at port 0x70-0x71 irq 8 on isa0 unknown: can't assign resources unknown4: at port 0x61 on isa0 unknown5: at port 0xf0-0xff irq 13 on isa0 unknown6: at iomem 0xf0000-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfffff,0xcc800-0xcffff,0-0x9ffff,0xfffe0000-0xffffffff,0xfec00000-0xfec0ffff,0xfee00000-0xfee0ffff on isa0 unknown7: at port 0x4d0-0x4d1,0xcf8-0xcff,0x480-0x48f on isa0 unknown8: at port 0x208-0x20f on isa0 unknown: can't assign resources unknown: can't assign resources APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 SMP: AP CPU #1 Launched! acd0: CDROM at ata1-master using PIO4 Waiting 5 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. da0 at sym0 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: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C) da1 at sym0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da1: 2006MB (4110000 512 byte sectors: 255H 63S/T 255C) Mounting root from ufs:/dev/da0s1a da2 at sym0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 20.000MB/s transfers (20.000MHz, offset 15) da2: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C) vinum: loaded vinum: reading configuration from /dev/da2s1e vinum: updating configuration from /dev/da1s1e vinum: updating configuration from /dev/da0s1h --LZvS9be/3tNcYl/X-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message