From owner-freebsd-current Sun Sep 20 09:18:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA18384 for freebsd-current-outgoing; Sun, 20 Sep 1998 09:18:46 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from pinhead.parag.codegen.com (ppp-asfm08--200.sirius.net [205.134.241.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA18056 for ; Sun, 20 Sep 1998 09:17:32 -0700 (PDT) (envelope-from parag@pinhead.parag.codegen.com) Received: from pinhead.parag.codegen.com (localhost.parag.codegen.com [127.0.0.1]) by pinhead.parag.codegen.com (8.9.1/8.8.8) with ESMTP id JAA00714; Sun, 20 Sep 1998 09:16:23 -0700 (PDT) (envelope-from parag@pinhead.parag.codegen.com) Message-Id: <199809201616.JAA00714@pinhead.parag.codegen.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Justin T. Gibbs" cc: KATO Takenori , current@FreeBSD.ORG Subject: Re: [CAM] Broken tagged queuing drive? In-reply-to: Your message of "Sun, 20 Sep 1998 00:45:59 MDT." <199809200652.AAA17429@pluto.plutotech.com> X-Face: =O'Kj74icvU|oS*<7gS/8'\Pbpm}okVj*@UC!IgkmZQAO!W[|iBiMs*|)n*`X ]pW%m>Oz_mK^Gdazsr.Z0/JsFS1uF8gBVIoChGwOy{EK=<6g?aHE`[\S]C]T0Wm X-URL: http://www.codegen.com Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_15516027500" Date: Sun, 20 Sep 1998 09:16:22 -0700 From: Parag Patel Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multipart MIME message. --==_Exmh_15516027500 Content-Type: text/plain; charset=us-ascii >>> I believe I've found the cause of this panic. I would appreciate it if >>> you could test to see if the next revision of aic7xxx.c survives the >>> timeout. >> >>The panic went away. Unfortunately, my machine now panics. I don't know the cause of the 1st panic as it rapidly scolls off of the console. It eventually dies with a double-fault and hangs. I can boot it into "-s" single-user state, and it launchs a shell, but as soon as I type "fsck -p", it's gone bye-bye. The aic7xxx.c from the night before actually works for me, but during probing it generates a lot of errors trying to look for LUNs that don't exist. Perhaps the Sony-926S CD-R drive needs a quirk of some sort? (The UMAX doesn't have this problem which it did with the pre-CAM code.) I've attached my working dmesg.out file from the earlier aic7xxx.c file. I get lots of timeouts and resets, but once it's finished probing, things seem to be running just fine. (Softupdates is enabled on all volumes too, and with the latest patches, seems to work just fine. It's survived 8 make -j8 buildworld so far while using X and in general beating the crap out of it. I managed to get the system load above 9, which is a first for me.) -- Parag --==_Exmh_15516027500 Content-Type: text/plain ; name="dmesg.out"; charset=us-ascii Content-Description: dmesg.out Content-Disposition: attachment; filename="dmesg.out" Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #7: Fri Sep 18 23:02:38 PDT 1998 root@pinhead.parag.codegen.com:/usr/src/sys/compile/PINHEAD Timecounter "i8254" frequency 1193182 Hz cost 3136 ns CPU: Pentium II (686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping=4 Features=0x80fbff real memory = 268435456 (262144K bytes) avail memory = 258211840 (252160K bytes) Programming 24 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x01 on pci0.4.0 ide_pci0: rev 0x01 on pci0.4.1 chip3: rev 0x01 int d irq 19 on pci0.4.2 chip4: rev 0x01 on pci0.4.3 ahc0: rev 0x00 int a irq 19 on pci0.6.0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs de0: rev 0x12 int a irq 17 on pci0.11.0 de0: SMC 9332DST 21140 [10-100Mb/s] pass 1.2 de0: address 00:00:c0:7e:df:e4 de0: enabling 10baseT port Probing for devices on PCI bus 1: vga0: rev 0x00 int a irq 16 on pci1.0.0 Probing for PnP devices: CSN 1 Vendor ID: CTL00e4 [0xe4008c0e] Serial 0x08de2f0a Comp ID: PNPb02f [0x2fb0d041] pcm1 (SB16pnp sn 0x08de2f0a) at 0x220-0x22f irq 10 drq 1 flags 0x15 on isa Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> pcm0 not probed due to drq conflict with pcm1 at 1 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 at 0x3e8-0x3ef irq 5 on isa sio2: type 16550A sio3 at 0x2e8-0x2ef irq 9 on isa sio3: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 at 0x278-0x27f on isa psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (atapi): , removable, accel, ovlap, dma, iordis wcd0: 5512Kb/sec, 256Kb cache, audio play, 255 volume levels, ejectable tray wcd0: 120mm data disc loaded, unlocked joy0 at 0x201 on isa joy0: joystick joy1 not probed due to I/O address conflict with joy0 at 0x201 npx0 on motherboard npx0: INT 16 interface APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 ccd0-3: Concatenated disk drivers SMP: AP CPU #1 Launched! ahc0:A:4: no active SCB for reconnecting target - issuing BUS DEVICE RESET SAVED_TCL == 0x40, ARG_1 == 0xff, SEQ_FLAGS == 0x0 (probe4:ahc0:0:4:1): SCB 0x4 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe4:ahc0:0:4:1): BDR message in message buffer (probe4:ahc0:0:4:1): SCB 0x4 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe4:ahc0:0:4:1): no longer in timeout, status = 34b ahc0: Issued Channel A Bus Reset. 5 SCBs aborted ahc0:A:4: no active SCB for reconnecting target - issuing BUS DEVICE RESET SAVED_TCL == 0x40, ARG_1 == 0xff, SEQ_FLAGS == 0x0 (probe4:ahc0:0:4:2): SCB 0x6 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe4:ahc0:0:4:2): BDR message in message buffer (probe4:ahc0:0:4:2): SCB 0x6 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe4:ahc0:0:4:2): no longer in timeout, status = 34b ahc0: Issued Channel A Bus Reset. 3 SCBs aborted ahc0:A:4: no active SCB for reconnecting target - issuing BUS DEVICE RESET SAVED_TCL == 0x40, ARG_1 == 0xff, SEQ_FLAGS == 0x0 (probe0:ahc0:0:4:3): SCB 0x4 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe0:ahc0:0:4:3): BDR message in message buffer (probe0:ahc0:0:4:3): SCB 0x4 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe0:ahc0:0:4:3): no longer in timeout, status = 34b ahc0: Issued Channel A Bus Reset. 3 SCBs aborted ahc0:A:4: no active SCB for reconnecting target - issuing BUS DEVICE RESET SAVED_TCL == 0x40, ARG_1 == 0xff, SEQ_FLAGS == 0x0 (probe0:ahc0:0:4:4): SCB 0x6 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe0:ahc0:0:4:4): BDR message in message buffer (probe0:ahc0:0:4:4): SCB 0x6 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe0:ahc0:0:4:4): no longer in timeout, status = 34b ahc0: Issued Channel A Bus Reset. 2 SCBs aborted ahc0:A:4: no active SCB for reconnecting target - issuing BUS DEVICE RESET SAVED_TCL == 0x40, ARG_1 == 0xff, SEQ_FLAGS == 0x0 (probe0:ahc0:0:4:5): SCB 0x4 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe0:ahc0:0:4:5): BDR message in message buffer (probe0:ahc0:0:4:5): SCB 0x4 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe0:ahc0:0:4:5): no longer in timeout, status = 34b ahc0: Issued Channel A Bus Reset. 2 SCBs aborted ahc0:A:4: no active SCB for reconnecting target - issuing BUS DEVICE RESET SAVED_TCL == 0x40, ARG_1 == 0xff, SEQ_FLAGS == 0x0 (probe0:ahc0:0:4:6): SCB 0x6 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe0:ahc0:0:4:6): BDR message in message buffer (probe0:ahc0:0:4:6): SCB 0x6 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe0:ahc0:0:4:6): no longer in timeout, status = 34b ahc0: Issued Channel A Bus Reset. 2 SCBs aborted ahc0:A:4: no active SCB for reconnecting target - issuing BUS DEVICE RESET SAVED_TCL == 0x40, ARG_1 == 0xff, SEQ_FLAGS == 0x0 (probe0:ahc0:0:4:7): SCB 0x4 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe0:ahc0:0:4:7): BDR message in message buffer (probe0:ahc0:0:4:7): SCB 0x4 - timed out in datain phase, SCSISIGI == 0x54 SEQADDR == 0x153 SSTAT1 == 0x2 (probe0:ahc0:0:4:7): no longer in timeout, status = 34b ahc0: Issued Channel A Bus Reset. 2 SCBs aborted pass4 at ahc0 bus 0 target 6 lun 0 pass4: Fixed Scanner SCSI2 device pass4: 3.300MB/s transfers changing root device to da0s2a cd0 at ahc0 bus 0 target 4 lun 0 cd0: Removable Worm SCSI2 device cd0: 10.0MB/s transfers (10.0MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI2 device da1: 20.0MB/s transfers (20.0MHz, offset 15), Tagged Queueing Enabled da1: 3067MB (6281856 512 byte sectors: 255H 63S/T 391C) da2 at ahc0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI2 device da2: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da2: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI2 device da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) ffs_mountfs: superblock updated ffs_mountfs: superblock updated --==_Exmh_15516027500-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message