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-next>] [day] [month] [year] [list]
Message-ID: <45805A46.7090505@wintersgift.com>
Date:	Wed, 13 Dec 2006 11:53:42 -0800
From:	Teunis Peters <teunis@...tersgift.com>
To:	linux-kernel@...r.kernel.org
Subject: Question: SATA and Flash drives?  (also: dm-crypto problem)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm now getting a long delay on bootup on SATA-based laptops.  (30
seconds +) followed by some unusual errors.

attached: .config file used here.

I'm copying the log by hand as none of these units have serial ports.
hardware: HP/Compaq nx6310.  Intel Pentium M/Yonah processor, Intel 945
control hardware (graphics,PCI,...)
"hard drive" - 16G flash drive on SATA.  Filesystem is encrypted -
except for "/boot".   (dm-crypt/aes)
(skipping PM: debug as I'm not sure it helps)
(also skipping USB)
There's a 30 second delay before the first record (SATA link down) - and
some log entries that have skipped before this...  (trying again)

ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 17 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 1.5 Gbps 0x1 impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq ilck stag pm led clo pmp pio slum part
ata1: SATA max UDMA/133 cmd 0xF001E100 ctl 0x0 bmdma 0x0 irq 222
ata2: SATA max UDMA/133 cmd 0xF001E180 ctl 0x0 bmdma 0x0 irq 222
ata3: SATA max UDMA/133 cmd 0xF001E200 ctl 0x0 bmdma 0x0 irq 222
ata4: SATA max UDMA/133 cmd 0xF001E280 ctl 0x0 bmdma 0x0 irq 222
scsi0 : ahci
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
ata1: port is slow to respond, please be patient (Status 0x80)
ata1: port failed to respond (30 secs, Status 0x80)
ata1: COMRESET failed (device not ready)
ata1: hardreset failed, retrying in 5 secs
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-6, max UDMA/33, 32503803 sectors: LBA
ata1.00: ata1: dev 0 multi count 1
ata1.00: applying bridge limits
ata1.00: configured for UDMA/33
scsi1: ahci
ata2: SATA link down (SStatus 0 SControl 0)
scsi2: ahci
ata3: SATA link down (SStatus 0 SControl 0)
scsi3: ahci
ata4: SATA link down (SStatus 0 SControl 0)
scsi4: ahci
scsi 0:0:0:0 Direct-Access   ATA    PQI SATA DiskOnM YUAN PQ: 0 ANSI: 5
SCSI device sda: 32503803 512-byte hdwr sectors (16642 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: disabled, read cache: enabled, doesn't
support DPO or FUA
SCSI device sda: 32503808 512-byte hdwr sectors (16642 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: disabled, read cache: enabled, doesn't
support DPO or FUA
 sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk_sda
ICH7: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 16 (level, low) -> IRQ 16
ICH7: chipset revision 1
ICH7: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x60a0-0x60a7, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: HL-DT-STCD-RW/DVD DRIVE GCC-4244N, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
Probing IDE interface ide1...
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialized:
dm-devel@...hat.com
device-mapper: table: 254:3: crypt: Error allocating crypto tfm
device-mapper: ioctl: error adding target to table
device-mapper: ioctl: device doesn't appear to be in the dev hash table
(lots more)
device-mapper: table: 254:3: linear: dm-linear: Device lookup failed
device-mapper: ioctl: error adding target to table
(LOTS more)

then it promptly fails to find the partition.   (the "Error allocating
crypto tfm" seems to be part of the problem)

I'll gladly do anything necessary to make this work.  And, while it's been a few years since I've done device driver hacking, I'm happy to return to it.  (I'm just avoiding as it
takes a LOT of time and this isn't the only part of my job)

Next I'm trying as recent a git tree as I can find... in the hope someone has already solved it.
- - Teunis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFgFpFbFT/SAfwLKMRAvjHAKCgGijcRC1KtcodzEuAveDrJwfMHgCgn93Q
JcqqnGV7jJacTMx8UBTPEdk=
=ttoL
-----END PGP SIGNATURE-----

View attachment "config-2.6.19-git17" of type "text/plain" (73361 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