Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 14:11:48 -0500
From:      Matt Penna <mdp1261@ritvax.isc.rit.edu>
To:        freebsd-questions@freebsd.org
Cc:        g00ru <g00ru@cyberedge.net>
Subject:   Re: Adaptec 62044
Message-ID:  <5.1.0.14.2.20020326130028.039b88f0@vmspop.isc.rit.edu>
In-Reply-To: <000d01c1d442$c0d02100$d120a8c0@corp.cyberedge.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 03:19 PM 3/25/02 -0600, g00ru wrote:
>Hello I am having some problems with an Adaptec 62044 network card (quad
>NIC), the first three interfaces initialize but then the last fails. I
>have compiled in the starfire driver with my kernel using the line:
>device          sf              # Adaptec AIC-6915 (``Starfire'')
>The hardware platform is on a IBM Netfinity 4000R. I have disabled any
>PnP options in the bios and have also disabled floppy and com ports.

Dave,

I do not have one of those NICs, but I do own a Netfinity 7000 - a quad 
Pentium Pro - and had some similar problems getting devices to work as 
expected. A number of problems with this machine disappeared when I 
installed 4.4-Release. No release from the the 3.x branch - at least none 
that I tried - would work properly on the Netfinity. I see you're running 
4.5-Release and am therefore a little surprised that you're having these 
problems. Judging from your dmesg, your problems are at least somewhat 
similar to mine. E.g., "MP table broken," "APIC entry missing," etc. I do 
not know why your quad-port NIC is not sharing IRQs.

My suggestion is to check the settings in your BIOS. I tried various 
settings on my Netfinity and have found the ones that work, largely through 
trial and error.  You said you've set the PnP OS to "None," which I also 
found to be necessary. If your 4000R also allows you to set options for 
various I/O operations, make sure you have the second I/O APIC enabled, in 
addition to routing I/O through the I/O APIC instead of "Default."

I'm not sure I can suggest anything further, as I didn't have to do much 
else to resolve my problems beyond moving to the 4.x branch. After I gave 
up on the 3.x branch, the machine ran Win2k Server for a year or so.

I did not have to disable any hardware on the machine; floppy and COM ports 
are enabled and - as far as I can tell - fully functional. One thing I 
noticed about my Netfinity 7000 is that a GENERIC kernel won't even boot 
with the second IO APIC enabled and/or IO routed through the APIC - I 
needed to disable these options, run through the install, then compile a 
custom SMP kernel before re-enabling them. You seem to be running a custom 
kernel already, so I don't think that's an issue, either. (Unless you 
happened to comment out something necessary for SMP operation.)

Just for your reference, my kernel config and dmesg for 4.5-Release are 
below; it may give you ideas as to what you can try. Best of luck!

         Matt

