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

Bug#328534: marked as done (Kernel panic on Adaptec 2100S on boot)



Your message dated Sat, 24 Mar 2007 15:27:43 +0100
with message-id <20070324142743.GC6309@wavehammer.waldi.eu.org>
and subject line last response said it is working
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)

--- Begin Message ---
Package: linux-image-2.6.12-1-686-smp
Severity: critical

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

This is fixed in 2.6.13-rc7.

See http://bugzilla.kernel.org/show_bug.cgi?id=4940.

The attached patch is taken from bugzilla.


- --- dpt_i2o.c.orig	2005-08-08 08:25:46.888900616 -0400
+++ dpt_i2o.c	2005-08-08 08:30:48.062596580 -0400
@@ -1228,8 +1228,13 @@
 			hba_map0_area_size = 524288;
 	}
 
+	if (pci_request_regions(pDev)) {
+		PERROR("dpti: adpt_config_hba: pci request region
failed\n");
+		return -EINVAL;
+	}
 	base_addr_virt = ioremap(base_addr0_phys,hba_map0_area_size);
 	if(!base_addr_virt) {
+		pci_release_regions(pDev);
 		PERROR("dpti: adpt_config_hba: io remap failed\n");
 		return -EINVAL;
 	}
@@ -1239,6 +1244,7 @@
 		if(!msg_addr_virt) {
 			PERROR("dpti: adpt_config_hba: io remap failed
on BAR1
\n");
 			iounmap(base_addr_virt);
+			pci_release_regions(pDev);
 			return -EINVAL;
 		}
 	} else {
@@ -1252,6 +1258,7 @@
 			iounmap(msg_addr_virt);
 		}
 		iounmap(base_addr_virt);
+		pci_release_regions(pDev);
 		return -ENOMEM;
 	}
 	memset(pHba, 0, sizeof(adpt_hba));
@@ -1345,6 +1352,7 @@
 	up(&adpt_configuration_lock);
 
 	iounmap(pHba->base_addr_virt);
+	pci_release_regions(pHba->pDev);
 	if(pHba->msg_addr_virt != pHba->base_addr_virt){
 		iounmap(pHba->msg_addr_virt);
 	}

- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDKfHECUBS9R84wJERArvSAKDklqeeP5arwPWLmngMxlyLyqHQEgCfWmqH
+yGtR03pwwy65hGN8HsR6OA=
=TL9H
-----END PGP SIGNATURE-----


--- End Message ---
--- Begin Message ---
The last response to this bug reports it is working now. Closing it.

Bastian

-- 
It is a human characteristic to love little animals, especially if
they're attractive in some way.
		-- McCoy, "The Trouble with Tribbles", stardate 4525.6

--- End Message ---

Reply to: