Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Oct 1997 11:32:19 +0200
From:      Miroslav Kes <mira@rockwell.cz>
To:        freebsd-questions@freebsd.org
Subject:   2.2.2: wdc0 not found at 0x1f0 :-(
Message-ID:  <343B5323.527891DB@rockwell.cz>

next in thread | raw e-mail | index | archive | help
Hello,

I have PC with PCI bus and (among others) onboard IDE hard disk
controller. There is only one device connected to it - ACER 16x CDROM.
It is set as the master on that controller. My hard drives are SCSI and
there is no problem. Everything goes OK during startup but the FreeBSD
(2.2.2 from Walnut Creek CDROM) cannot find the wdc0 controller: 

jean:/usr/home/mira> dmesg
Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights
reserved.

FreeBSD 2.2.2-RELEASE #0: Wed Oct  8 10:32:47 CEST 1997
    root@jean.research.rockwell.cz:/usr/src/sys/compile/LOCAL
CPU: Pentium Pro (198.67-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping=9
 
Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 33554432 (32768K bytes)
avail memory = 30560256 (29844K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0
fxp0 <Intel EtherExpress Pro 10/100B Ethernet> rev 2 int a irq 10 on
pci0:10
fxp0: Ethernet address 00:a0:c9:55:f1:62
ahc0 <Adaptec aic7880 Ultra SCSI host adapter> rev 0 int a irq 11 on
pci0:13
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "SEAGATE ST32155N 0594" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 2049MB (4197405 512 byte sectors)
(ahc0:1:0): "SEAGATE ST32155N 0594" type 0 fixed SCSI 2
sd1(ahc0:1:0): Direct-Access 2049MB (4197405 512 byte sectors)
(ahc0:5:0): "WangDAT Model 3100 02.2" type 1 removable SCSI 2
st0(ahc0:5:0): Sequential-Access density code 0x13,  drive empty
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:18:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:18:1
vga0 <VGA-compatible display device> rev 34 on pci0:20
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 9 on isa
ed0: address 00:40:05:29:62:ca, type NE2000 (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
npx0 flags 0x1 on motherboard
npx0: INT 16 interface

Originaly, I got this PC with the OEM Windows NT 4.0 server installed.
Before I started installation of the FreeBSD, which is now the only one
operating system on that machine, I checked the installed hardware and
drivers in the NT and I found the CDROM on:
"IDE CD-ROM (ATAPI 1.2) Dual channel PCI IDE 1F0-1F7 IRQ 14"
>From this point of view the I/O address seems to be correct. 
Does anybody have idea how can I solve this problem?

Thanks

Mira


-----------------------------------------------------------
|                     Miroslav Kes                        |
|---------------------------------------------------------| 
| Rockwell Automation Ltd.   | tel.:   (+420) 2 2425 6913 | 
| Research Center Prague     | fax:    (+420) 2 250467    |
| Americka 22                | e-mail: mira@rockwell.cz   |
| 120 00 Praha 2 - Vinohrady |                            |
| Czech Republic             |                            |
-----------------------------------------------------------


P.S.
My kernel configuration file looks like this:

machine         "i386"
cpu             "I686_CPU"
ident           LOCAL
maxusers        20

#options                MATH_EMULATE            #Support for x87
emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP
THIS!]
options         SYSVSHM
options         SCSI_DELAY=15           #Be pessimistic about Joe SCSI
device
options         BOUNCE_BUFFERS          #include support for DMA bounce
buffers
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor

config          kernel  root on sd0

controller      isa0
controller      pci0

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

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

#controller     wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
#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
device          wcd0            #IDE CD-ROM

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
controller      ahc0

controller      scbus0

device          sd0
#device         od0     #See LINT for possible `od' options.
device          st0
#device         cd0     #Only need one of these, the code dynamically
grows

#device         wt0     at isa? port 0x300 bio irq 5 drq 1 vector wtintr

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa? port "IO_KBD" tty irq 1 vector pcrint
#options                PCVT_FREEBSD=210        # pcvt running on
FreeBSD >= 2.0.5

options         XSERVER                 # include code for XFree86
#options                FAT_CURSOR              # start with block
cursor

# Mandatory, don't remove
device          npx0    at isa? port "IO_NPX" flags 0x1 irq 13 vector
npxintr

device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr
#device         sio2    at isa? disable port "IO_COM3" tty irq 5 vector
siointr
#device         sio3    at isa? disable port "IO_COM4" tty irq 9 vector
siointr

device          lpt0    at isa? port? tty irq 7 vector lptintr
#device         lpt1    at isa? port? tty
#device         mse0    at isa? port 0x23c tty irq 5 vector mseintr

device          psm0    at isa? port "IO_KBD" conflicts tty irq 12
vector psmintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device de0
device fxp0
#device vx0

device ed0 at isa? port 0x300 net irq  9 iomem 0xd8000 vector edintr

pseudo-device   loop
pseudo-device   ether
pseudo-device   log
#pseudo-device  sl      1
# ijppp uses tun instead of ppp device
#pseudo-device  ppp     1
pseudo-device   vn      1
#pseudo-device  tun     1
pseudo-device   pty     16
pseudo-device   bpfilter 2
pseudo-device   gzip            # Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options         KTRACE          #kernel tracing



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?343B5323.527891DB>