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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-02-2006, 10:57 PM
|
#1
|
LQ Newbie
Registered: Jan 2006
Posts: 12
Rep:
|
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.:
|
|
|
10-03-2006, 07:43 PM
|
#2
|
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:
|
Erase the partition, and format the device itself. It should work as a disk, not like a hard drive.
|
|
|
10-07-2006, 04:27 PM
|
#3
|
LQ Newbie
Registered: Jan 2006
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
10-07-2006, 10:34 PM
|
#4
|
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:
|
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?
|
|
|
10-16-2006, 05:46 AM
|
#5
|
LQ Newbie
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15
Rep:
|
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~
|
|
|
10-17-2006, 09:18 PM
|
#6
|
LQ Newbie
Registered: Jan 2006
Posts: 12
Original Poster
Rep:
|
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
|
|
|
10-18-2006, 12:35 AM
|
#7
|
LQ Newbie
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15
Rep:
|
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~
|
|
|
10-18-2006, 01:39 AM
|
#8
|
LQ Newbie
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15
Rep:
|
Oh i added it to the grub start and it works! great thanks man my boot up from 3 mins became 30 secs. h
|
|
|
All times are GMT -5. The time now is 01:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|