Kirjoittaja Aihe: xubuntu ei sulje konetta  (Luettu 3459 kertaa)

chevy454

  • Käyttäjä
  • Viestejä: 9
    • Profiili
xubuntu ei sulje konetta
« : 07.11.06 - klo:21.51 »
Moi,
asensin  vanhaan compaqiin (500 MHz pena III, muistia 384M) koneeseen xubuntua 6.10 kaikki meni ihan hyvin, mutta kone ei sammu, kun pitäisi. Valikosta sammuttamisen jälkeen kone selvästi ajaa ohjelmia alas, mutta sitten lopuksi se jämähtää siihen hiirilogo ruutuun ja kone sammuu vain kun olen painanut käynnistysnappia sen yleisen tapon eli 5sek. Tämä sama tapahtui ubuntulla. Asensin molemmat  iso cd:ltä. Minulla oli aikaisemmin samassa koneessa  6.06 ja se toimi ihan hyvin. Mitähän pitäis viilata vai palaanko käyttämään 6.06:sta. Tämän koneen on tarkoitus mennä yhdelle eläkeläiskerholle nettikäyttöön ja sähköpostinlukuun. Yritän myös opettaa heitä käyttämään linuxia. "eipä tämä omakaan taito päätä huimaa, mutta harjoitus tekee mestarin...." Tuolla kyseisellä raudalla pitäisi pärjätä, sillä emo ei tue suurempaa prossua, eikä suurempaa muistin määrää. Molemmat asennukset tein kokonaan uudestaan puhtaalle levylle.

terveisin chevy454

raimo

  • Käyttäjä
  • Viestejä: 4165
  • openSUSE Tumbleweed
    • Profiili
Re: xubuntu ei sulje konetta
« Vastaus #1 : 07.11.06 - klo:22.47 »
Niin, sinänsä tuollaisessa käytössä 6.06 riittää aivan hyvin, etenkin kun se on se pitkänkantaman Ubuntu (LTS).

Päivityksellä ei saada varmaan juurikaan muuta isompaa etua kuin uuden init yms. systeemin (upstart)
tuoma buuttaus / sammutus -nopeus etu. Joka nyt on tavallaan turha etu, jos se ei edes sammu. :)

Eli sekö sammuu Dapperilla (6.06), mutta ei Edgyllä (6.10)?

Kokeilepa niin että painat Ctrl+Alt+F2 ja kirjaudut sisään.

Komenna sitten sudo init 0 jolloin nähdään osaako se yleensäkään sammua.
Tuo komento käskee "sen" menemään ajotasolle 0 = mennään tilaan "virta pois".
Kerro mitä tapahtuu, niin mietitään lisää.

Katso myös komennolla dmesg mitä käynnistysvaiheessa on tapahtunut.
Ja muutenkin /var/log -hakemiston lokeja kannattaa vilkaista, syslog esim.
Laita vaikkapa liitetiedostoina tänne ne, jos niissä jotakin nähtävää on (dmesg lähinnä)

Tietä käyden tien on vanki. Vapaa on vain umpihanki.
Aaro Hellaakoski

chevy454

  • Käyttäjä
  • Viestejä: 9
    • Profiili
Re: xubuntu ei sulje konetta
« Vastaus #2 : 07.11.06 - klo:23.44 »
Moi,
tosiaan on niin, että 6.06:lla sammuu ja toimii niin kuin pitää.

sudo init 0 pysähtyi samaan kohtaan eli kone jäi päälle eikä auttanut kuin se 5sek tappo.

kokeilin vielä komentoriviltä vanhasta muistista rh komentoa shutdown -h now ja sekin pysähtyi samaan kohtaan.

dmesg lista on aika pitkä, mutta laitan sen tähän.

[17179569.184000] Linux version 2.6.17-10-generic (root@vernadsky) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Fri Oct 13 18:45:35 UTC 2006 (Ubuntu 2.6.17-10.33-generic)
[17179569.184000] BIOS-provided physical RAM map:
[17179569.184000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[17179569.184000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[17179569.184000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[17179569.184000]  BIOS-e820: 0000000000100000 - 0000000018000000 (usable)
[17179569.184000]  BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[17179569.184000] 0MB HIGHMEM available.
[17179569.184000] 384MB LOWMEM available.
[17179569.184000] On node 0 totalpages: 98304
[17179569.184000]   DMA zone: 4096 pages, LIFO batch:0
[17179569.184000]   Normal zone: 94208 pages, LIFO batch:31
[17179569.184000] DMI 2.1 present.
[17179569.184000] ACPI: RSDP (v000 COMPAQ                                ) @ 0x000e0010
[17179569.184000] ACPI: RSDT (v001 COMPAQ INDY     0x00000001  0x00000000) @ 0x000e0080
[17179569.184000] ACPI: FADT (v001 COMPAQ INDY     0x00000001  0x00000000) @ 0x000e00cc
[17179569.184000] ACPI: SSDT (v001 COMPAQ VILLTBL1 0x00000001 MSFT 0x01000004) @ 0x000e0ae1
[17179569.184000] ACPI: SSDT (v001 COMPAQ PNP_PRSS 0x00000001 MSFT 0x01000004) @ 0x000e1b8c
[17179569.184000] ACPI: DSDT (v001 COMPAQ     DSDT 0x00000001 MSFT 0x01000004) @ 0x00000000
[17179569.184000] ACPI: BIOS age (1998) fails cutoff (2000), acpi=force is required to enable ACPI
[17179569.184000] ACPI: Disabling ACPI support
[17179569.184000] Allocating PCI resources starting at 20000000 (gap: 18000000:e7fc0000)
[17179569.184000] Built 1 zonelists
[17179569.184000] Kernel command line: root=/dev/hda1 ro quiet splash
[17179569.184000] Local APIC disabled by BIOS (or by default) -- you can enable it with "lapic"
[17179569.184000] mapped APIC to ffffd000 (0130b000)
[17179569.184000] Enabling fast FPU save and restore... done.
[17179569.184000] Enabling unmasked SIMD FPU exception support... done.
[17179569.184000] Initializing CPU#0
[17179569.184000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[    0.000000] Detected 497.917 MHz processor.
[   25.275172] Using tsc for high-res timesource
[   25.276726] Console: colour VGA+ 80x25
[   25.278176] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[   25.279554] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[   25.332261] Memory: 379880k/393216k available (1910k kernel code, 12820k reserved, 1070k data, 308k init, 0k highmem)
[   25.332278] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[   25.410948] Calibrating delay using timer specific routine.. 997.35 BogoMIPS (lpj=1994702)
[   25.411099] Security Framework v1.0.0 initialized
[   25.411126] SELinux:  Disabled at boot.
[   25.411187] Mount-cache hash table entries: 512
[   25.411668] CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000 00000000 00000000 00000000
[   25.411698] CPU: After vendor identify, caps: 0387f9ff 00000000 00000000 00000000 00000000 00000000 00000000
[   25.411734] CPU: L1 I cache: 16K, L1 D cache: 16K
[   25.411744] CPU: L2 cache: 512K
[   25.411754] CPU serial number disabled.
[   25.411763] CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000
[   25.411833] Checking 'hlt' instruction... OK.
[   25.427165] SMP alternatives: switching to UP code
[   25.427542] Freeing SMP alternatives: 16k freed
[   25.427976] checking if image is initramfs... it is
[   27.440391] Freeing initrd memory: 5563k freed
[   27.440417] CPU0: Intel Pentium III (Katmai) stepping 03
[   27.440439] SMP motherboard not detected.
[   27.440449] Local APIC not detected. Using dummy APIC emulation.
[   27.440716] Brought up 1 CPUs
[   27.440789] migration_cost=0
[   27.441922] NET: Registered protocol family 16
[   27.442037] EISA bus registered
[   27.444112] PCI: PCI BIOS revision 2.10 entry at 0xed8a8, last bus=1
[   27.444134] PCI: Using configuration type 1
[   27.444143] Setting up standard PCI resources
[   27.448483] ACPI: Interpreter disabled.
[   27.448500] Linux Plug and Play Support v0.97 (c) Adam Belay
[   27.448530] pnp: PnP ACPI: disabled
[   27.448543] PnPBIOS: Scanning system for PnP BIOS support...
[   27.448595] PnPBIOS: Found PnP BIOS installation structure at 0xc00f7ce0
[   27.448609] PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x6338, dseg 0xf0000
[   27.455035] PnPBIOS: 18 nodes reported by PnP BIOS; 18 recorded by driver
[   27.455213] PCI: Probing PCI hardware
[   27.455227] PCI: Probing PCI hardware (bus 00)
[   27.455855] PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
[   27.456002] PCI quirk: region f800-f83f claimed by PIIX4 ACPI
[   27.456015] PCI quirk: region fc00-fc0f claimed by PIIX4 SMB
[   27.456284] Boot video device is 0000:01:00.0
[   27.458055] PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:14.0
[   27.683234] pnp: 00:12: ioport range 0x15c-0x15d has been reserved
[   27.683248] pnp: 00:12: ioport range 0x4d0-0x4d1 has been reserved
[   27.683268] pnp: 00:13: ioport range 0xf800-0xf81f has been reserved
[   27.683280] pnp: 00:13: ioport range 0xf820-0xf83f has been reserved
[   27.683293] pnp: 00:13: ioport range 0xfc00-0xfc0f has been reserved
[   27.684298] PCI: Bridge: 0000:00:01.0
[   27.684312]   IO window: 1000-1fff
[   27.684325]   MEM window: 40000000-400fffff
[   27.684337]   PREFETCH window: 41000000-41ffffff
[   27.684427] NET: Registered protocol family 2
[   27.722373] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[   27.722778] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[   27.723390] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[   27.723698] TCP: Hash tables configured (established 16384 bind 8192)
[   27.723710] TCP reno registered
[   27.726672] audit: initializing netlink socket (disabled)
[   27.726715] audit(1162932980.640:1): initialized
[   27.727258] VFS: Disk quotas dquot_6.5.1
[   27.727344] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   27.727555] Initializing Cryptographic API
[   27.727574] io scheduler noop registered
[   27.727602] io scheduler anticipatory registered
[   27.727629] io scheduler deadline registered
[   27.727682] io scheduler cfq registered (default)
[   27.727700] Limiting direct PCI/PCI transfers.
[   27.728487] isapnp: Scanning for PnP cards...
[   28.082922] isapnp: No Plug & Play device found
[   28.210098] Real Time Clock Driver v1.12ac
[   28.210383] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[   28.210698] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   28.211122] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
[   28.212874] 00:03: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   28.213575] 00:04: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
[   28.214994] mice: PS/2 mouse device common for all mice
[   28.218033] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[   28.218691] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[   28.218708] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[   28.219348] PNP: PS/2 Controller [PNP0303,PNP0f0e] at 0x60,0x64 irq 1,12
[   28.220810] serio: i8042 AUX port at 0x60,0x64 irq 12
[   28.220891] serio: i8042 KBD port at 0x60,0x64 irq 1
[   28.221552] EISA: Probing bus 0 at eisa.0
[   28.221579] Cannot allocate resource for EISA slot 1
[   28.221589] Cannot allocate resource for EISA slot 2
[   28.221639] EISA: Detected 0 cards.
[   28.221999] TCP bic registered
[   28.222035] NET: Registered protocol family 1
[   28.222058] NET: Registered protocol family 8
[   28.222067] NET: Registered protocol family 20
[   28.222147] Using IPI No-Shortcut mode
[   28.223522] Freeing unused kernel memory: 308k freed
[   28.262085] input: AT Translated Set 2 keyboard as /class/input/input0
[   29.594770] Capability LSM initialized
[   31.207452] PIIX4: IDE controller at PCI slot 0000:00:14.1
[   31.207498] PIIX4: chipset revision 1
[   31.207507] PIIX4: not 100% native mode: will probe irqs later
[   31.207532]     ide0: BM-DMA at 0x2040-0x2047, BIOS settings: hda:DMA, hdb:pio
[   31.207567]     ide1: BM-DMA at 0x2048-0x204f, BIOS settings: hdc:DMA, hdd:pio
[   31.207593] Probing IDE interface ide0...
[   31.492771] hda: WDC AC36400L, ATA DISK drive
[   32.164668] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[   32.165300] Probing IDE interface ide1...
[   32.900260] hdc: COMPAQ CR-588, ATAPI CD/DVD-ROM drive
[   33.236270] ide1 at 0x170-0x177,0x376 on irq 15
[   33.263155] hda: max request size: 128KiB
[   33.263174] hda: 12594960 sectors (6448 MB) w/256KiB Cache, CHS=13328/15/63, UDMA(33)
[   33.263194] hda: cache flushes not supported
[   33.263306]  hda: hda1 hda2 < hda5 >
[   33.340077] hdc: ATAPI 32X CD-ROM drive, 128kB Cache, DMA
[   33.340107] Uniform CD-ROM driver Revision: 3.20
[   33.977234] usbcore: registered new driver usbfs
[   33.978919] usbcore: registered new driver hub
[   33.988679] USB Universal Host Controller Interface driver v3.0
[   33.990435] PCI: Found IRQ 11 for device 0000:00:14.2
[   33.990457] PCI: Sharing IRQ 11 with 0000:00:10.0
[   33.990500] uhci_hcd 0000:00:14.2: UHCI Host Controller
[   33.991341] uhci_hcd 0000:00:14.2: new USB bus registered, assigned bus number 1
[   33.991398] uhci_hcd 0000:00:14.2: irq 11, io base 0x00002020
[   33.992186] usb usb1: configuration #1 chosen from 1 choice
[   33.992725] hub 1-0:1.0: USB hub found
[   33.992765] hub 1-0:1.0: 2 ports detected
[   34.226988] Attempting manual resume
[   34.352293] kjournald starting.  Commit interval 5 seconds
[   34.352340] EXT3-fs: mounted filesystem with ordered data mode.
[   59.531548] parport: PnPBIOS parport detected.
[   59.531681] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[   59.567232] Linux agpgart interface v0.101 (c) Dave Jones
[   59.582416] agpgart: Detected an Intel 440BX Chipset.
[   59.588736] agpgart: AGP aperture is 64M @ 0x44000000
[   59.619005] e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
[   59.619020] e100: Copyright(c) 1999-2005 Intel Corporation
[   59.619181] PCI: Found IRQ 11 for device 0000:00:12.0
[   59.642390] e100: eth0: e100_probe: addr 0x40200000, irq 11, MAC addr 00:08:C7:25:39:35
[   60.450475] Floppy drive(s): fd0 is 1.44M
[   60.474711] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[   60.476083] FDC 0 is a National Semiconductor PC87306
[   60.507158] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   60.522294] piix4_smbus 0000:00:14.3: Found 0000:00:14.3 device
[   62.379401] input: PC Speaker as /class/input/input1
[   63.522880] input: ImPS/2 Logitech Wheel Mouse as /class/input/input2
[   63.640586] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
[   63.672237] ts: Compaq touchscreen protocol output
[   64.575361] lp0: using parport0 (interrupt-driven).
[   64.706236] Adding 297160k swap on /dev/disk/by-uuid/fcc099ae-2f22-4a76-b754-d4faa0ca4a50.  Priority:-1 extents:1 across:297160k
[   64.743956] NET: Registered protocol family 17
[   64.835386] EXT3 FS on hda1, internal journal
[   66.059695] NET: Registered protocol family 10
[   66.060025] lo: Disabled Privacy Extensions
[   66.060620] IPv6 over IPv4 tunneling driver
[   76.427506] eth0: no IPv6 routers present
[   82.637193] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
[   93.937657] Bluetooth: Core ver 2.8
[   93.937677] NET: Registered protocol family 31
[   93.937686] Bluetooth: HCI device and connection manager initialized
[   93.937728] Bluetooth: HCI socket layer initialized
[   94.025756] Bluetooth: L2CAP ver 2.8
[   94.025772] Bluetooth: L2CAP socket layer initialized
[   94.060851] Bluetooth: RFCOMM socket layer initialized
[   94.060896] Bluetooth: RFCOMM TTY layer initialized
[   94.060905] Bluetooth: RFCOMM ver 1.7

syslogin viimeinen tapahtuma

Nov  7 23:11:54 compaq-linux anacron[4035]: Normal exit (0 jobs run)

eipä nämä paljon minulle sano, muuta kuin että ei ainakaan jää mikään työ juoksemaan.......

raimo

  • Käyttäjä
  • Viestejä: 4165
  • openSUSE Tumbleweed
    • Profiili
Re: xubuntu ei sulje konetta
« Vastaus #3 : 08.11.06 - klo:00.08 »
Tässä se voisi olla:
Koodia: [Valitse]
[17179569.184000] ACPI: BIOS age (1998) fails cutoff (2000), acpi=force is required to enable ACPI
[17179569.184000] ACPI: Disabling ACPI support
[17179569.184000] Allocating PCI resources starting at 20000000 (gap: 18000000:e7fc0000)
[17179569.184000] Built 1 zonelists
[17179569.184000] Kernel command line: root=/dev/hda1 ro quiet splash
[17179569.184000] Local APIC disabled by BIOS (or by default) -- you can enable it with "lapic"
eli vähän vihjailee että ei halua käyttää ACPI:a koska BIOS on liian vanha.
johon sitten muka voisi kokeilla boot-parametriä acpi=force
Empä tiedä, no sitähän tietenkin on helpohko kokeilla, Grub -menussa valikoitse ko. kohta josta tämä Ubuntu käynnistetään, paina e ja valitse kernel rivi (tms), paina taas e ja lisää riville acpi=force paina Enter ja sitten b jolloin kone käynnisttyy. (kirjoitettu ulkomuistista Windowsissa, mutta jotenkin noin) :)

Tuo ei tallenna sitä /boot/grub/menu.lst tiedostoon, sinne se pitää sitten itse lisätä jos auttaa.
Vaan mikäpä se oli tuo APIC sitten, en muista?

BIOS-päivitys saattaisi auttaa sekin? (ehkä ei kannata koska 6.06 toimii)

Eli, kauheasti ei kuitenkaan varmaan kannata taistella kun kerran 6.06 toimii?

edit: http://en.wikipedia.org/wiki/Intel_APIC_Architecture
Tuohan se APIC on, ei varmaan liittyne tähän ongelmaan.

ACPI kuitenkin liittyy, mutta varovainen kannattaa olla aina,
yhtään ei tiedä mitä se tekee kun forcella pakottaa päälle.
Tuskin nyt mitään mahdottoman pahaa kuitenkaan, vaikka mistä näistä tietää, vanhoista vehkeistä. ;)

Suomennos: asenna 6.06 takaisin jos et halua riskeerata mitään.


« Viimeksi muokattu: 08.11.06 - klo:00.38 kirjoittanut raimo »
Tietä käyden tien on vanki. Vapaa on vain umpihanki.
Aaro Hellaakoski

Jallu59

  • Käyttäjä
  • Viestejä: 3430
    • Profiili
Re: xubuntu ei sulje konetta
« Vastaus #4 : 09.11.06 - klo:00.23 »
Mulla ainakin kotikone lakkasi sammumasta, kun vaihdoin Dapperin kernelin 386:sta 686:seksi. oiskohan sulla sama syy (sulla Dapperinssa 386- ja Edgyssä 686-kerneli? ACPI:n forcettamista en ole kokeillu, täytyypä tehdä se viikonloppuna, kun pääsen takaisin kotikonnuille.

T Jallu59
Jari J. Lehtinen, Wanhempi (iki?)tietoteekkari & tietotekniikkakonsultti Turust, P4-HT / 3,0 GHz, Intel945 IGP 226MB & 4GBram & UbuntuStudio 14.04. Toshiba Satellie 50-C, i5 dual-core 2,3GHz, ubuntu-mate 16.04 LTS

Judanssi

  • Käyttäjä
  • Viestejä: 28
    • Profiili
Re: xubuntu ei sulje konetta
« Vastaus #5 : 18.11.06 - klo:01.16 »
Onkohan tähän löytynyt ratkaisua? Itsellänikin Ubuntu 6.06LTS ja 686SMP -kernel, eikä kone sammu eikä buuttaa. Kernelin tarkempaa tyyppiä en tähän hätään pääse katsomaan, ku kone kippas jonkun koettaessa hakkeroida sinne sisäänpääsyä :)

No pääsinpähän tekemään abuse-ilmoitusta oikein jaappaniin asti  ::)

raimo

  • Käyttäjä
  • Viestejä: 4165
  • openSUSE Tumbleweed
    • Profiili
Re: xubuntu ei sulje konetta
« Vastaus #6 : 19.11.06 - klo:00.54 »
Tietä käyden tien on vanki. Vapaa on vain umpihanki.
Aaro Hellaakoski