Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-18 Thread Søren Schmidt

It seems [EMAIL PROTECTED] wrote:
> This won't help people using similair drives (in one of my machines)
> that I am using, I have the same problem in current that I have in
> RELENG_4,
> It times out and drops to PIO4 mode after a few min.  I dropped
> "atacontrol mode 0 pio4 none" (I only have the 1 drive on the chain)
> before the fsck check in /etc/rc to avoid the timeouts and boot
> normally). I'm sure there is probably a better way to do it, but I'm
> lazy :)
> Anyways, it’s a maxtor drive, I can send someone the drive info if that
> will help.  I don't have the problem though on my Western Digital ata100
> drive in another machine.

The problem you describe here has nothing todo with tags, as
Maxtor doesn't support that.
For me to help you here I need alot more info, a dmesg from the
system would be a nice start...

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-18 Thread freebsd-current

This won't help people using similair drives (in one of my machines)
that I am using, I have the same problem in current that I have in
RELENG_4,
It times out and drops to PIO4 mode after a few min.  I dropped
"atacontrol mode 0 pio4 none" (I only have the 1 drive on the chain)
before the fsck check in /etc/rc to avoid the timeouts and boot
normally). I'm sure there is probably a better way to do it, but I'm
lazy :)
Anyways, it’s a maxtor drive, I can send someone the drive info if that
will help.  I don't have the problem though on my Western Digital ata100
drive in another machine.

Jason

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Søren Schmidt
Sent: Thursday, April 18, 2002 5:18 AM
To: Alexander Leidinger
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: i386 ATA is very broken after sparc64 ATA mega-commit
(April 5)


It seems Alexander Leidinger wrote:
> On 18 Apr, Doug Barton wrote:
> > Given the impending 4.6-release, might it make sense to back off ata

> > in -stable to the last known-good state?
> 
> We have some time until the code freeze, so give him some days to 
> track it down. If he is able to fix it: fine, else he can still back 
> it out.

I'll see what I can do, but my time is VERY limitted for the next 2-3
weeks, if I get any spare time at all...

However, if its decided to back out whats in -stable, remember that it
will bring ATA support back to what was in 4.5, which will severely
reduce our chipset support etc, which is alot worse IMNHO.

The right solution would be to just disable tagged queing, and state
that in the docs, but I'm not the RE@ :)

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-18 Thread Søren Schmidt

It seems Alexander Leidinger wrote:
> On 18 Apr, Doug Barton wrote:
> > Given the impending 4.6-release, might it make sense to back off ata in
> > -stable to the last known-good state?
> 
> We have some time until the code freeze, so give him some days to track
> it down. If he is able to fix it: fine, else he can still back it out.

I'll see what I can do, but my time is VERY limitted for the next 2-3 weeks,
if I get any spare time at all...

However, if its decided to back out whats in -stable, remember that it
will bring ATA support back to what was in 4.5, which will severely
reduce our chipset support etc, which is alot worse IMNHO.

The right solution would be to just disable tagged queing, and state that
in the docs, but I'm not the RE@ :)

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-18 Thread Max Khon

hi, there!

On Thu, Apr 18, 2002 at 01:51:19AM -0700, Doug Barton wrote:

> > It seems Doug Barton wrote:
> > > Given the impending 4.6-release, might it make sense to back off ata in
> >
> > The busdma/sparc64 code is *not* in stable...
> 
>   Hmmm... I thought I saw some complaints on -stable, but I might
> have been mistaken.

tagged queuing is broken in RELENG_4 too

/fjoe

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-18 Thread Alexander Leidinger

On 18 Apr, Doug Barton wrote:
> Given the impending 4.6-release, might it make sense to back off ata in
> -stable to the last known-good state?

We have some time until the code freeze, so give him some days to track
it down. If he is able to fix it: fine, else he can still back it out.

Bye,
Alexander.

-- 
  ...and that is how we know the Earth to be banana-shaped.

http://www.Leidinger.net   Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-18 Thread Doug Barton

On Thu, 18 Apr 2002, Søren Schmidt wrote:

> It seems Doug Barton wrote:
> > Given the impending 4.6-release, might it make sense to back off ata in
>
> The busdma/sparc64 code is *not* in stable...

Hmmm... I thought I saw some complaints on -stable, but I might
have been mistaken.

-- 
   "We have known freedom's price. We have shown freedom's power.
  And in this great conflict, ...  we will see freedom's victory."
- George W. Bush, President of the United States
  State of the Union, January 28, 2002

 Do YOU Yahoo!?



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-18 Thread Søren Schmidt

It seems Doug Barton wrote:
> Given the impending 4.6-release, might it make sense to back off ata in

The busdma/sparc64 code is *not* in stable...

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-17 Thread Doug Barton

Given the impending 4.6-release, might it make sense to back off ata in
-stable to the last known-good state?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-17 Thread Søren Schmidt

It seems Andrey A. Chernov wrote:
> On Wed, Apr 17, 2002 at 21:42:19 +0200, Alexander Leidinger wrote:
> 
> > If you are running with tagged queing: turn it off. I got the same
> 
> Thanks, turning tags off helps!
> 
> It means that sparc64 ATA commit breaks tags. They work nice before it.

I know, I have a partial solution to it, the problem being (surprise)
busdma, more later what I have it tested some more...

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-17 Thread Andrey A. Chernov

On Wed, Apr 17, 2002 at 21:42:19 +0200, Alexander Leidinger wrote:

> If you are running with tagged queing: turn it off. I got the same

Thanks, turning tags off helps!

It means that sparc64 ATA commit breaks tags. They work nice before it.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-17 Thread Andrey A. Chernov

On Wed, Apr 17, 2002 at 20:29:02 +0200, Søren Schmidt wrote:
> 
> Have you recompiled both kernel and potential kld's ?
> I just had wierd behavior here using old kld's...

I completely remove compile/{KERNEL} contents each time, so kld's is up to 
date too. BTW, the bug is not on load stage but at /etc/rc stage, even 
simple non-kld related commands fails.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-17 Thread Alexander Leidinger

On 17 Apr, Andrey A. Chernov wrote:

> Symptoms are very strange, no error diagnostics at all
> but rtld's map_object() can't map any shared library with
>   invalid file format
> error. Programs can't start from /etc/rc too.
> 
> Please, fix.

If you are running with tagged queing: turn it off. I got the same
behavior. This (tags, not this particular representation) is a known
bug, but unfortunately Søren isn't able to reproduce it in his lab.

Bye,
Alexander.

-- 
Yes, I've heard of "decaf." What's your point?

http://www.Leidinger.net   Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i386 ATA is very broken after sparc64 ATA mega-commit (April 5)

2002-04-17 Thread Søren Schmidt

It seems Andrey A. Chernov wrote:
> This mega-commit:
> 
>   date: 2002/04/05 13:13:XX;  author: sos;
>   Make the ATA driver compile & work on the sparc64 platform.
> 
> breaks i386 ATA at least for following card:
> 
>   atapci0:  port 0xb800-0xb80f at device 31.1 on 
>pci0
> 
> Last working kernel is from date=2002.04.05.13.09.00, all kernels after
> this mega-commit including very recent -current are broken.
> 
> Symptoms are very strange, no error diagnostics at all
> but rtld's map_object() can't map any shared library with
>   invalid file format
> error. Programs can't start from /etc/rc too.

Hmm, I dont think so

Have you recompiled both kernel and potential kld's ?
I just had wierd behavior here using old kld's...

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message