From owner-freebsd-scsi Sun Nov 25 8: 9: 4 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from freebie.atkielski.com (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by hub.freebsd.org (Postfix) with ESMTP id D152D37B41B; Sun, 25 Nov 2001 08:08:52 -0800 (PST) Received: from contactdish (win.atkielski.com [10.0.0.10]) by freebie.atkielski.com (8.11.3/8.11.3) with SMTP id fAPG8oG00299; Sun, 25 Nov 2001 17:08:50 +0100 (CET) (envelope-from anthony@freebie.atkielski.com) Message-ID: <000701c175cb$78d2b410$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "FreeBSD Questions" , "FreeBSD SCSI" Subject: Time for my first backup, how do I install a DDS drive?? Date: Sun, 25 Nov 2001 17:08:50 +0100 Organization: Anthony's Home Page (development site) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Well, I've been sifting through the handbook and the Web and some books, looking for a procedure that would allow me to install my spare DDS drive on the system, and I haven't found out how to do it, so I'll ask here. I have just attached an HP 6000e external DDS drive (C1533A) as the one and only device on an Adaptec 2930W SCSI adapter that was already present when I installed FreeBSD (although it had nothing attached to it at the time). FreeBSD appears to be aware of the controller, but not of the drive. The SCSI BIOS on the adapter card sees the tape drive and recognizes it. All I have to do, it seems, is figure out how to persuade FreeBSD to see this drive. I assume I have to install a driver or enable something, but how? I didn't see any sign of a sa0 or nsa0 device in the kernel configuration file. What do I have to change or add? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Nov 25 11:50:12 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id E0A7B37B416 for ; Sun, 25 Nov 2001 11:50:07 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id UAA08311 for freebsd-scsi@freebsd.org; Sun, 25 Nov 2001 20:50:03 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id fAPJk6Q39939; Sun, 25 Nov 2001 20:46:06 +0100 (MET) (envelope-from j) Date: Sun, 25 Nov 2001 20:46:06 +0100 (MET) Message-Id: <200111251946.fAPJk6Q39939@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <000701c175cb$78d2b410$0a00000a@atkielski.com> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: Time for my first backup, how do I install a DDS drive?? X-Original-Newsgroups: local.freebsd.scsi To: freebsd-scsi@freebsd.org C: "Anthony Atkielski" Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Anthony Atkielski" wrote: > I didn't see any sign of a sa0 or nsa0 device in the kernel > configuration file. What do I have to change or add? Look into /sys/i386/conf/GENERIC: # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) ^^^^^^^^^^^^^^^^^^ device cd # CD device pass # Passthrough device (direct SCSI access) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 26 11:44:21 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from linuxlupe.de (name.linuxlupe.de [213.95.13.2]) by hub.freebsd.org (Postfix) with SMTP id 31C0937B416 for ; Mon, 26 Nov 2001 11:44:16 -0800 (PST) Received: (qmail 32020 invoked by uid 0); 26 Nov 2001 19:44:11 -0000 Date: 26 Nov 2001 19:44:11 -0000 Message-ID: <20011126194411.32019.qmail@linuxlupe.de> From: "Clemens Hermann" To: freebsd-scsi@freebsd.org Subject: kernel panic with 3ware 7850 X-Mailer: oMail 0.94 - http://webmail.omnis.ch X-IPAddress: 217.2.83.42 X-Sender: haribeau@linuxlupe.de Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, While Installing a FreeBSD 4.4 release I run into trouble which is likely caused (imho) by the 3ware controller. The installation starts as usual, I create the slices etc., select the install type and all the files are copied. Then, when the message "Remaking Devices" appears The machine hangs with the following message: "panic: pmap_enter: pte vanished, va: 0x2806b000" Then the discs are synced and the machine reboots. Install-media: official 4.4 Lehmann's CD Board: Supermicro P3TDE6G Controller: 3WARE 7850 I can reproduce the error, it happens every time I try. Sometimes the syncing of the disks fails, sometimes not. On de-bsd-questions Andreas reported the same problem with a 7810. thanks in advance for any help. /ch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 26 15: 6:33 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 512A637B41D for ; Mon, 26 Nov 2001 15:06:28 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.3) with ESMTP id fAQN9tt03826; Mon, 26 Nov 2001 15:09:55 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200111262309.fAQN9tt03826@mass.dis.org> To: "Clemens Hermann" Cc: freebsd-scsi@freebsd.org Subject: Re: kernel panic with 3ware 7850 In-Reply-To: Message from "Clemens Hermann" of "26 Nov 2001 19:44:11 GMT." <20011126194411.32019.qmail@linuxlupe.de> Date: Mon, 26 Nov 2001 15:09:55 -0800 From: Mike Smith Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > While Installing a FreeBSD 4.4 release I run into trouble which is likely > caused (imho) by the 3ware controller. The installation starts as usual, I > create the slices etc., select the install type and all the files are > copied. Then, when the message "Remaking Devices" appears The machine hangs > with the following message: > "panic: pmap_enter: pte vanished, va: 0x2806b000" > Then the discs are synced and the machine reboots. Do you have any evidence to substantiate your claims wrt. the 3ware controller? I allege the problem is entirely dietary, and until you change your eating habits, you're going to see the same problems. 8) And why are you asking on this list? > On de-bsd-questions Andreas reported the same problem with a 7810. There are known problems with 78xx controllers related to power supply issues, but these manifest as I/O errors under heavy load. What you're seeing looks like memory corruption of some sort. I would recommend a more methodical approach to resolving your problem than simply picking a single component and pronouncing it guilty. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 26 23:57:34 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from linuxlupe.de (name.linuxlupe.de [213.95.13.2]) by hub.freebsd.org (Postfix) with SMTP id 7F91637B416 for ; Mon, 26 Nov 2001 23:57:30 -0800 (PST) Received: (qmail 40965 invoked by uid 0); 27 Nov 2001 07:57:26 -0000 Date: 27 Nov 2001 07:57:26 -0000 Message-ID: <20011127075726.40964.qmail@linuxlupe.de> From: "Clemens Hermann" To: msmith@freebsd.org Cc: freebsd-scsi@freebsd.org Subject: Re: Fwd: Re: kernel panic with 3ware 7850 X-Mailer: oMail 0.94 - http://webmail.omnis.ch X-IPAddress: 217.2.82.121 X-Sender: haribeau@linuxlupe.de Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Mike, > Do you have any evidence to substantiate your claims wrt. the 3ware > controller? as I said, I asked on de-bsd-questions and there someone pointed me to the controller. Furthermore the syncing problems *might* also point to this. > > And why are you asking on this list? because I was told to ask here. Futhermore this controller was discussed here before and I knew you read this list. /ch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Nov 27 1:54: 2 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from smtp016.mail.yahoo.com (smtp016.mail.yahoo.com [216.136.174.113]) by hub.freebsd.org (Postfix) with SMTP id E447B37C2BD for ; Tue, 27 Nov 2001 01:52:24 -0800 (PST) Received: from mkc-65-30-96-67.kc.rr.com (HELO yahoo.com) (65.30.96.67) by smtp.mail.vip.sc5.yahoo.com with SMTP; 27 Nov 2001 09:52:19 -0000 Message-ID: <3C03624C.9090100@yahoo.com> Date: Tue, 27 Nov 2001 03:52:12 -0600 From: Jim Bryant Reply-To: kc5vdj@yahoo.com User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Joerg Wunsch Cc: freebsd-scsi@freebsd.org Subject: Re: Time for my first backup, how do I install a DDS drive?? References: <000701c175cb$78d2b410$0a00000a@atkielski.com> <200111251946.fAPJk6Q39939@uriah.heep.sax.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Joerg Wunsch wrote: > "Anthony Atkielski" wrote: > > >>I didn't see any sign of a sa0 or nsa0 device in the kernel >>configuration file. What do I have to change or add? >> > > Look into /sys/i386/conf/GENERIC: > > # SCSI peripherals > device scbus # SCSI bus (required) > device da # Direct Access (disks) > device sa # Sequential Access (tape etc) > ^^^^^^^^^^^^^^^^^^ > device cd # CD > device pass # Passthrough device (direct SCSI access) > > You may also want to dig over at hp.com for a firmware upgrade, if you can't find it there, I have a copy of the firmware upgrade program, and current firmware. The program just flashes the drive's firmware eeprom. Once you add the above lines and recompile the kernel, you should get a message to the effect of [note latest firmware date of 9608]: sa0 at ahc0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 8) Mine seems to work well, as a matter of fact, bru is chugging along right now. jim -- ET has one helluva sense of humor! He's always anal-probing right-wing schizos! ----------------------------------------------------- POWER TO THE PEOPLE! ----------------------------------------------------- "Religious fundamentalism is the biggest threat to international security that exists today." United Nations Secretary General B.B.Ghali, 1995 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Nov 27 15:27:41 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id B736137B416; Tue, 27 Nov 2001 15:27:37 -0800 (PST) Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34]) by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id C5C0F9138; Wed, 28 Nov 2001 00:27:35 +0100 (CET) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id 7029924D0C; Wed, 28 Nov 2001 00:27:34 +0100 (CET) Date: Wed, 28 Nov 2001 00:27:34 +0100 From: Thomas Quinot To: Marc Fonvieille , roberto@keltia.freenix.org Cc: freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org Subject: ATAPI/CAM patch update Message-ID: <20011128002734.D45901@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org References: <20011117164551.A522@gothic.blackend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20011117164551.A522@gothic.blackend.org>; from fonvi@easynet.fr on Sat, Nov 17, 2001 at 04:45:51PM +0100 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Le 2001-11-17, Marc Fonvieille écrivait : > 1st box with a PHILIPS CDD3610 CD-R/RW burner and all is running fine > 2nd box with a SONY CD-ROM CDU611 drive (it's not a burner) and it hangs > after the message: > (noperiph:atapi1:0:-1:-1): Registered SIM for ata1 OK, I have fixed a couple of silly mistakes in the patch. There is a new version at: http://www.cuivre.fr.eu.org/~thomas/atapicam/atapicam-20011128.diff Please try it and let me know if it still hangs at boot... Thanks, Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Nov 30 8: 8:58 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from web10001.mail.yahoo.com (web10001.mail.yahoo.com [216.136.130.37]) by hub.freebsd.org (Postfix) with SMTP id 27D2537B429 for ; Fri, 30 Nov 2001 08:08:46 -0800 (PST) Message-ID: <20011130160841.31277.qmail@web10001.mail.yahoo.com> Received: from [206.148.72.67] by web10001.mail.yahoo.com via HTTP; Fri, 30 Nov 2001 08:08:41 PST Date: Fri, 30 Nov 2001 08:08:41 -0800 (PST) From: Kenneth Stailey Subject: does the Advansys SCSI driver corrupt kernel memory? To: freebsd-scsi@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org My system will sometimes panic during startup with page fault in kernel mode. Even more often than that SIGVTALRM and/or SIGPROF kill programs that have not set any interval timers. What's more I wrote a test program to just call getitimer(2) and print what it finds. On a system without Advansys SCSI I get all zeros which is correct. On my system with Advansys SCSI I get random non-zero values back. Bad hardware? Boots and runs Windows 95 and OpenBSD like a champ. To top it off I modified kern_exec.c to bzero() the interval timers and the problem vanished. IMHO these problem reports have not been fixed: http://www.freebsd.org/cgi/query-pr.cgi?pr=23460 http://www.freebsd.org/cgi/query-pr.cgi?pr=23505 http://www.freebsd.org/cgi/query-pr.cgi?pr=24401 I wrote the people who submitted the bug reports and one of them replied saying that he eventually gave up and installed a different host adaptor. FreeBSD hermes 4.3-RELEASE FreeBSD 4.3-RELEASE #11: Sat Nov 17 14:00:50 EST 2001 kstailey@XXXXXX:/usr/src/sys/compile/HERMES i386 Yes, GENERIC has the same problem. kernel patch: --- kern_exec.c.DIST Sat Nov 17 13:50:49 2001 +++ kern_exec.c Sat Nov 17 14:00:45 2001 @@ -40,6 +40,7 @@ #include #include #include +#include /* XXX kludge around memory corruption */ #include #include #include @@ -354,6 +355,9 @@ p->p_args->ar_length = i; bcopy(imgp->stringbase, p->p_args->ar_args, i); } + + /* XXX kludge around memory corruption */ + bzero(p->p_stats->p_timer, sizeof(p->p_stats->p_timer)); exec_fail_dealloc: -------- test program: #include #define ITIMER_REAL 0 #define ITIMER_VIRTUAL 1 #define ITIMER_PROF 2 #include main() { struct itimerval itv; if (getitimer(ITIMER_VIRTUAL, &itv) < 0) { perror("getitimer VIRTUAL"); exit(1); } printf("itv.it_interval.tv_sec = %d\n", itv.it_interval.tv_sec); printf("itv.it_interval.tv_usec = %d\n", itv.it_interval.tv_usec); printf("itv.it_value.tv_sec = %d\n", itv.it_value.tv_sec); printf("itv.it_value.tv_usec = %d\n", itv.it_value.tv_usec); if (getitimer(ITIMER_PROF, &itv) < 0) { perror("getitimer PROF"); exit(1); } printf("itv.it_interval.tv_sec = %d\n", itv.it_interval.tv_sec); printf("itv.it_interval.tv_usec = %d\n", itv.it_interval.tv_usec); printf("itv.it_value.tv_sec = %d\n", itv.it_value.tv_sec); printf("itv.it_value.tv_usec = %d\n", itv.it_value.tv_usec); } __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Nov 30 8:16:41 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 768A737B419 for ; Fri, 30 Nov 2001 08:16:38 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 30 Nov 2001 16:16:37 +0000 (GMT) Date: Fri, 30 Nov 2001 16:16:37 +0000 From: David Malone To: Kenneth Stailey Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: does the Advansys SCSI driver corrupt kernel memory? Message-ID: <20011130161637.A76388@walton.maths.tcd.ie> References: <20011130160841.31277.qmail@web10001.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011130160841.31277.qmail@web10001.mail.yahoo.com>; from kstailey@yahoo.com on Fri, Nov 30, 2001 at 08:08:41AM -0800 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 30, 2001 at 08:08:41AM -0800, Kenneth Stailey wrote: > My system will sometimes panic during startup with page fault in kernel mode. > Even more often than that SIGVTALRM and/or SIGPROF kill programs that have not > set any interval timers. The driver is probably overflowing the kernel stack. Just after FreeBSD 4.4 was released the size of the kernel stack was increased to prevent this type problem. Is there any possibility that you can try removing your fix and then editing /src/sys/i386/include/param.h and change the line which says: #define UPAGES 2 so that upages is 3? If this fixes the problem then we can be fairly sure it is a stack overflow problem with the driver. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message