LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-02-2006, 10:57 PM   #1
Chundo
LQ Newbie
 
Registered: Jan 2006
Posts: 12

Rep: Reputation: 0
Compact Flash Partition table problems


Guys,
I have connect a SanDisk CF 512 bytes as hdb drive on
my linux machine, I have used following commands to
partition it

> cfdisk /dev/hdb
> I made a new partition of 512mB
> make is 83 (linux) type
> made that partition bootable

when the use write command
following message appears

'Wrote Partitiontable but re-read table failed

Guys can help me out here
following is
dmesg output which might help:

hdb: SanDisk SDCFB-512, CFA DISK drive
blk: queue c8825b60, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c8825c9c, I/O limit 4095Mb (mask 0xffffffff)
hdc: Compaq CRD-8484B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: 40021632 sectors (20491 MB) w/2048KiB Cache, CHS=39704/16/63, UDMA(33)
hdb: attached ide-disk driver.
hdb: 1000944 sectors (512 MB) w/1KiB Cache, CHS=993/16/63, DMA
Partition check:
/dev/ide/host0/bus0/target0/lun0: [PTBL] [2491/255/63] p1 p2 < p5 >
/dev/ide/host0/bus0/target1/lun0:<4>hdb: dma_timer_expiry: dma status == 0x60
hdb: timeout waiting for DMA
hdb: timeout waiting for DMA
hdb: (__ide_dma_test_irq_R23a36445) called while not waiting
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hdb: drive not ready for command
hdb: dma_timer_expiry: dma status == 0x60
hdb: timeout waiting for DMA
hdb: timeout waiting for DMA
hdb: (__ide_dma_test_irq_R23a36445) called while not waiting
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hdb: drive not ready for command
hdb: dma_timer_expiry: dma status == 0x60
hdb: timeout waiting for DMA
hdb: timeout waiting for DMA
hdb: (__ide_dma_test_irq_R23a36445) called while not waiting
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hdb: drive not ready for command
unknown partition table
FDC 0 is a post-1991 82077
end_request: I/O error, dev 02:00 (floppy), sector 0
/dev/ide/host0/bus0/target1/lun0:<4>hdb: dma_timer_expiry: dma status == 0x60
hdb: timeout waiting for DMA
hdb: timeout waiting for DMA
hdb: (__ide_dma_test_irq_R23a36445) called while not waiting
unknown partition table
cdrom: open failed.
/dev/ide/host0/bus0/target1/lun0: unknown partition table
end_request: I/O error, dev 02:00 (floppy), sector 0
/dev/ide/host0/bus0/target1/lun0: unknown partition table
cdrom: open failed.
/dev/ide/host0/bus0/target1/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
cdrom: open failed.
/dev/ide/host0/bus0/target1/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
cdrom: open failed.
end_request: I/O error, dev 02:00 (floppy), sector 0
cdrom: open failed.
end_request: I/O error, dev 02:00 (floppy), sector 0
cdrom: open failed.
end_request: I/O error, dev 02:00 (floppy), sector 0
cdrom: open failed.
end_request: I/O error, dev 02:00 (floppy), sector 0
cdrom: open failed.
end_request: I/O error, dev 02:00 (floppy), sector 0
cdrom: open failed.:
 
Old 10-03-2006, 07:43 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Erase the partition, and format the device itself. It should work as a disk, not like a hard drive.
 
Old 10-07-2006, 04:27 PM   #3
Chundo
LQ Newbie
 
Registered: Jan 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for your reply. I still do not understand why
my CF could not be treated as HD.?

I have now reached to the point where kernel boots on. I see linux startup messages flash by.

I get stuck when Hda partition check is performed.
it seems the kernel is not getting the required info
from the HD which is CF. The kernel is linux 2.4.27.

any ideas.

Thanks in advance, please consider that I am a newbie, so could be on wrong path.
 
Old 10-07-2006, 10:34 PM   #4
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Because the hardware should be treating the compact flash as a disk. And you don't put partitions on disks. Just filesystems.

Kernel 2.4.27? Exactly how old is this distro?
 
Old 10-16-2006, 05:46 AM   #5
SianZronG
LQ Newbie
 
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15

Rep: Reputation: 0
I've got the exact same problem, but for my case i want to run it as a HDD too.

So is there any means that i can bypass the Partition check in the bootup? It still works just that loading times are very long waiting for the DMA request to timeout.


Thanks~
 
Old 10-17-2006, 09:18 PM   #6
Chundo
LQ Newbie
 
Registered: Jan 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by SianZronG
I've got the exact same problem, but for my case i want to run it as a HDD too.

So is there any means that i can bypass the Partition check in the bootup? It still works just that loading times are very long waiting for the DMA request to timeout.


Thanks~
I setup my grub with ide=nodma option, and it worked:

Regards
 
Old 10-18-2006, 12:35 AM   #7
SianZronG
LQ Newbie
 
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by Chundo
I setup my grub with ide=nodma option, and it worked:

Regards

Oh so you started your grub with ide=nodma? it's that simple?

Thanks~
 
Old 10-18-2006, 01:39 AM   #8
SianZronG
LQ Newbie
 
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15

Rep: Reputation: 0
Oh i added it to the grub start and it works! great thanks man my boot up from 3 mins became 30 secs. h
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition Table Problems? PipeDreams Linux - Newbie 16 09-06-2006 06:12 PM
FFS partition on Compact Flash card - how to copy ??? rkaluzinski Linux - General 0 02-24-2006 04:48 PM
partition table problems Moebius Linux - Hardware 5 12-15-2004 08:16 PM
Problems booting to a Compact Flash card xedgex Linux - Laptop and Netbook 1 07-17-2004 12:02 PM
partition table problems alexellis Debian 1 07-01-2004 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration