LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-05-2004, 07:10 PM   #16
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 33

umm... i don't think you would need to recompile your kernel again it already supports iso-9660
just edit your /etc/fstab. This is mine below; yours should be similar...

/dev/hda5 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 /boot reiserfs defaults 1 2
/dev/hdc /mnt/cdrom iso9660 user,noauto,owner,ro 0 0
/dev/hdd /mnt/cdrom1 iso9660 user,noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
 
Old 04-05-2004, 07:53 PM   #17
ababkin
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Posts: 76

Rep: Reputation: 15
Quote:
Originally posted by Linux~Powered
quote:

If you don't know the workings of Linux without a GUI, then you should never have tried compiling a new kernel.


how else are you going to learn it?

That's how i learned it!

this is so true !
 
Old 04-05-2004, 08:03 PM   #18
ababkin
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Posts: 76

Rep: Reputation: 15
[QUOTE]Originally posted by LavaDevil94
[B]well, i finally got ther kernel working!!! [B]

SO... how did you get it to work???


Thanks
Alex
 
Old 04-05-2004, 08:22 PM   #19
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
in reply to ababkin (thanks AutOPSY), i got it working by installing the package you told me about, then i recomplied. also, i just recompiled, and ive got the regular cdrom drive and the internet working, so im talking to you from kernel 2.6.5-goddard! the only thing preventing me from getting rid of that old lilo entry is this when i attempt to play a dvd with mplayer:
libdvdread: Could not open device with libdvdcss
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd

Last edited by LavaDevil94; 04-06-2004 at 09:15 PM.
 
Old 04-05-2004, 08:33 PM   #20
tomank
Member
 
Registered: Apr 2004
Distribution: rh9
Posts: 50

Rep: Reputation: 15
i had the problem of mplayer trying to read /dev/dvd, all i did was to make a symbolic link between the two...

i think it was

ln /dev/cdrom1 /dev/dvd

or something like that!

remember tho - i am a total and only got this install working 3 days ago!
 
Old 04-05-2004, 08:53 PM   #21
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
i dont have a /dev/cdrom* for some reason, in fact, the /dev/dvd is a symlink to /dev/hdd. thanks for the tip, though. ill try reinstalling libdvdcss, and putting those links in.
 
Old 04-05-2004, 08:57 PM   #22
tomank
Member
 
Registered: Apr 2004
Distribution: rh9
Posts: 50

Rep: Reputation: 15
do you have 2 cd's ie dvd and cd-rw or something? if you dont leave out the 1, ie
ln /dev/cdrom /dev/dvd
 
Old 04-05-2004, 09:26 PM   #23
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
i have 2 seperate drives, a cdrw drive and a dvdrom drive, so that wouldnt apply. btw, i have a little update. i tried mplayer dvd://1 while root, and i got different output:
Playing dvd://1
Reading disc structure, please wait...
libdvdread: Can't seek to block 256
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info!
and thats what i get. also, im having troubles with mount, doing mount /mnt/cdrom gives me:
mount: wrong fs type, bad option, bad superblock on /dev/scd0, or too many mounted file systems
but if i mount it like this:
mount -t iso9660 /dev/scd0 /mnt/cdrom
it works fine, unless im not root, otherwise it says "only root can do that".

suggestions?
 
Old 04-05-2004, 09:34 PM   #24
tomank
Member
 
Registered: Apr 2004
Distribution: rh9
Posts: 50

Rep: Reputation: 15
unless you change the options only root can mount things - at least that is my understanding

as for the dvd thing,

my /dev/cdrom points to /dev/hdc
/dev/cdrom1 points to /dev/hdd
/dev/dvd points to /dev/cdrom1

i have 4 hdd's tho 2 on a promise controller

/dev/hdg and /dev/hdh

try redoing decss with /dev/dvd pointing to /dev/hdd that is the only thing i can think off, sorry i am a
 
Old 04-05-2004, 09:42 PM   #25
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
well, i figured out thats not the case. i get this when i hdparm -tT (test it) /dev/dvd:
read() hit EOF - device too small
and it doesnt start the test, but it does exit. something even more strange is this, which happens when i try to enable dma on any device other then /dev/dvd:
hdparm -d1 /dev/hda
HDIO_SET_DMA failed: Operation not permitted
seeing as how i am root while i do this, and i did this after a chmod 775 /dev/hda, i dont know what the problem is.
 
Old 04-05-2004, 11:03 PM   #26
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
well, i fixed the operation not permitted problem by recompiling my kernel (about 13 times in 2 days!) again with some options tweaked, but i still get the same problems with the cdrom and dvd drives.
 
Old 04-06-2004, 12:48 AM   #27
ababkin
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Posts: 76

Rep: Reputation: 15
Lava

so how did you fix your initial problem with the kernel
(i.e modprobe: QM_MODULES : Function not implemented)

did the initmodtools 3.0 did the trick for u?
i have it installed and still no go.
did you install the modtools from rpm or recompiled it?

Thanks
Alex
 
Old 04-06-2004, 01:24 AM   #28
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 33
Ok, i don't know if this will work for you but give it a shot. If you don't have a cdrom in your /mnt dir then you will have to make one, but first cd into your /mnt to see what is in there; usually a cdrom, cdrom1 and fd0. If there isn't a cdrom or cdrom1 then make a diretctoy for them by-- mkdir cdrom and/or cdrom1. Now edit your /etc/fstab to look like this...

/dev/hdc /mnt/cdrom iso9660 user,noauto,owner,ro 0 0
/dev/hdd /mnt/cdrom1 iso9660 user,noauto,owner,ro 0 0

then mount your cdroms by becoming root and issuing (put a data cd into the drive too)... mount /dev/hdc /mnt/cdrom now try... eject /dev/hdc if the drive ejects it works, and just do the same to the other drive as well.

As for reconfiguring your kernel 13 times in 2 days, i did the same thing when i first started to use Linux, including reinstalling Slack about 10 times, but it paid off because i can have them installed in about 20 min each; when it took me hrs before.

Last edited by Linux~Powered; 04-06-2004 at 01:32 AM.
 
Old 04-06-2004, 05:14 PM   #29
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
well, heres what i got when i modded the config to what you said and issued the command:

mount /dev/hdc /mnt/cdrom
mount: error while guessing filesystem type
mount: you must specify the filesystem type

and i specified the fs type with this:

mount -t iso9660 /dev/hdc /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

but with this:

mount -t iso9660 /dev/scd0 /mnt/cdrom

it works fine. btw, i have in my /mnt dir: floppy, cdrom, cdrom2. i did all of this as root.
 
Old 04-06-2004, 05:18 PM   #30
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
update: actually, when i tried the dvd drive using

mount -t iso9660 /dev/scd1 /mnt/cdrom2

it mounted the dvd fine. i looked at the error output of mplayer again, and i found that it was looking for VIDEO_TS.IFO, and the actual file was called the exact same thing, except it was in lower caps (:snicker, anyone know how to redirect mplayer?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel Errors Stomatella Linux - Newbie 1 11-25-2004 03:50 PM
Kernel Errors 2.4.26 gamehack Linux - Software 2 05-27-2004 07:58 AM
Errors in my 2.6.1 kernel bluefire Debian 6 02-03-2004 06:34 PM
kernel 2.6.1 and errors shellcode Slackware 1 01-26-2004 12:08 AM
Errors during filesystem check with one kernel while no errors with other kernel Potentials Linux - General 11 12-30-2003 05:24 AM


All times are GMT -5. The time now is 05:19 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration