Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Dec 1998 15:31:54 -0700
From:      "Kelvin Farmer" <erkaf@my-dejanews.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Phantom hard drive detection in GENERIC?
Message-ID:  <FEJCCLLOMOPLFAAA@my-dejanews.com>

next in thread | raw e-mail | index | archive | help
Okay, the problem goes like this: a phantom hard drive (wd3) appears to be detected when the hardware is probed. The actual harddrives and cdrom are all detected properly, and if wd3 is removed (in a custom kernel), then there are no problems. 

However, in the initial installation, wd3 cannot be disabled, only wdc1, which also has a CDROM connected to it, so a cdrom installation is ruled out since the detection of wd3 halts the installation process like this:

wd3: can't handle 65535 heads from partition tale (truncating to 16)
wd3 cannot handle 65535 sectors (max 255)
wd3 wdcontrol: reca failed reading fsbn0wd3: status 
7e<rdy,wrtflt,seekdone,drq,ecc_cor,index> error 4<abort>
wd3 error reading primary partition table reading fsbn 0 (wd3 bn0;cn0 tn0 sn0) 


                         
The GENERIC kernel detects my system like thus:

stDMAonly disabled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
ide_pci: busmaster 0 status: 60 from port: 0000ffa2
ide_pci: ide0:0 has been configured for DMA by BIOS
ide_pci: ide0:1 has been configured for DMA by BIOS
intel_piix_status: secondary master sample = 3, master recovery = 3
intel_piix_status: secondary master fastDMAonly disabled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
intel_piix_status: secondary slave sample = 5, slave recovery = 4
intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
ide_pci: busmaster 1 status: 04 from port: 0000ffaa
found-> vendor=0x5333, dev=0x883d, revid=0x02  
 class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=11
        map[0]: type 1, range 32, base 80000000, size 26

[snip]

wdc0 at 0x1f0-0x1f7 irq 14 on isa 
wdc0: unit 0 (wd0): <QUANTUM FIREBALL ST2.1A>
wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0007, dmamword = 0407, apio = 0003, udma = 0007
wdc0: unit 1 (wd1): <QUANTUM FIREBALL_TM1280A>
wd1: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S
wd1: ATA INQUIRE valid = 0003, dmamword = 0407, apio = 0003, udma = 0000
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 1 (wd3): <\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\\M^?\M^?\M^?\M^?>
 wd3: 95MB (196607 sectors), 65535 cyls, 65535 heads, 65535 S/T, 512 B/S
wd3: ATA INQUIRE valid = ffffffff, dmamword = ffffffff, apio = ffffffff, udma = ffffffff
wdc1: unit 0 (atapi): <MATSHITA CR-583/AS10>, removable, accel, dma, iordis
wcd0: 1378Kb/sec, 128Kb cache, audio play, 256 volume levels, ejectable tray
wcd0: 120mm photo disc loaded, unlocked

Hardware:
430 HX chipset.     
 Intel 82371 SB is the PCI Bus Master IDE controller (PIIX3)
2 Quantum harddrive correctly identified, they are master and slave on the
primary IDE.
1 Matshita cdrom, master on secondary IDE.
                                                                             


-----== Sent via Deja News, The Discussion Network ==-----
http://www.dejanews.com/  Easy access to 50,000+ discussion forums

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



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