Subject: Installation problem with IDE-CMD0680R PCI IDE controller
To: None <netbsd-help@NetBSD.org>
From: marc0 <marc0@autistici.org>
List: netbsd-help
Date: 10/17/2003 15:45:08
Hi,

I'm new to NetBSD. I've a problem installing NetBSD, it seems it does
not like the PCI IDE controller I use.

The NetBSD version is 1.6.1 (from the iso9660 image).

The machine has an intel (x86) processor, a mainboard with an intel
440BX chipset, with integrated IDE controller.

The hard disk does not work on the integrated IDE controller, so it is
attacched to a PCI (additional) one.

I boot the installation cdrom, with the default boot option, at the
installation menu i choose "Install NetBSD to hard disk", I choose
"yes" at the next screen (where there is the advice to make a full
backup and where is asked if you want to continue), then I get the
message:

  I can not find any hard disks for use by NetBSD.
  You will be returned to the original menu.

More informations follows.

Please note the <<vendor 0x1095 product 0x0680 (RAID mass storage,
revision 0x02) at pci0 dev 11 function 0 not configured>> line in the
NetBSD /dev/klog (obtained booting with the installation cdrom,
running /bin/sh from the installation menu, then dumping to
/dev/fd0c).

(cat /dev/klog (NetBSD))
 ==>
  [...]
  pci0 at mainbus0 bus 0: configuration mode 1
  pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
  pchb0 at pci0 dev 0 function 0
  pchb0: vendor 0x8086 product 0x7190 (rev. 0x02)
  agp at pchb0 not configured
  ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x7191 (rev. 0x02)
  pci1 at ppb0 bus 1
  pci1: i/o space, memory space enabled
  [...]
  pcib0 at pci0 dev 4 function 0
  pcib0: vendor 0x8086 product 0x7110 (rev. 0x02)
  pciide0 at pci0 dev 4 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
  pciide0: bus-master DMA support present
  pciide0: primary channel wired to compatibility mode
  pciide0: primary channel ignored (disabled)
  pciide0: secondary channel wired to compatibility mode
  atapibus0 at pciide0 channel 1: 2 targets
  cd0 at atapibus0 drive 0: <ASUS CD-S400, , V2.10> type 5 cdrom removable
  cd0: 32-bit data port
  cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
  cd1 at atapibus0 drive 1: <PLEXTOR CD-R   PX-W4012A, 017791, 1.00> type 5 cdrom removable
  cd1: 32-bit data port
  cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
  pciide0: secondary channel interrupting at irq 15
  cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
  cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
  uhci0 at pci0 dev 4 function 2: vendor 0x8086 product 0x7112 (rev. 0x01)
  uhci0: interrupting at irq 14
  usb0 at uhci0: USB revision 1.0
  uhub0 at usb0
  uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub0: 2 ports with 2 removable, self powered
  vendor 0x8086 product 0x7113 (miscellaneous bridge, revision 0x02) at pci0 dev 4 function 3 not configured
  vendor 0x1274 product 0x5000 (audio multimedia) at pci0 dev 9 function 0 not configured
  vendor 0x1095 product 0x0680 (RAID mass storage, revision 0x02) at pci0 dev 11 function 0 not configured
  isa0 at pcib0
  [...]

(cat /proc/pci (GNU/Linux))
 ==> 
  [...]
  Bus  0, device  11, function  0:
    RAID bus controller: CMD Technology Inc PCI0680 (rev 2).
      IRQ 10.
      Master Capable.  Latency=32.  
      I/O at 0xb800 [0xb807].
      I/O at 0xb400 [0xb403].
      I/O at 0xb000 [0xb007].
      I/O at 0xa800 [0xa803].
      I/O at 0xa400 [0xa40f].
      Non-prefetchable 32 bit memory at 0xe1000000 [0xe10000ff].
  [...]

(cat /var/log/dmesg (GNU/Linux))
 ==>
  [...]
  SiI680: IDE controller at PCI slot 00:0b.0
  PCI: Found IRQ 10 for device 00:0b.0
  SiI680: chipset revision 2
  SiI680: not 100% native mode: will probe irqs later
  SiI680: BASE CLOCK == 100 
  [...]

(IMHO) related source files:
  NetBSD: http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/dev/pci/cmdide.c?rev=1.2&content-type=text/plain
  Linux: .../linux/drivers/ide/pci/siimage.c

Thanks

-- 
marc0@autistici.org - 0x4E8899C2