2008-01-23 22:24:04

by Marcin Gil

[permalink] [raw]
Subject: JMicron PATA 2.6.24-rc7 can't find drives

Hi!

I have Asus p5b-v motherboard with Intel ICH8R + JMicron 20360/20363.

I am currently using zen-sources 2.6.24-rc7-zen2-g7c7e9c4a
(zen-sources.org) based on kernel 2.6.24-rc7. I have also these sources
directly with no solution to below problem (the mm-sources also don't help).

I have ATA turned off completely and SCSI stuff (generic, disk, cdrom)
compiled in. SATA for Intel ICH8, AHCI also compiled in. JMicron PATA as a
module.

I have SATA drive connected to SATA0 and Maxtor IDE drive + DVD burner
connected to single IDE slot.

Booting this kernel off the SATA drive works perfectly, however the IDE drive
is not found/put into /dev. However the DVD is properly recognized and
created as sr0.

Is this known problem? I've looked all over google and found out that people
have problems with CD/DVD drives with pata_jmicron but in my case DVD is
working ok but HDD is not.

Is there a solution for this or can I give you more information to help me
solve this?

Thank you for your time and patience.
-Marcin Gil

PS. Please CC all answers to me as I have not joined the list.


2008-01-23 23:48:58

by Alan

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

> I have SATA drive connected to SATA0 and Maxtor IDE drive + DVD burner
> connected to single IDE slot.
>
> Booting this kernel off the SATA drive works perfectly, however the IDE drive
> is not found/put into /dev. However the DVD is properly recognized and
> created as sr0.
>
> Is this known problem? I've looked all over google and found out that people
> have problems with CD/DVD drives with pata_jmicron but in my case DVD is
> working ok but HDD is not.
>
> Is there a solution for this or can I give you more information to help me
> solve this?

The output of dmesg after the boot would be a good start

2008-01-24 07:16:33

by Marcin Gil

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

Alan Cox wrote:
>> I have SATA drive connected to SATA0 and Maxtor IDE drive + DVD burner
>> connected to single IDE slot.
>>
>> Booting this kernel off the SATA drive works perfectly, however the IDE drive
>> is not found/put into /dev. However the DVD is properly recognized and
>> created as sr0.
>>
>> Is this known problem? I've looked all over google and found out that people
>> have problems with CD/DVD drives with pata_jmicron but in my case DVD is
>> working ok but HDD is not.
>>
>> Is there a solution for this or can I give you more information to help me
>> solve this?
>
> The output of dmesg after the boot would be a good start

Here it is:
http://pastebin.com/md726431

Thank you very much!
-Marcin Gil

2008-01-24 14:27:29

by Lennart Sorensen

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

On Thu, Jan 24, 2008 at 08:09:40AM +0100, Marcin Gil wrote:
> Here it is:
> http://pastebin.com/md726431

Line 416 looks like it detected the DVD.

Look for /dev/scd0 or /dev/sr0 or if using a decent udev setup perhaps
even /dev/dvdrw.

--
Len Sorensen

2008-01-24 14:30:59

by Marcin Gil

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

Lennart Sorensen wrote:
> On Thu, Jan 24, 2008 at 08:09:40AM +0100, Marcin Gil wrote:
>> Here it is:
>> http://pastebin.com/md726431
>
> Line 416 looks like it detected the DVD.
>
> Look for /dev/scd0 or /dev/sr0 or if using a decent udev setup perhaps
> even /dev/dvdrw.
>
This is not a problem. I've posted (in original mail) that DVD is found
fine (and linked as /dev/cdrom). But I have a Maxtor HDD on the same
ide-tape and it is not detected at all.

Thank you,
-Marcin Gil

2008-01-24 14:44:16

by Lennart Sorensen

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

On Thu, Jan 24, 2008 at 03:30:44PM +0100, Marcin Gil wrote:
> This is not a problem. I've posted (in original mail) that DVD is found
> fine (and linked as /dev/cdrom). But I have a Maxtor HDD on the same
> ide-tape and it is not detected at all.

Are you using an 80 pin IDE cable and are both drives set to cable
select (usually preferable) or is one master and one slave?

--
Len Sorensen

2008-01-24 14:48:37

by Marcin Gil

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

Lennart Sorensen wrote:
> On Thu, Jan 24, 2008 at 03:30:44PM +0100, Marcin Gil wrote:
>> This is not a problem. I've posted (in original mail) that DVD is found
>> fine (and linked as /dev/cdrom). But I have a Maxtor HDD on the same
>> ide-tape and it is not detected at all.
>
> Are you using an 80 pin IDE cable and are both drives set to cable
> select (usually preferable) or is one master and one slave?
>
Yes, this is 80-wire cable; both are connected on the same cable. HDD is
master and DVD is slave. I'll later try disconnecting DVD and see what
happens. I didn't set cable-select due to how these drives are connected

+-----+-----+
mobo hdd dvd

I think that cable select would take dvd as master and hdd as slave.
This was not preferable when hdd was my primary drive. I can try
cable-select now since I boot off new SATA drive.

Thank you,
-Marcin Gil

2008-01-24 14:51:42

by Lennart Sorensen

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

On Thu, Jan 24, 2008 at 03:48:23PM +0100, Marcin Gil wrote:
> Yes, this is 80-wire cable; both are connected on the same cable. HDD is
> master and DVD is slave. I'll later try disconnecting DVD and see what
> happens. I didn't set cable-select due to how these drives are connected
>
> +-----+-----+
> mobo hdd dvd
>
> I think that cable select would take dvd as master and hdd as slave.
> This was not preferable when hdd was my primary drive. I can try
> cable-select now since I boot off new SATA drive.

Does the BIOS see the HD on the jmicron when doing disk detection?

I remember once forgetting to connect power to a driver and spending a
while wondering why the drive wasn't showing up anywhere.

--
Len Sorensen

2008-01-24 14:54:21

by Marcin Gil

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

Lennart Sorensen wrote:
> On Thu, Jan 24, 2008 at 03:48:23PM +0100, Marcin Gil wrote:
>> Yes, this is 80-wire cable; both are connected on the same cable. HDD is
>> master and DVD is slave. I'll later try disconnecting DVD and see what
>> happens. I didn't set cable-select due to how these drives are connected
>>
>> +-----+-----+
>> mobo hdd dvd
>>
>> I think that cable select would take dvd as master and hdd as slave.
>> This was not preferable when hdd was my primary drive. I can try
>> cable-select now since I boot off new SATA drive.
>
> Does the BIOS see the HD on the jmicron when doing disk detection?
>
> I remember once forgetting to connect power to a driver and spending a
> while wondering why the drive wasn't showing up anywhere.
>
Yes, both drives are detected by BIOS. Everything is working fine with
"old" ATA drivers (ide_disk/ide_cd).

IDE HDD Maxtor was my primary disk but I've recently bought new SATA
disk and was trying to get rid of ATA.

Thank you,
-Marcin Gil

2008-01-24 15:21:28

by Alan

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

> > The output of dmesg after the boot would be a good start
>
> Here it is:
> http://pastebin.com/md726431

Ok that is the important bit:

ata9: port is slow to respond, please be patient (Status 0x80)
ata9: SRST failed (errno=-16)

So when we reset the interface and probed it the HDD on the Jmicron
interface decided it didn't want to talk to us. What make/model of disk
is this ?

2008-01-24 17:11:37

by Krzysztof Halasa

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

Marcin Gil <[email protected]> writes:

> +-----+-----+
> mobo hdd dvd
>
> I think that cable select would take dvd as master and hdd as slave.
> This was not preferable when hdd was my primary drive. I can try
> cable-select now since I boot off new SATA drive.

Is a master in the middle permitted by the specs at all?
--
Krzysztof Halasa

2008-01-24 17:22:36

by Lennart Sorensen

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

On Thu, Jan 24, 2008 at 06:11:22PM +0100, Krzysztof Halasa wrote:
> Marcin Gil <[email protected]> writes:
>
> > +-----+-----+
> > mobo hdd dvd
> >
> > I think that cable select would take dvd as master and hdd as slave.
> > This was not preferable when hdd was my primary drive. I can try
> > cable-select now since I boot off new SATA drive.
>
> Is a master in the middle permitted by the specs at all?

On 40 pin cable select it was in fact required. On 80pin the end is the
master and the middle the slave which I believe is supposed to give
better signal quality when only one device is in use.

--
Len Sorensen

2008-01-24 20:44:31

by Marcin Gil

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

Dnia czwartek 24 stycznia 2008, Krzysztof Halasa napisał:
> Marcin Gil <[email protected]> writes:
> > +-----+-----+
> > mobo hdd dvd
> >
> > I think that cable select would take dvd as master and hdd as slave.
> > This was not preferable when hdd was my primary drive. I can try
> > cable-select now since I boot off new SATA drive.
>
> Is a master in the middle permitted by the specs at all?

I don't know. I had to do this because of the drive placement in the case.
DVD drive is high above HDD drive -- thus I had to place DVD on the end.

I'll switch to cable select in the moment and report back to you.

Thank you,
-Marcin Gil

2008-01-24 21:39:18

by Marcin Gil

[permalink] [raw]
Subject: Re: JMicron PATA 2.6.24-rc7 can't find drives

Dnia czwartek 24 stycznia 2008, Lennart Sorensen napisał:
> On Thu, Jan 24, 2008 at 06:11:22PM +0100, Krzysztof Halasa wrote:
> > Marcin Gil <[email protected]> writes:
> > > +-----+-----+
> > > mobo hdd dvd
> > >
> > > I think that cable select would take dvd as master and hdd as slave.
> > > This was not preferable when hdd was my primary drive. I can try
> > > cable-select now since I boot off new SATA drive.
> >
> > Is a master in the middle permitted by the specs at all?
>
> On 40 pin cable select it was in fact required. On 80pin the end is the
> master and the middle the slave which I believe is supposed to give
> better signal quality when only one device is in use.

Ok. I've just configured drives to cable-select. Everything works fine.
Both DVD and IDE HDD are detected correctly. SATA drive (slot SATA0) is sda,
IDE HDD is sdb and DVD is sr0.

Looks like my problem is now solved. What is just curious to me is that it
worked fine with old ATA..

Thank you all for your patience and time.
-Marcin Gil