Jump to content

unable to update/add software with rpmdrake


hbob
 Share

Recommended Posts

I have a HP i-8210 cd-rw and a Toshiba DVD rom and with Mandrake 9.2 can not use them (at all).

I installed the system from the DVD-rom

 

I checked to see what my bio's said and both are seen and also in windows xp both are seen.

 

Running dual doot

 

Mandrake 9.2 sees the drives as

 

scd1 Hp cd-rw

bus: scsi

location on bus: 0:0:0

drive capacity: Burner

channel: 00

new devfs device: /dev/scsi/host1/bus0/target0/lun0/cd

old device file: /dev/scdi

floppy format: IDE-CD R/RW 4x4x24

media class: CDrom

 

scd0 Toshiba DVD-rom

bus: scsi

location on bus: 0:0:0

drive capacity DVD

channel 00

new devfs device /dev/scsi/host0/bus0/target0/lun0/cd

old device file /dev/scd0

floppy format TOSHIBA DVD-rom sd-m1612

media type cdrom

 

Had Mandrake installed on older pc with creative cd rom with no problems.

 

Installed on Newer pc and can't add packages or update

Link to comment
Share on other sites

Seems your drives are configured correctly (but post your fstab so we can double check) so I would guess to look elsewhere for the problem.

 

IF you open up "Software Media Manager" ( Kmenu --> Configuration --> Packaging )

are your CD's listed and enabled there? If no sources, you won't be able to update or have anything to install.

Link to comment
Share on other sites

iphitus

 

I copied the fstab it reads as:

 

/dev/hdb1 / ext3 defaults 1 1

 

none /dev/pts devpts mode=0620 0 0

 

/dev/hdb8 /home ext3 defaults 1 2

 

none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0

 

none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0

 

none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,sync,iocharset=iso8859-1,codepage=850,umask=0 0 0

 

/dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,umask=0,codepage=850 0 0

 

/dev/hdb6 /mnt/win_c2 vfat iocharset=iso8859-1,umask=0,codepage=850 0 0

 

/dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,umask=0,codepage=850 0 0

 

/dev/hdb7 /mnt/win_d2 vfat iocharset=iso8859-1,umask=0,codepage=850 0 0

 

none /proc proc defaults 0 0

/dev/hdb5 swap swap defaults 0 0

 

Also checked media manager and it lists:

 

installation cd1(x86)(cdrom1)

installation cd2(x86)(cdrom2)

 

When I try to install packages it wants the:

 

installation cd1(x86)(cdrom2) in folder /dev/hdc1

there is no /dev/hdc1 so the installation fails.

 

both cdrom are listed as /dev/cdrom and /dev/cdrom1

and I can go to /mnt/cdrom0 and see the contents on the DVD

and the same for /mnt/cdrom1 I see the contents of the HP cd/rw.

 

Could it be jumpers on the DVD and the HP ?

 

both are listed as scsi drives.

Link to comment
Share on other sites

i think it's because you installed via DVD, but the default for the cd sources is cdrom. check out This Thread & look for my reply for a solution.

 

Chris

Link to comment
Share on other sites

Chris

 

Not sure if I have the same problem.

 

as this thread, he was trying to install the system from a DVD disk.

 

I have my images burned onto cd but I am using a DVD which shows up as /mnt/cdrom1

 

It's during the update/package install stage it looks at cd1 at cdrom2 in file /dev/hdc1

 

here in is where the problem lies, My DVD didn't creat a hdc1 file in /dev/

 

both /dev/cdrom's are listed /dev/cdrom/cdrom0 and /dev/cdrom/cdrom1

 

and I can /mnt/cdrom and /mnt/cdrom2

 

Now if I could creat a file called /dev/hdc1 and mirror/link /mnt/cdrom1 into it, for install and updating.

Link to comment
Share on other sites

Not sure why it's looking for /dev/hdc1, according to your fstab /dev/hdc is your /mnt/cdrom (DVD Drive, I assume).

 

Are these the cd's you installed from?

 

Can you post the info that's in you Software Sources Manager? I'm looking for the entries for your cd's, if they're there.

Link to comment
Share on other sites

Hold up.

 

