FS#13381 - [archiso] Kernel null pointer reference error when passing malformed arguments
Attached to Project:
Release Engineering
Opened by Ole Rasmussen (elumineX) - Thursday, 19 February 2009, 18:48 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 01 December 2009, 22:29 GMT
Opened by Ole Rasmussen (elumineX) - Thursday, 19 February 2009, 18:48 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 01 December 2009, 22:29 GMT
|
Details
Description:
Kernel null pointer reference error at Arch Linux 2009.02 x86_64 installation (with vga="773") boot parameter in VMWare Workstation v6.5.1 (b. 126130). This error does not happen without the vga parameter. Additional info: * Screenshot of the error attatched Steps to reproduce: 1) Boot the FTP cd 2) Press [e] to edit boot parameters 3) Press [e] again to edit kernel line and append 'vga=773' as proposed in the Beginners guide. 4) Press [enter] then [b] 6) When ready to login, type 'root' [enter] 7) Kernel error.... |
This task depends upon
Closed by Aaron Griffin (phrakture)
Tuesday, 01 December 2009, 22:29 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in git. Shows an error message. git commit 2b999307
Tuesday, 01 December 2009, 22:29 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in git. Shows an error message. git commit 2b999307
It seems I actually misunderstood the last setting int the boot params (with the %). I accidently added vga=773 before the percentage meaning it was vga=773%.
Adding the setting properly works like a charm!
I imagine it actually ran "ramdisk_size=75 vga=773%" - we should check to see if there's any way to fix this
it may be an upstream bug, but that doesn't mean it's not a bug we can track.
You can see that when booting there are at least one message saying out of disk space. The crash was with unionfs, now with aufs2 the crash is a kernel panic instead of null pointer dereference.
I think that we can do nothing here other than message saying: "Hey guy the ramdisk is too small!" ;)
@Aaron: One sidenote here, as you can see, the "ramdisk_size" when the size is without percent is in Kbytes, but the "size" parameter for tmpfs is in bytes.
I don't know if can be really useful testing if tmpfs size is too small to avoid a kernel panic -> show a message, then stop. This is like booting on system with a small memory.
The check should be against parameter passed to tmpfs_size (ex ramdisk_size) it can be in bytes, [k]bytes, [m]bytes, [g]bytes or % of ram, and comparing with some minimal permited. Or check if mounting the aufs root fails because can't write to tmpfs. I think that the first option will make much more complicated the archiso hook, second option maybe aceptable...
opinions?
http://github.com/djgera/archiso/commit/90e0a728fc95441eebf291ed7c84e184f548224a