[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

Alan  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |CODE_FIX

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #49 from Alan  ---
The synchronize cache failed is unrelated - it may even be a drive firmware
funny, and in the cases you hot unplug the card I'd expect to see it in the
trace anyway.

I'll get the pflags patch upstreamed ASAP

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #48 from Elmar Stellnberger  ---
Created attachment 231431
  --> https://bugzilla.kernel.org/attachment.cgi?id=231431=edit
dmesg with the proposed fix: issue resolved / no backtrace

Yes, that in deed does resolve the issue (no backtrace any more).
however that error message persists: Synchronize Cache(10) failed: ...

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #47 from Alan  ---
I'll submit the patch for the flags one once Elmar confirms its a fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #46 from ingvarthorv...@gmail.com ---
That probably is the issue. Seems that it was either ports or flags not being
set correctly. After tracing for a bit that was conclusion, just checking if
removing the line fixes the issue or do be need to actually bitwise shift it.
On the other hand will send a patch for the first issue unless someone wants to
write up a patch for it themselves.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #44 from ingvarthorv...@gmail.com ---
First yes you can use kgb if you have a second system and can mount the
debugged system over serial. On the other hand remove this line:
ap->pflags = ATA_PFLAG_PIO32 | ATA_PFLAG_PIO32CHANGE;
from ninja32_init_one. If this doesn't fix it then close the bug as we fixed
the original issue and open another one with your other bug reports as this is
a secondary issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #42 from Elmar Stellnberger  ---
  Isn`t there any better way to debug this? If the backtrace does not give you
enough information isn`t there something like kdb that can generate core files
/ analyse variables etc.? At last I wonder if it is worth all of the work
because the SCM PCMCIA adapter seem to work quite well since
4.8.0-rc1-ARCH-26316-g65ea11e (comment #9); you can mount read and write CF
cards with it. - and I have a couple of other bugs that are pending to be filed
...
  ... for Xorg and my own programs I had at least programmed a program that
could annotate line numbers for functions at backtraces which I remember to
already have been of great help (if you do not even know the line where it
fails the backtrace may be misleading).

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #41 from Elmar Stellnberger  ---
dropped to initrd, no fs mountable, keyboard not working.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #38 from Elmar Stellnberger  ---
Created attachment 231221
  --> https://bugzilla.kernel.org/attachment.cgi?id=231221=edit
screenshot of the backtrace (your last patch 0009)

Now that definitely worsens things: after giving the backtrace the whole
machine is hanging without any reaction on SysRq keys.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #37 from ingvarthorv...@gmail.com ---
Created attachment 231151
  --> https://bugzilla.kernel.org/attachment.cgi?id=231151=edit
Test Port on Card is Not Null

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #36 from ingvarthorv...@gmail.com ---
Most drivers need to check that was just making sure it wasn't this one. I
don't have this hardware otherwise I would have not asked you to test for me
and just give me your traces so I can debug this on my own hardware. Anyhow
there is patch below that is going to allow me to see if the ports the driver
is using during port are not pointing to NULL.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #35 from Elmar Stellnberger  ---
Ingvar; are you sure that your latest patch does not break the whole kernel IO
subsystem? Last time I have got stuck in the initrd (not even the kyboard was
working). Please test that patch yourself on your system and whether it boots
like this at you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #34 from ingvarthorv...@gmail.com ---
Created attachment 230871
  --> https://bugzilla.kernel.org/attachment.cgi?id=230871=edit
Pci Flags Test Fix

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #33 from ingvarthorv...@gmail.com ---
That was incorrect see if this patch helps out on top of the other patch that
fixes your original issue of the card not being able to be read/written to
after boot.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #32 from Elmar Stellnberger  ---
OOpsla; there is something wrong about the patch:
ap->ioaddr.altstatus_addr = base + ??;

What value would you suggest to assign here?
I have seen different values being assigned here in different locations like
base + 0x8a, 0xe, 0xca or ap->ioaddr.ctl_addr like before.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #29 from Elmar Stellnberger  ---
absolutely no difference in the backtrace towards attachement #26 "latest patch
applied on vanilla: backtraces as always while rw works" /
insertion-patch5.dmesg with kernel 4.8.0-rc2-ARCH-00351-ga5539a8.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #28 from ingvarthorv...@gmail.com ---
Created attachment 230341
  --> https://bugzilla.kernel.org/attachment.cgi?id=230341=edit
Pci Null Pointer Fix

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #27 from ingvarthorv...@gmail.com ---
See if the below patch helps out if not, we will need to find out what is
actually at that address causing issues.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #26 from Elmar Stellnberger  ---
Created attachment 230301
  --> https://bugzilla.kernel.org/attachment.cgi?id=230301=edit
latest patch applied on vanilla: backtraces as always while rw works

that patch does not seem to change much either.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #25 from Elmar Stellnberger  ---
Created attachment 230291
  --> https://bugzilla.kernel.org/attachment.cgi?id=230291=edit
4.8.0-rc1-ARCH-26316-g65ea11e dmesg without any patch: works

  Now as the previous test results started to appear strange to me I have
retested with 4.8.0-rc1-ARCH-26316-g65ea11e, completely unpatched. - and see
the CF adapter was in deed working correctly (however spying out the usual
backtrace). I do not hope that previous tests were in vain because of this
while I wonder how the recognition of /dev/sdb1 could slip through the last
time. As the card is sometimes not fully recognized on insertion I should
probably have double tested it ...
  ... concerning your latest patch I will now test it on top of a vanilla rc2.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #24 from ingvarthorv...@gmail.com ---
Created attachment 230261
  --> https://bugzilla.kernel.org/attachment.cgi?id=230261=edit
Irq Line Null Pointer  Test Fix

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #23 from ingvarthorv...@gmail.com ---
Keep the patch that works and apply this on top, I am very doubtful that the
NULL pointer is the irq line passed but after looking some closing seems it's a
good idea to try it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #22 from Elmar Stellnberger  ---
Created attachment 230251
  --> https://bugzilla.kernel.org/attachment.cgi?id=230251=edit
double backtrace: ninja32-Fix-init-function.patch

Now that has produced a double backtrace; CF adapter still asserted to work
(read+write) with this patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #21 from ingvarthorv...@gmail.com ---
Created attachment 230191
  --> https://bugzilla.kernel.org/attachment.cgi?id=230191=edit
Ninja32 Test Fix for Init Routine

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #20 from ingvarthorv...@gmail.com ---
Remove all patches and see if the below patch causes around trace or fixes the
NULL pointer also together.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #16 from Elmar Stellnberger  ---
Created attachment 229981
  --> https://bugzilla.kernel.org/attachment.cgi?id=229981=edit
dmesg after appyling patches 1 + 2

Patch 2 did unfortunately not seem to change much.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #15 from ingvarthorv...@gmail.com ---
Created attachment 229961
  --> https://bugzilla.kernel.org/attachment.cgi?id=229961=edit
Fix Ordering of Hosting Bus Resources

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #14 from ingvarthorv...@gmail.com ---
Leave the first patch applied. I am sending a second patch to attempt to fix
the offending secondary issue you are currently facing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #13 from Elmar Stellnberger  ---
Created attachment 229931
  --> https://bugzilla.kernel.org/attachment.cgi?id=229931=edit
... backtrace on insertion - device otherwise working fine

Groovy; that has resolved the issue and I can now exuberantely make use of my
SCM PC Card readers; copying, comparing and creating files from and on CF now
works fine through this card. Still there has ended up a backtrace on insertion
of the reader (including a CF) in the dmesg ...

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #12 from ingvarthorv...@gmail.com ---
Created attachment 229891
  --> https://bugzilla.kernel.org/attachment.cgi?id=229891=edit
Test Patch

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

ingvarthorv...@gmail.com changed:

   What|Removed |Added

 CC||ingvarthorv...@gmail.com

--- Comment #11 from ingvarthorv...@gmail.com ---
See if the below patch helps out at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

Elmar Stellnberger  changed:

   What|Removed |Added

 Kernel Version|Linux localhost 3.18.0-rc3  |4.8.0-rc1-ARCH-26316-g65ea1
   |#1 SMP Sun Nov 9 08:47:09   |1e
   |CET 2014 i686 i686 i686 |
   |GNU/Linux   |

--- Comment #10 from Elmar Stellnberger  ---
switched from Linux localhost 3.18.0-rc3 #1 SMP Sun Nov 9 08:47:09 CET 2014
i686 i686 i686 GNU/Linux -> 4.8.0-rc1-ARCH-26316-g65ea11e.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-08-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #9 from Elmar Stellnberger  ---
Created attachment 229531
  --> https://bugzilla.kernel.org/attachment.cgi?id=229531=edit
dmesg with 4.8.0-rc1-ARCH-26316-g65ea11e

Now with 4.8.0-rc1-ARCH-26316-g65ea11e many bugs have improved an also this one
- no more crashes on card insertion - now I get a clean backtrace.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2016-03-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

Szőgyényi Gábor  changed:

   What|Removed |Added

 CC||szg0...@freemail.hu

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2014-12-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #8 from Alan a...@lxorguk.ukuu.org.uk ---
Ok in which case I don't think there's anything that can be done until the
cardbus bug is resolved by someone.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2014-11-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #4 from Elmar Stellnberger estel...@elstel.org ---
Created attachment 158611
  -- https://bugzilla.kernel.org/attachment.cgi?id=158611action=edit
lspci -vvxx (when CF+adapter is plugged)

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[Bug 88801] SCM PCMCIA CompactFlash Adapter seems not to be recognized

2014-11-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88801

--- Comment #5 from Elmar Stellnberger estel...@elstel.org ---
Created attachment 158621
  -- https://bugzilla.kernel.org/attachment.cgi?id=158621action=edit
ADP-CF2-C datasheet

article no is: 775-5001-01, product is: ADP-CF2-C. It supports the PC card
standard release 8.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia