Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2000 13:16:06 -0500
From:      "Gregory Stark" <gregory_stark@hotmail.com>
To:        <freebsd-questions@FreeBSD.ORG>, <freebsd-hardware@FreeBSD.ORG>
Subject:   PnP PCI Modem
Message-ID:  <20000205181618.38987.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
I apologize for the length of this e-mail, but I wanted to include all the
information I had on my problem. I am unsuccessfully trying to talk to a PCI
V.90 modem which I assume is a PnP modem. I am currently running a custom
kernel 3.2-Release which has the isa0, pnp0, and pci0 controllers. I'll
append the config file to this e-mail.

The modem is an OEM 3com model 3CP2977 of which I can find absolutely no
information. The motherboard is an ASUS P3B-F. The other peripherals in the
system are:
    1 IDE Hard Drive
    1 IDE CD-ROM driver
    1 Floppy drive
    1 AGP Video card
    1 ISA PnP Sound card

I have tried using the PPP command in term mode to talk to the modem with
absolutely no success. I have set the device to each of the cuaa<X> values.
In fact, the system seems to find almost no evidence of the modem's
existence.  Here is the output from running pnpinfo:

############### begin pnpinfo output ###############
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID CTL00f0 (0xf0008c0e), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 16
Device Description: Creative ViBRA16X PnP

Logical Device ID: CTL0043 0x43008c0e #0
Device Description: Audio
TAG Start DF
Good Configuration
    IRQ: 5  - only one type (true/edge)
    DMA: channel(s) 1
 8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10
 [16-bit addr]
    I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2
 [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 [16-bit addr]
    I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
 [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 [16-bit addr]
    I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 [16-bit addr]
TAG Start DF
Sub-optimal Configuration
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 [16-bit addr]
    I/O Range 0x300 .. 0x330, alignment 0x10, len 0x2
 [16-bit addr]
    I/O Range 0x388 .. 0x394, alignment 0x4, len 0x4
 [16-bit addr]
TAG Start DF
Sub-optimal Configuration
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 [16-bit addr]
TAG End DF

Logical Device ID: CTL7005 0x05708c0e #1
Compatible Device ID: PNPb02f (2fb0d041)
Device Description: Game
TAG Start DF
Good Configuration
    I/O Range 0x201 .. 0x201, alignment 0x1, len 0x1
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x200 .. 0x20f, alignment 0x1, len 0x1
 [16-bit addr]
TAG End DF
End Tag

Successfully got 48 resources, 2 logical fdevs
-- card select # 0x0001

CSN CTL00f0 (0xf0008c0e), Serial Number 0xffffffff

Logical device #0
IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x00

Logical device #1
IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x00
############### end pnpinfo output ###############





I assume all the pnpinfo output is referring to the sound card in the ISA
slot. Now here is the some of the output from booting verbosely:






############### begin boot -v output ###############
avail memory = 127836160 (124840K bytes)
Found BIOS32 Service Directory header at 0xc00f92a0
Entry = 0xf06b0 (0xc00f06b0)  Rev = 0  Len = 1
PCI BIOS entry at 0x8b0
SMIBIOS header at 0xc00f1f40
Version 2.3
Table at 0xf1f70, 44 entries, 1314 bytes, largest entry 93 bytes
DMI header at 0xc00f1f50
Version 2.3
Table at 0xf1f70, 44 entries, 1314 bytes
Other BIOS signatures found:
ACPI: 00000000
$PnP: 000fc310
Preloaded elf kernel "kernel" at 0xc029d000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc029d09c.
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086)
Probing for devices on PCI bus 0:
found-> vendor=0x8086, dev=0x7190, revid=0x03
 class=06-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 map[0]: type 3, range 32, base e4000000, size 26
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
found-> vendor=0x8086, dev=0x7191, revid=0x03
 class=06-04-00, hdrtype=0x01, mfdev=0
 subordinatebus=1  secondarybus=1
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
found-> vendor=0x8086, dev=0x7110, revid=0x02
 class=06-01-00, hdrtype=0x00, mfdev=1
 subordinatebus=0  secondarybus=0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
found-> vendor=0x8086, dev=0x7111, revid=0x01
 class=01-01-80, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 map[0]: type 4, range 32, base 0000d800, size  4
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.4.1
intel_piix_status: primary master sample = 3, master recovery = 1
intel_piix_status: primary master fastDMAonly disabled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
intel_piix_status: primary slave sample = 3, slave recovery = 1
intel_piix_status: primary slave fastDMAonly disabled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
ide_pci: busmaster 0 status: 64 from port: 0000d802
ide_pci: ide0:0 has been configured for DMA by BIOS
ide_pci: ide0:1 has been configured for DMA by BIOS
intel_piix_status: secondary master sample = 5, master recovery = 4
intel_piix_status: secondary master fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
intel_piix_status: secondary slave sample = 5, slave recovery = 4
intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
ide_pci: busmaster 1 status: 04 from port: 0000d80a
found-> vendor=0x8086, dev=0x7112, revid=0x01
 class=0c-03-00, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 intpin=d, irq=9
 map[0]: type 4, range 32, base 0000d400, size  5
found-> vendor=0x8086, dev=0x7113, revid=0x02
 class=06-80-00, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
found-> vendor=0x12b9, dev=0x1008, revid=0x01
 class=07-00-02, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 intpin=a, irq=255
 map[0]: type 4, range 32, base 0000d000, size  3
Probing for devices on PCI bus 1:
found-> vendor=0x102b, dev=0x0521, revid=0x03
 class=03-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 intpin=a, irq=11
 map[0]: type 3, range 32, base e3000000, size 24
 map[1]: type 1, range 32, base e2000000, size 14
 map[2]: type 1, range 32, base e1800000, size 23
vga0: <Matrox model 0521 graphics accelerator> rev 0x03 int a irq 11 on
pci1.0.0
Initializing PnP override table
Probing for PnP devices:
Trying Read_Port at 203
PnP: CSN 1 COMP_DEVICE_ID = 0x2fb0d041
CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff Comp ID: PNPb02f
[0x2fb0d041]
Called nullpnp_probe with tag 0x00000001, type 0xf0008c0e
Called nullpnp_probe with tag 0x00000001, type 0x2fb0d041
Probing for devices on the ISA bus:
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
sc0 on isa
sc0: fb0 kbd0
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 90 03 3c
psm: status 90 03 3c
psm: status 90 03 3c
psm: status 00 00 3c
psm: data 08 00 00
psm: data 08 00 00
psm: status 00 02 64
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0, 3 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <IBM-DJNA-371350>
wd0: 12949MB (26520480 sectors), 26310 cyls, 16 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0007, dmamword = 0007, apio = 0003, udma = 041f
wdc0: unit 1 (atapi): <TOSHIBA CD-ROM XM-6602B/1017>, removable, accel, dma,
iordis
wdc0: ATAPI CD-ROMs not configured
wdc1 not found at 0x170
ppc: parallel port found at 0x378
ppc: chipset forced to generic
ppc0: ECP SPP ECP+EPP SPP
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip: irq 7
plip0: <PLIP network interface> on ppbus 0
bpf: lp0 attached
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0x0 size:0k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
npx0 on motherboard
npx0: INT 16 interface
apm0: disabled, not probed.
sb_reset_dsp failed
sb0 not found at 0x220
imasks: bio c0084040, tty c003101a, net c0060080
BIOS Geometries:
0:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
1:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
2:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
3:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
4:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
5:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
6:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
7:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
0 accounted for
Device configuration finished.
IP packet filtering initialized, divert disabled, rule-based forwarding
enabled, default to accept, logging limited to 100 packets/entry
bpf: tun0 attached
bpf: ppp0 attached
bpf: ppp1 attached
new masks: bio c0084040, tty c003101a, net c007109a
bpf: lo0 attached
Considering MFS root f/s.
No MFS image available as root f/s.
Considering FFS root f/s.
changing root device to wd0s1a
wd0s1: type 0xa5, start 63, end = 26520479, size 26520417 : OK
############### end boot -v output ###############



I don't really know how to interpret all this but I don't see any evidence
of the modem being recognized here. The final diagnostic I tried was running
pnpscan at the boot prompt. This output is transcribed rather than verbatim.



############### begin pnpscan -v output ###############
probing Pnp bios
probing ISA bus
probing PCI bios

pnp0401
pnp0501
pnp0501
pnp0700
pnp0f13
pnp0c01
pnp0000
pnp0100
pnp0b00
pnp0303
pnp0c04
pnp0200
pnp0800
pnp0a03
pnp0c02

ctl00f0:creative Vibra16x pnp

found

 71118086: IDE controller
0521102b: VGA display
100812b9: 16550 serial controller
71128086: USB controller



############### end pnpscan -v output ###############


I thought perhaps the "100812b9: 16550 serial controller" might have been
the only hint that freebsd saw my modem. Can anybody confirm this?

Any help out there? If I have to, I'll just buy an external modem, but I
don't want to.


Greg Stark
securityguides llc
greg@securityguides.com
www.securityguides.com


##################begin kernel config file#############
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/>;
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $Id: GENERIC,v 1.143.2.12 1999/05/14 15:12:26 jkh Exp $

machine  "i386"
cpu  "I686_CPU"
ident  MORGAN
maxusers 32

options  INET   #InterNETworking
options  FFS   #Berkeley Fast Filesystem
options  FFS_ROOT  #FFS usable as root device [keep this!]
options  MFS   #Memory Filesystem
options  MFS_ROOT  #MFS usable as root device, "MFS" req'ed
options  NFS   #Network Filesystem
options  NFS_ROOT  #NFS usable as root device, "NFS" req'ed
options  "CD9660"  #ISO 9660 Filesystem
options  "CD9660_ROOT"  #CD-ROM usable as root. "CD9660" req'ed
options  PROCFS   #Process filesystem
options  "COMPAT_43"  #Compatible with BSD 4.3 [KEEP THIS!]
options  SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
options  UCONSOLE  #Allow users to grab the console
options  USERCONFIG  #boot -c editor
options  VISUAL_USERCONFIG #visual boot -c editor

config  kernel root on wd0


controller isa0
controller pnp0
controller pci0

controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2
disk  fd0 at fdc0 drive 0
disk  fd1 at fdc0 drive 1

controller wdc0 at isa? port "IO_WD1" bio irq 14
disk  wd0 at wdc0 drive 0
disk  wd1 at wdc0 drive 1

controller wdc1 at isa? port "IO_WD2" bio irq 15
disk  wd2 at wdc1 drive 0
disk  wd3 at wdc1 drive 1

options  ATAPI  #Enable ATAPI support for IDE bus
options  ATAPI_STATIC #Don't do it as an LKM


# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller atkbdc0 at isa? port IO_KBD tty
device  atkbd0 at isa? tty irq 1
device  psm0 at isa? tty irq 12

device  vga0 at isa? port ? conflicts

# splash screen/screen saver
pseudo-device splash

# syscons is the default console driver, resembling an SCO console
device  sc0 at isa? tty
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device  vt0 at isa? tty
#options  XSERVER   # support for X server
#options  FAT_CURSOR  # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT
lines
#options  PCVT_SCANSET=2  # IBM keyboards are non-std

device  npx0 at isa? port IO_NPX irq 13

#
# Laptop support (see LINT for more options)
#
device  apm0    at isa? disable flags 0x31 # Advanced Power Management

#
# `flags' for serial drivers that support consoles (only for sio now):
# 0x10 enable console support for this unit.  The other console flags
#  are ignored unless this is set.  Enabling console support does
#  not make the unit the preferred console - boot with -h or set
#  the 0x20 flag for that.  Currently, at most one unit can have
#  console support; the first one (in config file order) with
#  this flag set is preferred.  Setting this flag for sio0 gives
#  the old behaviour.
# 0x20 force this unit to be the console (unless there is another
#  higher priority console).  This replaces the COMCONSOLE option.
# 0x40 reserve this unit for low level console operations.  Do not
#  access the device in any normal way.
#
# PnP `flags' (set via userconfig using pnp x flags y)
# 0x1 disable probing of this device.  Used to prevent your modem
#  from being attached as a PnP modem.
#

device  sio0 at isa? port "IO_COM1" tty irq 4
device  sio1 at isa? port "IO_COM2" tty irq 3

# Parallel port
device  ppc0 at isa? port? flags 0x40 net irq 7
controller ppbus0
device  lpt0 at ppbus?
device  plip0 at ppbus?
device  ppi0 at ppbus?

controller snd0
device sb0      at isa? port 0x220 irq 5 drq 1
#device sbxvi0   at isa? drq 5
#device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0
#device opl0     at isa? port 0x388


pseudo-device loop
pseudo-device ether
pseudo-device ppp 2
pseudo-device tun 1
pseudo-device pty 16
pseudo-device bpfilter 4
pseudo-device gzip  # Exec gzipped a.out's

options  PPP_BSDCOMP
options  PPP_DEFLATE
options  PPP_FILTER
# This provides support for System V shared memory and message queues.
#
options  SYSVSHM
options  SYSVMSG
options  SYSVSEM


options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
     # dropped packets
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options  "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
options  IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default

options         "ICMP_BANDLIM"
################## end kernel config file #############




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




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