Re: k3b causing system freeze/panic

2010-08-03 Thread Michael Butler
On 08/01/10 23:03, I wrote:
 Sadly, I still haven't been able to identify where the buffer address in
 the request structure is one of: left unset, gets lost or corrupted :-(
 
 Happens with k3b-kde4 too. I am assuming that this is as a consequence
 of the ATA_CAM code-path. I don't recall ever having this issue prior to
 switching disk names to ada from ad,

I can confirm this behaviour - switching back to the ad device and
using atapicam to access the DVD works correctly. My only conclusion is
that it's a regression in the ATA_CAM code-path,

imb
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: k3b causing system freeze/panic

2010-08-01 Thread Michael Butler
On 07/28/10 04:27, Andriy Gapon wrote:

 You do realize that ATA_CAM just (well, mostly) introduces a wrapper around 
 the
 now aging ATA driver ?
 No magic pixie dust to fix the bugs in it, but perhaps more ways to expose 
 them.

Sadly, I still haven't been able to identify where the buffer address in
the request structure is one of: left unset, gets lost or corrupted :-(

Happens with k3b-kde4 too. I am assuming that this is as a consequence
of the ATA_CAM code-path. I don't recall ever having this issue prior to
switching disk names to ada from ad,

imb

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: k3b causing system freeze/panic

2010-07-29 Thread Dag-Erling Smørgrav
Szilveszter Adam szi...@bsd.hu writes:
 Also, if I remember correctly, for people with a bit more recent
 controllers ATA_CAM offers other advantages, but those do not affect
 me. So, for me ATA_CAM is just a better version of the ata(4)
 driver...

It's the exact same driver, but plugged into CAM.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: k3b causing system freeze/panic

2010-07-28 Thread Andriy Gapon
on 28/07/2010 06:01 Michael Butler said the following:
 I have a custom kernel for my laptop which uses ATA_CAM rather than the
 now aging ATA driver ..

You do realize that ATA_CAM just (well, mostly) introduces a wrapper around the
now aging ATA driver ?
No magic pixie dust to fix the bugs in it, but perhaps more ways to expose them.

-- 
Andriy Gapon
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: k3b causing system freeze/panic

2010-07-28 Thread Dag-Erling Smørgrav
Andriy Gapon a...@icyb.net.ua writes:
 Michael Butler i...@protected-networks.net writes:
  I have a custom kernel for my laptop which uses ATA_CAM rather than
  the now aging ATA driver ..
 You do realize that ATA_CAM just (well, mostly) introduces a wrapper
 around the now aging ATA driver ?

Only for legacy drives, but since Micahel's panic message contains
current process = 12 (irq15: ata1), his BIOS is probably in legacy
mode.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: k3b causing system freeze/panic

2010-07-28 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav d...@des.no writes:
 Andriy Gapon a...@icyb.net.ua writes:
  Michael Butler i...@protected-networks.net writes:
   I have a custom kernel for my laptop which uses ATA_CAM rather than
   the now aging ATA driver ..
  You do realize that ATA_CAM just (well, mostly) introduces a wrapper
  around the now aging ATA driver ?
 Only for legacy drives, but since Micahel's panic message contains
 current process = 12 (irq15: ata1), his BIOS is probably in legacy
 mode.

Sorry, I misparsed ATA_CAM as ahci.  Why on earth would anyone want to
use ATA_CAM these days?

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: k3b causing system freeze/panic

2010-07-28 Thread Alexander Motin
Dag-Erling Smørgrav wrote:
 Dag-Erling Smørgrav d...@des.no writes:
 Andriy Gapon a...@icyb.net.ua writes:
 Michael Butler i...@protected-networks.net writes:
 I have a custom kernel for my laptop which uses ATA_CAM rather than
 the now aging ATA driver ..
 You do realize that ATA_CAM just (well, mostly) introduces a wrapper
 around the now aging ATA driver ?
 Only for legacy drives, but since Micahel's panic message contains
 current process = 12 (irq15: ata1), his BIOS is probably in legacy
 mode.
 
 Sorry, I misparsed ATA_CAM as ahci.  Why on earth would anyone want to
 use ATA_CAM these days?

Because there is still a lot of legacy controllers, while ata(4)'s bus
management code is buggy in some aspects, that are difficult to fix
without complete rewrite. ATA_CAM wrapper replaces all that problematic
code and works better now.

-- 
Alexander Motin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: k3b causing system freeze/panic

2010-07-28 Thread Szilveszter Adam
On Wed, Jul 28, 2010 at 01:42:30PM +0200, Dag-Erling Sm??rgrav wrote:
 Sorry, I misparsed ATA_CAM as ahci.  Why on earth would anyone want to
 use ATA_CAM these days?

Well, I am not sure if you really meant ATA_CAM and not ATAPICAM? But in
case you meant it, for people who do not use SATA-capable hardware,
ATA_CAM is useful. This laptop may be no longer be the most recent model
these days, but runs -CURRENT just fine most of the time. Also, if I
remember correctly, for people with a bit more recent controllers
ATA_CAM offers other advantages, but those do not affect me. So, for me
ATA_CAM is just a better version of the ata(4) driver...

-- 
Regards:

Szilveszter ADAM
Budapest
Hungary
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org