Inconsistent behavior from PCI modem

From: W. Michael Petullo (mike@flyn.org)
Date: Sat Jul 29 2000 - 17:15:19 EST


Summary: serial autoconfig sometimes fails.

I am using a Modem made by a company called Actiontec which they call
the 56K Internal PCI Call Waiting Modem. My serial driver is compiled
as a module, and has been giving me irregular behavior. Inserting the
module results in one of three things:

1. The modem is detected successfully.
2. The modem is detected but with only a 8250 UART.
3. The modem is not detected and an autoconfig failed message is logged:
   Jul 29 17:53:12 dragon kernel: Serial driver version 5.01 (2000-05-29)
   with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
   Jul 29 17:53:12 dragon kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
   Jul 29 17:53:12 dragon kernel: register_serial(): autoconfig failed

Here is a log of a successful insmod:
Jul 27 20:13:48 dragon kernel: Serial driver version 5.01 (2000-05-29) with
MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Jul 27 20:13:48 dragon kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Jul 27 20:13:48 dragon kernel: ttyS04 at port 0xd400 (irq = 5) is a 1655

I have not found any pattern in the order these occur.

I noticed a remark at some point that some serial cards are not working
perfectly in 2.4.0 yet, so I am hoping that I can provide some information
that would be useful.

I am using kernel version 2.4.0-test5.

/proc/pci:
PCI devices found:
  Bus 0, device 0, function 0:
    Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 35).
      Master Capable. Latency=160.
      Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
      Prefetchable 32 bit memory at 0xeddff000 [0xeddfffff].
      I/O at 0xd800 [0xd803].
  Bus 0, device 1, function 0:
    PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 1).
      Master Capable. Latency=160. Min Gnt=10.
  Bus 0, device 3, function 0:
    SCSI storage controller: Adaptec AIC-7881U (rev 1).
      IRQ 10.
      Master Capable. Latency=160. Min Gnt=8.Max Lat=8.
      I/O at 0xdc00 [0xdcff].
      Non-prefetchable 32 bit memory at 0xeffff000 [0xefffffff].
  Bus 0, device 4, function 0:
    Multimedia video controller: Brooktree Corporation Bt878 (rev 2).
      IRQ 9.
      Master Capable. Latency=160. Min Gnt=16.Max Lat=40.
      Prefetchable 32 bit memory at 0xeddfd000 [0xeddfdfff].
  Bus 0, device 4, function 1:
    Multimedia controller: Brooktree Corporation Bt878 (rev 2).
      IRQ 9.
      Master Capable. Latency=160. Min Gnt=4.Max Lat=255.
      Prefetchable 32 bit memory at 0xeddfe000 [0xeddfefff].
  Bus 0, device 6, function 0:
    Communication controller: Lucent Microelectronics Venus Modem (V90, 56KFlex) (rev 0).
      IRQ 5.
      Master Capable. No bursts. Min Gnt=252.Max Lat=14.
      Non-prefetchable 32 bit memory at 0xefffef00 [0xefffefff].
      I/O at 0xd400 [0xd4ff].
      I/O at 0xd000 [0xd0ff].
      I/O at 0xcc00 [0xcc07].
  Bus 0, device 7, function 0:
    ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev 21).
  Bus 0, device 7, function 1:
    IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 6).
      Master Capable. Latency=32.
      I/O at 0xffa0 [0xffaf].
  Bus 0, device 7, function 4:
    SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 16).

/proc/ioports:
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0378-037a : parport0
03c0-03df : vesafb
03f8-03ff : serial(auto)
0400-040f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
0cf8-0cff : PCI conf1
5000-50ff : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
6000-607f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
8000-8fff : PCI Bus #01
c800-c83f : Ensoniq ES1370 [AudioPCI]
  c800-c83f : es1370
cc00-cc07 : Lucent Microelectronics Venus Modem (V90, 56KFlex)
d000-d0ff : Lucent Microelectronics Venus Modem (V90, 56KFlex)
d400-d4ff : Lucent Microelectronics Venus Modem (V90, 56KFlex)
  d400-d407 : serial(auto)
d800-d803 : Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller
dc00-dcff : Adaptec AIC-7881U
  dc00-dcfe : aic7xxx
ffa0-ffaf : VIA Technologies, Inc. VT82C586 IDE [Apollo]

-- 
W. Michael Petullo

:wq

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:31 EST