CDROM not working with kernel 2.6.15-6-686

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

CDROM not working with kernel 2.6.15-6-686

Tobias Hunger-2
Hi there!

I just upgraded to -6-686 kernel and that works way better than the -5-686 one
(I no longer see soft lockup messages about CPU#0:-).

Unfortunately my SATA CDROM drive no longer works. It did well with the 2.6.12
kernel series from ubuntu. Ben asked me to provide the attached data for you
guys to chew on:-)

Is there anything else I can do to help with tracking down this problem?

Best Regards,
Tobias Hunger

PS: Thanks for the splendid work you guys are doing!

--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team

lsmod (3K) Download Attachment
lspcivv (12K) Download Attachment
lspcivvn (10K) Download Attachment
dmesg (15K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Ben Collins-5
On Fri, 2005-12-02 at 21:44 +0100, Tobias Hunger wrote:

> Hi there!
>
> I just upgraded to -6-686 kernel and that works way better than the -5-686 one
> (I no longer see soft lockup messages about CPU#0:-).
>
> Unfortunately my SATA CDROM drive no longer works. It did well with the 2.6.12
> kernel series from ubuntu. Ben asked me to provide the attached data for you
> guys to chew on:-)
>
> Is there anything else I can do to help with tracking down this problem?

I have an ata update for 2.6.15-7.9, but in the mean time can you send
me "cat /proc/iomem" and "cat /proc/interrupts".

Also, try blacklisting ide_generic. I have the sneaking suspicion that
ide_generic is grabbing resources for which it cannot handle, making it
hard for ata_piix to do so.

--
   Ben Collins <[hidden email]>
   Developer
   Ubuntu Linux


--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Ben Collins-5
In reply to this post by Tobias Hunger-2
On Fri, 2005-12-02 at 21:44 +0100, Tobias Hunger wrote:

> Hi there!
>
> I just upgraded to -6-686 kernel and that works way better than the -5-686 one
> (I no longer see soft lockup messages about CPU#0:-).
>
> Unfortunately my SATA CDROM drive no longer works. It did well with the 2.6.12
> kernel series from ubuntu. Ben asked me to provide the attached data for you
> guys to chew on:-)
>
> Is there anything else I can do to help with tracking down this problem?

Also, try add this line to /etc/mkinitramfs/modules

libata atapi_enabled=1

and run "update-initramfs -u"

--
   Ben Collins <[hidden email]>
   Developer
   Ubuntu Linux


--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Tobias Hunger-2
In reply to this post by Ben Collins-5
On Saturday 03 December 2005 16:36, Ben Collins wrote:
> On Fri, 2005-12-02 at 21:44 +0100, Tobias Hunger wrote:
> I have an ata update for 2.6.15-7.9, but in the mean time can you send
> me "cat /proc/iomem" and "cat /proc/interrupts".

Here they are...

> Also, try blacklisting ide_generic. I have the sneaking suspicion that
> ide_generic is grabbing resources for which it cannot handle, making it
> hard for ata_piix to do so.

Aehm... how do I blacklist ide_generic with the new udev scheme?

Regards,
Tobias

--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team

interrupts (720 bytes) Download Attachment
iomem (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Tobias Hunger-2
In reply to this post by Ben Collins-5
On Saturday 03 December 2005 20:20, Ben Collins wrote:
> Also, try add this line to /etc/mkinitramfs/modules
>
> libata atapi_enabled=1

That works! Thanks for the hint!

Please do not hesitate to ask me if you need somebody doing some SATA testing.

Best Regards,
Tobias

--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Ante Karamatic-2
In reply to this post by Tobias Hunger-2
On Fri, 2005-12-02 at 21:44 +0100, Tobias Hunger wrote:

> Is there anything else I can do to help with tracking down this problem?

As far as I see this isn't kernel bug. CDROM stoped working here to, on
all 15-*-686 kernels, and it did work before. Something else is the
problem. udev?

--
Ante Karamatic | 0xD3BDA225 | 0x0A4A0161
[hidden email] | [hidden email] | ivoks.blogspot.com
"Tomorrow is my day off, so please stay off the powder!"

--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Ante Karamatic-2
On Mon, 2005-12-05 at 09:55 +0100, Ante Karamatic wrote:

> As far as I see this isn't kernel bug. CDROM stoped working here to, on
> all 15-*-686 kernels, and it did work before. Something else is the
> problem. udev?

If it helps:

dmesg:

[17179574.948000] ICH4: chipset revision 1
[17179574.948000] ICH4: not 100% native mode: will probe irqs later
[17179574.948000]     ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings:
hda:DMA, hdb:pio
[17179574.948000]     ide1: BM-DMA at 0xbfa8-0xbfaf, BIOS settings:
hdc:DMA, hdd:pio
[17179574.948000] ide0: I/O resource 0x3F6-0x3F6 not free.
[17179574.948000] ide0: ports already in use, skipping probe
[17179574.948000] Probing IDE interface ide1...
[17179575.180000] hda: FUJITSU MHT2080AH, ATA DISK drive
[17179575.684000] hdc: HL-DT-STCD-RW/DVD-ROM GCC-4243N, ATAPI CD/DVD-ROM
drive
[17179575.852000] ide1: I/O resource 0x376-0x376 not free.
[17179575.852000] hdc: ERROR, PORTS ALREADY IN USE
[17179575.852000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[17179575.852000] ide1 at 0x170-0x177,0x376 on irq 15
[17179576.020000] Badness in enable_irq at kernel/irq/manage.c:126
[17179576.020000]  [<c014964c>] enable_irq+0xac/0x110
[17179576.020000]  [<e0badbbf>] probe_hwif+0x42f/0x520 [ide_core]
[17179576.020000]  [<e0badcc5>] probe_hwif_init_with_fixup+0x15/0x90
[ide_core]
[17179576.020000]  [<e0bb1e34>] ide_setup_pci_device+0x94/0xb0
[ide_core]
[17179576.020000]  [<c01fdf76>] __pci_device_probe+0x56/0x70
[17179576.020000]  [<c01fdfbf>] pci_device_probe+0x2f/0x50
[17179576.020000]  [<c02567c6>] driver_probe_device+0x46/0xd0
[17179576.020000]  [<c02568e0>] __driver_attach+0x0/0x50
[17179576.020000]  [<c0256928>] __driver_attach+0x48/0x50
[17179576.020000]  [<c0255cfd>] bus_for_each_dev+0x5d/0x80
[17179576.020000]  [<c0256955>] driver_attach+0x25/0x30
[17179576.020000]  [<c02568e0>] __driver_attach+0x0/0x50
[17179576.020000]  [<c0256259>] bus_add_driver+0x89/0xf0
[17179576.020000]  [<c01fe257>] __pci_register_driver+0x87/0xb0
[17179576.020000]  [<e084601d>] piix_ide_init+0x1d/0x21 [piix]
[17179576.020000]  [<c014254e>] sys_init_module+0xde/0x210
[17179576.020000]  [<c01033c5>] syscall_call+0x7/0xb
[17179576.020000] register_blkdev: cannot get major 22 for ide1
[17179576.020000] ide1: failed to initialize IDE interface

/proc/iomem:

00000000-0009efff : System RAM
0009f000-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000cf7ff : Video ROM
000f0000-000fffff : System ROM
00100000-1ffadfff : System RAM
  00100000-002eb0b0 : Kernel code
  002eb0b1-00375a23 : Kernel data
1ffae000-1fffffff : reserved
30000000-31ffffff : PCI Bus #02
  30000000-31ffffff : PCI CardBus #03
32000000-320003ff : 0000:00:1f.1
d0000000-dfffffff : PCI Bus #01
  d0000000-dfffffff : 0000:01:00.0
    d0000000-d3ffffff : vesafb
e0000000-e7ffffff : 0000:00:00.0
f4fff400-f4fff4ff : 0000:00:1f.5
  f4fff400-f4fff4ff : Intel 82801DB-ICH4
f4fff800-f4fff9ff : 0000:00:1f.5
  f4fff800-f4fff9ff : Intel 82801DB-ICH4
f4fffc00-f4ffffff : 0000:00:1d.7
  f4fffc00-f4ffffff : ehci_hcd
f6000000-fbffffff : PCI Bus #02
  f6000000-f7ffffff : PCI CardBus #03
  f8000000-f8000fff : 0000:02:01.0
    f8000000-f8000fff : yenta_socket
  faff8000-faffbfff : 0000:02:01.1
  faffc000-faffcfff : 0000:02:03.0
    faffc000-faffcfff : ipw2200
  faffd800-faffdfff : 0000:02:01.1
    faffd800-faffdfff : ohci1394
  faffe000-faffffff : 0000:02:00.0
    faffe000-faffffff : b44
fc000000-fdffffff : PCI Bus #01
  fc000000-fcffffff : 0000:01:00.0
    fc000000-fcffffff : nvidia
  fd000000-fd01ffff : 0000:01:00.0
feda0000-fedfffff : reserved
ffb00000-ffffffff : reserved

/proc/interrupts

           CPU0
  0:     211237          XT-PIC  timer
  1:       2265          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  7:      16928          XT-PIC  Intel 82801DB-ICH4, ipw2200
  8:          4          XT-PIC  rtc
  9:          4          XT-PIC  acpi
 11:      50304          XT-PIC  ehci_hcd:usb1, uhci_hcd:usb2,
uhci_hcd:usb3, uhci_hcd:usb4, yenta, ohci1394, nvidia
 12:      29626          XT-PIC  i8042
 14:      14452          XT-PIC  ide0
 15:          0          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          0
MIS:          0


--
Ante Karamatic | 0xD3BDA225 | 0x0A4A0161
[hidden email] | [hidden email] | ivoks.blogspot.com
"Tomorrow is my day off, so please stay off the powder!"

--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Matt Zimmerman-2
In reply to this post by Tobias Hunger-2
On Sat, Dec 03, 2005 at 11:44:28PM +0100, Tobias Hunger wrote:
> On Saturday 03 December 2005 20:20, Ben Collins wrote:
> > Also, try add this line to /etc/mkinitramfs/modules
> >
> > libata atapi_enabled=1
>
> That works! Thanks for the hint!

OK, but how do we fix this permanently for everyone?

--
 - mdz

--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Ben Collins-5
On Tue, 2005-12-06 at 11:42 -0800, Matt Zimmerman wrote:
> On Sat, Dec 03, 2005 at 11:44:28PM +0100, Tobias Hunger wrote:
> > On Saturday 03 December 2005 20:20, Ben Collins wrote:
> > > Also, try add this line to /etc/mkinitramfs/modules
> > >
> > > libata atapi_enabled=1
> >
> > That works! Thanks for the hint!
>
> OK, but how do we fix this permanently for everyone?

-7.9 changelog holds the answer to your question :)

Basically, I've set atapi_enabled=1 by default. It's disabled for
drivers known to be broken in this regard. So, like CDROM DMA, we're
going to see how it goes. I talked to Jeff Garzik, and he's probably
going to accept this patch (and move it upstream into 2.6.15).

--
   Ben Collins <[hidden email]>
   Developer
   Ubuntu Linux


--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Ante Karamatic-2
On Tue, 2005-12-06 at 14:58 -0500, Ben Collins wrote:

> Basically, I've set atapi_enabled=1 by default. It's disabled for
> drivers known to be broken in this regard. So, like CDROM DMA, we're
> going to see how it goes. I talked to Jeff Garzik, and he's probably
> going to accept this patch (and move it upstream into 2.6.15).

I just did some debugging and I don't think it's kernel's fault. I did
mkinitramfs -u in 2.6.12-9-686 (worked without problems untill that) and
reboot. After reboot I didn't have piix loaded, but ide_generic.

I don't have SATA, only IDE disks/cdroms. I think the answer is in
initramfs-tools, but I could be wrong.

--
Ante Karamatic | 0xD3BDA225 | 0x0A4A0161
[hidden email] | [hidden email] | ivoks.blogspot.com
"Tomorrow is my day off, so please stay off the powder!"

--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Ben Collins-5
On Tue, 2005-12-06 at 21:28 +0100, Ante Karamatic wrote:

> On Tue, 2005-12-06 at 14:58 -0500, Ben Collins wrote:
>
> > Basically, I've set atapi_enabled=1 by default. It's disabled for
> > drivers known to be broken in this regard. So, like CDROM DMA, we're
> > going to see how it goes. I talked to Jeff Garzik, and he's probably
> > going to accept this patch (and move it upstream into 2.6.15).
>
> I just did some debugging and I don't think it's kernel's fault. I did
> mkinitramfs -u in 2.6.12-9-686 (worked without problems untill that) and
> reboot. After reboot I didn't have piix loaded, but ide_generic.
>
> I don't have SATA, only IDE disks/cdroms. I think the answer is in
> initramfs-tools, but I could be wrong.

That's probably the issue that Matt was experiencing, which is also
fixed. The old way of using ide-generic like breezy did isn't done in
new initramfs-tools. The change allowed us to revert a patch that was in
breezy.

--
   Ben Collins <[hidden email]>
   Developer
   Ubuntu Linux


--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Ante Karamatic-2
On Tue, 2005-12-06 at 15:40 -0500, Ben Collins wrote:

> That's probably the issue that Matt was experiencing, which is also
> fixed. The old way of using ide-generic like breezy did isn't done in
> new initramfs-tools. The change allowed us to revert a patch that was in
> breezy.

I'm having same problems with -7.9 :/

--
Ante Karamatic | 0xD3BDA225 | 0x0A4A0161
[hidden email] | [hidden email] | ivoks.blogspot.com
"Tomorrow is my day off, so please stay off the powder!"

--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: CDROM not working with kernel 2.6.15-6-686

Ante Karamatic-2
On Thu, 2005-12-08 at 12:17 +0100, Ante Karamatic wrote:

> I'm having same problems with -7.9 :/

OK. Ignore this. Recreating initrd solved this issue on -7.9.

--
Ante Karamatic | 0xD3BDA225 | 0x0A4A0161
[hidden email] | [hidden email] | ivoks.blogspot.com
"Tomorrow is my day off, so please stay off the powder!"

--
kernel-team mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/kernel-team

signature.asc (196 bytes) Download Attachment