is your;

dvd the primary slave (hdc)

cdrw the secondary slave (hdd)

?

 

I ask because according to your first post it is;

scd0 Toshiba DVD-rom

scd1 Hp cd-rw

 

now look at your fstab.....specifically scd0....it's /mnt/cdrom2....your dvd.

 

The actual cdrw isn't necessarily the first scsi device. I also have the same setup and my

dvd=hdc but is scd0

where in the past scd0 was always my cdrw. This has all changed with the new 2.6 kernel with scsi emulation for regular cdroms, in my case a dvd/cdrom. In your case I don't know because you're not using kernel-2.6....are you? The primary slave (cdanything) is always going to be scd0 and the secondary slave scd1 when concerning scsi emulation. Is your dvdrom a dvdburner? If not it could be detected wrong by the kernel.

 

If I'm rt, I would change you fstab to;

none /mnt/cdrom2 supermount dev=/dev/scd1,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0

reboot and see if all is well. If it still wants hdc1 create it.

 

in a terminal do

[root@localhost root]# file /dev/hdc
/dev/hdc: symbolic link to `ide/host0/bus1/target0/lun0/cd'
[root@localhost root]#

so for example, if you had the same output I do then you'd do (all this as root)

ln -s /dev/ide/host0/bus1/target0/lun0/cd /dev/hdc1

reboot and see if hdc1 is still there. If it is change your fstab to hdc1 instead of hdc.

 

Now, the M$ part :lol: ......are you running harddrake? MCC>System>DrakXServices or chkconfig --list will tell ya. If you are when you reboot it is going to detect that a device was remove and another added. Do you want this? Do you know what to tell it, becasue it doesn't config it auto.....you must tell it what to do. If not, before you make any changes to fstab, disable harddrake so that you can manually do this. It could be that harddrake is a good thing for you. Personally I use to uninstall it and even now it's one of the first things I disable.

 

:cheeky: Hope I haven't confused you even more....sure did myself :P

 

If anyone is seeing the same, and can explain it better.....go for it!

Edited by bvc
Link to comment
Share on other sites

I took another look at the hardware list and the cd/rw is listed as:

a CD/DVD burner=scd1

 

bus: scsi

location on the bus: 0:0:0

channel: 00

new devfs device: ‎/dev/scsi/host1/bus0/target0/lun0/cd

Old device file: /dev/scd1

Floppy format: IDE-CD R/RW 4x4x24

Media class: cdrom

 

The DVD=scd0

 

Bus: ‎SCSI

Location on the bus: ‎0:0:0

Drive capacity: ‎DVD

Channel: ‎00

New devfs device: ‎/dev/scsi/host0/bus0/target0/lun0/cd

Old device file: ‎/dev/scd0

Floppy format: ‎TOSHIBA DVD-ROM SD-M1612

Media class: ‎cdrom

 

and when I /mnt/cdrom2 I see my DVD

when I /mnt/cdrom I see my cd/rw

 

 

This is confusing for me because the cd/rw is not DVD

And the DVD is only a reader, not a writer.

 

And you are right in pointing out that the fstab file does not jive

 

none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0

this is the device Mandrake see as a CD/DVD

 

none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0

this is the device Mandrake see as my DVD

 

Now the truth is I tried to reinstall from the CD/RW but I recieved a /sbin/ something I should have paid more attention, any how the reinstalled failed , the end of the message read just restart the system to boot normal.

 

in /dev/

I have cdroms=cdrom0 and cdrom1, not sure what device these would be.

I have disks=disk0 and disk1

I have scsi=host0 and host1 these are the DVD and the cd/rw as what I read.

I have ide=hd and host0

 

below the files I have

 

hda, hda1, hda2 and hda5

hdb, hdb1,hdb2,hdb5,hdb6,hdb7 and hdb8

they look like shortcuts to something .

 

As far as turning off harddrake how and where, and would that resolve my problems and allow me to update and install packages ?

And if I were to change fstab to read

none /mnt/cdrom2 supermount dev=/dev/scd1,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0

would that cause a crash as the system see's the CD/DVD as scd1

and in /dev/ scd0 and scd1 do exist as what looks like shortcuts to something you perhaps know.

 

that's all I can think of any more questions ask away

Link to comment
Share on other sites

well like you said, your dvd is not a writer so it has no business being an scdX. It needs to be hdc.

 

Currently your fstab has 2 lines pointing to the same device. Explains why neither work.

 

none /mnt/cdrom supermount dev=/dev/hdc (dvd)

none /mnt/cdrom2 supermount dev=/dev/scd0 (dvd)

are both your dvd.

 

Changing

none /mnt/cdrom2 supermount dev=/dev/scd0

to

none /mnt/cdrom2 supermount dev=/dev/scd1

 

gives you

none /mnt/cdrom supermount dev=/dev/hdc (dvd)

none /mnt/cdrom2 supermount dev=/dev/scd1 (cdrw)

 

you will not harm anything....they'll either work or will not.

 

Also take

fs=udf:iso9660

out of there to have

none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1 0 0

 

turn off harddrake from a terminal as root with;

chkconfig harddrake off

or uncheck harddrake in MCC>System>DrakXServices

Like I said, I don't know if it'll help or hurt, I just know I don't use it because it has made things more trouble to fix.

Edited by bvc
Link to comment
Share on other sites

BVC

 

Question

 

How do I edit fstab, I am new and this is a area not covered.

 

aRTee

 

Tried not sure if I was doing that right, but I tried and I recieved a message that was not allowed.

 

It showed downloading some 500 + mb of files before that message.

 

what I did was cp /mnt/cdrom2/Mandrake /dev/hdc1/Mandrake a file I had created, I thought it was looking for the file there so give it what it wants.

Link to comment
Share on other sites

I use

vi (in X or console)

nano (in X or console- just started using this actually. It's nice and friendly)

gvim (in X -gnome)

gedit (in X -gnome)

kate (in X -kde)

 

Open>edit>save

....am I not understanding the question? You'll need to install nano so that's probably out of the question rt now. So if you're using vi from console and need help, just ask. Otherwise, use an editor in X. Open>edit>save

 

none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1 0 0

none /mnt/cdrom2 supermount dev=/dev/scd1,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0

 

that's what I would try. Then reboot and post back.

=============================================

 

Are you broadband? Wanna download it?

wget -cr top_of_url

 

you can limit how many folders it recurses with

--level=2

 

so if I wanted cooker on my hd and there were 5 folders wget could recurse into to download but I only wanted 2, I'd open a terminal;

cd /share/dload/cooker

wget -cr --level=2 ftp://ftp.club-internet.fr/pub/unix/linux...6/Mandrake/RPMS

:headbang: gotta love it!

 

-c,  --continue               resume getting a partially-downloaded file.

-r,  --recursive          recursive download.

-l,  --level=NUMBER       maximum recursion depth (inf or 0 for infinite).

Edited by bvc
Link to comment
Share on other sites

Because I'm use to kde somewhat, I used kate.

 

Made the edit tried to save (not enough disk space or do not have permission)

I don't believe disk space is the problem.

 

May have to do this as su is there a way for that to happen ?

 

As far as downloading I do have hi speed with a cap of 150 mb per 4 hrs I use filzilla in windows,

so I can pause and resume.

 

But in order to install any packages, Mandrake would more then likly need to look at disk1.

 

A normal update failed because the system could not see disk1.

 

And I updated (or tried to ) from: ftp://ftp.club-internet.fr/pub/unix/linux...6/Mandrake/RPMS

 

I lost you as far as to what I was downloading if it's Mandrake 10. cooker I have it, and tried to update to it, not sure how that went. ( recieved a warning during the update, that there was a problem, it finished the prosses I guess, never checked to see if I had 2.6 kernel or not.

 

Could not update or install packages, I have sense did a format and reinstall of 9.2 and stayed here till I work through this problem, this was about two weeks ago.

 

Up until then I had been running on a old 600 mhz. p-3 and doing quit well, this other computer

has to many expensive toys on it.

 

ATI all in wonder 8500DV (have not tried to config.)

Creative audigy gamer (have not tried to config.) no sound either, watching the threads on these.

Both of these still need to be config. for Mandrake but that's another day down the road.

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...