Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm completely new to Linux and this is my first attempt at installation. I've run the Debian 40r3-i386-netinst. I'm trying to install an NVidea driver so I can get X11 to work, but I can't get the CD to work, the same CD that installed the O/S. I don't get that.
I have an entry in my FSTAB:
/dev/hda /media/cdrom0 auto rw,user,noauto 0 0
but
sudo mount -t iso9660 /dev/hda /media/cdrom0
results in
special device /dev/hda does not exist
looking in /dev I see many objects including
sda sda1 sda2 sda5 sdb1 fd fd0 but no hda
This "learning" system I built has just one SATA hard drive and on install I used the option "all files in one partition." Nevertheless, udevinfo reports sda1, sda2, & sda5 are all partitions on the SATA HDD. It has one CDROM as master on the lone IDE port with no slave device. There is no floppy.
I tried entering "noapic aspi=off" at the end of the kernal boot line in menu.lst No help.
So if all the stuff I've been reading about how recent distros are much easier to install and configure ... OMG, what was it like before?
mount: can't find /dev/cdrom in /etc/fstab or /etc/mtab
I had read somewhere that the CD would show up as hda because it is on the IDE port, in this case the only device. Also the installer wrote the fstab that way, linking the device /dev/hda to /media/cdrom0.
Whether the device is there or not, working properly or not, I don't understand the mount command continually telling me it's not in the simple text file fstab when you can see it plain as day.
I should also point out that there is no hda in /dev. I have not been able to find a node with which I can pull info from udevinfo either. Am I being obtuse, or can I assume the hardware is working properly since I installed this O/S from it yesterday? Not that the O/S is being very cooperative. Is there a utility to query the IDE port and see what's there?
I did some searching and found some interesting things:
cat /proc/filesystems does not list iso9660
I entered ln -s /dev/hda /dev/cdrom and now on mount /cdrom I get the message:
mount: can't find /media/cdrom0 in /etc/fstab or /etc/mtab
I guess it's pretty obvious that I'm fumbling around, but this is how I've always learned. I just didn't realize I'd signed up to learn so much.
booberandpuzz - it's ok. Modern kernels usually access ATA devices through SCSI emulation. Than /dev/sdb1 is your cdrom.
Actually, if I plug in my USB drive it shows up as sdb1 ... not that I've figured out how to ls or see any of the files on it yet. I've tried and none of the files show up. I tried getting the NVidia driver on the machine that way. I'm kinda 0'fer solving anything on this system yet. I can log in pretty consistently.
Last edited by booberandpuzz; 04-23-2008 at 12:56 AM.
Reason: sp
Now I'm suspicious of the hardware. I tried booting from the PCLinuxOS2007 LiveCD and looking at the progress of the kernal configuration I see:
--- MKLIVECD LINUXRC -------------------
...
<snipped several lines indicating success>
... Probing USB devices:...........[LOADED]
No ide channels found .........[ OK ]
Searching for the loop image:../dev/sda1
.............................../dev/sda2
.............................../dev/sda5
...............................[DONE]
ERROR: Unable to mount the livecd
Dropping you to a limited shell
The /dev/sdaN are the partitions Debian installed on the lone SATA HDD. This system is a new MB/CPU MSI K9NGM4-F V.2 and AMD Athlon 64 LE-1600 I purchased strictly for this Linux project which, I'm sorry to say, isn't going so well thus far. I had successfully booted from Knoppix 5.1.1 before attempting the Debian install.
...
<snipped several lines indicating success>
... Probing USB devices:...........[LOADED]
No ide channels found .........[ OK ]
Searching for the loop image:../dev/sda1
.............................../dev/sda2
.............................../dev/sda5
...............................[DONE]
ERROR: Unable to mount the livecd
Dropping you to a limited shell
The /dev/sdaN are the partitions Debian installed on the lone SATA HDD. This system is a new MB/CPU MSI K9NGM4-F V.2 and AMD Athlon 64 LE-1600 I purchased strictly for this Linux project which, I'm sorry to say, isn't going so well thus far. I had successfully booted from Knoppix 5.1.1 before attempting the Debian install.
The key here is that the ide device is not being seen. If Knoppix located the device and the bios is seeing it correctly then you need to confirm that this definitely the problem. The fstab line should be;
/dev/hda /cdrom .......
If you are in a gui interface open up a root file browser and go look at /var/log/dmesg and look for lines related to ide. If you cannot figure them out let us know as this is where the problem is located.
Well I haven't yet been able to get to a GUI anything, so I did
cat dmesg |less
Here are the lines that look suspicious to me:
Code:
PnPBIOS caused a fatal error (it goes on to recommend booting with pnpbios=off)
PCI:<snip>pcie_portdrv_probe ->Dev[0563:10de] has invalid IRQ. Check vendor BIOS
ide: Assuming 33MHz system bus speeds for PIOmodes; override with idebus=xx
I'm going to see if MSI has an updated BIOS, but I'm not sure yet how I'll get that installed either since I can't seem to see files on the CD or USB.
Update: They have a slightly newer BIOS (3.3) but it doesn't appear in the notes that they changed anything pertinent to my issue. I'll try it anyway. How likely is it that my issue is simply that my MB and chipset (nVidia 7025) are relatively new?
I also just ordered a SATA CD/DVD drive ... we'll see if going around the IDE problem helps.
Last edited by booberandpuzz; 04-23-2008 at 05:49 PM.
Reason: u
Are there no other lines relating to the ide? If it cannot locate the ide channel it should show an error. If it recognises the ide channel it should also pick up the device.
You may need to install the kernel for the nvidia chipset. I have a standard (non-nvidia) motherboard in the same range and it worked from the get-go.
Do an apt-cache search and have a look for the nvidia kernel.
Do an apt-cache search and have a look for the nvidia kernel.
Doing this search turned up nothing so I think you're right. I was looking for documentation on using either apt-get or aptitude to obtain the kernel and I came across another thread for the 7025 chipset. At their suggestion I changed the video driver from "nvidia" to "vesa" in my xorg.conf. I now have a GUI!
I'm currently using synaptic to search for nvidia kernal. Is this the logical next step?
OK, I did get sidetracked a bit. Used now functional USB to bring nvidia x86 driver over and dropped to console to run it. It reports the following:
Code:
No precompiled kernel interface was found to match your kernel.
The nVidia website has some pretty detailed information on driver installation so I'll continue this part of my issue there. But I still can't mount the CD and that seems related to having an nVidia chipset-specific kernel installed. I'm not sure how to even begin this process. Came up empty on the MSI website: only Windows drivers.
After reading quite a bit on the nVidia website I:
1. Regret building a new nVidia system for Linux.
2. Installed make, linux-headers, libc, gcc, pkg-config, xserver-xorg-dev
3. Made sure nvidia-glx /etc/init.d/nvidia-glx and /etc/init.d/nvidia-kernel are not on system.
But all this pertains to the video driver I think. I'm really unclear on the exact relationship between the Linux Kernel, chipset kernel and the hardware and, while I can easily locate, if not correctly install, the display drivers, I can't even locate a file for the nVidia chipset "kernel."
Remember this is where I belong, the n00b section!
Reading yet more posts, I've found that my kernel (2.6.18-6-486) will not support CD/DVD on SATA anyway. For that I'd need 2.6.22 or higher. Am I wasting my time on this? Should I be installing a different, newer distro like Ubuntu 8.04?
Last edited by booberandpuzz; 04-25-2008 at 11:22 AM.
booberandpuzz you are getting side tracked with other issues not related to this problem. Let's stay focussed on the issue which relates to the ide device problem.
You have not given detail that I asked for of the lines in the log file relating to the ide device that are being picked up during the boot phase. The messages that are logged will give us an idea of what the problem is. We need to know what the kernel is seeing and how it is handling the ide channel. Address any other problems related to other devices in another thread.
This "learning" system I built has just one SATA hard drive and on install I used the option "all files in one partition." Nevertheless, udevinfo reports sda1, sda2, & sda5 are all partitions on the SATA HDD. It has one CDROM as master on the lone IDE port with no slave device. There is no floppy.
First thing, if the IDE cable you used has MASTER and SLAVE written on it, make sure the jumper on the cd-rom is set to Cable Select. If the IDE cable has nothing written on it then the jumper should be fine.
Quote:
PnPBIOS caused a fatal error (it goes on to recommend booting with pnpbios=off)
PCI:<snip>pcie_portdrv_probe ->Dev[0563:10de] has invalid IRQ. Check vendor BIOS
ide: Assuming 33MHz system bus speeds for PIOmodes; override with idebus=xx
You may need to go into the bios and disable PnP.
Also post the output of the command dmesg if you can, wrap it in code tags.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.