CD Drives not detected ..seems a little weird

Discussion in 'Open Source' started by praka123, Aug 8, 2006.

Thread Status:
Not open for further replies.
  1. praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    I changed my mobo to gigabyte ga-81915ME-GV based on intel 915GV chipset.i earlier used intel original D915GAV board.so after removing and installed the n00 board.i tried installing debian etch with netinstall cd...but if fails in detecting my sony cd-rw and LG-DVD ROM drives even after inserting all necessary modules like cdrom etc...also i have a working FC5 install which earlier shows drives as DVD is /dev/hda and cd-rw as /dev/hdb.i searched and found that new device files are hdc as primary dvd drive and hdd as secondary.also my hdd is SATA seagate which is running OK as primary.
    Now how do i install etch or any other distros...all failed...where are U geeks...:eek:

    I resolved it while booting with CD:
    Code:
    install libata.atapi_enabled=1
    source:
    http://wiki.debian.org/DebianInstaller/SataAtapiHowto

    All happened 'coz am weak in hardware section:eek:
     
    Last edited: Aug 8, 2006
  2. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,726
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    Yes, some strange things happen if you test Linux with different hardware.
    I think Sony DVD drives work fine & are detected well enough by all Linux distros.
    I have Sony DVD drive. If something doesn't work , you need to do some tweaking.
    Good that you have fixed it atlast.
     
  3. OP
    OP
    praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    now after installed new kernel 2.6.17xxx ,my cd/dvd drives yet again lost their device files in /dev.earlier are /dev/scd0 and /dev/scd1.i donno why these problems!
    below is dmesg o/p:
    Code:
    sputnik:~# dmesg
    Linux version 2.6.17-1-686 (Debian 2.6.17-5) (waldi@debian.org) (gcc version 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)) #1 SMP Sat Jul 29 15:32:47 UTC 2006
    BIOS-provided physical RAM map:
     BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
     BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
     BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
     BIOS-e820: 0000000000100000 - 000000001f7f0000 (usable)
     BIOS-e820: 000000001f7f0000 - 000000001f7f3000 (ACPI NVS)
     BIOS-e820: 000000001f7f3000 - 000000001f800000 (ACPI data)
     BIOS-e820: 00000000d0000000 - 00000000e0000000 (reserved)
     BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
    0MB HIGHMEM available.
    503MB LOWMEM available.
    found SMP MP-table at 000f4dd0
    On node 0 totalpages: 129008
      DMA zone: 4096 pages, LIFO batch:0
      Normal zone: 124912 pages, LIFO batch:31
    DMI 2.3 present.
    ACPI: RSDP (v000 GBT                                   ) @ 0x000f6750
    ACPI: RSDT (v001 GBT    AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1f7f3040
    ACPI: FADT (v001 GBT    AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1f7f30c0
    ACPI: MCFG (v001 GBT    AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1f7f6c00
    ACPI: MADT (v001 GBT    AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1f7f6b00
    ACPI: DSDT (v001 GBT    AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
    ACPI: PM-Timer IO Port: 0x408
    ACPI: Local APIC address 0xfee00000
    ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    Processor #0 15:3 APIC version 20
    ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    Processor #1 15:3 APIC version 20
    ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
    ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
    ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
    ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
    ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    ACPI: IRQ0 used by override.
    ACPI: IRQ2 used by override.
    ACPI: IRQ9 used by override.
    Enabling APIC mode:  Flat.  Using 1 I/O APICs
    Using ACPI (MADT) for SMP configuration information
    Allocating PCI resources starting at 20000000 (gap: 1f800000:b0800000)
    Built 1 zonelists
    Kernel command line: root=/dev/sda10 ro ide=scsi
    mapped APIC to ffffd000 (fee00000)
    mapped IOAPIC to ffffc000 (fec00000)
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Initializing CPU#0
    PID hash table entries: 2048 (order: 11, 8192 bytes)
    Detected 2793.629 MHz processor.
    Using pmtmr for high-res timesource
    Console: colour VGA+ 80x25
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 504124k/516032k available (1478k kernel code, 11256k reserved, 540k data, 164k init, 0k highmem)
    Checking if this processor honours the WP bit even in supervisor mode... Ok.
    Calibrating delay using timer specific routine.. 5593.80 BogoMIPS (lpj=11187602)
    Security Framework v1.0.0 initialized
    SELinux:  Disabled at boot.
    Capability LSM initialized
    Mount-cache hash table entries: 512
    CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000
    monitor/mwait feature present.
    using mwait in idle threads.
    CPU: Trace cache: 12K uops, L1 D cache: 16K
    CPU: L2 cache: 1024K
    CPU: Physical Processor ID: 0
    CPU: After all inits, caps: bfebfbff 00000000 00000000 00000180 0000441d 00000000 00000000
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
    CPU0: Thermal monitoring enabled
    Checking 'hlt' instruction... OK.
    SMP alternatives: switching to UP code
    CPU0: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 04
    SMP alternatives: switching to SMP code
    Booting processor 1/1 eip 3000
    Initializing CPU#1
    Calibrating delay using timer specific routine.. 5586.81 BogoMIPS (lpj=11173632)
    CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000
    monitor/mwait feature present.
    CPU: Trace cache: 12K uops, L1 D cache: 16K
    CPU: L2 cache: 1024K
    CPU: Physical Processor ID: 0
    CPU: After all inits, caps: bfebfbff 00000000 00000000 00000180 0000441d 00000000 00000000
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#1.
    CPU1: Intel P4/Xeon Extended MCE MSRs (12) available
    CPU1: Thermal monitoring enabled
    CPU1: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 04
    Total of 2 processors activated (11180.61 BogoMIPS).
    ENABLING IO-APIC IRQs
    ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
    checking TSC synchronization across 2 CPUs: passed.
    Brought up 2 CPUs
    migration_cost=4000
    checking if image is initramfs... it is
    Freeing initrd memory: 4248k freed
    NET: Registered protocol family 16
    ACPI: bus type pci registered
    PCI: Using MMCONFIG
    Setting up standard PCI resources
    ACPI: Subsystem revision 20060127
    ACPI: Interpreter enabled
    ACPI: Using IOAPIC for interrupt routing
    ACPI: PCI Root Bridge [PCI0] (0000:00)
    PCI: Probing PCI hardware (bus 00)
    Boot video device is 0000:00:02.0
    PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2
    PCI: Transparent bridge - 0000:00:1e.0
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
    ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
    ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
    ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
    ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
    Linux Plug and Play Support v0.97 (c) Adam Belay
    pnp: PnP ACPI init
    pnp: PnP ACPI: found 15 devices
    PnPBIOS: Disabled by ACPI PNP
    PCI: Using ACPI for IRQ routing
    PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
    pnp: 00:0c: ioport range 0x400-0x4bf could not be reserved
    PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
    PCI: Bridge: 0000:00:1e.0
      IO window: a000-afff
      MEM window: f0000000-f00fffff
      PREFETCH window: disabled.
    PCI: Setting latency timer of device 0000:00:1e.0 to 64
    NET: Registered protocol family 2
    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 16384 bind 8192)
    TCP reno registered
    audit: initializing netlink socket (disabled)
    audit(1155138270.472:1): initialized
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Initializing Cryptographic API
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    io scheduler deadline registered
    io scheduler cfq registered
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
    serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
    PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
    serio: i8042 AUX port at 0x60,0x64 irq 12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    TCP bic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    NET: Registered protocol family 8
    NET: Registered protocol family 20
    Starting balanced_irq
    Using IPI No-Shortcut mode
    ACPI wakeup devices:
    PCI0 PEX0 PEX1 PEX2 PEX3 HUB0 USB0 USB1 USB2 USB3 USBE AC97 MC97 AZAL
    ACPI: (supports S0 S1 S4 S5)
    Freeing unused kernel memory: 164k freed
    input: AT Translated Set 2 keyboard as /class/input/input0
    ACPI: Processor [CPU0] (supports 2 throttling states)
    ACPI: Processor [CPU1] (supports 2 throttling states)
    8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
    8139cp: pci dev 0000:01:05.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
    8139cp: Try the "8139too" driver instead.
    8139too Fast Ethernet driver 0.9.27
    ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 21 (level, low) -> IRQ 169
    eth0: RealTek RTL8139 at 0xa000, 00:14:85:98:98:64, IRQ 169
    eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
    [FONT=Times New Roman][SIZE=4][COLOR=DarkRed]Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    SCSI subsystem initialized
    libata version 1.20 loaded.
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    ata_piix 0000:00:1f.2: version 1.05
    ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
    ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 177
    PCI: Setting latency timer of device 0000:00:1f.2 to 64
    ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
    USB Universal Host Controller Interface driver v3.0
    ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3468 86:3c01 87:4003 88:207f
    ata1: dev 0 ATA-6, max UDMA/133, 156299375 sectors: LBA48
    ata1: dev 0 configured for UDMA/133
    scsi0 : ata_piix
      Vendor: ATA       Model: ST380013AS        Rev: 3.18
      Type:   Direct-Access                      ANSI SCSI revision: 05
    ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
    ata2: dev 0 cfg 49:0b00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:0407
    ata2: dev 0 ATAPI, max UDMA/33
    ata2: dev 1 cfg 49:0f00 82:4218 83:4000 84:4000 85:4218 86:4000 87:4000 88:0407
    ata2: dev 1 ATAPI, max UDMA/33
    ata2: qc timeout (cmd 0xef)
    ata2: failed to set xfermode (err_mask=0x4)
    scsi1 : ata_piix
    ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 185
    PCI: Setting latency timer of device 0000:00:1d.0 to 64
    uhci_hcd 0000:00:1d.0: UHCI Host Controller
    uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
    uhci_hcd 0000:00:1d.0: irq 185, io base 0x0000b000
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 2 ports detected
    SCSI device sda: 156299375 512-byte hdwr sectors (80025 MB)
    sda: Write Protect is off
    sda: Mode Sense: 00 3a 00 00
    SCSI device sda: drive cache: write back
    SCSI device sda: 156299375 512-byte hdwr sectors (80025 MB)
    sda: Write Protect is off
    sda: Mode Sense: 00 3a 00 00
    SCSI device sda: drive cache: write back
     sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 sda14 >
    sd 0:0:0:0: Attached scsi disk sda[/COLOR][/SIZE][/FONT]
    ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 177
    PCI: Setting latency timer of device 0000:00:1d.1 to 64
    uhci_hcd 0000:00:1d.1: UHCI Host Controller
    uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
    uhci_hcd 0000:00:1d.1: irq 177, io base 0x0000b400
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 193
    PCI: Setting latency timer of device 0000:00:1d.2 to 64
    uhci_hcd 0000:00:1d.2: UHCI Host Controller
    uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
    uhci_hcd 0000:00:1d.2: irq 193, io base 0x0000b800
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 201
    PCI: Setting latency timer of device 0000:00:1d.3 to 64
    uhci_hcd 0000:00:1d.3: UHCI Host Controller
    uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
    uhci_hcd 0000:00:1d.3: irq 201, io base 0x0000bc00
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 185
    PCI: Setting latency timer of device 0000:00:1d.7 to 64
    ehci_hcd 0000:00:1d.7: EHCI Host Controller
    ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
    PCI: cache line size of 128 is not supported by device 0000:00:1d.7
    ehci_hcd 0000:00:1d.7: irq 185, io mem 0xf01c0000
    ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
    usb usb5: configuration #1 chosen from 1 choice
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 8 ports detected
    EXT3-fs: INFO: recovery required on readonly filesystem.
    EXT3-fs: write access will be enabled during recovery.
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with ordered data mode.
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a post-1991 82077
    Real Time Clock Driver v1.12ac
    hw_random: RNG not detected
    Linux agpgart interface v0.101 (c) Dave Jones
    agpgart: Detected an Intel 915G Chipset.
    agpgart: Detected 7932K stolen memory.
    agpgart: AGP aperture is 256M @ 0xe0000000
    input: PC Speaker as /class/input/input1
    parport: PnPBIOS parport detected.
    parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
    00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    ACPI: PCI Interrupt 0000:00:1e.2[A] -> GSI 17 (level, low) -> IRQ 209
    PCI: Setting latency timer of device 0000:00:1e.2 to 64
    intel8x0_measure_ac97_clock: measured 54740 usecs
    intel8x0: clocking to 48000
    input: ImPS/2 Logitech Wheel Mouse as /class/input/input2
    ts: Compaq touchscreen protocol output
    mice: PS/2 mouse device common for all mice
    Adding 618460k swap on /dev/sda8.  Priority:-1 extents:1 across:618460k
    EXT3 FS on sda10, internal journal
    [drm] Initialized drm 1.0.1 20051102
    ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 201
    [drm] Initialized i915 1.4.0 20060119 on minor 0
    ide0: I/O resource 0x1F0-0x1F7 not free.
    ide0: ports already in use, skipping probe
    ide1: I/O resource 0x170-0x177 not free.
    ide1: ports already in use, skipping probe
    ide-floppy driver 0.99.newide
    device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com
    kjournald starting.  Commit interval 5 seconds
    EXT3 FS on sda9, internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    NTFS driver 2.1.27 [Flags: R/W MODULE].
    NTFS volume version 3.1.
    kjournald starting.  Commit interval 5 seconds
    EXT3 FS on sda12, internal journal
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with ordered data mode.
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
    EXT3 FS on sda14, internal journal
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with ordered data mode.
    hw_random: RNG not detected
    eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
    IA-32 Microcode Update Driver: v1.14 <tigran@veritas.com>
    ip_tables: (C) 2000-2006 Netfilter Core Team
    ACPI: Power Button (FF) [PWRF]
    ACPI: Power Button (CM) [PWRB]
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    IPv6 over IPv4 tunneling driver
    eth0: no IPv6 routers present
    CSLIP: code copyright 1989 Regents of the University of California
    PPP generic driver version 2.4.2
    NET: Registered protocol family 24
    sputnik:~#
    
    As U see, same problem as earlier,i only have a sata hdd connected to sata0 port.on ide port two cd roms are connected as primary and slave mode and jumpers are all set correct also....help....Yo @Jguru Konjam Help Pannungo!:eek:
     
  4. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,726
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    It's clear that after you upgraded the Kernel , the Linux O.S got corrupted!!
    And as a result the device files in the '/dev' folder are missing!!
    OK you are using a Seagate SATA HD. Maybe you can go back to the previous state
    before the new Kernel was installed (like System Restore in XP). That should restore
    the device files!! I searched Debian.org, I can't find much help there.
     
  5. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    Upload your current kernel config someplace and give me output of "/sbin/modinfo libata" and "/sbin/modinfo ata_piix"
     
  6. OP
    OP
    praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    here's the details.@Jguru debian etch is newly installed using above parm.now sometimes it shows /dev/sr0 or /dev/scd0...now there isn't any dev files for cdrom.
    @eddie:
    Code:
    sputnik:~# modinfo libata
    filename:       /lib/modules/2.6.17-1-686/kernel/drivers/scsi/libata.ko
    author:         Jeff Garzik
    description:    Library module for ATA devices
    license:        GPL
    version:        1.20
    vermagic:       2.6.17-1-686 SMP mod_unload 686 REGPARM gcc-4.1
    depends:        scsi_mod
    srcversion:     66D15AE0447DE8F192C8215
    parm:           fua:FUA support (0=off, 1=on) (int)
    parm:           atapi_enabled:Enable discovery of ATAPI devices (0=off, 1=on) (int)
    Code:
    sputnik:~# modinfo libata
    filename:       /lib/modules/2.6.17-1-686/kernel/drivers/scsi/libata.ko
    author:         Jeff Garzik
    description:    Library module for ATA devices
    license:        GPL
    version:        1.20
    vermagic:       2.6.17-1-686 SMP mod_unload 686 REGPARM gcc-4.1
    depends:        scsi_mod
    srcversion:     66D15AE0447DE8F192C8215
    parm:           fua:FUA support (0=off, 1=on) (int)
    parm:           atapi_enabled:Enable discovery of ATAPI devices (0=off, 1=on) (int)
    sputnik:~# modinfo ata_piix
    filename:       /lib/modules/2.6.17-1-686/kernel/drivers/scsi/ata_piix.ko
    author:         Andre Hedrick, Alan Cox, Andrzej Krzysztofowicz, Jeff Garzik
    description:    SCSI low-level driver for Intel PIIX/ICH ATA controllers
    license:        GPL
    version:        1.05
    vermagic:       2.6.17-1-686 SMP mod_unload 686 REGPARM gcc-4.1
    depends:        libata
    alias:          pci:v00008086d000024D1sv*sd*bc*sc*i*
    alias:          pci:v00008086d000024DFsv*sd*bc*sc*i*
    alias:          pci:v00008086d000025A3sv*sd*bc*sc*i*
    alias:          pci:v00008086d000025B0sv*sd*bc*sc*i*
    alias:          pci:v00008086d00002651sv*sd*bc*sc*i*
    alias:          pci:v00008086d00002652sv*sd*bc*sc*i*
    alias:          pci:v00008086d00002653sv*sd*bc*sc*i*
    alias:          pci:v00008086d000027C0sv*sd*bc*sc*i*
    alias:          pci:v00008086d000027C4sv*sd*bc*sc*i*
    alias:          pci:v00008086d00002680sv*sd*bc*sc*i*
    alias:          pci:v00008086d00002820sv*sd*bc*sc*i*
    alias:          pci:v00008086d00002825sv*sd*bc*sc*i*
    alias:          pci:v00008086d00002828sv*sd*bc*sc*i*
    srcversion:     411B91D31CC4774981628CB
    my kernel config is default debian kernel
    sputnik:~# uname -a
    Linux sputnik 2.6.17-1-686 #1 SMP Sat Jul 29 15:32:47 UTC 2006 i686 GNU/Linux

    i've attached kernel config as config-2.6.17-1-686.zip
    Thanks every one
     
  7. OP
    OP
    praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    Infact i Know that My samsung CD-RW and LG-DVD ROM drives are IDE/ATAPI ones and are earlier detected as so by fedora 5.also the device files are /dev/hda and /dev/hdb.my sata drive was /dev/sda now also.
    now why my OS is probing for ata2? it's IDE drives out there!
    Code:
    ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3468 86:3c01 87:4003 88:207f
    ata1: dev 0 ATA-6, max UDMA/133, 156299375 sectors: LBA48
    ata1: dev 0 configured for UDMA/133
    scsi0 : ata_piix
      Vendor: ATA       Model: ST380013AS        Rev: 3.18
      Type:   Direct-Access                      ANSI SCSI revision: 05
    ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
    ata2: dev 0 cfg 49:0b00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:0407
    ata2: dev 0 ATAPI, max UDMA/33
    ata2: dev 1 cfg 49:0f00 82:4218 83:4000 84:4000 85:4218 86:4000 87:4000 88:0407
    ata2: dev 1 ATAPI, max UDMA/33
    ata2: qc timeout (cmd 0xef)
    ata2: failed to set xfermode (err_mask=0x4)
    scsi1 : ata_piix
     
    Last edited: Aug 10, 2006
  8. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    You need to load libata module with atapi_enabled=1 option. If Debian handles module loading the way Gentoo does then you can do this
    1) Create a file named atapi (or anything you like) under the directory /etc/modules.d/ directory and then put the following line in it
    Code:
    libata atapi_enabled=1
    Save and close the file.
    2) Run modules-update and reboot.
     
  9. OP
    OP
    praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    In starting post i tried those parms.but after the install cdrom's are not detected although i have those lines already added in my /etc/modprobe.conf

    Now @eddie and JavaGuru:
    i resolved the sata probing delay by playing with BIOS...now it's OK.But the cd drives...no device files are found in /dev/ regarding drives(read only)

    ps:sorry for multiple posts as i tried posting in dataone which rarely connects and then disconnects as baarish is much high here in Kerala also
     
    Last edited by a moderator: Aug 10, 2006
  10. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,726
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    @Prakash, just updating the line 'libata atapi_enabled=1' in the file '/etc/modprobe.conf',
    isn't enough!! You need the very important System device files in the '/dev' directory.
    There are more than 800 files , consuming more around 900 MB in the '/dev' directory.
    This I'm afraid, is a serious problem. Since the Linux O.S needs these files for proper
    working of the O.S.
     
  11. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    Just saw this in your config file
    Code:
    CONFIG_BLK_DEV_IDECD=m
    ...
    CONFIG_BLK_DEV_PIIX=m
    You have compiled chipset ATA driver as well as ATA CD driver as modules so did you update your initrd image after recompile of kernel? If not, then why not? Also, I would recommend compiling these drivers into the kernel and not as module. Try it...
     
  12. OP
    OP
    praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    Thanks Eddie Yaar and JGuru.everything was my fault.today service guy came and set BIOS properly.and now every things working fine.Thank You again.now my sata is /dev/sda and cd and dvd drives are hda and hdb.:D
    It is the award bios setup which seems too complex/confused for this board.
     
    Last edited: Aug 12, 2006
Thread Status:
Not open for further replies.

Share This Page