Matt Galvin | 2 Dec 2005 04:56
Picon

Re: ata_piix supportet sata chipset

On 12/1/05, paxel <at> poczta.onet.pl <paxel <at> poczta.onet.pl> wrote:
> I have a laptop (Toshiba Qosmio G20) with an ata_piix supported sata chipset and the
> hard drive is not recognized during installation (nor when I run Ubuntu Live CD).
>
> Could you please pull the same patches suse/vector/mepis... are using to fix this? (there
> are no problems with installing those distros).

(Moving this conversation to kernel-team list)

+1

I have a Qosmio G25 with this same(or similar) chipset with the sata
raid, yes it has 2 hard drives, and I have the exact same problem.
Ubuntu does not see the hard drives. This laptop rocks, but it is kind
of depressing to not be able to use my favorite distro on it. I have
been stuck with windows on it for the time being.

Getting Ubuntu on this machine would rock so hard!!!

Thanks,

Matt

P.S. - I am patiently awaiting working dapper install CD's so that I
can try with the 2.6.15 kernel directly and will certainly let you
guys know how it goes.

--
Matt T. Galvin
matt.t.galvin <at> gmail.com
(Continue reading)

Tobias Hunger | 2 Dec 2005 21:44

CDROM not working with kernel 2.6.15-6-686

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!
Module                  Size  Used by
ip_conntrack_ftp        8112  0 
ip_conntrack_irc        6928  0 
ipt_LOG                 7360  7 
ipt_limit               2624  7 
ipt_state               2016  41 
iptable_filter          3104  1 
ip_conntrack           53688  3 ip_conntrack_ftp,ip_conntrack_irc,ipt_state
nfnetlink               6808  1 ip_conntrack
ip_tables              22624  4 ipt_LOG,ipt_limit,ipt_state,iptable_filter
ext2                   73864  1 
aes                    30016  4 
dm_crypt               12776  1 
(Continue reading)

Ben Collins | 3 Dec 2005 20:20
Favicon

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

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 <ben.collins <at> ubuntu.com>
   Developer
   Ubuntu Linux

Tobias Hunger | 3 Dec 2005 23:44

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

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

Tobias Hunger | 3 Dec 2005 23:37

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

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
           CPU0       
  0:    5747753    IO-APIC-edge  timer
  1:      12380    IO-APIC-edge  i8042
  7:          0    IO-APIC-edge  parport0
  8:          3    IO-APIC-edge  rtc
  9:      17968   IO-APIC-level  acpi
 12:     523273    IO-APIC-edge  i8042
 14:     286781    IO-APIC-edge  libata
 15:          2    IO-APIC-edge  libata
 50:         46   IO-APIC-level  uhci_hcd:usb3
 58:          2   IO-APIC-level  uhci_hcd:usb4, ehci_hcd:usb5
 66:        186   IO-APIC-level  ath0
169:    2319615   IO-APIC-level  uhci_hcd:usb1, yenta, eth0
(Continue reading)

Ben Collins | 3 Dec 2005 16:36
Favicon

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

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 <ben.collins <at> ubuntu.com>
   Developer
   Ubuntu Linux

Ante Karamatic | 5 Dec 2005 09:55
Favicon

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

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
ivoks <at> grad.hr | ivoks <at> ubuntu.com | ivoks.blogspot.com
"Tomorrow is my day off, so please stay off the powder!"
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
ivoks <at> grad.hr | ivoks <at> ubuntu.com | ivoks.blogspot.com
"Tomorrow is my day off, so please stay off the powder!"
Ante Karamatic | 5 Dec 2005 18:17
Favicon

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

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
(Continue reading)

Matt Zimmerman | 6 Dec 2005 20:42
Favicon

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

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

Ben Collins | 6 Dec 2005 20:58
Favicon

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

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 <ben.collins <at> ubuntu.com>
   Developer
   Ubuntu Linux


Gmane