LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Upgrade to Mandrake 8.1 - problems. (https://www.linuxquestions.org/questions/linux-newbie-8/upgrade-to-mandrake-8-1-problems-14152/)

shankariyer 02-12-2002 08:56 PM

Upgrade to Mandrake 8.1 - problems.
 
hi,
I had Mandrake 7.2 in my machine( partitioned with W2K ) and had go for 8.1 to make my internet connection work.

Previously I had issues with 7.2 not able to recogonize my USB-lan-card for at&t@home connection.

When I booted my 8.1 cd, I chose "upgrade" instead of an install. Installation went fine.

I'm able to connect to Internet, but my CD-drives( CDROM and CDRW ) is not working. When I try to do an ls on /dev and /mnt on cdrom, it gives segmentation fault.

Is upgrading a big issue now and would be in the future ?

If not, how would I make my cdrom/cdrw work and avoid segmentation faults ?

Your help is very much appreciated. Thanks.
- shankar.

Chijtska 02-12-2002 09:23 PM

your cdrom rw under mandrake8.1 is seen as /dev/scd0 -- i still dont understand exactly why... so try a:

mount /dev/scd0 /mnt/cdrom

shankariyer 02-12-2002 09:56 PM

this is what I get when I do that.

[root@shankar root]# mount /dev/scd0 /mnt/cdrom
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: No medium found
[root@shankar root]#

also, when I try to open the contents of my cdrom( after doing this and thro' file manager ) I get a window popped-up asking, "select an application to open cdrom0 with..."... why ?

When I try to look the contents under /mnt thro' filemanager it crashes.

all this i'm doing thro' kde.

thanks.

trickykid 02-12-2002 11:26 PM

post your fstab file here and it might help us determine your problem !!

shankariyer 02-13-2002 12:48 AM

[root@shankar etc]# cat fstab
/dev/hda9 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm tmpfs defaults 0 0
/mnt/cdrom /mnt/cdrom supermount dev=/dev/cdrom,fs=iso9660 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount dev=/dev/cdrom2,fs=iso9660 0 0
/mnt/floppy /mnt/floppy supermount dev=/dev/fd0,fs=vfat 0 0
/dev/hda1 /mnt/windows vfat defaults 0 0
none /proc proc defaults 0 0
/dev/hda10 swap swap defaults 0 0
[root@shankar etc]#

thanks.

Chijtska 02-13-2002 01:32 PM

instead of:

/mnt/cdrom /mnt/cdrom supermount dev=/dev/cdrom,fs=iso9660 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount dev=/dev/cdrom2,fs=iso9660 0 0

you can try and see if this changes anything...

/dev/cdrom /mnt/cdrom iso9660 0 0

try to get at least one working correctly and then do the other one...

shankariyer 02-14-2002 01:22 AM

do you mean that I've modify that file to the entries you've given me ?

Also, once modifying that I guess I would give the same command to try to mount the CD-drivers, correct ?

-thanks-

Thymox 02-14-2002 06:24 AM

Quote:

Your cdrom rw under mandrake8.1 is seen as /dev/scd0 -- i still dont understand exactly why
Try this:Another SCSI thread
The link in Aussie's reply is really good.

burzmali 02-14-2002 06:55 PM

did you have a disk in the drive when you tried to mount? no medium means no disk in drive.

shankariyer 02-14-2002 10:57 PM

Yes, I did try with disk on the drive.

Weird things are happening now.

1. I get this error while I try to start it...

[root@shankar root]# kmp3te &
kmp3te: error while loading shared libraries: libkfm.so.2: cannot open shared object file: No such file or directory
[1]+ Exit 127 kmp3te

2. I go to /etc
[root@shankar etc]# pwd
/etc
[root@shankar etc]# l fstab*
-rw-r--r-- 1 root root 367 Feb 9 10:38 fstab.mdkgiorig
-rw-r--r-- 1 root root 391 Feb 14 20:34 fstab.new
-rw-r--r-- 1 root root 367 Feb 14 20:34 fstab

fstab.new( copy of fstab ) and fstab.mdkgiorig were on the directory already. since I found the diff, I copied fstab to fstab.new and copied fstab.mdkgiorig to fstab, after which it accepted mount /mnt/cdrom /mnt/cdrom2.

3. I'm not able to check the files under any of these in the file manager, which lists only the directories in my cd( its an mp3 cd ).

4. Then I tried to play an audio cd thro' GNOME player and one of them works( I heard the audio cd ) and the other doesn't.

5. I go to /mnt and it crashes with segmentaion fault if I do ls -l and closes the terminal if I do ls or cdrom and
[root@shankar mnt]# cd cdrom2
bash: cd: cdrom2: Input/output error
[root@shankar mnt]#

I really don't know what's happening. I've pasted the fstab and the original fstab here...

fstab( the one after the upgrade )
-----------------------------------
[root@shankar etc]# cat fstab.new
/dev/hda9 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm tmpfs defaults 0 0
/mnt/cdrom /mnt/cdrom supermount dev=/dev/cdrom,fs=iso9660 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount dev=/dev/cdrom2,fs=iso9660 0 0
/mnt/floppy /mnt/floppy supermount dev=/dev/fd0,fs=vfat 0 0
/dev/hda1 /mnt/windows vfat defaults 0 0
none /proc proc defaults 0 0
/dev/hda10 swap swap defaults 0 0

fstab( old one when I was having 7.2 )
--------------------------------------
/dev/hda9 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
/dev/hda1 /mnt/windows vfat user,exec,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda10 swap swap defaults 0 0

6. Folks, Is it a good option to keep an upgrade like this. Will I encounter problems in the future. Or can I better choose "install" again.

Thanks for all your help. I really appreciate it.

Chijtska 02-15-2002 07:34 AM

here is my lilo and if you notice below the "append" message on each entry... i noticed that before I had this on the lilo on my hard drive and the cdrom did everything it was supposed to and the difference i saw with the boot floppy lilo was that it WAS missing the append message...

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/us.klt
lba32
prompt
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux
root=/dev/hda6
initrd=/boot/initrd.img
append=" hdc=ide-scsi devfs=mount" <-HERE
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hda6
initrd=/boot/initrd.img
append=" hdc=ide-scsi devfs=mount <-HERE failsafe"
read-only
other=/dev/hda1
label=windows
table=/dev/hda
other=/dev/fd0
label=floppy
unsafe

maybe that will make a difference...

Chijtska 02-15-2002 07:36 AM

here is my lilo and if you notice below the "append" message on each
entry... i noticed that before I had this on the lilo on my hard drive and
the cdrom did everything it was supposed to and the difference i saw with
the boot floppy lilo was that it WAS missing the append message...

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/us.klt
lba32
prompt
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux
root=/dev/hda6
keytable=/boot/us.klt
lba32
prompt
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux
root=/dev/hda6
initrd=/boot/initrd.img
append=" hdc=ide-scsi devfs=mount" <-HERE
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hda6
initrd=/boot/initrd.img
append=" hdc=ide-scsi devfs=mount <-HERE failsafe"
read-only
other=/dev/hda1
append=" hdc=ide-scsi devfs=mount" <-HERE
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hda6
initrd=/boot/initrd.img
append=" hdc=ide-scsi devfs=mount <-HERE failsafe"
read-only
other=/dev/hda1
label=windows
table=/dev/hda
other=/dev/fd0
label=floppy
unsafe

maybe that will make a difference...


All times are GMT -5. The time now is 12:48 AM.