From owner-freebsd-scsi@FreeBSD.ORG Sun Aug 12 09:30:09 2007 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E5DF16A419 for ; Sun, 12 Aug 2007 09:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 08F8D13C45B for ; Sun, 12 Aug 2007 09:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7C9U8vc071563 for ; Sun, 12 Aug 2007 09:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7C9U8TX071561; Sun, 12 Aug 2007 09:30:08 GMT (envelope-from gnats) Date: Sun, 12 Aug 2007 09:30:08 GMT Message-Id: <200708120930.l7C9U8TX071561@freefall.freebsd.org> To: freebsd-scsi@FreeBSD.org From: Juergen Dankoweit Cc: Subject: Re: kern/93128: [sym] FreeBSD 6.1 BETA 1 has problems with Symbios/LSI-HBAs (regression) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Dankoweit List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2007 09:30:09 -0000 The following reply was made to PR kern/93128; it has been noted by GNATS. From: Juergen Dankoweit To: bug-followup@FreeBSD.org, Juergen.Dankoweit@T-Online.de Cc: Subject: Re: kern/93128: [sym] FreeBSD 6.1 BETA 1 has problems with Symbios/LSI-HBAs (regression) Date: Sun, 12 Aug 2007 11:08:07 +0200 Hello, after thinking how to solve this awful problem, I found this solution which works great. Here the code snippet /* Checking for sym-driver is disabled in the device.hints */ unit = device_get_unit(dev); if (resource_disabled("sym", unit)) { device_printf(dev, "sym_pci_probe: sym driver disabled\n"); return (ENXIO); } /* ------------------------------------------------------- */ It should be place in the following functions: ---------------------------------------------- line 8465: static int sym_pci_probe(device_t dev); line 8482: static int sym_pci_attach(device_t dev); What does it do: ---------------- It looks in the /boot/device.hints after the following entry: hints.sym.x.disabled="1" (where x = 0, 1, 2, ...) Why this solution: ------------------ The problem is that FreeBSD finds on some systems the LSI chips even if they are disabled by the BIOS. To suppress this I added this hint. Now it is possible to install FreeBSD on systems with LSI where the boot sequence hangs. So it is possible to use an other host adaptor like Adaptec or so. Conclusion: ----------- It is tested on several machines and it works great. It would be nice if this is in the next FreeBSD 7.0 snapshot. Best regards Juergen Dankoweit From owner-freebsd-scsi@FreeBSD.ORG Sun Aug 12 09:30:14 2007 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C6EB16A4A7 for ; Sun, 12 Aug 2007 09:30:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6E38913C45D for ; Sun, 12 Aug 2007 09:30:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7C9UE7G071603 for ; Sun, 12 Aug 2007 09:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7C9UEb2071600; Sun, 12 Aug 2007 09:30:14 GMT (envelope-from gnats) Date: Sun, 12 Aug 2007 09:30:14 GMT Message-Id: <200708120930.l7C9UEb2071600@freefall.freebsd.org> To: freebsd-scsi@FreeBSD.org From: Juergen Dankoweit Cc: Subject: Re: kern/114597: [sym] System hangs at SCSI bus reset with dual HBAs X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Dankoweit List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2007 09:30:14 -0000 The following reply was made to PR kern/114597; it has been noted by GNATS. From: Juergen Dankoweit To: bug-followup@FreeBSD.org, Juergen.Dankoweit@FreeBSD-Onkel.de Cc: Subject: Re: kern/114597: [sym] System hangs at SCSI bus reset with dual HBAs Date: Sun, 12 Aug 2007 11:08:21 +0200 Hello, after thinking how to solve this awful problem, I found this solution which works great. Here the code snippet /* Checking for sym-driver is disabled in the device.hints */ unit = device_get_unit(dev); if (resource_disabled("sym", unit)) { device_printf(dev, "sym_pci_probe: sym driver disabled\n"); return (ENXIO); } /* ------------------------------------------------------- */ It should be place in the following functions: ---------------------------------------------- line 8465: static int sym_pci_probe(device_t dev); line 8482: static int sym_pci_attach(device_t dev); What does it do: ---------------- It looks in the /boot/device.hints after the following entry: hints.sym.x.disabled="1" (where x = 0, 1, 2, ...) Why this solution: ------------------ The problem is that FreeBSD finds on some systems the LSI chips even if they are disabled by the BIOS. To suppress this I added this hint. Now it is possible to install FreeBSD on systems with LSI where the boot sequence hangs. So it is possible to use an other host adaptor like Adaptec or so. Conclusion: ----------- It is tested on several machines and it works great. It would be nice if this is in the next FreeBSD 7.0 snapshot. Best regards Juergen Dankoweit From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 13 11:08:35 2007 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7304616A502 for ; Mon, 13 Aug 2007 11:08:35 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 61BC813C48E for ; Mon, 13 Aug 2007 11:08:35 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7DB8ZUr047820 for ; Mon, 13 Aug 2007 11:08:35 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7DB8YBC047816 for freebsd-scsi@FreeBSD.org; Mon, 13 Aug 2007 11:08:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Aug 2007 11:08:34 GMT Message-Id: <200708131108.l7DB8YBC047816@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 11:08:35 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/40895 scsi wierd kernel / device driver bug o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/60598 scsi wire down of scsi devices conflicts with config o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 o kern/81887 scsi [aac] Adaptec SCSI 2130S aac0: GetDeviceProbeInfo comm o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/93128 scsi [sym] FreeBSD 6.1 BETA 1 has problems with Symbios/LSI o kern/94838 scsi Kernel panic while mounting SD card with lock switch o o kern/99954 scsi [ahc] reading from DVD failes on 6.x (regression) o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks 15 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/23314 scsi [aic] aic driver fails to detect Adaptec 1520B unless o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce o kern/38828 scsi [feature request] DPT PM2012B/90 doesn't work o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs 6 problems total.