A recent SysMon update drew my attention to nvgetvar while crashed at start.
As the developer asked, I tried to call nvgetvar in shell which is crashed. Further testing made it clear that it is crashing when called it without any parameters.
I have not found any info about nvgetvar, but I think it lists u-boot variables/values, therefore I can't find it on the Peg2.
I don't knowif I ever used it, but now it crashes badly:
http://crashlog.os4depot.net/?function= ... hlogid=388
Is there something which I could try to fix that?
nvgetvar crashes on MicroA1-C
- tonyw
- AmigaOS Core Developer
- Posts: 1479
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: nvgetvar crashes on MicroA1-C
I don't know any reason why it should not work on the µA1, because it works on all other U-Boot platforms (XE, Sams, etc).
The µA1 is just an XE on a different mobo and a built-in graphics chip.
I would suggest you boot a CD, proceed to load WB, open a Shell and issue the command from that Shell. That would ensure a clean system.
The µA1 is just an XE on a different mobo and a built-in graphics chip.
I would suggest you boot a CD, proceed to load WB, open a Shell and issue the command from that Shell. That would ensure a clean system.
cheers
tony
tony
Re: nvgetvar crashes on MicroA1-C
Thanks the anvswer Tonyw!
It is solved finally.
I found that the a1ide_conf and a1ide_xfer nv variables are missing so fixed it and called a saveenv command at the UBOOT prompt.
After that, nvgetvar works again.
Tried to test it again and temprarily removed that two variables, but nvgetvar still working without them.
So it seems that saveenv was the command which fixed it and this may suggests a tired battery. Measured it, and it was not tired (3.0V).
The reason is still a mystery.
Bye
It is solved finally.
I found that the a1ide_conf and a1ide_xfer nv variables are missing so fixed it and called a saveenv command at the UBOOT prompt.
After that, nvgetvar works again.
Tried to test it again and temprarily removed that two variables, but nvgetvar still working without them.
So it seems that saveenv was the command which fixed it and this may suggests a tired battery. Measured it, and it was not tired (3.0V).
The reason is still a mystery.
Bye
- tonyw
- AmigaOS Core Developer
- Posts: 1479
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: nvgetvar crashes on MicroA1-C
Still don't understand how that could fail, but if it works again, then yay!
cheers
tony
tony