Is there something that I might be missing that would not be explained
on the site to build a udpcast cd from my own kernel? I am using a
RedHat 9 box and also have access to a Debian testing computer.
I have tried everything I can think of and have read everything on the
site. I tried using the floppy and putting the megaraid and scsi modules
on a second floppy. But I can't find where to load the modules form the
second floppy. When I choose the load other modules form the menu those
are not listed, just all the net modules.
All I really need is the same thing as the regular cd only with megaraid
and raid 5 support in the kernel or available as modules.
thanks
--
Randy Reames Web Developer Midwest Energy
OS X and Debian GNU/Linux ~ Mozilla Web browser
Web Standards matter ~ www.webstandards.org/aboutwww.reames.org ~(*)~ www.mwenergy.com
I was able to compile a kernel with support for the megaraid controller
but then it kernel panics with no init found.
I loop mounted the iso and got this:
2048 Dec 17 13:20 boot.catalog
1359 Dec 17 13:20 INITRD
9652 Dec 17 13:20 ISOLINUX.BIN
80 Dec 17 13:20 ISOLINUX.CFG
755417 Dec 17 09:43 LINUX
the INITRD is a lot smaller here than on the cd image I downloaded. Is
there something I am missing to include in the makeImage?
I am doing the
# ./makeImage -k /usr/src/linux-2.4.21/arch/i386/boot/bzImage -c udpcast.iso
Getting closer to cloning these servers. Thanks
--
Randy Reames Web Developer Midwest Energy
OS X and Debian GNU/Linux ~ Mozilla Web browser
Web Standards matter ~ www.webstandards.org/aboutwww.reames.org ~(*)~ www.mwenergy.com
Hello udpcast users!
When trying to multicast data to 7 machines, very often transfers abort
with this error message:
udp-receiver: receivedata.c:419: checkSliceComplete: Assertion `0' failed.
/bin/tar: Unexpected EOF in archive
/bin/tar: Unexpected EOF in archive
/bin/tar: Error is not recoverable: exiting now
Here's my environment:
Operating System is RedHat 8 with kernel 2.4.20-24.8smp
Linksys EG0008 Gigabyte Switch (supports 10/100 also), no config utility
by web or serial so I guess it's unmanaged
All the nodes have Intel pro/1000 network cards are in 1000Mbps
full-duplex as shown by the boot messages, except one node which has a
3Com PCI 3c905C Tornado in 100Mbps full-duplex (set with proper args to
the module)
I have tried running udpcast-sender in full-duplex and half-duplex. Has
anyone in this list encountered this error before?
Tien Duc
I have used udpcast to clone ide boxes. But I cannot get it to recognize
the scsi drives (raid 5) on a couple servers. It looks like the scsi
modules are there but are not being loaded at the cd boot. How can I
clone /dev/sda on these servers?
Thanks,
Randy
--
Randy Reames Web Developer Midwest Energy
OS X and Debian GNU/Linux ~ Mozilla Web browser
Web Standards matter ~ www.webstandards.org/aboutwww.reames.org ~(*)~ www.mwenergy.com
Thank you again for the quick response.
I created the /chroot-test dir and did like you said, using chroot to
run hdparm. It looks like my distro also requires /lib/ld-linux.so.2
and /lib/libc.so.6. Once those are in place in /chroot-test/lib/ I can
load hdparm.
I used ldd and ls -ls to find the files that the links pointed to.
# ldd /sbin/hdparm
libc.so.6 => /lib/libc.so.6 (0x40020000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
# ls -ld /lib/ld-linux.so.2
lrwxrwxrwx 1 root root 11 2003-11-13 15:12
/lib/ld-linux.so.2 -> ld-2.3.2.so
# ls -ld /lib/libc.so.6
-rwxr-xr-x 1 root root 1491599 2003-03-13 17:33
/lib/libc.so.6
Then I do a ./makeImage -k /usr/src/linux-2.4.22/arch/i386/boot/bzImage
-c /tftpboot/udpcast/images/udpcd.img -i /tftpboot/udpcast/initrd --bzip
-m bcm5700 --merge /bin/hdparm=/sbin/hdparm
/lib/ld-linux.so.2=/lib/ld-2.3.2.so /lib/libc.so.6=/lib/libc.so.6
I load the image up and I do a /bin/hdparm.
"/bin/hdparm: No such file or directory"
cd /bin
ls -l |grep hdparm
-rwxr-xr-x 1 0 0 47976 Thu Jan 1 00:00:00 1970 Thu Jan 1
00:00:00 1970 hdparm
cd /lib
ls -a
all it shows is the modules dir
I double checked the syntax for the library names, and they're correct.
Just to try and troubleshoot, I tried merging /lib/ls-2.3.2.so from my
pc to /lib/ld-linux.so.2 in my initrd image.
./makeImage -k /usr/src/linux-2.4.22/arch/i386/boot/bzImage -c
/tftpboot/udpcast/images/udpcd.img -i /tftpboot/udpcast/initrd --bzip -m
bcm5700 --merge /lib/ld-linux.so.2=/lib/ld-2.3.2.so
Then I cd to /lib and do an ls, and the only thing that is there is the
modules dir again. I tried one more thing. I tried merging
/lib/ls-2.3.2.so from my pc to the root dir /ld-linux.so.2 in my initrd
image.
./makeImage -k /usr/src/linux-2.4.22/arch/i386/boot/bzImage -c
/tftpboot/udpcast/images/udpcd.img -i /tftpboot/udpcast/initrd --bzip -m
bcm5700 --merge /ld-linux.so.2=/lib/ld-2.3.2.so
This time I boot and do an ls, and I see ld-linux.so.2. I wonder why it
copied this time and not the other times??
Ahhh...I see. Thank you for the reply.
I have gotten a custom compiled kernel (with my bcm5700 net drivers) to work using the makeImage utility. I can successfully create floppy and cdrom utilites that work with my hardware. I can also boot using PXE with my custom kernel.
However, I would like to include hdparm in initrd. I'm using the following syntax when running makeImage "./makeImage -k /usr/src/linux-2.4.22/arch/i386/boot/bzImage -c /tftpboot/udpcast/images/udpcd.img -i /tftpboot/udpcast/initrd --bzip -m bcm5700 --merge /bin/hdparm=/sbin/hdparm". I boot up my PXE client and go to the console and type /sbin/hdparm, but I get "no such file or directory. I can see the file if I do an ls, but I can't execute it. Any ideas?
>>> Stefan Jaeckel <jaeckel(a)wiwi.uni-halle.de> 12/04/03 01:51 AM >>>
hi,
the network driver has nothing to do with UNDI, after pxe (kernel and
initrd loading) you have got a normal linux booting process with a
ramdisk.
Be shure, that you have copied the driver module from /lib/modules/<your
kernel>/kernel/drivers/net/<your nic>.o onto your initrd. If you can
boot the "master" system for the pxe-image from hd or cdrom, type
"lsmod", to find out which network driver is loaded. It would be one of
"/lib/modules/<your kernel>/kernel/drivers/net/<your nic>.o". You can
also look into /var/log/messages or boot.msg on your pxe-system, to find
an error message about the missing module. Or compile the network driver
directly into a new kernel ("lspci -v" on the master system is also
helpful).
ciao
Eric Becker schrieb:
>
> I'm able to load the pxe images for udpcast successfully on my network
> clients using tftp and dhcp. However, I'm running into a problem
> loading a network driver. Is there any undi driver built into the pxe
> image or do I need to compile my own kernel with support for one?
> _______________________________________________
> Udpcast mailing list
> Udpcast(a)udpcast.linux.lu
> http://udpcast.linux.lu/mailman/listinfo/udpcast
--
********************************************************************
Stefan Jaeckel
MARTIN-LUTHER-UNIVERSITAET HALLE-WITTENBERG
Wirtschaftswissenschaften(Computerpool)
Große Steinstraße 73
06108 HALLE
********************************************************************
I'm able to load the pxe images for udpcast successfully on my network
clients using tftp and dhcp. However, I'm running into a problem
loading a network driver. Is there any undi driver built into the pxe
image or do I need to compile my own kernel with support for one?