Hi David,

David Brownell wrote:

And I notice you still didn't post the details about the disk (and enclosure) in use on USB. IT's really no big surprise that two different hardware+driver stacks don't act the same, even though the (eventually) should.

Sorry, I did not realize that you are waiting for more details.
Please note that write access to any of my disks gets seriously
affected as soon as there is an IO error with the USB disk.
Especially 'sync' gets stuck.



cdrecord says (empty lines removed):

[EMAIL PROTECTED]:log 191} cdrecord -scanbus
Cdrecord 2.01a16 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J�rg Schilling
Linux sg driver version: 3.5.29
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) *
cdrecord.mmap: Warning: controller returns wrong size for CD capabilities page.
        0,1,0     1) 'PIONEER ' 'DVD-ROM DVD-303 ' '1.09' Removable CD-ROM
        0,2,0     2) 'PIONEER ' 'CD-ROM DR-U16S  ' '1.01' Removable CD-ROM
        0,3,0     3) 'YAMAHA  ' 'CRW4416S        ' '1.0j' Removable CD-ROM
scsibus1:
        1,0,0   100) 'IBM     ' 'DGHS09V         ' '03E0' Disk
        1,1,0   101) 'IBM     ' 'DDYS-T18350N    ' 'S93E' Disk
scsibus2:
        2,0,0   200) 'IC25T060' 'ATCS05-0        ' '0811' Disk


The USB device is 2,0,0 (/dev/sdc). There are no IDE devices in my PC.


Syslog says about the USB stuff:


:
Jul 15 18:19:29 styx kernel: reiserfs: checking transaction log (sdb3) for (sdb3)
Jul 15 18:19:29 styx kernel: Using r5 hash to sort names
Jul 15 18:19:29 styx kernel: drivers/usb/core/usb.c: registered new driver usbfs
Jul 15 18:19:29 styx kernel: drivers/usb/core/usb.c: registered new driver hub
Jul 15 18:19:29 styx kernel: ehci_hcd 0000:00:09.2: VIA Technologies, In USB 2.0
Jul 15 18:19:29 styx kernel: ehci_hcd 0000:00:09.2: irq 10, pci mem e2b46000
Jul 15 18:19:29 styx kernel: ehci_hcd 0000:00:09.2: new USB bus registered, assigned 
bus number 1
Jul 15 18:19:29 styx kernel: ehci_hcd 0000:00:09.2: USB 2.0 enabled, EHCI 0.95, driver 
2003-Jun-13
Jul 15 18:19:29 styx kernel: hub 1-0:0: USB hub found
Jul 15 18:19:29 styx kernel: hub 1-0:0: 4 ports detected
Jul 15 18:19:29 styx kernel: PCI: Setting latency timer of device 0000:00:04.5 to 64
Jul 15 18:19:30 styx usb.agent: ... no modules for USB product 0/0/206
Jul 15 18:19:30 styx modprobe: FATAL: Module snd_card_1 not found.
:
:
Jul 15 19:53:39 styx modprobe: FATAL: Module ipv6 not found.
Jul 15 19:59:49 styx kernel: hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 
0x501
Jul 15 19:59:49 styx kernel: hub 1-0:0: new USB device on port 2, assigned address 2
Jul 15 19:59:49 styx kernel: Initializing USB Mass Storage driver...
Jul 15 19:59:49 styx kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jul 15 19:59:49 styx kernel:   Vendor: IC25T060  Model: ATCS05-0          Rev: 0811
Jul 15 19:59:49 styx kernel:   Type:   Direct-Access                      ANSI SCSI 
revision: 02
Jul 15 19:59:49 styx scsi.agent: bogus sysfs 
DEVPATH=/devices/pci0000:00/0000:00:09.2/usb1/1-2/1-2:0/host2/2:0:0:0
Jul 15 19:59:49 styx kernel: SCSI device sdc: 117210240 512-byte hdwr sectors (60012 
MB)
Jul 15 19:59:49 styx kernel: SCSI device sdc: drive cache: write through
Jul 15 19:59:50 styx kernel:  sdc: sdc1
Jul 15 19:59:50 styx kernel: Attached scsi disk sdc at scsi2, channel 0, id 0, lun 0
Jul 15 19:59:50 styx kernel: WARNING: USB Mass Storage data integrity not assured
Jul 15 19:59:50 styx kernel: USB Mass Storage device found at 2
Jul 15 19:59:50 styx kernel: drivers/usb/core/usb.c: registered new driver usb-storage
Jul 15 19:59:50 styx kernel: USB Mass Storage support registered.
Jul 15 20:00:01 styx /USR/SBIN/CRON[884]: (smmsp) CMD (test -x /usr/share/sendmail/sendmail 
&& /usr/share/sendmail/sendmail cron-msp)
Jul 15 20:00:01 styx logger: /usr/share/sendmail/sendmail cron-msp
Jul 15 20:00:01 styx modprobe: FATAL: Module ipv6 not found.
Jul 15 20:01:04 styx kernel: SCSI device sdc: 117210240 512-byte hdwr sectors (60012 
MB)
Jul 15 20:01:04 styx kernel: SCSI device sdc: drive cache: write through
Jul 15 20:01:04 styx kernel:  sdc:
Jul 15 20:01:06 styx kernel: SCSI device sdc: 117210240 512-byte hdwr sectors (60012 
MB)
Jul 15 20:01:06 styx kernel: SCSI device sdc: drive cache: write through
Jul 15 20:01:06 styx kernel:  sdc:
Jul 15 20:01:22 styx kernel: SCSI device sdc: 117210240 512-byte hdwr sectors (60012 
MB)
Jul 15 20:01:22 styx kernel: SCSI device sdc: drive cache: write through
Jul 15 20:01:22 styx kernel:  sdc: sdc1
Jul 15 20:01:25 styx kernel: SCSI device sdc: 117210240 512-byte hdwr sectors (60012 
MB)
Jul 15 20:01:25 styx kernel: SCSI device sdc: drive cache: write through
Jul 15 20:01:25 styx kernel:  sdc: sdc1
Jul 15 20:05:28 styx kernel: scsi: Device offlined - not ready after error recovery: 
host 2 channel 0 id 0 lun 0
Jul 15 20:05:28 styx kernel: SCSI error : <2 0 0 0> return code = 0x6050000
Jul 15 20:05:28 styx kernel: end_request: I/O error, dev sdc, sector 176
Jul 15 20:05:28 styx kernel: Buffer I/O error on device sdc1, logical block 18
Jul 15 20:10:10 styx identd[973]: started
Jul 15 20:13:42 styx syslogd 1.4.1#11: restart.
Jul 15 20:13:42 styx kernel: klogd 1.4.1#11, log source = /proc/kmsg started.
:


AFAIR I called fdisk to create a partition table (one big partition for the whole disk), then I used "mkreiserfs --format 3.6 /dev/sdc1" to create a file system. The red LED flashed just a few times, then mkreiserfs got stuck. (On 2.4.21 I see the same flashes, but then the LED stays on for a few seconds. Then mkreiserfs terminates without error message.)



If you are really asking for help, you should be providing
the troubleshooting information people ask for ... surely
you're aware that there are a LOT of disk-specific workarounds
that are needed?  Even a casual look at the code shows that.


Alan Stern suggested to rebuild the kernel with more debugging output enabled. The rebuild is running.

Again, sorry for the delay. Please mail me if I missed
to include something or if you need the whole syslog.


Any help is highly appreciated.



Regards


Harri



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to