Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HAL + 2.6.2x kernel + CDROM = Fixed disk [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
CyberFoxx
n00b
n00b


Joined: 31 Jan 2006
Posts: 25

PostPosted: Sun Sep 23, 2007 8:59 pm    Post subject: HAL + 2.6.2x kernel + CDROM = Fixed disk [SOLVED] Reply with quote

OK, I've checked around the forums and there pretty is a confirmed problem running HAL (I've tried a couple versions already) a 2.6.2x kernel and using the "old" IDE drivers with an optical drive. Pretty much, HAL reports that the drive is a fixed disk, thus automounting won't work and even KDE/Gnome/XFCE won't show the drive on the desktop when a disk is inserted. The solution, to use the new PATA drivers. Well, this worked all well and good on my x86 boxes, but isn't available on my G4 700 eMac, there is no PATA drivers for it.

Now, I admit that I could just go back to a 2.6.19 kernel and everything will work. But I find that at least with gentoo-sources-2.6.22-r5, and under high load, my G4 is a lot more responsive than with a 2.6.19 kernel. (For instance, I can actually SSH in when it's going swap happy with the 2.6.22-r5 kernel, 2.6.19 just times out.)

Does anybody have any ideas on how to get around this? I tried looking at maybe writing a HAL rule or whatever, but XML just makes my eyes go cross-eyed. I was just wondering if another PPC user has encountered/fixed this.


Last edited by CyberFoxx on Wed Sep 26, 2007 8:52 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Sep 24, 2007 12:36 am    Post subject: Reply with quote

I haven't heard of anyone with this issue, but I don't use HAL. Perhaps ask HAL upstream? They might have a better idea or be able to provide some suggestions/workarounds.

Good luck!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
CyberFoxx
n00b
n00b


Joined: 31 Jan 2006
Posts: 25

PostPosted: Wed Sep 26, 2007 8:52 am    Post subject: Reply with quote

Well, I managed to fix the problem. Seems that HAL depends on the "legacy" /proc/ide/ support. Enabling that option in the kernel got HAL to detect the optical drive as "cdrom" instead of incorrectly detecting it as "disk."

I guess I should pay more attention to the "If unsure say Y" in the kernel help messages...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum