[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#270194: marked as done (kernel-image-2.6.7-1-686: dose not detect SATA on DELL 750 without CDROM)



Your message dated Sun, 03 Oct 2004 04:32:45 -0400
with message-id <E1CE1nR-0002rB-00@newraff.debian.org>
and subject line Bug#270194: fixed in kernel-source-2.6.8 2.6.8-7
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Sep 2004 02:29:08 +0000
>From ppyy@nat.eshinco.com Sun Sep 05 19:29:08 2004
Return-path: <ppyy@nat.eshinco.com>
Received: from (localhost.localdomain) [218.93.20.105] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C49Ff-0006Rz-00; Sun, 05 Sep 2004 19:29:04 -0700
Received: by localhost.localdomain (Postfix, from userid 1000)
	id 5379F495; Mon,  6 Sep 2004 22:27:33 +0800 (CST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Peng Yong <test@shinco.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kernel-image-2.6.7-1-686: dose not detect SATA on DELL 750 without CDROM
X-Mailer: reportbug 2.63
Date: Mon, 06 Sep 2004 22:27:33 +0800
Message-Id: <20040906142733.5379F495@localhost.localdomain>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,DATE_IN_FUTURE_06_12,
	HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: kernel-image-2.6.7-1-686
Version: 2.6.7-2
Severity: important
Tags: patch


In a Dell PowerEdge 750, the SATA harddisk cannot be recognized by the
kernel (causing a kernel panic) if the cdrom drive is removed.

If the cdrom drive is put back, everything works fine!!!

These are the output before the kernel panic:

VFS: Mounted root (ext2 filesystem).
Red Hat nash version 3.5.21 starting
SCSI subsystem initialized
ata_piix: combined mode detected
ACPI: No IRQ known for interrupt pin A of device 0000:00:1f.2
ata1: PATA max UDMA/33 cdm 0x1F0 ctl 0x3F6 bmdma 0xFEA0 irq 14
ata1: port disabled. ignoring.
scsi0: ata_piix
Using cfq io scheduler
ata2: SATA max UDMA/133 cdm 0x170 ctl 0x376 bmdma 0xFEA8 irq 15
ata2: port disabled. ignoring.
scsi1 : ata_piix
VFS: Cannot open root device "LABEL=/" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)

2.4 and 2.6 have same problem.

then i find a patch for 2.4 kernel in dell:

http://linux.dell.com/blog/contributions
http://linux.dell.com/files/patches/sata/ata_piix.c.patch


and i also make a patch for 2.6 kernel:

*** ata_piix.c.orig	Mon Sep  6 22:25:32 2004
--- ata_piix.c	Mon Sep  6 22:25:43 2004
***************
*** 272,279 ****
  
  static void piix_pata_phy_reset(struct ata_port *ap)
  {
  	if (!pci_test_config_bits(ap->host_set->pdev,
! 				  &piix_enable_bits[ap->port_no])) {
  		ata_port_disable(ap);
  		printk(KERN_INFO "ata%u: port disabled. ignoring.\n", ap->id);
  		return;
--- 272,290 ----
  
  static void piix_pata_phy_reset(struct ata_port *ap)
  {
+ 	unsigned int controller;
+ 
+ 	/* In combined legacy mode, port number is not the same
+ 	 * as primary/secondary controller!
+ 	 */
+ 	switch (ap->ioaddr.cmd_addr) {
+ 		case 0x1f0: controller = 0; break;
+ 		case 0x170: controller = 1; break;
+ 		default: controller = ap->port_no;
+ 	}
+ 
  	if (!pci_test_config_bits(ap->host_set->pdev,
! 				  &piix_enable_bits[controller])) {
  		ata_port_disable(ap);
  		printk(KERN_INFO "ata%u: port disabled. ignoring.\n", ap->id);
  		return;



all works fine.



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=C, LC_CTYPE=C

Versions of packages kernel-image-2.6.7-1-686 depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  initrd-tools                  0.1.74     tools to create initrd image for p
ii  module-init-tools             3.1-pre5-6 tools for managing Linux kernel mo

-- no debconf information

---------------------------------------
Received: (at 270194-close) by bugs.debian.org; 3 Oct 2004 08:38:11 +0000
>From katie@ftp-master.debian.org Sun Oct 03 01:38:11 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CE1sh-0000zG-00; Sun, 03 Oct 2004 01:38:11 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CE1nR-0002rB-00; Sun, 03 Oct 2004 04:32:45 -0400
From: Andres Salomon <dilinger@voxel.net>
To: 270194-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#270194: fixed in kernel-source-2.6.8 2.6.8-7
Message-Id: <E1CE1nR-0002rB-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 03 Oct 2004 04:32:45 -0400
Delivered-To: 270194-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 8

Source: kernel-source-2.6.8
Source-Version: 2.6.8-7

We believe that the bug you reported is fixed in the latest version of
kernel-source-2.6.8, which is due to be installed in the Debian FTP archive:

kernel-doc-2.6.8_2.6.8-7_all.deb
  to pool/main/k/kernel-source-2.6.8/kernel-doc-2.6.8_2.6.8-7_all.deb
kernel-patch-debian-2.6.8_2.6.8-7_all.deb
  to pool/main/k/kernel-source-2.6.8/kernel-patch-debian-2.6.8_2.6.8-7_all.deb
kernel-source-2.6.8_2.6.8-7.diff.gz
  to pool/main/k/kernel-source-2.6.8/kernel-source-2.6.8_2.6.8-7.diff.gz
kernel-source-2.6.8_2.6.8-7.dsc
  to pool/main/k/kernel-source-2.6.8/kernel-source-2.6.8_2.6.8-7.dsc
kernel-source-2.6.8_2.6.8-7_all.deb
  to pool/main/k/kernel-source-2.6.8/kernel-source-2.6.8_2.6.8-7_all.deb
kernel-tree-2.6.8_2.6.8-7_all.deb
  to pool/main/k/kernel-source-2.6.8/kernel-tree-2.6.8_2.6.8-7_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 270194@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andres Salomon <dilinger@voxel.net> (supplier of updated kernel-source-2.6.8 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 03 Oct 2004 03:21:14 -0400
Source: kernel-source-2.6.8
Binary: kernel-source-2.6.8 kernel-doc-2.6.8 kernel-tree-2.6.8 kernel-patch-debian-2.6.8
Architecture: source all
Version: 2.6.8-7
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Andres Salomon <dilinger@voxel.net>
Description: 
 kernel-doc-2.6.8 - Linux kernel specific documentation for version 2.6.8
 kernel-patch-debian-2.6.8 - Debian patches to Linux 2.6.8
 kernel-source-2.6.8 - Linux kernel source for version 2.6.8 with Debian patches
 kernel-tree-2.6.8 - Linux kernel tree for building prepackaged Debian kernel images
Closes: 126482 153451 181350 206984 259056 267240 267342 270194 271852 272177 273474 274011
Changes: 
 kernel-source-2.6.8 (2.6.8-7) unstable; urgency=medium
 .
   * Fix VGA console on PReP systems (closes: #271852) (Jens Schmalzing).
 .
   * Really enable i915 agpgart support (Christoph Hellwig).
 .
   * Fix yet another bio leak (Christoph Hellwig).
 .
   * Switch /proc/sys/net/ipv4/tcp_default_win_scale default back to 0, there's
     just too many broken system out there in the wild. (closes: #267342)
     (Christoph Hellwig).
 .
   * Fix ata_piix controller numbering in combined mode (closes: #270194)
     (Christoph Hellwig).
 .
   * Update tg3 driver (Christoph Hellwig).
 .
   * Update forcedeth driver to fix autoneg on 100Mbit cards (Christoph Hellwig).
 .
   * Fix ALSA module locking issue (closes: #259056) (Andres Salomon).
 .
   * Build-fix for 3c59x without pci (closes: #267240) (Maximilian Attems).
 .
   * Fix crash in ArcNet PCMCIA card (Maximilian Attems).
 .
   * Build-fix for airo on smp (Maximilian Attems).
 .
   * ACK old nmu (closes: #181350, #126482, #153451, #206984)
 .
   * Back out acpi-early caused problems on laptops, where APIC should not
     be enabled. (closes: #272177, #273474, #274011) (Maximilian Attems)
Files: 
 970450a8551c5acbf3c5c0b30d9832ad 1645 devel optional kernel-source-2.6.8_2.6.8-7.dsc
 d6b85b1910b841219bc2c76653be6fab 602945 devel optional kernel-source-2.6.8_2.6.8-7.diff.gz
 b355bc84e45dc25db40df241ec1973e4 533300 devel optional kernel-patch-debian-2.6.8_2.6.8-7_all.deb
 4336e90df29241a5804327d90cbd49eb 34913092 devel optional kernel-source-2.6.8_2.6.8-7_all.deb
 eca9565121eefc887ea518fd006de113 21340 devel optional kernel-tree-2.6.8_2.6.8-7_all.deb
 d08071368b7de28571f2f4cecacf62eb 6145666 doc optional kernel-doc-2.6.8_2.6.8-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: http://triplehelix.org/~joshk/pubkey_gpg.asc

iQIVAwUBQV+2HaOILr94RG8mAQLsCw/5AXgGwZmYLbC9MdbofG7rEfgKMwyNMWNa
rKHLshj0e6DHUHHW8wB/vnzRlofaF1qDETyx2NPR8hwKtuKzWlVR1nzr9aD5jFfk
LNySzA5rzIAAds4yg5wr/NddDcH90YXhQTz4t6ENDy018OM4FSJGKy++M91wPBbZ
ozZSL8LPt19cCi3Cd/8ClDOfozndQwa8JZxjx9X2xwULJ2AjPFxgzS9VoZCGGVob
9EfHmlIsYEaH8BeXJ6c1bHBPxf8ucIVtXS7yBxz+hCdOaYi6LUiB/ql/DRpAhMUh
vBQ1dMNMDVohvwUVnwV/W3uBFvRKB1hyIlnrrzXNwUOt2+UqBMbO+VLWYfa/HOs4
yo/N94wr7eZC85cPz9P17mFQ2my8ZOU7unMl4Vn4e9XD00UEtujsDf9xuFtfQ2s+
0Wb3UYKxjWnlr/+xViYmqyThSCG9dpWAIRlzbI+P7pEcwcvz+4MAS182zcq5Q1jQ
ns06BrxAWj35cwbpJyUX+dmBSjIWd1CkWs2q2CeKCN4gvT1OBAokszkoR8o1lIxs
+IdrMKGF0DYZWC4CHWNsu7J/g1aB3gxFcu3AQaqU1lrCasR/LHbi3cCk9EVrdvLI
e9Kszw6vbwRj1ftUqpJ/IBy2n4NpZAvzKOw1FgHW7Xm7nnqiIOdPLWEzfqfTqveN
i4iGpvj37/Y=
=xqB1
-----END PGP SIGNATURE-----



Reply to: