From owner-freebsd-current Wed Mar 15 13:30:10 2000 Delivered-To: freebsd-current@freebsd.org Received: from milquetoast.cs.mcgill.ca (milquetoast.CS.McGill.CA [132.206.2.5]) by hub.freebsd.org (Postfix) with ESMTP id 1B5BC37BEF0 for ; Wed, 15 Mar 2000 13:29:17 -0800 (PST) (envelope-from mat@milquetoast.cs.mcgill.ca) Received: (from mat@localhost) by milquetoast.cs.mcgill.ca (8.9.3/8.9.3) id QAA17308; Wed, 15 Mar 2000 16:29:03 -0500 (EST) Date: Wed, 15 Mar 2000 16:29:03 -0500 From: Mathew Kanner To: Soren Schmidt Cc: freebsd-current@FreeBSD.ORG Subject: Re: ata + vinum problems Message-ID: <20000315162903.A10174@cs.mcgill.ca> References: <20000314182259.I17156@cs.mcgill.ca> <200003150829.JAA22516@freebsd.dk> <20000315095930.A7309@cs.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.15i In-Reply-To: Mathew Kanner's message [Re: ata + vinum problems] as of Wed, Mar 15, 2000 at 09:59:30AM -0500 Organization: SOCS, McGill University, Montreal, CANADA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mar 15, Mathew Kanner wrote: > On Mar 15, Soren Schmidt wrote: > > Btw are you running the latest 4.0 or -current code ? there was > > a time when we had problems with the HPT and Promise controllers ? > > The kernel in question was cvsup'ed right at the change. I'm > going to try 4.0 today. Replying to myself. By now this is probably the wrong list. I'm not sure what to do anymore. I've tried to set the bios settings back to what I've had when it worked it it doesn't seem to want to go. I've set the drives for ata/66 and ata/33. I've moved IRQ's around and even tried forcing them. Here are sets of dmesg and backtraces. This also happens with a kernel and modules compiled on sunday. The part that really bothers me is that I have a nearly identical machine, except for an extra drive in it that originally had the same problems but when I disabled the extra periphs, the problem went away. Any suggestions? --Mat Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #5: Tue Mar 14 22:07:49 GMT 2000 mat@kaze.CS.McGill.CA:/usr/src/sys/compile/KAZE Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon (551.25-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x387f9ff real memory = 536870912 (524288K bytes) avail memory = 516157440 (504060K bytes) Preloaded elf kernel "kernel" at 0xc03e3000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 chip1: port 0x5000-0x500f at device 7.3 on pci0 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xa400-0xa47f mem 0xe6060000-0xe606007f irq 7 at device 11.0 on pci0 xl0: Ethernet address: 00:50:da:d6:6a:d0 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: supplying EUI64: 00:50:da:ff:fe:d6:6a:d0 atapci1: port 0xb800-0xb83f,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa807 mem 0xe6000000-0xe601ffff irq 5 at device 13.0 on pci0 ata2: at 0xa800 on atapci1 ata3: at 0xb000 on atapci1 atapci2: port 0xcc00-0xcc3f,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xbc00-0xbc07 mem 0xe6040000-0xe605ffff irq 10 at device 15.0 on pci0 ata4: at 0xbc00 on atapci2 ata5: at 0xc400 on atapci2 atapci3: port 0xe000-0xe03f,0xdc00-0xdc03,0xd800-0xd807,0xd400-0xd403,0xd000-0xd007 mem 0xe6020000-0xe603ffff irq 11 at device 17.0 on pci0 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-0x6f on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: parallel port not found. ad0: 26063MB [52953/16/63] at ata0-master using UDMA33 ad4: 26063MB [52953/16/63] at ata2-master using UDMA66 ad6: 26063MB [52953/16/63] at ata3-master using UDMA66 ad8: 26063MB [52953/16/63] at ata4-master using UDMA66 ad10: 26063MB [52953/16/63] at ata5-master using UDMA66 acd0: CD-RW at ata1-master using PIO4 Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted vinum: loaded vinum: reading configuration from /dev/ad6s1e vinum: updating configuration from /dev/ad8s1e vinum: updating configuration from /dev/ad10s1e vinum: updating configuration from /dev/ad4s1e xl0: starting DAD for fe80:0001::0250:daff:fed6:6ad0 xl0: DAD complete for fe80:0001::0250:daff:fed6:6ad0 - no duplicates found --- #0 boot (howto=260) at ../../kern/kern_shutdown.c:304 #1 0xc017f12c in poweroff_wait (junk=0xc03167af, howto=0) at ../../kern/kern_shutdown.c:554 #2 0xc02ba019 in trap_fatal (frame=0xc031fe64, eva=48) at ../../i386/i386/trap.c:924 #3 0xc02b9cf1 in trap_pfault (frame=0xc031fe64, usermode=0, eva=48) at ../../i386/i386/trap.c:817 #4 0xc02b98e7 in trap (frame={tf_fs = -1070530544, tf_es = -1072234480, tf_ds = -1028915184, tf_edi = 0, tf_esi = 0, tf_ebp = -1070465368, tf_isp = -1070465392, tf_ebx = -1070364388, tf_edx = 1074316384, tf_ecx = -1030807537, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071262112, tf_cs = 8, tf_eflags = 66054, tf_esp = -856772416, tf_ss = -1070465344}) at ../../i386/i386/trap.c:423 #5 0xc025d660 in acquire_lock (lk=0xc033891c) at ../../ufs/ffs/ffs_softdep.c:282 #6 0xc02627d0 in softdep_count_dependencies (bp=0xcceeb0c0, wantcount=0) at ../../ufs/ffs/ffs_softdep.c:4535 #7 0xc0265908 in ffs_fsync (ap=0xc031ff1c) at ../../ufs/ffs/ffs_vnops.c:168 #8 0xc02644b7 in ffs_sync (mp=0xc2803400, waitfor=2, cred=0xc10c5900, p=0xc037aa60) at vnode_if.h:537 #9 0xc01aa35f in sync (p=0xc037aa60, uap=0x0) at ../../kern/vfs_syscalls.c:549 #10 0xc017eb7b in boot (howto=256) at ../../kern/kern_shutdown.c:226 #11 0xc017f12c in poweroff_wait (junk=0xc03167af, howto=0) at ../../kern/kern_shutdown.c:554 #12 0xc02ba019 in trap_fatal (frame=0xc032002c, eva=4) at ../../i386/i386/trap.c:924 #13 0xc02b9cf1 in trap_pfault (frame=0xc032002c, usermode=0, eva=4) at ../../i386/i386/trap.c:817 #14 0xc02b98e7 in trap (frame={tf_fs = -1030881264, tf_es = -1031864304, tf_ds = 16, tf_edi = -1030812280, tf_esi = -1028847488, tf_ebp = -1070464888, tf_isp = -1070464936, tf_ebx = -1032860672, tf_edx = 1074316384, tf_ecx = -1070464856, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1032601868, tf_cs = 8, tf_eflags = 66182, tf_esp = -1032860672, tf_ss = -1028847488}) at ../../i386/i386/trap.c:423 #15 0xc273bef4 in ?? () #16 0xc01a295b in biodone (bp=0xc28f0d88) at ../../kern/vfs_bio.c:2713 #17 0xc02909fe in ad_interrupt (request=0xc2ad0880) at ../../dev/ata/ata-disk.c:555 #18 0xc028d32a in ata_intr (data=0xc261f300) at ../../dev/ata/ata-all.c:1122 #19 0xc02cc669 in intr_mux (arg=0xc10be680) at ../../i386/isa/intr_machdep.c:569 ----- Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #5: Tue Mar 14 22:07:49 GMT 2000 mat@kaze.CS.McGill.CA:/usr/src/sys/compile/KAZE Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon (551.25-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x387f9ff real memory = 536870912 (524288K bytes) avail memory = 516157440 (504060K bytes) Preloaded elf kernel "kernel" at 0xc03e3000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 chip1: port 0x5000-0x500f at device 7.3 on pci0 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xa400-0xa47f mem 0xe6060000-0xe606007f irq 9 at device 11.0 on pci0 xl0: Ethernet address: 00:50:da:d6:6a:d0 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: supplying EUI64: 00:50:da:ff:fe:d6:6a:d0 atapci1: port 0xb800-0xb83f,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa807 mem 0xe6000000-0xe601ffff irq 11 at device 13.0 on pci0 ata2: at 0xa800 on atapci1 ata3: at 0xb000 on atapci1 atapci2: port 0xcc00-0xcc3f,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xbc00-0xbc07 mem 0xe6040000-0xe605ffff irq 10 at device 15.0 on pci0 ata4: at 0xbc00 on atapci2 ata5: at 0xc400 on atapci2 atapci3: port 0xe000-0xe03f,0xdc00-0xdc03,0xd800-0xd807,0xd400-0xd403,0xd000-0xd007 mem 0xe6020000-0xe603ffff irq 7 at device 17.0 on pci0 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-0x6f on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: parallel port not found. ad0: 26063MB [52953/16/63] at ata0-master using UDMA33 ad4: 26063MB [52953/16/63] at ata2-master using UDMA66 ad6: 26063MB [52953/16/63] at ata3-master using UDMA66 ad8: 26063MB [52953/16/63] at ata4-master using UDMA66 ad10: 26063MB [52953/16/63] at ata5-master using UDMA66 acd0: CD-RW at ata1-master using PIO4 Mounting root from ufs:/dev/ad0s1a vinum: loaded vinum: reading configuration from /dev/ad10s1e vinum: updating configuration from /dev/ad8s1e vinum: updating configuration from /dev/ad6s1e xl0: starting DAD for fe80:0001::0250:daff:fed6:6ad0 xl0: DAD complete for fe80:0001::0250:daff:fed6:6ad0 - no duplicates found dscheck(#ad/0x20034): b_bcount 8 is not on a sector boundary (ssize 512) dscheck(#ad/0x20044): b_bcount 8 is not on a sector boundary (ssize 512) dscheck(#ad/0x20054): b_bcount 8 is not on a sector boundary (ssize 512) vinum: CONFIGURATION OBLITERATED vinum: drive vinumdrive1 is up vinum: drive vinumdrive2 is up vinum: drive vinumdrive3 is up vinum: removing 888 blocks of partial stripe at the end of raid5.p0 vinum: raid5.p0 must have equal sized subdisks Correcting length of raid5.p0: was 160128000, is 120095778 vinum: raid5.p0.s1 is up vinum: raid5.p0 is corrupt vinum: raid5 is up vinum: raid5.p0.s2 is up vinum: raid5.p0.s3 is up vinum: raid5.p0 is degraded dscheck(#ad/0x20034): b_bcount 8 is not on a sector boundary (ssize 512) dscheck(#ad/0x20044): b_bcount 8 is not on a sector boundary (ssize 512) dscheck(#ad/0x20054): b_bcount 8 is not on a sector boundary (ssize 512) vinum: CONFIGURATION OBLITERATED vinum: unloaded vinum: loaded vinum: reading configuration from /dev/ad10s1e vinum: raid5.p0.s0 is crashed vinum: updating configuration from /dev/ad8s1e vinum: updating configuration from /dev/ad6s1e vinum: raid5.p0 must have equal sized subdisks Correcting length of raid5.p0: was 160128000, is 27021597884318754 vinum: removing 546 blocks of partial stripe at the end of raid5.p0 vinum: raid5.p0 must have equal sized subdisks vinum: raid5.p0 must have equal sized subdisks vinum: raid5.p0 must have equal sized subdisks vinum: unloaded vinum: loaded vinum: reading configuration from /dev/ad10s1e vinum: updating configuration from /dev/ad8s1e vinum: updating configuration from /dev/ad6s1e vinum: removing 990 blocks of partial stripe at the end of raid5.p0 vinum: raid5.p0 must have equal sized subdisks Correcting length of raid5.p0: was 160126464, is 27021597884317218 vinum: removing 546 blocks of partial stripe at the end of raid5.p0 vinum: raid5.p0 must have equal sized subdisks vinum: raid5.p0 must have equal sized subdisks vinum: raid5.p0 must have equal sized subdisks dscheck(#ad/0x20034): b_bcount 8 is not on a sector boundary (ssize 512) dscheck(#ad/0x20044): b_bcount 8 is not on a sector boundary (ssize 512) dscheck(#ad/0x20054): b_bcount 8 is not on a sector boundary (ssize 512) vinum: CONFIGURATION OBLITERATED vinum: drive vinumdrive1 is up vinum: drive vinumdrive2 is up vinum: drive vinumdrive3 is up vinum: removing 888 blocks of partial stripe at the end of vinum0.p0 vinum: vinum0.p0 must have equal sized subdisks Correcting length of vinum0.p0: was 160128000, is 120095778 vinum: vinum0.p0.s1 is up vinum: vinum0.p0 is corrupt vinum: vinum0 is up vinum: vinum0.p0.s2 is up vinum: vinum0.p0.s3 is up vinum: vinum0.p0 is degraded vinum: unloaded vinum: loaded vinum: reading configuration from /dev/ad10s1e vinum: vinum0.p0.s0 is crashed vinum: updating configuration from /dev/ad6s1e vinum: updating configuration from /dev/ad8s1e vinum: updating configuration from /dev/ad4s1e vinum_scandisk: /dev/ad4s1e is down vinum: Can't read device /dev/ad4s1e, error 5 vinum: couldn't read configuration<3>vinum: vinum0.p0 must have equal sized subdisks Correcting length of vinum0.p0: was 160128000, is 27021597884318754 dscheck(#ad/0x20034): b_bcount 8 is not on a sector boundary (ssize 512) dscheck(#ad/0x20044): b_bcount 8 is not on a sector boundary (ssize 512) dscheck(#ad/0x20054): b_bcount 8 is not on a sector boundary (ssize 512) vinum: CONFIGURATION OBLITERATED vinum: drive vinumdrive0 is up vinum: drive vinumdrive1 is up vinum: drive vinumdrive2 is up vinum: drive vinumdrive3 is up vinum: removing 888 blocks of partial stripe at the end of vinum0.p0 vinum: vinum0.p0.s0 is up vinum: vinum0.p0 is corrupt vinum: vinum0 is up vinum: vinum0.p0.s1 is up vinum: vinum0.p0.s2 is up vinum: vinum0.p0 is degraded vinum: vinum0.p0.s3 is up vinum: vinum0.p0 is up ot (howto=260) at ../../kern/kern_shutdown.c:304 #1 0xc017f12c in poweroff_wait (junk=0xc03167af, howto=0) at ../../kern/kern_shutdown.c:554 #2 0xc02ba019 in trap_fatal (frame=0xc031fe64, eva=48) at ../../i386/i386/trap.c:924 #3 0xc02b9cf1 in trap_pfault (frame=0xc031fe64, usermode=0, eva=48) at ../../i386/i386/trap.c:817 #4 0xc02b98e7 in trap (frame={tf_fs = -1070530544, tf_es = -1072234480, tf_ds = -1027473392, tf_edi = 0, tf_esi = 0, tf_ebp = -1070465368, tf_isp = -1070465392, tf_ebx = -1070364388, tf_edx = 1074318400, tf_ecx = -1032589297, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071262112, tf_cs = 8, tf_eflags = 66050, tf_esp = -856927888, tf_ss = -1070465344}) at ../../i386/i386/trap.c:423 #5 0xc025d660 in acquire_lock (lk=0xc033891c) at ../../ufs/ffs/ffs_softdep.c:282 #6 0xc02627d0 in softdep_count_dependencies (bp=0xccec5170, wantcount=0) at ../../ufs/ffs/ffs_softdep.c:4535 #7 0xc0265908 in ffs_fsync (ap=0xc031ff1c) at ../../ufs//ffs/ffs_vnops.c:168 #8 0xc02644b7 in ffs_sync (mp=0xc273b200, waitfor=2, cred=0xc10c5900, p=0xc037aa60) at vnode_if.h:537 #9 0xc01aa35f in sync (p=0xc037aa60, uap=0x0) at ../../kern/vfs_syscalls.c:549 #10 0xc017eb7b in boot (howto=256) at ../../kern/kern_shutdown.c:226 #11 0xc017f12c in poweroff_wait (junk=0xc03167af, howto=0) at ../../kern/kern_shutdown.c:554 #12 0xc02ba019 in trap_fatal (frame=0xc032002c, eva=4) at ../../i386/i386/trap.c:924 #13 0xc02b9cf1 in trap_pfault (frame=0xc032002c, usermode=0, eva=4) at ../../i386/i386/trap.c:817 #14 0xc02b98e7 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -1032621688, tf_esi = -1032406912, tf_ebp = -1070464888, tf_isp = -1070464936, tf_ebx = -1032863744, tf_edx = 1074318400, tf_ecx = -1070464856, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1030697228, tf_cs = 8, tf_eflags = 66182, tf_esp = -1032863744, tf_ss = -1032406912}) at ../../i386/i386/trap.c:423 #15 0xc290cef4 in ?? () #16 0xc01a295b in biodone (bp=0xc2737188) at ../../kern/vfs_bio.c:2713 #17 0xc02909fe in ad_interrupt (request=0xc276b880) at ../../dev/ata/ata-disk.c:555 #18 0xc028d32a in ata_intr (data=0xc261f000) at ../../dev/ata/ata-all.c:1122 #19 0xc02cc669 in intr_mux (arg=0xc10be620) at ../../i386/isa/intr_machdep.c:569 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message