From: Ant on
On 4/25/2010 6:13 AM PT, Anton Ertl typed:

>> Recently, I upgraded a bunch of Debian packages and installed Kernel
>> v2.6.32-4 (had -3 packages) through apt-get. I rebooted and noticed all
>> my hd* were gone. They were replaced with sd* instead. Some datas:
>>
>> # dmesg
> ...
>> [ 1.104125] libata version 3.00 loaded.
> ...
>> Is this a bug, by design, or a misconfiguration on my old PC?
>
> This is by design. The libata driver (unlike the old ide driver) acts
> as if everything was a SCSI drive. I don't know why, but that's the
> way it is.

Wow and thanks for the quick reply/response. That is confusing!! I
wonder why -3 and -4 made a difference in Kernel 2.6.32...-i686!

So SCSI uses the same values too?
--
"Ants die in sugar." --Malawi
/\___/\ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site)
/ /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o o| |
\ _ / If crediting, then use Ant nickname and AQFL URL/link.
( ) If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.
From: Pascal Hambourg on
Hello,

Anton Ertl a �crit :
> Ant <ant(a)zimage.comANT> writes:
>>
>> Recently, I upgraded a bunch of Debian packages and installed Kernel
>> v2.6.32-4 (had -3 packages) through apt-get. I rebooted and noticed all
>> my hd* were gone. They were replaced with sd* instead. Some datas:
>>
>> # dmesg
> ...
>> [ 1.104125] libata version 3.00 loaded.
> ...
>> Is this a bug, by design, or a misconfiguration on my old PC?
>
> This is by design. The libata driver (unlike the old ide driver) acts
> as if everything was a SCSI drive.

That's only one half of the reply. The other half is in the Debian Linux
kernel changelog
<http://packages.debian.org/changelogs/pool/main/l/linux-2.6/linux-2.6_2.6.32-10/changelog>
(linux-image-2.6.32-3 source is linux-2.6 2.6.32-9 and
linux-image-2.6.32-4 source is linux-2.6 2.6.32-11)

* [x86] Use libata-based drivers for most PATA controllers (Closes:
#444182):
- pata_triflex replaces triflex
- pata_atiixp replaces atiixp
- pata_ns87415 replaces ns87415
- pata_sc1200 replaces sc1200
- pata_cs5536 replaces cs5536
- pata_amd replaces amd74xx
- pata_sis replaces sis5513
- pata_rz1000 replaces rz1000
- pata_efar replaces slc90e66
- pata_pdc202xx_old replaces pdc202xx_old
- pata_pdc2027x replaces pdc202xx_new
- pata_cs5520 replaces cs5520
- pata_cs5530 replaces cs5530
- pata_cmd64x replaces cmd64x
- pata_sil680 replaces siimage
- pata_ali replaces alim15x3
- pata_via replaces via82cxxx
- pata_serverworks replaces serverworks
- pata_artop replaces aec62xx
- pata_it821x replaces it821x
- ata_piix, pata_oldpiix, pata_mpiix mostly replace piix
- ata_generic, pata_ns87410, pata_netcell replace ide-pci-generic
* linux-base: Add libata transition script
From: Ant on
On 4/25/2010 6:44 AM PT, Pascal Hambourg typed:

>>> Recently, I upgraded a bunch of Debian packages and installed Kernel
>>> v2.6.32-4 (had -3 packages) through apt-get. I rebooted and noticed all
>>> my hd* were gone. They were replaced with sd* instead. Some datas:
>>>
>>> # dmesg
>> ...
>>> [ 1.104125] libata version 3.00 loaded.
>> ...
>>> Is this a bug, by design, or a misconfiguration on my old PC?
>>
>> This is by design. The libata driver (unlike the old ide driver) acts
>> as if everything was a SCSI drive.
>
> That's only one half of the reply. The other half is in the Debian Linux
> kernel changelog
> <http://packages.debian.org/changelogs/pool/main/l/linux-2.6/linux-2.6_2.6.32-10/changelog>
> (linux-image-2.6.32-3 source is linux-2.6 2.6.32-9 and
> linux-image-2.6.32-4 source is linux-2.6 2.6.32-11)
>
> * [x86] Use libata-based drivers for most PATA controllers (Closes:
> #444182):
> - pata_triflex replaces triflex
> - pata_atiixp replaces atiixp
> - pata_ns87415 replaces ns87415
> - pata_sc1200 replaces sc1200
> - pata_cs5536 replaces cs5536
> - pata_amd replaces amd74xx
> - pata_sis replaces sis5513
> - pata_rz1000 replaces rz1000
> - pata_efar replaces slc90e66
> - pata_pdc202xx_old replaces pdc202xx_old
> - pata_pdc2027x replaces pdc202xx_new
> - pata_cs5520 replaces cs5520
> - pata_cs5530 replaces cs5530
> - pata_cmd64x replaces cmd64x
> - pata_sil680 replaces siimage
> - pata_ali replaces alim15x3
> - pata_via replaces via82cxxx
> - pata_serverworks replaces serverworks
> - pata_artop replaces aec62xx
> - pata_it821x replaces it821x
> - ata_piix, pata_oldpiix, pata_mpiix mostly replace piix
> - ata_generic, pata_ns87410, pata_netcell replace ide-pci-generic
> * linux-base: Add libata transition script

Thanks. Do I assume SCSI will still the same values too? How does one
tell apart if you have both ATA and SCSI together (not that I will ever
a SCSI device/card)?
--
"When you need a helpline for breakfast cereals, it's time to start
thinking about tearing down civilization and giving the ants a go."
--Chris King in a.s.r.
/\___/\ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site)
/ /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o o| |
\ _ / If crediting, then use Ant nickname and AQFL URL/link.
( ) If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.
From: Nico Kadel-Garcia on
On Apr 25, 12:44 pm, "David W. Hodgins" <dwhodg...(a)nomail.afraid.org>
wrote:
> On Sun, 25 Apr 2010 10:54:33 -0400, Ant <a...(a)zimage.comant> wrote:
> > Thanks. Do I assume SCSI will still the same values too? How does one
> > tell apart if you have both ATA and SCSI together (not that I will ever
> > a SCSI device/card)?
>
> Yes.  Determining whether it's a scsi drive, ide, sata, or something else
> can no longer be done based on the device name.  Lower level tools are
> required for that.
>
> One thing to keep in mind, is that scsi drives have a limit of 15
> partitions.

What kind of crack monkey slaps more than 15 partitions on one drive?
From: Nico Kadel-Garcia on
On Apr 26, 5:22 pm, "David W. Hodgins" <dwhodg...(a)nomail.afraid.org>
wrote:
> On Mon, 26 Apr 2010 13:09:53 -0400, Robert Wolfe <rob...(a)news.robertwolfe..org> wrote:
> > Myself, I prefer using the -h option after df and dh.  Makes things a
> > little bit easier to read :)
>
> In my case, I was once hit with the problem of a full root filesystem,
> after which I split /boot, /home, /opt, /usr, /tmp, and /var into
> separate filesystems.  Since I found that memtest will not boot from
> a separate partition, I stopped splitting that out of /.
>
> At the point where I switched to a kernel that used the libata module
> for ide drives, I had two versions of Mandriva linux installeld, as
> well as four very old vfat partitions for w98, and one ntfs for xp.
>
> Although I'd recently removed slackware and gentoo, I still had a
> hda16 partition.  It was easy to move things around to get rid of
> it, but it would have been more difficult if I'd chosen to keep
> the older slackware and gentoo installations.
>
> At present, I use a shared swap filesystem with all linux installs,
> and three separate partitions for each linux install.  One for /,
> one for /var/log, and one lvm partition for the rest.  I keep / and
> /var/log on real partitions, as at the time I set it up that way,
> the knoppix cd I was normally using as my rescue cd, did not support
> lvm.
>
> For each linux install (I currently have three), df shows ...
>
> $ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda14           1004M  514M  440M  54% /
> /dev/mapper/91-home  1008M  777M  181M  82% /home
> /dev/mapper/91-opt   1008M  413M  545M  44% /opt
> /dev/mapper/91-tmp    5.5G  158M  5.0G   3% /tmp
> /dev/mapper/91-usr     16G   12G  3.7G  76% /usr
> /dev/mapper/91-var    7.9G  1.1G  6.5G  14% /var
> /dev/sda15            494M   77M  393M  17% /var/log
> /dev/mapper/91-mnt    3.9M   76K  3.6M   3% /var/mnt
>
> I symlink /mnt and /media to /var/mnt, so that if I try to
> copy a large file, to an unmounted filesystem, it fills that
> filesystem very quickly, instead of filling the / filesystem.
> (That was how I ended up with a full / filesystem, that one
> time).
>
> Regards, Dave Hodgins

Swap partitions can, in many instances, simply go away. In modern
deployments, it's often easier to use a swap file and add or remove
those as desired. They take up the same amount of disk space, the
performance is nearly as good, and you don't have to deal with wasting
a partition.