View previous topic :: View next topic |
Author |
Message |
adam_z Guru
Joined: 22 Jul 2005 Posts: 335 Location: EUROPE - ITALY - Bologna
|
Posted: Thu Oct 12, 2006 3:47 pm Post subject: non riesco a montare il floppy |
|
|
provo, e mi dice che che /dev/fd0 non esiste.
Ho provato a modificare /etc/fstab ma niente.
Ultimamente ho aggiornato tutto gentoo, da gcc, a openssl, a xorg (passato alla 7.x), a world, .... .
Consigli? _________________ *** affittasi *** |
|
Back to top |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Thu Oct 12, 2006 4:02 pm Post subject: |
|
|
hai un floppy?
inizia postando qualche info in più..
per esempio prova a vedre se nel kernel hai abilitato le voci
BLK_DEV_FD
BLK_DEV_IDEFLOPPY
non ricordo se esistono altre voci perché non abilito ne uso il floppy da diverso tempo _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
adam_z Guru
Joined: 22 Jul 2005 Posts: 335 Location: EUROPE - ITALY - Bologna
|
Posted: Thu Oct 12, 2006 5:56 pm Post subject: |
|
|
prima degli ultimi aggiornamenti, quindi verso luglio scorso, il floppy andava.
Il Kernel non l'ho toccato quindi, forse, sono gli ultimi aggiornamenti che con la mia collaborazione hanno fatto un po' di casino. Ma posso sbagliarmi.
CMQ girovagando nel menu di configurazione del kernel ho trovato built-in:
Device Drivers -> block device ->Normal floppy disk support [*]
mentre non e' nè "modulato" nè "bult-in"
Device Drivers -> ATA/ATAPI/MFM/RLL support ->Include IDE/ATAPI floppy support [ ]
E' una nuova opzione che prima non c'era? Perche' sono sicuro che prima il floppy andava e io il kernel non l'ho toccato. _________________ *** affittasi *** |
|
Back to top |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Thu Oct 12, 2006 6:20 pm Post subject: |
|
|
Guarda non uso il floppy da una vita quindi non so nemmeno se serve. Penso che abilitarla non faccia male magari...
boh i device vengono creati da udev in base all'hardware visto dal tuo kernel. Se il device non viene creato il problema è di udev oppure del kernel
Hai smanettato pesantemente con udev? (usi udev vero? non devfs...) _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
nick_spacca l33t
Joined: 29 May 2004 Posts: 689 Location: Paris/France
|
Posted: Thu Oct 12, 2006 6:29 pm Post subject: Re: non riesco a montare il floppy |
|
|
adam_z wrote: | provo, e mi dice che che /dev/fd0 non esiste.
Ho provato a modificare /etc/fstab ma niente.
Ultimamente ho aggiornato tutto gentoo, da gcc, a openssl, a xorg (passato alla 7.x), a world, .... .
Consigli? |
Usa gli mtools Code: | nick@nick-book ~ $ eix -ve mtools
* sys-fs/mtools
Available versions: 3.9.9 3.9.10
Installed: 3.9.10
Best versions/slot: 3.9.10
Homepage: http://mtools.linux.lu/
Description: utilities to access MS-DOS disks from Unix without mounting them
License: GPL-2
| _________________ I can resist anything but temptation.
(O. Wilde) |
|
Back to top |
|
|
adam_z Guru
Joined: 22 Jul 2005 Posts: 335 Location: EUROPE - ITALY - Bologna
|
Posted: Thu Oct 12, 2006 6:40 pm Post subject: |
|
|
wrote: | These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-fs/udev-087-r1 USE="(-selinux)" 0 kB |
wrote: | These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-fs/mtools-3.9.10 378 kB
Total size of downloads: 378 kB |
Ho aggiornato il kernel con l'opzione che mi ha detto Cazzantonio ma non cambia. _________________ *** affittasi *** |
|
Back to top |
|
|
Luca89 Advocate
Joined: 27 Apr 2005 Posts: 2107 Location: Agrigento (Italy)
|
Posted: Thu Oct 12, 2006 6:44 pm Post subject: |
|
|
adam_z wrote: | Device Drivers -> ATA/ATAPI/MFM/RLL support ->Include IDE/ATAPI floppy support [ ] |
Non è un problema, quella serve per i floppy collegati al cavo IDE e mi pare un po strano che tu abbia una roba del genere. Hai provato ad aggiornare il kernel? Magari la nuova versione di udev va un po in conflitto con un kernel vecchio. _________________ Running Fast! |
|
Back to top |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Thu Oct 12, 2006 7:26 pm Post subject: |
|
|
per montare un floppy dos devi ovviamente usare gli mtools... quando ti riferivi al fatto che non riuscivi a montarlo immaginavo che i passi che tu eseguissi fossero quantomeno corretti. Se hai dei dubbi su questo posta i comandi che esegui per montare il floppy.
il device esiste o non esiste?
ls /dev/fd0 cosa restituisce? _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
nick_spacca l33t
Joined: 29 May 2004 Posts: 689 Location: Paris/France
|
Posted: Thu Oct 12, 2006 7:35 pm Post subject: |
|
|
Cazzantonio wrote: | per montare un floppy dos devi ovviamente usare gli mtools... |
eix -v mtools wrote: | (..)
Description: utilities to access MS-DOS disks from Unix without mounting them
(..)
|
Giustamente gli mtools servono quando NON MONTI il floppy, potresti usarli anche per verificare che tutto il tuo hardware relativo funzioni!
Ti consiglio di provarli! _________________ I can resist anything but temptation.
(O. Wilde) |
|
Back to top |
|
|
adam_z Guru
Joined: 22 Jul 2005 Posts: 335 Location: EUROPE - ITALY - Bologna
|
Posted: Thu Oct 12, 2006 8:13 pm Post subject: |
|
|
nella dir /dev non c'e' nessun file o roba simile di nome fd0
pero' c'e' una dir fd, e li' dentro vari file
- 0 che linka a /dev/null
- 1................. /home/adam/.xsession-errors
- 10 ............. /usr/share/X11/locale/iso8859-1/Compose
- 2 ................ /home/adam/.xsession-errors
- 3 ................ socket:[7635]
- 4 ............... pipe:[7026]
- 5 ............... pipe:[7026]
ls /dev/fd0 restituisce ls: /dev/fd0: No such file or directory _________________ *** affittasi *** |
|
Back to top |
|
|
comio Advocate
Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Thu Oct 12, 2006 10:35 pm Post subject: |
|
|
adam_z wrote: | nella dir /dev non c'e' nessun file o roba simile di nome fd0
pero' c'e' una dir fd, e li' dentro vari file
- 0 che linka a /dev/null
- 1................. /home/adam/.xsession-errors
- 10 ............. /usr/share/X11/locale/iso8859-1/Compose
- 2 ................ /home/adam/.xsession-errors
- 3 ................ socket:[7635]
- 4 ............... pipe:[7026]
- 5 ............... pipe:[7026]
ls /dev/fd0 restituisce ls: /dev/fd0: No such file or directory |
la dir "/etc/fd" contiene i puntatori ai file descriptor (che c'entrano nulla con i floppy).
ciao _________________ RTFM!!!!
e
http://www.comio.it
|
|
Back to top |
|
|
Flonaldo Guru
Joined: 21 Nov 2003 Posts: 572 Location: Bologna
|
Posted: Thu Oct 12, 2006 11:01 pm Post subject: |
|
|
Poichè ci hai detto davvero poco, ti consiglio di abilitare di sicuro questo nel kernel
Code: | Include IDE/ATA-2 DISK support |
A me ha funzionato abilitando soltanto questo... buona fortuna in attesa di altre info _________________ Odio un po' di meno gli uomini coi capelli rossi
La mia musica http://www.last.fm/user/Flonaldo/ |
|
Back to top |
|
|
adam_z Guru
Joined: 22 Jul 2005 Posts: 335 Location: EUROPE - ITALY - Bologna
|
Posted: Fri Oct 13, 2006 6:58 am Post subject: |
|
|
chiedetemi quello che avete bisogno di sapere,
intanto posso dirvi che uso kernel-2.6.15-gentoo-r1.
PRECISAZIONE: quando provo a montarlo, mi dice mount: special device /dev/fd0 does not exist _________________ *** affittasi *** |
|
Back to top |
|
|
syntaxerrormmm Guru
Joined: 17 Apr 2005 Posts: 449 Location: Romano di Lombardia - BG - ITALY
|
Posted: Fri Oct 13, 2006 10:02 am Post subject: |
|
|
Un'altra idea è abilitare nel kernel il supporto per il floppy: Code: | -> Device Drivers
-> ATA/ATAPI/MFM/RLL support
-> ATA/ATAPI/MFM/RLL support (IDE [=y])
-> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (BLK_DEV_IDE [=y])
-> Include IDE/ATAPI FLOPPY support (BLK_DEV_IDEFLOPPY [=y]) |
Ciao.
[Edit] Sorry, avevo sbagliato a postare le entries del config. Non ho ancora capito come si faccia in modo rapido e conciso [/Edit] _________________ "Every rule can be broken, but no rule may be ignored."
Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3
Last edited by syntaxerrormmm on Fri Oct 13, 2006 10:17 am; edited 1 time in total |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Fri Oct 13, 2006 10:10 am Post subject: |
|
|
adam_z wrote: | chiedetemi quello che avete bisogno di sapere,
intanto posso dirvi che uso kernel-2.6.15-gentoo-r1.
PRECISAZIONE: quando provo a montarlo, mi dice mount: special device /dev/fd0 does not exist |
dopo aver abilitato l'opzione nel kernel suggerita da syntaxerrormmm,
prova a montare il tuo floppy, nel caso hai ancora problemi postaci l'output di :
Code: |
ls -l /dev | grep fd
|
ciao |
|
Back to top |
|
|
adam_z Guru
Joined: 22 Jul 2005 Posts: 335 Location: EUROPE - ITALY - Bologna
|
Posted: Fri Oct 13, 2006 10:15 am Post subject: |
|
|
syntaxerrormmm wrote: | Un'altra idea è abilitare nel kernel il supporto per il floppy: Code: | -> Device Drivers
-> ATA/ATAPI/MFM/RLL support
-> ATA/ATAPI/MFM/RLL support (IDE [=y])
-> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (BLK_DEV_IDEFLOPPY[=y]) |
Ciao. |
Se non sbaglio questa prova me l'ha gia' suggerita Cazzantonio, ma non ha funzionato (mi sembra che sia la stessa modifica)
Code: | ls -l /dev | grep fd |
wrote: | lrwxrwxrwx 1 root root 13 Oct 13 2006 fd -> /proc/self/fd
lrwxrwxrwx 1 root root 4 Oct 13 2006 stderr -> fd/2
lrwxrwxrwx 1 root root 4 Oct 13 2006 stdin -> fd/0
lrwxrwxrwx 1 root root 4 Oct 13 2006 stdout -> fd/1 |
_________________ *** affittasi *** |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Fri Oct 13, 2006 10:24 am Post subject: |
|
|
scusami posta anche un
nb:domanda stupida, hai ricompilato il kernel dopo aver aggiunto le opzioni che ti hanno suggerito riguardanti il floppy??
ciao[/code] |
|
Back to top |
|
|
adam_z Guru
Joined: 22 Jul 2005 Posts: 335 Location: EUROPE - ITALY - Bologna
|
Posted: Fri Oct 13, 2006 10:32 am Post subject: |
|
|
wrote: | 00:00.0 Host bridge: VIA Technologies, Inc. VT8605 [ProSavage PM133] (rev 81)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8605 [PM133 AGP]
00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10)
00:04.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 10)
00:04.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 10)
00:04.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
00:0f.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
00:10.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)
|
Si', ho ricompilato e copiato il kernel in /boot, ricompilato lilo e i drive nvidia. _________________ *** affittasi *** |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Fri Oct 13, 2006 10:39 am Post subject: |
|
|
Quando a /dev/fd0, per vedere se c'è fai
Code: |
grep FLOPPY /usr/src/linux/.config
CONFIG_BLK_DEV_IDEFLOPPY=y
|
Se dice y dovrebbe esserci, e allora
Code: |
dmesg | grep Floppy
Floppy drive(s): fd0 is 1.44M
|
Ciao
nb: che floppy usi??? usb? da pc fisso? o da pc portatile? |
|
Back to top |
|
|
Luca89 Advocate
Joined: 27 Apr 2005 Posts: 2107 Location: Agrigento (Italy)
|
Posted: Fri Oct 13, 2006 12:34 pm Post subject: |
|
|
crisandbea wrote: | Code: |
grep FLOPPY /usr/src/linux/.config
CONFIG_BLK_DEV_IDEFLOPPY=y
|
|
Vi ripeto comunque che quella voce non c'entra nulla. Inoltre vorrei chiedere al nostro amico se ha aggiornato udev di recente e sopratutto se ha aggiornato i file di configurazione che lo riguardano. _________________ Running Fast! |
|
Back to top |
|
|
adam_z Guru
Joined: 22 Jul 2005 Posts: 335 Location: EUROPE - ITALY - Bologna
|
Posted: Sat Oct 21, 2006 10:53 am Post subject: |
|
|
scusate il ritardo, sono stato fuori citta' ...
allora primo passo e' stato abilitare nel bios il FLOPPY (era disabilitato)
e poi ho abilitato:
File Systems --> Partitions Type -->
[*] Advanced partition selection │ │
│ │ [ ] Acorn partition support │ │
│ │ [ ] Alpha OSF partition support │ │
│ │ [ ] Amiga partition table support │ │
│ │ [ ] Atari partition table support │ │
│ │ [ ] Macintosh partition map support │ │
│ │ [*] PC BIOS (MSDOS partition tables) support │ │
│ │ [ ] BSD disklabel (FreeBSD partition tables) support │ │
│ │ [ ] Minix subpartition support │ │
│ │ [ ] Solaris (x86) partition table support │ │
│ │ [ ] Unixware slices support │ │
│ │ [ ] Windows Logical Disk Manager (Dynamic Disk) support │ │
│ │ [ ] SGI partition support │ │
│ │ [ ] Ultrix partition table support │ │
│ │ [ ] Sun partition tables support │ │
│ │ [ ] EFI GUID Partition support │ │
Ora forse funziona ... provo un po' prima di mettere risolto. _________________ *** affittasi *** |
|
Back to top |
|
|
adam_z Guru
Joined: 22 Jul 2005 Posts: 335 Location: EUROPE - ITALY - Bologna
|
Posted: Sun Oct 22, 2006 9:05 am Post subject: |
|
|
Siccome ho due floppy, con il primo con le modifiche che ho fatto qualcosa andava,
collegando il secondo, il bios lo rileva correttamente, pero' quando provo a montarlo (lo stesso dischetto usato col primo floppy) mi da' mount: /dev/fd0: can't read superblock,
errore che la modifica del kernel postata sopra mi ha risolto con il primo floppy.
Non ci capisco piu' nulla _________________ *** affittasi *** |
|
Back to top |
|
|
Luca89 Advocate
Joined: 27 Apr 2005 Posts: 2107 Location: Agrigento (Italy)
|
Posted: Sun Oct 22, 2006 11:09 am Post subject: |
|
|
Se hai due lettori floppy il primo sarà fd0 mentre il secondo fd1 _________________ Running Fast! |
|
Back to top |
|
|
adam_z Guru
Joined: 22 Jul 2005 Posts: 335 Location: EUROPE - ITALY - Bologna
|
Posted: Sun Oct 22, 2006 1:05 pm Post subject: |
|
|
ne collego solo 1 alla volta (volevo controllare se funzionavano), e l'errore del "can't read superblock" me lo da' anche con il primo floppy ogni tanto.
Ho provato a formattare un vecchio floppy (su PC-WIN va perfettamente) col comando
wrote: | Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
Formatting ... done
Verifying ... Problem reading cylinder 0, expected 18432, read 8192
|
Poi ho provato a formattarne un altro e mi dice
wrote: | Double-sided, 80 tracks, 21 sec/track. Total capacity 1680 kB.
Formatting ... done
Verifying ... Read: : Input/output error
Problem reading cylinder 0, expected 21504, read -1
|
Possibile che siano tutti difettosi (pero' su WIN vanno)? _________________ *** affittasi *** |
|
Back to top |
|
|
nick_spacca l33t
Joined: 29 May 2004 Posts: 689 Location: Paris/France
|
Posted: Sun Oct 22, 2006 1:38 pm Post subject: |
|
|
Ma alla fine hai provato o no con gli "mtools"? _________________ I can resist anything but temptation.
(O. Wilde) |
|
Back to top |
|
|
|