Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* fix for netkit-timed.0.10 on Linux Alpha
@ 1998-10-11 23:24 Christian Groessler
  1998-10-12  2:44 ` Weird Boot Problem after Ramdisk is inserted Steve G
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Groessler @ 1998-10-11 23:24 UTC (permalink / raw)
  To: netbug; +Cc: cpg, axp-list


Hi,

the following patch was required for timed on Alpha to work.
I operate it as client and it seems to work right now. Previously it
only found the loopback interface (127.0.0.1) and ignored the network
cards.

regards,
chris

---------------------
diff -ruN netkit-timed-0.10.org/timed/timed/timed.c netkit-timed-0.10/timed/timed/timed.c
--- netkit-timed-0.10.org/timed/timed/timed.c	Thu Aug 29 21:53:15 1996
+++ netkit-timed-0.10/timed/timed/timed.c	Mon Oct 12 01:08:20 1998
@@ -405,8 +405,7 @@
 #define size(p)	max((p).sa_len, sizeof(p))
 #endif
 	cplim = buf + ifc.ifc_len; /*skip over if's with big ifr_addr's */
-	for (cp = buf; cp < cplim;
-			cp += sizeof (ifr->ifr_name) + sizeof(ifr->ifr_addr)) {
+	for (cp = buf; cp < cplim; cp += sizeof(struct ifreq)) {
 		ifr = (struct ifreq *)cp;
 		if (ifr->ifr_addr.sa_family != AF_INET)
 			continue;
---------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Weird Boot Problem after Ramdisk is inserted
  1998-10-11 23:24 fix for netkit-timed.0.10 on Linux Alpha Christian Groessler
@ 1998-10-12  2:44 ` Steve G
  1998-10-12 23:19   ` Craig Oettle
  0 siblings, 1 reply; 3+ messages in thread
From: Steve G @ 1998-10-12  2:44 UTC (permalink / raw)
  To: axp-list

Hello,

I have a weird booting problem on my Alpha Station 200.  I boot to a SRM
(>>>) prompt and boot the avanti-s.img file from a floppy via:

     >>>boot dva0 -file vmlinux.gz -flags "root=/dev/fd0 prompt_ramdisk=1
load_ramdisk=1" <enter>

It will go through and ask me for the ramdisk.  I'll put it in and press
enter and after a few seconds I get

Halted CPU 0

Halt Code = 7
Machine check while in PAL mode
PC=14020
Boot failure

Does anyone know what the Halt Codes are, or what the PC= line stands for?
If it helps, I have an additional PCI Adaptec 2940 SCSI card and a PCI 3Com
NIC.

I'm stumped.  I've made two avanti-s disks and I'm sure the floppy that
ramdisk.img is on is a good one.

Thank you for any help.  I really appreciate it.

Regards,

Steve


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Weird Boot Problem after Ramdisk is inserted
  1998-10-12  2:44 ` Weird Boot Problem after Ramdisk is inserted Steve G
@ 1998-10-12 23:19   ` Craig Oettle
  0 siblings, 0 replies; 3+ messages in thread
From: Craig Oettle @ 1998-10-12 23:19 UTC (permalink / raw)
  To: axp-list

Steve G wrote:
> 
> Hello,
> 
> I have a weird booting problem on my Alpha Station 200.  I boot to a SRM
> (>>>) prompt and boot the avanti-s.img file from a floppy via:
> 
>      >>>boot dva0 -file vmlinux.gz -flags "root=/dev/fd0 prompt_ramdisk=1
> load_ramdisk=1" <enter>
> 
> It will go through and ask me for the ramdisk.  I'll put it in and press
> enter and after a few seconds I get
> 
> Halted CPU 0
> 
> Halt Code = 7
> Machine check while in PAL mode
> PC=14020
> Boot failure
> 
> Does anyone know what the Halt Codes are, or what the PC= line stands for?
> If it helps, I have an additional PCI Adaptec 2940 SCSI card and a PCI 3Com
> NIC.
> 
> I'm stumped.  I've made two avanti-s disks and I'm sure the floppy that
> ramdisk.img is on is a good one.
> 
> Thank you for any help.  I really appreciate it.
> 
> Regards,
> 
> Steve
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

I never could get the avanti-s to work.  I ended up using Milo.dd as the
first disk and then the avanti disk as the second.  Works fine and loads
the ramdisk as expected.
-- 
Craig Oettle
Environmental Control Specialists, Inc.
http://www.ecsinconline.com/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-10-12 23:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-11 23:24 fix for netkit-timed.0.10 on Linux Alpha Christian Groessler
1998-10-12  2:44 ` Weird Boot Problem after Ramdisk is inserted Steve G
1998-10-12 23:19   ` Craig Oettle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox