[Nut-upsuser] Shutdown problem with Geek Squad GS1285U

Gary Redden redden at skybest.com
Wed Feb 21 23:58:43 CET 2007


I loaded Ubuntu 6.06 which has kernel 2.6.15-28-386 and upsdrvcntrl stop 
works as it should. See the attached output. I was running Ubuntu 6.10 
which has kernel 2.6.17-generic. I could not find a way to switch to a 
different kernel. I think I still have a problem with the script that 
stops upsd. The syslog seems to show that upsd is still running when 
upsdrvctl is stopped even though I stop upsmon then stop upsd then stop 
upsdrvctl. Am I reading this correctly? Is this a problem I should try 
to fix? My ups still does not power down when I do a upsmon -c fsd  
while the ups is on battery.

Charles Lepple wrote:
> Maybe I'm confusing your kernel panic with someone else's. I thought
> the last one said "tainted", but this one doesn't. So it's probably
> the open-source nVidia driver, not the binary 'nvidia-glx' package
> from nVidia themselves.
>
> As for SMP, I don't have a way to test this here, but if you boot with
> an i386 kernel, it should disable SMP.
>
> On 2/19/07, Gary Redden <redden at skybest.com> wrote:
>> I do not have enough knowledge of Linux to answer those questions. I am
>> running Ubuntu desktop the GUI version so I must be running some nVidia
>> driver. I run the GUI version so I can poke around faster. I have spent
>> most of three weeks getting this far. I will continue to work on this
>> but need to be pointed in the right direction. I have another project
>> that needs most my attention for the next week(spec. for a fire truck
>> for my volunteer fire department) but will work on this in my spare 
>> time.
>>
>> Charles Lepple wrote:
>> > On 2/19/07, Gary Redden <redden at skybest.com> wrote:
>> >> >> Feb 18 14:57:57 ubuntu-desk-610 kernel: [ 1504.784748] BUG: unable
>> >> to handle kernel paging request at virtual address 76697264
>> >> >> Feb 18 14:57:57 ubuntu-desk-610 kernel: [ 1504.784767]  
>> printing eip:
>> >> >> Feb 18 14:57:57 ubuntu-desk-610 kernel: [ 1504.784772] c01abb38
>> >> >> Feb 18 14:57:57 ubuntu-desk-610 kernel: [ 1504.784777] *pde =
>> >> 00000000
>> >> >> Feb 18 14:57:57 ubuntu-desk-610 kernel: [ 1504.784784] Oops: 0000
>> >> [#1]
>> >> >> Feb 18 14:57:57 ubuntu-desk-610 kernel: [ 1504.784789] SMP
>> >
>> > Two things:
>> >
>> > 1) Can you reproduce this if you disable SMP?
>> >
>> > 2) Do I read this right that it still happens without the nVidia
>> > binary driver loaded?
>> >
>> > If either of the above is true, then you have a case for a bug in the
>> > Linux USB stack.
>> >
>> > Nothing that we do from userspace should cause a kernel page fault.
>> >
>>
>> _______________________________________________
>> Nut-upsuser mailing list
>> Nut-upsuser at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>>
>
>
-------------- next part --------------
gary at ubuntu-606-desk2:~$ sudo /usr/local/ups/bin/upsc GeekSquad1 at localhost
Password:
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 20
battery.runtime: 4251
battery.runtime.low: 600
battery.type: PbAcid
battery.voltage: 20.9
battery.voltage.nominal: 12.0
driver.name: newhidups
driver.parameter.port: auto
driver.version: 2.0.5
driver.version.data: APC/CyberPower HID 0.9
driver.version.internal: 0.30
input.transfer.high: 140
input.transfer.low: 90
input.voltage: 121.0
input.voltage.nominal: 120
output.voltage: 121.0
ups.beeper.status: enabled
ups.delay.shutdown: -60
ups.load: 6.0
ups.mfr: CPS
ups.model:  GS 1285U
ups.power.nominal: 337
ups.status: OL
ups.test.result: Done and passed
gary at ubuntu-606-desk2:~$ sudo /usr/local/ups/sbin/upsmon -c stop
Network UPS Tools upsmon 2.0.5
gary at ubuntu-606-desk2:~$ sudo /usr/local/ups/sbin/upsd -c stop
Network UPS Tools upsd 2.0.5
gary at ubuntu-606-desk2:~$ sudo /usr/local/ups/bin/upsdrvctl stop
Network UPS Tools - UPS driver controller 2.0.5
gary at ubuntu-606-desk2:~$ sudo /usr/local/ups/bin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.0.5
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.0.5)

Detected a UPS: CPS/ GS 1285U
Using subdriver: APC/CyberPower HID 0.9
gary at ubuntu-606-desk2:~$ sudo /usr/local/ups/sbin/upsd
Network UPS Tools upsd 2.0.5
Connected to UPS [GeekSquad1]: GeekSquad1
gary at ubuntu-606-desk2:~$ sudo /usr/local/ups/sbin/upsmon
Network UPS Tools upsmon 2.0.5
UPS: GeekSquad1 at localhost (master) (power value 1)
Using power down flag file /etc/killpower

gary at ubuntu-606-desk2:~$

--------------------------------------------------------------------------------
-------------------- segment of syslog for restart -----------------------------
--------------------------------------------------------------------------------
Feb 21 15:51:47 localhost gdm[4292]: Restarting computer...
Feb 21 15:51:48 localhost shutdown[4292]: shutting down for system reboot
Feb 21 15:51:49 localhost init: Switching to runlevel: 6
Feb 21 15:51:53 localhost newhidups[5230]: Signal 15: exiting
Feb 21 15:51:53 localhost upsd[5237]: UPS [GeekSquad1] disconnected - check driver
Feb 21 15:51:53 localhost upsd[5237]: Can't connect to UPS [GeekSquad1] (GeekSquad1): No such file or directory
Feb 21 15:51:53 localhost upsd[5237]: Data for UPS [GeekSquad1] is stale - check driver
Feb 21 15:51:53 localhost upsmon[5245]: Poll UPS [GeekSquad1 at localhost] failed - Driver not connected
Feb 21 15:51:53 localhost upsmon[5245]: Communications with UPS GeekSquad1 at localhost lost
Feb 21 15:51:58 localhost upsmon[5245]: Poll UPS [GeekSquad1 at localhost] failed - Driver not connected
Feb 21 15:52:00 localhost sdpd[4869]: terminating...   
Feb 21 15:52:00 localhost hcid[4865]: Exit.
Feb 21 15:52:00 localhost kernel: Kernel logging (proc) stopped.
Feb 21 15:52:00 localhost kernel: Kernel log daemon terminating.
Feb 21 15:52:01 localhost exiting on signal 15
Feb 21 15:54:34 localhost syslogd 1.4.1#17ubuntu7: restart.


More information about the Nut-upsuser mailing list