Hi, again,

Stephen suggests:

What is in your log files when you load the driver? DO you have scsi disk
and generic in your kernel?


Ok, I just re-compiled the kernel. Previously I had the following as modules, now they are included:
SCSI device support
SCSI disk support
SCSI generic support
USB Mass Storage support


Also previously I had not inserted scsi disk or generic support when I tried to mount the camera.

Now mount reports the following error:
mount: wrong fs type, bad option, bad superblock on /dev/sda,
      or too many mounted file systems

The last lines of dmesg are:
 FAT: bogus number of reserved sectors
 VFS: Can't find a valid FAT filesystem on dev sda.
which suggests the problem is a wrong fs type.


I also get a kernel bug at boot-up. The full text is in the output of dmesg (at the end of the message); here is a summary:
Adding 1534196k swap on /dev/hda3. Priority:-1 extents:1
kmem_cache_create: duplicate cache sgpool-8
------------[ cut here ]------------
kernel BUG at mm/slab.c:1268!
invalid operand: 0000 [#1]


I am compliling using Gcc 3.2.2, which is a no-no, but have not had problems previously.

Thank you again for your help & suggestions!

-glenn

Here is the full session, commands are
(turn on camera)
> cat /proc/.../devices
> mount /dev/sda /mnt/camera -t vfat
> dmesg

-------------[begin terminal session]--------------

~/temp :)cat /proc/bus/usb/devices

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=054c ProdID=0010 Rev= 4.50
S:  Manufacturer=Sony
S:  Product=Sony DSC
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=ff Prot=01 Driver=usb-storage
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=255ms

~/temp :)mount /dev/sda /mnt/camera/ -t vfat
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems
~/temp :)dmesg
Linux version 2.6.0-test11 ([EMAIL PROTECTED]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #6 Tue Dec 16 11:04:52 EST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000004fff0000 (usable)
BIOS-e820: 000000004fff0000 - 000000004fff3000 (ACPI NVS)
BIOS-e820: 000000004fff3000 - 0000000050000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
383MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 327664
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 225280 pages, LIFO batch:16
HighMem zone: 98288 pages, LIFO batch:16
DMI 2.2 present.
Building zonelist for node : 0
Kernel command line: ro root=/dev/hda2 hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
Detected 1403.835 MHz processor.
Console: colour VGA+ 80x25
Memory: 1293300k/1310656k available (1909k kernel code, 16236k reserved, 790k data, 248k init, 393152k highmem)
Calibrating delay loop... 2760.70 BogoMIPS
Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 82k freed
CPU: After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1cbfbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1cbfbff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) XP 1600+ stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfb3f0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/3177] at 0000:00:11.0
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
pty: 2048 Unix98 ptys configured
Real Time Clock Driver v1.12
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PCI: Found IRQ 11 for device 0000:00:08.0
PCI: Sharing IRQ 11 with 0000:00:10.0
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:08.0: 3Com PCI 3c905C Tornado at 0xd000. Vers LK1.1.19
divert: allocating divert_blk for eth0
divert: not allocating divert_blk for non-ethernet device lo
0 3c515 cards found.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:pio
hda: IC35L080AVVA07-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: 24X10, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)
hda: hda1 hda2 hda3
ide-floppy driver 0.99.newide
PCI: Found IRQ 10 for device 0000:00:10.3
PCI: Sharing IRQ 10 with 0000:00:0b.0
ehci_hcd 0000:00:10.3: EHCI Host Controller
ehci_hcd 0000:00:10.3: irq 10, pci mem f880d000
ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2003 Oct 13 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
PCI: Found IRQ 11 for device 0000:00:10.0
PCI: Sharing IRQ 11 with 0000:00:08.0
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: irq 11, io base 0000d400
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PCI: Found IRQ 11 for device 0000:00:10.1
PCI: Sharing IRQ 11 with 0000:00:09.0
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: irq 11, io base 0000d800
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PCI: Found IRQ 5 for device 0000:00:10.2
PCI: Sharing IRQ 5 with 0000:00:11.5
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: irq 5, io base 0000dc00
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
EISA: Probing bus 0 at eisa0
NET: Registered protocol family 2
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 524288 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 248k freed
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
EXT3 FS on hda2, internal journal
Adding 1534196k swap on /dev/hda3. Priority:-1 extents:1
kmem_cache_create: duplicate cache sgpool-8
------------[ cut here ]------------
kernel BUG at mm/slab.c:1268!
invalid operand: 0000 [#1]
CPU: 0
EIP: 0060:[<c0139975>] Not tainted
EFLAGS: 00010202
EIP is at kmem_cache_create+0x3d5/0x4b0
eax: 0000002c ebx: f7ff7370 ecx: c03ecc08 edx: 00001cf7
esi: c03002ff edi: f892417d ebp: f7cacde4 esp: f7645f3c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 678, threadinfo=f7644000 task=f768ad40)
Stack: c02ef660 f8924174 00002000 f7645f58 f7cace20 c0000000 ffffffc0 00000040
f8934540 00000000 f8934a80 f7644000 f880f14a f8924174 00000080 00000040
00002000 00000000 00000000 c0336490 c0336478 f880f00c 40017000 c0336490
Call Trace:
[<f880f14a>] scsi_init_queue+0x4a/0xc0 [scsi_mod]
[<f880f00c>] init_scsi+0xc/0x100 [scsi_mod]
[<c0130fde>] sys_init_module+0x10e/0x1c0
[<c010aab9>] sysenter_past_esp+0x52/0x71


Code: 0f 0b f4 04 6a ee 2e c0 8b 0b e9 76 ff ff ff 8b 47 34 c7 04
<6>kudzu: numerical sysctl 1 23 is obsolete.
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
parport0: cpp_daisy: aa5500ff(00)
parport0: assign_addrs: aa5500ff(00)
parport0: cpp_daisy: aa5500ff(00)
parport0: assign_addrs: aa5500ff(00)
warning: process `update' used the obsolete bdflush system call
Fix your initscripts?
warning: process `update' used the obsolete bdflush system call
Fix your initscripts?
hub 2-0:1.0: new USB device on port 1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
 Vendor: Sony      Model: Sony DSC          Rev: 4.50
 Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 487936 512-byte hdwr sectors (250 MB)
sda: Write Protect is off
sda: Mode Sense: 00 00 00 00
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda.









--

I want to go farther, farther!

A. E. L.




------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to