Re: XO-1 SD card access during boot-up

2012-05-30 Thread Martin Langhoff
On Sun, May 27, 2012 at 11:22 AM, Mikus Grinbergs wrote: > For three years now, as part of my XO customization I've had an > initialization script in /etc/rc.d/init.d/ that issues an explicit 'mount' This is a shot in the dark, but might be of use.Your mount script was racing with the automounter

Re: XO-1 SD card access during boot-up

2012-05-30 Thread John Watlington
On May 30, 2012, at 3:42 AM, James Cameron wrote: > Agreed. I meant a proper power cycle, not the type provided by XO-1 > without supply discharge. My point is that it is hard to know if > leaving the power on and using CMD0 is any better than turning the > power off. We already have a delay i

Re: XO-1 SD card access during boot-up

2012-05-30 Thread James Cameron
On Wed, May 30, 2012 at 03:14:49AM -0400, John Watlington wrote: > > On May 30, 2012, at 2:04 AM, James Cameron wrote: > > > On Wed, May 30, 2012 at 12:08:40AM +0200, Sascha Silbe wrote: > >> Or is a "software reset" (i.e. CMD0) insufficient for > >> reinitialisation in Linux? (The standard sugge

Re: XO-1 SD card access during boot-up

2012-05-30 Thread John Watlington
On May 30, 2012, at 2:04 AM, James Cameron wrote: > On Wed, May 30, 2012 at 12:08:40AM +0200, Sascha Silbe wrote: >> Or is a "software reset" (i.e. CMD0) insufficient for >> reinitialisation in Linux? (The standard suggests [2] it is, but actual >> cards may or may not be behave that way.) > > I

Re: XO-1 SD card access during boot-up

2012-05-29 Thread James Cameron
On Wed, May 30, 2012 at 12:08:40AM +0200, Sascha Silbe wrote: > James Cameron writes: > > > The XO-1 SD card slot power supply circuit does not have a discharge > > clamping function, and so when the firmware or software turns off the > > power to the slot, the voltage falls slowly. > > > > The f

Re: XO-1 SD card access during boot-up

2012-05-29 Thread Sascha Silbe
James Cameron writes: > The XO-1 SD card slot power supply circuit does not have a discharge > clamping function, and so when the firmware or software turns off the > power to the slot, the voltage falls slowly. > > The fall rate violates the specification for cards. [...] > When an SD card is us

Re: XO-1 SD card access during boot-up

2012-05-27 Thread James Cameron
G'day Mikus, The XO-1 SD card slot power supply circuit does not have a discharge clamping function, and so when the firmware or software turns off the power to the slot, the voltage falls slowly. The fall rate violates the specification for cards. We have seen cards becoming confused because of

XO-1 SD card access during boot-up

2012-05-27 Thread Mikus Grinbergs
DISCLAIMER: I am not asking for help; I'm sharing my experiences. Encountered an interesting situation on one XO-1 with os11 (12.1.0): On completely random occasions, the boot-up sequence stops because of i/o errors on device mmcblk0. Without making any changes whatsoever, the very next bo