Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2002 14:30:05 -0700 (PDT)
From:      "Jin Guojun[DSD]" <j_guojun@lbl.gov>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/39449: wierd ata status
Message-ID:  <200206182130.g5ILU5k13240@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: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
To: "Crist J. Clark" <cjc@FreeBSD.ORG>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/39449: wierd ata status
Date: Tue, 18 Jun 2002 14:24:54 -0700

 "Crist J. Clark" wrote:
 > 
 > 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
 > > ...
 
 Above configuration has been used in 4.5, and ata1 can be disabled 
 under 4.5-RELEASE. Do you mean that 4.5-RELEASE was incorrect?
 
 > >
 > > 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,
 
 Because of no use. An 80GB IDE disk + an IDE CD drive only need on IDE bus.
 I really need an extra IRQ for something else.
 
 >   device        ata
 > 
 > Line. But I'm not at all 100% on that.
 
 This will disbale all IDE controllers completely. Any other way to just
 disable one IDE controller?
 
 > --
 > Crist J. Clark                     |     cjclark@alum.mit.edu
 >                                    |     cjclark@jhu.edu
 > http://people.freebsd.org/~cjc/    |     cjc@freebsd.org
 
 -- 
 ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov ---
 Distributed Systems Department		http://www.itg.lbl.gov/~jin
 M/S 50B-2239				Ph#:(510) 486-7531 Fax: 486-6363
 Lawrence Berkeley National Laboratory,	Berkeley, CA 94720

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?200206182130.g5ILU5k13240>