Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 22:00:05 -0700 (PDT)
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/39449: wierd ata status
Message-ID:  <200206180500.g5I505C23294@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/39449; it has been noted by GNATS.

From: "Crist J. Clark" <crist.clark@attbi.com>
To: j_guojun@lbl.gov
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/39449: wierd ata status
Date: Mon, 17 Jun 2002 21:46:53 -0700

 On Mon, Jun 17, 2002 at 05:28:21PM -0700, Jin Guojun wrote:
 [snip]
 
 > cat /sys/i386/config/USER_CONFIG
 > ...
 > # ATA and ATAPI devices
 > device          ata0    at isa? port IO_WD1 irq 14
 > #device         ata1    at isa? port IO_WD2 irq 15
                              ^^^
 This is for an ISA device.
 
 > device          ata
 
 This enables the PCI probe for ata(4) devices.
 
 > device          atadisk                 # ATA disk drives
 > device          atapicd                 # ATAPI CDROM drives
 > device          atapifd                 # ATAPI floppy drives
 > device          atapist                 # ATAPI tape drives
 > options         ATA_STATIC_ID           #Static device numbering
 > ...
 > 
 > 
 > IDE controller 1 has been disabled at both BIOS and kernel configuration,
 > and kernel config says:
 > 	config> di ata1
 > 	No such device: ata1
 
 Again, this only will enable and disable ISA devices.
 
 > but ata1 still shows up during the boot.
 > What is the real story -- is ata1 really configured or not?
 > 
 > config> di ata1
 > No such device: ata1
 > Invalid command or syntax.  Type `?' for help.
 > config> q
 > avail memory = 125730816 (122784K bytes)
 > Preloaded elf kernel "kernel" at 0xc04c5000.
 > Preloaded userconfig_script "/boot/kernel.conf" at 0xc04c509c.
 > Pentium Pro MTRR support enabled
 > md0: Malloc disk
 > Using $PIR table, 5 entries at 0xc00f0d10
 > npx0: <math processor> on motherboard
 > npx0: INT 16 interface
 > pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 > pci0: <PCI bus> on pcib0
 > pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 > pci1: <PCI bus> on pcib1
 > isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 > isa0: <ISA bus> on isab0
 > atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
 
 And your ata1 is a PCI device.
 
 > ata0: at 0x1f0 irq 14 on atapci0
 > ata1: at 0x170 irq 15 on atapci0
 
 Is there a reason you want do disable it? You might want to drop the,
 
   device 	ata
 
 Line. But I'm not at all 100% on that.
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

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




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