Re: [lfs-support] Not getting any output in dummy.c after GCC pass2 installation...please help...urgent

2012-03-23 Thread Alexander Kapshuk
On Fri, Mar 23, 2012 at 7:06 AM, Sumeet Shekhar sshekhar.s...@gmail.comwrote:

 I am not getting any output while running the program dummy.c after
 GCC pass2 installation.

 Also it says that create gcc-build directory again. Should i remove
 the previous gcc-build and build it again or create another build
 directory with some other name.
 What should i do..?

 Please help...urgent..

 Thanking you,
 Regards
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page

Did you run the recommended checks as shown in the Caution section here,
http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass2.html?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Not getting any output in dummy.c after GCC pass2 installation...please help...urgent

2012-03-23 Thread spiky

On 23/03/12 08:26, Alexander Kapshuk wrote:
On Fri, Mar 23, 2012 at 7:06 AM, Sumeet Shekhar 
sshekhar.s...@gmail.com mailto:sshekhar.s...@gmail.com wrote:


I am not getting any output while running the program dummy.c after
GCC pass2 installation.

Also it says that create gcc-build directory again. Should i remove
the previous gcc-build and build it again or create another build
directory with some other name.
What should i do..?

Please help...urgent..

Thanking you,
Regards
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Did you run the recommended checks as shown in the Caution section 
here, 
http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass2.html?





Yes delete the gcc-build directory and the gcc directory then untar again
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] Not getting any output in dummy.c after GCC pass2 installation...please help...urgent

2012-03-22 Thread Sumeet Shekhar
I am not getting any output while running the program dummy.c after
GCC pass2 installation.

Also it says that create gcc-build directory again. Should i remove
the previous gcc-build and build it again or create another build
directory with some other name.
What should i do..?

Please help...urgent..

Thanking you,
Regards
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Urgent

2010-06-22 Thread Mike McCarty
prakhar gaur wrote:
 
 Dear Jai,
 
 Instead  of buying books and all.
 Just start working with LFS.  If you got the mail-list id, then I am
 sure that you know the place to download the book(LFS-6.6)
 But be sure to go through the pre-requisite reading list though. 

Building LFS will not teach OS concepts. What constitutes an
OS is also not well defined. A small RTOS may comprise not much
more than a scheduler or task switcher.

I suggest the book uC/OS which leads one through the construction
of a small RTOS which is fairly easily portable to multiple
architectures, and describes how the OS works internally.

http://www.amazon.com/Performance-Preemptive-Multitasking-Microprocessors-Microcontrollers/dp/0982337531

Simply building and installing a kernel and support apps like
ls, find etc. won't teach much about how they work.

Mike
-- 
p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent

2010-06-22 Thread Bruce Dubbs
JimD. wrote:
 Ideal starting place for what?  Learning how an OS works?
 The problem with Minux circa 1988 is that the code was poorly written and
 buggy.
 The concepts used are non-starters 20 years later.
 Are you maintaining that in the past 20+ years nothing better is out there?

No.  Of course it has been updated.  It was just and example.

   -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent

2010-06-22 Thread George

On 6/20/2010 1:03 AM, JAY PRAKASH SINGH wrote:
Hello , sir I am student pursuing B.tech 5th sem , I want to design 
design and and implement my own operating system plz tell me how and 
where I should start.


This might be a good place for you to start you explorations:

OSDev.org http://www.osdev.org/

GH
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent

2010-06-21 Thread Paul Rogers
   It would take hundreds of gifted people more than a decade to
   achieve such a thing.
 
  Or Linus about a year.

 I'm not sure the OP could absorb that much info that quickly.

Not to mention that Linus' first kernel wasn't what we know today.
It ran a 386, and was more an implmentation of Minix than anything
else.  If there was genius in what he did, it was in throwing it
open to anybody who wanted it, and took their help in expanding it.
-- 
Paul Rogers
paulgrog...@fastmail.fm
http://www.xprt.net/~pgrogers/
Rogers' Second Law: Everything you do communicates.
(I do not personally endorse any additions after this line. TANSTAAFL :-)



-- 
http://www.fastmail.fm - mmm... Fastmail...

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent

2010-06-21 Thread Simon Geard
On Sun, 2010-06-20 at 22:32 +0100, Andrew Benton wrote:
 Err, I think you'll find that learning how to design and implement my 
 own operating system is more than a bit of homework. It would take 
 hundreds of gifted people more than a decade to achieve such a thing.

Not necessarily - I gather building your own OS is a relatively common
advanced project in Comp Sci courses. Not a production-ready system like
Linux, of course, but a minimal system one step up from a bootloader,
capable of loading a binary from disk and running it.

Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent (Neal Murphy)

2010-06-21 Thread JimD.
  It would take hundreds of gifted people more than a decade to achieve
   such a thing.
 
  Or Linus about a year.

 Sorry, but I have to comment on this. It is just too interesting.
Linus's real genius was in scoping and managing the project so it could get
done.
The 1.0 release took more like 2 years plus, and involved many people.
So, your goal would be something far less that Linux 1.0.
It also has to be recognized that at the time an IBM PC was a simple
machine, and that expectations were much less as to what an OS would do.

http://www.tuxradar.com/content/linux-kernel-10-turns-15-years-old

As for the book on the IA64 Kernel, bad advice. Based on the title, I would
guess that this book would focus on the details of porting to this
architecture - a complex one that failed to meet expectations. (It was
supposed to the 64 bit PC).
Also, it is unlikely that  you will even get you hands on this chip.
As for Minux, another endeavor that failed to meet expectations. If you want
to study micro-kernels, I suppose that would be a good book, but to date
this form of architecture has not worked out to be usable.(IBM spent
billions in the 90's to find this out).

So your *real* problem is to figure out what you can really do in the time
you have to do it and define carefully just what you mean by an OS.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent

2010-06-21 Thread Bruce Dubbs
Paul Rogers wrote:
 It would take hundreds of gifted people more than a decade to
 achieve such a thing.
 Or Linus about a year.
 I'm not sure the OP could absorb that much info that quickly.
 
 Not to mention that Linus' first kernel wasn't what we know today.
 It ran a 386, and was more an implmentation of Minix than anything
 else.  If there was genius in what he did, it was in throwing it
 open to anybody who wanted it, and took their help in expanding it.

The relationship between Linux and Minix is a common misconception. 
Linus did study Minix and explicitly rejected the main thrust - a 
microkernel.  I guess he used negative knowledge; he knew what he didn't 
want to do.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent (Neal Murphy)

2010-06-21 Thread Bruce Dubbs
JimD. wrote:

 As for Minux, another endeavor that failed to meet expectations. 

It depends on what you think the expectations were.  My book on Minix is 
dated 1988 and included a 5.25 floppy with the entire source code, about 
13000 lines.  Tannenbaum said he wrote it for instructional reasons, not 
commercial, and by that standard was quite successful.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


urgent (Neal Murphy)

2010-06-21 Thread JimD.
  As for Minux, another endeavor that failed to meet expectations.

It depends on what you think the expectations were.  My book on Minix is
dated 1988 and included a 5.25 floppy with the entire source code, about
13000 lines.  Tannenbaum said he wrote it for instructional reasons, not
commercial, and by that standard was quite successful.

I agree that it depends on what your expectations are and I've heard those
goals before.
I'm sure your book is excellent, but I just don't think it would the the
ideal starting place.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent (Neal Murphy)

2010-06-21 Thread Bruce Dubbs
JimD. wrote:
   As for Minux, another endeavor that failed to meet expectations.
 
 It depends on what you think the expectations were.  My book on Minix is
 dated 1988 and included a 5.25 floppy with the entire source code, about
 13000 lines.  Tannenbaum said he wrote it for instructional reasons, not
 commercial, and by that standard was quite successful.
 
 I agree that it depends on what your expectations are and I've heard those
 goals before.
 I'm sure your book is excellent, but I just don't think it would the the
 ideal starting place.

Ideal starting place for what?  Learning how an OS works?  Leaving aside 
the word 'ideal', the best way to learn is, IMO, with a simplified 
version of a complex concept that gives a general overview and enough 
details to start to understand the underlying complexities.  Minix 
satisfies that goal.

 From that point a study of something like BSD or Linux can follow for a 
more in depth understanding.  After all, there have been a lot of PhD 
Dissertations on just pieces of the system like I/O, Memory Management, 
Message Passing, Scheduling, Networking, etc.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


RE: urgent

2010-06-20 Thread Yasin Yenidünya
Hi, i think no one will help you here. But i understand the issue that you
are facing. Many keko users will told you here is not the place that you
make your homework or some thing like that.

 

So can use 2 tutorial to understand operating system idea

 

http://en.skelix.org

http://viralpatel.net/taj/tutorial/hello_world_bootloader.php

 

 

any further question you can pm me please

 

 

 

From: lfs-support-boun...@linuxfromscratch.org
[mailto:lfs-support-boun...@linuxfromscratch.org] On Behalf Of JAY PRAKASH
SINGH
Sent: Sunday, June 20, 2010 8:03 AM
To: lfs-support@linuxfromscratch.org
Subject: urgent

 

Hello , sir I am student pursuing B.tech 5th sem , I want to design design
and and implement my own operating system plz tell me how and where I should
start.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent

2010-06-20 Thread Andrew Benton
On 20/06/10 21:07, Yasin Yenidünya wrote:
 Hi, i think no one will help you here. But i understand the issue that
 you are facing. Many keko users will told you “here is not the place
 that you make your homework” or some thing like that.


Err, I think you'll find that learning how to design and implement my 
own operating system is more than a bit of homework. It would take 
hundreds of gifted people more than a decade to achieve such a thing. He 
may ask for the moon but the volunteers on this list probably won't get 
it for him.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent

2010-06-20 Thread Bruce Dubbs
Andrew Benton wrote:

 It would take hundreds of gifted people more than a decade to achieve
 such a thing.

Or Linus about a year.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent

2010-06-20 Thread Neal Murphy
On Sunday 20 June 2010 17:42:52 Bruce Dubbs wrote:
 Andrew Benton wrote:
  It would take hundreds of gifted people more than a decade to achieve
  such a thing.

 Or Linus about a year.

I'm not sure the OP could absorb that much info that quickly.

The OP needs to select his hardware, learn the peripheral interfaces, design a 
consistent hardware control interface, then design a consistent user-space 
interface that presents the necessary APIs to control user access to 
hardware.

Beyond that, the OP needs to select a language and learn to write in that 
language lucidly and clrealy so that he can return to old work weeks, months 
and even years later and figure out what he was thinking and doing in the 
past.

Then he needs to select a programming language and learn it inside, outside, 
upside and downside.

Next he needs to choose his 'best' methods, practices and procedures and learn 
them from every which way.

Thus armed, he can design and implement any sort of operating system he 
chooses, because the way will be fairly clear.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: urgent

2010-06-19 Thread Bruce Dubbs
JAY PRAKASH SINGH wrote:
 Hello , sir I am student pursuing B.tech 5th sem , I want to design design
 and and implement my own operating system plz tell me how and where I should
 start.

Take a University level course on operating systems.

Alternatively, read a book.  For example:

http://www.amazon.com/Operating-Systems-Design-Implementation-Second/dp/0136386776
http://www.amazon.com/IA-64-Linux-Kernel-Design-Implementation/dp/0130610143/

there are lots more...

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


urgent help

2010-03-18 Thread Boney Mylady
Hello all,
  I'm trying to install player/stage program in mac..But I'm getting
the following as my output when I run 'make install' command.

make[3]: Nothing to be done for `install-data-am'.
Making install in doc
Making install in images
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.

regards,
boney
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Urgent help needed

2007-12-06 Thread Rajeev Bansal
Hi All,

I am trying to boot up 2.6.20-15 Kernel ( Ubuntu Kernel) using  my 
custom initramfs. But I am getting Kernel Panic when I boot using my 
Init script. I am mentioning my init script below. I have followed the 
FC7 init script, I really don't know many things which are being used in 
that.

In this Init script everything  goes fie till I execute setuproot, while 
running setuproot it complains;

setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory

And it gives Kernel Panic after executing switch_root, I am not sure why 
switch_root is not executing the /sbin/init, is it due to it couldn't 
find it?
2
Kernel Panic message:

[   47.972305] kjournald starting.  Commit interval 5 seconds
[   48.037871] EXT3-fs: mounted filesystem with ordered data mode.
[   48.110173] Kernel panic - not syncing: Attempted to kill init!

I really don't know its a problem of busybox or in my Init script.

#!/bin/nash

mount -t proc /proc /proc
setquiet
echo Mounting proc filesystem
echo Mounting sysfs filesystem
mount -t sysfs /sys /sys
echo Creating /dev
mount -o mode=0755 -t tmpfs /dev /dev
mkdir /dev/pts
mount -t devpts -o gid=5,mode=620 /dev/pts /dev/pts
mkdir /dev/shm
mkdir /dev/mapper
echo Creating initial device nodes
mknod /dev/null c 1 3
mknod /dev/zero c 1 5
mknod /dev/systty c 4 0
mknod /dev/tty c 5 0
mknod /dev/console c 5 12
mknod /dev/ptmx c 5 2
mknod /dev/rtc c 10 135
mknod /dev/tty0 c 4 0
mknod /dev/tty1 c 4 1
mknod /dev/tty2 c 4 2
mknod /dev/tty3 c 4 3
mknod /dev/tty4 c 4 4
mknod /dev/tty5 c 4 5
mknod /dev/tty6 c 4 6
mknod /dev/tty7 c 4 7
mknod /dev/tty8 c 4 8
mknod /dev/tty9 c 4 9
mknod /dev/tty10 c 4 10
mknod /dev/tty11 c 4 11
mknod /dev/tty12 c 4 122
mknod /dev/ttyS0 c 4 64
mknod /dev/ttyS1 c 4 65
mknod /dev/ttyS2 c 4 66
mknod /dev/ttyS3 c 4 67
echo Creating block device nodes.
mkblkdevs
echo Loading usbcore.ko module
insmod /lib/usbcore.ko
echo Loading uhci-hcd.ko module
insmod /lib/uhci-hcd.ko
echo Loading ohci-hcd.ko module
insmod /lib/ohci-hcd.ko
echo Loading ehci-hcd.ko module
insmod /lib/ehci-hcd.ko
mount -t usbfs /proc/bus/usb /proc/bus/usb
echo Loading mbcache.ko module
insmod /lib/mbcache.ko
echo Loading jbd.ko mo8dule
insmod /lib/jbd.ko
echo Loading ext3.ko module
insmod /lib/ext3.ko
echo Loading scsi_mod.ko module
insmod /lib/scsi_mod.ko
echo Loading sd_mod.ko module
insmod /lib/sd_mod.ko
echo Loading sg.ko module
insmod /lib/sg.ko
echo Loading libata.ko module
insmod /lib/libata.ko
echo Loading ata_generic.ko module
insmod /lib/ata_generic.ko
echo Loading ata_piix.ko module
insmod /lib/ata_piix.ko
echo Waiting for driver initialization.
stabilized --hash --interval 250 /proc/scsi/scsi
insmod /l8ib/scsi_wait_scan.ko
rmmod scsi_wait_scan
mkblkdevs
echo Creating root device.
mkrootdev -t ext3 -o defaults,ro sda2
echo Mounting root filesystem.
mount -o defaults,ro -t ext3 /dev/sda2  /
echo Setting up other filesystems.
setuproot
echo Switching to new root and running init.
exec switch_root / .ext3 /sbin/init
echo Booting has failed.
sleep -1

Thanks
Rajeev Bansal.



This email message (including any attachments) is for the sole use of the 
intended recipient(s) 
and may contain confidential, proprietary and privileged information. Any 
unauthorized review, 
use, disclosure or distribution is prohibited. If you are not the intended 
recipient, 
please immediately notify the sender by reply email and destroy all copies of 
the original message. 
Thank you.
 
Intoto Inc. 

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page