The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Just when I tought I had a working Ubuntu 9.04 G50Vt :frown:

    Discussion in 'Linux Compatibility and Software' started by joeelmex, Jun 22, 2009.

  1. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    Well just when I thought I had a working Ubuntu 9.04 64 bit system finally working I come to a major problem. I have yet to try to use the DVD drive and now that I did I wish I haven't. At the beginning everything is working, I can read the files and so forth. When you try to unmount the DVD or CD thats when the problem begins. If I unmount the drive first, the drive wont stop spinning and the only way to stop it is by turning off the laptop. If I just reboot its still spinning at the bios screen so at that point i turn it off.

    If I eject the CD without unmounting it, the drive stop spinning but it wont eject. No matter what I do, I tried different commands commands in the terminal found in the Ubuntu forums and no luck at all. I get the following errors.

    Cannot unmount volume an application is preventing the volume from being unmounted.

    DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending

    This is on my G50Vt laptop and I have it running in raid 0. This transition from Vista to Ubuntu has been MUCH harder then what I tought it was going to be.

    I appreciate any advice. :frown: :frown: :frown:
     
  2. archer7

    archer7 Notebook Evangelist

    Reputations:
    289
    Messages:
    647
    Likes Received:
    0
    Trophy Points:
    30
    Now is the time to RAGE AGAINST THE HAL DEVELOPERS.
     
  3. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    Does that mean I just have to wait till an update comes out?
     
  4. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    You could try sudo /etc/init.d/dbus restart and then try opening the drive again. That's a ridiculous problem -- I've never heard of that! :)

    Edit: If you restart dbus and you're using gnome with network manager you'll probably have to hit alt+f2 and type pkill nm-applet, hit alt+f2 again and type nm-applet. You may also lose your desktop icons, hit alt+f2 and run nautilus
     
  5. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    I'm at work right now but I'll try it when I go back home. The more and more I think about it maybe I should have gone with the more stable version of 8.10. You know I don't have much hair to loose and since I started this process I think I have lost about 50. LoL.
     
  6. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    try that or reinstall...I've never heard of that....sounds like an install glitch maybe....stay with 9.04 btw.
     
  7. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    Zoid by re-installing will it screw up the stuff i have installed allready??
    With more testing now that I am home, the drive will read a couple of files but the more i go into folders the drive stops reading and responding. The Ubuntu says there is no media inside. The drive stays spinning.
     
  8. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    I type mount on the terminal and this is what I get, you all mind taking a look and seeing if everything looks normal..

    Code:
    /dev/mapper/isw_ecajaahjbj_G50Vt2 on / type ext3 (rw,relatime,errors=remount-ro)
    tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
    varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
    udev on /dev type tmpfs (rw,mode=0755)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
    fusectl on /sys/fs/fuse/connections type fusectl (rw)
    lrm on /lib/modules/2.6.28-13-generic/volatile type tmpfs (rw,mode=755)
    /dev/mapper/isw_ecajaahjbj_G50Vt3 on /home type ext3 (rw,relatime)
    securityfs on /sys/kernel/security type securityfs (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    /home/joeelmex/.Private on /home/joeelmex type ecryptfs (ecryptfs_sig=d3b4ad13b9435ffd,ecryptfs_fnek_sig=fa31ebbcb7c079f6,ecryptfs_cipher=aes,ecryptfs_key_bytes=16)
    gvfs-fuse-daemon on /home/joeelmex/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=joeelmex)
     
  9. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    I don't see anything related to ur CD-ROM? Was it not mounted at the time? Everything else looks normal to me at a quick glance.

    Did restarting dbus help anything?
     
  10. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    No restarting Dbus did nothing. I am certain is something to do with Ubuntu now. I went ahead and re-installed it. Had it format the partiotions and I just booted up. NEw instalation of Ubuntu no updates nothing installed I am getting the same result. So that tells me that my first install I did have it correct.

    Hmm dont know what else to try to make Ubuntu work.
     
  11. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    Well i made a small discovery still not a fix but not i can read a cd for a long time and unmount it. I made a change in fstab file in the etc directory. This is my fstab file info
    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'vol_id --uuid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # / was on /dev/mapper/isw_ecajaahjbj_G50Vt2 during installation
    UUID=4110c9ff-4da4-437a-a1b7-51cabaf604db /               ext3    relatime,errors=remount-ro 0       1
    # /home was on /dev/mapper/isw_ecajaahjbj_G50Vt3 during installation
    UUID=f3cef321-0710-45b3-8b28-c6fa9896b5bd /home           ext3    relatime        0       2
    # swap was on /dev/mapper/isw_ecajaahjbj_G50Vt1 during installation
    UUID=3d60d2e9-e203-4162-ad8b-c3524c4acd58 none            swap    sw              0       0
    /dev/scd1       /media/cdrom0   udf,iso9660,noauto,exec,utf8 0       0

    The last low /dev/scd1 was scd0. When I change it to 1 it made a big difference but I still have issues when I try to mess with a second cd.
     
  12. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    Hmm, first i hear about problem like this.
    Couple of Q.
    Have you tried to run windows on your ntb previously, before inst. of linux? CD/DVD was OK, so that HW problem is out of Q?
    Also, looks to me like some process is using the device (like some app trying to access it without permissions and got stuck)?
    I'd try
    lsof /dev/cdrom or
    fuser /dev/cdrom
    (try man page for those commands to find attributes to more 'honey' them) and insert that crazy 'sudo' everywhere (not *buntu user) :)).
    If You find some process using it, kill it.
    Other thought - some news in /var/log/messages?
    in terminal i'd try to:
    tail -f /var/log/messages
    and then try to mess with the device (open it, access it ...) and see if something shows there, if it does, try to post it here ....
    Other thought - is ubuntu packing SElinux? Could be trouble too? If it is, try to switch it off.
    Q for you:
    You have 2 hdd's on your ntb? Just wondering why you run stripping (raid 0) on you HDD ...
     
  13. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    helikaon to answer your questions:

    I had Vista before Ubuntu and never had an issue with the drive. Also the installation is all happenning from the drive and everything installs without a glitch.

    2nd questions, yes I have 2 320gig 7200rpm HD in my laptop and I strip them in raid 0 in the bios before installation. I am going to try a clean install of Debian, and see if I have the same issue tonight when I get home from work.

    Like I previous posted a clean install from Ubuntu has the problem at boot up.
     
  14. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    NEW FINDING!! Still not resolve but

    I was trying to install DEbian and after the raid is setup, after the initial files are set, It then tried to mount the CDRom drive and BAM! It cant mount it it send reset commands to the drive and still no dice. Finally gives an error and resets. My conclusion is I think the raid is somehow screwing up the I/O on the CD-Rom for some reason.

    I also notice during partitioning in the alt f4 screen I see some errors pop out DM-raid missing parameters and things of that matter. So my luck in Debian is a no go with Raid.

    I have a feeling that if I would just disable the raid everything will work normally, I would not have the issues that I am having now. I have lost so much hair on this project Im going to be homer soon.

    Basically, before the raid is mounted everything is fine with CDrom once the raid is mounted, CD-ROm issues, start happening. When I go to a terminal by pressing alt-f2 if I type mount, I see the raid drives and Sata CDrom all mounted. When CDrom works without problems at the begining of install, I type mount, I see no raid drives.

    I am thinking what else to try now. I am open to any ideas...
     
  15. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    Verified the problem, with DMRAID enabled and my bios setup for RAID for some reason Ubuntu and Debian are having a hard time talking to the cd rom once the raid is enables. For testing I set up NON-RAid non DMraid install and everything worked great on the cdrom. I unmounted mounted ejected cd's without a glitch. So the million dollar question what should I do???

    Ill stick with Ubuntu with RAID and toss the CD-Rom. Hopefully a fix will come out or worse case scenerio if I really need a DVD player I can use the external one I have for the girls Acerone laptops I got them.
     
  16. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    Hi,
    perhaps didnt get it clear - you said you use raid enabled in bios, so that means you got some kind of HW raid controller? Or you use the SW raid from linux.
    The HW raid shouldnt give you such troubles, if so, then its hw problem.
     
  17. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    Helikaon yes I had a G50vt laptop and it has a build in intel raid controller. I was not using LVM to make a software raid within Linux. Thats the reason I install Ubuntu with dmraid=true before installation so it will enable the raid controller and see the stripe0 partition.
     
  18. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    these are the messeages I got from the logs.

    Code:
    Jun 26 21:06:36 R2D2 kernel: [10857.816212] ata2: hard resetting link
    Jun 26 21:06:41 R2D2 kernel: [10863.180154] ata2: link is slow to respond, please be patient (ready=0)
    Jun 26 21:06:46 R2D2 kernel: [10867.828168] ata2: hard resetting link
    Jun 26 21:06:51 R2D2 kernel: [10873.188153] ata2: link is slow to respond, please be patient (ready=0)
    Jun 26 21:06:56 R2D2 kernel: [10877.844143] ata2: hard resetting link
    Jun 26 21:07:01 R2D2 kernel: [10883.208117] ata2: link is slow to respond, please be patient (ready=0)
    Jun 26 21:07:31 R2D2 kernel: [10912.876630] ata2: limiting SATA link speed to 1.5 Gbps
    Jun 26 21:07:31 R2D2 kernel: [10912.876636] ata2: hard resetting link
    Jun 26 21:07:36 R2D2 kernel: [10917.900170] ata2.00: disabled
    Jun 26 21:07:36 R2D2 kernel: [10917.900190] ata2: EH complete
    
    in the logs
     
  19. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    More logs of the erros i see

    var/log/mesasages

    Code:
    Jun 26 21:06:36 R2D2 kernel: [10857.816212] ata2: hard resetting link
    Jun 26 21:06:41 R2D2 kernel: [10863.180154] ata2: link is slow to respond, please be patient (ready=0)
    Jun 26 21:06:46 R2D2 kernel: [10867.828168] ata2: hard resetting link
    Jun 26 21:06:51 R2D2 kernel: [10873.188153] ata2: link is slow to respond, please be patient (ready=0)
    Jun 26 21:06:56 R2D2 kernel: [10877.844143] ata2: hard resetting link
    Jun 26 21:07:01 R2D2 kernel: [10883.208117] ata2: link is slow to respond, please be patient (ready=0)
    Jun 26 21:07:31 R2D2 kernel: [10912.876630] ata2: limiting SATA link speed to 1.5 Gbps
    Jun 26 21:07:31 R2D2 kernel: [10912.876636] ata2: hard resetting link
    Jun 26 21:07:36 R2D2 kernel: [10917.900170] ata2.00: disabled
    Jun 26 21:07:36 R2D2 kernel: [10917.900190] ata2: EH complete
    
    Gnome will give out errors of it cant be mounted and something else. Please help me figure this out, I cant think of anything else to try.

    here is what shows when i type mount after my cdrom stops workings


    more info on the failing

    Ubuntu 9.04 64 bit
     
  20. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    See this bug. I've also had this problem on a desktop ASUS SATA DVD drive, I think it is something to do with the firmware and the driver not playing well together. Not sure this helps but at least you know you're not alone. The ASUS SATA DVD I had this problem with doesn't stay spinning like yours but it would stop working or delay the kernel from loading and produce the same error message.
     
  21. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    ALLurgroceries, you should change your nick to allurguru!! That seems to be the problem. With reading the post it looks like they are quite a bit of Asus laptops with Lite on DVD drives. I have a Lite On DVD drive. You have a Blueray if Im not mistaken which could explain why you dont have any issues! I am heading to New Orleans for work on Tuesday, and will be back on Sunday. I will be taking my laptop with me and seeing what else I can find. Also btw I fix the wireless intel nic card. Everything is working great! I am so happy just 1 more little glitch to fix.

    Witch reading more it might be an issue with the firmware on the drive causing the issues in Linux. Now to see if I can find firmware for it..

     
  22. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    Yeah I do have the Blu-ray, probably explains why I don't have that problem, but my buddy's desktop wouldn't boot unless we ripped his ASUS SATA DVD out, even with the latest firmware. So I don't know a way around the problem, irqpoll noacpi and nosmp (boot parameters) do absolutely nothing for this problem, just have to wait for it to get patched I guess :(

    Glad you got the wireless working without freezing, if you pinpointed the problem I'd be interested to know the fix :)

    Edit: BTW we tried 2.6.29.1 and it still had the same problem so AFAIK it's not been fixed yet
     
  23. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    Got this of the Ubuntu Forums from a member pytheas22

    "Those of you having trouble with Intel wireless on 9.04 should please follow the instructions below, which will compile the iwlagn driver from the latest code. This should hopefully fix the issues you're experiencing.

    First, go to http://linuxwireless.org/download/compat-wireless-2.6/ and download the file named compat-wireless-2.6.tar.bz2. Save it to your desktop. Then run these commands to compile and install the new driver:"

    After doing that laptop been running 3 days straight and not even 1 glitch!
    "Other then the DVD-R witch looks like its firmware or kernel which is out of my hands for now"
     
  24. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    Woohoo I found an way newer update firmware for it..

    http://files.rpc1.org/index.php?act=view&id=5619

    unfortunately its an exe file and I no longer have windows. I wonder if its a basic boot and I can make it work of a win98 floppy boot disk
     
  25. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    Oh no! If you get totally stuck, if you have recovery media (or a retail windows installer disc), you can make a BartPE live CD with the firmware upgrader installed (or on a USB stick or over the network, etc) to get that firmware upgraded. I was hopeful with the firmware too, but it didn't help :(
     
  26. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    ...good job guys, interesting thread. :.)
     
  27. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    WE FINALLY DID IT!!!!!!
    AFTER updating the firmware using Bartpe as allurgroceries sugested IT HAS BEEN WORKING without a GLITCH. I am watching a DVD movie as I am typing this. I would be lucky before if i could even see the vob files. WOOHOO!!! I am so HAPPY WE DID IT!!!
     
  28. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    I would like to thank everyone who has helped me trying to figure this one. I really want to sent a special thanks to ALLurGroceries, I probably filled his msg box with all the questions I asked him. So once again thanks for all the help,,
     
  29. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    That is so awesome that the firmware worked, now you don't have to wait for a patch that may never come... you've plowed through a lot of problems so I'm really glad that it paid off for you :)