Hi I've created the /dev/console and i've modified /boot/parmfile, as indicated, and now i have: RAMDISK: cramfs filesystem found at block 0 RAMDISK: Loading 2036 blocks ]1 disk( into ram disk... done. VFS: Mounted root (cramfs filesystem) readonly. Freeing unused kernel memory: 84k freed initrd-tools: 0.1.78 pivot_root: No such file or directory /sbin/init: 431: cannot open dev/console: No such file
Kernel panic: Attempted to kill init! HCPGIR450W CP entered; disabled wait PSW 000A0000 800306C4 now what? :-( --- Adam Thornton <[EMAIL PROTECTED]> wrote: > On Apr 14, 2005, at 3:53 PM, Lizbeth Ortiz wrote: > > > I've installed, via apt, > kernel-image-2.6.8-2-s390, > > and i've modified /boot/parmfile deleting the word > > "noinitrd", also i've modified /etc/zipl.conf > adding > > the line "ramdisk=/initrd.img" and after rebooted > the > > vm i have: > > RAMDISK: cramfs filesystem found at block 0 > > RAMDISK: Loading 2036 blocks ]1 disk( into ram > disk... > > done. > > VFS: Mounted root (cramfs filesystem) readonly. > > Freeing unused kernel memory: 84k freed > > initrd-tools: 0.1.78 > > pivot_root: No such file or directory > > /sbin/init: 431: cannot open dev/console: No such > file > > > > Kernel panic: Attempted to kill init! > > HCPGIR450W CP entered; disabled wait PSW 000A0000 > > 800306C4 > > > > What is the problem? > > > You need to create a static /dev/console node. I > think it's a > character device, major 5 minor 1. Also, your DASD > spec will have > changed. Instead of dasd=150-155 or whatever, it'd > be > dasd=0.0.150-0.0.155. Don't forget to rerun zipl. > > Further, there are some changes to the chandev layer > to get your > network devices working again with the new group > devices stuff. > > I did that with the creation of a file > /etc/groupdev, and the following > script (/etc/init.d/groupdev.sh): > > # > # groupdev.sh S/390 module initialization > parameters > # > # Must run before networking but after udev. > # > # Version: @(#)groupdev.sh 0.0-0 27-Apr-2004 > [EMAIL PROTECTED] > # > > [ -f /etc/default/rcS ] && . /etc/default/rcS > > test -f /etc/groupdev && ( > # Loop over lines in /etc/groupdev > echo -n "Initializing ccwgroup devices..." > while read type rest > do > case "$type" in ""|\#*) > continue > ;; > esac > case "$type" in "qeth") > modprobe -k ${type} > set -- $rest > echo "0.0.${1},0.0.${2},0.0.${3}" > > /sys/bus/ccwgroup/drivers/${type > }/group > echo $4 > > /sys/bus/ccwgroup/drivers/${type}/0.0.${1}/online > ;; > esac > done > echo "done." > ) < /etc/groupdev > > : exit 0 > > And /etc/groupdev contains: > > # format is: > # type rest > # type is "qeth" or another grouped device > # qeth is the only one I know about right now. > # > # for qeth, rest is > # read-device write-device data-device online > # where the devices are four-digit hex > addresses, > # and online is "1" or "0" for whether the > device should be > # on- or offline > > qeth 0340 0341 0342 1 > qeth 0344 0345 0346 1 > > Hope this helps. > > Adam > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access > instructions, > send email to [EMAIL PROTECTED] with the > message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > _________________________________________________________ Do You Yahoo!? Informacisn de Estados Unidos y Amirica Latina, en Yahoo! Noticias. Vismtanos en http://noticias.espanol.yahoo.com ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390