Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ivman ei toimi [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Finnish
View previous topic :: View next topic  
Author Message
Obi-Lan
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 230
Location: Riihimäki

PostPosted: Fri Apr 08, 2005 5:38 am    Post subject: Ivman ei toimi [solved] Reply with quote

Asentelin tossa HAL, D-BUS ja Ivmanin tämän ohjeen mukaan: http://gentoo-wiki.com/HOWTO_ivman.

Ainoa ongelma vain, että se ei toimi. Muutin /etc/ivman/IvmConfigBase.xml tiedostosta fork=disabled ja debug true, ja käynnistin ivman niin se antoi seuraavanlaista:
Code:

Gentoo init.d # ./hald start
 * Starting D-BUS system messagebus...                                  [ ok ]
* Starting Hardware Abstraction Layer daemon...                         [ ok ]
Gentoo init.d # ./ivman start
 * Starting Automounter...
8755: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file dbus-message.c line 1723.
This is normally a bug in some application using the D-BUS library.
libhal.c 1856 : Couldn't allocate D-BUS message


Koitin jo googlettaa ja käyttää forumin searchia asiasta, mutta en löytänyt mitään asiaan liittyvää. Tämän jälkeen vielä kun koitat pysäyttää, käynnistää tai uudelleenkäynnistää ivmanin tulee seuraavaa:

Code:

Gentoo init.d # ./ivman stop
 * Stopping Automounter...
No process in pidfile `/var/run/ivman.pid' found running; none killed.    [ !! ]

Gentoo init.d # ./ivman start
 * WARNING:  "ivman" has already been started.

Gentoo init.d # /etc/init.d/ivman restart
 * Stopping Automounter...
No process in pidfile `/var/run/ivman.pid' found running; none killed.    [ !! ]


Kellään mitään hajuakaan asiasta?


Last edited by Obi-Lan on Tue Apr 12, 2005 9:13 am; edited 1 time in total
Back to top
View user's profile Send private message
vrln
Guru
Guru


Joined: 11 Sep 2004
Posts: 534
Location: Finland

PostPosted: Fri Apr 08, 2005 9:04 am    Post subject: Reply with quote

Ei mitään tietoa itse tuosta ongelmasta, mutta yritin itse joskus pari kuukautta sitten saada toimimaan tuota ivman - enkä koskaan onnistunut, jotenkin joku juttu bugas aina. Onnistuin saamaan sen niin et data cd:t mountataan itsestään mutta sitten se mounttas kanssa audio cd:t ja vielä niin ettei sitä saanu unmountattua lainkaan.
_________________
Interested in E17? Get Enlightened by reading the user guide.
Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Fri Apr 08, 2005 9:23 am    Post subject: Reply with quote

Sillon kun debuggaat ivmania, niin älä käynnistä sitä init-scriptillä, sillä se heittää kaiken hyödyllisen /dev/null:iin. Pelkkä
Code:
# ivman
antaa paljon enemmän informaatiota.
_________________
We are all in the gutter, but some of us are looking at the stars.
Join Einstein@Home GLUE-team
Back to top
View user's profile Send private message
Obi-Lan
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 230
Location: Riihimäki

PostPosted: Fri Apr 08, 2005 2:28 pm    Post subject: Reply with quote

No ite ivman kertoo seuraavaa:

Code:

Gentoo root # ivman
Ikke's Volume Manager, http://ivman.sf.net
10047: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file dbus-message.c line 1723.
This is normally a bug in some application using the D-BUS library.
libhal.c 1856 : Couldn't allocate D-BUS message
IvmConfigActions.c:42 (ivm_device_is_mountable) (null) can't be mounted because it is not a block device
Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Fri Apr 08, 2005 2:59 pm    Post subject: Reply with quote

Täällä tulee ihan samat virheilmotukset, mutta Ivman toimii ihan normaalisti. Eli ongelma ei ole niissä.

Kokeileppa pistää cd cd-asemaan ja kato mitä tapahtuu. Noista sun virheilmotuksista päätellen ivman kaatuu aina jossain vaiheessa ja epäilenpä että se tapahtuu silloin kun se yrittää mountata jotain levyä.
_________________
We are all in the gutter, but some of us are looking at the stars.
Join Einstein@Home GLUE-team
Back to top
View user's profile Send private message
Obi-Lan
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 230
Location: Riihimäki

PostPosted: Fri Apr 08, 2005 3:50 pm    Post subject: Reply with quote

Eipä mounttaa kumpaakaa CD tai DVD levy asemaa dvd:l tai cd:l. Mutta ivman kyllä pysyy tuolla prosessilistauksessa koko aja eli se ei ilmeisesti kaadukkaa? Puuttusko jotain conffeja jostain? FSTAB:in sisältö asemien osalta:

Code:

/dev/hdc        /mnt/cdrom0     iso9660         noauto,ro       0 0
/dev/hdd        /mnt/cdrom1     iso9660         noauto,ro       0 0


Pitäiskö noita ivmanin omia conffeja jotenkin sorkkia vai ovatko ne asennuksen jäljiltä jo OK?
Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Fri Apr 08, 2005 5:04 pm    Post subject: Reply with quote

Niiden conffien pitäis olla oletuksena ihan toimivia. Kannattaa kuitenkin tarkistaa, että IvmConfigActions.xml sisältää ainakin seuraavat rivit:
Code:
    <!-- unlock all removable devices - harmless for devices without tray locking -->
    <ivm:Match name="storage.removable" value="true">
        <ivm:Option name="unlock" value="true" />
    </ivm:Match>

    <!-- try to mount any mountable volume at all -->
    <ivm:Match name="ivm.mountable" value="true">
        <ivm:Option name="mount" value="true" />
    </ivm:Match>


Kannattaa myös kattoa 'lshal' komennolla, että noi hdc ja hdd on siellä listassa ja että ne on kunnossa.
_________________
We are all in the gutter, but some of us are looking at the stars.
Join Einstein@Home GLUE-team
Back to top
View user's profile Send private message
Obi-Lan
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 230
Location: Riihimäki

PostPosted: Fri Apr 08, 2005 7:44 pm    Post subject: Reply with quote

ivmanin conffi näyttää olevan kunnossa, mutta pitäskö ton lshal:in kertoa hdc ja hdd suoraan niiden nimillä, seuraavat viittaukset kysesiin laitteisiin löysin, mutten muuta:

Code:

udi = '/org/freedesktop/Hal/devices/ide_1_0'
  info.udi = '/org/freedesktop/Hal/devices/ide_1_0'  (string)
  info.product = 'IDE device (master)'  (string)
  ide.channel = 0  (0x0)  (int)
  ide.host = 1  (0x1)  (int)
  info.parent = '/org/freedesktop/Hal/devices/ide_host_1'  (string)
  ide.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:0f.1/ide1/1.0'  (string)
  linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:0f.1/ide1/1.0'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:0f.1/ide1/1.0'  (string)
  info.bus = 'ide'  (string)

udi = '/org/freedesktop/Hal/devices/ide_1_1'
  info.udi = '/org/freedesktop/Hal/devices/ide_1_1'  (string)
  info.product = 'IDE device (slave)'  (string)
  ide.channel = 1  (0x1)  (int)
  ide.host = 1  (0x1)  (int)
  info.parent = '/org/freedesktop/Hal/devices/ide_host_1'  (string)
  ide.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:0f.1/ide1/1.1'  (string)
  linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:0f.1/ide1/1.1'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:0f.1/ide1/1.1'  (string)
  info.bus = 'ide'  (string)

Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Sat Apr 09, 2005 9:44 am    Post subject: Reply with quote

Ne varsinaiset asemat pitäis löytyä lshal:sta '/org/freedesktop/Hal/devices/block_*_*' udi:lla. Multa ne löytyy vastaavien ide-kenttien yläpuolelta, mutta jos ne ei oo siinä niin niiden pitäisi löytyä kun etsii lshal:n tulosteesta esimerkiksi seuraavaa kenttää:
Code:
storage.physical_device = '/org/freedesktop/Hal/devices/ide_1_0'

_________________
We are all in the gutter, but some of us are looking at the stars.
Join Einstein@Home GLUE-team
Back to top
View user's profile Send private message
Obi-Lan
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 230
Location: Riihimäki

PostPosted: Sun Apr 10, 2005 4:49 pm    Post subject: Reply with quote

Eipä löydy tommosia :?
Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Mon Apr 11, 2005 11:52 am    Post subject: Reply with quote

Aika outoa. Enpä tiedä mikä tohon auttais, joten kerron, että miten mulla on saatu noi cd:t toimimaan.

Ensinnäkin oon tehny udev semmosen säännön, että se pistää noi cd asemat /dev:n cdrom0:na ja cdrom1:nä. Seuraava pätkä löytyy /etc/udev/rules.d/10-local-udev.rules tiedostosta:
Code:
BUS="ide", KERNEL="hdc", NAME="cdrom0", SYMLINK="dvd"
BUS="ide", KERNEL="hdd", NAME="cdrom1"

Seuraavaksi mulla on fstabissa cd:n mounttaukset seuraavasti(yllätys, yllätys :D):
Code:
/dev/cdrom0      /mnt/dvd   iso9660      noauto,ro,user      0 0
/dev/cdrom1      /mnt/cdrw   iso9660      noauto,ro,user      0 0

Tämän jälkeen vain asensin hal:n ja ivman:n. Kaikki toimi sen jälkeen ihan ilman mitään kikkailua.

Näkyykö sulla muuten esim. / ja /boot lshalissa tommosina blockeina?
_________________
We are all in the gutter, but some of us are looking at the stars.
Join Einstein@Home GLUE-team
Back to top
View user's profile Send private message
Obi-Lan
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 230
Location: Riihimäki

PostPosted: Tue Apr 12, 2005 9:13 am    Post subject: Reply with quote

Joo kiitti, lisäilin noi muutokset ja sen jälkeen vielä ajoin komennon

Code:

Gentoo / # udevstart


Jotta noi linkit ilmestyi tonne dev-hakemistoon. Nyt mounttailee molemmat asemat, tosin dvd-asema mounttaa vain dvd levyt jostain syystä.

Pitäskö ton udev:in käynnistyä joka bootis automaattisesti vai pitääkö se käynnistää aina tolla komennolla?
Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Tue Apr 12, 2005 3:33 pm    Post subject: Reply with quote

Udev käynnistyy aina bootissa. eli sitä ei tarvitse käynnistää erikseen.

Aika jännä että toi autto. Olisin uskonut, että hal ja ivman kuitenkin tajuais että hdc ja hdd oli cd/dvd-asemia...
_________________
We are all in the gutter, but some of us are looking at the stars.
Join Einstein@Home GLUE-team
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Finnish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum