Re: [SLUG] Something broke

From: Chuck Hast (wchast@gmail.com)
Date: Mon Jan 15 2007 - 14:26:54 EST


On 1/15/07, Paul M Foster <paulf@quillandmouse.com> wrote:
--- Hack --- Cut --- clip...

> Yeah, you never asked that question, or someone would have told you that
> music CDs don't get mounted the way data CDs do. You can insert a CD and
> call up "grip" to rip tracks from it, and grip will just go about its
> duties without any mounting occurring. Same with KSCD. (Well, maybe they
> *do* mount the thing, but certainly not the way things normally get
> mounted.)
>

Yeah, three kicks with a steel toe Justin Boot for that one... Sri...
These things
do have 5 different tracks, 4 in subdirectories including the MP3 and in the
parent directory are the horrendous WAV files. I will have to play with 'grip'
and see how it works. K3b did a great job.

> Some thoughts, then. It doesn't seem right that plugging in the USB
> device with the SD card inserted should automatically mount the card.
> I've never seen a USB device (I've used USB card readers before)
> automatically mount a card device. It may be assigned a node in the /dev
> infrastructure, but not mounted. Normally only automount will do such a
> thing.
>
It is a USB card reader.... Here is the messages tail from when the SD
card is inserted
in the card reader:

Jan 15 13:50:42 RF-mobile kernel: SCSI device sdc: 2012160 512-byte
hdwr sectors (1030 MB)
Jan 15 13:50:42 RF-mobile kernel: sdc: Write Protect is off
Jan 15 13:50:42 RF-mobile kernel: sdc: Mode Sense: 02 00 00 00
Jan 15 13:50:42 RF-mobile kernel: sdc: assuming drive cache: write through
Jan 15 13:50:42 RF-mobile kernel: SCSI device sdc: 2012160 512-byte
hdwr sectors (1030 MB)
Jan 15 13:50:42 RF-mobile kernel: sdc: Write Protect is off
Jan 15 13:50:42 RF-mobile kernel: sdc: Mode Sense: 02 00 00 00
Jan 15 13:50:42 RF-mobile kernel: sdc: assuming drive cache: write through
Jan 15 13:50:42 RF-mobile kernel: sdc: sdc1

> You say you can plug in the PCMCIA card and "the card" will be given a
> device node assignment of hde? Which "card" are you talking about that
> gets this assignment? Are you plugging in the PCMCIA card with the SD
> card inserted and getting the assignment that way? Or are you saying
> that the PCMCIA card gets this assignment by itself? Assuming the SD
> card is getting this hde assignment, it doesn't make sense that you
> can't mount it if you're trying to do so as root, and using the proper
> options for the mount command. What error message do you get when you
> try to mount the SD card while it's inserted into the PCMCIA card?
> Anything in syslog or /var/log/messages?
>

I should have defined things more clearly. 'The Card" should be the SD card
and the other is the pcmcia card which I should have just called the pc card...

Here is the messages tail of the insertion of the SD card into the PC card...

Jan 15 13:59:29 RF-mobile kernel: pccard: PCMCIA card inserted into slot 0
Jan 15 13:59:29 RF-mobile kernel: pcmcia: registering new device pcmcia0.0
Jan 15 13:59:31 RF-mobile kernel: Probing IDE interface ide2...
Jan 15 13:59:31 RF-mobile kernel: hde: CF Card, CFA DISK drive
Jan 15 13:59:31 RF-mobile kernel: hdf: probing with STATUS(0x00)
instead of ALTSTATUS(0x0a)
Jan 15 13:59:33 RF-mobile kernel: hdf: probing with STATUS(0x00)
instead of ALTSTATUS(0x0a)
Jan 15 13:59:34 RF-mobile kernel: ide2 at 0x4100-0x4107,0x410e on irq 3
Jan 15 13:59:34 RF-mobile kernel: hde: max request size: 128KiB
Jan 15 13:59:34 RF-mobile kernel: hde: 0 sectors (0 MB) w/1KiB Cache, CHS=0/0/0
Jan 15 13:59:34 RF-mobile kernel: ide-cs: hde: Vcc = 3.3, Vpp = 0.0

the card I was trying was a 128Mb card, this is a 1Gb card and I see some-
thing that makes me suspect in the last line there where it indicated 0 sectors.
The other card also showed 0 (I went off and left it at home so I am using the
one I have at hand), here is what I found from messages on it:

Jan 14 22:01:00 RF-mobile kernel: hde: CF Card, CFA DISK drive
Jan 14 22:01:00 RF-mobile kernel: hdf: probing with STATUS(0x00)
instead of ALTSTATUS(0x0a)
Jan 14 22:01:02 RF-mobile kernel: hdf: probing with STATUS(0x00)
instead of ALTSTATUS(0x0a)
Jan 14 22:01:04 RF-mobile kernel: ide2 at 0x4100-0x4107,0x410e on irq 3
Jan 14 22:01:04 RF-mobile kernel: hde: max request size: 128KiB
Jan 14 22:01:04 RF-mobile kernel: hde: 0 sectors (0 MB) w/1KiB Cache, CHS=0/0/0
Jan 14 22:01:04 RF-mobile kernel: ide-cs: hde: Vcc = 3.3, Vpp = 0.0

I sure wish I had captured this when it was working, but never even thought
about it.

> I'm not an expert; just looking as possibilities.
>

Hey you are giving me places to look and ideas to think about, when I used
to drive airplanes we always said 4 eyes in the cockpit were better than two
particularly when both are scanning the sky or instrument panel.

-- 
Chuck Hast  -- KP4DJT --
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:34:19 EDT