Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29030 - Kernel 3.3 pata dvd/cdrom drives disappeared

Attached to Project: Arch Linux
Opened by Heinrich Siebmanns (Harvey) - Wednesday, 21 March 2012, 09:27 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 04 April 2012, 06:20 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

With the latest update to kernel 3.3 in testing my dvd and cdrom burners stopped working. They are pata drives. The dvd on my laptop (SATA) is working o.k., so maybe this is related to PATA. The 64 bit system does not even list them as /dev/sr0 or /dev/sr1 anymore. It seems like they are not existent. The hardware is o.k. because I tested this with a parallel Installation of arch (32 bit) on a separat partition which still runs kernel 3.2.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 04 April 2012, 06:20 GMT
Reason for closing:  Fixed
Comment by Thomas Bächler (brain0) - Wednesday, 21 March 2012, 10:30 GMT
Can you tell us the driver for the PATA controller used. Do any other drives than then DVD/CD drives connect to this controller?
Comment by Heinrich Siebmanns (Harvey) - Wednesday, 21 March 2012, 11:20 GMT
It's this board: GIGABYTE GA-P55-USB3
http://www.gigabyte.com/products/product-page.aspx?pid=3311#ov
According to the manual the ATA channel is attached to a 'Gigabyte Sata2 chip'
Comment by Heinrich Siebmanns (Harvey) - Wednesday, 21 March 2012, 11:23 GMT
And no, there are no other drives attached to this chip. My harddisk uses a native SATA lane of the Intel P55. There is only one ATA connector on the board. Both drives are connected via one cable in master/slave mode.
Comment by Thomas Bächler (brain0) - Wednesday, 21 March 2012, 12:03 GMT
Sounds more like a broken controller driver than an actual problem specific to CD.
Comment by Heinrich Siebmanns (Harvey) - Wednesday, 21 March 2012, 12:42 GMT
I attached a sata drive to the gigabyte Sata2-controller and that works as expected. Still no CD drives :(
Comment by Matej Špindler (MatejSpindler) - Thursday, 22 March 2012, 10:06 GMT
Same here with this motherboard : Gigabyte GA-P55-UD5

http://www.gigabyte.com/products/product-page.aspx?pid=3159#sp

I'm on x86_64. With 3.3 kernel device /dev/sr0 isn't created.
With kernel 3.2.11 CD/DVD is working OK.
Comment by Thomas Bächler (brain0) - Thursday, 22 March 2012, 10:47 GMT
Can you please post what your PATA driver is? If you don't know, can you post 'lsmod' output from both 3.2 and 3.3? There seems to be a relation to  FS#29045 .
Comment by Heinrich Siebmanns (Harvey) - Thursday, 22 March 2012, 10:59 GMT
harvey@obelix ~ $ lsmod | grep pata
pata_jmicron 2480 0
pata_acpi 3376 0
libata 167582 6 ata_generic,libahci,ahci,ata_piix,pata_acpi,pata_jmicron

But a bit more fun: kernel 3.2.12 shows the same behaviour (no cd drives) while 3.2.11 is o.k.
lsmod output is the same in 3.2 and 3.3. I already checked this yesterday.
Comment by Thomas Bächler (brain0) - Thursday, 22 March 2012, 11:03 GMT
Hey, that narrows it down. They broke pata_jmicron.

EDIT: It doesn't: pata_jmicron was not touched between 3.2.11 and 3.2.12.
Comment by Matej Špindler (MatejSpindler) - Thursday, 22 March 2012, 12:28 GMT
Same behavior here no cd drive with 3.2.12 but with 3.2.12 it is OK.

I'm attaching results from lsmod on 3.2.11 and 3.2.12
Comment by Daniel Löb (garak) - Monday, 26 March 2012, 09:31 GMT
This looks definitely like it is the same bug as
https://bugs.archlinux.org/task/29045

I had the same problem with mainboard Gigabyte GA-P35-DS3R on 3.2.12 (not testing), and tried the workaround mentioned in the linked bugreport (i.e. boot with pcie_aspm=force in the kernel command line). Now my optical drive is usable again under 3.2.12
Comment by olivier LUNOT (luluone) - Friday, 30 March 2012, 12:04 GMT
GIGABYTE GA-EP45-UD3
With 3.2.12 or 3.2.13 kernel device /dev/sr0 isn't created.
With kernel 3.2.11 CD/DVD is working.
Comment by Heinrich Siebmanns (Harvey) - Friday, 30 March 2012, 19:16 GMT
Add pcie_aspm=force to the kernel boot line in /boot/grub/menu.lst worked around this for me in 3.3 too. Waiting for a kernel fix...
Comment by Kiss Ákos (akosch) - Friday, 30 March 2012, 22:07 GMT
This scared me to death! I thought I had a hardware failure...
Comment by Matej Špindler (MatejSpindler) - Tuesday, 03 April 2012, 20:53 GMT
kernel 3.3.1 is in testing and my DVD writer is recognized and working.

Loading...