-
Junior Member
registered user

Originally Posted by
p.lavarre
>Thanks for helping me learn. When you feel you & I have taught each other all we know, you >might want to launch a new thread, to encourage someone else to contribute.
>
>I haven't yet heard if boot: knoppix26 hdc=ide-cd hdd=ide-cd
>made your PATAPI Zip appear in: plscsi /dev/hd[abcd]
Just before I give up, here is the last 50 lines of /var/log/syslog (with hdc=scsi hdd=scsi and
and attempt at mount /dev/sda4 /mnt/test):
---
May 28 11:51:33 tigaon kernel: SCSI device sda: 196608 512-byte hdwr sectors (101 MB)
May 28 11:51:33 tigaon kernel: sda: Write Protect is off
May 28 11:51:33 tigaon kernel: sda: Mode Sense: 45 00 00 08
May 28 11:51:33 tigaon kernel: SCSI device sda: drive cache: write back
May 28 11:51:33 tigaon kernel: SCSI device sda: 196608 512-byte hdwr sectors (101 MB)
May 28 11:51:33 tigaon kernel: sda: Write Protect is off
May 28 11:51:33 tigaon kernel: sda: Mode Sense: 45 00 00 08
May 28 11:51:33 tigaon kernel: SCSI device sda: drive cache: write back
May 28 11:52:03 tigaon kernel: sda:hdd: DMA interrupt recovery
May 28 11:52:03 tigaon kernel: hdd: lost interrupt
May 28 11:52:03 tigaon kernel: ide-scsi: The scsi wants to send us more data than expected - discarding data
May 28 11:52:03 tigaon kernel: hdd: DMA disabled
May 28 11:52:03 tigaon kernel: hdd: ATAPI reset complete
May 28 11:52:23 tigaon kernel: scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0
May 28 11:52:23 tigaon kernel: SCSI error : <1 0 0 0> return code = 0x6000000
May 28 11:52:23 tigaon kernel: end_request: I/O error, dev sda, sector 0
May 28 11:52:23 tigaon kernel: Buffer I/O error on device sda, logical block 0
May 28 11:52:23 tigaon kernel: scsi1 (0:0): rejecting I/O to offline device
May 28 11:52:23 tigaon kernel: Buffer I/O error on device sda, logical block 0
May 28 11:52:23 tigaon kernel: ldm_validate_partition_table(): Disk read failed.
May 28 11:52:23 tigaon kernel: scsi1 (0:0): rejecting I/O to offline device
May 28 11:52:23 tigaon kernel: Buffer I/O error on device sda, logical block 0
May 28 11:52:23 tigaon kernel: unable to read partition table
---
Does it say anything extra?
-ishwar
-
Junior Member
registered user
Yes, this is great stuff.
I'm confident, if we dig long enough, we can discover how to patch the kernel to workaround specifically the evil:
kernel: sda: Mode Sense: 45 00 00 08
kernel: SCSI device sda: drive cache: write back
kernel: sda:hdd: DMA interrupt recovery
kernel: hdd: lost interrupt
kernel: ide-scsi: The scsi wants to send us more data than expected - discarding data
kernel: hdd: DMA disabled
kernel: hdd: ATAPI reset complete
kernel: scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0
kernel: SCSI error : <1 0 0 0> return code = 0x6000000
How hard do you want to work?
Are you willing to learn how to substitute an sd_mod.ko you build yourself for what Knoppix delivered to you?
If yes, then ...
Maybe first we should find this "sda: Mode Sense: 45 00 00 08" message in the kernel source.
http://lxr.linux.no/search?v=2.6.5&string=Mode+Sense
suggests:
http://lxr.linux.no/source/drivers/s...?v=2.6.5#L1154
printk(KERN_DEBUG "%s: Mode Sense: %02x %02x %02x %02x\n",
diskname, buffer[0], buffer[1], buffer[2], buffe
Looks like that messages prints after the failure of the third try in sd.sd_read_write_protect_flag i.e. a notoriously incompatible area of linux-scsi.
The linux-scsi source code is consciously written in a style that makes the plain hex difficult to infer. We need to discover how to turn SCSI tracing on, so we can see the CDB, status, etc.
Similar Threads
-
By jphartmann in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 04-10-2005, 01:43 PM
-
By Eradicator in forum General Support
Replies: 2
Last Post: 04-21-2004, 05:29 PM
-
By JohnnyH in forum General Support
Replies: 9
Last Post: 03-15-2003, 01:23 PM
-
By Mycroft1855 in forum Customising & Remastering
Replies: 1
Last Post: 02-27-2003, 05:23 PM
-
By Sucker in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 02-19-2003, 03:54 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

HGST Ultrastar 6TB SATA 3.5" Enterprise HDD HUS726060ALA640 90-99% Health
$79.00

Seagate 6TB HDD ST6000NM0034 7.2K 3.5" SAS 12Gb/s (NOT FOR PC - FOR SERVER ONLY)
$87.00

Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k
$189.99

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$329.99

Western Digital WD WD4000FYYZ 01UL1B2 4TB SATA 3.5" HDD 64MB %100 Healthy
$68.99

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$299.00

Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$669.99

1 - Seagate Barracuda 1.5TB 7200RPM 3.5" (ST31500341AS) HDD Wiped/Tested
$25.00

Seagate BarraCuda ST2000DM008 2TB 3.5in SATA 7200RPM 256MB HDD
$36.00

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99