Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
最近发现CF卡的一个问题,请教!
View previous topic :: View next topic  
Author Message
ninnd



Joined: 16 Nov 2007
Posts: 167

小企鹅: 5096

PostPosted: 2008-Mar-03 Mon, pm6:15 Reply with quote
 Post subject: 最近发现CF卡的一个问题,请教!

系统启动手,CF卡是正常的,但我只要关闭电源,然后打开电源后,CF卡就自动UMOUNT了,非要重新启动,运行了一遍FSCK,不仅没好,反而我装的CF卡里的软件都弄掉了,一些文件的连接,删了,在终端里运行MOUNT /MNT/CF,也是没应。用DMESG查看有这条错误信息:hda:lost interrupt
_________________
7500C,1G SD ,1G CF,pdaXrom 1.1 Beta1
QQ349963519
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2008-Mar-04 Tue, am12:15 Reply with quote
 Post subject:

是按on/off吗?

检查是不是sudo有问题?

CF卡也可以用读卡器上 windows格式化,拷贝东西,试试。

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
ninnd



Joined: 16 Nov 2007
Posts: 167

小企鹅: 5096

PostPosted: 2008-Mar-04 Tue, am9:55 Reply with quote
 Post subject:

ccpaging wrote:
是按on/off吗?

检查是不是sudo有问题?

CF卡也可以用读卡器上 windows格式化,拷贝东西,试试。


是按on/off,我想CF卡是没得问题的,因为我只要不按on/off一切运行正常,只要按了,CF卡就挂不上了,但我在CF卡上的交换分区还能用,真是邪了,我在网上查了下,有人说是硬件中断被占用了,有人说是DMA的问题,我觉得是硬件中断的问题下面是dmesg的信息
Code:
ver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xf8100000x (irq = 14) is a 16550A
ttyS01 at 0xf8700000x (irq = 12) is a 16550A, using IRDA
ttyS02 at 0xf8200000x (irq = 13) is a 16550A
rs_init: IRDA H/W initializaion
sharpled_init: done.
corgi remote controller
Cotulla Real Time Clock driver v1.00
Cotulla Touch Screen driver initialized
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
loop: loaded (max 8 devices)
PPP generic driver version 2.4.1
PPP BSD Compression module registered
ide-cs.c 1.26 1999/11/16 02:10:49 (David Hinds)
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
Corgi audio driver initialize
Sharp SL series flash device: 1000000 at 0
Using static partision definition
Creating 1 MTD partitions on "sharpsl-flash":
0x00120000-0x007f0000 : "Filesystem"
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Creating 3 MTD partitions on "Samsung K9D1208V0M":
0x00000000-0x00700000 : "smf"
0x00700000-0x03e00000 : "root"
0x03e00000-0x04000000 : "home"
Linux Kernel Card Services 3.1.22
  options:  [pm]
Intel PXA250/210 PCMCIA (CS release 3.1.22)
pxa_pcmcia_init(0)
pxa_pcmcia_init(1)
Backlight Driver Initialized.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
BlueZ L2CAP ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk>
BlueZ RFCOMM ver 1.1
Copyright (C) 2002 Maxim Krasnyansky <maxk>
Copyright (C) 2002 Marcel Holtmann <marcel>
BlueZ BNEP ver 1.2
Copyright (C) 2001,2002 Inventel Systemes
Written 2001,2002 by Clement Moreau <clement>
Written 2001,2002 by David Libault <david>
Copyright (C) 2002 Maxim Krasnyanskiy <maxk>
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
IrCOMM protocol (Dag Brattli)
cramfs: wrong magic
FAT: bogus logical sector size 381
Inode #1165 was a directory with children - removing those too...
Inode #19121 was a directory with children - removing those too...
Inode #2246 was a directory with children - removing those too...
Inode #2268 was a directory with children - removing those too...
Inode #1506 was a directory with children - removing those too...
Inode #1144 was a directory with children - removing those too...
Inode #1146 was a directory with children - removing those too...
Inode #1147 was a directory with children - removing those too...
VFS: Mounted root (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 156K
power_key_off = 1
sdcardmgr: SD card ejected!
SD card manager installed.
ide_attach()
ide_config(0xc30ef180)
Trying to free nonexistent resource <f6000000>
hda: SanDisk SDCFH-1024, ATA DISK drive
ide0 at 0xf6000008-0xf600000f,0xf600000e on irq 39
hda: 2001888 sectors (1025 MB) w/1KiB Cache, CHS=1986/16/63
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2
ide-cs: hda: Vcc = 3.3, Vpp = 0.0
VFS: Disk change detected on device ide0(3,1)
 /dev/ide/host0/bus0/target0/lun0: p1 p2
VFS: Disk change detected on device ide0(3,1)
 /dev/ide/host0/bus0/target0/lun0: p1 p2
VFS: Disk change detected on device ide0(3,1)
 /dev/ide/host0/bus0/target0/lun0: p1 p2
EXT2-fs: Unrecognized mount option quiet
VFS: Disk change detected on device ide0(3,1)
 /dev/ide/host0/bus0/target0/lun0: p1 p2
VFS: Disk change detected on device ide0(3,1)
 /dev/ide/host0/bus0/target0/lun0: p1 p2
VFS: Disk change detected on device ide0(3,1)
 /dev/ide/host0/bus0/target0/lun0: p1 p2
VFS: Disk change detected on device ide0(3,1)
 /dev/ide/host0/bus0/target0/lun0: p1 p2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
usbdm: usbd_monitor 0.3 035 2002-06-12 20:00
monitor_connected: 1
monitor_load:
monitor_hotplug: agent: usbd interface: monitor action: load
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
net_fd 0.1 035 2002-06-12 20:00 (dbg="",alwaysup=0,OUT=64,IN=64)
vendorID: 4dd productID: 9031
pxa_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
monitor_modinit: finished
Adding Swap: 121456k swap-space (priority -1)
mice: PS/2 mouse device common for all mice
[w100fb] set 640x480 (VGA 90 degree)
power_key_off = 0
Change CCCR = 162.
Changed CCCR = 162.
ide_detach(0xc30ef180)
ide_release(0xc30ef180)
pxa_pcmcia_init(0)
send_event: event=10
monitor_hotplug: agent: usbd interface: monitor action: suspend
udc_disable: ep0_urb already NULL
udc_disable: ep0_urb already NULL
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 exiting
monitor_pm_event: suspend finished (rc=0)
sharp_sl_nand_suspend
queue_event: event=10
suspend:
set_power_state: what=1 state=2
set_power_state: *** go into suspend
FCS : CCCR = 162
send_event: event=3
sleeping to allow SD card to resume...
sleep complete.
sharp_sl_nand_resume
pxa_pcmcia_init(0)
apm_get_event: resume notice
send_event: event=3
sleeping to allow SD card to resume...
sleep complete.
queue_event: event=3
pxa_pcmcia_init(1)
hotplug_schedule_bh: schedule bh
queue_event: event=3
hotplug_bh:
monitor_connected: 1
monitor_restore: RESTORE_LOADED
monitor_hotplug: agent: usbd interface: monitor action: restore-loaded
ide_attach()
ide_config(0xc30efb80)
Trying to free nonexistent resource <f6000000>
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
ide-cs: ide_register() at 0xf6000000 & 0xf600000e, irq 39 failed
ide_release(0xc30efb80)
net_fd 0.1 035 2002-06-12 20:00 (dbg="",alwaysup=0,OUT=64,IN=64)
vendorID: 4dd productID: 9031
pxa_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
ide_detach(0xc30efb80)
pxa_pcmcia_init(0)
send_event: event=10
monitor_hotplug: agent: usbd interface: monitor action: suspend
udc_disable: ep0_urb already NULL
udc_disable: ep0_urb already NULL
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 exiting
monitor_pm_event: suspend finished (rc=0)
sharp_sl_nand_suspend
queue_event: event=10
suspend:
set_power_state: what=1 state=2
set_power_state: *** go into suspend
FCS : CCCR = 162
send_event: event=3
sleeping to allow SD card to resume...
sleep complete.
sharp_sl_nand_resume
pxa_pcmcia_init(0)
apm_get_event: resume notice
pxa_pcmcia_init(1)
hotplug_schedule_bh: schedule bh
queue_event: event=3
hotplug_bh:
monitor_connected: 1
monitor_restore: RESTORE_LOADED
monitor_hotplug: agent: usbd interface: monitor action: restore-loaded
ide_attach()
ide_config(0xc30ef080)
Trying to free nonexistent resource <f6000000>
ide-cs: ide_register() at 0xf6000000 & 0xf600000e, irq 39 failed
ide_release(0xc30ef080)
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
net_fd 0.1 035 2002-06-12 20:00 (dbg="",alwaysup=0,OUT=64,IN=64)
vendorID: 4dd productID: 9031
pxa_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
ide_detach(0xc30ef080)
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt

这应该是按ON/OFF后的情况:
Code:

suspend:
set_power_state: what=1 state=2
set_power_state: *** go into suspend
FCS : CCCR = 162
send_event: event=3
sleeping to allow SD card to resume...
sleep complete.
sharp_sl_nand_resume
pxa_pcmcia_init(0)
apm_get_event: resume notice
send_event: event=3
sleeping to allow SD card to resume...
sleep complete.
queue_event: event=3
pxa_pcmcia_init(1)
hotplug_schedule_bh: schedule bh
queue_event: event=3
hotplug_bh:
monitor_connected: 1
monitor_restore: RESTORE_LOADED
monitor_hotplug: agent: usbd interface: monitor action: restore-loaded
ide_attach()
ide_config(0xc30efb80)
Trying to free nonexistent resource <f6000000>
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
ide-cs: ide_register() at 0xf6000000 & 0xf600000e, irq 39 failed
ide_release(0xc30efb80)
net_fd 0.1 035 2002-06-12 20:00 (dbg="",alwaysup=0,OUT=64,IN=64)
vendorID: 4dd productID: 9031
pxa_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
ide_detach(0xc30efb80)
pxa_pcmcia_init(0)
send_event: event=10
monitor_hotplug: agent: usbd interface: monitor action: suspend
udc_disable: ep0_urb already NULL
udc_disable: ep0_urb already NULL
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 exiting
monitor_pm_event: suspend finished (rc=0)
sharp_sl_nand_suspend
queue_event: event=10
suspend:
set_power_state: what=1 state=2
set_power_state: *** go into suspend
FCS : CCCR = 162
send_event: event=3
sleeping to allow SD card to resume...
sleep complete.
sharp_sl_nand_resume
pxa_pcmcia_init(0)
apm_get_event: resume notice
pxa_pcmcia_init(1)
hotplug_schedule_bh: schedule bh
queue_event: event=3
hotplug_bh:
monitor_connected: 1
monitor_restore: RESTORE_LOADED
monitor_hotplug: agent: usbd interface: monitor action: restore-loaded
ide_attach()
ide_config(0xc30ef080)
Trying to free nonexistent resource <f6000000>
ide-cs: ide_register() at 0xf6000000 & 0xf600000e, irq 39 failed
ide_release(0xc30ef080)
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
net_fd 0.1 035 2002-06-12 20:00 (dbg="",alwaysup=0,OUT=64,IN=64)
vendorID: 4dd productID: 9031
pxa_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
ide_detach(0xc30ef080)
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt


问题好像在这:ide-cs: ide_register() at 0xf6000000 & 0xf600000e, irq 39 failed
但是怎么解决我就不知道了,请高手指点一下,在OEFS里也有个哥们说有类似的问题,但他说不要按ON/OFF,但问题总得解决啊!

_________________
7500C,1G SD ,1G CF,pdaXrom 1.1 Beta1
QQ349963519
Back to top
View user's profile Send private message
ninnd



Joined: 16 Nov 2007
Posts: 167

小企鹅: 5096

PostPosted: 2008-Mar-27 Thu, am9:53 Reply with quote
 Post subject:

重装了原系统之后,昨天又出现这个问题,不知道究竟是什么原因产生的
_________________
7500C,1G SD ,1G CF,pdaXrom 1.1 Beta1
QQ349963519
Back to top
View user's profile Send private message
ninnd



Joined: 16 Nov 2007
Posts: 167

小企鹅: 5096

PostPosted: 2008-Mar-27 Thu, am11:11 Reply with quote
 Post subject:

问题找到了,只要是开了SWAP就不行,一ON/OFF,CF就自动umount了,我是在CF卡上建立的swap分区。
fstab是
Code:
/dev/root   /       jffs2   rw,noatime      1  1
/dev/mtdblock/3   /home      jffs2   rw,noatime      0  0
/dev/hda1   /mnt/cf      auto   noauto,owner,noatime   0  0
/dev/mmcd/disc0/part1 /mnt/sd auto defaults,iocharset=utf8 0 0
none      /dev/pts   devpts   gid=5,mode=620      0  0
proc      /proc      proc   defaults      0  0
/dev/hda2 swap swap defauls 0 0

看来只有建交换文件的方法了,但我的HDA2在不损坏数据的情况下,怎么合并到HDA1?

_________________
7500C,1G SD ,1G CF,pdaXrom 1.1 Beta1
QQ349963519
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2008-Mar-27 Thu, pm12:01 Reply with quote
 Post subject:

拷贝到SD卡上,重新分区,再拷贝回去
用tar做个压缩备份文件,拷贝到PC机上,重新分区后,再解压缩。
建立交换文件也需要修改相应的script。

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
ninnd



Joined: 16 Nov 2007
Posts: 167

小企鹅: 5096

PostPosted: 2008-Mar-27 Thu, pm12:12 Reply with quote
 Post subject:

拷贝大法啊!又要花点时间了。
建立交换文件也需要修改相应的script。是什么意思?是改fstab吗,还有别的地方没有?

_________________
7500C,1G SD ,1G CF,pdaXrom 1.1 Beta1
QQ349963519
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2008-Mar-27 Thu, pm4:07 Reply with quote
 Post subject:

sd卡要改sdcontrol。CF卡好像一直都有点问题,找不到哪里改。
_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2008-Mar-27 Thu, pm4:17 Reply with quote
 Post subject:

建议把swap放到sd卡上。
你可以把cpu设置到缺省主频上,再试试,在调试powerctrl时发现,有的CF卡不支持低的主频。

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
ninnd



Joined: 16 Nov 2007
Posts: 167

小企鹅: 5096

PostPosted: 2008-Mar-27 Thu, pm9:47 Reply with quote
 Post subject:

我想应该是PCIMA里,上次我挂GCC就是把系统的代码放在这里,因为系统的GCC在HOME,我HOME没那么大就放在CF里,但CF加载又在sysinit之后,就只能放在CF加载的时候,就是PCIMA这个文件,我现在就简单点,用猪猪那个script,改成swapon swapfile凑活着用。把HDA2整个建SWAPFLIE,这才发现CF能分两个主分区,哈哈
_________________
7500C,1G SD ,1G CF,pdaXrom 1.1 Beta1
QQ349963519
Back to top
View user's profile Send private message
Display posts from previous:     
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

[ 页面生成时间: 秒 ] :: [ 次查询 ] :: [ ]
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional