LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-12-2006, 05:21 AM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Hardware recognition in 10.2


Hi All,

Just currious about a couple things in my new Slack installation. Searched threads and don't find any similar answers.

1. I have two CD/DVD drives, one DVD R/W, the other DVD/CD R/W. Only one is recognized in Slack which can only be mounted by root.

2. I have 1.5GB of physical memory. Slack only recognizes 896MB.

3. I have onboard ethernet and a PCI ehternet card. Only the PCI card is recognized.

4. cdrecord -scanbus returns information about my SATA hard drives. No mention of the CD drive.

5. The system fonts under X are terrible. I have not found a setting to change or improve them. When I installed, I was given a choice of fonts, but they ALL appeared exactly the same, so I just chose the first one on the list.

None of these things are an issue in Fedora, but I really want to get to know Slack and learn from it. Any ideas why these things are not recognized in Slack?

Any help very much appreciated.

Bob
 
Old 03-12-2006, 05:44 AM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
1. Look through the output of dmesg to see what device names are given to the drives, you may need to mount the other dvd drive by using /dev/hdc or whatever name it has been given rather than /dev/dvd

2. Recompile the kernel enabling himem support

3. More information required (chipset) you might need to install some vendor drivers or similar

5. Install some truetype fonts

Have a read of http://www.slackbook.org/html/index.html, to help with some of your more common problems

Edit: compiling and installing a 2.6 kernel may solve a lot of problems if your using more modern hardware

Last edited by phil.d.g; 03-12-2006 at 05:47 AM.
 
Old 03-12-2006, 05:52 AM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you very much. That is very helpful. Just the kind of information I was hoping for...just a link to teach myself.

Bob
 
Old 03-12-2006, 06:04 AM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
The dmesg returns almost entirely information about hotplugging (USB/PCI) and indicates autoprobe failed, no ATAPI devices found.

Not much help there. The Tulip driver seems to control just about everything.

Bob
 
Old 03-12-2006, 06:11 AM   #5
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Hi again Bob

If your CD/DVD drives are IDE devices (which I suspect from the problems you're having with cdrecord), the one that is recognised is probably /dev/hdc (2nd IDE bus, master device), which /dev/cdrom is a symlink to. Note the corresponding line in /etc/fstab. Your second drive is probably /dev/hdd. These are the /etc/fstab lines from one of my systems with a CD-R/W and DVD-ROM:

Code:
/dev/cdrom  /mnt/cdrom  auto  noauto,owner,users  0 0
/dev/hdd    /mnt/dvd    auto  noauto,owner,users  0 0
(had to make the /mnt/dvd directory myself)

Note also the addition of "users" in the 4th column - this allows regular users to mount/umount the drives. The alternative is to add your user to the group that owns the drives (see man groupmod).

Does the onboard NIC show up in the output of lspci -v?

I have had trouble using cdrecord with IDE drives. However, GUI cd burning proggies like k3b have no trouble, so I guess that's more an effect of my inability to correctly use cdrecord .

If you want to install truetype fonts, copy the .ttf files to /usr/X11R6/lib/fonts/TTF/ and run fc-cache.
 
Old 03-12-2006, 06:47 AM   #6
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Oh, sorry I forgot, for the 2.4 kernel series you need to use scsi emulation for your rewriter drives.

http://www.usafirst.net/users/welker/ide-cd_burner.html

I know it says its for Slackware 8, but it is still relevant. Again check dmesg (pipe it through less) to read it all to see which device names are assigned to your burners because I'm pretty sure they weren't scd0 for me back when I used the 2.4 kernel series

For point 4.

Last edited by phil.d.g; 03-12-2006 at 06:48 AM.
 
Old 03-12-2006, 07:13 AM   #7
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Talking about fonts, run pkgtool and check if you have x11-fonts installed (especially x11-fonts-scale). Truetype is included there. As well you can get additional fonts from Tex(Latex) packages if you have them installed.
 
Old 03-12-2006, 08:38 AM   #8
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Hi, thanks for responding.

Yes the on-board Marvell ethernet shows up in lspci. Add the line following to /etc/fstab:

/dev/hdd /mnt/dvd auto noauto,owner,users 0 0

It does not mount. I am sure I have to discover where the other cd/dvd writer is assigned and make a link to it.

The first drive mounts fine, but it is assigned /dev/cdrom, not hdc.

Thanks for your help.

Bob
 
Old 03-12-2006, 08:47 AM   #9
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
I have two CD/DVD drives,
do a $dmesg |grep CD or DVD
then u can get the devices or if u r not getting it $dmesg |more and scroll this is out from my comp
-----------
rkrishna@rkrishna:~$ dmesg |grep CD
hdd: GCR-8521B, ATAPI CD/DVD-ROM drive
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
---------
ssimilarly u wil get two devices
some hdc and hdd, here my cdrom drive is hdd
say if ur second device is hdc, then for smooth working
"cd /dev ",make a simlink "ln -sf hdc dvd" now u have /dev/dvd pointing to ur 2nd device,
then edit fstab for permenent setup
"/dev/dvd /mnt/dvd auto noauto,users 0 0"
both owner and user are not needed (create a dvd dir in /mnt)
Quote:
Only one is recognized
which one, writer or reader??
say ur 2nd is writer, u haev to add line in lilo for scsi emulaton, otherwise "cdrecord scanbus" will show error.
for writting, i hope k3b, will do all the job and it will automatically find the device and show u(while running "k3bsetup")

but appending lilo and making things according to u, is slackers way!! so, we have many threads relating this, plz go through tht in this forum

if u find trouble i can help u
Quote:
2. I have 1.5GB of physical memory
what is "cat /proc/meminfo" shows.
other problems i cant help
regards

Last edited by rkrishna; 03-12-2006 at 08:53 AM.
 
Old 03-12-2006, 08:56 AM   #10
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
The first drive mounts fine, but it is assigned /dev/cdrom, not hdc.
it is not /dev/cdrom, device may be hdc or hdd, /dev/cdrom is a simlink to this, u can check tht by "ls -al /dev/cdrom"

first get what all r ur devices and then do the job
regards

edt: as root
eject /dev/hdc or /dev/hdd u can c if u have any errors

Last edited by rkrishna; 03-12-2006 at 09:09 AM.
 
Old 03-12-2006, 09:04 AM   #11
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Can you post the Marvell relevant output from lspci -v? Also, what command are you using to try and mount your second CD/DVD drive? You don't actually need the symlink, the /dev/cdrom -> /dev/hdc link is really for convenience (possibly to provide a device agnostic device path for simplicity). You could mount the drive directly thus:

Code:
root@box:~#  mount -t iso9660 /dev/hdc /mnt/cdrom
To trim some of the cruft from the output of dmesg, try

Code:
root@box:~#  dmesg | grep -i hd[a-d]
Failing that, there's always ide_info:

Code:
root@box~#  /sbin/ide_info /dev/hda
substitute /dev/hdb, /dev/hdc, /dev/hdd as desired.

As for the memory thing, the stock Slack 2.4 (and the 2.6 "testing") kernels don't have HIGHMEM turned on, you'll need to roll your own.
 
Old 03-12-2006, 09:08 AM   #12
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
kernels don't have HIGHMEM turned on
it is only for "4 gb or more" less than 4 u dont need to enable tht
 
Old 03-12-2006, 09:11 AM   #13
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
You don't actually need the symlink,
this is for security. better create that.
 
Old 03-12-2006, 09:11 AM   #14
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thanks odevans and rkrishna

I will try these things and get back to you. I also need to change my keyboard layout to UK. Some ofthe neccessary keys are not even showing up (i.e. the pipe command, isn't on the keyboard). I will figure it out.

Thanks for the help

Bob
 
Old 03-12-2006, 09:21 AM   #15
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Quote:
Originally Posted by rkrishna
it is only for "4 gb or more" less than 4 u dont need to enable tht
Are you sure about that? My experience is exactly opposite. I believe that the 4GB (and 16GB? been a while sine I rolled a kernel) are upper limits, not lower. I have a couple of systems with >1GB RAM (but <4GB) that will not use all the mem if HIGHMEM is not set.

Also, could you expand on your explanation that the /dev/cdrom symlink is created for security, I'm not following you.

Bob, that's sort of bizarre about not having the | key. Can't recall having seen a keyb--neither US or GB that didn't have it (with the possible exception of my old Amstrad CPC). It may look like two dashes -- (but vertical).
 
  


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
Mandrake10.1 Installation & external DVD RW Hardware recognition & pipseeking Mandriva 0 05-15-2005 07:02 AM
recognition Kane2002 General 7 01-24-2005 03:44 PM
Does tour distro has good enough hardware recognition?, Tell me! carrie Linux - Distributions 0 10-11-2004 01:54 AM
usb recognition peda Linux - Hardware 2 10-08-2004 09:10 AM
Recognition where due... jong357 Linux From Scratch 0 01-19-2004 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:17 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