tom poplawski (tom_poplawski@hotmail.com)
Sun, 20 Jun 1999 16:35:41 PDT
Trying to understand how pd.c and paride.c work. I'm trying to also figure
out why >8gb drives don't work.
Does anyone have any pointers on a debugging kernel modules?
When I run these commands:
(kernel - 2.2.10 Adapter - onSpec26)
insmod parport
insmod parport_pc io=0x378 irq=7
insmod paride
insmod on26
insmod pd verbose=2
I get this with a 8.4 gb drive:
Jun 20 13:23:57 gate1 kernel: parport0: PC-style at 0x378, irq 7
[SPP,PS2,EPP]
Jun 20 13:24:02 gate1 kernel: paride: version 1.04 installed
Jun 20 13:24:07 gate1 kernel: paride: on26 registered as protocol 0
Jun 20 13:24:37 gate1 kernel: pd: pd version 1.05, major 45, cluster 64,
nice 0
Jun 20 13:24:37 gate1 kernel: pda: on26: port 0x3bc, mode 0, test=(255,255)
Jun 20 13:24:37 gate1 kernel: pda: on26: port 0x3bc, mode 1, test=(255,255)
Jun 20 13:24:37 gate1 kernel: pda: 0x378 is parport0
Jun 20 13:24:37 gate1 kernel: on26: Device reset failed (50,ff)
Jun 20 13:24:37 gate1 kernel: pda: on26: port 0x378, mode 0, test=(0,255)
Jun 20 13:24:37 gate1 kernel: pda: on26: port 0x378, mode 1, test=(0,255)
Jun 20 13:24:37 gate1 kernel: pda: on26: port 0x378, mode 2, test=(0,255)
Jun 20 13:24:37 gate1 kernel: pda: on26: port 0x378, mode 3, test=(0,255)
Jun 20 13:24:37 gate1 kernel: pda: on26: port 0x378, mode 4, test=(0,255)
Jun 20 13:24:37 gate1 kernel: pda: Sharing parport0 at 0x378
Jun 20 13:24:37 gate1 kernel: pda: on26 1.04, OnSpec 90c26 at 0x378, mode 4
(EPP-32), delay 1
Jun 20 13:24:37 gate1 kernel: pda: IBM-DHEA-38451, master, 16514064 blocks
[8063M], (16383/16/63), fixed media
Jun 20 13:24:37 gate1 kernel: pda: pda1 pda2 < pda5 pda6 pda7 > pda3 pda4
I get this with a 10gb drive:
Jun 20 13:41:32 gate1 kernel: parport0: PC-style at 0x378, irq 7
[SPP,PS2,EPP]
Jun 20 13:41:45 gate1 kernel: paride: version 1.04 installed
Jun 20 13:41:50 gate1 kernel: paride: on26 registered as protocol 0
Jun 20 13:42:18 gate1 kernel: pd: pd version 1.05, major 45, cluster 64,
nice 0
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x3bc, mode 0, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x3bc, mode 1, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: 0x378 is parport0
Jun 20 13:42:18 gate1 kernel: on26: Device reset failed (50,ff)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x378, mode 0, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x378, mode 1, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x378, mode 2, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x378, mode 3, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x378, mode 4, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x278, mode 0, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x278, mode 1, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x278, mode 2, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x278, mode 3, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x278, mode 4, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x268, mode 0, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x268, mode 1, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x268, mode 2, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x268, mode 3, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x268, mode 4, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x27c, mode 0, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x27c, mode 1, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x26c, mode 0, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: on26: port 0x26c, mode 1, test=(255,255)
Jun 20 13:42:18 gate1 kernel: pda: Autoprobe failed
Jun 20 13:42:18 gate1 kernel: pd: no valid drive found
The test lines come from function pi_test_proto in file paride.c. I don't
see how this protocol test could fail unless the test it performs depends on
the drive and not just the adapter.
I could only understand this if I had some documentation on the test
performed. Is this available?
Both cases the Device Reset Failed messages appear - Is this a problem?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2.0b3 on Sun 20 Jun 1999 - 19:38:13 EDT