Re: [gentoo-user] Re: hdparm and baselayout

2006-08-19 Thread Daniel Pielmeier
Thanks to all who helped me with this issue, especially Richard who lead me to this bug. Daniel -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-19 Thread Daniel Pielmeier
Benno Schulenberg schrieb: It is specifically checking for the "No medium found" message. To be able to do that, the hdparm script should set LC_ALL=C itself. Time to report a bug. okay it's here: http://bugs.gentoo.org/show_bug.cgi?id=144407 -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Benno Schulenberg
Daniel Pielmeier wrote: > + [[ /etc/init.d/hdparm: line 122: /dev/hdc: Kein Medium gefunden > == *\:\ \N\o\ \m\e\d\i\u\m\ \f\o\u\n\d ]] > [...] > + [[ /etc/init.d/hdparm: line 122: /dev/hdd: Kein Medium gefunden > == *\:\ \N\o\ \m\e\d\i\u\m\ \f\o\u\n\d ]] It is specifically checking for the "No me

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
so i think it is not a problem between sudo and root, for root my default locale is en_US for me as normal user it is de_DE.utf8 so it seems to be a problem with the locales -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
Sorry, I missed the 'doesn't work under sudo' part. Can you post the output with the set -x option when run under sudo? okay here comes something strange [EMAIL PROTECTED] ~ $ LC_ALL=de_DE.utf8 [EMAIL PROTECTED] ~ $ sudo /etc/init.d/hdparm stop [EMAIL PROTECTED] ~ $ sudo /etc/init.d/hdparm sta

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish
On 8/18/06, Daniel Pielmeier <[EMAIL PROTECTED]> wrote: Before i fill a bug i will check if removing the bootmisc dependency will solve the problem. I don't think so because when the system has booted completely a restart of the service doesn't work either. The thing that irritates me is, when i

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish
On 8/18/06, Daniel Pielmeier <[EMAIL PROTECTED]> wrote: Richard Fish schrieb: > Are you starting hdparm in the boot or default runlevel (rc-update > -s)? If at boot, it may be that some modules haven't been loaded yet, > so you don't actually have hdc/hdd. it starts in default runlevel, but i t

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
Richard Fish schrieb: Are you starting hdparm in the boot or default runlevel (rc-update -s)? If at boot, it may be that some modules haven't been loaded yet, so you don't actually have hdc/hdd. it starts in default runlevel, but i think with the new baselayout it starts ealier then before.

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish
On 8/18/06, Daniel Pielmeier <[EMAIL PROTECTED]> wrote: For /dev/hdc and /dev/hdd it says that there is no medium present, but is this required for running hdparm on this devices? No, the init script handles this case...in fact it did run hdparm for hdc and hdd. -Richard -- gentoo-user@gentoo.

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish
On 8/18/06, Daniel Pielmeier <[EMAIL PROTECTED]> wrote: after i took a more cleary look at the messages i found out that hdparm did not work on boot up and when i try to start/stop the init-script by using sudo, but when i log in as root and run the script it shows me: /etc/init.d/hdparm start *

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
after i took a more cleary look at the messages i found out that hdparm did not work on boot up and when i try to start/stop the init-script by using sudo, but when i log in as root and run the script it shows me: /etc/init.d/hdparm start * Running hdparm on /dev/hda ... [ ok ] * Running hdparm

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
Richard Fish schrieb: On 8/18/06, Daniel Pielmeier <[EMAIL PROTECTED]> wrote: so when my settings are correct, why doesn't the hdparm init-script apply this settings to my dvd-rom devices /dev/hdc and /dev/hdd Try adding "set -x" at the top of the hdparm init script, and then 'stop' and 'start

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish
On 8/18/06, Daniel Pielmeier <[EMAIL PROTECTED]> wrote: so when my settings are correct, why doesn't the hdparm init-script apply this settings to my dvd-rom devices /dev/hdc and /dev/hdd Try adding "set -x" at the top of the hdparm init script, and then 'stop' and 'start' it. The trace output

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
Good question. I don't use hdparm since mine are fast without it. It should work though. You may want to make sure the all_args= line is commented out. May be that it is using that since it is the last line it reads. Not real sure though. Dale :-) :-) hmm i have commented all out, only

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Dale
Daniel Pielmeier wrote: > Andrew Frink wrote: >> Daniel, >> I think there are some settings in /etc/conf.d/hdparm that control if >> just hard disks or both get options changed. >> Andrew >> P.S. I'm not at my Linux box so I can't say for sure > > Dale schrieb: >> Just in case his is different, th

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
Andrew Frink wrote: Daniel, I think there are some settings in /etc/conf.d/hdparm that control if just hard disks or both get options changed. Andrew P.S. I'm not at my Linux box so I can't say for sure Dale schrieb: Just in case his is different, this is what mine says: # /etc/conf.d/hd

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Dale
Andrew Frink wrote: > Daniel, > I think there are some settings in /etc/conf.d/hdparm that control if > just hard disks or both get options changed. > > Andrew > P.S. I'm not at my Linux box so I can't say for sure > > On 8/18/06, *Daniel Pielmeier* <[EMAIL PROTECTED] >

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Andrew Frink
Daniel,I think there are some settings in /etc/conf.d/hdparm that control if just hard disks or both get  options changed.  AndrewP.S. I'm not at my Linux box so I can't say for sure On 8/18/06, Daniel Pielmeier <[EMAIL PROTECTED]> wrote: Doesn't anybody have a clue?Or did anyone receive this mess

[gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
Doesn't anybody have a clue? Or did anyone receive this message, because i heard of messages which get lost on this list! Thanks, Daniel 2006/8/17, Daniel Pielmeier <[EMAIL PROTECTED]>: Hi all, it seems that the configuration of /etc/conf.d/hdparm has changed. With the new baselayout i only