FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 10-09-2011, 04:55 AM
Ben Hutchings
 
Default Bug#644747: Bug#644747: linux-image-3.0.0-2-amd64: udev doesn't create /dev/sr0, /dev/cdrom

-------- Forwarded Message --------
From: R S Chakravarti <chakrsc@rediffmail.com>
To: ben@decadent.org.uk
Subject: Re: Re: Bug#644747: linux-image-3.0.0-2-amd64: udev doesn't create /dev/sr0, /dev/cdrom
Date: 9 Oct 2011 04:36:25 -0000

Thanks for responding.
Hope you don't mind a personal reply this time
(I don't know what I'm expected to do "officially"!).
I tried "modprobe sr_mod" but it didn't get loaded.
I'm attaching the dmesg file you asked for.



On Sat, 08 Oct 2011 23:53:47 +0530 wrote
>On Sat, 2011-10-08 at 23:21 +0530, R S Chakravarti wrote:

> Package: linux-2.6

> Version: 3.0.0-5

> Severity: important

>

> Dear Maintainer,

> *** Please consider answering these questions, where appropiate ***

>

> * What led up to the situation? I noticed that it didn't mount the

> CDROM.

> * What exactly did you do (or not do) that was effective (or

> ineffective)? I added the entry "cdrom" in /etc/modules.

> * What was the outcome of this action? The module "cdrom" gets loaded

> but /dev/sr0 is not created.

> * What outcome did you expect instead? I thought /dev/sr0 would be

> created.



The 'cdrom' module is not a driver but is *used* by drivers. The driver

for the SATA interface (ata_piix in this case) is supposed to detect

SATA devices and request the appropriate driver for the device types

found (sr_mod for a CD-ROM). Since sr_mod has not been loaded, it

appears that the problem is in device detection. (And loading sr_mod

should have no more effect than loading cdrom, because no device has

been found for it to bind to.)



> *** End of the template - remove these lines ***

>

>

>

> -- Package-specific info:

> ** Version:

> Linux version 3.0.0-2-amd64 (Debian 3.0.0-5) (ben@decadent.org.uk)
(gcc version 4.5.3 (Debian 4.5.3-9) ) #1 SMP Fri Oct 7 20:48:45 UTC 2011

>

> ** Command line:

> BOOT_IMAGE=/boot/vmlinuz-3.0.0-2-amd64
root=UUID=2237ebe0-15cb-40db-bed9-d4f5ff052689 ro single

>

> ** Tainted: O (4096)

> * Out-of-tree module has been loaded.

>

> ** Kernel log:

> [ 20.693330] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low)
-> IRQ 22

> [ 20.693453] HDA Intel 0000:00:1b.0: irq 43 for MSI/MSI-X

> [ 20.693483] HDA Intel 0000:00:1b.0: setting latency timer to 64

[...]



Unfortunately this log starts too late. Please could you send the

/var/log/dmesg file.



Ben.



--

Ben Hutchings

For every action, there is an equal and opposite criticism. - Harrison
 
Old 10-09-2011, 05:34 AM
Ben Hutchings
 
Default Bug#644747: Bug#644747: linux-image-3.0.0-2-amd64: udev doesn't create /dev/sr0, /dev/cdrom

On Sun, 2011-10-09 at 04:36 +0000, R S Chakravarti wrote:
> Thanks for responding.
> Hope you don't mind a personal reply this time
> (I don't know what I'm expected to do "officially"!).

You should keep cc'ing the bug address. I've forwarded your message
this time.

> I tried "modprobe sr_mod" but it didn't get loaded.
> I'm attaching the dmesg file you asked for.
[...]

OK, this shows:

[ 1.818602] ata2.00: ATAPI: HL-DT-ST DVDRAM GH22NS50, TN02, max UDMA/100
...
[ 1.834559] ata2.00: configured for UDMA/100
...
[ 6.833375] ata2.00: qc timeout (cmd 0xa0)
[ 6.833379] ata2.00: TEST_UNIT_READY failed (err_mask=0x4)
[ 6.989430] ata2.01: NODEV after polling detection
[ 7.013410] ata2.00: configured for UDMA/100
[ 12.012184] ata2.00: qc timeout (cmd 0xa0)
[ 12.012187] ata2.00: TEST_UNIT_READY failed (err_mask=0x4)
[ 12.012191] ata2.00: limiting speed to UDMA/100:PIO3
[ 12.168265] ata2.01: NODEV after polling detection
[ 12.192265] ata2.00: configured for UDMA/100
[ 17.191082] ata2.00: qc timeout (cmd 0xa0)
[ 17.191085] ata2.00: TEST_UNIT_READY failed (err_mask=0x4)
[ 17.191087] ata2.00: disabled
[ 17.191103] ata2: soft resetting link
[ 17.347162] ata2.01: NODEV after polling detection
[ 17.347184] ata2: EH complete

So the SATA driver is detecting the drive, but failing to communicate
with it beyond that.

It looks like this is the same problem as:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/794642

Please can you test the attached patch, following the directions at:
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official

Ben.

--
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.
 
Old 10-10-2011, 04:52 AM
"R S Chakravarti"
 
Default Bug#644747: Bug#644747: linux-image-3.0.0-2-amd64: udev doesn't create /dev/sr0, /dev/cdrom

After reading the Ubuntu bug report (#794642) I found that this Debian bug is also due to the SATA mode in my computer being set to IDE. When this is changed to AHCI the problem vanishes: /dev/cdrom appears.



On Sun, 09 Oct 2011 11:04:41 +0530 wrote

>On Sun, 2011-10-09 at 04:36 +0000, R S Chakravarti wrote:



> Thanks for responding.



> Hope you don't mind a personal reply this time



> (I don't know what I'm expected to do "officially"!).







You should keep cc'ing the bug address. I've forwarded your message



this time.







> I tried "modprobe sr_mod" but it didn't get loaded.



> I'm attaching the dmesg file you asked for.



[...]







OK, this shows:







[ 1.818602] ata2.00: ATAPI: HL-DT-ST DVDRAM GH22NS50, TN02, max UDMA/100



...



[ 1.834559] ata2.00: configured for UDMA/100



...



[ 6.833375] ata2.00: qc timeout (cmd 0xa0)



[ 6.833379] ata2.00: TEST_UNIT_READY failed (err_mask=0x4)



[ 6.989430] ata2.01: NODEV after polling detection



[ 7.013410] ata2.00: configured for UDMA/100



[ 12.012184] ata2.00: qc timeout (cmd 0xa0)



[ 12.012187] ata2.00: TEST_UNIT_READY failed (err_mask=0x4)



[ 12.012191] ata2.00: limiting speed to UDMA/100:PIO3



[ 12.168265] ata2.01: NODEV after polling detection



[ 12.192265] ata2.00: configured for UDMA/100



[ 17.191082] ata2.00: qc timeout (cmd 0xa0)



[ 17.191085] ata2.00: TEST_UNIT_READY failed (err_mask=0x4)



[ 17.191087] ata2.00: disabled



[ 17.191103] ata2: soft resetting link



[ 17.347162] ata2.01: NODEV after polling detection



[ 17.347184] ata2: EH complete







So the SATA driver is detecting the drive, but failing to communicate



with it beyond that.







It looks like this is the same problem as:



https://bugs.launchpad.net/ubuntu/+source/linux/+bug/794642







Please can you test the attached patch, following the directions at:



http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official







Ben.







--



Ben Hutchings



Reality is just a crutch for people who can't handle science fiction.
 
Old 10-10-2011, 03:28 PM
Ben Hutchings
 
Default Bug#644747: Bug#644747: linux-image-3.0.0-2-amd64: udev doesn't create /dev/sr0, /dev/cdrom

On Mon, Oct 10, 2011 at 04:52:55AM -0000, R S Chakravarti wrote:
> After reading the Ubuntu bug report (#794642) I found that this
> Debian bug is also due to the SATA mode in my computer being set to
> IDE. When this is changed to AHCI the problem vanishes: /dev/cdrom
> appears.
[...]

Right, I thought that might work.

Would you mind testing the patch with the SATA interface back in
legacy/IDE mode?

Ben.
>
--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111010152838.GE3366@decadent.org.uk">http://lists.debian.org/20111010152838.GE3366@decadent.org.uk
 

Thread Tools




All times are GMT. The time now is 11:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org