You are not logged in.

#1 2005-12-02 04:07:49

From: new york
Registered: 2005-12-02
Posts: 3

7.1 sata hd/ atapi dvd

Dear Friends,

Dell Latitud d810


Disk geometry for /dev/sda: 0.000-57231.562 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          7.844  11005.466  primary   ntfs
2      11005.466  21124.533  primary   ext3
3      21124.534  56133.369  primary   reiserfs
4      56133.369  57223.718  primary   linux-swap

[root@liblap1:/home/yazdzik]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: HTS726060M9AT00  Rev: MH4O
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: _NEC     Model: DVD+-RW ND-6500A Rev: 203D
  Type:   CD-ROM                           ANSI SCSI revision: 05

From lspci -

00:1f.2 IDE interface: Intel Corp. 82801FBM (ICH6M) SATA Controller (rev 03) (pr og-if 80 [Master])
        Subsystem: Dell: Unknown device 0186
        Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 209
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at bfa0 [size=16]
        Capabilities: [70] Power Management version 2

The following behaviour occurs:

1. hd is recognised as sda, and root fs is mounted on sda2, swap on sda4 as wished.
2. installer asks for location of packages, as /dev/hdc for cdrom
3. Install packages shows base selected, prompts for select all, answered ok.
4. At install packages, installer states that no packages are selected.

Only option is to abort.


Similar issue in installing slackware, i e, after removing the first cd, which seems to copy everything needed, the second cd will not mount, or, if using ide kernel, mounts and input/output error occurs.

SuSE installs easily, as atapi is defined in libata.h

Libranet, a type of boutiqe debian installs flawlessly, but since dvd is detected as hdc, one has to recompile kernel with atapi defined in libata.h in order to use optical drive.

Debian installs only with the sata/atapi workaround, to wit, installing on 2.4 kernel, then building an appropriate 2.6 with atapi defined in libata.

So, there appears to be some reason why slack and arch either mount the cd and cannot read from it correctly, or cannot mount it. Slack creates a bootable system, but with none of the packages from the second cd, for, as once the initial cd is ejected, one can no longer mount any media in that drive.

Since arch recognises the stat hd as sda, there should be some way to make the installer recognise that the dvd drive is sd0 or sr0, not hdc.

Obviously, if I could install the packages, rebuilding the kernel with the required change to the libata.h file would not be an issue. 

What am I overlooking?

All good wishes,



#2 2005-12-03 04:30:08

Registered: 2005-02-22
Posts: 70

Re: 7.1 sata hd/ atapi dvd

I have the same setup on my Dell Inspiron 9300 with Sata HD/Atapi DVD. I also have this issue which is frustrating as everything does work but burning now on my DVD burner is sooo slow as it's seeing it as hdc. If anyone has a solution to thins I'd be very happy to hear it.


#3 2005-12-03 04:46:57

From: new york
Registered: 2005-12-02
Posts: 3

Re: 7.1 sata hd/ atapi dvd

Dear Grail,

Actually, if you already have arch installed, the answer to your issue is quite easy.

You need to recompile the kernel after editing the file

/usr/src/kerne-source-x.x.x/include/linux/libata.h to read

#define ATA_ENABLE_ATAPI        /* define to enable ATAPI support */
#define ATA_ENABLE_PATA        /* define to enable PATA support in some
                 * low-level drivers */

where those lines read previously undefined.

I, however, cannot even install arch, or for that matter, slackware, and I am not sure why.

If I could use the standard ide kernel to install, then recompile, that would be fine.   As is, 0.7.1 sees the sata drive, but not the dvd atapi device on the scsi buses.  Or so I think.

At any rate, your issue is simply the need to recompile with sata and atapi support enabled(defined) in the file above, and I would not use general ide support in kernel, but  configure only the piix support.

A good discussion of the issue is here, partcularly if you follow all the links:

The 9300 is about the same as the latitude.

Did you install current or 0.7.1?




Board footer

Powered by FluxBB