From nobody@FreeBSD.org Fri Sep 18 05:22:29 2009 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14049106568D for ; Fri, 18 Sep 2009 05:22:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DD5BA8FC16 for ; Fri, 18 Sep 2009 05:22:28 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8I5MSUv051551 for ; Fri, 18 Sep 2009 05:22:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8I5MS3h051550; Fri, 18 Sep 2009 05:22:28 GMT (envelope-from nobody) Message-Id: <200909180522.n8I5MS3h051550@www.freebsd.org> Date: Fri, 18 Sep 2009 05:22:28 GMT From: Dennis Chikin To: freebsd-gnats-submit@FreeBSD.org Subject: [ata] PATA devices undetectable witch IXP700 chipset X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 138930 >Category: kern >Synopsis: [ata] PATA devices undetectable witch IXP700 chipset >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 18 05:30:01 UTC 2009 >Closed-Date: Tue Sep 29 16:22:14 UTC 2009 >Last-Modified: Tue Sep 29 16:22:14 UTC 2009 >Originator: Dennis Chikin >Release: 6.3 to 7.x >Organization: >Environment: >Description: ANY PATA devices undetectable with IPX700 (amd7xx motherboards) because this dirty hack: /sys/dev/ata/ata-chipset.c: static int ata_ati_chipinit(device_t dev) .. /* IXP600 & IXP700 only have 1 PATA channel */ if ((ctlr->chip->chipid == ATA_ATI_IXP600) || (ctlr->chip->chipid == ATA_ATI_IXP700)) ctlr->channels = 1; .. >How-To-Repeat: >Fix: just remove it >Release-Note: >Audit-Trail: From: "Andrey V. Elsukov" To: Dennis Chikin Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/138930: [ata] PATA devices undetectable witch IXP700 chipset Date: Fri, 18 Sep 2009 11:02:19 +0400 Dennis Chikin wrote: >> Release: 6.3 to 7.x >> Organization: >> Environment: >> Description: > ANY PATA devices undetectable with IPX700 (amd7xx motherboards) because this dirty hack: Can you show verbose dmesg.boot from your system with and without your patch? -- WBR, Andrey V. Elsukov From: "Andrey V. Elsukov" To: Dennis Chikin Cc: Alexander Motin , freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/138930: [ata] PATA devices undetectable witch IXP700 chipset Date: Mon, 21 Sep 2009 09:41:25 +0400 Dennis Chikin wrote: > without path: > found-> vendor=0x1002, dev=0x4390, revid=0x00 > domain=0, bus=0, slot=17, func=0 > class=01-01-8f, hdrtype=0x00, mfdev=0 > cmdreg=0x0107, statreg=0x0230, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=10 > powerspec 2 supports D0 D3 current D0 > map[10]: type I/O Port, range 32, base 0xc000, size 3, enabled > map[14]: type I/O Port, range 32, base 0xb000, size 2, enabled > map[18]: type I/O Port, range 32, base 0xa000, size 3, enabled > map[1c]: type I/O Port, range 32, base 0x9000, size 2, enabled > map[20]: type I/O Port, range 32, base 0x8000, size 4, enabled > map[24]: type Memory, range 32, base 0xfe8ff800, size 10, enabled > found-> vendor=0x1002, dev=0x439c, revid=0x00 > domain=0, bus=0, slot=20, func=1 > class=01-01-8a, hdrtype=0x00, mfdev=0 > cmdreg=0x0005, statreg=0x0230, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=255 > MSI supports 1 message > map[20]: type I/O Port, range 32, base 0xff00, size 4, enabled Your problem seems fixed in r191568 and can be MFC'ed to RELENG_7. -- WBR, Andrey V. Elsukov State-Changed-From-To: open->closed State-Changed-By: mav State-Changed-When: Tue Sep 29 16:20:42 UTC 2009 State-Changed-Why: Rev. 191568 partially merged to 7-STABLE. http://www.freebsd.org/cgi/query-pr.cgi?pr=138930 >Unformatted: