-
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

HP - OmniBook 3 16" 2K Touchscreen Laptop - Intel Core Ultra 5 (2025) - 8GB M...
$479.99

8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard
$377.77

Panasonic Toughbook CF19 MK8 Core i5 3610ME 2.7GHz 12GB RAM 512GB SSD Win 10 Pro
$319.00

Dell Alienware m15 R7 AMD Ryzen 7 6800H 16GB DDR5 1TB SSD RTX 3070 Ti WIN 11 PRO
$920.00

Apple MacBook Air 13.6” M2 8GB 256GB SSD 2022 MLY33LL/A 8‑Core CPU 8‑Core GPU
$529.95

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$169.99

Lenovo LOQ 15 15.6" FHD 144Hz 8-Core i5-12450HX 16GB 512GB SSD GeForce RTX 4050
$799.00

Dell - XPS 13.4" 3K Touchscreen Laptop - Intel Core 5 Series 3 320 2026 - 8GB...
$699.99

HP 15-dy1031wm 15.6” Laptop Intel Core i3-1005G1 8GB RAM 256GB SSD
$115.00

Lenovo ThinkPad T480 Core i5-8250u 1.6GHz 8GB 256GB SSD 14" ***Boot to Bios
$110.00