LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-28-2006, 12:35 AM   #1
xpp
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
unzip linux kernel problem


I compile linux 1.0 on redhat 9.0

When it unzip itself it compliants that the crc is not right.

In zBoot/xtract.c there is a line

sz = N_SYMOFF(*exe) - GCC_HEADER + 4
/* +4 to get the same result than tools/build */

i don't know why "+4"

Is there anyone who compiles 1.0 on rh9 or know the exact meaning of "+4" ?

Any infomation is appreciate.

dujinhui@gmail.com

thks
 
Old 03-28-2006, 07:19 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
What do you mean Linux 1.0 ?

If you mean Linux Kernel version 1.0, then you will have problems getting it to work.

--Ian
 
Old 03-30-2006, 01:02 AM   #3
xpp
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Unhappy

yes, i am trying to make kernel 1.0 work.

what problem will i have?

such as ...

please explain it in detail

regards
 
Old 03-30-2006, 10:02 AM   #4
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,784

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Is there a particular reason you want 1.0? The latest stable version is 2.6.16.1
see http://www.kernel.org/
 
Old 03-30-2006, 08:06 PM   #5
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Because 1.0 is very old, there will be problems with drivers, directory layout and many other things. I think alot of applications also won't run, because some of the system calls may be implemented differently.

Would you (If you could) replace the Windows XP kernel with the DOS 1.0 kernel. I think not.

As ntubski said, the latest version is 2.6.16, so you would be better off using that. Even Redhat 9 has a 2.4 kernel, and that is about 4 years old now. Would you be better off with Fedora Core 5?

--Ian
 
Old 03-31-2006, 02:29 AM   #6
xpp
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
thks for your kind replies.

In fact there are some overwhelming reason i have to make it run.

i use RH9.0 to compile it and hote that it can work.

The unzip problem has been solved. RH9.0 gzip's version is 1.3 and
kernel 1.0 use version 1.0.3 to zip the kernel's binary code. i search the web and find version gzip 1.0.5.

Now the kernel can unzip itself smoothly but when it invokes the function start_kernel it does't work and the BOCHS window also disappears.

i haven't find the reason. when i find there may be annother stupid problem here.
 
Old 03-31-2006, 02:11 PM   #7
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Perhaps you should consult an archaeologist. ;~)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
about unzip to unzip some chinese files' trouble arcow Linux - Software 0 03-24-2006 02:25 AM
Problem installing unzip Dragon, Interrupted Linux - Software 3 10-04-2005 07:19 PM
Problem with unzip Jerk-0 Linux - Newbie 4 03-22-2004 09:57 PM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 08:48 AM
Winzip 7, linux unzip error ~central directory not found lanzdale Linux - Software 1 09-11-2003 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration