[Debian on uSD] where is mmcblk0?

2010-01-24 Thread Joif

I installed Debian on uSD in mmcblk0p2 and I want to use the other partitions
of the uSD but under /dev there is no mmcblk0 or mmcblk0pX, so I can't mount
them. Where are mmcblk0?

this is my /dev under Debian:
# ls /dev
MAKEDEV alarm apm_bios ashmem binder bus char console core cpu_dma_latency
fb0
fd full i2c-0 initctl input kmsg log_events log_main log_radio loop0 mem
mtd0 mtd0ro
mtd1 mtd1ro mtd2 mtd2ro mtd3 mtd3ro mtd4 mtd4ro mtd5 mtd5ro mtd6 mtd6ro net
network_latency network_throughput null ppp ptmx pts random rtc0 shm snd
sndstat
stderr stdin stdout tty tty0 tty1 tty2 tty3 tty4 tty5 tty6 ttySAC0 ttySAC1
ttySAC2 urandom
usbdev1.1 usbdev1.1_ep00 usbdev1.1_ep81 usbmon0 usbmon1 vcs vcs1 vcs4 vcsa
vcsa1
vcsa4 zero

and fstab:
rootfs  /   autodefaults,errors=remount-ro,noatime  0 1
/dev/mmcblk0p1  /boot   autodefaults,noatime0 2
/dev/mtdblock6  /mnt/flash  jffs2   defaults,noatime,noauto 0 2
proc/proc   procdefaults0 0
tmpfs   /tmptmpfs   defaults,noatime0 0
tmpfs   /var/lock   tmpfs   defaults,noatime0 0
tmpfs   /var/runtmpfs   defaults,noatime0 0

during the boot there is a message about the non existence of mmcblk0p1, and
also note that in /dev there is no mtdblock6 as reported by fstab.

thanks

-- 
View this message in context: 
http://n2.nabble.com/Debian-on-uSD-where-is-mmcblk0-tp4449849p4449849.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian on uSD] where is mmcblk0?

2010-01-24 Thread arne anka
what ist the output of

mount

?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian on uSD] where is mmcblk0?

2010-01-24 Thread Joif


arne anka wrote:
 
 what ist the output of
 mount
 ?
 
# mount
rootfs on / type auto (rw,noatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
tmpfs on /tmp type tmpfs (rw,noatime)
tmpfs on /var/lock type tmpfs (rw,noatime)
tmpfs on /var/run type tmpfs (rw,noatime)

I don't know why but after reboot from Debian QtMoko on NAND is gone X(
-- 
View this message in context: 
http://n2.nabble.com/Debian-on-uSD-where-is-mmcblk0-tp4449849p4449908.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian on uSD] where is mmcblk0?

2010-01-24 Thread Timo Juhani Lindfors
Joif fdvj...@vodafone.it writes:
 them. Where are mmcblk0?

uname -r?

ps axuf | grep udev?

dmesg?

mknod /dev/mmcblk0 b 179 0  file -sL /dev/mmcblk0?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian on uSD] where is mmcblk0?

2010-01-24 Thread Joif


Timo Juhani Lindfors wrote:
 
 Joif fdvj...@vodafone.it writes:
 them. Where are mmcblk0?
 uname -r?
 ps axuf | grep udev?
 dmesg?
 mknod /dev/mmcblk0 b 179 0  file -sL /dev/mmcblk0?
 

neo:~# uname -r
2.6.28-20090105.git69b2aa26

neo:~# ps axuf | grep udev
root   507  0.2  0.6   2284   756 ?Ss  18:50   0:00 udevd
--daemon
root   684  0.0  0.6   2280   808 ?S   18:51   0:00  \_ udevd
--daemon
root  1151  0.0  0.5   2280   688 ?S   18:53   0:00  \_ udevd
--daemon
root  1170  0.0  0.4   1788   576 pts/0S+   18:55   0:00  \_
grep udev

dmesg -- http://pastebin.ubuntu.com/362086/

neo:~# mknod /dev/mmcblk0 b 179 0  file -sL /dev/mmcblk0
/dev/mmcblk0: x86 boot sector; partition 1: ID=0x83, starthead 1,
startsector 16, 29360 sectors; partition 2: ID=0x83, starthead 0,
startsector 29376, 4769600 sectors; partition 3: ID=0x83, starthead 3,
startsector 4798976, 3816448 sectors; partition 4: ID=0x5, starthead 3,
startsector 8615424, 6949376 sectors, code offset 0x0
-- 
View this message in context: 
http://n2.nabble.com/Debian-on-uSD-where-is-mmcblk0-tp4449849p4449964.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian on uSD] where is mmcblk0?

2010-01-24 Thread Timo Juhani Lindfors
Joif fdvj...@vodafone.it writes:
 neo:~# ps axuf | grep udev
 root   507  0.2  0.6   2284   756 ?Ss  18:50   0:00 udevd
 --daemon
 root   684  0.0  0.6   2280   808 ?S   18:51   0:00  \_ udevd
 --daemon
 root  1151  0.0  0.5   2280   688 ?S   18:53   0:00  \_ udevd
 --daemon
 root  1170  0.0  0.4   1788   576 pts/0S+   18:55   0:00  \_
 grep udev

 neo:~# mknod /dev/mmcblk0 b 179 0  file -sL /dev/mmcblk0
 /dev/mmcblk0: x86 boot sector; partition 1: ID=0x83, starthead 1,
 startsector 16, 29360 sectors; partition 2: ID=0x83, starthead 0,
 startsector 29376, 4769600 sectors; partition 3: ID=0x83, starthead 3,
 startsector 4798976, 3816448 sectors; partition 4: ID=0x5, starthead 3,
 startsector 8615424, 6949376 sectors, code offset 0x0

Ok, hardware and kernel works. Seems like an udev problem to
me. Anything in syslog from udev?



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian on uSD] where is mmcblk0?

2010-01-24 Thread Joif


Timo Juhani Lindfors wrote:
 
 Ok, hardware and kernel works. Seems like an udev problem to
 me. Anything in syslog from udev?
 
ehr... where I have to look for?

However I found and followed this post:
http://lists.openmoko.org/nabble.html#nabble-td1100899
I created mmcblk0 mmcblk0p1 ... mmcblk0pX files with mknod. The partitions
seem to work and fdisk reports no error but after a reboot they disappear
again, there is a way to make permanent this changes?
Thank you!
-- 
View this message in context: 
http://n2.nabble.com/Debian-on-uSD-where-is-mmcblk0-tp4449849p4450264.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian on uSD] where is mmcblk0?

2010-01-24 Thread Timo Juhani Lindfors
Joif fdvj...@vodafone.it writes:
 ehr... where I have to look for?

/var/log/*

 seem to work and fdisk reports no error but after a reboot they disappear
 again, there is a way to make permanent this changes?

udev is supposed to create them on each boot. We need to figure out
why this is not happening.

Creating them manually is not a real solution.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian on uSD] where is mmcblk0?

2010-01-24 Thread Joif


Timo Juhani Lindfors wrote:
 
 Joif fdvj...@vodafone.it writes:
 ehr... where I have to look for?
 
 /var/log/*
 
 seem to work and fdisk reports no error but after a reboot they disappear
 again, there is a way to make permanent this changes?
 
 udev is supposed to create them on each boot. We need to figure out
 why this is not happening.
 
 Creating them manually is not a real solution.
 

no syslog here:
/var/log# ls
Xorg.0.log  bootstrap.log  dmesg.1.gz  dpkg.loglastlog
Xorg.0.log.old  btmp   dmesg.2.gz  faillog pycentral.log
apt dmesg  dmesg.3.gz  fontconfig.log  wicd
bootdmesg.0dmesg.4.gz  fsckwtmp
-- 
View this message in context: 
http://n2.nabble.com/Debian-on-uSD-where-is-mmcblk0-tp4449849p4450809.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community