> Any chance of you getting the kernel .config for the Knoppix 2.4.20 kernel?

No problem. The file is included on the CDROM. But as it is quite large,
I do not post it here, but have placed it at the following place ready
for download:

  http://www.typoscriptics.de/knoppix-3.1-config-2.4.20
  http://www.typoscriptics.de/knoppix-3.3-config-2.4.24

More details on the knoppix kernel can be found here:

  http://www.knoppix.net/docs/index.php/KnoppixCustomKernelHowto

I tested it on both versions of knoppix (3.1 and the current 3.3). I can
mount the external USB harddrive without problems in both versions.

I will also NOT help to follow the SuSE instructions given for SuSE 8.0:

  http://portal.suse.com/sdb/en/2002/05/usb80.html

Perhaps I should give some more details about the differences between
mounting on SuSE and mounting on knoppix. I tried the newer Knoppix-version here
(3.3).

A visual difference is, that copying a large file on Knoppix will cause the
drive LED to switch state between green and red in a quite regular fashion. On
SuSE, the LED turns red when copying starts and remains red until the timeout
occurs. It never returns to green, I have to switch the drive off. After that no
more mounting is possible, I have to mount the drive using Knoppix so that the
ext3-journal recovers the last healthy state. After that, SuSE is again able to
mount the drive without a timeout. Any hints on a solution for SuSE is highly
appreciated!

Thanks, Torsten

(who cannot respond to mail from Thu until the end of March ...)








Here comes the comparison:

++++ SuSE 9.0 - kernel 2.4.21-192-default ++++

# booting with
# /etc/sysconfig/kernel: INITRD_MODULES="jbd ext3"
# /etc/fstab : usbdevfs /proc/bus/usb usbdevfs noauto 0 0

...
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
...
ehci_hcd 00:03.3: PCI device 1039:7002 (Silicon Integrated Systems [SiS])
ehci_hcd 00:03.3: irq 10, pci mem d0872000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:03.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 4 ports detected
usb-uhci.c: $Revision: 1.275 $ time 19:50:37 Feb 18 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-ohci.c: USB OHCI at membase 0xd0885000, IRQ 10
usb-ohci.c: usb-00:03.0, Silicon Integrated Systems [SiS] 7001
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-ohci.c: USB OHCI at membase 0xd0887000, IRQ 11
usb-ohci.c: usb-00:03.1, Silicon Integrated Systems [SiS] 7001 (#2)
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 1 port detected
usb-ohci.c: USB OHCI at membase 0xd089a000, IRQ 3
usb-ohci.c: usb-00:03.2, Silicon Integrated Systems [SiS] 7001 (#3)
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 1 port detected

### before plugging in the harddrive:

# lsmod|grep usb
usbserial              19580   0 (autoclean) (unused)
usb-ohci               18664   0 (unused)
usbcore                58668   1 [

# lsusb
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000

######### now plugging in the drive: #################

# dmesg
hub.c: new USB device 00:03.3-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x5e3/0x702) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: ST380011  Model: A                 Rev: 0811
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
 sda: sda1 sda2 sda3

# this gives some entries in /etc/fstab:
/dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0 #HOTPLUG B3Fu.65vJnGtOb_E
/dev/sda2 /media/sda2 auto sync,noauto,user,exec 0 0 #HOTPLUG B3Fu.65vJnGtOb_E
/dev/sda3 /media/sda3 auto sync,noauto,user,exec 0 0 #HOTPLUG B3Fu.65vJnGtOb_E

# lsusb
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
Bus 001 Device 002: ID 05e3:0702 Genesys Logic, Inc.

# lsmod |grep usb
usb-storage            65312   0
usbserial              19580   0 (autoclean) (unused)
usb-ohci               18664   0 (unused)
scsi_mod               97268   6 [sd_mod usb-storage st sr_mod sg ide-scsi]

########### now mounting the drive: ##############

$ mount /media/sda1/

# dmesg:
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.


### now copying a 78 MB file to the drive. After a while I get:

# dmesg:
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb.c: USB disconnect on device 00:03.3-2 address 2
usb-storage: host_reset() requested but not implemented
scsi: device set offline - command error recover failed: host 1 channel 0 id 0 lun 0
SCSI disk error : host 1 channel 0 id 0 lun 0 return code = 6050000
 I/O error: dev 08:01, sector 619232
 I/O error: dev 08:01, sector 610528
 I/O error: dev 08:01, sector 536720
 I/O error: dev 08:01, sector 9120
 I/O error: dev 08:01, sector 9168
 I/O error: dev 08:01, sector 9176
 I/O error: dev 08:01, sector 536720
 I/O error: dev 08:01, sector 536720
 I/O error: dev 08:01, sector 536720
EXT3-fs error (device sd(8,1)): ext3_free_branches: Read failure, inode=32706, 
block=67090
 I/O error: dev 08:01, sector 0
 I/O error: dev 08:01, sector 9184
 I/O error: dev 08:01, sector 9208
...


++++ end SuSE ++++





++++ Knoppix 3.3 - kernel 2.4.20-xfs ++++

# booting from CDROM

# dmesg:
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 01:17:44 Feb  4 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb-ohci.c: USB OHCI at membase 0xcfb9f000, IRQ 20
usb-ohci.c: usb-00:03.0, Silicon Integrated Systems [SiS] USB 1.0 Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-ohci.c: USB OHCI at membase 0xcfba1000, IRQ 21
usb-ohci.c: usb-00:03.1, Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 1 port detected
usb-ohci.c: USB OHCI at membase 0xcfba3000, IRQ 22
usb-ohci.c: usb-00:03.2, Silicon Integrated Systems [SiS] USB 1.0 Controller (#3)
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 1 port detected
usbdevfs: remount parameter error

# lsmod|grep usb
usb-ohci               18184   0  (unused)
usbcore                57824   1  [usb-ohci]

# lsusb
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  

######### now plugging in the drive: #################

# dmesg
hub.c: new USB device 00:03.1-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x5e3/0x702) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: ST380011  Model: A                 Rev: 0811
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
 sda: sda1 sda2 sda3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.

# lsusb
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 002 Device 002: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
Bus 001 Device 001: ID 0000:0000

# lsmod|grep usb
usb-storage            61280   0 
usb-ohci               18184   0  (unused)
usbcore                57824   1  [usb-storage usb-ohci]

#### now copy file with 78 MB

-> works!

#### now umount and unplugging the device:

# dmesg:
usb.c: USB disconnect on device 00:03.1-1 address 2

++++ end Knoppix ++++



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to