All of lore.kernel.org
 help / color / mirror / Atom feed
* [ MOUNT ] Can not mount compact flash drive hda (ext3) with 2.6.16
@ 2006-05-12  9:11 Mario Ohnewald
  2006-05-12 15:08 ` Mario Ohnewald
  2006-05-16 11:11 ` Helge Hafting
  0 siblings, 2 replies; 3+ messages in thread
From: Mario Ohnewald @ 2006-05-12  9:11 UTC (permalink / raw)
  To: linux-kernel

Hello List,

i am booting a linux box via NFS. 
When it boot it with a 2.4.32 kernel i CAN mount my compact flash drive
hda.

If i boot a 2.6.16 kernel i CAN NOT.


hdaX is ext3 and ext3 is compiled into the kernel.
Am i missing a kernel option?

More infos:

~# fdisk -l

Disk /dev/hda: 1024 MB, 1024450560 bytes
32 heads, 63 sectors/track, 992 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          73       73552+  83  Linux
/dev/hda2              74         751      683424   83  Linux
/dev/hda3             752         799       48384   83  Linux
/dev/hda4             800         992      194544   83  Linux

~# mount
rootfs on / type rootfs (rw)
/dev/root on / type nfs
(rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/root on /dev/.static/dev type nfs
(rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252)
none on /dev type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)


~# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / nfs
rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/root /dev/.static/dev nfs
rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252 0 0
none /dev tmpfs rw 0 0
tmpfs /tmp tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0


~# lsof | grep hda
<no result>


~# dmesg | grep hda
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:pio, hdb:pio
hda: TOSHIBA THNCF1G02PG, CFA DISK drive
hda: max request size: 128KiB
hda: 2000880 sectors (1024 MB) w/2KiB Cache, CHS=1985/16/63
 hda: hda1 hda2 hda3 hda4

~# mount -t ext3 /dev/hda1 /mnt/
mount: /dev/hda1 already mounted or /mnt/ busy


~# mkfs.ext3 /dev/hda1
mke2fs 1.38 (30-Jun-2005)
/dev/hda1 is apparently in use by the system; will not make a filesystem
here!


Attachted is my kernel config of the 2.6.16 kernel.

Do you need more infos?


Thanks, Mario


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ MOUNT ] Can not mount compact flash drive hda (ext3) with 2.6.16
  2006-05-12  9:11 [ MOUNT ] Can not mount compact flash drive hda (ext3) with 2.6.16 Mario Ohnewald
@ 2006-05-12 15:08 ` Mario Ohnewald
  2006-05-16 11:11 ` Helge Hafting
  1 sibling, 0 replies; 3+ messages in thread
From: Mario Ohnewald @ 2006-05-12 15:08 UTC (permalink / raw)
  To: linux-kernel

Has nobody got an idea or hint?


> Hello List,
> 
> i am booting a linux box via NFS. 
> When it boot it with a 2.4.32 kernel i CAN mount my compact flash drive
> hda.
> 
> If i boot a 2.6.16 kernel i CAN NOT.
> 
> 
> hdaX is ext3 and ext3 is compiled into the kernel.
> Am i missing a kernel option?
> 
> More infos:
> 
> ~# fdisk -l
> 
> Disk /dev/hda: 1024 MB, 1024450560 bytes
> 32 heads, 63 sectors/track, 992 cylinders
> Units = cylinders of 2016 * 512 = 1032192 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1          73       73552+  83  Linux
> /dev/hda2              74         751      683424   83  Linux
> /dev/hda3             752         799       48384   83  Linux
> /dev/hda4             800         992      194544   83  Linux
> 
> ~# mount
> rootfs on / type rootfs (rw)
> /dev/root on / type nfs
> (rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252)
> proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw)
> usbfs on /proc/bus/usb type usbfs (rw)
> /dev/root on /dev/.static/dev type nfs
> (rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252)
> none on /dev type tmpfs (rw)
> tmpfs on /tmp type tmpfs (rw)
> devpts on /dev/pts type devpts (rw)
> tmpfs on /dev/shm type tmpfs (rw)
> 
> 
> ~# cat /proc/mounts
> rootfs / rootfs rw 0 0
> /dev/root / nfs
> rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252 0 0
> proc /proc proc rw 0 0
> sysfs /sys sysfs rw 0 0
> usbfs /proc/bus/usb usbfs rw 0 0
> /dev/root /dev/.static/dev nfs
> rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252 0 0
> none /dev tmpfs rw 0 0
> tmpfs /tmp tmpfs rw 0 0
> devpts /dev/pts devpts rw 0 0
> tmpfs /dev/shm tmpfs rw 0 0
> 
> 
> ~# lsof | grep hda
> <no result>
> 
> 
> ~# dmesg | grep hda
>     ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:pio, hdb:pio
> hda: TOSHIBA THNCF1G02PG, CFA DISK drive
> hda: max request size: 128KiB
> hda: 2000880 sectors (1024 MB) w/2KiB Cache, CHS=1985/16/63
>  hda: hda1 hda2 hda3 hda4
> 
> ~# mount -t ext3 /dev/hda1 /mnt/
> mount: /dev/hda1 already mounted or /mnt/ busy
> 
> 
> ~# mkfs.ext3 /dev/hda1
> mke2fs 1.38 (30-Jun-2005)
> /dev/hda1 is apparently in use by the system; will not make a filesystem
> here!
> 
> 
> Attachted is my kernel config of the 2.6.16 kernel.
> 
> Do you need more infos?
> 
> 
> Thanks, Mario
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ MOUNT ] Can not mount compact flash drive hda (ext3) with 2.6.16
  2006-05-12  9:11 [ MOUNT ] Can not mount compact flash drive hda (ext3) with 2.6.16 Mario Ohnewald
  2006-05-12 15:08 ` Mario Ohnewald
@ 2006-05-16 11:11 ` Helge Hafting
  1 sibling, 0 replies; 3+ messages in thread
