Jump to content

Hardware detection problem


Valikhan
 Share

Recommended Posts

Hi there,

 

I installed Mandriva 2007.1 Spring One GNOME. While booting from HD had kernel panic and no booting happend. I solved this issue ticking off 3d desktop effects and noapic, acpi=off options.

 

Now I am working from Mandriva, having installed all updates and patches and so on.

As you see I have Internet connection so Mandriva has detected USB DSL router, I am able to listen music, to watch movies so there are no problems with motherboard and videocard I suppose.

 

But I cannot watch tv, Mandriva says there is no such file - cannot open capture device /dev/video0. Also it does not show two Windows partitions which called in MCC as sda1 and sda5. I tried to mount them through this MCC but got some errors that it is not possible without reformatting. I managed to edit file etc/fstab but how to bring Windows partitions up to surface. sdb1 is USB harddrive which also did not appear, I got it through MCC but once I chose mounting point it offered me to format drive otherwise I cannot mount it. What a stupid thing!!! I do not want to loose all my data I use this drive as back up! And it is FAT32 which should be readable from Linux.

 

This is /etc/fstab which I have edited manually:

/dev/sda3 / ext3 defaults 1 1

none /proc proc defaults 0 0

/dev/sda6 swap swap defaults 0 0

/dev/sda1 /mnt/win ntfs defaults, umask=0 0 0

/dev/sda5 /mnt/data ntfs defaults, umask=0 0 0

/dev/sdb1 /media vfat defaults, umask=0 0 0

 

Also as I mentioned before I did not install 3d desctop effects and in MCC I could not activate this option because it tells me my hardware does not support it. Well, I am now downloading some packages which, I hope, will help me. But this is not so necessary as an ability even just to read ntfs partitions and watch TV.

 

Yet, Mandriva automount USB sticks (I have Transcend) but cannot USB harddrive.

MCC hardware tool shows all this things.

Link to comment
Share on other sites

One thing at a time:

1. 3D desktop has absolutely nothing to do with the kernel panic at bootup. The noapic/nolapic/acpi=off settings certainly have.

2.Can you name the exact model of your TV/capture card?

3. Do the mount points /mnt/win and /mnt/data actually exist, or not? If they don't you have to create them manually (as root).

4. You do not need any fstab entry for the external USB hardisk. Delete the entry from /etc/fstab.

5. 3D effects are possible with some hardware and not possible with some other. Can you elaborate?

Edited by scarecrow
Link to comment
Share on other sites

1. Ok.

2. Pinnacle Analog PCI Stereo, chip saa 7134. I have tried to play with the list of tuners in MCC with no success.

3. I managed to mount sda1 and sda 5 in MCC. I do not know how, I just reopened it at uncountable time and got it. I found folders in /mnt, named after Di and Vali which are proper names for but nothing there, those ones are empty and I could not open folder Vali. I am not interesting in Vali (sda1) but I am very interesting in Di (sda5) containing movies, pictures, library etc. How to get it?

 

/dev/sda3 / ext3 defaults 1 1

LABEL=Di /mnt/data ntfs defaults 0 0

LABEL=Vali /mnt/win ntfs defaults 0 0

none /proc proc defaults 0 0

/dev/sda6 swap swap defaults 0 0

 

4. Once I managed new fstab, the entry for USB HD disappeared itself.

5. I have AMD64 dual core, MB Gigabyte, Nvidia 7300, RAM 1 Gb, DVD rw. Actually, in MCC it tells your SYSTEM (not hardware) does not support 3d. I am downloading some nvidia drivers for 71xx, 9xxx, ntfs-3g and some other stuff from some repository I do not remember. Hopefully it'll work after.

 

P.S. I connected digital camera and it came up in /media together with USB stick. And what about harddrive and partitions? Or are they different thing?

Edited by Valikhan
Link to comment
Share on other sites

No need to mess with /etc/fstab just to see if things work.

 

If you are not afraid of the command line, all you need to do is mount the devices as root:

open a console (konsolo, xterm, whatever)

su

(enter root password)

mkdir /mnt/testdir

mount /dev/sda5 /mnt/testdir

(or,

mount /dev/sda5 /mnt/testdir -t ntfs

if the other command doesn't work)

 

if this allows you to read the data on that partition, all is ok. If not, you need to tell us what errors you get.

You can unmount with:

umount /dev/sda5

or

umount /mnt/test

NB: the spelling of the command to unmount is: umount (no _n_ so be warned).

 

Built in harddrives can be managed with diskdrake in terms of mount points and what not. It will get you proper entries in /etc/fstab - I think yours may not be correct.

For a fat32 partition I have:

/dev/hda1 /mnt/windows vfat umask=0,iocharset=utf8 0 0

(actually, I think having defaults and umask specified is conflicting; furthermore, you should not use spaces after commas IIRC)

 

External drives should become visible upon connection - this includes thumbdrives, photo cameras, etc. In KDE you get a popup that asks what you want - choose to open a file browser.

 

Also, if you use KDE you can open konqueror and browse to:

media:/

which should show you all your drives/partitions and also if they're mounted or not.

 

 

EDIT:

Point 4: this should be the case if you disconnected the drive

as for point 5, I think you need nvidia 9xxxx driver. you should add the repositories (easy-urpmi link at the top of this page) and then set up your graphics adapter (in MCC) choosing to use the proprietary driver, it will know which one to install.

Edited by aRTee
Link to comment
Share on other sites

Hi,

 

I typed as you said

su

(enter root password)

mkdir /mnt/testdir

mount /dev/sda5 /mnt/testdir

 

That folder /mnt/testdir appeared but I coudn not enter to: I do not have permission. I tried to open it up as administrator (right click) but got this message: gksu-run-helper command not found or is not executable.

 

diskdrake says me sda1 cannot be mounted (label=vali, which is sda1, does not exist) and sda5 is mounted.

 

In /media sdrom and floppy are permanently and other removable dev appear: digi cam, camcorder, memory sticks. No harddrives, built-in or removable. I would say this is external hd problem because gparted said me unknown filesystem what is weird- Windows recognize it as FAT32 drive, read and write perfectly, but built-in hd's had not been mounted properly. I'll try to format external hd using gparted.

 

And there is still no TV

Link to comment
Share on other sites

Well, I format external drive to fat32 using gparted, it appeared on desktop and in /media.

 

I managed to insatll Nvidia drivers and I have those fancy 3D effects.

 

My etc/fstab looks like that now. I thing something wrong in there. Should I edit lines 2 and 3 and put /dev/ afront them?

 

/dev/sda3 / ext3 defaults 1 1

sda5 /mnt/data ntfs defaults 0 0

sda1 /mnt/win ntfs defaults 0 0

none /proc proc defaults 0 0

/dev/sda6 swap swap defaults 0 0

 

I have access to testdir but nothing there or in/media. MCC GUI tells me sda1 and sda5 are mounted but I do not see them anywhere.

 

No tvtuner recognized.

I installed clamav just in case. Where it should be and how to bring it to surface?

Edited by Valikhan
Link to comment
Share on other sites

You might be missing packages.

What do you get when opening a minicommand ( alt+F2 ) and typing in

gksu nautilus

And no, you don't have to format the external HD, nor explicitly use FAT32. NTFS is perfectly fine for read/write under Linux, and does not have all the FAT32 limitations.

Link to comment
Share on other sites

As user I got gksu-run-helper not found

[vali@localhost Desktop]$ gksu nautilus

 

As root I got:

[vali@localhost Desktop]$ su

Password:

[root@localhost Desktop]# gksu nautilus

 

(nautilus:9437): GnomeUI-WARNING **: While connecting to session manager:

Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

Initializing gnome-mount extension

 

and root folder popped up.

 

I obviosly had some problem with external HD because after formatting there is no problem. Do you advice me to format again to ntfs? It is empty now anyway.

 

I still have no tv. I am trying to use tvtime. Is there possibility of not right software to?

Link to comment
Share on other sites

Formatting it as NTFS is IMHO the best solution, as:

- All modern windows installations will be able to use it.

- You will have metadata, which should help if the HD crashes or malfunctions.

- You will not have a 4GB filesize limitation

- It will be perfectly usable under Linux as read/write, provided that you install the "ntfs-3g" package (and if you feel it is convenient, the "ntfs-config" one as well).

 

Now for the record, gksu is a Gnome-specific command (although it can also be used under other desktops) which uses a gnome element (gnome-keyring) to run an application as root.

So, typing "gksu nautilus" as root is pointless.

Do you have the packages "gksu" and "gksu-utils" installed?

Link to comment
Share on other sites

I am running Mandriva from LiveCD now because I could not boot due to some conflict with Nvidia drivers I presume. It was just black screen, then I desided to change kernel options using letters e, b I do not remember. Finally I got something like terminal window offering me to check and change Nvidia settings if needed. I tried several times and eventually botted to Mandriva ticking off all boxes, including Xorg. What happend after is proper screen but when I tried to open any window or just put pointer on it, it show me color streeps.

 

I tried just now to mount built-in windows HD and it works!!! Why it did not work in installed OS? Why it works in LiveCD with no updates? And I do not have TV, same story.

 

Yes I have all gksu related packages. And weird thing as well is having installed all ntfs-3g and whatsoever I could not write to ntfs formatted external HD.

 

Under these circumstances I think would be better and easier to reinstall Mandriva. I am not concerning to traffic, i regret of waisted time.

 

I'll try and if I get the same troubles, well I'll switch to other Linux distros or wait for new release.

 

Wish me luck, I do not want to go back to Windows even if I used it for years.

Link to comment
Share on other sites

Ok,

 

Here I am. I reinstalled Mandriva with noapic, nol apic, acpi=off options. I had the same problem with windows partition and access to (even just read).

 

I read through some topics about permissions, editing /etc/fstab etc and once I used commands like umount/mount I can at least read files in /mnt/windows folder. Ufff.

External HD automounts with no problem, I can read files on it too. To write to ntfs I need ntfs-3g which I'll get later on, once I'll have finished adding of the list of repositories.

I have 3d effects, I can watch video, listen music.

 

All I need for now is to manage system recognizes my tv tuner, I still cannot watch tv. My card is PCTV 110i or Pinnacle Analog PCI Stereo (I guess these names are same), chip Philips saa7134. As before tvtime says cannot open capture device /dev/video0, no such file or directory. Are there any sofr to try? Or is this drivers issue?

 

Please help

Link to comment
Share on other sites

From my first failed installation:

 

Right after installation I had grub with: linux, linux nonfb, linux failsafe and windows. I had noted that once I updated the sysem I got two additional lines below: kernel 2.6.17-13 and 2.6.17-15. I presume that initial kernel is 2.6.17-13. I have read that coexisting of 2 kernels has no affect to system's stability. I remembered that after downloading of some packages there one more line appeared: kernel 2.6.21-5. My guess is that it is kernel from future Mandriva release. I think previous installation got failed because I had chosen wrong update packages, I mean that kernel 2.6.21-5.

 

My questions are following:

 

1. Once I'll have upgraded my system to next Mandriva release (2008?) what will happen to old kernels? Will they be removed by new release?

2. How to remove old kernels because there is no need of them anymore?

 

P.S. I have found out about bug with TVtuner. It is mentioned there: http://forum.mandriva.com//viewtopic.php?t...60d63e04e8371d7 and there http://qa.mandriva.com/show_bug.cgi?id=16206.

I think I should wait till new release to be able to watch tv as I do not know how to rebuild kernel.

 

I have installed ntfs-3g, ntfs-config etc but cannot write to ntfs - disk is read-only. What is the problem?

 

I apologize I have managed it. My advice for linux-dummy users like me is to browse topics here first before open any questions. And use keywords in search engine.

 

I think it is closed now. I will open up new topic concerning old kernels after updates/upgrades.

 

Thanks for help to everyone.

Edited by Valikhan
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...