From owner-freebsd-stable Mon Sep 25 14:21:37 2000 Delivered-To: freebsd-stable@freebsd.org Received: from ns1.jonelrienton.org (dsl-64-34-25-237.telocity.com [64.34.25.237]) by hub.freebsd.org (Postfix) with SMTP id 3726D37B446 for ; Mon, 25 Sep 2000 14:20:57 -0700 (PDT) Received: (qmail 3312 invoked from network); 25 Sep 2000 21:40:53 -0000 Received: from debian (10.29.22.23) by zeus with SMTP; 25 Sep 2000 21:40:53 -0000 Message-ID: <01e301c02738$1b0e7cc0$17161d0a@jonelrienton.org> From: "Jonel Rienton" To: "Justin T. Gibbs" Cc: "Justin T. Gibbs" , References: <200009252029.OAA55341@pluto.plutotech.com> Subject: Re: MFC of ahc driver updates (long-ish) Date: Mon, 25 Sep 2000 16:32:29 -0500 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.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Justin, i did what you told me and here's what i came up with after booting netfinity# dmesg Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.1.1-STABLE #0: Mon Sep 25 16:22:37 CDT 2000 root@netfinity.developers.local:/usr/src/sys/compile/NETFINITY Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (666.35-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x387fbff real memory = 134205440 (131060K bytes) config> di aic0 config> q avail memory = 127811584 (124816K bytes) Preloaded elf kernel "kernel" at 0xc02d7000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02d709c. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 1.0 fxp0: port 0x2000-0x203f mem 0xfea00000-0xfeafffff,0xfeb7f000-0xfeb7ffff irq 11 at device 2.0 on pci0 fxp0: Ethernet address 00:06:29:13:23:e4 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x700-0x70f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ohci0: mem 0xfeb7e000-0xfeb7efff irq 10 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pcib1: on motherboard pci1: on pcib1 ahc0: port 0x2100-0x21ff mem 0xeffff000-0xefffffff irq 9 at device 3.0 on pci1 aic7892: Wide Channel A, SCSI Id=7, 32/255 SCBs fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 acd0: CDROM at ata0-master using PIO4 Waiting 15 seconds for SCSI devices to settle Constructed PPR Message: \M-@\^A\^F\^D \^A Incoming PPR Message: \^A\^F\^D Mounting root from ufs:/dev/da0s2a da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 3.300MB/s transfers da0: 8750MB (17921835 512 byte sectors: 255H 63S/T 1115C) Jonel Rienton http://qmail.freebsduser.org sent by qmail-1.03 on a FreeBSD 4.1-STABLE ----- Original Message ----- From: "Justin T. Gibbs" To: "Jonel Rienton" Cc: "Justin T. Gibbs" ; Sent: Monday, September 25, 2000 3:30 PM Subject: Re: MFC of ahc driver updates (long-ish) | >Justin, | > | >it didn't get hit. | | Hmm. I haven't been able to reproduce this here on any of the | Seagate drives I have access to. Many of them are U160 Cheetahs, | but not the exact same model you have. One thing that might help | me is a dump of the message buffers in two places: | | 1) aic7xxx.c: ahc_contstruct_ppr(). After the message is constructed, | printout the contents: | | ahc->msgout_len += 8; | printf("Constructed PPR Message: "); | for (i = 0; i < ahc->msgout_len; i++) | printf("%c ", ahc->msgout_buf[i]); | | printf("\n"); | | 2) aic7xxx.c: ahc_parse_msg(). In the MSG_EXT_PPR case just after we've | pulled in all bytes: | | if (ahc->msgin_index < (MSG_EXT_PRR_LEN + 1) | break; | | printf("Incoming PPR Message: "); | for (i = 0; i <= ahc->msgin_index; i++) | printf("%c ", ahc->msgin_buf[i]); | printf("\n"); | | -- | Justin | | | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-stable" in the body of the message | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message