dmesg: Driver 'sd' needs updating - please use bus_type methods

Bug #186167 reported by Cristian Aravena Romero
70
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned
linux (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: linux-source-2.6.24

Message in dmesg: Driver 'sd' needs updating - please use bus_type methods.

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

$ dpkg -l linux-image-2.6.24-5-rt | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Nombre Versión Descripción
+++-==========================================-==========================================-=======================================================================================================
ii linux-image-2.6.24-5-rt 2.6.24-5.8 Linux kernel image for version 2.6.24 on Ingo Molnar's full real time preemption patch (2.6.24-rc8-rt1)

Revision history for this message
Cristian Aravena Romero (caravena) wrote :
Revision history for this message
Cristian Aravena Romero (caravena) wrote :
Revision history for this message
Cristian Aravena Romero (caravena) wrote :
Revision history for this message
Cristian Aravena Romero (caravena) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Cristian,

This is just a harmless warning which has already been discussed upstream:

http://lkml.org/lkml/2008/1/10/272

Thanks.

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Low
status: New → Triaged
Changed in linux-source-2.6.24:
status: New → Invalid
Revision history for this message
coubi64 (frederic-valentin) wrote :

Same warning, see my dmesg.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

I have the same warning (as well as the 'sr' one) in 2.6.25...

Revision history for this message
Urop (urop) wrote :

Just a note that I get the same message.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Urop (urop) wrote : Re: [Bug 186167] Re: dmesg: Driver 'sd' needs updating - please use bus_type methods

Hi there.

Will the linux-image-2.6.27-* package be made available using
aptitude? You say it's currently available, but I couldn't find it.

I would be happy to try a new linux kernel version out, particularly
if it includes a fix for the FAR FAR more serious bug 63134
(https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.24/+bug/63134).
A fix for bug 186167 would mean one less line in my log file, whereas
a fix for bug 63134 would mean my computer would not fail to start
when I try to use it with ACPI power management switched on. That's
where my vote goes anyway.

Thank you.

Paul

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Yup, sorry for any confusion, you need to enable the Intrepid repository in order to get teh 2.6.27 kernel. If you are unfamiliar with how to do this I'd recomment waiting to test via a LiveCD. Thanks.

Revision history for this message
useResa (rdrijsen) wrote :

I have Xubuntu Intrepid installed with the new kernel (result of uname -r below):
2.6.27-3-generic

I still encounter the same messages as reported by the OP. As also the indicated "sr" message.
From dmesg (using the command: dmesg | grep -i sd)
[ 9.746996] Driver 'sd' needs updating - please use bus_type methods
and further down
[ 9.748239] sda: sda1 sda2 sda3 < sda5<4>Driver 'sr' needs updating - please use bus_type methods

If more information is required, please let me now.

Revision history for this message
Gabriel Mazetto (brodock) wrote :

as useResa, i have intrepid ibex (Ubuntu) and have the same dmesg message
[ 6.187528] Driver 'sd' needs updating - please use bus_type methods

Revision history for this message
pt123 (pt123) wrote :

I am having the same issues, 2.6.27-3-generic. The bigger problem is that it is only seeing the first 10 partitions on the drive. Most likely because of the message :sda: p11 exceeds device capacity. So any partition past sda10 is not being mounted. Gparted also sees the drive as "unallocated" which also prevented me from installing Ibex using the CD because it wouldn't let me choose a partition from sda to install Ibex.

When using the 2.6.24-19-generic with rest of Ibex all is fine and all the partitions are detected.

[ 4.500491] Driver 'sd' needs updating - please use bus_type methods
[ 4.500785] sd 0:0:0:0: [sda] 312575599 512-byte hardware sectors (160039 MB)
[ 4.500903] sd 0:0:0:0: [sda] Write Protect is off
[ 4.500979] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.501049] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.501279] sd 0:0:0:0: [sda] 312575599 512-byte hardware sectors (160039 MB)
[ 4.501393] sd 0:0:0:0: [sda] Write Protect is off
[ 4.501468] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.501534] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.501635] sda:<4>Driver 'sr' needs updating - please use bus_type methods
[ 4.524491] sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 sda14 >
[ 4.657052] sda: p11 exceeds device capacity
[ 4.657451] sd 0:0:0:0: [sda] Attached SCSI disk
[ 4.659618] sd 0:0:1:0: [sdb] 312579695 512-byte hardware sectors (160041 MB)
[ 4.659759] sd 0:0:1:0: [sdb] Write Protect is off
[ 4.659845] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 4.659934] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

Revision history for this message
Dig Ge (dig-ge-cn) wrote :

I have got the same problem, when i update to "intrepid", I cannot startup my computer, it reports some problems in "sr" and told me to use bus_type methods, But I don't know how to use "bus_type" methods

attach my dmesg in current version(2.6.26-5-generic from ubuntu) ,
it appears "[ 5.715184] sda:<4>Driver 'sr' needs updating - please use bus_type methods"

Revision history for this message
pt123 (pt123) wrote :

Dig Ge, when you open Gparted/Partition Editor, does that disk show up as unallocated?

Revision history for this message
Dig Ge (dig-ge-cn) wrote :

I have a 160GB (149.05GB in fact) hard disk,
107.01GB on / type ext3 (sda1)
39.18GB on /mydoc reiserfs (sda3)

2.86GB linux-swap(sda5) in a extended partition(sda2)

no space is unallocated

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

Guys, this is a warning in the kernel output, about the sd driver using an old API. It cannot be the cause of any problems with booting Ubuntu or other. This is stated on this message on lkml (the linux kernel mailing list):
http://lkml.org/lkml/2008/1/10/109

I'm closing this bug report as invalid.

Changed in linux:
status: Triaged → Invalid
Revision history for this message
Bremm (bremm) wrote :

Oct 27 13:06:28 host kernel: Inspecting /boot/System.map-2.6.27-3-rt
Oct 27 13:06:28 host kernel: Cannot find map file.
Oct 27 13:06:28 host kernel: Loaded 72124 symbols from 111 modules.
Oct 27 13:06:28 host kernel: [ 0.000000] Initializing cgroup subsys cpu
Oct 27 13:06:28 host kernel: [ 0.000000] Linux version 2.6.27-3-rt (buildd@yellow) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 PREEMPT RT Mon Oct 27 03:02:33 UTC 2008 (Ubuntu 2.6.27-3.8-rt)
Oct 27 13:06:28 host kernel: [ 0.000000] Command line: BOOT_IMAGE=(hd0,1)/boot/vmlinuz-2.6.27-3-rt root=UUID=b951da7b-04b7-4406-a5de-7b9f92466a71 ro splash vga=873
(...)
Oct 27 13:06:28 host kernel: [ 5.137557] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct 27 13:06:28 host kernel: [ 5.137561] sda: sda1 sda2 sda3 sda4 <<4>Driver 'sr' needs updating - please use bus_type methods
Oct 27 13:06:28 host kernel: [ 5.160816] sda5 >

Revision history for this message
dlstyley (deaston) wrote :

I understand why this warning is not a problem, but I don't understand why this would be marked as "invalid". Shouldn't this warning be removed from the code?

Revision history for this message
KevinM (kevbert1) wrote :

This warning occurs in Jaunty Kernel 2.6.27-7 64 bit (updated 13th Nov).

