LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-03-2004, 05:59 AM   #1
o0sketchdude0o
LQ Newbie
 
Registered: Jan 2004
Distribution: slackware
Posts: 3

Rep: Reputation: 0
Question Slack 8.1 Zipslack 9.1 compiling 2.6.0


Hi-
This is kind of from left field, I know, but I've been trying to compile the 2.6.0 kernel on zipslack.

Following the newby instructions posted here has been a big help, since this is the first time I've ever tried to compile a custom kernal.

Anyway, the compile goes fine, but booting the new kernel causes a kernel panic error:

Warning: unable to open initial console
Kernel panic: No init found
Try passing init= option to kernel

Besides that, the frame buffer appears to be off. When it boots, a white bar appears across the screen, and then the penguin appears on the left, and after a second or two the screen appears normally.

Well, I was just using Zipslack as a test installation anyway. I run slack 8.1 on a native partition for my main linux setup.

Just for the hell of it, I copied over the 2.6.0 kernel to my native linux partition, and the damn thing boots right up! The frame buffer still does the same thing, and it crashes when I try to startx, but everything else runs fine. I do get this error right before the login prompt:

gpm: oops() invoked from gpm.c(977)

Anyway this is all new to me. I would appreciate if anyone has any info on how the slack developers are able to get support for the umsdos filesystem compiled into their kernels. I tried applying patches and even edited the /usr/src/linux/.config manually, but to no avail.
 
Old 01-03-2004, 11:16 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I forget, but isn't there an option for umsdos file system support in kernel configuration? You should avoid manually editing the .config file as this can cause problems. the problem with gpm can be fixed by editing scripts under /etc/rc.d- that's where the gpm mouse server gets started. If the package is not installed and the script calls for it, it will return an error.
You could study the config options for the Zipslack kernel, also for clues on what you need to include. You'll find the .config file on the mirrors under kernels/Zipslack
 
Old 01-03-2004, 03:10 PM   #3
o0sketchdude0o
LQ Newbie
 
Registered: Jan 2004
Distribution: slackware
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, thanks. I was assuming the default Zipslack kernel was bare.i, and using that .config file as a reference for my first few compiles.

I can confirm that the bare.i kernel for 2.4.22 was compiled with the

CONFIG_UMSDOS_FS=y

set in the .config file.

I was unable to find a umsdos option under menuconfig for 2.6.0- I even spent close to an hour enabling and disabling all the various filesystem options to see if umsdos is dependent on another filesystem or block device option. I also went through the make config question & answers on my second compile, with no umsdos option showing up.

The frustrating thing is, the
linux-2.6.0/fs/umsdos
directory is right there in the kernel source tree, with a Makefile. That's why I manually added the option to my .config on this last compile. I watched really close while it compiled to see if make would complain about it, but it seems to have just ignored it, and no umsdos object files appeared anywhere.

I'm sure I have missed something really obvious here.
 
Old 01-06-2004, 06:28 PM   #4
josath
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
umsdos not compatible with kernel 2.6

hello, as of right now, umsdos is not compatible with kernel 2.6.0. It apparently needs some major code rewriting as it was a bit of a hack and will not work with the way 2.6 handles inodes or something like that. Not too many people are working on this, so don't expect it to work any time soon.

see the following kernel archive posts for more info:
http://www.ussg.iu.edu/hypermail/lin...10.3/0009.html
http://www.ussg.iu.edu/hypermail/lin...10.3/0030.html
 
Old 01-07-2004, 03:32 PM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I suspected that might be the case, since the umsdos files system is not much used. i hope that something similar is done so that linux will run from NTFS, not for me, but for those who are running those horrid XP thingies!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack or ZipSlack? alt20 Slackware 4 11-04-2005 09:12 AM
Compiling kernel 2.4 on ZipSlack ezust Slackware 7 09-01-2004 04:59 AM
Kernel compiling - zipslack tangoman Slackware 1 12-09-2003 05:37 PM
compiling programs on zipslack gumariner Slackware 4 11-06-2003 02:39 PM
Slack 7.1 and ZipSlack fuelinux Slackware 1 10-02-2003 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:23 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