Bug in mod.hdparm [closed - fixed] [INACTIVE]

To discuss and report ONLY Bugs

Bug in mod.hdparm [closed - fixed]

Mensagempor ntbill » Ter Mai 20, 2008 2:16 pm

Hi, I just found a small bug in the file /etc/rc.d/pkgs/mod.hdparm

It tries to read the file /tmp/partition.info but that file doesn't exist, so hdparm never starts.

It should be changed to /tmp/boot.info in mod.hdparm

Tested on 2.31.9-RC
Editado pela última vez por ntbill em Sex Jun 12, 2009 10:15 am, em um total de 1 vez.
ntbill
 

Re: Bug in mod.hdparm

Mensagempor Claudio » Ter Mai 20, 2008 2:28 pm

When that file doesn't exist it means you do not create the second partition. But hdparm should run anyway.

I will chek and try to fix it.

Thank you for the report.
Não dou suporte via mensagem privada e e-mail.
Por favor, não insista.
Avatar do usuário
Claudio
BFW Founder
BFW Beneméritos
 
Mensagens: 7553
Registrado em: Qui Ago 25, 2005 9:10 am
Localização: Vitória - ES - Brasil
BrazilFW Box:

Re: Bug in mod.hdparm

Mensagempor ntbill » Dom Jun 01, 2008 12:17 am

Claudio,

My hard disk died :-( and I replaced it by an another one wich produces a lot of noise :? . I can tell you, with 2.31.9-RC, the HD doesn't power off (I don't have a second partition). Also, the parameters in mod.hdparm don't power off the hd because the "-S" parameter is absent. So, I fixed all that by simply adding the command "hdparm -u1 -S12 /dev/hda1" in rc.local. I'm not sure if the "-u1" parameter is needed, but it was recommended in another thread.
ntbill
 

Re: Bug in mod.hdparm

Mensagempor Claudio » Dom Jun 01, 2008 3:43 pm

You're right, i have found the bug and have it fixed for the next version.
Não dou suporte via mensagem privada e e-mail.
Por favor, não insista.
Avatar do usuário
Claudio
BFW Founder
BFW Beneméritos
 
Mensagens: 7553
Registrado em: Qui Ago 25, 2005 9:10 am
Localização: Vitória - ES - Brasil
BrazilFW Box:

Re: Bug in mod.hdparm

Mensagempor ntbill » Seg Jun 02, 2008 3:08 pm

OK, great.

Thank you Claudio.
ntbill
 


Voltar para Bug Reports

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 18 visitantes