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

Bug#126370: serial console problem solved, I think...



hi,

I think I found the solution to the "inittab doesn't get changed for 
serial console" problem. 

utilities/dbootstrap/baseconfig.c:155:

    if (bootargs.console[5]==',') ttyspeed=atoi(bootargs.console+6);

is dereferencing a NULL pointer (bootargs.console) when there's no 
"console=ttyXX" on the kernel command line. 

this crashes dbootstrap just before it can adapt the inittab.

this bug only shows up if you've both got a serial console and don't 
give that explicitly on the kernel command line.

HTH,

cm.

-- 
** christian mock in vienna, austria -- http://www.tahina.priv.at/~cm/
Ich beraube mich doch nicht des Vergnügens zu beobachten, wie sich diese
zarte Knospe der Dummheit weiter entfaltet.
 Markus Pirchner ueber xxx in abm-mi





Reply to: