CVS commit: src/sys/dev/ata

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:39:37 UTC 2022 Modified Files: src/sys/dev/ata: wd.c Log Message: wd(4): Use d_cfdriver/devtounit to avoid open/detach races. To generate a diff of this commit: cvs rdiff -u -r1.466 -r1.467 src/sys/dev/ata/wd.c

CVS commit: src/sys/dev/ata

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:39:37 UTC 2022 Modified Files: src/sys/dev/ata: wd.c Log Message: wd(4): Use d_cfdriver/devtounit to avoid open/detach races. To generate a diff of this commit: cvs rdiff -u -r1.466 -r1.467 src/sys/dev/ata/wd.c

CVS commit: src/sys/dev/ata

2022-03-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 19 13:51:01 UTC 2022 Modified Files: src/sys/dev/ata: ata_raid_adaptec.c ata_raid_intel.c ata_raid_jmicron.c ata_raid_nvidia.c ata_raid_promise.c ata_raid_subr.c ata_raid_via.c Log Message: Lock vnode across

CVS commit: src/sys/dev/ata

2022-03-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 19 13:51:01 UTC 2022 Modified Files: src/sys/dev/ata: ata_raid_adaptec.c ata_raid_intel.c ata_raid_jmicron.c ata_raid_nvidia.c ata_raid_promise.c ata_raid_subr.c ata_raid_via.c Log Message: Lock vnode across

CVS commit: src/sys/dev/ata

2022-03-14 Thread Konrad Schroder
Module Name:src Committed By: perseant Date: Mon Mar 14 22:15:51 UTC 2022 Modified Files: src/sys/dev/ata: ata.c Log Message: Avoid an unaccounted extra channel freeze, if a reset is requested more than once before the thread services the request. Closes PR#56745. To

CVS commit: src/sys/dev/ata

2022-03-14 Thread Konrad Schroder
Module Name:src Committed By: perseant Date: Mon Mar 14 22:15:51 UTC 2022 Modified Files: src/sys/dev/ata: ata.c Log Message: Avoid an unaccounted extra channel freeze, if a reset is requested more than once before the thread services the request. Closes PR#56745. To

CVS commit: src/sys/dev/ata

2021-12-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 28 13:27:32 UTC 2021 Modified Files: src/sys/dev/ata: wd.c wdvar.h Log Message: wd(4): Fix bugs in softbadsect handling. - Don't copyout kernel virtual addresses (of SLIST entries) that userland won't use anyway.

CVS commit: src/sys/dev/ata

2021-12-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 28 13:27:32 UTC 2021 Modified Files: src/sys/dev/ata: wd.c wdvar.h Log Message: wd(4): Fix bugs in softbadsect handling. - Don't copyout kernel virtual addresses (of SLIST entries) that userland won't use anyway.

CVS commit: src/sys/dev/ata

2021-11-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Nov 12 06:53:49 UTC 2021 Modified Files: src/sys/dev/ata: ata.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/sys/dev/ata/ata.c Please note that diffs are not public

CVS commit: src/sys/dev/ata

2021-11-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Nov 12 06:53:49 UTC 2021 Modified Files: src/sys/dev/ata: ata.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/sys/dev/ata/ata.c Please note that diffs are not public

CVS commit: src/sys/dev/ata

2021-08-29 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 29 23:49:32 UTC 2021 Modified Files: src/sys/dev/ata: ata.c Log Message: Output missing '\n' for capability list when DMA support is not compiled in. To generate a diff of this commit: cvs rdiff -u -r1.162 -r1.163

CVS commit: src/sys/dev/ata

2021-08-29 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 29 23:49:32 UTC 2021 Modified Files: src/sys/dev/ata: ata.c Log Message: Output missing '\n' for capability list when DMA support is not compiled in. To generate a diff of this commit: cvs rdiff -u -r1.162 -r1.163

Re: Freeze or panic during boot was: Re: CVS commit: src/sys/dev/ata

2020-05-02 Thread David Brownlee
On Sat, 2 May 2020, 20:10 Jason Thorpe, wrote: > > > On May 1, 2020, at 1:07 PM, Ryo ONODERA wrote: > > > > Hi, > > > > Have you missed this thread? > > > > If the problem requires more time to investigate, > > could you consider to revert ata change for a while? > > > > Thank you. > > I backed

Re: Freeze or panic during boot was: Re: CVS commit: src/sys/dev/ata

2020-05-02 Thread Jason Thorpe
> On May 1, 2020, at 1:07 PM, Ryo ONODERA wrote: > > Hi, > > Have you missed this thread? > > If the problem requires more time to investigate, > could you consider to revert ata change for a while? > > Thank you. I backed it out, but would appreciate some help tracking down the issue

Freeze or panic during boot was: Re: CVS commit: src/sys/dev/ata

2020-05-01 Thread Ryo ONODERA
Hi, Have you missed this thread? If the problem requires more time to investigate, could you consider to revert ata change for a while? Thank you. Alexander Nasonov writes: > David Brownlee wrote: >> Just another data point - seeing this same panic on a T480 with the >> latest kernel from

Re: CVS commit: src/sys/dev/ata

2020-05-01 Thread David Brownlee
Plus to confirm reverting just this commit from today's github copy of current (d5b32e03eac8b05d38a143ee0ec615efb2233201) boots fine on the T480 Thanks On Thu, 30 Apr 2020 at 00:12, Alexander Nasonov wrote: > > David Brownlee wrote: > > Just another data point - seeing this same panic on a T480

Re: CVS commit: src/sys/dev/ata

2020-04-29 Thread Alexander Nasonov
David Brownlee wrote: > Just another data point - seeing this same panic on a T480 with the > latest kernel from nyftp Same problem on T470. -- Alex

Re: CVS commit: src/sys/dev/ata

2020-04-29 Thread David Brownlee
Just another data point - seeing this same panic on a T480 with the latest kernel from nyftp

Re: CVS commit: src/sys/dev/ata

2020-04-27 Thread Ryo ONODERA
Ryo ONODERA writes: > Hi, > > After this commit, NetBSD/amd64-current on my HP Spectre x360 > freezes after acpiacad0 detection (before ld0 detection). > Reverting this commit in latest tree fixes my freeze problem. > > Could you take a look at my problem? > > Thank you. > > === === === > cpu7:

Re: CVS commit: src/sys/dev/ata

2020-04-27 Thread Ryo ONODERA
Hi, After this commit, NetBSD/amd64-current on my HP Spectre x360 freezes after acpiacad0 detection (before ld0 detection). Reverting this commit in latest tree fixes my freeze problem. Could you take a look at my problem? Thank you. === === === cpu7: CPU max freq 40 Hz cpu7: TSC freq

CVS commit: src/sys/dev/ata

2019-10-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 21 18:58:57 UTC 2019 Modified Files: src/sys/dev/ata: ata.c Log Message: chuq does not like insomniac allocations so unlock-alloc-lock instead. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153

CVS commit: src/sys/dev/ata

2019-10-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 21 18:58:57 UTC 2019 Modified Files: src/sys/dev/ata: ata.c Log Message: chuq does not like insomniac allocations so unlock-alloc-lock instead. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153

CVS commit: src/sys/dev/ata

2019-10-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 21 18:37:47 UTC 2019 Modified Files: src/sys/dev/ata: ata.c Log Message: Fix assert_sleepable() panic by allocating with NOSLEEP. The alternative is to unlock and relock the channel, but seems more dangerous to do so.

CVS commit: src/sys/dev/ata

2019-10-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 21 18:37:47 UTC 2019 Modified Files: src/sys/dev/ata: ata.c Log Message: Fix assert_sleepable() panic by allocating with NOSLEEP. The alternative is to unlock and relock the channel, but seems more dangerous to do so.

CVS commit: src/sys/dev/ata

2019-10-04 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Oct 4 12:24:32 UTC 2019 Modified Files: src/sys/dev/ata: ata_raid_intel.c Log Message: use memmove() not memcpy() for overlapping regions. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/dev/ata

2019-08-15 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Thu Aug 15 09:00:23 UTC 2019 Modified Files: src/sys/dev/ata: satafis_subr.c Log Message: Set the ATAPI "BYTE COUNT LIMIT" field in the SATA case like we already do in the ATA case, to make NetBSD work with the virtual SATA CD-ROM

