Due to space constraints, all INITRDs that I have encountered use
BusyBox.  I'll skip the details for now, but your 'grep' in that space
is NOT the same 'grep' as you get when the real system is running.
Evidently 'lsqeth' wants some features of the latter 'grep' and cannot
use the BusyBox 'grep'.  You will run into more issues like this.

Perhaps what you're trying to do can be accomplished outside of INITRD
space.  (ie: after the "real root" is mounted and the larger suite of
utilities is available to you)

-- R;   <><





On Wed, Jun 23, 2010 at 13:29, Thang Pham <thang.p...@us.ibm.com> wrote:
> I am building my initrd using cpio -H newc -o| gzip -9 -c - > initrd.gz
> I do not activate the a ccwgroup device because I thought it was done for
> you automatically by udev.  I turned udevd into a daemon in my init script,
> but I do not see the network devices online.
>
> The output of lsqeth and lscss are:
>
> sh-3.2# lsqeth
> grep: invalid option -- m
> BusyBox v1.2.0 (2009.07.02-14:13+0000) multi-call binary
> ...
> WARNING: Qethconf is not installed !
>         No ipa_takeover, vipa or parp entries will be displayed.
>
> ls: /bus/ccwgroup/drivers/qeth: No such file or directory
> ls: /class/net/: No such file or directory
>
> sh-3.2# lscss
> Device   Subchan.  DevType CU Type Use  PIM PAM POM  CHPIDs
> ----------------------------------------------------------------------
> 0.0.0009 0.0.0000  0000/00 3215/00 yes  80  80  ff   00000000 00000000
> 0.0.0800 0.0.0001  1732/01 1731/01 yes  80  80  ff   00000000 00000000
> 0.0.0801 0.0.0002  1732/01 1731/01 yes  80  80  ff   00000000 00000000
> 0.0.0802 0.0.0003  1732/01 1731/01 yes  80  80  ff   00000000 00000000
> 0.0.000c 0.0.0004  0000/00 2540/00      80  80  ff   00000000 00000000
> 0.0.000d 0.0.0005  0000/00 2540/00      80  80  ff   00000000 00000000
> 0.0.000e 0.0.0006  0000/00 1403/00      80  80  ff   00000000 00000000
> 0.0.0190 0.0.0007  3390/0c 3990/e9      c0  80  ff   b8b90000 00000000
> 0.0.019d 0.0.0008  3390/0c 3990/e9      c0  80  ff   b8b90000 00000000
> 0.0.019e 0.0.0009  3390/0c 3990/e9      c0  80  ff   b8b90000 00000000
>
>
>
>
>
>  Thang                                       2455 South Road          
> (Embedded
>  Pham                                                            image moved 
> to
>                                                                          file:
>                                                                  pic43426.gif)
>
>  Phone:    (845) 433-7567                    Poughkeepsie, NY
>                                            12601
>
>  e-mail:   thang.p...@us.ibm.com
>
>
>
>
>
>
>
> From:       Peter Oberparleiter <ober...@linux.vnet.ibm.com>
> To:         LINUX-390@vm.marist.edu
> Date:       06/23/2010 04:11 AM
> Subject:    Re: Red Hat network modules
> Sent by:    Linux on 390 Port <LINUX-390@vm.marist.edu>
>
>
>
> On 22.06.2010 20:39, Thang Pham wrote:
>> I dropped the first instance of the qeth module, and the
>> qeth: Unknown symbol qdio_synchronize
>> qeth: Unknown symbol do_QDIO
>> ...
>>
>> errors disappeared.  But the ERROR: Interface setup failed:
>> pumpSetupInterface failed: get link - 19: No such device error is still
>> there.  I am using dhcp in my custom initrd.
>
> How exactly are you building your custom initrd? Does your custom built
> initrd create and activate a ccwgroup device according to Chapter 7 in
> http://public.dhe.ibm.com/software/dw/linux390/docu/lk33dd05.pdf? (post
> the output of lsqeth). Are all required ccw devices available to Linux?
> (post the output of lscss).
>
>
> Regards,
>   Peter Oberparleiter
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to