at www.acl.lanl.gov/linuxbios I've placed the code to let linux boot linux.
questions, comments, fixes to me.
Ron
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
"Ronald G. Minnich" wrote:
at www.acl.lanl.gov/linuxbios I've placed the code to let linux boot linux.
questions, comments, fixes to me.
I don't see no link or somthing to the code. Could you be a bit more specific.
thanks,
Marcel Wijlaars
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
On Fri, 11 Feb 2000, Marcel Wijlaars wrote:
I don't see no link or somthing to the code. Could you be a bit more specific.
My fault. Please check back in an hour. I got hammered by the updater script.
ron
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
"Ronald G. Minnich" wrote:
at www.acl.lanl.gov/linuxbios I've placed the code to let linux boot linux.
questions, comments, fixes to me.
Ron
If I compile tbootfile.c with gcc -o tbootfile tbootfile.c gcc says
tbootfile.c: In function `bootfile': tbootfile.c:7: `SYS_bootfile' undeclared (first use this function) tbootfile.c:7: (Each undeclared identifier is reported only once tbootfile.c:7: for each function it appears in.)
Do you know what I do wrong?
thanks in advance,
-- Marcel Wijlaars (+31) 40 2472834 Dept. of Mechanical Engineering, section Materials Technology Eindhoven University of Technology, P.O. Box 513 NL-5600 MB Eindhoven The Netherlands
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
On Wed, 16 Feb 2000, Marcel Wijlaars wrote:
tbootfile.c: In function `bootfile': tbootfile.c:7: `SYS_bootfile' undeclared (first use this function) tbootfile.c:7: (Each undeclared identifier is reported only once tbootfile.c:7: for each function it appears in.)
Here's my code: #include <stdio.h> #include <errno.h> #include <syscall.h>
#define __NR_bootfile 191
_syscall1(int, bootfile, char *, name);
int main(int argc, char *argv[]) { char *name = "test"; if (argc > 1) name = argv[1]; printf("name is %p\n", name); bootfile(name); }
I just compiled this without error. Here's my gcc:
gcc -v -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Here's my linux:
uname -a
Linux mini 2.2.13 #1 SMP Thu Dec 2 12:52:17 MST 1999 i686 unknown
Try the stuff I pasted into this message, although I just loaded it from the web page and it worked fine.
ron
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
"Ronald G. Minnich" wrote:
Try the stuff I pasted into this message, although I just loaded it from the web page and it worked fine.
ron
To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
I tried it at home last night and compiled just fine but didn't word because of the scsi thing. I use a rather old linux distribution at work, maybe thats why it did not work. I'll try again at work with a new linux distibution and a ide disk.
Marcel Wijlaars (+31) 40 2472834 Dept. of Mechanical Engineering, section Materials Technology Eindhoven University of Technology, P.O. Box 513 NL-5600 MB Eindhoven The Netherlands
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
On Thu, 17 Feb 2000, Marcel Wijlaars wrote:
I tried it at home last night and compiled just fine but didn't word because of the scsi thing. I use a rather old linux distribution at work, maybe thats why it did not work. I'll try again at work with a new linux distibution and a ide disk.
great, if you can tell me what's up with scsi bootparams I'll try to fix it at my end. Or, even better, if you fix it i'll take your patch :-)
ron
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
"Ronald G. Minnich" wrote:
great, if you can tell me what's up with scsi bootparams I'll try to fix it at my end. Or, even better, if you fix it i'll take your patch :-)
ron
Could you be a bit more specific about the scsi bootparams, I do not understand what you mean by this.
My system at home is a DUAL PII (GA 686DLX). Linux 2.2.13 ( for testing no smp) and a number of scsi disk /dev/sda1 = /, /dev/sdb1= /home, /dev/sdc1 = /usr/local. (also a scsi cdrom and zipdisk but these are not mounted) .
I like to help but I'm no good at kernel hacking, I'm sorry.
Hope to help,
Marcel Wijlaars (+31) 40 2472834 Dept. of Mechanical Engineering, section Materials Technology Eindhoven University of Technology, P.O. Box 513 NL-5600 MB Eindhoven The Netherlands
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
On Thu, 17 Feb 2000, Marcel Wijlaars wrote:
Could you be a bit more specific about the scsi bootparams, I do not understand what you mean by this.
I think when the kernel reboots via LOBOS it is missing some boot params (i.e. the lilo arguments) so that it knows how to grab the root device.
I'll look some more too.
ron
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message