Näytä kirjoitukset

Tässä osiossa voit tarkastella kaikkia tämän jäsenen viestejä. Huomaa, että näet viestit vain niiltä alueilta, joihin sinulla on pääsy.


Viestit - O.R

Sivuja: [1]
1
Koodia: [Valitse]
ls /var/log/*pm*

bash: s: command not found

L-kirjain jäi pois komennosta.


Ei tuota kyllä kovin kauan kannata selvitellä. Uutta jakelua/rautaa tulille, jos ei toimi ja lepotila on tärkeä.

No such file or directory

2
Koodia: [Valitse]
[code]PM_DEBUG=true sudo pm-hibernate
Koodia: [Valitse]
Oct 11 13:40:24 cnc-sorvi-desktop kernel: [   48.778969] agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
Oct 11 13:40:24 cnc-sorvi-desktop kernel: [   48.780850] agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
Oct 11 13:40:24 cnc-sorvi-desktop kernel: [   48.782496] agpgart: Putting AGP V2 device at 0000:01:05.0 into 2x mode
Oct 11 13:40:25 cnc-sorvi-desktop dhclient: DHCPREQUEST of 192.168.11.11 on eth0 to 255.255.255.255 port 67
Oct 11 13:40:25 cnc-sorvi-desktop dhclient: DHCPACK of 192.168.11.11 from 192.168.11.1
Oct 11 13:40:25 cnc-sorvi-desktop avahi-daemon[3972]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.11.11.
Oct 11 13:40:25 cnc-sorvi-desktop avahi-daemon[3972]: New relevant interface eth0.IPv4 for mDNS.
Oct 11 13:40:25 cnc-sorvi-desktop avahi-daemon[3972]: Registering new address record for 192.168.11.11 on eth0.IPv4.
Oct 11 13:40:25 cnc-sorvi-desktop NetworkManager: <info>  DHCP daemon state is now 4 (reboot) for interface eth0
Oct 11 13:40:25 cnc-sorvi-desktop NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) scheduled...
Oct 11 13:40:25 cnc-sorvi-desktop NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) started...
Oct 11 13:40:25 cnc-sorvi-desktop dhclient: bound to 192.168.11.11 -- renewal in 77667 seconds.
Oct 11 13:40:25 cnc-sorvi-desktop kernel: [   49.185239] [drm] Setting GART location based on new memory map
Oct 11 13:40:25 cnc-sorvi-desktop kernel: [   49.185270] [drm] Loading R200 Microcode
Oct 11 13:40:25 cnc-sorvi-desktop kernel: [   49.185331] [drm] writeback test succeeded in 1 usecs
Oct 11 13:40:26 cnc-sorvi-desktop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.host_name
Oct 11 13:40:26 cnc-sorvi-desktop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_domain
Oct 11 13:40:26 cnc-sorvi-desktop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_servers
Oct 11 13:40:26 cnc-sorvi-desktop NetworkManager: <info>  Retrieved the following IP4 configuration from the DHCP daemon:
Oct 11 13:40:26 cnc-sorvi-desktop NetworkManager: <info>    address 192.168.11.11
Oct 11 13:40:26 cnc-sorvi-desktop NetworkManager: <info>    netmask 255.255.255.0
Oct 11 13:40:26 cnc-sorvi-desktop NetworkManager: <info>    broadcast 192.168.11.255
Oct 11 13:40:26 cnc-sorvi-desktop NetworkManager: <info>    gateway 192.168.11.1
Oct 11 13:40:26 cnc-sorvi-desktop NetworkManager: <info>    nameserver 192.168.11.1
Oct 11 13:40:26 cnc-sorvi-desktop NetworkManager: <info>    domain name 'Koti'
Oct 11 13:40:26 cnc-sorvi-desktop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.interface_mtu
Oct 11 13:40:26 cnc-sorvi-desktop NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
Oct 11 13:40:26 cnc-sorvi-desktop NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) complete.
Oct 11 13:40:26 cnc-sorvi-desktop NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
Oct 11 13:40:26 cnc-sorvi-desktop avahi-daemon[3972]: Withdrawing address record for 192.168.11.11 on eth0.
Oct 11 13:40:26 cnc-sorvi-desktop avahi-daemon[3972]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.11.11.
Oct 11 13:40:26 cnc-sorvi-desktop avahi-daemon[3972]: Interface eth0.IPv4 no longer relevant for mDNS.
Oct 11 13:40:26 cnc-sorvi-desktop avahi-daemon[3972]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.11.11.
Oct 11 13:40:26 cnc-sorvi-desktop avahi-daemon[3972]: New relevant interface eth0.IPv4 for mDNS.
Oct 11 13:40:26 cnc-sorvi-desktop avahi-daemon[3972]: Registering new address record for 192.168.11.11 on eth0.IPv4.
Oct 11 13:40:27 cnc-sorvi-desktop NetworkManager: <info>  Clearing nscd hosts cache.
Oct 11 13:40:27 cnc-sorvi-desktop NetworkManager: <WARN>  nm_spawn_process(): nm_spawn_process('/usr/sbin/nscd -i hosts'): could not spawn process. (Failed to execute child process "/usr/sbin/nscd" (No such file or directory)) 
Oct 11 13:40:27 cnc-sorvi-desktop NetworkManager: <info>  Activation (eth0) successful, device activated.
Oct 11 13:40:27 cnc-sorvi-desktop NetworkManager: <info>  Activation (eth0) Finish handler scheduled.
Oct 11 13:40:27 cnc-sorvi-desktop NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
Oct 11 13:40:27 cnc-sorvi-desktop kernel: [   51.567450] NET: Registered protocol family 10
Oct 11 13:40:27 cnc-sorvi-desktop kernel: [   51.570477] lo: Disabled Privacy Extensions
Oct 11 13:40:28 cnc-sorvi-desktop ntpdate[4545]: adjust time server 91.189.89.199 offset -0.094814 sec
Oct 11 13:40:28 cnc-sorvi-desktop avahi-daemon[3972]: Registering new address record for fe80::202:44ff:fe2c:4f19 on eth0.*.
Oct 11 13:40:37 cnc-sorvi-desktop kernel: [   61.657034] eth0: no IPv6 routers present
Oct 11 13:41:26 cnc-sorvi-desktop pulseaudio[4695]: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 44099 Hz.
Oct 11 13:41:32 cnc-sorvi-desktop hcid[4231]: Default passkey agent (:1.20, /org/bluez/passkey) registered
Oct 11 13:41:32 cnc-sorvi-desktop hcid[4231]: Default authorization agent (:1.20, /org/bluez/auth) registered
Oct 11 13:41:39 cnc-sorvi-desktop NetworkManager: <info>  Updating allowed wireless network lists.
Oct 11 13:41:40 cnc-sorvi-desktop NetworkManager: <WARN>  nm_dbus_get_networks_cb(): error received:
org.freedesktop.NetworkManagerInfo.NoNetworks - There are no wireless networks stored.[/code].


Koodia: [Valitse]
[code]dmesg | tail -50
Koodia: [Valitse]
[   19.885303] ohci_hcd 0000:00:07.4: irq 10, io mem 0xeffff000
[   19.893307] SCSI subsystem initialized
[   19.932464] libata version 3.00 loaded.
[   19.939058] usb usb1: configuration #1 chosen from 1 choice
[   19.939147] hub 1-0:1.0: USB hub found
[   19.939179] hub 1-0:1.0: 4 ports detected
[   20.097325] hda: max request size: 512KiB
[   20.122527] hda: 120069936 sectors (61475 MB) w/2048KiB Cache, CHS=16383/255/63
[   20.122547] hda: cache flushes not supported
[   20.122664]  hda: hda1 hda2 < hda5 >
[   20.174904] hdc: ATAPI 52X DVD-ROM drive, 256kB Cache
[   20.174928] Uniform CD-ROM driver Revision: 3.20
[   20.786204] kjournald starting.  Commit interval 5 seconds
[   20.786248] EXT3-fs: mounted filesystem with ordered data mode.
[   29.262773] Linux agpgart interface v0.102
[   29.305800] agpgart: Detected AMD Irongate chipset
[   29.454467] agpgart: AGP aperture is 32M @ 0xec000000
[   29.619091] input: PC Speaker as /devices/platform/pcspkr/input/input2
[   31.301181] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input3
[   31.878881] AMD756: dev 1274:1371, router pirq : 2 get irq : 11
[   31.878895] PCI: Found IRQ 11 for device 0000:00:0c.0
[   31.878919] PCI: Sharing IRQ 11 with 0000:00:09.0
[   35.280310] lp: driver loaded but no devices found
[   35.525861] Adding 746980k swap on /dev/hda5.  Priority:-1 extents:1 across:746980k
[   36.130028] EXT3 FS on hda1, internal journal
[   38.469307] ip_tables: (C) 2000-2006 Netfilter Core Team
[   41.712469] ppdev: user-space parallel port driver
[   41.926370] audit(1444560017.984:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=4010 profile="/usr/sbin/cupsd" namespace="default"
[   43.724043] eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[   43.861212] Bluetooth: Core ver 2.11
[   43.864590] NET: Registered protocol family 31
[   43.864604] Bluetooth: HCI device and connection manager initialized
[   43.864617] Bluetooth: HCI socket layer initialized
[   43.898291] Bluetooth: L2CAP ver 2.9
[   43.898307] Bluetooth: L2CAP socket layer initialized
[   43.941700] Bluetooth: RFCOMM socket layer initialized
[   43.943454] Bluetooth: RFCOMM TTY layer initialized
[   43.943470] Bluetooth: RFCOMM ver 1.8
[   47.005345] [drm] Initialized drm 1.1.0 20060810
[   47.032272] [drm] Initialized radeon 1.28.0 20060524 on minor 0
[   47.349595] NET: Registered protocol family 17
[   48.778969] agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
[   48.780850] agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
[   48.782496] agpgart: Putting AGP V2 device at 0000:01:05.0 into 2x mode
[   49.185239] [drm] Setting GART location based on new memory map
[   49.185270] [drm] Loading R200 Microcode
[   49.185331] [drm] writeback test succeeded in 1 usecs
[   51.567450] NET: Registered protocol family 10
[   51.570477] lo: Disabled Privacy Extensions
[   61.657034] eth0: no IPv6 routers present

Koodia: [Valitse]
ls /var/log/*pm*
bash: s: command not found[/code]

Koodattu -Storck

3
Onko sille lepotila toiminnolle mitään tehtävissä?

Tuleeko lokiin jotain sen jälkeen, kun olet yrittänyt laittaa järjestelmää horrokseen?

Koodia: [Valitse]
cat /var/log/pm-suspend.log


Ilmoittaa, että ei löydy lokitiedostoa.

4


Lisäksi kyselisin:"Miksi ajat useamman tonnin CNC:tä alle sadan euron arvoisella koneella?"

... vai onko CNC-laitteesi nirso laitteen puolesta eli ei toimi liian uudessa laitteessa ?

Tosin itsellänikin on kokemusta käyttää koneen raatoja mekaanisten koneiden ohjaajina.

Olen ehkä sen verran pihistelijä, että koitan aina hyödyntää omia varastoja loppuun asti ennen kuin hankin jotain uutta, toinen rajoittava tekijä on rinnakkaisportin puute uudemmissa emolevyissä. Latency testien perusteella (max jitter noin 25ns) tuon pitäisi vielä toimia ihan mallikkaasti.

Swappia ei ole käyttössä kun noin <1% ja noin 170/256 ram kun emc2 on auki.

Onko sille lepotila toiminnolle mitään tehtävissä?

5

Riippumatta kumpaa käytät, niin mitä näyttää seuraava...

Koodia: [Valitse]
sudo fdisk -l

Disk /dev/hda: 61.4 GB, 61475807232 bytes
255 heads, 63 sectors/track, 7474 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000bdeac

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        7381    59287851   83  Linux
/dev/hda2            7382        7474      747022+   5  Extended
/dev/hda5            7382        7474      746991   82  Linux swap / Solaris



Olisiko se wheezy tai jessie kevyempi tällä kokoonpanolla?  Hieman hitaasti ruutu päivittyy nyt, johtuu varmaan tuosta 9200SE:n kunnollisesta ajurin puutteesta.

6
Konetta tullaan käyttämään ainoastaan CNC sorvin ohjaukseen ja haluaisin että ohjausohjelma EMC2 olisi valmiina heti kun koneen käynnistän. En tiedä miten EMC2 toimii muissa käyttöjärjestelmissä joten latasin valmiin asennuspaketin tuolta --> http://www.linuxcnc.org/


7
Asensin vanhaan koneeseen Ubuntu 8.04 Hardy Heron. Haluasin saada lepotilan toimimaan (nappulan jonnekin josta painamalla menee lepotilaan), olen kokeillut päätteeseen eri komentoja, mutta ne eivät ole toimineet.

Komennot joita kokeilin:
- pmi action hibernate
   method return sender=:1,5 -> dest=:1,46 reply_serial=2 int32 1

- sudo pm-hibernate
  ei tapahdu mitään

 -gnome-power-cmd hibernate
  command not found

Kone:
AMD K7 600Mhz
AMD 756 piirisarja
256Mt ram
Ati Radeon 9200SE

Miten saisi toimimaan?

Sivuja: [1]