Page 1 of 1

USBFS in SUSE 1 0.1 installieren

Posted: 13. Oct 2007, 23:04
by Suppenhuhn
Hallo Experten !

Betreibe SUSE 10.1 als Gast auf WinXP ...

Habe probleme mit Zugriffsrechten auf USB-Platte (geschrieben in einem anderen threat).

Bin jetzt beim St?bern im Internet auf die Idee gekommen zu schauen, ob USBFS untest?tzt wird und habe bemerkt, dass dies nict der Fall ist.

Gem?? einer Beschreibeung im Internet, wonach ich den Kernel neu kompilieren soll, scheitere ich bereits daran den Befehl 'make menuconfig' auszuf?hren.

folgendes geschieht:

Code: Select all

linux-notebook:/usr/src/linux # make menuconfig
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: No such file or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:128: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?use_colors?
scripts/kconfig/lxdialog/dialog.h:129: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?use_shadow?
scripts/kconfig/lxdialog/dialog.h:131: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?attributes?
scripts/kconfig/lxdialog/dialog.h:143: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:146: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:147: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:148: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:149: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:151: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/checklist.c: In function ?dialog_checklist?:
scripts/kconfig/lxdialog/checklist.c:117: error: ?WINDOW? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog/checklist.c:117: error: for each function it appears in.)
scripts/kconfig/lxdialog/checklist.c:117: error: ?dialog? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: error: ?list? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: warning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:117: warning: statement with no effect
scripts/kconfig/lxdialog/checklist.c:121: warning: implicit declaration of function ?endwin?
scripts/kconfig/lxdialog/checklist.c:122: warning: implicit declaration of function ?fprintf?
scripts/kconfig/lxdialog/checklist.c:122: warning: incompatible implicit declaration of built-in function ?fprintf?
scripts/kconfig/lxdialog/checklist.c:122: error: ?stderr? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:140: error: ?COLS? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:141: error: ?LINES? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ?draw_shadow?
scripts/kconfig/lxdialog/checklist.c:143: error: ?stdscr? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ?newwin?
scripts/kconfig/lxdialog/checklist.c:146: warning: implicit declaration of function ?keypad?
scripts/kconfig/lxdialog/checklist.c:146: error: ?TRUE? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ?draw_box?
scripts/kconfig/lxdialog/checklist.c:148: error: ?attributes? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:149: warning: implicit declaration of function ?wattrset?
scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ?mvwaddch?
scripts/kconfig/lxdialog/checklist.c:152: warning: implicit declaration of function ?waddch?
scripts/kconfig/lxdialog/checklist.c:156: warning: implicit declaration of function ?print_title?
scripts/kconfig/lxdialog/checklist.c:159: warning: implicit declaration of function ?print_autowrap?
scripts/kconfig/lxdialog/checklist.c:166: warning: implicit declaration of function ?subwin?
scripts/kconfig/lxdialog/checklist.c:190: warning: implicit declaration of function ?print_item?
scripts/kconfig/lxdialog/checklist.c:194: warning: implicit declaration of function ?print_arrows?
scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ?print_buttons?
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function ?wnoutrefresh?
scripts/kconfig/lxdialog/checklist.c:201: warning: implicit declaration of function ?doupdate?
scripts/kconfig/lxdialog/checklist.c:204: warning: implicit declaration of function ?wgetch?
scripts/kconfig/lxdialog/checklist.c:211: error: ?KEY_UP? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:211: error: ?KEY_DOWN? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: error: ?FALSE? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function ?scrollok?
scripts/kconfig/lxdialog/checklist.c:223: warning: implicit declaration of function ?wscrl?
scripts/kconfig/lxdialog/checklist.c:233: warning: implicit declaration of function ?wrefresh?
scripts/kconfig/lxdialog/checklist.c:283: warning: incompatible implicit declaration of built-in function ?fprintf?
scripts/kconfig/lxdialog/checklist.c:284: warning: implicit declaration of function ?delwin?
scripts/kconfig/lxdialog/checklist.c:288: error: ?KEY_LEFT? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:289: error: ?KEY_RIGHT? undeclared (first use in this function)
make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2
Was mache ich falsch ?

Gru?,
Suppi

Posted: 14. Oct 2007, 00:33
by stefan.becker
Suse 10.1 hat noch nicht die Probleme mit USBFS, das ist 10.2.

Schau ins Handbuch, da steht beschrieben, wie man USBFS einrichtet,

Posted: 14. Oct 2007, 10:38
by Suppenhuhn
Hallo Stefan,

