Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2001 21:34:15 -0400 (AST)
From:      "Jose F. Nieves" <nieves@ltp.upr.clu.edu>
To:        freebsd-questions@freebsd.org
Subject:   internal pci modem hints
Message-ID:  <200102020134.f121YFu05906@twistor.twistor.org>

next in thread | raw e-mail | index | archive | help
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1106 device=0583)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <ATI Mach64-GD graphics accelerator> at 0.0
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 7.3 on pci0
usb1: <VIA 83C572 USB controller> 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: <RealTek 8139 10/100BaseTX> port 0xdc00-0xdc7f mem 0xd7000000-0xd700007f irq 11 at device 8.0 on pci0
rl0: Ethernet address: 00:e0:7d:00:98:fa
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> 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: <AudioPCI ES1371> 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: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
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>
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: <Parallel port> at port 0x378-0x37f on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> on ppbus0
ad0: 19458MB <ST320420A> [39535/16/63] at ata0-master UDMA66
acd0: CDROM <FX4820T> at ata1-master using PIO4
Waiting 15 seconds for SCSI devices to settle
sa0 at sym0 bus 0 target 3 lun 0
sa0: <HP HP35480A T503> 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




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