Re: Broken Firewire 400/SCSI on ppc Powerbook5,8
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date: 2006-09-02 23:32:38
Wolfgang Pfeiffer wrote:
On Sat, Sep 02, 2006 at 09:18:07PM +0200, Stefan Richter wrote:
[...]
quoted
you could test the AluBook running Linux and TiBook in target disk mode again to exclude the possibility of problems at the AluBook's side. Use "hdparm -tT /dev/sda" to try a few actual block read operations.I do not have to mount /dev/sda for the test. Correct?
That's right. This works on the block IO level, not via filesystem. It is not even necessary to detect any partitions to run this test. On the other hand, it is not very thorough because only about 50...100 MB will be read. (You could also read from sda with dd or the like.) [...]
The only frustrating thing for me is my lacking knowledge when it comes to understand code like the one on the kernel.org page below ..
That's because it's extremely ugly code. Guess why it's buggy. :-) It's just a debug printk though. [...]
Please let me know if I can help with tests if you want to patch ohci1394.
Thanks, I will Cc you. -- Stefan Richter -=====-=-==- =--= ---== http://arcgraph.de/sr/