From owner-freebsd-questions Thu Feb 1 17:36:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.prw.net (mail.prw.net [208.249.78.4]) by hub.freebsd.org (Postfix) with ESMTP id AC44B37B65D for ; Thu, 1 Feb 2001 17:35:49 -0800 (PST) Received: from twistor.twistor.org [204.251.220.210] by mail.prw.net with ESMTP (SMTPD32-6.05) id AEEC2924012E; Thu, 01 Feb 2001 21:35:40 -0400 Received: (from nieves@localhost) by twistor.twistor.org (8.11.1/8.11.1) id f121YFu05906; Thu, 1 Feb 2001 21:34:15 -0400 (AST) (envelope-from nieves) Date: Thu, 1 Feb 2001 21:34:15 -0400 (AST) From: "Jose F. Nieves" Message-Id: <200102020134.f121YFu05906@twistor.twistor.org> To: freebsd-questions@freebsd.org Subject: internal pci modem hints Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello: I have seen many messages about the problem of configuring a pci modem in FreeBSD, and in particular a few about the ``US Robotics 56K Performance Pro Modem''. I am using this modem with FreeBSD 4.2, and maybe the following information is useful to those who are having problems with that and similar modems. My system has a TYAN (S2390) motherboard: 1 AGP 6 PCI 1 ISA (shared with one PCI) I have a 4-port serial card in the ISA slot, and the following in four of the five available PCI slots - ethernet - modem - sound - scsi in that order, from top to bottom. When installed the modem, it was always recognized without doing anything in particular to the kernel. Originally, I had configured and enabled sio0 and sio1 as usual, then sio3-6 for the 4-port serial card, and sio2 was configured but disabled. The boot message that I was receiving regarding the modem was similar to one below (look at the three lines that I have marked with '-->'), but with ``sio0: moving to sio7'' instead of ``sio0: moving to sio2''. However, the modem was not working. I could not talk to the modem via cu -l /dev/cuaa7 (after making MAKEDEV cuaa7). Then I recompiled the kernel with the sio2 lined commented out, and the boot message regarding the modem became as it appears now, which is included below. Still, I could not talk to the modem, but it was obvious that the modem was being recognized. Then I took all the PCI cards out of the machine, rebooted, and finally I could talk to the modem, normally. I dialed out, used ppp, whatever. The modem is supported in FreeBSD 4.2. The problem was some sort of conflict with the other cards. I started by installing the remaining cards one by one, rebooting and trying the modem until I hit the problem again. At that point the BIOS was assigning the same IRQ to some of them, including the modem and the video card. Therefore, it is a question of going to the BIOS and make sure that it assigns a unique IRQ, at least to the modem, since FreeBSD uses whatever the BIOS decides to assign. The problem was solved for me when I disabled the IRQ assigment to the video card. I hope this is helpful to some. The following is the current boot message. Regards Jose. F Nieves Preloaded elf kernel "kernel" at 0xc049f000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc049f09c. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd800-0xd81f irq 10 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered rl0: port 0xdc00-0xdc7f mem 0xd7000000-0xd700007f irq 11 at device 8.0 on pci0 rl0: Ethernet address: 00:e0:7d:00:98:fa miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto -->>sio0: <3COM PCI FaxModem> port 0xe000-0xe007 irq 9 at device 9.0 on pci0 -->>sio0: moving to sio2 -->>sio2: type 16550A pcm0: port 0xe400-0xe43f irq 10 at device 10.0 on pci0 sym0: <810a> port 0xe800-0xe8ff mem 0xd7001000-0xd70010ff irq 11 at device 11.0 on pci0 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking pcib1: on motherboard pci2: on pcib1 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> 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 sio3: configured irq 7 not in bitmap of probed irqs 0 sio3 at port 0x2e8-0x2ef irq 7 flags 0x20000 on isa0 sio3: type ST16650A sio4 at port 0x2f0-0x2f7 flags 0x20000 on isa0 sio4: type ST16650A sio5 at port 0x3e0-0x3e7 flags 0x20000 on isa0 sio5: type ST16650A sio6 at port 0x2e0-0x2e7 flags 0x20000 on isa0 sio6: type ST16650A ppc0: at port 0x378-0x37f on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Polled port ppi0: on ppbus0 ad0: 19458MB [39535/16/63] at ata0-master UDMA66 acd0: CDROM at ata1-master using PIO4 Waiting 15 seconds for SCSI devices to settle sa0 at sym0 bus 0 target 3 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 5.000MB/s transfers (5.000MHz, offset 8) Mounting root from ufs:/dev/ad0s1a To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message