From: Helge Hafting @ 2006-05-16 11:11 UTC (permalink / raw)
  To: Mario Ohnewald; +Cc: linux-kernel

Mario Ohnewald wrote:

>Hello List,
>
>i am booting a linux box via NFS. 
>When it boot it with a 2.4.32 kernel i CAN mount my compact flash drive
>hda.
>
>If i boot a 2.6.16 kernel i CAN NOT.
>
>
>hdaX is ext3 and ext3 is compiled into the kernel.
>Am i missing a kernel option?
>
>More infos:
>
>~# fdisk -l
>
>Disk /dev/hda: 1024 MB, 1024450560 bytes
>32 heads, 63 sectors/track, 992 cylinders
>Units = cylinders of 2016 * 512 = 1032192 bytes
>
>   Device Boot      Start         End      Blocks   Id  System
>/dev/hda1   *           1          73       73552+  83  Linux
>/dev/hda2              74         751      683424   83  Linux
>/dev/hda3             752         799       48384   83  Linux
>/dev/hda4             800         992      194544   83  Linux
>
>~# mount
>rootfs on / type rootfs (rw)
>/dev/root on / type nfs
>(rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252)
>proc on /proc type proc (rw)
>sysfs on /sys type sysfs (rw)
>usbfs on /proc/bus/usb type usbfs (rw)
>/dev/root on /dev/.static/dev type nfs
>(rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252)
>none on /dev type tmpfs (rw)
>tmpfs on /tmp type tmpfs (rw)
>devpts on /dev/pts type devpts (rw)
>tmpfs on /dev/shm type tmpfs (rw)
>
>
>  
>
proc/mounts is the interesting one - the "mount" command
gives you /etc/mtab which may be wrong.

>~# cat /proc/mounts
>rootfs / rootfs rw 0 0
>/dev/root / nfs
>rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252 0 0
>proc /proc proc rw 0 0
>sysfs /sys sysfs rw 0 0
>usbfs /proc/bus/usb usbfs rw 0 0
>/dev/root /dev/.static/dev nfs
>rw,v2,rsize=4096,wsize=4096,hard,nolock,proto=udp,addr=192.168.1.252 0 0
>none /dev tmpfs rw 0 0
>tmpfs /tmp tmpfs rw 0 0
>devpts /dev/pts devpts rw 0 0
>tmpfs /dev/shm tmpfs rw 0 0
>
>  
>
no hda in use here

>~# lsof | grep hda
><no result>
>
>
>~# dmesg | grep hda
>    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:pio, hdb:pio
>hda: TOSHIBA THNCF1G02PG, CFA DISK drive
>hda: max request size: 128KiB
>hda: 2000880 sectors (1024 MB) w/2KiB Cache, CHS=1985/16/63
> hda: hda1 hda2 hda3 hda4
>
>~# mount -t ext3 /dev/hda1 /mnt/
>mount: /dev/hda1 already mounted or /mnt/ busy
>  
>
There is a hda, it is a 1GB disk, and it has four partitions.  The
four partitions are correct?

There are other ways hda1 could be busy, such as used for swap
or member of a RAID array.  But I guess this is not the case here?

>~# mkfs.ext3 /dev/hda1
>mke2fs 1.38 (30-Jun-2005)
>/dev/hda1 is apparently in use by the system; will not make a filesystem
>here!
>
>  
>
Well, you could try the -F (force) option and see what happens.
Just make sure "hda1" doesn't somehow refer to another device
in the system.


You may also want to try
cfdisk /dev/hda
and see that the partition layout is the same as with 2.4,
and you might want to check if cat /dev/hda > /dev/null works.
This is all very strange, but more data might get more people interested.

Helge Hafting

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-16 11:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-12  9:11 [ MOUNT ] Can not mount compact flash drive hda (ext3) with 2.6.16 Mario Ohnewald
2006-05-12 15:08 ` Mario Ohnewald
2006-05-16 11:11 ` Helge Hafting

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.