Re: Removable media bug

Lech Szychowski (lech.szychowski@pse.pl)
Tue, 1 Jun 1999 16:38:43 +0200


> > Jun 1 15:43:08 localhost kernel: VFS: Disk change detected on device sd(8,0)
> > Jun 1 15:43:08 localhost kernel: SCSI device sda: hdwr sector= 2048 bytes.
> > Sectors= 310352 [606 MB] [0.6 GB]
> > Jun 1 15:43:08 localhost kernel: sda: Write Protect is off
> Ok so it sees a change. But something didnt flush right. That means the
> hardware is happy. I'll try with my SCSI M/O next, although since the
> IDE one is ATAPI (ide-scsi) it shouldnt be different 8)

My new 1.3gig Fujitsu MO seems to work just fine with 2.3.3

/proc/scsi/scsi:

Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: FUJITSU Model: MCD3130SS Rev: 0010
Type: Optical Device ANSI SCSI revision: 02

dmesg:

Vendor: FUJITSU Model: MCD3130SS Rev: 0010
Type: Optical Device ANSI SCSI revision: 02
Detected scsi removable disk sdd at scsi1, channel 0, id 4, lun 0
[...]
sym53c810a-0-<4,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
SCSI device sdd: hdwr sector= 2048 bytes. Sectors= 605846 [1182 MB] [1.2 GB]
sdd: Write Protect is off

Media changes seem to be handled OK, too:

May 29 01:51:20 lech kernel: VFS: Disk change detected on device sd(8,49)
May 29 01:51:20 lech kernel: SCSI device sdd: hdwr sector= 2048 bytes. Sectors= 605846 [1182 MB] [1.2 GB]
May 29 01:51:20 lech kernel: sdd: Write Protect is off
May 29 01:51:20 lech kernel: sdd: sdd1

I've done some tests filling the (ext2) filesystem up with gzipped
tar and untarring the file - not a single problem.

-- 
	Leszek.

-- lech7@pse.pl 2:480/33.7 - REAL programmers use INTEGERS - -- speaking just for myself...

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