LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Installing Slackware 10.2 on SATA drive with a SATA CD-RW drive (https://www.linuxquestions.org/questions/slackware-installation-40/installing-slackware-10-2-on-sata-drive-with-a-sata-cd-rw-drive-463877/)

onebuck 07-14-2006 01:52 PM

Quote:

Originally Posted by Voltar
Hi Gary,

The CD-RW is given id 3 by my SATA controller, and my two SATA hard drives are 0 & 1.

fdisk -l shows all my IDE devices (I have four 320 GB hard drives in an LVM), I can't see anything about SATA devices there.

I have tried booting with an old Ubuntu 5.10 Live CD I had, and it worked perfect, could mount/read CDs, etc. I ended up taking my mass of IDE drives out, installing Slack, putting them back in, but it still doesn't recognize the drive after installation.

Now it's more of a matter of "I can't get slack to recognize my SATA CD-RW", Should I repost in the main forum? I'm thinking it has something to do with the kernel, and something needing to be compiled.

Edit: My bad, fdisk -l shows SATA and IDE drives after install, it went by so fast that I didn't see them all.

Hi,

To help diagnose , you should post any requested output. What was the output for the fdisk -l. You could redirect the output to a file that could then be posted.
Code:

#uname -a >myuname.txt
#dmesg |grep hd >myhd.txt
#dmesg |grep sr >mysr.txt
#fdisk -l >myfdisk.txt
#lspci -vv >mylspci
#lsmod >mylsmod

Please post the output.

Voltar 07-14-2006 11:41 PM

Hello,

Sorry it took so long to get back, here is the output...

Code:

root@slackbox:~# uname -a
Linux slackbox 2.4.31 #21 Sun Jun 5 19:19:51 PDT 2005 i686 unknown unknown GNU/Linux

Code:

root@slackbox:~# dmesg | grep hd
root@slackbox:~#

^^ doesn't output anything...

Code:

root@slackbox:~# dmesg |grep sr
root@slackbox:~#

^^ also doesn't output anything...

Code:

root@slackbox:~# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1        146    1172713+  83  Linux
/dev/sda2            147        401    2048287+  82  Linux swap
/dev/sda3            402      30401  240975000    5  Extended
/dev/sda5            402        5264    39062016  83  Linux
/dev/sda6            5265        7697    19543041  83  Linux
/dev/sda7            7698        7941    1959898+  83  Linux
/dev/sda8            7942      14021    48837568+  83  Linux
/dev/sda9          14022      18884    39062016  83  Linux
/dev/sda10          18885      23747    39062016  83  Linux
/dev/sda11          23748      30401    53448223+  83  Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1              1      30401  244196001  83  Linux

Disk /dev/hdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/hdc1              1      38913  312568641  83  Linux

Disk /dev/hdd: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdd doesn't contain a valid partition table

Disk /dev/hda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hda doesn't contain a valid partition table

Disk /dev/hdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdb doesn't contain a valid partition table
root@slackbox:~#

^^ LVM on the three ide drives, in the process of creating.


lspci...

Code:

00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 8
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: d6000000-d7ffffff
        Prefetchable memory behind bridge: d4000000-d5ffffff
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
        Subsystem: VIA Technologies, Inc. VT82C686/A PCI to ISA Bridge
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Region 4: I/O ports at 9000 [size=16]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 9400 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 9800 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin ? routed to IRQ 11
        Capabilities: [68] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
        Subsystem: Micro-Star International Co., Ltd. MS-6330 Onboard Audio
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin C routed to IRQ 9
        Region 0: I/O ports at 9c00 [size=256]
        Region 1: I/O ports at a000 [size=4]
        Region 2: I/O ports at a400 [size=4]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0a.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
        Subsystem: D-Link System Inc DFE-530TX+ 10/100 Ethernet Adapter
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 9
        Region 0: I/O ports at ac00 [size=256]
        Region 1: Memory at d9001000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Belkin F5D5000 PCI Card/Desktop Network PCI Card
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at b000 [size=256]
        Region 1: Memory at d9000000 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0d.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)
        Subsystem: Silicon Image, Inc. SiI 3114 SATARaid Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at b400 [size=8]
        Region 1: I/O ports at b800 [size=4]
        Region 2: I/O ports at bc00 [size=8]
        Region 3: I/O ports at c000 [size=4]
        Region 4: I/O ports at c400 [size=16]
        Region 5: Memory at d9002000 (32-bit, non-prefetchable) [size=1K]
        Expansion ROM at <unassigned> [disabled] [size=512K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

01:00.0 VGA compatible controller: nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] (rev 11) (prog-if 00 [VGA])
        Subsystem: Diamond Multimedia Systems Viper V770
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at d6000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at d4000000 (32-bit, prefetchable) [size=32M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [44] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>


lsmod...

Code:

Module                  Size  Used by    Not tainted
ipt_MASQUERADE          1400  1  (autoclean)
iptable_nat            16814  1  (autoclean) [ipt_MASQUERADE]
iptable_mangle          2072  0  (autoclean) (unused)
ipt_state                504  33  (autoclean)
ip_conntrack          18564  0  (autoclean) [ipt_MASQUERADE iptable_nat ipt_state]
ipt_LOG                3448  4  (autoclean)
iptable_filter          1644  1  (autoclean)
ip_tables              12000  8  [ipt_MASQUERADE iptable_nat iptable_mangle ipt_state ipt_LOG iptable_filter]
snd-pcm-oss            36736  0  (unused)
snd-mixer-oss          12376  0  [snd-pcm-oss]
parport_pc            15044  0
parport                22824  0  [parport_pc]
uhci                  24284  0  (unused)
usbcore                59148  1  [uhci]
snd-via82xx            13376  0  (unused)
gameport                1420  0  [snd-via82xx]
snd-ac97-codec        58556  0  [snd-via82xx]
snd-pcm                54344  0  [snd-pcm-oss snd-via82xx snd-ac97-codec]
snd-timer              13764  0  [snd-pcm]
snd-mpu401-uart        3136  0  [snd-via82xx]
snd-rawmidi            12480  0  [snd-mpu401-uart]
snd-seq-device          3812  0  [snd-rawmidi]
snd                    32772  0  [snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc          4712  0  [snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
soundcore              3396  3  [snd]
8139too                13928  2
mii                    2272  0  [8139too]
crc32                  2880  0  [8139too]
ide-scsi                9392  0
agpgart                45508  0  (unused)


occam 08-01-2007 01:10 AM

I am running Slackware 12 (minimally modified kernel) and have a similar problem, where for instance cdrecord -scanbus sees my two SATA hard disks on scsibus 0 and 1; and my DVD writer on scsibus 2.
However, k3b does not see it - and /dev has no valid entry for it. There is a possible contender, /dev/sg2, which has the owner root:cdrom - but that is not a valid block device (type 21 2).
/var/log/messages shows it being detected
kernel: scsi3 : ata_piix
kernel: scsi 2:0:0:0: CDROM etc etc
but nothing more is done with it.

bioe007 08-01-2007 01:14 PM

hi all... i think I have this solution posted here. I'm not using VIA chipsets (Intel ICH7)

hth

onebuck 08-01-2007 04:33 PM

Hi,

You are using the 2.4 kernel so you can pass the append="hda = ide-scsi hdb = ide-scsi" in your lilo.conf or pass at boot time.

Quote:

Originally Posted by Voltar
crc32 2880 0 [8139too]
ide-scsi 9392 0
agpgart 45508 0 (unused)

The 2.4 uses the ide-scsi and 2.6 uses the ide-cd modules. Since you lsmod shows the 'ide-scsi' is loaded. Your cd seems to be recognized as /dev/hda and /dev/hdb.


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