Port-arm archive

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

Re: Dockstar (like SHEEVAPLUG) panics at init with -current after Aug 31, 2012

On 6/01/2013, at 6:03 AM, Nick Hudson <nick.hudson%gmx.co.uk@localhost> wrote:

> On 12/19/12 20:30, Andy Ruhl wrote:
> [...]
>> root on sd0a dumps on sd0b
>> WARNING: clock lost 4734 days
>> WARNING: using filesystem time
>> warning: no /dev/console
> The real problem is related to the missing /dev/console

I'm not so sure about that. I want to be cautious because I don't have your 
computer sitting in front of me, but I have seen this behaviour on my TS7200s. 
The reason I'm not so sure it's /dev/console is because NetBSD always has 
/dev/console (well, almost always). If init notices that /dev/console is 
missing, then it builds a ramdisk on /dev and populates it so that NetBSD isn't 
stuck. Once you have a ramdisk involved, a fault in netbsd:uvm_pagealloc_pgfl 
becomes a bit more understandable. I'm pretty sure that the process running at 
the time of the panic is the /dev/MAKEDEV shell script. MAKEDEV will create a 
/dev ramdisk anywhere you like, so I'm going to try that on a Raspberry Pi that 
has a working /dev to see if that provides any more information. All I have to 
do is find my Raspberry Pi console cable.

>> init path (default /sbin/init):
>> init: copying out path `/sbin/init' 11
>> data_abort_handler: data_aborts fsr=0x1 far=0x28207697
>> Fatal kernel mode data abort: 'Alignment Fault 1'
>> trapframe: 0xc7efcd00
>> FSR=00000001, FAR=28207697, spsr=20000013
>> r0 =00000004, r1 =00000000, r2 =c207d010, r3 =00000000
>> r4 =28207665, r5 =00000000, r6 =00000000, r7 =c207d010
>> r8 =c04c40fc, r9 =00000000, r10=00000000, r11=c7efcd88
>> r12=00000001, ssp=c7efcd50, slr=c02c5364, pc =c02c53f0
>> Stopped in pid 2.1 (sh) at      netbsd:uvm_pagealloc_pgfl+0xbc: ldrh    r3, 
>> [r4,
>>  #0x32]
> I get the same abort if I delete /dev/console from my working RPI SD card.

Yeah. I just populated /dev on my TS7200s to work around this.


Home | Main Index | Thread Index | Old Index