Re: [Redhat-s390-list] OSA/OSA-E Drivers in Red Hat Linux/390

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

 




Thank you very much Mark and Karsten. You are my heroes.

Unfortunately, my newbie status remains unchanged.

I booted RH Linux on my Intel box and tried the loopback mount. IIRC I received error:

mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       or too many mounted file systems

On a whim, I rebooted my S390 partition back to Marist and tried the loopback mount there. Same error.

It's been too long since I successfully mounted an ISO CD image using loopback. Hopefully I am making a simple mistake:

[root@linux390 redhat]# ls -l
total 2924
drwxr-xr-x   2 root     root         4096 Aug 28 15:38 image
-rw-r--r--   1 root     root        40076 Aug 20 08:50 lcs-2.4.7-s390.o
-rw-r--r--   1 root     root      2944290 Aug 28 15:37 tapeinrd.img

[root@linux390 redhat]# mount -t ext2 -o loop tapeinrd.img image
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       or too many mounted file systems

Suggestions?




Karsten Hopp <Karsten.Hopp@redhat.de>

08/28/2001 11:56 AM

       
        To:        KROGULECKI_JOHN_M@Lilly.com
        cc:        'redhat390' <redhat-s390-list@redhat.com>
        Subject:        Re: [Redhat-s390-list] OSA/OSA-E Drivers in Red Hat Linux/390



>
> Ok, here is a short description how to add the OC modules to our installer.
>
> - mount the initrd.img it over loopback:
>
>   mkdir initrd
>   mount -t ext2 -o loop initrd.img initrd
>
> copy the OCO modules in the lib directory of the initrd:
>
>   cp lcs*o qdio.o qeth.o initrd/lib   # Make sure that you copy the
>                                       # 2.4.5 OCO modules !
>
> umount the loppback initrd:
>
>   umount initrd
>

Now that I had some more time to think about it, this is only one part
of getting the modules onto your system.
You are able to install with these instructions, but you'll need the drivers
after the reboot as well.

The easiest way to achieve this it to start the installation and while all
those packages are being installed, to copy the modules to the dasd.

- rhsetup  (continue until the packages are being installed)
- open second terminal and connect to your machine
 (or use the 3270 terminal)
- cd /lib
- mkdir -p /mnt/sysimage/lib/modules/ibm-2.4.5/kernel/drivers/net/
- cp lcs*.o qdio.o qeth.o /mnt/sysimage/lib/modules/ibm-2.4.5/kernel/drivers/net

The other solution would be to wait until you're prompted for the root password.
Type it in two times and then mount the dasd containing your / partition.
- mount /dev/dasd1 /mnt/sysimage  (dasda1 contains /)
- cd /lib
- mkdir -p /mnt/sysimage/lib/modules/ibm-2.4.5/kernel/drivers/net/
- cp lcs*.o qdio.o qeth.o /mnt/sysimage/lib/modules/ibm-2.4.5/kernel/drivers/net
- umount /mnt/sysimage

  Karsten


--
Karsten Hopp        | Mail: karsten@redhat.de
Red Hat Deutschland | Tel: +49-711-96437-0
Hauptstaetterstr.58 | Fax: +49-711-96437-111
D-70178 Stuttgart   | http://www.redhat.de



[Index of Archives]     [Fedora General Discussion]     [LKML]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Linux s390]     [Gimp]     [Yosemite News]

  Powered by Linux