[wplug] error msg for unknown device

bgtrio at yahoo.com bgtrio at yahoo.com
Wed Jan 22 15:33:01 EST 2003


This is interesting to me.

I picked up a digital camera (Walmart special- Lexmark printer + Concord 
2 megapixel camera for $110, and the box claims it supports Redhat, Suse, 
etc.).

However, the package lies and the camera isn't officially supported 
(although the printer is with binary only drivers).  But fortunately for 
me you can mount it as a mass storage device, on my Redhat 8.0 system it 
shows up as /dev/sda1, just like Alexandros'.

But sometimes it complains about bogus sectors or says there are too many 
FAT tables to mount it correctly.

Here's the crazy part- I seem to be able to fix it by running 

cdrecord --scanbus

once or twice.  I discovered this accidentally when I was surprised to see 
my non-working camera appear in the list of available scsi devices on my 
computer, and whenever I have mounting problems cdrecord --scanbus seems 
to clear them right up and mounting works fine.

I suspect that this command does something to reset the scsi device 
drivers, but I haven't the foggiest idea what.  Perhaps someone wiser than 
me has an idea?

Anyway, the camera and printer were a good deal once I got them working :)

Bryon



On Wed, 22 Jan 2003, Alexandros Papadopoulos wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 22 January 2003 14:48, jsbillings at mac.com wrote:
> > # ls -l /dev/sda1
> > brw-rw----    1 root     disk       8,   1 Apr 11  2002 /dev/sda1
> >
> > (note that Device 08:01 means that it's major device number is 8, and
> > it's minor device number is 1.)
> 
> Excellent! That's what I couldn't figure out. In my system 08:01 is 
> /dev/sda1 too, which I only use to mount my USB camera. BUT, I'm dead 
> sure I cleanly unmounted it last time I used it... hmm I'll look into 
> the modules, perhaps some garbages remain and confuse the kernel into 
> believing there's still something there.
> 
> Thanks a lot for the tip, I'll look into it :-)
> 
> - -A
> - -- 
> http://andrew.cmu.edu/~apapadop/pub_key.asc
> 3DAD 8435 DB52 F17B 640F  D78C 8260 0CC1 0B75 8265
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE+LvgpgmAMwQt1gmURAgADAJ0YhkNYmlHHr8PwCZbv9Nm1ngXDsgCfc1Oj
> vMjgVJWTxq0gl3sfHx3Ppdg=
> =A/E8
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
> 




More information about the wplug mailing list