Hozzászólások
-
SzerzőBejegyzés
-
köszönöm a rendreutasítást
ilyenkor segít, ha terminálból próbálod elindítani, mert akkor látod, milyen hibaüzenetet ír ki, és nem csak a homokórát kell bámulni
ezt találtam neked, gondolom, elég generikus a dolog
I’m going to assume that you have already formatted your Compact Flash card using the camera, and have managed to store some images on it.
The key here is to understand that your Lexar JumpShot Compact Flash reader just makes the CF card look like a SCSI hard disk to linux. So to pull this off, will need the following modules built into your kernel (no sense in building these into the kernel statically):
usbcore ( USB Support -> Support for USB)
uhci (USB Support -> UHCI or EHCI or OHCI)
usb-storage (USB Support -> USB Mass Storage Suppport)
fat (File Systems -> DOS FAT fs support)
vfat (File Systems -> VFAT (Windows-95) fs support)
scsi_mod (SCSI Support -> SCSI generic support)
sd_mod (SCSI Support -> SCSI disk support)Once you’ve used ‘make menuconfig’ to configure your kernel, do:
Code:
make dep && make modules modules_installThis will install all the correct modules into /lib/modules/. No need to restart. You just need to load the modules into memory (as root).
Code:
modprobe usbcore uhci usb-storageWhich usb-chipset driver you need to load depends on your motherboard. You can use the KDE Info Center application to check which one your machine uses.
Then load the SCSI drivers:
Code:
modprobe scsi_mod vfat sd_modNext, make a mount point for your card reader:
Code:
mkdir /mnt/jumpshotNow, insert your compact flash card into the reader. The next thing to do is figure out which scsi device your card reader was assigned by the devfs daemon. Again, the KDE Info Center application (K -> System -> Info Center) is very useful here. Launch that, and click on the SCSI tab.
You should see something like this:
Code:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Lexar Model: Jumpshot USB CF Rev: 0001
Type: Direct-Access ANSI SCSI revision 02That crap translates into:
Code:
/dev/scsi/host0/bus0/target0/lun0/Now, you just need to mount the device file in that directory (should be named ‘part1’) to your /mnt/jumpshot mountpoint:
Code:
mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part /mnt/jumpshotNow you should be able to ‘cd’ into that directory, and see files. If you use this often enough, you can put all of those module names into /etc/modules.autoload. You can also create an entry for that device in /etc/fstab so that the next time you want to use it, you just insert the compact flash card, and type ‘mount /mnt/jumpshot’.
Works like a charm. Let me know if this helps.
bevallom életemben nem láttam még ilyen szerkezetet
gratula!!
Ehh, lenne még egy kérdésem kernelfordítással kapcsolatban.
Elindítottam a tegnap bekonfigurált kernel fordítását így:Code:make dep && make clean bzImage modules module_installarch/i386/kernel/kernel.o (.text+0x2757) : In function ‘page_fault_mca’ :
: undefined reference to ‘do_page_fault’
kbd/kbd.o (.text+0x32b) : In function ‘kbd_inittab’ :
: undefined reference to ‘__kbd_initcall_start’
kbd/kbd.o (.text+0x90d) : In function ‘kbd_inittab’ :
: undefined reference to ‘__kbd_initcall_end’
kbd/kbd.o (.text+0x91f) : In function ‘kbd_inittab’ :
: undefined reference to ‘__kbd_initcall_end’
make[1]: *** [kallsyms] Error 1
make[1]: Leaving directory ‘/usr/src/linux-2.4.20-xfs-rc3’
make: *** [vmlinux] Error 2Mit jelent, hol javítsak?
sajna passzolok, két olcsó tipp: a) próbálj másik kernel-source-ot B) keress rá a hibára a forums.gentoo.org-on, hátha másnak is volt már ilyen (xfs-t akarsz mindenáron?)
nem az, amikor a hullám kitérés nem merõleges a terjedésére, hanem megegyezik vele???
PAZO, te úgyis php-t tanulsz >:-)
hogy tudom azt megcsinálni phpmuke-ban, hogy egy blokkban megjelenítem a forums.gentoo.org Search beviteli mezejét (forums.gentoo.org/search.php), hogy az oldalamról közvetlenül tudjanak a gentoo forums-on keresni?ööö, rossz hozzászólást idéztem be, valszeg a téged követõ „Ezt miért kellett” kérdés vonatkozhatott erre.
na, lefordítottam az elsõ doksit, feltettem, meg átvariáltam az oldal kinézetét, mert a sötétlila téma mellett nem jól látszott a frissen fordított dokumentum
bár még mindig nem tudom, ez marad-e a végleges verzióha a kérdés arra vonatkozott, miért indítottam el a MaGenTát, amikor már készülõben van a gentoo.hu: nos, szerintem békésen elfér egymás mellett két site is, nem akarok én senkinek riválisa lenni
-
SzerzőBejegyzés
legutóbbi hsz