I recently mounted a cd-rom on a UML distro at my laboratory. It perfectly works!
I did compile all needed modules, expecially iso9660, as module. My guest system is a Debian etch.
I repeated this experience at home, on my amd64. I'm using the last vanilla kernel, patched with uml-2.6.18.1-bb2.patch.bz2 patch.
When I was patching my kernel sources, I saw some "already patched file" messages... "previously applied", and I didn't re-applied.
I included CDROM modules:
Symbol: ISO9660_FS [=y] │
│ Prompt: ISO 9660 CDROM file system support │
│ Defined at fs/Kconfig:535 │
│ Location: │
│ -> File systems │
│ -> CD-ROM/DVD Filesystems
AND
Symbol: JOLIET [=y] │
│ Prompt: Microsoft Joliet CDROM extensions │
│ Defined at fs/Kconfig:551 │
│ Depends on: ISO9660_FS │
│ Location: │
│ -> File systems │
│ -> CD-ROM/DVD Filesystems │
│ -> ISO 9660 CDROM file system support (ISO9660_FS [=y])
Now, booting the new uml kernel with the following command line, I can't mount any cd-rom, because of a stupid error.
linux ubd0=rootfs.debian.etch ubd1=swapfs.debian ubd3=/dev/hdc eth0=tuntap,,, 192.168.1.101 mem=512M noprocmm
The error is:
DebianUM:~# mount /mnt/cdrom/
mount: /dev/ubd2 is not a valid block device
O_O
I did the same procedures as I did at my laboratory. It only differ on uml kernel version.
Then... I tried to mount an USB pen drive, but obviously it doesn't works.... damn...
The command line is:
linux ubd0=rootfs.debian.etch ubd1=swapfs.debian ubd3=/dev/sda1 eth0=tuntap,,, 192.168.1.101 mem=512M noprocmm
I also looked for USB storage modules in the UML kernel, but I didn't find to compile them....
Ok, booting with the previous command line, on a USB mounting attempt, I see the error below:
DebianUM:~# mount -t vfat /dev/sda1 /mnt/pendrive
mount: /dev/sda1 is not a valid block device
O_O WHY???
Thank you so much,
Flavio.
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user