Skip to contentSkip to conversation

Udev on PPC

DISCUSSION Peter Snyder 2 participants 2 messages Feb 11, 2004 – Feb 13, 2004

lore
Share & tools
lore
#0 lore raw

Hello everyone,
I am having a great deal of difficulty getting udev to work on my G3 iBook (600 Mhz, dual usb). I have the following chain of ieee1394 devices:

western digital hard drive -> ide to firewire converter with a ide cd recorder -> 3rd gen iPod.

When I plug in my firewire cable to the ibook, it does detect all of the devices (according to systool -b ieee1394), and by watching /sys/block, I can see that it sees sda (the hardrive), and then sda and sr0 (the recorder), and then _only_ sdb (ie /sys/block no longer lists sda or sr0).

Alternativly, if I change the order of the devices by flipping the drive and the recorder, I get sda, and then sda and sr0, and then only sr0.

Under both of these scenarios, it seems that udev eventually forgets about both, and eventually /sys/block contains:

hda  ram0  ram10  ram12  ram14  ram2  ram4  ram6  ram8
hdb  ram1  ram11  ram13  ram15  ram3  ram5  ram7  ram9

I havn't the slightest clue about how to go about fixing this problem. I am running udev .016 and hotplug from 2004-01-05. This is kernel 2.6.1 with the behn patches. Distro is gentoo. Please let me know if there is any additional information I can provide that would be helpful in diagnosing/solving this problem. Thanks in advance and the neat software.

Pete Snyder

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 14 lines · Peter Snyder

Hello everyone,
I am having a great deal of difficulty getting udev to work on my G3 iBook (600 Mhz, dual usb). I have the following chain of ieee1394 devices:

western digital hard drive -> ide to firewire converter with a ide cd recorder -> 3rd gen iPod.

When I plug in my firewire cable to the ibook, it does detect all of the devices (according to systool -b ieee1394), and by watching /sys/block, I can see that it sees sda (the hardrive), and then sda and sr0 (the recorder), and then _only_ sdb (ie /sys/block no longer lists sda or sr0).

Quoted 8 lines

Alternativly, if I change the order of the devices by flipping the drive and the recorder, I get sda, and then sda and sr0, and then only sr0.

Under both of these scenarios, it seems that udev eventually forgets about both, and eventually /sys/block contains:

hda  ram0  ram10  ram12  ram14  ram2  ram4  ram6  ram8
hdb  ram1  ram11  ram13  ram15  ram3  ram5  ram7  ram9

udev doesn't control /sys/block at all. It sounds like you have other kernel issues. Look at the recent 1394 fix that just went into the 2.6 kernel tree, it will probably fix your bug.

thanks,

greg k-h

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel