LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-12-2008, 11:53 AM   #1
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 821

Rep: Reputation: 258Reputation: 258Reputation: 258
Suggestion for Kernel feature?


I have a suggestion for a Linux Kernel feature that I would like to make, but I'm not quite sure how to do that.

The 2.6 Kernel has centralized partition detection and now detects partitions on block devices with more than 1 minor unit number. In most cases that works fine. However, when using some RAID disk devices (ex. Promise RAID) trying to detect partitions on disks can cause I/O errors or even prevent booting.

It would be helpful if the Kernel or block drivers for disks had an option to exclude a list of devices from partition detection. I had to resort to editing the "sd.c" source file in order to boot on my Promise RAID controller.

I made this change in "sd.c" to exclude the first four SCSI disk devices from partition detection, since those are my Promise RAID disks. I realize that this is not a usable approach for the "standard" kernel.

Old:
gd->minors = 16;

New:
gd->minors = (index < 4) ? 1 : 16;

What would be more difficult is to accept kernel boot parameters and then compare the device name against a list of excluded devices that should not use partitions. That is essentially what I'm suggesting as a Kernel feature.

It would also be helpful if more distros included "dmraid" since that allows 2.6 to be used on some RAID controllers that only had a kernel 2.4 version of the driver supporting RAID.

Overall the 2.6 Kernel is a great improvement, but unfortunately some companies that were enthusiastic about supporting Linux 2.4 are now disinterested in supporting Linux 2.6. Anything that can be done to support additional devices on 2.6 will help the situation.

After my experiences with Promise, I can't recommend their products to anyone interested in forward or backward compatibility. They are even poor at supporting newer versions of Windows on existing products and that doesn't speak well for the chances of supporting new versions of the Linux Kernel. Luckily the Linux community has been helpful or I would still be trying to figure out how to run Linux on my hardware.
 
Old 01-12-2008, 03:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well to move your thoughts forward, contact the linux kernel mailing list (lkml)
 
  


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
kernel Version suggestion required mystic_durle12 Linux - Kernel 2 11-06-2006 05:12 AM
adding a feature into the kernel ekdya Debian 8 09-15-2006 01:39 PM
Kernel Suggestion? carlosinfl Linux - General 10 07-24-2006 07:22 AM
Kernel 2.6 feature list hiteshmaisheri Linux - Software 15 04-06-2004 05:23 AM
site suggestion, LQ Kernel Robert0380 LQ Suggestions & Feedback 3 06-15-2003 04:53 PM

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

All times are GMT -5. The time now is 03:03 AM.

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