Again with the firewire
Quoted 8 lines
Ask Apple what they did ... their chipset isn't documented and they didn't opensource their firewire driver for it.
Note that working firewire for pismo/tipb exist in my rsync tree or in the linux1394 CVS. Linus and bk
_develaren't up-to-date yet.Ben.
I can't get firewire to work with your rsync tree on my Pismo (at least with no one up to yesterday). When I load the modules all looks ok (to me):
Nov 22 07:23:06 localhost kernel: ohci1394: $Revision: 1.79 $ Ben Collins <[email protected]> Nov 22 07:23:06 localhost kernel: ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[40] MMIO=[f5000000-f5001000] Max Packet=[2048] Nov 22 07:23:06 localhost kernel: ieee1394: sbp2: Driver forced to serialize I/O (serialize_io = 1) Nov 22 07:23:06 localhost kernel: scsi1 : IEEE-1394 SBP-2 protocol
driver
After loading the modules, there is no /proc/ohci1394 as I remember from earllier versions of linux1394.
When I plug in a firewire device the keyboard becomes unusable, but the machine doesn't crash, I can reboot it via ssh.
I get no error messages in /var/log/messages.
Do you have any idea why it doesn't work? I tried the same on a friends Pismo an had the same effects!
regards, Stefan
--
Dipl.-Ing. Stefan Piger
Lehrgebiet Rechnernetze und Verteilte Systeme
Universität Hannover
Tel. 0511-762-79-4726
Fax 0511-762-3003
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Stefan Piger
After loading the modules, there is no
/proc/ohci1394as I remember from earllier versions of linux1394.
When I plug in a firewire device the keyboard becomes unusable, but the machine doesn't crash, I can reboot it via ssh.
I get no error messages in/var/log/messages.
I actually just had the same thing happen, only the entire console froze, X and all. I don't know if the kernel was still working or not, I didn't have another machine connected at the time. However, this is actually an improvement for me - the ohci1394 module doesn't lock the PMU up and cause the system to suddenly shutdown (this is a FireWire iBook). If I boot the system with the FireWire device - a QPS CD-RW drive - plugged in, all is fine.
Ben? The FireWire controller didn't seem to have a problem with power management per se - I ran 'gscanbus' after a suspend/unsuspend cycle, and it seemed to be ok with that.
Derrik Pates | Sysadmin, Douglas School | #linuxOS on EFnet [email protected] | District (dsdk12.net) | #linuxOS on OPN
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 9 lines
I actually just had the same thing happen, only the entire console froze, X and all. I don't know if the kernel was still working or not, I didn't have another machine connected at the time. However, this is actually an improvement for me - the ohci1394 module doesn't lock the PMU up and cause the system to suddenly shutdown (this is a FireWire iBook). If I boot the system with the FireWire device - a QPS CD-RW drive - plugged in, all is fine.
Quoted 3 lines
Ben? The FireWire controller didn't seem to have a problem with power management per se - I ran 'gscanbus' after a suspend/unsuspend cycle, and it seemed to be ok with that.
Well, there is no code to handle power management in the driver, and the controller do get powered down, so... If it works, maybe you are just lucky ;)
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines · On Thu, 22 Nov 2001 [email protected] wrote:
Well, there is no code to handle power management in the driver, and the controller do get powered down, so... If it works, maybe you are just lucky ;)
Doh. Oops on me. Brought the iBook up from sleep this morning, and ran GScanBus to get the FireWire controller tested - hard freeze. Guess I spoke too soon. :) But hey, it's serious progress already that FireWire works at all, so I'm not complaining or anything...
Derrik Pates | Sysadmin, Douglas School | #linuxOS on EFnet [email protected] | District (dsdk12.net) | #linuxOS on OPN
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 9 lines
I actually just had the same thing happen, only the entire console froze, X and all. I don't know if the kernel was still working or not, I didn't have another machine connected at the time. However, this is actually an improvement for me - the ohci1394 module doesn't lock the PMU up and cause the system to suddenly shutdown (this is a FireWire iBook). If I boot the system with the FireWire device - a QPS CD-RW drive - plugged in, all is fine.
In Stefan's case, it appears to be the transmit DMA of the chip stalling for some unknown reason. I suggest moving that discussion to the linux1394-devel list as I really don't know what may be going on.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Benjamin Herrenschmidt
In Stefan's case, it appears to be the transmit DMA of the chip stalling for some unknown reason. I suggest moving that discussion to the linux1394-devel list as I really don't know what may be going on.
After another test on my part, I discovered that I am not seeing a freeze on hotplugging. Probably put this iBook to sleep before I plugged the CD burner in, and the FireWire controller was already a lost cause.
Also, a heads up - I've found that unloading 'ohci1394' before suspend and reloading it after yields a working system, no freezes after unsuspend. At least on this FireWire iBook, anyway. If I don't, the system hangs after unsuspending as soon as a FireWire device is accessed. May be useful for suspend handling in the driver itself.
Derrik Pates | Sysadmin, Douglas School | #linuxOS on EFnet [email protected] | District (dsdk12.net) | #linuxOS on OPN
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 10 lines
After another test on my part, I discovered that I am not seeing a freeze on hotplugging. Probably put this iBook to sleep before I plugged the CD burner in, and the FireWire controller was already a lost cause.
Also, a heads up - I've found that unloading 'ohci1394' before suspend and reloading it after yields a working system, no freezes after unsuspend. At least on this FireWire iBook, anyway. If I don't, the system hangs after unsuspending as soon as a FireWire device is accessed. May be useful for suspend handling in the driver itself.
Yes, unloading the driver should be enough.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Also, I've found that plugging in a FireWire device, then unplugging it before doing anything with it (but after waiting ~30 seconds, long enough for the kernel to see the plug event and try to load the driver) will cause a system freeze. If I do something with the device (try to mount it or something), then it's fine, the unplug goes off without a hitch, and the system continues running.
Derrik Pates | Sysadmin, Douglas School | #linuxOS on EFnet [email protected] | District (dsdk12.net) | #linuxOS on OPN
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 10 lines
After loading the modules, there is no
/proc/ohci1394as I remember from earllier versions of linux1394.
When I plug in a firewire device the keyboard becomes unusable, but the machine doesn't crash, I can reboot it via ssh.
I get no error messages in/var/log/messages.Do you have any idea why it doesn't work? I tried the same on a friends Pismo an had the same effects!
Forget about /proc/ohci1394, it was bogus anyway.
Since you can log via ssh, can you send me the dmesg log that gets displayed when you plug your device ? Eventulally, compile with the excessive debugging output enabled in .config, and send me a log with that too.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/