NetBSD-Bugs archive

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

Re: kern/46749: Accessing to ld0 at sdmmc0 causes kernel panic on NetBSD/i386 current



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

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost, dholland-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/46749: Accessing to ld0 at sdmmc0 causes kernel panic on
 NetBSD/i386 current
Date: Sun, 29 Jul 2012 02:46:15 +0900 (JST)

 Hi,
 
 From: David Holland <dholland-bugs%NetBSD.org@localhost>, Date: Sat, 28 Jul 
2012 17:35:02 +0000 (UTC)
 
 > The following reply was made to PR kern/46749; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-bugs%netbsd.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: kern/46749: Accessing to ld0 at sdmmc0 causes kernel panic on
 >  NetBSD/i386 current
 > Date: Sat, 28 Jul 2012 17:33:08 +0000
 > 
 >  On Sat, Jul 28, 2012 at 05:25:00PM +0000, ryoon%NetBSD.org@localhost wrote:
 >   > When I access to /dev/ld0e on ld0 at sdmmc0, kernel panics.
 >   > SD card is formatted as ffs.
 >  
 >  oh wonderful...
 >  
 >  How repeatable is it?
 >
 >   > % crash -M netbsd.4.core -N netbsd.4
 >   > Crash version 6.99.10, image version 6.99.10.
 >   > System panicked: pool_get(ffsdino2): free list modified: magic=0; page 
 > 0xc280f000; item addr 0xc280fe00
 >  
 >   > Backtrace from time of crash is available.
 >   > [...]
 >   > 
 > sys_execve(c25582c0,daf45cf4,daf45d1c,c24b41b0,0,bb952c64,bb952000,c24b991c,0,3b)
 >  at sys_execve+0x30
 >  
 >  So it isn't (probably) the access to the thing that's the problem;
 >  mounting it corrupted the ffs dinode pool, and then it crashes the
 >  next time you go there.
 >  
 >  If it's repeatable, my inclination would be to sprinkle the mount code
 >  with integrity checks on that pool to figure out where it's getting
 >  trashed. But I don't know the pool interface for that offhand.
 
 It is repeatable. Every time, kernel panics.
 At least, I have 5 cores in /var/crash.
 But I cannot provide first error message, it is lost.
 I suspect first error message is different from the message above.
 
 I cannot confirm whether filesystem is broken or not.
 But I will newsfs my SDHC card again.
 
 Thank you.
 
 -- 
 Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
 
 


Home | Main Index | Thread Index | Old Index