LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Getting k3b to detect my drives in Slackware? (https://www.linuxquestions.org/questions/linux-software-2/getting-k3b-to-detect-my-drives-in-slackware-70748/)

BmxFace 07-07-2003 01:45 PM

Getting k3b to detect my drives in Slackware?
 
i cant get them to detect. i tryed both setup and configure or whatever and i cant get them to work...

Tinkster 07-07-2003 02:36 PM

Are you using ide-scsi?
What does cdrecord -scanbus say?

Cheers,
Tink

BmxFace 07-08-2003 07:51 PM

really im still not sure the diff between scsi and ide. dnot know what i have. and how do i check the cdrecord -scanbus ?

Tinkster 07-08-2003 09:00 PM

Code:

su -
lsmod
cdrecord -scanbus
dmesg

Paste output here ;)

Cheers,
Tink

BmxFace 07-09-2003 05:07 AM

root@slackware:~# lsmod
Module Size Used by Not tainted
keybdev 1952 0 (unused)
mousedev 4212 1
hid 18596 0 (unused)
usbmouse 2008 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
uhci 24560 0 (unused)
usbcore 58144 1 [hid usbmouse uhci]
emu10k1 61288 1
ac97_codec 9512 0 [emu10k1]
soundcore 3332 4 [emu10k1]
emu10k1-gp 1352 0 (unused)
gameport 1452 0 [emu10k1-gp]
pcmcia_core 38112 0
ide-scsi 8048 0
8139too 15272 1
mii 2240 0 [8139too]
root@slackware:~# cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI dr
iver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
root@slackware:~# dmesg

Tinkster 07-09-2003 07:07 PM

ide-scsi module loaded, that's good :}
Now:
less /proc/scsi/scsi

Cheers,
Tink

BmxFace 07-11-2003 12:20 AM

less /proc/scsi/scsi

where do i do that? in the terminal? or somewhere in k3b?

BmxFace 07-11-2003 12:37 AM

Attached devices: none
/proc/scsi/scsi lines 1-1/1 (END)

ok i took a shot and did it in term. and appears thats where i needed to do it and thats what i got

BmxFace 07-12-2003 12:15 AM

blah anyone know where i go from here? i really need to backup some important files.

Tinkster 07-12-2003 01:50 AM

Well. for some reason your CD-RW doesn't
seem to be spotted by the ide-scsi driver,
even though it's being loaded.

Go to /proc/ide, and check your detected
devices ...

Do an dmesg | grep -i cd
and check whether any lines corresponding
to your burner pop up.

Cheers,
Tink

Zoombie 07-12-2003 03:20 AM

ide-scsi is loaded, but you may not have selected any drives to be emulated as scsi. The easiest way I know of to do this is to give a kernel parameter like this:
Code:

hdc=ide-scsi
You can pass this at startup by adding an append option under your Linux partition config in LILO (if you're using LILO).

BmxFace 07-12-2003 06:22 AM

troy@slackware:~$ cd /proc/ide
troy@slackware:/proc/ide$ ls
cmd64x drivers hda@ hdb@ hde@ hdf@ ide0/ ide2/ piix

thats what i get in /proc/ide

troy@slackware:/proc/ide$ dmesg | grep -i cd
hda: SAMSUNG CD-ROM SC-148, ATAPI CD/DVD-ROM drive
hdb: CR-48X5TE, ATAPI CD/DVD-ROM drive
hda: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
hdb: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
cdrom: open failed.
cdrom: open failed.

i did all this after doing hdc=ide-scsi if that matters

MasterC 07-12-2003 06:43 AM

On your system, it'd be:
hdb=ide-scsi

And can you post up your lilo.conf so we can see if you added it correctly? Basically, for global use of that (probably what you want) you'd add it above any kernel specific entries:
append ="hdb=ide-scsi"

Cool

MasterC 07-12-2003 06:45 AM

Quote:

Originally posted by BmxFace
troy@slackware:~$ cd /proc/ide
troy@slackware:/proc/ide$ ls
cmd64x drivers hda@ hdb@ hde@ hdf@ ide0/ ide2/ piix

thats what i get in /proc/ide

troy@slackware:/proc/ide$ dmesg | grep -i cd
hda: SAMSUNG CD-ROM SC-148, ATAPI CD/DVD-ROM drive
hdb: CR-48X5TE, ATAPI CD/DVD-ROM drive
hda: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
hdb: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
cdrom: open failed.
cdrom: open failed.

i did all this after doing hdc=ide-scsi if that matters

OT:
Why are your cdrom devices on the first (primary) chain of the IDE channels? Normally, HD's are on Primary and CD's are on Secondary. You can do whatever you'd like, I'm just curious ;) Sometimes RAID and similar setups have people do this, so again, I'm just wondering.

Cool

BmxFace 07-13-2003 07:33 AM

how do i post my lilo.conf. im almost sure that would be the problem. i was new to installing bootloader manualy. i used mandrake 9.1 before this. it did it for me. and my cd rom/cdburners are on the primary channel. because i have a beautiful Drive controller. Mobo is to old to recognize my 40gb and 80 gb HDDs


All times are GMT -5. The time now is 09:23 PM.