CVS commit: src/sys/dev/ata

2019-08-15 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Thu Aug 15 09:00:23 UTC 2019 Modified Files: src/sys/dev/ata: satafis_subr.c Log Message: Set the ATAPI "BYTE COUNT LIMIT" field in the SATA case like we already do in the ATA case, to make NetBSD work with the virtual SATA CD-ROM

CVS commit: src/sys/dev/ata

2019-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu Jun 6 20:55:43 UTC 2019 Modified Files: src/sys/dev/ata: wd.c Log Message: Take channel lock for calling reset_drive. Should fix PR 54217. To generate a diff of this commit: cvs rdiff -u -r1.451 -r1.452

CVS commit: src/sys/dev/ata

2019-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu Jun 6 20:55:43 UTC 2019 Modified Files: src/sys/dev/ata: wd.c Log Message: Take channel lock for calling reset_drive. Should fix PR 54217. To generate a diff of this commit: cvs rdiff -u -r1.451 -r1.452

CVS commit: src/sys/dev/ata

2019-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu Jun 6 20:41:04 UTC 2019 Modified Files: src/sys/dev/ata: wd.c Log Message: Count only the initial start of a transfer, not the retries. Should fix kern/54166. Thanks to macallan@ for spotting the issue. To generate a

CVS commit: src/sys/dev/ata

2019-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu Jun 6 20:41:04 UTC 2019 Modified Files: src/sys/dev/ata: wd.c Log Message: Count only the initial start of a transfer, not the retries. Should fix kern/54166. Thanks to macallan@ for spotting the issue. To generate a

CVS commit: src/sys/dev/ata

2019-05-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat May 25 16:30:18 UTC 2019 Modified Files: src/sys/dev/ata: ata.c Log Message: use PR_ZERO To generate a diff of this commit: cvs rdiff -u -r1.148 -r1.149 src/sys/dev/ata/ata.c Please note that diffs are not public domain;

CVS commit: src/sys/dev/ata

2019-05-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat May 25 16:30:18 UTC 2019 Modified Files: src/sys/dev/ata: ata.c Log Message: use PR_ZERO To generate a diff of this commit: cvs rdiff -u -r1.148 -r1.149 src/sys/dev/ata/ata.c Please note that diffs are not public domain;

CVS commit: src/sys/dev/ata

2019-05-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri May 24 06:01:06 UTC 2019 Modified Files: src/sys/dev/ata: wd.c Log Message: Also schedule timeouts when all openings are in use. To generate a diff of this commit: cvs rdiff -u -r1.449 -r1.450 src/sys/dev/ata/wd.c Please

CVS commit: src/sys/dev/ata

2019-05-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri May 24 06:01:06 UTC 2019 Modified Files: src/sys/dev/ata: wd.c Log Message: Also schedule timeouts when all openings are in use. To generate a diff of this commit: cvs rdiff -u -r1.449 -r1.450 src/sys/dev/ata/wd.c Please

Re: CVS commit: src/sys/dev/ata

2014-07-25 Thread Alan Barrett
On Fri, 25 Jul 2014, David A. Holland wrote: Modified Files: src/sys/dev/ata: wd.c Log Message: Drop the old discard/trim ioctls from wd.c. - case DIOCGDISCARDPARAMS: { - case DIOCDISCARD: { These never appeared in a release, so I suppose there's no need to implement

Re: CVS commit: src/sys/dev/ata

2011-10-16 Thread John Nemeth
On Feb 25, 1:28pm, Wolfgang Solfrank wrote: } Jonathan A. Kollasch schrieb: } On Wed, Oct 05, 2011 at 10:25:52AM +0200, Manuel Bouyer wrote: } On Wed, Oct 05, 2011 at 03:40:18AM +, Jonathan A. Kollasch wrote: } Module Name: src } Committed By: jakllsch } Date: Wed

Re: CVS commit: src/sys/dev/ata

