Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2003 12:12:14 -0800
From:      George Hartzell <hartzell@kestrel.alerce.com>
To:        freebsd-hackers@freebsd.org
Subject:   usb keychain memory disk doesn't work on 4.7p3
Message-ID:  <15905.52254.957313.867553@rosebud.alerce.com>

next in thread | raw e-mail | index | archive | help

I can't make my little Lexar JumpDrive 128Mb USB keychain memory
"disk" work.  The device works on a windows machine, and worked on
this very laptop back when it was running Redhat Linux 7.2 w/
RedHat's various updates.  I got the same failure trying to use the
device on a Dell OptiPlex GX110.

I'm using:

  - Sony Vaio PCG-Z505JE
  - FreeBSD 4.7p3 from cvs

When I insert the device, I get this in /var/log/messages:

  Jan 12 12:04:28 rosebud /kernel: umass0: LEXR PLUG DRIVE LEXR PLUG DRIVE, rev 1.10/0.01, addr 2
  Jan 12 12:04:28 rosebud /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
  Jan 12 12:04:28 rosebud /kernel: da0: <LEXAR DIGITAL FILM /W1.> Removable Direct Access SCSI-2 device 
  Jan 12 12:04:28 rosebud /kernel: da0: 650KB/s transfers
  Jan 12 12:04:28 rosebud /kernel: da0: 123MB (251904 512 byte sectors: 64H 32S/T 123C)

With this in my /etc/fstab:

  /dev/da0c               /mnt/jumpdrive  msdos   rw,noauto       0       0

I get this when I try a mount:

  > sudo mount /mnt/jumpdrive
  msdos: /dev/da0c: Input/output error

And this in /var/log/messages:

  Jan 12 12:05:02 rosebud /kernel: da0: reading primary partition table: error reading fsbn 0

I've tried every device in /dev/da0*:

   /dev/da0 /dev/da0c /dev/da0f /dev/da0s1 /dev/da0s1c /dev/da0s1f
   /dev/da0s2 /dev/da0a /dev/da0d /dev/da0g /dev/da0s1a /dev/da0s1d
   /dev/da0s1g /dev/da0s3 /dev/da0b /dev/da0e /dev/da0h /dev/da0s1b
   /dev/da0s1e /dev/da0s1h /dev/da0s4

and get the same result with all of them.

I've attached my dmesg info below:

Can anyone either suggest a fix or a place to start looking?

g.

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE-p3 #2: Wed Jan  8 11:17:28 PST 2003
    root@rosebud.alerce.com:/usr/obj/usr/src/sys/ROSEBUD
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (496.31-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 335478784 (327616K bytes)
avail memory = 320507904 (312996K bytes)
Preloaded elf kernel "kernel" at 0xc0567000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00fdf50
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NeoMagic model 0025 VGA-compatible display device> at 0.0 irq 9
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfc90-0xfc9f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfca0-0xfcbf irq 9 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: <Intel 82371AB Power management controller> port 0x1040-0x104f at device 7.3 on pci0
pci0: <unknown card> (vendor=0x104d, dev=0x8039) at 8.0 irq 9
pcm0: <Yamaha DS-1E (YMF744)> port 0xfc8c-0xfc8f,0xfcc0-0xfcff mem 0xfedf8000-0xfedfffff irq 9 at device 9.0 on pci0
pci0: <unknown card> (vendor=0x14f1, dev=0x2443) at 10.0 irq 9
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xfc40-0xfc7f mem 0xfec00000-0xfecfffff,0xfedf6000-0xfedf6fff irq 9 at device 11.0 on pci0
fxp0: Ethernet address 08:00:46:07:71:d5
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci_cfgintr_linked: linked (61) to hard-routed irq 9
pci_cfgintr: 0:12 INTA routed to irq 9
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 9 at device 12.0 on pci0
pcic0: PCI Memory allocated: 0x88000000
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pci0: <unknown card> (vendor=0x104d, dev=0x808a) at 13.0 irq 0
orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xdc000-0xdffff on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
ad0: 28615MB <IC25N030ATDA04-0> [58140/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
/dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 $
/dev/vmmon: Module vmmon: initialized
fxp0: promiscuous mode enabled
vmnet1: promiscuous mode enabled

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15905.52254.957313.867553>