NetBSD Problem Report #32577

From www@netbsd.org  Thu Jan 19 23:01:32 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 0E37763B8CD; Thu, 19 Jan 2006 23:01:32 +0000 (UTC)
Message-Id: <20060119230132.0E37763B8CD@narn.netbsd.org>
Date: Thu, 19 Jan 2006 23:01:32 +0000 (UTC)
From: cadavre@chatsa.co.za
Reply-To: cadavre@chatsa.co.za
To: gnats-bugs@netbsd.org
Subject: unable to detect sata drives in installation
X-Send-Pr-Version: www-1.0

>Number:         32577
>Category:       kern
>Synopsis:       unable to detect sata drives in installation
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    mrg
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 19 23:05:00 +0000 2006
>Closed-Date:    Tue Jun 08 05:07:58 +0000 2010
>Last-Modified:  Tue Jun 08 05:10:03 +0000 2010
>Originator:     Guy Oosthuizen
>Release:        3.0 i386
>Organization:
n/a
>Environment:
n/a
>Description:
	Installation is unable to detect SATA drives connected via Silicon
	Image Satalink 3112A. The following was detected in boot; "pciide0:
	bus-master DMA support present, but unused (no driver support).


>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/32577: unable to detect sata drives in installation
Date: Fri, 20 Jan 2006 00:49:51 +0100

 On Thu, Jan 19, 2006 at 11:05:00PM +0000, cadavre@chatsa.co.za wrote:
 >  "pciide0: bus-master DMA support present, but unused (no driver support).

 This is unrelated to your SATA problem - the SIL controller should
 attach with messages like this:

 satalink0 at pci0 dev 6 function 0
 satalink0: Silicon Image SATALink 3114 (rev. 0x02)
 satalink0: 33MHz PCI bus
 satalink0: bus-master DMA support present
 satalink0: using ioapic1 pin 3 (irq 11) for native-PCI interrupt
 atabus0 at satalink0 channel 0
 atabus1 at satalink0 channel 1
 atabus2 at satalink0 channel 2
 atabus3 at satalink0 channel 3

 Does your kernel list some devices as "not configured"?
 Could you quote those lines, please?

 Thanks,

 Martin

From: cadavre@chatsa.co.za
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/32577
Date: Fri, 20 Jan 2006 14:10:54 +0200 (SAST)

 agp at pchb0 not configured
 ATI Technologies product 0x4363 (SMBus serial bus, revision 0x03) at pci0
 dev 20 function 0 not configured

 After performing a temporary installation of NetBSD 3.0 on a lower
 capacity IDE drive, no reference was made to the SIL controller when
 viewing the ouput from dmesg. I have however included the lines for the
 IXP IDE Controller below.


 ATI Technologies product 0x4363 (SMBus serial bus, revision 0x03) at pci0
 dev 20 function 0 not configured
 ixpide0 at pci0 dev 20 function 1
 ixpide0: ATI Technologies IXP IDE Controller (rev. 0x01)
 ixpide0: bus-master DMA support present
 ixpide0: primary channel configured to compatibility mode
 ixpide0: primary channel interrupting at irq 14
 atabus0 at ixpide0 channel 0
 ixpide0: secondary channel configured to compatibility mode
 ixpide0: secondary channel interrupting at irq 15
 atabus1 at ixpide0 channel 1

 Your support is greatly appreciated.

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/32577
Date: Fri, 20 Jan 2006 15:40:57 +0100

 On Fri, Jan 20, 2006 at 01:25:02PM +0000, cadavre@chatsa.co.za wrote:
 >  After performing a temporary installation of NetBSD 3.0 on a lower
 >  capacity IDE drive, no reference was made to the SIL controller when
 >  viewing the ouput from dmesg. I have however included the lines for the
 >  IXP IDE Controller below.

 Could you please provide the complete dmesg output (or /var/run/dmesg.boot
 contents)?

 Thanks,

 Martin