P.S. Make sure you have the latest BIOS for your server. If you still can't 
get it working, I'd suggest asking one of the technical lists.
--
Copyright (c) 1992-2002 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.5-RELEASE #0: Fri Mar  8 15:21:08 EST 2002
     matt@:/usr/src/sys/compile/KINGMAX
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium Pro (198.95-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
   Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 268435456 (262144K bytes)
avail memory = 257945600 (251900K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard
  cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfec08000
  cpu1 (AP):  apic id:  4, version: 0x00040011, at 0xfec08000
  cpu2 (AP):  apic id:  1, version: 0x00040011, at 0xfec08000
  cpu3 (AP):  apic id:  2, version: 0x00040011, at 0xfec08000
  io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000
  io1 (APIC): apic id: 13, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc0337000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82454KX/GX (Orion) host to PCI bridge> on motherboard
IOAPIC #1 intpin 2 -> irq 2
pci0: <PCI bus> on pcib0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xfc80-0xfcff mem 
0xfeaffc00-0xfeaffc7f irq 2 at device 13.0 on pci0
xl0: Ethernet address: 00:50:04:a5:5f:1d
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <Intel 82375EB PCI-EISA bridge> at device 14.0 on pci0
eisa0: <EISA bus> on isab0
mainboard0: <INT31c0 (System Board)> on eisa0 slot 0
isa0: <ISA bus> on isab0
chip0: <> mem 
0xfffffc00-0xffffffff,0xfffffc00-0xffffffff,0xfffffc00-0xffffffff,0xfffffc00-0xffffffff,0xfffffc00-0xffffffff,0xfec01000-0xfec013ff 
at device 15.0 on pci0
chip1: <Intel 82453KX/GX (Orion) PCI memory controller> at device 20.0 on pci0
pcib1: <Intel 82454KX/GX (Orion) host to PCI bridge> on motherboard
IOAPIC #1 intpin 12 -> irq 16
IOAPIC #1 intpin 13 -> irq 17
pci1: <PCI bus> on pcib1
ahc0: <Adaptec aic7880 Ultra SCSI adapter> port 0xec00-0xecff mem 
0xfe8ff000-0xfe8fffff irq 16 at device 11.0 on pci1
ahc0: Using left over BIOS settings
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7880 Ultra SCSI adapter> port 0xe800-0xe8ff mem 
0xfe8fe000-0xfe8fefff irq 17 at device 12.0 on pci1
ahc1: Using left over BIOS settings
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs
orm0: <Option ROMs> at iomem 
0xc0000-0xc7fff,0xc8000-0xccfff,0xcd000-0xd1fff,0xe8000-0xe9fff,0xea000-0xebfff,0xec000-0xeffff 
on isa0
fdc0: <NEC 72065B or clone> 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
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 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
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
acd0: CDROM <CD-ROM CDU511-F> at ata0-master using BIOSPIO
Waiting 5 seconds for SCSI devices to settle
pass3 at ahc0 bus 0 target 15 lun 0
pass3: <SDR GEM200 2> Fixed Processor SCSI-2 device
pass3: 3.300MB/s transfers
pass6 at ahc1 bus 0 target 15 lun 0
pass6: <SDR GEM200 2> Fixed Processor SCSI-2 device
pass6: 3.300MB/s transfers
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM-PSG DMVS09D       !# 01B0> Fixed Direct Access SCSI-3 device
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 8678MB (17774160 512 byte sectors: 64H 32S/T 8678C)
da2 at ahc0 bus 0 target 3 lun 0
da2: <IBM DRHS36D 0110> Fixed Direct Access SCSI-3 device
da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da2: 35239MB (72170879 512 byte sectors: 64H 32S/T 35239C)
da4 at ahc1 bus 0 target 1 lun 0
da4: <IBM-PSG DMVS09D       !# 01B0> Fixed Direct Access SCSI-3 device
da4: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da4: 8678MB (17774160 512 byte sectors: 64H 32S/T 8678C)
Mounting root from ufs:/dev/da0s1a
da3 at ahc1 bus 0 target 0 lun 0
da3: <IBM-PCCO DDRS-34560Y   !# S97B> Fixed Direct Access SCSI-2 device
da3: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da3: 4303MB (8813870 512 byte sectors: 64H 32S/T 4303C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM-PCCO DDRS-34560Y   !# S97B> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4303MB (8813870 512 byte sectors: 64H 32S/T 4303C)
--
machine         i386
cpu             I686_CPU
ident           KINGMAX
maxusers        0

#makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_DIRHASH             #Improve performance on big directories
options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MD is a potential root device
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, NFS 
required
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options         CD9660_ROOT             #CD-ROM usable as root, CD9660 required
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=5000         #Delay (in ms) before probing SCSI
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

device          isa
device          eisa
device          pci

device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0

device          ata0    at isa? port IO_WD1 irq 14
device          ata
device          atapicd                 # ATAPI CDROM drives
options         ATA_STATIC_ID           #Static device numbering

device          ahc             # AHA2940 and onboard AIC7xxx devices
device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)

device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12
device          vga0    at isa?
pseudo-device   splash
device          sc0     at isa? flags 0x100
device          npx0    at nexus? port IO_NPX irq 13
device          apm0    at nexus? disable flags 0x20 # Advanced Power 
Management

# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3

# Parallel port
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device
device          miibus          # MII bus support
device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   sl      1       # Kernel SLIP
pseudo-device   ppp     1       # Kernel PPP
pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"
pseudo-device   gif             # IPv6 and IPv4 tunneling
pseudo-device   faith   1       # IPv6-to-IPv4 relaying (translation)
pseudo-device   bpf             #Berkeley packet filter



--
Matt Penna                                      mdp1261@rit.edu
ICQ: 399825                                     S0ba on AOLIM
         "The trouble with computers, of course, is
         that they're very sophisticated idiots." -Dr. Who


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?5.1.0.14.2.20020326130028.039b88f0>