Excerpt from dmesg:
[ 5.444118] ata4.00: ATAPI: LITE-ON DVDRW LH-20A1S, 9L08, max UDMA/100
[ 5.476120] ata4.00: configured for UDMA/100
[ 5.476231] scsi 2:0:0:0: Direct-Access ATA WDC WD5000AAKS-0 12.0 PQ: 0 ANSI: 5
[ 5.477469] scsi 3:0:0:0: CD-ROM LITE-ON DVDRW LH-20A1S 9L08 PQ: 0 ANSI: 5
[ 5.477944] pata_acpi 0000:00:06.0: setting latency timer to 64
[ 5.482482] pata_amd 0000:00:06.0: version 0.3.10
[ 5.482541] pata_amd 0000:00:06.0: setting latency timer to 64
[ 5.483282] scsi4 : pata_amd
[ 5.483423] scsi5 : pata_amd
[ 5.484387] ata5: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xe000 irq 14
[ 5.484390] ata6: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xe008 irq 15
[ 5.488225] scsi 0:0:0:0: Attached scsi generic sg0 type 0
[ 5.488271] scsi 2:0:0:0: Attached scsi generic sg1 type 0
[ 5.488310] scsi 3:0:0:0: Attached scsi generic sg2 type 5
[ 5.503664] Driver 'sd' needs updating - please use bus_type methods ******
[ 5.504339] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 5.504364] sd 0:0:0:0: [sda] Write Protect is off
[ 5.504367] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 5.504403] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.504498] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 5.504516] sd 0:0:0:0: [sda] Write Protect is off
[ 5.504518] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 5.504552] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.504557] sda: sda1 sda2 <<4>Driver 'sr' needs updating - please use bus_type methods ******
[ 5.538246] sda5 sda6 sda7 >
[ 5.565177] sd 0:0:0:0: [sda] Attached SCSI disk
[ 5.565299] sd 2:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)

The PC consists of a PATA CD drive, 2 SATA hard disks and a SATA CD drive.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
combuster (combuster) wrote :

I have a problem regarding the same bug. Because of the sr0 - device needs updating via bus-type methods i can not burn successfully any cd's while dvd burning is just fine. I can burn cd's but when i try to mount them later (or use them for installing ubuntu for example) hal gives me an error and when i try to copy something from them it gives i/o errors... Here is some info...

[ 5.219866] Driver 'sr' needs updating - please use bus_type methods
[ 5.247383] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda caddy
[ 5.247536] sr 0:0:0:0: Attached scsi CD-ROM sr0

00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)

*-ide
             description: IDE interface
             product: 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller
             vendor: Intel Corporation
             physical id: 1f.1
             bus info: pci@0000:00:1f.1
             logical name: scsi0
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master emulated
             configuration: driver=ata_piix latency=0 module=ata_piix
           *-cdrom
                description: DVD-RAM writer
                product: DVD+-RW DVW28SLC
                vendor: TEAC
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/cdrw
                logical name: /dev/dvd
                logical name: /dev/dvdrw
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: A.06
                capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
                configuration: ansiversion=5 status=open

It is not cd/dvd burning software related problem because i've tried all sort's of apps and burning cd's is going just fine from puppy when i boot it off from my flash drive... Hope it will be fixed sometime soon...

Revision history for this message
combuster (combuster) wrote :

I forgot to mention, i'm currently on 2.6.27-11 on intrepid but the problem existed on hardy too...

Revision history for this message
combuster (combuster) wrote :

Hm, it looks like that with the latest 2.6.27-11-27 data on the cd after burning is not corrupted but the hal gives me the same message:

Unable to mount "Label"

DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Ok, what is important is that the data is finally valid. I still have to wait some 60sec or more to access the disk but the data on it is not corrupted. At least things are getting better after a year of waiting...

Revision history for this message
Covi (j.a.cobo) wrote :

Hi all, sorry by lang...
I have the same problem, from Hardy (I think) and the SATA support on kernel (sd instead of hd), with two ATA disc. I go nuts with that :(

Revision history for this message
combuster (combuster) wrote :

It's not just a problem with Ubuntu, Debian, Fedora and some other minor distros have that same issue (i spotted the same error on clonezilla live). It wasnt a supprise for lenny (ubuntu is after all debian derivative) but fedora? I've tried jaunty also and the error persists and the problem manifest itself in same ways as mentioned above. Before jaunty hits rc i will try with my custom kernel and see if problem persists...

Revision history for this message
maximi89 (maximi89) wrote :

Linux Maximiliano 2.6.29-1-686 #1 SMP Fri Apr 17 14:35:16 UTC 2009 i686 GNU/Linux
Debian SID

May 5 22:14:37 Maximiliano kernel: [ 5.144029] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
May 5 22:14:37 Maximiliano kernel: [ 5.152121] ata2.00: ATA-7: ST3300831AS, 3.03, max UDMA/100
May 5 22:14:37 Maximiliano kernel: [ 5.152125] ata2.00: 586072368 sectors, multi 16: LBA48 NCQ (depth 0/32)
May 5 22:14:37 Maximiliano kernel: [ 5.168130] ata2.00: configured for UDMA/100
May 5 22:14:37 Maximiliano kernel: [ 5.168226] scsi 1:0:0:0: Direct-Access ATA ST3300831AS 3.03 PQ: 0 ANSI: 5
May 5 22:14:37 Maximiliano kernel: [ 5.168791] ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 20
May 5 22:14:37 Maximiliano kernel: [ 5.168802] sata_nv 0000:00:08.0: PCI INT A -> Link[APSJ] -> GSI 20 (level, low) -> IRQ 20
May 5 22:14:37 Maximiliano kernel: [ 5.168894] sata_nv 0000:00:08.0: setting latency timer to 64
May 5 22:14:37 Maximiliano kernel: [ 5.169181] scsi2 : sata_nv
May 5 22:14:37 Maximiliano kernel: [ 5.169313] scsi3 : sata_nv
May 5 22:14:37 Maximiliano kernel: [ 5.169487] ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xb800 irq 20
May 5 22:14:37 Maximiliano kernel: [ 5.169491] ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xb808 irq 20
May 5 22:14:37 Maximiliano kernel: [ 6.048024] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
May 5 22:14:37 Maximiliano kernel: [ 6.056267] ata3.00: ATA-7: HDS728080PLA380, PF2OA69A, max UDMA/133
May 5 22:14:37 Maximiliano kernel: [ 6.056271] ata3.00: 160836480 sectors, multi 16: LBA48 NCQ (depth 0/32)
May 5 22:14:37 Maximiliano kernel: [ 6.072275] ata3.00: configured for UDMA/133
May 5 22:14:37 Maximiliano kernel: [ 6.072353] scsi 2:0:0:0: Direct-Access ATA HDS728080PLA380 PF2O PQ: 0 ANSI: 5
May 5 22:14:37 Maximiliano kernel: [ 6.796018] ata4: SATA link down (SStatus 0 SControl 300)
May 5 22:14:37 Maximiliano kernel: [ 6.807583] ide-cd driver 5.00
May 5 22:14:37 Maximiliano kernel: [ 6.809322] ide-cd: hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
May 5 22:14:37 Maximiliano kernel: [ 6.809330] Uniform CD-ROM driver Revision: 3.20

May 5 22:14:37 Maximiliano kernel: [ 6.888833] Driver 'sd' needs updating - please use bus_type methods

May 5 22:14:37 Maximiliano kernel: [ 6.888931] sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB)
May 5 22:14:37 Maximiliano kernel: [ 6.888946] sd 0:0:0:0: [sda] Write Protect is off
May 5 22:14:37 Maximiliano kernel: [ 6.888949] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
May 5 22:14:37 Maximiliano kernel: [ 6.888970] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

Revision history for this message
Martin Thoma (themoosemind) wrote :

I get the same error:

[ 2.079077] Driver 'sd' needs updating - please use bus_type methods

With Ubuntu 9.04

Revision history for this message
Bernardo Kuri (accounts-bernardokuri) wrote :

Same as #29... I get both 'sd' and 'sr' errors, running on 9.04 64bits

Revision history for this message
sanemanmad (sanemanmad) wrote :

Error is stil present.

root@alice:~# dmesg | grep sr
[ 9.370675] sda:<4>Driver 'sr' needs updating - please use bus_type methods

root@alice:~# uname -r
2.6.27-15-server

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.