2011-10-16 Thread Warner Losh
On Oct 16, 2011, at 9:25 PM, John Nemeth wrote: On Feb 25, 1:28pm, Wolfgang Solfrank wrote: } Jonathan A. Kollasch schrieb: } On Wed, Oct 05, 2011 at 10:25:52AM +0200, Manuel Bouyer wrote: } On Wed, Oct 05, 2011 at 03:40:18AM +, Jonathan A. Kollasch wrote: } Module Name:src }

Re: CVS commit: src/sys/dev/ata

2011-10-05 Thread Jonathan A. Kollasch
On Wed, Oct 05, 2011 at 10:25:52AM +0200, Manuel Bouyer wrote: On Wed, Oct 05, 2011 at 03:40:18AM +, Jonathan A. Kollasch wrote: Module Name:src Committed By: jakllsch Date: Wed Oct 5 03:40:18 UTC 2011 Modified Files: src/sys/dev/ata: wd.c

Re: CVS commit: src/sys/dev/ata

2011-10-05 Thread Wolfgang Solfrank
Hi, Jonathan A. Kollasch schrieb: On Wed, Oct 05, 2011 at 10:25:52AM +0200, Manuel Bouyer wrote: On Wed, Oct 05, 2011 at 03:40:18AM +, Jonathan A. Kollasch wrote: Module Name:src Committed By: jakllsch Date: Wed Oct 5 03:40:18 UTC 2011 Modified Files:

Re: CVS commit: src/sys/dev/ata

2011-10-05 Thread David Laight
On Wed, Oct 05, 2011 at 06:52:37PM +0200, Wolfgang Solfrank wrote: ... You would tell the controller the cylinder/head/sector of the first sector you wanted to read, and when multiple sectors were requested, the controller would increment only the sector number. Since the controller wouldn't

Re: CVS commit: src/sys/dev/ata

2011-05-05 Thread Paul Goyette
Module Name:src Committed By: jakllsch Date: Sat Apr 30 00:34:03 UTC 2011 Modified Files: src/sys/dev/ata: ata.c atavar.h Log Message: Add simplistic atabus(4) rescan support. Hmmm, not sure this is working: {135} ident /netbsd | grep ' ata.c' $NetBSD: ata.c,v

Re: CVS commit: src/sys/dev/ata

2011-05-05 Thread Jonathan A. Kollasch
On Thu, May 05, 2011 at 07:42:35AM -0700, Paul Goyette wrote: Module Name:src Committed By: jakllsch Date: Sat Apr 30 00:34:03 UTC 2011 Modified Files: src/sys/dev/ata: ata.c atavar.h Log Message: Add simplistic atabus(4) rescan support. Hmmm, not sure this

Re: CVS commit: src/sys/dev/ata

2011-05-05 Thread Paul Goyette
On Thu, 5 May 2011, Jonathan A. Kollasch wrote: Hmmm, not sure this is working: {135} ident /netbsd | grep ' ata.c' $NetBSD: ata.c,v 1.115 2011/04/30 00:34:03 jakllsch Exp $ {136} drvctl -r atabus2 drvctl: DRVRESCANBUS: Invalid argument {137} dmesg | grep atabus3 atabus3 at ahcisata0

CVS commit: src/sys/dev/ata

2010-01-24 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Mon Jan 25 00:39:52 UTC 2010 Modified Files: src/sys/dev/ata: atareg.h Log Message: Add some more elements to struct ataparams. These mostly concern the new Long Physical Sectors and Long Logical Sectors feature sets.

CVS commit: src/sys/dev/ata

2010-01-21 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Thu Jan 21 23:26:58 UTC 2010 Modified Files: src/sys/dev/ata: atareg.h Log Message: Convert to C99 types. Make whitespace more consistent. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/dev/ata/atareg.h

CVS commit: src/sys/dev/ata

2010-01-20 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jan 21 02:53:51 UTC 2010 Modified Files: src/sys/dev/ata: ata.c Log Message: Cosmetic: join some lines. Get out early on errors, change switch (...) { ... error = ...;

CVS commit: src/sys/dev/ata

2010-01-10 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Jan 10 16:04:25 UTC 2010 Modified Files: src/sys/dev/ata: atareg.h Log Message: Provide atacmd_to48() in case of #if defined(_STANDALONE) too because standalone wdc driver in cobalt bootloader requires it for LBA48 support.