> Please show your mount command, and then show the errors you get when
> you try to mount.

I add that I just recompiled the kernel with gcc 2.95 (you'll see in
logs that this one was gcc 3.2.2) and it doesn't change a thing.

I made some more verbose logs.
Here is what I do:

chiral:~# lsmod
Module                  Size  Used by    Tainted: P
input                   3264   0  (autoclean)
nls_cp850               3612   6  (autoclean)
nls_iso8859-1           2876   6  (autoclean)
usb-uhci               23212   0  (unused)
usbcore                68896   1  [usb-uhci]
3dfx                    3680   0  (unused)
smbfs                  39024   6
es1371                 27752   0
ac97_codec             11016   0  [es1371]
soundcore               3652   4  [es1371]
3c59x                  27088   1

<sandisk device is plugged>

chiral:~# lsmod
Module                  Size  Used by    Tainted: P
usb-storage            56048   0
input                   3264   0  (autoclean)
nls_cp850               3612   6  (autoclean)
nls_iso8859-1           2876   6  (autoclean)
usb-uhci               23212   0  (unused)
usbcore                68896   1  [usb-storage usb-uhci]
3dfx                    3680   0  (unused)
smbfs                  39024   6
es1371                 27752   0
ac97_codec             11016   0  [es1371]
soundcore               3652   4  [es1371]
3c59x                  27088   1

chiral:~# sg_scan -i
/dev/sg0: scsi0 channel=0 id=0 lun=0 [em]  type=5
    PIONEER   DVD-RW  DVR-105   1.00 [wide=0 sync=0 cmdq=0 sftre=0 pq=0x0]
/dev/sg1: scsi0 channel=0 id=1 lun=0 [em]  type=5
    ASUS      CD-S400/A         2.1H [wide=0 sync=0 cmdq=0 sftre=0 pq=0x0]
/dev/sg2: scsi1 channel=0 id=0 lun=0 [em]  type=0
INQUIRY command error: Host_status=0x07(DID_ERROR)
/dev/sg3: scsi1 channel=0 id=0 lun=1 [em]  type=0
INQUIRY command error: Host_status=0x07(DID_ERROR)

chiral:~# mount -t vfat /dev/sda1 /mnt/tmp
mount: No medium found

chiral:~# fdisk /dev/sda

Unable to open /dev/sda




And here is the complete dmesg from boot:

20:33:09: klogd 1.4.1#11, log source = /proc/kmsg started.
20:33:09: Inspecting /boot/System.map-2.4.21-pre4-chiral.1
20:33:10: Loaded 18576 symbols from /boot/System.map-2.4.21-pre4-chiral.1.
20:33:10: Symbols match kernel version 2.4.21.
20:33:10: Loaded 179 symbols from 10 modules.
20:33:10: Linux version 2.4.21-pre4-chiral.1 (root@chiral) (gcc version 3.2.2 20030129 
(Debian prerelease)) #1 Sun Feb 2 00:13:33 CET 2003
20:33:10: BIOS-provided physical RAM map:
20:33:10:  BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
20:33:10:  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
20:33:10:  BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
20:33:10:  BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
20:33:10:  BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
20:33:10:  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
20:33:10: 511MB LOWMEM available.
20:33:10: On node 0 totalpages: 131056
20:33:10: zone(0): 4096 pages.
20:33:10: zone(1): 126960 pages.
20:33:10: zone(2): 0 pages.
20:33:10: Kernel command line: root=/dev/hda1 ro mem=nopentium rootflags=data=journal 
ide0=dma idebus=66 hdc=scsi hdd=scsi
20:33:10: ide_setup: ide0=dma
20:33:10: ide_setup: idebus=66
20:33:10: ide_setup: hdc=scsi
20:33:10: ide_setup: hdd=scsi
20:33:10: Local APIC disabled by BIOS -- reenabling.
20:33:10: Found and enabled local APIC!
20:33:10: Initializing CPU#0
20:33:10: Detected 1401.717 MHz processor.
20:33:10: Console: colour VGA+ 80x25
20:33:10: Calibrating delay loop... 2798.38 BogoMIPS
20:33:10: Memory: 515180k/524224k available (1555k kernel code, 8660k reserved, 544k 
data, 104k init, 0k highmem)
20:33:10: Checking if this processor honours the WP bit even in supervisor mode... Ok.
20:33:10: Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
20:33:10: Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
20:33:10: Mount cache hash table entries: 512 (order: 0, 4096 bytes)
20:33:10: Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
20:33:10: Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
20:33:10: CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
20:33:10: CPU: L2 Cache: 256K (64 bytes/line)
20:33:10: Intel machine check architecture supported.
20:33:10: Intel machine check reporting enabled on CPU#0.
20:33:10: CPU: AMD Athlon(tm) XP 1600+ stepping 02
20:33:10: Enabling fast FPU save and restore... done.
20:33:10: Enabling unmasked SIMD FPU exception support... done.
20:33:10: Checking 'hlt' instruction... OK.
20:33:10: POSIX conformance testing by UNIFIX
20:33:10: enabled ExtINT on CPU#0
20:33:10: ESR value before enabling vector: 00000000
20:33:10: ESR value after enabling vector: 00000000
20:33:10: Using local APIC timer interrupts.
20:33:10: calibrating APIC timer ...
20:33:10: ..... CPU clock speed is 1401.7936 MHz.
20:33:10: ..... host bus clock speed is 267.0083 MHz.
20:33:10: cpu: 0, clocks: 2670083, slice: 1335041
20:33:10: CPU0<T0:2670080,T1:1335024,D:15,S:1335041,C:2670083>
20:33:10: PCI: PCI BIOS revision 2.10 entry at 0xfb690, last bus=1
20:33:10: PCI: Using configuration type 1
20:33:10: PCI: Probing PCI hardware
20:33:10: PCI: Using IRQ router VIA [1106/0686] at 00:07.0
20:33:10: PCI: Disabling Via external APIC routing
20:33:10: Linux NET4.0 for Linux 2.4
20:33:10: Based upon Swansea University Computer Society NET3.039
20:33:10: Initializing RT netlink socket
20:33:10: apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
20:33:10: Starting kswapd
20:33:10: Journalled Block Device driver loaded
20:33:10: parport0: PC-style at 0x378 [PCSPP,EPP]
20:33:10: parport_pc: Via 686A parallel port: io=0x378
20:33:10: Detected PS/2 Mouse Port.
20:33:10: pty: 256 Unix98 ptys configured
20:33:10: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ 
SERIAL_PCI enabled
20:33:10: ttyS00 at 0x03f8 (irq = 4) is a 16550A
20:33:10: ttyS01 at 0x02f8 (irq = 3) is a 16550A
20:33:10: lp0: using parport0 (polling).
20:33:10: Real Time Clock Driver v1.10e
20:33:10: Floppy drive(s): fd0 is 1.44M
20:33:10: FDC 0 is a post-1991 82077
20:33:10: RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
20:33:10: loop: loaded (max 8 devices)
20:33:10: Linux agpgart interface v0.99 (c) Jeff Hartmann
20:33:10: agpgart: Maximum main memory to use for agp memory: 439M
20:33:10: agpgart: Detected AMD 761 chipset
20:33:10: agpgart: AGP aperture is 64M @ 0xf8000000
20:33:10: [drm] Initialized tdfx 1.0.0 20010216 on minor 0
20:33:10: Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
20:33:10: ide: Assuming 66MHz system bus speed for PIO modes
20:33:10: hda: IC35L080AVVA07-0, ATA DISK drive
20:33:10: hdc: PIONEER DVD-RW DVR-105, ATAPI CD/DVD-ROM drive
20:33:10: hdd: ASUS CD-S400/A, ATAPI CD/DVD-ROM drive
20:33:10: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
20:33:10: ide1 at 0x170-0x177,0x376 on irq 15
20:33:10: hda: host protected area => 1
20:33:10: hda: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=10011/255/63
20:33:10: ide-cd: passing drive hdc to ide-scsi emulation.
20:33:10: ide-cd: passing drive hdd to ide-scsi emulation.
20:33:10: Partition check:
20:33:10:  hda: hda1 hda2 hda3 hda4
20:33:10: SCSI subsystem driver Revision: 1.00
20:33:10: scsi0 : SCSI host adapter emulation for IDE ATAPI devices
20:33:10:   Vendor: PIONEER   Model: DVD-RW  DVR-105   Rev: 1.00
20:33:10:   Type:   CD-ROM                             ANSI SCSI revision: 02
20:33:10:   Vendor: ASUS      Model: CD-S400/A         Rev: 2.1H
20:33:10:   Type:   CD-ROM                             ANSI SCSI revision: 02
20:33:10: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
20:33:10: Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
20:33:10: sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
20:33:10: Uniform CD-ROM driver Revision: 3.12
20:33:10: sr1: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray
20:33:10: LVM version 1.0.6(25/10/2002)
20:33:10: NET4: Linux TCP/IP 1.0 for NET4.0
20:33:10: IP Protocols: ICMP, UDP, TCP, IGMP
20:33:10: IP: routing cache hash table of 4096 buckets, 32Kbytes
20:33:10: TCP: Hash tables configured (established 32768 bind 65536)
20:33:10: IPv4 over IPv4 tunneling driver
20:33:10: ip_conntrack version 2.1 (4095 buckets, 32760 max) - 292 bytes per conntrack
20:33:10: ip_tables: (C) 2000-2002 Netfilter core team
20:33:10: arp_tables: (C) 2002 David S. Miller
20:33:10: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
20:33:10: kjournald starting.  Commit interval 5 seconds
20:33:10: EXT3-fs: mounted filesystem with journal data mode.
20:33:10: VFS: Mounted root (ext3 filesystem) readonly.
20:33:10: Freeing unused kernel memory: 104k freed
20:33:10: Adding Swap: 498004k swap-space (priority -1)
20:33:10: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
20:33:10: PCI: Found IRQ 11 for device 00:09.0
20:33:10: 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
20:33:10: See Documentation/networking/vortex.txt
20:33:10: 00:09.0: 3Com PCI 3c905C Tornado at 0xe000. Vers LK1.1.16
20:33:10:  00:50:da:09:2b:ea, IRQ 11
20:33:10:   product code 5957 rev 00.13 date 07-22-99
20:33:10:   8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
20:33:10:   MII transceiver found at address 24, status 782d.
20:33:10:   Enabling bus-master transmits and whole-frame receives.
20:33:10: 00:09.0: scatter/gather enabled. h/w checksums enabled
20:33:10: es1371: version v0.32 time 00:19:46 Feb  2 2003
20:33:10: PCI: Found IRQ 12 for device 00:0b.0
20:33:10: PCI: Sharing IRQ 12 with 00:07.2
20:33:10: PCI: Sharing IRQ 12 with 00:07.3
20:33:10: PCI: Sharing IRQ 12 with 00:08.0
20:33:10: es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
20:33:10: es1371: found es1371 rev 8 at io 0xe400 irq 12
20:33:10: es1371: features: joystick 0x0
20:33:10: ac97_codec: AC97 Audio codec, id: CRY19 (Cirrus Logic CS4297A rev A)
20:33:10: kjournald starting.  Commit interval 5 seconds
20:33:10: EXT3 FS 2.4-0.9.19, 19 August 2002 on lvm(58,3), internal journal
20:33:10: EXT3-fs: mounted filesystem with ordered data mode.
20:33:10: kjournald starting.  Commit interval 5 seconds
20:33:10: EXT3 FS 2.4-0.9.19, 19 August 2002 on lvm(58,2), internal journal
20:33:10: EXT3-fs: mounted filesystem with ordered data mode.
20:33:10: usb.c: registered new driver usbdevfs
20:33:10: usb.c: registered new driver hub
20:33:10: usb-uhci.c: $Revision: 1.275 $ time 00:19:59 Feb  2 2003
20:33:10: usb-uhci.c: High bandwidth mode enabled
20:33:10: PCI: Found IRQ 12 for device 00:07.2
20:33:10: PCI: Sharing IRQ 12 with 00:07.3
20:33:10: PCI: Sharing IRQ 12 with 00:08.0
20:33:10: PCI: Sharing IRQ 12 with 00:0b.0
20:33:10: usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 12
20:33:10: usb-uhci.c: Detected 2 ports
20:33:10: usb.c: new USB bus registered, assigned bus number 1
20:33:10: Product: USB UHCI Root Hub
20:33:10: SerialNumber: d800
20:33:10: hub.c: USB hub found
20:33:10: hub.c: 2 ports detected
20:33:10: PCI: Found IRQ 12 for device 00:07.3
20:33:10: PCI: Sharing IRQ 12 with 00:07.2
20:33:10: PCI: Sharing IRQ 12 with 00:08.0
20:33:10: PCI: Sharing IRQ 12 with 00:0b.0
20:33:10: usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 12
20:33:10: usb-uhci.c: Detected 2 ports
20:33:10: usb.c: new USB bus registered, assigned bus number 2
20:33:10: Product: USB UHCI Root Hub
20:33:10: SerialNumber: dc00
20:33:10: hub.c: USB hub found
20:33:10: hub.c: 2 ports detected
20:33:10: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
20:33:10: smbfs: Unrecognized mount option noexec
20:33:10 chiral last message repeated 5 times
20:33:38: spurious 8259A interrupt: IRQ7.

Here is the sandisk plugin:

20:34:07: hub.c: new USB device 00:07.2-1, assigned address 2
20:34:07: Manufacturer: SanDisk
20:34:07: Product: ImageMate CF-SD
20:34:07: SerialNumber: BBCD32346629
20:34:07: usb.c: USB device 2 (vend/prod 0x781/0x830) is not claimed by any active 
driver.
20:34:07:   Length              = 18
20:34:07:   DescriptorType      = 01
20:34:07:   USB version         = 1.10
20:34:07:   Vendor:Product      = 0781:0830
20:34:07:   MaxPacketSize0      = 8
20:34:07:   NumConfigurations   = 1
20:34:07:   Device version      = 0.12
20:34:07:   Device Class:SubClass:Protocol = 00:00:00
20:34:07:     Per-interface classes
20:34:07: Configuration:
20:34:07:   bLength             =    9
20:34:07:   bDescriptorType     =   02
20:34:07:   wTotalLength        = 0027
20:34:07:   bNumInterfaces      =   01
20:34:07:   bConfigurationValue =   01
20:34:07:   iConfiguration      =   04
20:34:07:   bmAttributes        =   80
20:34:07:   MaxPower            =  100mA
20:34:07:
20:34:07:   Interface: 0
20:34:07:   Alternate Setting:  0
20:34:07:     bLength             =    9
20:34:07:     bDescriptorType     =   04
20:34:07:     bInterfaceNumber    =   00
20:34:07:     bAlternateSetting   =   00
20:34:07:     bNumEndpoints       =   03
20:34:07:     bInterface Class:SubClass:Protocol =   08:06:50
20:34:07:     iInterface          =   05
20:34:07:     Endpoint:
20:34:07:       bLength             =    7
20:34:07:       bDescriptorType     =   05
20:34:07:       bEndpointAddress    =   81 (in)
20:34:07:       bmAttributes        =   02 (Bulk)
20:34:07:       wMaxPacketSize      = 0040
20:34:07:       bInterval           =   00
20:34:07:     Endpoint:
20:34:07:       bLength             =    7
20:34:07:       bDescriptorType     =   05
20:34:07:       bEndpointAddress    =   02 (out)
20:34:07:       bmAttributes        =   02 (Bulk)
20:34:07:       wMaxPacketSize      = 0040
20:34:07:       bInterval           =   00
20:34:07:     Endpoint:
20:34:07:       bLength             =    7
20:34:07:       bDescriptorType     =   05
20:34:07:       bEndpointAddress    =   83 (in)
20:34:07:       bmAttributes        =   03 (Interrupt)
20:34:07:       wMaxPacketSize      = 0008
20:34:07:       bInterval           =   0a
20:34:07 chiral /sbin/hotplug: arguments (usb) env (DEVFS=/proc/bus/usb OLDPWD=/ 
PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug SHLVL=1 HOME=/ 
DEVICE=/proc/bus/usb/001/002 INTERFACE=8/6/80 PRODUCT=781/830/12 TYPE=0/0/0 
DEBUG=kernel _=/usr/bin/env)
20:34:07 chiral /sbin/hotplug: invoke /etc/hotplug/usb.agent ()
20:34:10 chiral /etc/hotplug/usb.agent: Setup usb-storage for USB product 781/830/12
20:34:10: Initializing USB Mass Storage driver...
20:34:10: usb.c: registered new driver usb-storage
20:34:10: scsi1 : SCSI emulation for USB Mass Storage devices
20:34:10:   Vendor: SanDisk   Model: ImageMate CF-SD1  Rev: 0100
20:34:10:   Type:   Direct-Access                      ANSI SCSI revision: 02
20:34:10:   Vendor: SanDisk   Model: ImageMate CF-SD3  Rev: 0100
20:34:10:   Type:   Direct-Access                      ANSI SCSI revision: 02
20:34:10: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
20:34:10: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 1
20:34:10: SCSI device sda: 62720 512-byte hdwr sectors (32 MB)
20:34:10: sda: Write Protect is off
20:34:10:  sda:<7>usb-storage: queuecommand() called
20:34:10:  sda1

sda1 is detected correctly (32MB)

20:34:10: sdb : READ CAPACITY failed.
20:34:10: sdb : status = 1, message = 00, host = 0, driver = 08
20:34:10: Info fld=0x0, Current sd00:00: sense key Not Ready
20:34:10: Additional sense indicates Medium not present
20:34:10: sdb : block size assumed to be 512 bytes, disk size 1GB.
20:34:10:  sdb: I/O error: dev 08:10, sector 0
20:34:10:  I/O error: dev 08:10, sector 0
20:34:10:  unable to read partition table

sdb is not detected and this is normal: no sd card

20:34:10: USB Mass Storage support registered.

And here is the call to mount: size of the disk become 1GB !

20:35:11: usb-uhci.c: interrupt, status 3, frame# 1106
20:35:11: sda : READ CAPACITY failed.
20:35:11: sda : status = 0, message = 00, host = 7, driver = 00
20:35:11: sda : sense not available.
20:35:11: sda : block size assumed to be 512 bytes, disk size 1GB.
20:35:11:  sda: I/O error: dev 08:00, sector 0
20:35:11:  I/O error: dev 08:00, sector 0
20:35:11:  unable to read partition table
20:35:42: usb-uhci.c: interrupt, status 3, frame# 1169
20:35:42: sda : READ CAPACITY failed.
20:35:42: sda : status = 0, message = 00, host = 7, driver = 00
20:35:42: sda : sense not available.
20:35:42: sda : block size assumed to be 512 bytes, disk size 1GB.
20:35:42:  sda: I/O error: dev 08:00, sector 0
20:35:42:  I/O error: dev 08:00, sector 0
20:35:42:  unable to read partition table
20:35:55: usb-uhci.c: interrupt, status 3, frame# 177
20:35:55: sda : READ CAPACITY failed.
20:35:55: sda : status = 0, message = 00, host = 7, driver = 00
20:35:55: sda : sense not available.
20:35:55: sda : block size assumed to be 512 bytes, disk size 1GB.
20:35:55:  sda: I/O error: dev 08:00, sector 0
20:35:55:  I/O error: dev 08:00, sector 0
20:35:55:  unable to read partition table
20:36:10: usb-uhci.c: interrupt, status 3, frame# 718
20:36:10: sda : READ CAPACITY failed.
20:36:10: sda : status = 0, message = 00, host = 7, driver = 00
20:36:10: sda : sense not available.
20:36:10: sda : block size assumed to be 512 bytes, disk size 1GB.
20:36:10:  sda: I/O error: dev 08:00, sector 0
20:36:10:  I/O error: dev 08:00, sector 0
20:36:10:  unable to read partition table
20:37:03: usb-uhci.c: interrupt, status 3, frame# 931
20:37:04: sda : READ CAPACITY failed.
20:37:04: sda : status = 0, message = 00, host = 7, driver = 00
20:37:04: sda : sense not available.
20:37:04: sda : block size assumed to be 512 bytes, disk size 1GB.
20:37:04:  sda: I/O error: dev 08:00, sector 0
20:37:04:  I/O error: dev 08:00, sector 0
20:37:04:  unable to read partition table
20:37:04: sda : READ CAPACITY failed.
20:37:04: sda : status = 0, message = 00, host = 7, driver = 00
20:37:04: sda : sense not available.
20:37:04: sda : block size assumed to be 512 bytes, disk size 1GB.
20:37:04:  sda: I/O error: dev 08:00, sector 0
20:37:04:  I/O error: dev 08:00, sector 0
20:37:04:  unable to read partition table
20:37:48: usb-uhci.c: interrupt, status 3, frame# 545
20:37:54: usb-uhci.c: interrupt, status 3, frame# 2039
20:38:04: usb-uhci.c: interrupt, status 3, frame# 520
20:38:23: usb-uhci.c: interrupt, status 3, frame# 588



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to