Re: 2.6.20 -> saa i2c messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Udo van den Heuvel wrote:
>> Take the original 2.6.20 driver and change the line above.
>> No other modifications. Does the card still work?
> 
> With this change undone the kernel boots OK.
> I also have some saa7146_debug output with this change. Please let me
> know if this output is interesting enough.

With an unmodified kernel (.flags = SAA7146_USE_I2C_IRQ, in place) but
with debugging I get:

S on sda8, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 859436k swap on /dev/sda9.  Priority:-1 extents:1 across:859436k
Velocity is AUTO mode
eth0: Link autonegation speed 100M bps full duplex
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa00000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_writeout(): before: 0xa00000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_writeout(): before: 0xa00000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_writeout(): before: 0xa00000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_transfer(): transmission successful. (msg:-5).
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_writeout(): before: 0xa20000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa20000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa20000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa20000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_transfer(): transmission successful. (msg:-5).
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa40000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa40000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa40000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa40000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_transfer(): transmission successful. (msg:-5).
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa60000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa60000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa60000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa60000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_transfer(): transmission successful. (msg:-5).
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa80000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa80000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa80000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa80000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_transfer(): transmission successful. (msg:-5).
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xaa0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xaa0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xaa0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xaa0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_transfer(): transmission successful. (msg:-5).
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xac0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xac0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xac0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xac0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_transfer(): transmission successful. (msg:-5).
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xae0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xae0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xae0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xae0000c0 (status: 0x00000000), 1
saa7146_i2c_writeout: timed out waiting for end of xfer
saa7146: saa7146_i2c_transfer(): error while sending message(s).
starting again.
saa7146: saa7146_i2c_transfer(): transmission successful. (msg:-5).
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_writeout(): before: 0xa00000c0 (status: 0x00000000), 0
saa7146: interrupt_hw(): irq: i2c, status: 0x00000000, psr:0x00, ssr:0x00).
saa7146: saa7146_i2c_writeout(): after: 0xa000d1c0
saa7146: saa7146_i2c_transfer(): transmission successful. (msg:1).
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_writeout(): before: 0xa00000c0 (status: 0x00000000), 0
saa7146: interrupt_hw(): irq: i2c, status: 0x00000000, psr:0x00, ssr:0x00).
saa7146: saa7146_i2c_writeout(): after: 0xa000d1c0
saa7146: saa7146_i2c_transfer(): transmission successful. (msg:1).
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_writeout(): before: 0xa20000c0 (status: 0x00000000), 0
saa7146: interrupt_hw(): unhandled irq: i2c, status: 0x00000021, isr 0x10000
saa7146: interrupt_hw(): irq: i2c, status: 0x00000023, psr:0x02, ssr:0x10).
saa7146: interrupt_hw(): unexpected irq: i2c, status: 0x00000023, isr
0x10000
saa7146: saa7146_i2c_writeout(): error in address phase.
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa40000c0 (status: 0x00000000), 0
saa7146: interrupt_hw(): unhandled irq: i2c, status: 0x00000021, isr 0x10000
saa7146: interrupt_hw(): irq: i2c, status: 0x00000023, psr:0x02, ssr:0x10).
saa7146: interrupt_hw(): unexpected irq: i2c, status: 0x00000023, isr
0x10000
saa7146: saa7146_i2c_writeout(): error in address phase.
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa60000c0 (status: 0x00000000), 0
saa7146: interrupt_hw(): unhandled irq: i2c, status: 0x00000021, isr 0x10000
saa7146: interrupt_hw(): irq: i2c, status: 0x00000023, psr:0x02, ssr:0x10).
saa7146: interrupt_hw(): unexpected irq: i2c, status: 0x00000023, isr
0x10000
saa7146: saa7146_i2c_writeout(): error in address phase.
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xa80000c0 (status: 0x00000000), 0
saa7146: interrupt_hw(): unhandled irq: i2c, status: 0x00000021, isr 0x10000
saa7146: interrupt_hw(): irq: i2c, status: 0x00000023, psr:0x02, ssr:0x10).
saa7146: interrupt_hw(): unexpected irq: i2c, status: 0x00000023, isr
0x10000
saa7146: saa7146_i2c_writeout(): error in address phase.
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xaa0000c0 (status: 0x00000000), 0
saa7146: interrupt_hw(): unhandled irq: i2c, status: 0x00000021, isr 0x10000
saa7146: interrupt_hw(): irq: i2c, status: 0x00000023, psr:0x02, ssr:0x10).
saa7146: interrupt_hw(): unexpected irq: i2c, status: 0x00000023, isr
0x10000
saa7146: saa7146_i2c_writeout(): error in address phase.
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xac0000c0 (status: 0x00000000), 0
saa7146: interrupt_hw(): unhandled irq: i2c, status: 0x00000021, isr 0x10000
saa7146: interrupt_hw(): irq: i2c, status: 0x00000023, psr:0x02, ssr:0x10).
saa7146: interrupt_hw(): unexpected irq: i2c, status: 0x00000023, isr
0x10000
saa7146: saa7146_i2c_writeout(): error in address phase.
saa7146: saa7146_i2c_transfer(): msg:1/1
saa7146: saa7146_i2c_reset(): busy_state detected.
saa7146: saa7146_i2c_reset(): error_state detected. status:0x00000042
saa7146: saa7146_i2c_writeout(): before: 0xae0000c0 (status: 0x00000000), 0
saa7146: interrupt_hw(): unhandled irq: i2c, status: 0x00000021, isr 0x10000
saa7146: interrupt_hw(): irq: i2c, status: 0x00000023, psr:0x02, ssr:0x10).
saa7146: interrupt_hw(): unexpected irq: i2c, status: 0x00000023, isr
0x10000
saa7146: saa7146_i2c_writeout(): error in address phase.
hwmon-vid: Unknown VRM version of your x86 CPU


Does this give enough info?
Do I need to perform some extra i2c operations?
If so: which?

Kind regards,
Udo


PS: does this help?
# cat /proc/interrupts
           CPU0
  0:      78058   IO-APIC-edge      timer
  1:          8   IO-APIC-edge      i8042
  8:          1   IO-APIC-edge      rtc
  9:          0   IO-APIC-fasteoi   acpi
 12:        111   IO-APIC-edge      i8042
 14:       2397   IO-APIC-edge      ide0
 16:          0   IO-APIC-fasteoi   saa7146 (0)
 17:        889   IO-APIC-fasteoi   eth0
 18:       9703   IO-APIC-fasteoi   libata
 19:          0   IO-APIC-fasteoi   uhci_hcd:usb1, uhci_hcd:usb2,
uhci_hcd:usb3, ehci_hcd:usb4
 20:         42   IO-APIC-fasteoi   saa7146 (1), ohci1394
 21:          0   IO-APIC-fasteoi   VIA8237
NMI:          0
LOC:      78007
ERR:          0
MIS:          0

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux