Help with kernel configuration to add drivers

Jay Moore jaymo at mail.bokler.com
Sun Nov 7 21:12:01 UTC 2004


On Sun, 2004-11-07 at 13:48, Jeff Vian wrote:

> > > > I did try just mounting the device, but got an error message:
> > > > # mount /dev/sda1 /mnt/cf
> > > > mount: /dev/sda1 is not a valid block device
> > > 
> > > Do you have a formatted CF card in the reader?
> > 
> > Probably not... I would've guessed that the CF card had to be mounted
> > prior to formatting, but apparently I thought wrong  :)
> > > 

> > > FC2 already has all the necessary support enabled, just ignore 
> > > the "instructions" from Antec and start looking for the actual 
> > > problem. Does the system log (/var/log/messages) show that the 
> > > reader is detected? 
> > 
> > I've attached a couple of passages from /var/log/messages that pertain
> > to the CF card reader. If I read these correctly, the first passage
> > tells me that the system tried to mount sda (the CF card reader), but
> > found no CF card (which is true - on 31 Oct I'd not tried the CF card).
> > The second passage seems to say, "I am mounting this device, but I see
> > no partition table." 
> > 
> > So - I gather it is as you indicated: The system support is there; what
> > I need to do is: 
> > 
> > 1) [optionally] partition the device /dev/sda
> > 2) format the drive sda using mkfs 
> > 3) mount sda (e.g. mount/dev/sda /mnt/cf)
> > 
> > ------ First passage from /var/log/messages ----------
> > Oct 31 02:08:33 localhost kernel: hub 2-0:1.0: USB hub found
> > Oct 31 02:08:33 localhost kernel: hub 2-0:1.0: 3 ports detected
> > Oct 31 02:08:33 localhost kernel: usb 2-1: new full speed USB device
> > using address 2
> > Oct 31 02:08:33 localhost kernel: SCSI subsystem initialized
> > Oct 31 02:08:33 localhost kernel: Initializing USB Mass Storage
> > driver...
> > Oct 31 02:08:33 localhost kernel: EXT3 FS on hda2, internal journal
> > Oct 31 02:08:33 localhost kernel: scsi0 : SCSI emulation for USB Mass
> > Storage devices
> > Oct 31 02:08:33 localhost kernel:   Vendor: USB2.0    Model: CF 
> > CardReader    Rev:
> > Oct 31 02:08:33 localhost kernel:   Type:  
> > Direct-Access                      ANSI SCSI revision: 02
> > Oct 31 02:08:33 localhost kernel: usbcore: registered new driver
> > usb-storage
> > Oct 31 02:08:33 localhost kernel: USB Mass Storage support registered.
> > Oct 31 02:08:33 localhost kernel: device-mapper: 4.1.0-ioctl
> > (2003-12-10) initialised: dm at uk.sistina.com
> > Oct 31 02:08:33 localhost kernel: Attached scsi removable disk sda at
> > scsi0, channel 0, id 0, lun 0
> > Oct 31 02:08:33 localhost kernel: Device not ready.  Make sure there is
> > a disc in the drive.
> > Oct 31 02:08:33 localhost kernel: Device not ready.  Make sure there is
> > a disc in the drive.
> > 
> > 
> This says their is no media in the reader.
> The CF card is usually already formatted when you get it.
> Put the card in the reader and try the sequence from the beginning
> again.

Apparently it was not formatted... the CF isn't new; I've been using it
elsewhere, and was experimenting with it shortly before trying the
sequence below. 

After performing the sequence above (mkfs & mount) I did succeed  :)

> 
> > ------ Second passage from /var/log/messages ----------
> > Nov  6 14:28:47 localhost kernel: SCSI device sda: 2001888 512-byte hdwr
> > sectors (1025 MB)
> > Nov  6 14:28:47 localhost kernel: sda: assuming Write Enabled
> > Nov  6 14:28:47 localhost kernel: sda: assuming drive cache: write
> > through
> > Nov  6 14:28:47 localhost kernel: SCSI device sda: 2001888 512-byte hdwr
> > sectors (1025 MB)
> > Nov  6 14:28:47 localhost kernel: sda: assuming Write Enabled
> > Nov  6 14:28:47 localhost kernel: sda: assuming drive cache: write
> > through
> > Nov  6 14:28:48 localhost kernel:  sda: unknown partition table
> 




More information about the fedora-list mailing list