Newsgroup: it.comp.os.linux.iniziare
Titolo: Mancano /dev/hdb e /dev/hdc

Salve a tutti,
Ho un pc (P4 2.8) con debian sarge che fino a ieri funzionava bene.
Poi ho dapprima fatto un dist-upgrade e poi ho installato il kernel
2.6.8-2-686
Quando ho lanciato k3b mi sono accorto che qualcosa non funzionava. Poi mi
sono accorto che nella cartella /dev/ ci sono pochi file speciali.
La configurazione hardware dei dischi che ho è la seguente:
hda1: partizione win
hdb: masterizzatore cd
hdc: masterizzatore dvd
hdd1: partizione /
hdd2: partizione /home
hdd3: swap
nella /dev facendo ls mancano hdb e hdc.
Facendo dmesg si legge:
hda: Maxtor 6Y080L0, ATA DISK drive
hdb: WAITEC STORM52/2 1.05 20021212, ATAPI CD/DVD-ROM drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63,
UDMA(100)
 /dev/ide/host0/bus0/target0/lun0: p4
hdc: HL-DT-ST DVDRAM GSA-4081B, ATAPI CD/DVD-ROM drive
hdd: QUANTUM FIREBALLP LM20.5, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hdd: max request size: 128KiB
hdd: 40132503 sectors (20547 MB) w/1900KiB Cache, CHS=39813/16/63, UDMA(33)
 /dev/ide/host0/bus1/target1/lun0: p1 p2 p3 p4
ReiserFS: hdd2: warning: sh-2021: reiserfs_fill_super: can not find reiserfs
on hdd2
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
ReiserFS: hdd2: warning: sh-2021: reiserfs_fill_super: can not find reiserfs
on hdd2
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2000084k swap on /dev/hdd4. Priority:-1 extents:1
EXT3 FS on hdd2, internal journal
Dove sta il problema?
Adesso provo a installare altri kernel e a vedere cosa accade.
--------------------------------
Inviato via 
http://arianna.libero.it/usenet/

 
Non ho presente il metodo che usa debian per generare /dev
Hai controllato se c'è /dev/ide/host0/bus1/... e /dev/ide/host1/bus0/...
Al caso potrebbe esser sufficente fare dei simlinks


 Al caso potrebbe esser sufficente fare dei simlinks
No, non ho un folder /dev/ide.
Ho il sospetto che il problema risieda nell'initrd, o comunque nel kernel.
Ho provato ad avviare il pc con knoppix (3.7) e ho potuto masterizzare.
Se lancio in esecuzione lilo mi da un warning:
Warning: The boot sector and map file are on different disks
Ma nella /boot c'è il system.map relativo al kernel 2.6.8-2
La cosa strana è che dentro /dev si sono pochi file speciali. Di solito sono
centinaie, ma adesso solo questi:
rwxrwxrwx 1 root root 13 Jan 28 09:28 MAKEDEV -> /sbin/MAKEDEV
crw-rw---- 1 root video 10, 175 Jan 28 09:28 agpgart
crw-rw---- 1 root root 5, 1 Jan 28 09:29 console
lrwxrwxrwx 1 root root 11 Jan 28 09:28 core -> /proc/kcore
crw-rw---- 1 root video 29, 0 Jan 28 09:28 fb0
lrwxrwxrwx 1 root root 13 Jan 28 09:28 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Jan 28 09:28 full
srwxrwxrwx 1 root root 0 Jan 28 09:29 gpmctl
prw-r--r-- 1 root root 0 Jan 28 09:34 gpmdata
brw-rw---- 1 root disk 3, 0 Jan 28 09:28 hda
brw-rw---- 1 root disk 3, 1 Jan 28 09:40 hda1
brw-rw---- 1 root disk 3, 2 Jan 28 09:40 hda2
brw-rw---- 1 root disk 22, 64 Jan 28 09:28 hdd
brw-rw---- 1 root disk 22, 65 Jan 28 09:28 hdd1
brw-rw---- 1 root disk 22, 66 Jan 28 09:28 hdd2
brw-rw---- 1 root disk 22, 67 Jan 28 09:28 hdd3
brw-rw---- 1 root disk 22, 68 Jan 28 09:28 hdd4
crw-rw---- 1 root root 10, 183 Jan 28 09:28 hw_random
prw------- 1 root root 0 Jan 28 09:28 initctl
drwxr-xr-x 2 root root 140 Jan 28 09:28 input
crw-r----- 1 root kmem 1, 2 Jan 28 09:28 kmem
crw-rw---- 1 root root 1, 11 Jan 28 09:28 kmsg
srw-rw-rw- 1 root root 0 Jan 28 09:29 log
drwxr-xr-x 2 root root 60 Jan 28 09:28 loop
drwxr-xr-x 2 root root 60 Jan 28 09:28 mapper
crw-r----- 1 root kmem 1, 1 Jan 28 09:28 mem
drwxr-xr-x 2 root root 60 Jan 28 09:28 net
crw-rw-rw- 1 root root 1, 3 Jan 28 09:28 null
crw-r----- 1 root kmem 1, 4 Jan 28 09:28 port
crw------- 1 root root 108, 0 Jan 28 09:28 ppp
crw-rw---- 1 root root 10, 1 Jan 28 09:28 psaux
crw-rw-rw- 1 root tty 5, 2 Jan 28 10:47 ptmx
drwxr-xr-x 2 root root 0 Jan 28 09:28 pts
brw-rw---- 1 root disk 1, 0 Jan 28 09:28 ram0
brw-rw---- 1 root disk 1, 1 Jan 28 09:28 ram1
brw-rw---- 1 root disk 1, 10 Jan 28 09:28 ram10
brw-rw---- 1 root disk 1, 11 Jan 28 09:28 ram11
brw-rw---- 1 root disk 1, 12 Jan 28 09:28 ram12
brw-rw---- 1 root disk 1, 13 Jan 28 09:28 ram13
brw-rw---- 1 root disk 1, 14 Jan 28 09:28 ram14
brw-rw---- 1 root disk 1, 15 Jan 28 09:28 ram15
brw-rw---- 1 root disk 1, 2 Jan 28 09:28 ram2
brw-rw---- 1 root disk 1, 3 Jan 28 09:28 ram3
brw-rw---- 1 root disk 1, 4 Jan 28 09:28 ram4
brw-rw---- 1 root disk 1, 5 Jan 28 09:28 ram5
brw-rw---- 1 root disk 1, 6 Jan 28 09:28 ram6
brw-rw---- 1 root disk 1, 7 Jan 28 09:28 ram7
brw-rw---- 1 root disk 1, 8 Jan 28 09:28 ram8
brw-rw---- 1 root disk 1, 9 Jan 28 09:28 ram9
crw-rw-rw- 1 root root 1, 8 Jan 28 09:28 random
drwxrwxrwt 3 root root 60 Jan 28 09:28 shm
drwxr-xr-x 2 root root 200 Jan 28 09:29 snd
lrwxrwxrwx 1 root root 24 Jan 28 09:28 sndstat -> /proc/asound/oss/sndstat
lrwxrwxrwx 1 root root 15 Jan 28 09:28 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jan 28 09:28 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jan 28 09:28 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty 5, 0 Jan 28 09:29 tty
crw-rw---- 1 root root 4, 0 Jan 28 09:28 tty0
crw------- 1 root root 4, 1 Jan 28 09:29 tty1
crw-rw---- 1 root root 4, 10 Jan 28 09:28 tty10
crw-rw---- 1 root root 4, 11 Jan 28 09:28 tty11
crw-rw---- 1 root root 4, 12 Jan 28 09:28 tty12
crw-rw---- 1 root root 4, 13 Jan 28 09:28 tty13
crw-rw---- 1 root root 4, 14 Jan 28 09:28 tty14
crw-rw---- 1 root root 4, 15 Jan 28 09:28 tty15
crw-rw---- 1 root root 4, 16 Jan 28 09:28 tty16
crw-rw---- 1 root root 4, 17 Jan 28 09:28 tty17
crw-rw---- 1 root root 4, 18 Jan 28 09:28 tty18
crw-rw---- 1 root root 4, 19 Jan 28 09:28 tty19
crw------- 1 root root 4, 2 Jan 28 09:29 tty2
crw-rw---- 1 root root 4, 20 Jan 28 09:28 tty20
crw-rw---- 1 root root 4, 21 Jan 28 09:28 tty21
crw-rw---- 1 root root 4, 22 Jan 28 09:28 tty22
crw-rw---- 1 root root 4, 23 Jan 28 09:28 tty23
crw-rw---- 1 root root 4, 24 Jan 28 09:28 tty24
crw-rw---- 1 root root 4, 25 Jan 28 09:28 tty25
crw-rw---- 1 root root 4, 26 Jan 28 09:28 tty26
crw-rw---- 1 root root 4, 27 Jan 28 09:28 tty27
crw-rw---- 1 root root 4, 28 Jan 28 09:28 tty28
crw-rw---- 1 root root 4, 29 Jan 28 09:28 tty29
crw-rw---- 1 root root 4, 3 Jan 28 09:28 tty3
crw-rw---- 1 root root 4, 30 Jan 28 09:28 tty30
crw-rw---- 1 root root 4, 31 Jan 28 09:28 tty31
crw-rw---- 1 root root 4, 32 Jan 28 09:28 tty32
crw-rw---- 1 root root 4, 33 Jan 28 09:28 tty33
crw-rw---- 1 root root 4, 34 Jan 28 09:28 tty34
crw-rw---- 1 root root 4, 35 Jan 28 09:28 tty35
crw-rw---- 1 root root 4, 36 Jan 28 09:28 tty36
crw-rw---- 1 root root 4, 37 Jan 28 09:28 tty37
crw-rw---- 1 root root 4, 38 Jan 28 09:28 tty38
crw-rw---- 1 root root 4, 39 Jan 28 09:28 tty39
crw-rw---- 1 root root 4, 4 Jan 28 09:28 tty4
crw-rw---- 1 root root 4, 40 Jan 28 09:28 tty40
crw-rw---- 1 root root 4, 41 Jan 28 09:28 tty41
crw-rw---- 1 root root 4, 42 Jan 28 09:28 tty42
crw-rw---- 1 root root 4, 43 Jan 28 09:28 tty43
crw-rw---- 1 root root 4, 44 Jan 28 09:28 tty44
crw-rw---- 1 root root 4, 45 Jan 28 09:28 tty45
crw-rw---- 1 root root 4, 46 Jan 28 09:28 tty46
crw-rw---- 1 root root 4, 47 Jan 28 09:28 tty47
crw-rw---- 1 root root 4, 48 Jan 28 09:28 tty48
crw-rw---- 1 root root 4, 49 Jan 28 09:28 tty49
crw-rw---- 1 root root 4, 5 Jan 28 09:28 tty5
crw-rw---- 1 root root 4, 50 Jan 28 09:28 tty50
crw-rw---- 1 root root 4, 51 Jan 28 09:28 tty51
crw-rw---- 1 root root 4, 52 Jan 28 09:28 tty52
crw-rw---- 1 root root 4, 53 Jan 28 09:28 tty53
crw-rw---- 1 root root 4, 54 Jan 28 09:28 tty54
crw-rw---- 1 root root 4, 55 Jan 28 09:28 tty55
crw-rw---- 1 root root 4, 56 Jan 28 09:28 tty56
crw-rw---- 1 root root 4, 57 Jan 28 09:28 tty57
crw-rw---- 1 root root 4, 58 Jan 28 09:28 tty58
crw-rw---- 1 root root 4, 59 Jan 28 09:28 tty59
crw-rw---- 1 root root 4, 6 Jan 28 09:28 tty6
crw-rw---- 1 root root 4, 60 Jan 28 09:28 tty60
crw-rw---- 1 root root 4, 61 Jan 28 09:28 tty61
crw-rw---- 1 root root 4, 62 Jan 28 09:28 tty62
crw-rw---- 1 root root 4, 63 Jan 28 09:28 tty63
crw-rw---- 1 root root 4, 7 Jan 28 09:28 tty7
crw-rw---- 1 root root 4, 8 Jan 28 09:28 tty8
crw-rw---- 1 root root 4, 9 Jan 28 09:28 tty9
crw-rw---- 1 root dialout 4, 64 Jan 28 09:28 ttyS0
crw-rw---- 1 root dialout 4, 65 Jan 28 09:28 ttyS1
crw-rw---- 1 root dialout 4, 74 Jan 28 09:28 ttyS10
crw-rw---- 1 root dialout 4, 75 Jan 28 09:28 ttyS11
crw-rw---- 1 root dialout 4, 76 Jan 28 09:28 ttyS12
crw-rw---- 1 root dialout 4, 77 Jan 28 09:28 ttyS13
crw-rw---- 1 root dialout 4, 78 Jan 28 09:28 ttyS14
crw-rw---- 1 root dialout 4, 79 Jan 28 09:28 ttyS15
crw-rw---- 1 root dialout 4, 80 Jan 28 09:28 ttyS16
crw-rw---- 1 root dialout 4, 81 Jan 28 09:28 ttyS17
crw-rw---- 1 root dialout 4, 82 Jan 28 09:28 ttyS18
crw-rw---- 1 root dialout 4, 83 Jan 28 09:28 ttyS19
crw-rw---- 1 root dialout 4, 66 Jan 28 09:28 ttyS2
crw-rw---- 1 root dialout 4, 84 Jan 28 09:28 ttyS20
crw-rw---- 1 root dialout 4, 85 Jan 28 09:28 ttyS21
crw-rw---- 1 root dialout 4, 86 Jan 28 09:28 ttyS22
crw-rw---- 1 root dialout 4, 87 Jan 28 09:28 ttyS23
crw-rw---- 1 root dialout 4, 88 Jan 28 09:28 ttyS24
crw-rw---- 1 root dialout 4, 89 Jan 28 09:28 ttyS25
crw-rw---- 1 root dialout 4, 90 Jan 28 09:28 ttyS26
crw-rw---- 1 root dialout 4, 91 Jan 28 09:28 ttyS27
crw-rw---- 1 root dialout 4, 92 Jan 28 09:28 ttyS28
crw-rw---- 1 root dialout 4, 93 Jan 28 09:28 ttyS29
crw-rw---- 1 root dialout 4, 67 Jan 28 09:28 ttyS3
crw-rw---- 1 root dialout 4, 94 Jan 28 09:28 ttyS30
crw-rw---- 1 root dialout 4, 95 Jan 28 09:28 ttyS31
crw-rw---- 1 root dialout 4, 96 Jan 28 09:28 ttyS32
crw-rw---- 1 root dialout 4, 97 Jan 28 09:28 ttyS33
crw-rw---- 1 root dialout 4, 98 Jan 28 09:28 ttyS34
crw-rw---- 1 root dialout 4, 99 Jan 28 09:28 ttyS35
crw-rw---- 1 root dialout 4, 100 Jan 28 09:28 ttyS36
crw-rw---- 1 root dialout 4, 101 Jan 28 09:28 ttyS37
crw-rw---- 1 root dialout 4, 102 Jan 28 09:28 ttyS38
crw-rw---- 1 root dialout 4, 103 Jan 28 09:28 ttyS39
crw-rw---- 1 root dialout 4, 68 Jan 28 09:28 ttyS4
crw-rw---- 1 root dialout 4, 104 Jan 28 09:28 ttyS40
crw-rw---- 1 root dialout 4, 105 Jan 28 09:28 ttyS41
crw-rw---- 1 root dialout 4, 106 Jan 28 09:28 ttyS42
crw-rw---- 1 root dialout 4, 107 Jan 28 09:28 ttyS43
crw-rw---- 1 root dialout 4, 108 Jan 28 09:28 ttyS44
crw-rw---- 1 root dialout 4, 109 Jan 28 09:28 ttyS45
crw-rw---- 1 root dialout 4, 110 Jan 28 09:28 ttyS46
crw-rw---- 1 root dialout 4, 111 Jan 28 09:28 ttyS47
crw-rw---- 1 root dialout 4, 69 Jan 28 09:28 ttyS5
crw-rw---- 1 root dialout 4, 70 Jan 28 09:28 ttyS6
crw-rw---- 1 root dialout 4, 71 Jan 28 09:28 ttyS7
crw-rw---- 1 root dialout 4, 72 Jan 28 09:28 ttyS8
crw-rw---- 1 root dialout 4, 73 Jan 28 09:28 ttyS9
cr--r--r-- 1 root root 1, 9 Jan 28 09:29 urandom
crw-rw---- 1 root root 7, 0 Jan 28 09:28 vcs
crw-rw---- 1 root root 7, 1 Jan 28 09:29 vcs1
crw-rw---- 1 root root 7, 2 Jan 28 09:29 vcs2
crw-rw---- 1 root root 7, 7 Jan 28 09:29 vcs7
crw-rw---- 1 root root 7, 128 Jan 28 09:28 vcsa
crw-rw---- 1 root root 7, 129 Jan 28 09:29 vcsa1
crw-rw---- 1 root root 7, 130 Jan 28 09:29 vcsa2
crw-rw---- 1 root root 7, 135 Jan 28 09:29 vcsa7
prw-r----- 1 root adm 0 Jan 28 09:29 xconsole
crw-rw-rw- 1 root root 1, 5 Jan 28 09:28 zero


 > Al caso potrebbe esser sufficente fare dei simlinks
Inizio a pensare che il problema risieda su udev.
Adesso provo a disinstallarlo e riavviare il sistema.



... e infatti ha funzionato.
Facendo un reboot mi ritrovo tutti i miei bei devices, e il masterizzatore
funziona.
Evidentemente non funziona udev o non sono stato capace di configurarlo.
Udev deve esser stato installato come nuova dipendenza di qualche pacchetto
che già avevo (gnome-volume-manager?) a seguito dell'apt-get dist-upgrade.
Adesso mi resta da vedere se mi funziona il pen-drive.
