Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
nel kernel che duramente mi sono riuscito a compilare, Funziona
pero' vorrei abilitare USB e vorrei riuscire a montarmi la penna usb
nel kernel cosa abilito ?
root@vanescar:/usr/src/linux# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400/A] Chipset Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video (rev 01)
ho compilato i modoli e anche il file system vfat, pero' mi ristituisce questo ... come posso risolvere?
root@vanescar:/home/vanescar# tail -f /var/log/messages
Jan 1 03:54:28 vanescar kernel: usb 1-2: new high speed USB device using ehci_hcd and address 4
Jan 1 03:54:29 vanescar kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jan 1 03:54:34 vanescar kernel: Vendor: Model: USB Flash Disk Rev: 2040
Jan 1 03:54:34 vanescar kernel: Type: Direct-Access ANSI SCSI revision: 00
Jan 1 03:54:34 vanescar kernel: SCSI device sda: 990208 512-byte hdwr sectors (507 MB)
Jan 1 03:54:34 vanescar kernel: sda: Write Protect is off
Jan 1 03:54:34 vanescar kernel: SCSI device sda: 990208 512-byte hdwr sectors (507 MB)
Jan 1 03:54:34 vanescar kernel: sda: Write Protect is off
Jan 1 03:54:34 vanescar kernel: sda: sda1
Jan 1 03:54:34 vanescar kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
root@vanescar:/home/vanescar# mount /dev/sda1 /mnt/hd/
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@vanescar:/home/vanescar# dmesg | tail
sda: Write Protect is off
sda: Mode Sense: 43 00 00 00
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
usb-storage: device scan complete
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
colgo l'occasione per augurare a TUTTI un 2006 in pace e serenita'
vanescar ha scritto:ho compilato i modoli e anche il file system vfat, pero' mi ristituisce questo ... come posso risolvere?
root@vanescar:/home/vanescar# tail -f /var/log/messages
Jan 1 03:54:28 vanescar kernel: usb 1-2: new high speed USB device using ehci_hcd and address 4
Jan 1 03:54:29 vanescar kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jan 1 03:54:34 vanescar kernel: Vendor: Model: USB Flash Disk Rev: 2040
Jan 1 03:54:34 vanescar kernel: Type: Direct-Access ANSI SCSI revision: 00
Jan 1 03:54:34 vanescar kernel: SCSI device sda: 990208 512-byte hdwr sectors (507 MB)
Jan 1 03:54:34 vanescar kernel: sda: Write Protect is off
Jan 1 03:54:34 vanescar kernel: SCSI device sda: 990208 512-byte hdwr sectors (507 MB)
Jan 1 03:54:34 vanescar kernel: sda: Write Protect is off
Jan 1 03:54:34 vanescar kernel: sda: sda1
Jan 1 03:54:34 vanescar kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
root@vanescar:/home/vanescar# mount /dev/sda1 /mnt/hd/
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@vanescar:/home/vanescar# dmesg | tail
sda: Write Protect is off
sda: Mode Sense: 43 00 00 00
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
usb-storage: device scan complete
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
colgo l'occasione per augurare a TUTTI un 2006 di pace e serenita'
root@vanescar:/home/vanescar# cfdisk /dev/sda
Disk has been changed.
WARNING: If you have created or modified any
DOS 6.x partitions, please see the cfdisk manual
page for additional information.
root@vanescar:/home/vanescar# mount /dev/sda1 /mnt/usb/
mount: you must specify the filesystem type
root@vanescar:/home/vanescar# mount -t vfat /dev/sda1 /mnt/usb/
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
ho formatato con il fat32 [0B] ma nn riesco accere, come posso fare ?
root@vanescar:/home/vanescar# mkdosfs -F 32 /dev/sda1
mkdosfs 2.10 (22 Sep 2003)
root@vanescar:/home/vanescar# mount -t vfat /dev/sda1 /mnt/usb/
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@vanescar:/home/vanescar# mount /dev/sda1 /mnt/usb/
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@vanescar:/home/vanescar# dmesg | tail
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda1.
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda1.
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
forse ho sbagliato includere qualcosa nel kernel ?
(supponendo che la tua penna venga riconosciuta da devfs come sda, altrimenti usa sdb o sdc...a seconda di come ti viene riconosciuta nella sessione di lavoro in cui sei);
Allora,
alla sezione:
Device Drivers -> USB support ->
abilita:
1) Support for Host-side USB
2) EHCI HCD (USB 2.0) support
3) UHCI HCD (most Intel and VIA) support
4) USB Mass Storage support
Guarda il tuo lspci, ti dice che hai un USB 2.0 e un UHCI controller. Mass Storage support serve per le penne USB.
Nella sezione:
File systems -> DOS/FAT/NT Filesystems ->
abilita:
VFAT (Windows-95) fs support
e a
Default codepage for FAT
mettici 437
Da quello che ti dice il driver USB, sembra che il filesystem della tua pennina usi una codifica 437 degli USA.
Poi vai a
File systems -> Native Language Support ->
e abilita:
Codepage 437 (United States, Canada)
fai anche help su questa opzione per capire perchè è necessaria.
Buona fortuna
Spina
P.S. E' consigliato formattare una partizione DOS/WINDOWS con sistemi DOS/Windows, mentre le partizioni linux con sistemi linux. Per sapere perchè fai:
man fdisk è leggiti la sezione DOS 6.x WARNING.