Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi everyone I have just installed RH9 on my Compaq Evo N1015v and it is now running with a few problems over varying levels of annoyance. I have a few ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    Laptop Teething Problems


    Hi everyone

    I have just installed RH9 on my Compaq Evo N1015v and it is now running with a few problems over varying levels of annoyance.

    I have a few questions:
    1. to get the kernel running i have to set the following options in my grub.conf can anyone explain what they do/are?
    nomce pci=off ide=nodma

    2. My soundcard is incorrectly detected as outlined in a few howtos for my laptop model the trident driver doesn't work. How can i setup the soundcard manually. or disable the trident driver so it will use another.

    3. My ethernet card has not been detected poss due to the pci=off setting? When i try and set this up manually it says that it cannot find the device. What should i do to try and diagnose the problem? Any particular log files, etc. Manually commands?

    4. USB isn't working at all

    cheers

    Kris
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    556
    you are lucky it works at all, compaqs are notoriously awful with linux because of all their proprietary parts.

    anyway, to explain some of the commands you were asking about (from the gentoo install guide):

    Code:
    Available boot options Description
    doataraid loads ide raid modules from initrd
    dofirewire modprobes firewire modules in initrd (for firewire cdroms,etc.)
    dokeymap enable keymap selection for non-us keyboard layouts
    dopcmcia starts pcmcia service
    doscsi scan for scsi devices (breaks some ethernet cards)
    noapm disables apm module load
    nodetect causes hwsetup/kudzu and hotplug not to run
    nodhcp dhcp does not automatically start if nic detected
    nohotplug disables loading hotplug service
    noraid disables loading of evms modules
    nousb disables usb module load from initrd, disables hotplug
    ide=nodma force disabling of dma for malfunctioning ide devices
    cdcache cache the entire runtime portion of cd in ram. This uses 40mb of RAM, but allows you to umount /mnt/cdrom and mount another cdrom

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    That's not good at all. pci=off turns off all PCI functionality, so that no PCI cards will be used. ide=nodma turns off DMA for all IDE drives, which makes IDE access very slow.
    What happened if you didn't set those options?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    without the options

    Well. I need these options during install as Linux (RH, Mandrake, Gentoo, Morphix) won't run from the CD. They boot as far as press enter to install and then cannot locate the CDROM Drive (it appears as hdc but it is not mountable from the command prompt).

    After installing and upgrading the kernel with a custom RPM nicely donated by someone else, X starts working.

    When i remove these options, the kernel panics. I have tried PCI=biosirq and that doesn't work.

    I did read somewhere earlier to try ide=ide-scsi or something like that. I'm gonna try that tomorrow.

    thanks
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  6. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    What panic does it give you. Is it a failover panic or an oops, and what's the exact error?

  7. #6
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    errors

    with just the following options
    nomce ide=nodma

    i get the following:
    Creating root device
    hda: status error: status=0x58 {Drive ready seekcomplete data request}

    hda: drive not ready for command
    hda: status error: status=0x58 {Drive ready seekcomplete data request}

    hda: drive not ready for command
    hda: status error: status=0x58 {Drive ready seekcomplete data request}

    hda: drive not ready for command
    Mounting root filesystem
    hda: status error: status=0x58 {Drive ready seekcomplete data request}

    hda: drive not ready for command
    EXT3-fs: Magic mismatch, Very Wierd!

    mount: error 22 mounting ext3
    pivotroot: pivot_root(/sysroot, /sysroot/initrd) failed : 2
    umount /initrd/proc failed : 2
    Freeing unused kernel memory: 128k freed
    Kernel panic: No init found. Try passing init= option to kernel.

    I have included all the errors coz it appears to me that the final kernel error is due to the fact it can't mount the first drive. hda contains all my partitions including a primary win XP one for dual boot.
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  8. #7
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    possible success

    I have now got some success passing these arguments to the kernel

    nomce pci=nobios

    ethernet now working.

    Still cannot get USB Mouse or soundcard.

    One problem at a time. How can i see if usb is installed correctly and its configuration?
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  9. #8
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    First, post the output of /sbin/lspci here.

  10. #9
    Just Joined!
    Join Date
    Aug 2003
    Posts
    26

    Re: possible success

    Quote Originally Posted by kpzani
    I have now got some success passing these arguments to the kernel

    nomce pci=nobios

    ethernet now working.

    Still cannot get USB Mouse or soundcard.

    One problem at a time. How can i see if usb is installed correctly and its configuration?
    Check this smal article, it might be helpful for USB ....

    http://linuxnewbie.dyndns.org/index....e=getfaq&id=40

    About your soundcard, please dump the output of lspci into one message up here ...

  11. #10
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    problems and answers

    Right then first things first an update. We now have working: Linux with Gnome basics. USB & mouse, touchpad, NTFS support and new VGA driver.

    Ethernet was working but I have been away on holiday and not connected to my network for a week and now it doesn't work soundcard still not working.

    current grub parameters for boot:
    nomce pci=nobios ether=0,0,eth0

    modules.conf contains
    alias usb-controller usb-ohci
    alias eth0 8139cp

    so now we know where we are. Right then output from /sbin/lspci
    Does this list all pci devices by bus id?
    00:00.0 Host bridge: ATI Technologies Inc: Unknown device cab0 (rev 13)
    00:01.0 PCI bridge: ATI Technologies Inc U1/A3 AGP Bridge [IGP 320M] (rev 01)
    00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
    00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
    00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
    00:0f.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
    00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
    00:11.0 Bridge: ALi Corporation M7101 PMU
    01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility U1

    Ok. Now back to the NIC. When i boot its says the device is not present
    lsmod gives me
    Module Size Used by Not tainted
    parport_pc 18756 1

    (autoclean)
    lp 8868 0 (autoclean)
    parport 36480 1

    (autoclean) [parport_pc lp]
    autofs 12948 0 (autoclean) (unused)
    pcmcia_core 56288 0
    ipt_REJECT 3896 6 (autoclean)
    iptable_filter 2380 1 (autoclean)
    ip_tables 14648 2 [ipt_REJECT

    iptable_filter]
    nls_iso8859-1 3484 1 (autoclean)
    ntfs 58304

    1 (autoclean)
    keybdev 2880 0 (unused)
    mousedev 5428

    1
    hid 21700 0 (unused)
    input 5792 0 [keybdev

    mousedev hid]
    usb-ohci 21160 0 (unused)
    usbcore 77696 1

    [hid usb-ohci]
    ext3 69984 2
    jbd

    Which I think shows that the module isn't used. There is a file for the eth0 in network-scripts which looks right. I tried to use insmod but it gave an error so modprobe 8139cp generates this:
    Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
    You may find more information in syslog or the output from dmesg
    /lib/modules/2.4.20-8/kernel/drivers/net/8139cp.o: init_module: No such device
    /lib/modules/2.4.20-8/kernel/drivers/net/8139cp.o: insmod /lib/modules/2.4.20-8/kernel/drivers/net/8139cp.o failed
    /lib/modules/2.4.20-8/kernel/drivers/net/8139cp.o: insmod 8139cp failed

    This all seems very strange to me. Could it be that a hardware thing. Could the usb controller be running on the same irq as the nic thereby stopping it from working.

    What command will list all of the irqs in use?
    I am gonna go and check my bios settings and see if I can manually specify IRQs for stuff or find out what they are.

    thanks in advance

    kris
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •