NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/38273: "lockdebug_barrier: spin lock held" from ld_ataraid_start_raid0()



The following reply was made to PR kern/38273; it has been noted by GNATS.

From: "Greg A. Woods" <woods%planix.com@localhost>
To: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: kern/38273: "lockdebug_barrier: spin lock held" from 
ld_ataraid_start_raid0()
Date: Wed, 10 Sep 2008 15:43:48 -0400

 --pgp-sign-Multipart_Wed_Sep_10_15:43:04_2008-1
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 Well, now today I get a kernel that just hangs hard with newfs of ld(4)
 on ataraid(4):
 
 NetBSD 4.99.72 (GENERIC) #4: Wed Sep 10 15:05:13 EDT 2008
 [[....]]
 ASUSTeK COMPUTER INC. PSCHSR-A (1.XX)
 [[....]]
 wd1 at atabus2 drive 0: <WDC WD2000JD-00HBB0>
 wd1: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
 rnd: wd1 attached as an entropy source (collecting)
 wd2 at atabus3 drive 0: <WDC WD2000JD-00HBB0>
 wd2: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
 [[....]]
 ataraid0: found 1 RAID volume
 ld0 at ataraid0 vendtype 1 unit 0: Adaptec ATA RAID-1 array
 ld0: ld_ataraid_attach(): ld unit 0 (ld->sc_dv =3D 0xd180de10)
 ld0: ldattach(): unit 0
 ld0: 186 GB, 24321 cyl, 255 head, 63 sec, 512 bytes/sect x 390721536 sectors
 
 
 [halt sent]
 fatal breakpoint trap in supervisor mode
 trap type 1 code 0 eip c05ae0dc cs 8 eflags 202 cr2 8089000 ilevel 8
 Stopped in pid 0.4 (system) at  netbsd:breakpoint+0x4:  popl    %ebp
 db{0}> trace
 breakpoint(0,3f8,5,6,c0bf03a0,d0e80bcc,d0d0cf6c,c32c400e,c32c5000,7f9) at n=
 etbsd:breakpoint+0x4
 comintr(d0e80ac0,d087cb10,2f0fe20f,70ff10b,ef00f8f,2f0e0d8f,f0fb20f,50ff20f=
 ,ff00f0d,f0e850f) at netbsd:comintr+0x575
 DDB lost frame for netbsd:Xintr_ioapic_edge10+0xa9, trying 0xd0d0cf74
 Xintr_ioapic_edge10() at netbsd:Xintr_ioapic_edge10+0xa9
 --- interrupt ---
 --- switch to interrupt stack ---
 Xspllower(6,c7088644,c4,c0848419,1000000,d49a48c0,c0bd8514,c0847ee6,d49a4d4=
 0,d49a4d80) at netbsd:Xspllower+0xf
 pool_put(c0bd84a0,c7088644,cc504000,0,6,0,c01f3f6a,c32d4f44,c04b528f,cc4c77=
 20) at netbsd:pool_put+0x60
 ld_ataraid_start_raid0(d180de10,c31e8158,0,c049bd03,c31f7e18,d180de70,d180d=
 e14,c31f7dc8,10000,c32d4f00) at netbsd:ld_ataraid_start_raid0+0x231
 ldstart(d180de10,c3446ecc,3,d1843ac8,0,1,d1843ac8,c04b245a,c3446ecc,d180de1=
 0) at netbsd:ldstart+0x6d
 ld_ataraid_iodone_raid0(c31f7dc8,0,0,3,c31f7dc8,c0b37940,d087cd40,c051d97a,=
 3,3) at netbsd:ld_ataraid_iodone_raid0+0x1bd
 biodone2(3,3,3,3,cc4be29c,cc4be004,d087cd80,c04c3af7,0,0) at netbsd:biodone=
 2+0x99
 biointr(0,0,0,0,0,0,0,3,0,0) at netbsd:biointr+0x3a
 softint_dispatch(cc4c7be0,3,0,0,0,0,d087cd90,d087cba8,d087cc00,28) at netbs=
 d:softint_dispatch+0xb7
 DDB lost frame for netbsd:Xsoftintr+0x3d, trying 0xd087cd88
 Xsoftintr() at netbsd:Xsoftintr+0x3d
 --- interrupt ---
 fatal page fault in supervisor mode
 trap type 6 code 0 eip c05b055f cs 8 eflags 10202 cr2 3b ilevel 8
 kernel: supervisor trap page fault, code=3D0
 Faulted in DDB; continuing...
 db{0}> cont
 [halt sent]
 fatal breakpoint trap in supervisor mode
 trap type 1 code 0 eip c05ae0dc cs 8 eflags 202 cr2 3b ilevel 8
 Stopped in pid 0.4 (system) at  netbsd:breakpoint+0x4:  popl    %ebp
 db{0}> trace
 breakpoint(0,3f8,5,6,c0bf03a0,d0e80bcc,d0d0cf6c,c32c4010,c32c5000,7ff) at n=
 etbsd:breakpoint+0x4
 comintr(d0e80ac0,d087caf0,2f0fe20f,70ff10b,ef00f8f,2f0e0d8f,f0fb20f,50ff20f=
 ,ff00f0d,f0e850f) at netbsd:comintr+0x575
 DDB lost frame for netbsd:Xintr_ioapic_edge10+0xa9, trying 0xd0d0cf74
 Xintr_ioapic_edge10() at netbsd:Xintr_ioapic_edge10+0xa9
 --- interrupt ---
 --- switch to interrupt stack ---
 Xspllower(6,c04e127c,0,c86af70c,c86affe0,d087cbe0,d087cbf0,c04e127c,c0bd851=
 4,c86af70c) at netbsd:Xspllower+0xf
 mutex_vector_exit(c0bd8514,c86af70c,c4,d3f69fc0,0,d3f69f40,c0bd8514,c084841=
 9,1009e80,c86af7a4) at netbsd:mutex_vector_exit+0x145
 pool_put(c0bd84a0,c86af70c,cc504000,0,6,0,c01f3f0b,c32d4f44,c04b528f,cc4c77=
 20) at netbsd:pool_put+0x1ac
 ld_ataraid_start_raid0(d180de10,c31e8158,0,c049bd03,c31f7c90,d180de70,d180d=
 e14,c31f7c40,10000,c32d4f00) at netbsd:ld_ataraid_start_raid0+0x231
 ldstart(d180de10,c31e8000,3,d1843ac8,0,1,d1843ac8,c04b245a,c31e8000,d180de1=
 0) at netbsd:ldstart+0x6d
 ld_ataraid_iodone_raid0(c31f7c40,0,0,3,c31f7c40,c0b37940,d087cd40,c051d97a,=
 3,3) at netbsd:ld_ataraid_iodone_raid0+0x1bd
 biodone2(3,3,3,3,cc4be29c,cc4be004,d087cd80,c04c3af7,0,0) at netbsd:biodone=
 2+0x99
 biointr(0,0,0,0,0,0,0,3,0,0) at netbsd:biointr+0x3a
 softint_dispatch(cc4c7be0,3,0,0,0,0,d087cd90,d087cce4,d087cd00,28) at netbs=
 d:softint_dispatch+0xb7
 DDB lost frame for netbsd:Xsoftintr+0x3d, trying 0xd087cd88
 Xsoftintr() at netbsd:Xsoftintr+0x3d
 --- interrupt ---
 fatal page fault in supervisor mode
 trap type 6 code 0 eip c05b055f cs 8 eflags 10202 cr2 3b ilevel 8
 kernel: supervisor trap page fault, code=3D0
 Faulted in DDB; continuing...
 db{0}>=20
 db{0}> ps
  PID           PPID     PGRP        UID S   FLAGS LWPS          COMMAND    =
 WAIT
  891            721      891          0 2  0x4000    1            newfs  ph=
 ysio
 [[....]]
 
 --=20
                                                Greg A. Woods
                                                Planix, Inc.
 
 <woods%planix.com@localhost>     +1 416 489-5852 x122     
http://www.planix.com/
 
 --pgp-sign-Multipart_Wed_Sep_10_15:43:04_2008-1
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: PGPfreeware 5.0i for non-commercial use
 MessageID: /3YxBS+k5jDSESTGOObBrSFl0GyEPvFe
 
 iQA/AwUBSMgjdGZ9cbd4v/R/EQJKjgCg8w3FTula0JeH/QqEXh81UYOBfjEAn0AB
 4lyOAu01cbDFIYx1h8PedfUV
 =VQLk
 -----END PGP SIGNATURE-----
 
 --pgp-sign-Multipart_Wed_Sep_10_15:43:04_2008-1--
 


Home | Main Index | Thread Index | Old Index