lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 6 Jul 2007 14:30:55 +0200
From:	Christoph Pleger <Christoph.Pleger@...uni-dortmund.de>
To:	linux-kernel@...r.kernel.org
Subject: Re: PATA-disk named sda

Hello,

> > In the newest Ubuntu Release, my PATA-disk is called sda instead of
> > hda. Is that a general feature in newer kernel versions or is it a
> > special feature in Ubuntu?
> 
> General. SATA and now PATA drives map onto the /dev/sd range as do
> SCSI, USB etc

It seems to be not that simple, at least not if both the old IDE
interface and the new libata interface are enabled as modules: In my
Ubuntu system, I created two kernel packages (from the same kernel
source and with the same configuration) and installed them. Afterwards,
I re-created the initial ramdisks, one with the Ubuntu feisty utilities
and one with Debian etch utilities. So, I had the same kernel with
different ramdisks. With the Ubuntu ramdisk, my harddrive was named sda,
but with the Debian ramdisk, it was named hda.

So, the name of the drive can depend on something which happens in the
ramdisk environment. Does anybody know what that is? And is there a
kernel command line parameter which restores the old behaviour?

And what about hdparm (setting 32bit I/O and multi-sector mode)? Suren
wrote that 32bit I/O makes no sense when using DMA. Maybe that's right,
but it does not correspond with my experiences. At least, I have the
"feeling" that my IDE disks work much faster since I enabled 32bit
support (DMA already was on before).

Regards
  Christoph
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