LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-12-2009, 04:59 AM   #1
gazza1z
Member
 
Registered: Sep 2008
Posts: 30

Rep: Reputation: 15
Drivers sd and sr need updating


LFS 6.4
Kernel 2.6.27.4
System 16GB USB 2.0 stick

When my system starts up I get the following messages:

Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods

Where would I get the drivers to update and what are bus_type methods? As my
system does boot up ok and I can mount my SATA drive and CD and DVDs
anyway.

I assume it's the kernel source that needs updating as I never got these messages when using kernels 2.6.22.5 and 2.6.22.9

Anyone else getting these messages?

Thanks.
 
Old 04-13-2009, 12:02 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
did you enable support for those scsi devises when building your kernel. did you make modules_install ? SR and SD are scsi devises small computerized system integrated
if every thing works then it is ok. why the drivers for those devices are in the kernel already. your old scripts. init scripts need updating to load new parts of the kernel.
so when you start up the scripts do not see the modules where they were in the old scripts the out put is upgrade. were as commercial distro's the read out is module already installed in kernel.
update your init scripts for your kernel. or configure your kernel sata and scsi support.

Last edited by Drakeo; 04-13-2009 at 12:07 AM.
 
Old 04-13-2009, 01:20 PM   #3
gazza1z
Member
 
Registered: Sep 2008
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks for your answer, however:

Quote:
did you make modules_install ?
No I didn't as I built a monolithic kernel with everything I needed in it

Quote:
your old scripts. init scripts need updating to load new parts of the kernel
There aren't any old init scripts as this is a completely new build. Anyway these messages appear before init runs.

Quote:
configure your kernel sata and scsi support.
Yes I have done this otherwise my system would not have started at all.
Any other suggestions would be much appreciated.

Thanks
 
Old 04-13-2009, 01:33 PM   #4
gazza1z
Member
 
Registered: Sep 2008
Posts: 30

Original Poster
Rep: Reputation: 15
UPDATE Drivers sd and sr need updating

It looks like these messages are nothing to worry about and are purely for the kernel developers.

See http://bbs.archlinux.org/viewtopic.php?id=67934 and
http://marc.info/?l=linux-scsi&m=121000463825804&w=2
for more info.
 
Old 04-13-2009, 07:57 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
No I didn't as I built a monolithic kernel with everything I needed in it
And we all do that to linux is a monolithic kernel and the kernel is loaded with the init. build with support for the modules.
well if you don't make modules in stall on a new kernel version then when you add new hardware you could be in a bind. because not all hardware will load from just loading the kerenel.
I configure my kernel to be small but support many drivers. if the kernel is to big then you will find some wrong stuff being loaded.
But if you are building for a certain system then your right. Good luck.

Last edited by Drakeo; 04-13-2009 at 08:04 PM.
 
Old 05-17-2009, 02:15 PM   #6
BillSantos
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by gazza1z View Post
It looks like these messages are nothing to worry about and are purely for the kernel developers.
Dear gazzalz,

Thank you for clearing this up. My system, also a clean install (Gentoo 2.6.28-r5) has the same problem with the following on startup:

Code:
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
It is encouraging to have two references showing that these are developer chatter and nothing that should cause problems for users.

Thanks again!
 
Old 05-20-2009, 03:29 AM   #7
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
Quote:
Originally Posted by Drakeo View Post
And we all do that to linux is a monolithic kernel and the kernel is loaded with the init. build with support for the modules.
well if you don't make modules in stall on a new kernel version then when you add new hardware you could be in a bind. because not all hardware will load from just loading the kerenel.
I configure my kernel to be small but support many drivers. if the kernel is to big then you will find some wrong stuff being loaded.
But if you are building for a certain system then your right. Good luck.
Actually the kernel calls init, not the reverse.

BIOS -->MBR -->Linux Kernel ---> INIT ---> runlevel and scripts
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Updating / installing new drivers. ellion Linux - Newbie 5 05-15-2006 10:20 PM
Updating video drivers SirJinX Linux - Hardware 0 01-30-2006 06:30 PM
Updating Orinoco Drivers iphipps85 Linux - Wireless Networking 3 09-05-2005 07:49 PM
updating Nvidia drivers Lleb_KCir Linux - Hardware 3 04-14-2005 03:59 PM
Updating Video Drivers Kujila Linux - Software 15 02-14-2004 03:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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