From: cadavre@chatsa.co.za
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/32577
Date: Sat, 21 Jan 2006 01:20:31 +0200 (SAST)

 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005
         builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/
 arch/i386/compile/GENERIC
 total memory = 479 MB
 avail memory = 461 MB
 BIOS32 rev. 0 found at 0xfad50
 mainbus0 (root)
 cpu0 at mainbus0: (uniprocessor)
 cpu0: Intel (686-class), 2813.68 MHz, id 0xf41
 cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
 cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
 cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
 cpu0: features2 441d<SSE3,MONITOR,DS-CPL,CID,xTPR>
 cpu0: "Intel(R) Celeron(R) CPU 2.80GHz"
 cpu0: I-cache 12K uOp cache 8-way
 cpu0: ITLB 4K/4M: 128 entries
 cpu0: DTLB 4K/4M: 64 entries
 cpu0: using thermal monitor 1
 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: ATI Technologies product 0x7833 (rev. 0x00)
 agp at pchb0 not configured
 ppb0 at pci0 dev 1 function 0: ATI Technologies product 0x7838 (rev. 0x00)
 pci1 at ppb0 bus 1
 pci1: i/o space, memory space enabled
 vga1 at pci1 dev 5 function 0: ATI Technologies product 0x7834 (rev. 0x00)
 wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
 wsmux1: connecting to wsdisplay0
 ohci0 at pci0 dev 19 function 0: ATI Technologies product 0x4367 (rev. 0x01)
 ohci0: interrupting at irq 5
 ohci0: OHCI version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 4 ports with 4 removable, self powered
 ohci1 at pci0 dev 19 function 1: ATI Technologies product 0x4368 (rev. 0x01)
 ohci1: interrupting at irq 5
 ohci1: OHCI version 1.0, legacy support
 usb1 at ohci1: USB revision 1.0
 uhub1 at usb1
 uhub1: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 4 ports with 4 removable, self powered
 ehci0 at pci0 dev 19 function 2: ATI Technologies product 0x4365 (rev. 0x01)
 ehci0: interrupting at irq 5
 ehci0: BIOS has given up ownership
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 4 ports each: ohci0 ohci1
 usb2 at ehci0: USB revision 2.0
 uhub2 at usb2
 uhub2: ATI Technologie EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub2: single transaction translator
 uhub2: 8 ports with 8 removable, self powered
 ATI Technologies product 0x4363 (SMBus serial bus, revision 0x03) at pci0
 dev 20 function 0 not configured
 ixpide0 at pci0 dev 20 function 1
 ixpide0: ATI Technologies IXP IDE Controller (rev. 0x01)
 ixpide0: bus-master DMA support present
 ixpide0: primary channel configured to compatibility mode
 ixpide0: primary channel interrupting at irq 14
 atabus0 at ixpide0 channel 0
 ixpide0: secondary channel configured to compatibility mode
 ixpide0: secondary channel interrupting at irq 15
 atabus1 at ixpide0 channel 1
 pciide0 at pci0 dev 20 function 2
 pciide0: ATI Technologies product 0x436e (rev. 0x01)
 pciide0: bus-master DMA support present, but unused (no driver support)
 pciide0: primary channel configured to native-PCI mode
 pciide0: using irq 11 for native-PCI interrupt
 atabus2 at pciide0 channel 0
 pciide0: secondary channel configured to native-PCI mode
 atabus3 at pciide0 channel 1
 pcib0 at pci0 dev 20 function 3
 pcib0: ATI Technologies product 0x436c (rev. 0x01)
 ppb1 at pci0 dev 20 function 4: ATI Technologies product 0x4362 (rev. 0x01)
 pci2 at ppb1 bus 2
 pci2: i/o space, memory space enabled
 rtk0 at pci2 dev 11 function 0: Realtek 8139 10/100BaseTX
 rtk0: interrupting at irq 10
 rtk0: Ethernet address 00:0f:ea:35:51:ec
 ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
 ukphy0: OUI 0x000000, model 0x0000, rev. 0
 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 isa0 at pcib0
 pckbc0 at isa0 port 0x60-0x64
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 sysbeep0 at pcppi0
 isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
 npx0 at isa0 port 0xf0-0xff: using exception 16
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 isapnp0: no ISA Plug 'n Play devices found
 fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
 Kernelized RAIDframe activated
 atapibus0 at atabus0: 2 targets
 cd0 at atapibus0 drive 1: <SONY    CD-RW  CRX320E, , NYK3> cdrom removable
 cd0: 32-bit data port
 cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
 wd0 at atabus0 drive 0: <WDC AC26400B>
 wd0: drive supports 16-sector PIO transfers, LBA addressing
 wd0: 6149 MB, 13328 cyl, 15 head, 63 sec, 512 bytes/sect x 12594960 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
 wd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
 cd0(ixpide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
 boot device: wd0
 root on wd0a dumps on wd0b
 root file system type: ffs
 wsdisplay0: screen 1 added (80x25, vt100 emulation)
 wsdisplay0: screen 2 added (80x25, vt100 emulation)
 wsdisplay0: screen 3 added (80x25, vt100 emulation)
 wsdisplay0: screen 4 added (80x25, vt100 emulation)

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/32577
Date: Sat, 21 Jan 2006 23:28:57 +0100

 On Fri, Jan 20, 2006 at 11:25:02PM +0000, cadavre@chatsa.co.za wrote:
 >  pciide0: ATI Technologies product 0x436e (rev. 0x01)

 Hmm, google seems to suggest it could be a Silicon Image chipset, maybe you
 can play around with adding the new ID to sys/dev/pci/satalink.c?

 Martin

Responsible-Changed-From-To: install-manager->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Sat, 05 Jun 2010 07:23:16 +0000
Responsible-Changed-Why:
i'll take care of merging this, and at least one other pci ID, from linux, that should
resolve this problem.


From: matthew green <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/32577 CVS commit: src/sys/dev/pci
Date: Tue, 8 Jun 2010 04:58:03 +0000

 Module Name:	src
 Committed By:	mrg
 Date:		Tue Jun  8 04:58:03 UTC 2010

 Modified Files:
 	src/sys/dev/pci: pcidevs

 Log Message:
 add two pciids for the satalink driver, from the linux driver, for PR#32577.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1032 -r1.1033 src/sys/dev/pci/pcidevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Tue, 08 Jun 2010 05:07:58 +0000
State-Changed-Why:
this should be fixed now.


From: matthew green <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/32577 CVS commit: src/sys/dev/pci
Date: Tue, 8 Jun 2010 05:06:10 +0000

 Module Name:	src
 Committed By:	mrg
 Date:		Tue Jun  8 05:06:10 UTC 2010

 Modified Files:
 	src/sys/dev/pci: satalink.c

 Log Message:
 attach on Sil240 and IXP 300 chips as well, as if they are 3112
 variants.  should fix PR#32577, id's found in linux driver.


 To generate a diff of this commit:
 cvs rdiff -u -r1.40 -r1.41 src/sys/dev/pci/satalink.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.