LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   [10] SCSI device not created (https://www.linuxquestions.org/questions/mandriva-30/%5B10%5D-scsi-device-not-created-180674/)

CRX 05-12-2004 09:57 AM

[10] SCSI device not created
 
My first post so, hi all :cool:

And also a difficult one, I hope someone here dealt with this before.

I've just installed Mandrake 10 Official and the first clean install was a mess most of my hardware, hd's, dvd drives, soundcard, ethernetcard was not working. So I reinstalled 9.2 to set an example, all works there and upgraded to 10 and this fixed it. But, offcourse there's a but, my dvd-rw from Philips does not work. In 9.2 it was a ide drive in 10 harddrake makes it a scsi drive in /dev/sdc0. It does not work at all because /dev/scd0 does not exist.

I have tried, mounting hdc which is also the device but links to sdc0 so it won't mount. I have unplugged the drive, reboot its removed, reboot it's added but still isn't there.

So either I need to somehow add sdc0 manually but how I can't figure out that devfs stuff or disable the scsi module so the dvd-rw drive is back to it's old hdc which worked fine for me.

Does anyone here know how I can fix this?

Thanks for any help.

stunter 05-12-2004 01:21 PM

CRX,

Don't I know it. I have a similar problem. I have 2 CD drives. One is an SCSI CD/CDR/CDRW and the other is an IDE CD/CDR/CDRW/DVD reader.
Both drives worked fine under Mandrake 9.2 but won't mount correctly or consistently under 10.0. The IDE drive (which is a lot newer than the SCSI and considerably faster) seems to alternately work and not work. If I disable supermount and mount it manually, it will work for a bit, then disappear again and be inaccessible, though trying to mount it again will indicate that it is already mounted. It's a real mess.

I seem to remember that this IDE drive was /dev/scd0 under 9.2 and is now /dev/hdc under 10.0. But in both cases these were just links that pointed to a device buried about 6 directory levels down in the /dev folder under /lun0. Something like /dev/cdrom/bus1/target0/lun0/ or something like that. I'm not at home, so I can't look.

I had the opposite experience from you. I upgraded 9.2 to 10.0 official and nothing worked. Ethernet, CDs, scanner, even my mouse was flaky though the display seemed to work OK. I did a clean install of 10.0 official and except for the CD problem, everything works fine.

I've tried a number of things with fstab and device configuration, but so far, no luck.

Hope someone has a brilliant answer.

CRX 05-12-2004 05:08 PM

I got the answer :D

Code:

mknod /dev/scd0 b 11 0
Found it on the Mandrake page as a solution when during install a scsi device is not working, well guess it works after the install also. It creates the scsi device and after 2 reboots it was working perfectly.

So that means... Joy! :cool:

stunter 05-12-2004 05:47 PM

CRX,

this is great! I'll mess with it when I get home. Be nice to get the thing working again.

stunter 05-12-2004 08:21 PM

CRX,

OK, give us the page. I've tried about everything and nothing really works. I can get it to work briefly if I:

rm -f /etc/mtab*
mount -o remount,rw /

Allows pretty much one access then it dies again. Shows up in a file manager, but you can't access it.

I tried creating scd0 as suggested by all I get when I try to mount it is that it's an invalid block device.

So, what Mandrake page did you find it on?

stunter

CRX 05-14-2004 02:19 PM

Hi, I'm back, sorry for the late responce but you know team manager leaving, getting drunk having a laugh.

You know what I did though, I had never overwritten the 9.2 boot looder so thats why my 10 was so srewed up. I've managed to do that now and it works great no more scsi hassle either. The dvd-rw is now just a happy ide device hdc, much better. So maybe that's your sollution also? You never know, who would have thought a boot loader could create such problems, well probably every one but me. I came to eraseing it when I had fully configured my system and restarted and the kernel even would not boot... really anoying.

So happy again and am going to connect my external hd now, the one that completely would crash 9.2.

I'm exited allready :D

O yeah that mandrake page does not say very much, just a fix for when the installer does not work, it says run the command and reboot that's all.

stunter 05-14-2004 03:22 PM

CRX,

I suspect you're right.

Things got progressively worse and I finally ended up trashing the ReiserFS (long story on that). OK, So I managed to get to the drive through a rescue disk and copied my /home directory to a FAT drive. I then re-installed (this time using ext3, not that it matters), installed the software I had on there previously and copied my /home directory back and everything works now including the cd/dvd drive.

I imagine that I never overwrote the boot loader pointers on the MBA. Before re-install of Mandrake 10.0 official, I re-installed the original MBA (glad I kept system commander around :) ).

It all seems to work now, though I've been chicken to try supermount again for fear of somehow disrupting what is now working.

Here's an interesting question I haven't tracked down yet. I had set up gkrellm to mount and umount the cd/dvd drive (I use windowmaker so no cute little applets from kde or gnome). But it won't let me do it. Says only root can mount and umount. The fstab mount command is set up with "user" and "suid" so I should be able to mount it from a user account. But I can't without opening a term and su to a root command line to mount from there.

Just another little thing to work on.

stunter


All times are GMT -5. The time now is 02:08 PM.