vielen Dank f?r die Antwort, aber ich finde in dem sp?rlichen Handbuch keinerlei Hinweis darauf, wie ich USBFS einrichten kann.

Kannst Du mir vielleicht einen Tip geben ?

Die einzigen Hinweise beim Googeln zu dem Thema f?hren mich zum recompilieren des Kernels.

Da halte ich mich ?brigens an Dein HowTo zum Thema VMWare ... und den Hinweisen auf der Novell-Seite.

Aber, wie bereits gesagt, scheitert das Unterfangen am 'make menuconfig' ...

Erstaunlich ist, dass die Platte ja eingebunden wird, aber lediglich die Schreibrechte fehlen ....

Gru?,
Suppi

Hat sich erledigt !

Posted: 14. Oct 2007, 14:03
by Suppenhuhn
Hallo !

Das mit dem nicht installierten USBFS in SUSE 10.1 hat sich erledigt.

Irgendwie hatte ich offensichtlich an einem Restore-Punkt des Gastsystems herumgedoktert in dem das nicht funktioniert hat.

Jetzt habe ich alles nochmal aufgesetzt uns siehe da ...

Code: Select all

linux-notebook:~ # cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 8
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.16.53-0.16-default ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:06.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04b4 ProdID=6830 Rev= 0.01
S:  Manufacturer=Cypress Semiconductor
S:  Product=USB2.0 Storage Device
S:  SerialNumber=DEF10000BE55BFB
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=86(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
Dummerweise habe ich immernoch keine Schreibrechte auf dem USB-Laufwerk :(

Ein chown oder ein chmod auf /media/disk (Mountpunkt der USB-Platte)
fuehrt zu folgenden Meldungen:

Code: Select all

linux-notebook:~ # chown root /media/disk
chown: changing ownership of `/media/disk': Read-only file system
bzw.

Code: Select all

linux-notebook:~ # chmod 777 /media/disk
chmod: changing permissions of `/media/disk': Read-only file system
Auf den Befehl mount erhalte ich folgende Ausgabe:

Code: Select all

linux-notebook:~ # mount
/dev/hda2 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda3 on /home type reiserfs (rw,acl,user_xattr)
usbfs on /proc/bus/usb type usbfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/hdc on /media/VBOXADDITIONS_1_5_0_24069 type iso9660 (ro,nosuid,nodev,utf8,uid=0)
/dev/sda1 on /media/disk type ext3 (rw,nosuid,nodev)
Die fstab sieht folgenderma?en aus:

Code: Select all

linux-notebook:~ # more /etc/fstab
/dev/hda2            /                    reiserfs   acl,user_xattr        1 1
/dev/hda3            /home                reiserfs   acl,user_xattr        1 2
/dev/hda1            swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      auto                  0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/fd0             /media/floppy        auto       noauto,user,sync      0 0
Was liegt hier im Argen ?

Bitte helft mir !

Posted: 14. Oct 2007, 19:47
by stefan.becker
Du darfst auf keinen Fall parallel darauf zugreifen, sonst gibt es Schrott.

Entweder am Gast per USB, dann darf der Host nicht darauf zugreifen.

Oder per USB am Host und gemountet, dann musst du Shared Folders im Gast nehmen.

Versuch mal als einfache L?sung im Gast USB abzuschalten und /media als Shared Folder einzurichten.

Posted: 15. Oct 2007, 20:30
by Suppenhuhn
Das Problem ist ja, dass ich gar nicht auf die Platte unter WinXP zugreifen kann, da WinXP mit der ext3-formatierten Platte nichts anfangen kann ...

Ich werde es trotzdem mal probieren, wobei mir bisher noch schleierhaft ist, wie ich bei einer Platte, die nicht auftaucht einen shared Folder einrichte...

Wuensch' mir Glueck !

Re: USBFS in SUSE 1 0.1 installieren

Posted: 9. Mar 2011, 14:38
by Tossvb
Hallo! Ich habe ein ähnliches Problem und versuche auch gerade auf die Platte zuzugreifen (hab allerdings W7)... Daher wäre mal ein feedback fein, hast du es geschafft? Oder hat jemand anders ne Idee? Danke schonmal
Add Your Link
Gruß Manuel

Re: USBFS in SUSE 1 0.1 installieren

Posted: 9. Mar 2011, 14:53
by stefan.becker
Heissa, gerade mal 4 Jahre her. Da erinnert man sich ja noch an jedes Detail.

Mache einen neuen Thraed auf und poste vor allem eine genaue Beschreibung des Problems, Versionen der Komponenten (Host, Gast, VBOX) und die genaue Gastkonfiguration.