LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-28-2004, 10:36 PM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
viewing how the kernal assigns hardware


is there any command or dir i can look in that tells me how the kernal assigned my hardware devices if i need to edit them?
 
Old 11-29-2004, 07:30 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
devices are assigned on boot. higher level configuration for each type of device is done within their own configuration files.

what are you actually thinking about trying to edit? want to say your hard drive is actually a tv card?
 
Old 11-30-2004, 02:19 AM   #3
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Re: viewing how the kernal assigns hardware

Quote:
Originally posted by dr_zayus69
is there any command or dir ... that tells me how the kernal assigned my hardware devices ...?
There's plenty of information in /proc to be found. These are only really useful to see how the computer is behaving, not to make any setting changes (settings can usually be changed elsewhere).

cd /proc

cat modules
cat partitions
cat interrupts
cat ioports
cat mounts
cat pci

#(though lspci and lsmod are preferred over reading through pci and modules)

Look around and see if the information you need is in there. Other information on how hardware is auto detected (by hotplug) is sometimes available under /sys, though I do not yet understand how to interpret most of it.

 
Old 11-30-2004, 05:21 PM   #4
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
Quote:
Originally posted by acid_kewpie
devices are assigned on boot. higher level configuration for each type of device is done within their own configuration files.

what are you actually thinking about trying to edit? want to say your hard drive is actually a tv card?
i bought a new cd burner cuz my old one is on the fritz so i will need to edit stuff to get the new one working i assume.
 
Old 11-30-2004, 05:26 PM   #5
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
would i have to change something in fstab to do so? Would i nee to know how the kernal assigns the old cd burner? I know that my dvd rom is hdc but not sure which my cd burner is.
 
Old 11-30-2004, 05:33 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you would change nothing at all. a straight physical swap is all that's needed. just make sure the IDE jumpers are set the same, and you'll never know the difference... an IDE CDRW drive is a 99% generic device. only a few subtlties might ever crop u pusing the buffering protection methods etc.. even then i bet you'l never tell the difference.
 
Old 11-30-2004, 05:37 PM   #7
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
the old one is cd burner, the new one is a combo burner dvd drive? would ii still not need to make any changes? And if i had to/wanted to where would i do that? fstab?
 
Old 11-30-2004, 05:39 PM   #8
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
i read that ATAPI devices should be compatible with linux. This is ATAPI (EIDE) drive. Would that present a problem? I apologize, im a relative noob to Linux and don't have much experience with hardware on any OS If it makes any difference i am running Fedora Core 2 (soon 3)

Last edited by dr_zayus69; 11-30-2004 at 05:43 PM.
 
Old 11-30-2004, 05:39 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well if you did want to change somethign then yes, /etc/fstab would be it.. but there is nothign to change. i assure you...
 
Old 11-30-2004, 11:07 PM   #10
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
I second for acid_kewpie. Put it in and see if it works. If you have any problems, then worry (and post back).

Hardware is auto detected every time the computer is turned on. There are some places where driver settings and such are kept, but I don't think there are any special settings needed for CD or DVD drives.
 
Old 12-01-2004, 09:12 AM   #11
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
i put it in and now when i go to boot it won't load fedora. it says hdc: not ready for command. Last i knew hdc was my dvd rom drive. I have my bios set to boot from cd first but a live cd or install for another distro won't work. I can only interact with the computer through grub and the bios as far as i know. I've tried opeing up the box and making sure teh wires were fully connected. I've tried having the bios detect the drive. I think my only option is a linux distro on floppy that i can use to mess around with settings. I don't care about losing any of the data cuz i was going to install fedora core 3 or mandrake on there anyways, and i wanted to mess around with the partition sizes too. ANy help would be appreciated cuz until i get my box up and running im stuck using windows.
 
Old 12-01-2004, 11:05 PM   #12
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
If the BIOS (CMOS setup) doesn't see the drive, then it is possible, but highly unlikely that the drive is connected properly. I'd check the jumpers on the back of the drive (as acid_kewpie referred to). (If BIOS does see the drive, then ignore this paragraph. It just sounds like it doesn't from you post.)

I find it very odd that changing the drive would prevent linux from booting. At what point does the boot up stop? The exact error, and maybe a line or two above it, would help. Do you have scsi drives (unlikely)? Does linux start to boot at all, or do you think the error is being displayed by GRUB (usually several lines of text on an otherwise black screen before it freezes)?

Without knowing more symptoms, I can only guess. You could disconnect the drive (or even put the other back in temporarily) and check your /boot/grub/menu.lst file (aka /boot/grub/grub.conf) and see if there are any references to hdc or hd2.
 
Old 12-01-2004, 11:12 PM   #13
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
i switched the drive jumpers (dvd rom was on cable select and new one was on master. changed dvd to slave) Prior to changing drives i tried installing Gaim. Afterwards i experienced problems. From the commandline i uninstalled Gaim and got rid of the dirs and rebooted then it worked.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd assigns ip addresses backwards qartis Linux - Networking 5 08-08-2005 06:59 AM
viewing how the kernal assigns hardware. dr_zayus69 Linux - Hardware 1 10-01-2004 05:26 AM
command for viewing hardware stats devinWhalen Linux - Newbie 4 03-02-2004 03:25 PM
window Nt assigns priority internally or by user?Which type of scheduling algorithm u seema General 0 09-26-2003 01:10 AM
Help! Configuring Kernal failed, GRUB can't boot new kernal, help! sabaka Linux - Newbie 4 09-16-2003 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration