PDA

View Full Version : problema riconoscimento disco


oRz0Ro
01-02-2006, 15:24
come da titolo... il mio PC è composto da 2 hdd, il primo 40gb è dove ho installato linux (debian 3.1r0) + winXP ed il secondo da 160 gb diviso in 3 partizioni 2 EXT2 ed una NTFS.
Il problema è che al momento del caricamento del s.o. mi dà questo errore:
dev/hdb (il disco da 160 Gb)
attached ide disk driver
cannot use LBA48
capacity reset from xxxxx to xxxxxx

Per completezza posto le risposte ai vari comandi:


fdisk:
Command (m for help): p

Disk /dev/hdb: 137.4 GB, 137438953472 bytes
255 heads, 63 sectors/track, 16709 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2 19929 160071660 f W95 Ext'd (LBA)
/dev/hdb5 2 5102 40973751 7 HPFS/NTFS
/dev/hdb6 5103 8927 30724281 83 Linux
/dev/hdb7 8928 19929 88373533+ 83 Linux

___________________________________________________________
Command (m for help): v
Total allocated sectors 320143135 greater than the maximum 268435456
------------------------------------------------------------------------------
cfdisk /dev/hdb:

FATAL ERROR: Bad primary partition 0: Partition ends after end-of-disk
Press any key to exit cfdisk

------------------------------------------------------------------------------
fdisk -l /dev/hdb:

Disk /dev/hdb: 137.4 GB, 137438953472 bytes
255 heads, 63 sectors/track, 16709 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2 19929 160071660 f W95 Ext'd (LBA)
/dev/hdb5 2 5102 40973751 7 HPFS/NTFS
/dev/hdb6 5103 8927 30724281 83 Linux
/dev/hdb7 8928 19929 88373533+ 83 Linux


Qualcunon ha qualche idea di quale sia il problema e di come si può risolvere?

Non è un problema hardware perchè winXP vede la partizione NTFS del disco.
Ho provato a leggere il file fstab ma di dev/hdb nemmeno l' ombra...

ilsensine
01-02-2006, 21:54
cannot use LBA48
Che controller (south bridge) hai?

fdisk -l /dev/hdb:

Disk /dev/hdb: 137.4 GB, 137438953472 bytes
255 heads, 63 sectors/track, 16709 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2 19929 160071660 f W95 Ext'd (LBA)
/dev/hdb5 2 5102 40973751 7 HPFS/NTFS
/dev/hdb6 5103 8927 30724281 83 Linux
/dev/hdb7 8928 19929 88373533+ 83 Linux

...e questo potrebbe essere legato al problema precedente. Le partizioni finiscono al cilindro 19929, ma il disco è riportato di 16709 (e infatti la capacità indicata è inferiore).

Potrebbe essere una limitazione dell'hardware; nel frattempo non accedere a hdb7.

ilsensine
01-02-2006, 21:58
nb ho spostato nella sezione principale.

oRz0Ro
02-02-2006, 23:07
Il southbridge è un ali MD1535D+
credo comunque sia un problema di debian perchè sotto xp venivano riconosciuti tutti i 160 Giga.

ho provato a ripartizionare il disco ed a riformattarlo con l' utility dell' installazione di debian e a parte la capacità che ancora non viene riconosciuta completamente (130 anzichè 160 Giga), le 2 partizioni linux vengono riconosciute e montate.
Provando però ad avviare partition magic da dischetto e selezionando il disco, mi dà errore (ancora qualcosa a proposito dell' lba).

ilsensine
03-02-2006, 08:01
Il southbridge è un ali MD1535D+
So che alcune revision di quel chipset non possono usare dma su lba48, ma linux gestisce la cosa (usando il PIO oltre i 130GB). Il problema quindi è un altro. Puoi mandarmi il dmesg completo?

le 2 partizioni linux vengono riconosciute e montate.
Se il partizionamento è quello che hai postato, _non accedere_ alla seconda partizione di linux finché non risolviamo il problema! Ti sembra che funziona, ma vedrai che botto non appena superi i 130GB.

Provando però ad avviare partition magic da dischetto e selezionando il disco, mi dà errore (ancora qualcosa a proposito dell' lba).
Strano eh?

oRz0Ro
03-02-2006, 15:23
dmesg:
00:00:0d.0[A] -> GSI 11 (level, low) -> IRQ 11
ohci_hcd 0000:00:0d.0: NEC Corporation USB
ohci_hcd 0000:00:0d.0: irq 11, pci mem f0931000
ohci_hcd 0000:00:0d.0: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
ACPI: PCI interrupt 0000:00:0d.1[B] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:0d.1: NEC Corporation USB (#2)
ohci_hcd 0000:00:0d.1: irq 10, pci mem f0933000
ohci_hcd 0000:00:0d.1: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:0d.2[C] -> GSI 7 (level, low) -> IRQ 7
ehci_hcd 0000:00:0d.2: NEC Corporation USB 2.0
ehci_hcd 0000:00:0d.2: irq 7, pci mem f0935000
ehci_hcd 0000:00:0d.2: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:0d.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 5 ports detected
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected Ati IGP320/M chipset
agpgart: Maximum main memory to use for agp memory: 690M
agpgart: AGP aperture is 64M @ 0xe8000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
Real Time Clock Driver v1.12
input: PC Speaker
inserting floppy driver for 2.6.8-2-686
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
parport: PnPBIOS parport detected.
parport0: PC-style at 0x278, irq 5 [PCSPP,TRISTATE,EPP]
eth0: link up, 10Mbps, half-duplex, lpa 0x0000
NET: Registered protocol family 17
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (6143 buckets, 49144 max) - 296 bytes per conntrack
lp0: using parport0 (interrupt-driven).
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0300140(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
Inbound IN=eth0 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=xxx.xxx.xxx.xxx DST=xxx.xxx.xxx.xxx LEN=48 TOS=0x00 PREC=0x00 TTL=119 ID=20230 DF PROTO=TCP SPT=2043 DPT=139 WINDOW=16384 RES=0x00 SYN URGP=0
....................
....................
....................
Inbound IN=eth0 OUT= MAC=MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=x.xxx.xxx.xxx DST=xxx.xxx.xxx.xxx LEN=48 TOS=0x00 PREC=0x00 TTL=127 ID=34223 DF PROTO=TCP SPT=3978 DPT=139 WINDOW=16384 RES=0x00 SYN URGP=0


non vedo info sui drives però..

Psycotic
03-02-2006, 15:52
Direi che ci manca un bel pezzo iniziale, visto che ti comincia dall' USB

ilsensine
03-02-2006, 16:05
Già...

oRz0Ro
03-02-2006, 16:27
Ho provato ad installare e eseguire hdparm
la capacità del disco viene riconosciuta per intero!

hdparm -i /dev/hdb

/dev/hdb:

Model=Maxtor 6Y160P0, FwRev=YAR41BW0, SerialNo=Y44JAF0E
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):

* signifies the current active mode

====================================================0


hdparm -I /dev/hdb

/dev/hdb:

ATA device, with non-removable media
Model Number: Maxtor 6Y160P0
Serial Number: Y44JAF0E
Firmware Revision: YAR41BW0
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 320173056
device size with M = 1024*1024: 156334 MBytes
device size with M = 1000*1000: 163928 MBytes (163 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 192, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
* Automatic Acoustic Management feature set
SET MAX security extension
Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 1 determined by the jumper
Checksum: correct




ho anche dato un occhiata in giro e ho trovato uno nella mia stessa situazione che ha risolto disabilitando il DMA mode 5 al boot ed abilitando invece il PIO mode 4.

cosa ne pensate?

eventualmente come posso configurare manualmente il sistema per abilitare il pio4 all' avvio?
come bootloader (dual boot) ho grub ma non so come configurarlo (il tipo aveva lilo anzichè grub)

=================================================================
[EDIT]

Ho riavviato il pc ed ho riprovato ad eseguire dmesg:


Linux version 2.6.8-2-686 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Tue Aug 16 13:22:48 UTC 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000002fff0000 (usable)
BIOS-e820: 000000002fff0000 - 000000002fff3000 (ACPI NVS)
BIOS-e820: 000000002fff3000 - 0000000030000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
767MB LOWMEM available.
On node 0 totalpages: 196592
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 192496 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
ACPI: RSDP (v000 ATIA3 ) @ 0x000f6af0
ACPI: RSDT (v001 ATIA3 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2fff3000
ACPI: FADT (v001 ATIA3 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2fff3040
ACPI: DSDT (v001 ATIA3 AWRDACPI 0x00001000 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x508
Built 1 zonelists
Kernel command line: root=/dev/hda3 ro
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
Detected 1528.012 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 771372k/786368k available (1551k kernel code, 14228k reserved, 690k data, 148k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 3039.23 BogoMIPS
Security Scaffold v1.0.0 initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: CLK_CTL MSR was 6003d22f. Reprogramming to 2003d22f
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) XP 1800+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1528.0316 MHz.
..... host bus clock speed is 265.0794 MHz.
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Freeing initrd memory: 4528k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb700, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Edge set to Level Trigger.
spurious 8259A interrupt: IRQ7.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK2] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK3] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK4] (IRQs 1 3 4 5 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK5] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK6] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK7] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK8] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK9] (IRQs 1 3 4 5 6 *7 10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fc110
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xc140, dseg 0xf0000
pnp: 00:0b: ioport range 0x40b-0x40b has been reserved
pnp: 00:0b: ioport range 0x4d6-0x4d6 has been reserved
pnp: 00:0b: ioport range 0x5000-0x501f has been reserved
pnp: 00:0b: ioport range 0x4000-0x403f has been reserved
pnp: 00:0c: ioport range 0x370-0x371 has been reserved
PnPBIOS: 17 nodes reported by PnP BIOS; 17 recorded by driver
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNK9] enabled at IRQ 7
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 7 (level, low) -> IRQ 7
ACPI: PCI interrupt 0000:00:04.0[A]: no GSI
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:0d.1[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 7
ACPI: PCI interrupt 0000:00:0d.2[C] -> GSI 7 (level, low) -> IRQ 7
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 11 (level, low) -> IRQ 11
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
ATI Northbridge, reserving I/O ports 0x3b0 to 0x3bb.
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI: (supports S0 S1 S4 S5)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4528 blocks [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 148k freed
vesafb: probe of vesafb0 failed with error -6
NET: Registered protocol family 1
SCSI subsystem initialized
libata version 1.02 loaded.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Warning: ATI Radeon IGP Northbridge is not yet fully tested.
ALI15X3: IDE controller at PCI slot 0000:00:04.0
ACPI: PCI interrupt 0000:00:04.0[A]: no GSI
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda: DMA, hdb: DMA
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc: DMA, hdd: pio
hda: Maxtor 2F040J0, ATA DISK drive
hdb: Maxtor 6Y160P0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 > p3
hdb: max request size: 128KiB
hdb: cannot use LBA48 - full capacity 320173056 sectors (163928 MB)
hdb: 268435456 sectors (137438 MB) w/7936KiB Cache, CHS=16709/255/63, UDMA(100)
/dev/ide/host0/bus0/target1/lun0: p1 < p5 p6 p7 >
hdc: HL-DT-ST DVDRAM GSA-4160B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Adding 489972k swap on /dev/hda5. Priority:-1 extents:1
hdc: ATAPI 79X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(66)
Uniform CD-ROM driver Revision: 3.20
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
Capability LSM initialized
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
8139too Fast Ethernet driver 0.9.27
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 11 (level, low) -> IRQ 11
eth0: RealTek RTL8139 at 0xdc00, 00:40:f4:6d:cc:76, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
cmpci: version $Revision: 6.82 $ time 13:45:27 Aug 16 2005
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 10 (level, low) -> IRQ 10
cmpci:
cmpci: found CM8738 adapter at io 0xe000 irq 10
cmpci: chip version = 055
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 7 (level, low) -> IRQ 7
ohci_hcd 0000:00:02.0: ALi Corporation USB 1.1 Controller
ohci_hcd 0000:00:02.0: irq 7, pci mem f0892000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:06.0: ALi Corporation USB 1.1 Controller (#2)
ohci_hcd 0000:00:06.0: irq 10, pci mem f092f000
ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 11 (level, low) -> IRQ 11
ohci_hcd 0000:00:0d.0: NEC Corporation USB
ohci_hcd 0000:00:0d.0: irq 11, pci mem f0931000
ohci_hcd 0000:00:0d.0: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
ACPI: PCI interrupt 0000:00:0d.1[B] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:0d.1: NEC Corporation USB (#2)
ohci_hcd 0000:00:0d.1: irq 10, pci mem f0933000
ohci_hcd 0000:00:0d.1: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:0d.2[C] -> GSI 7 (level, low) -> IRQ 7
ehci_hcd 0000:00:0d.2: NEC Corporation USB 2.0
ehci_hcd 0000:00:0d.2: irq 7, pci mem f0935000
ehci_hcd 0000:00:0d.2: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:0d.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 5 ports detected
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected Ati IGP320/M chipset
agpgart: Maximum main memory to use for agp memory: 690M
agpgart: AGP aperture is 64M @ 0xe8000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
Real Time Clock Driver v1.12
input: PC Speaker
inserting floppy driver for 2.6.8-2-686
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
parport: PnPBIOS parport detected.
parport0: PC-style at 0x278, irq 5 [PCSPP,TRISTATE,EPP]
eth0: link up, 10Mbps, half-duplex, lpa 0x0000
NET: Registered protocol family 17
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (6143 buckets, 49144 max) - 296 bytes per conntrack
Inbound IN=eth0 OUT= MAC=xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx SRC=xxx.xxx.xxx.xxx DST=xxx.xxx.xxx.xxx LEN=48 TOS=0x00 PREC=0x00 TTL=127 ID=60128 DF PROTO=TCP SPT=1185 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
lp0: using parport0 (interrupt-driven).
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0300140(lo)
IPv6 over IPv4 tunneling driver
Inbound IN=eth0 OUT= MAC=xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx SRC=xxx.xxx.xxx.xxx DST=xxx.xxx.xxx.xxx LEN=48 TOS=0x00 PREC=0x00 TTL=119 ID=4577 DF PROTO=TCP SPT=2530 DPT=139 WINDOW=16384 RES=0x00 SYN URGP=0
eth0: no IPv6 routers present

ilsensine
03-02-2006, 16:55
Giusto per scrupolo...puoi controllare nel BIOS che l'accesso al disco sia impostato su LBA?

oRz0Ro
03-02-2006, 17:02
guarda ho provato ad impostare l' accesso su lba, chs, large, auto ma il risultato è lo stesso

ilsensine
03-02-2006, 17:13
guarda ho provato ad impostare l' accesso su lba, chs, large, auto ma il risultato è lo stesso
Tienilo su lba (verifica comunque se è disponibile un aggiornamento del bios; non è specificato "quale" lba supporta)


Comincia a venirmi il sospetto che sia l'HD a non accettare i comandi lba48. Alcuni dischi ad esempio hanno un jumper per ridurre artificiosamente la capienza, per compatibilità con vecchi chipset. Per verificarlo dovresti testare l'HD su un altro computer (anche di qualche tuo amico, anche tramite un live CD tipo knoppix).

Il fatto che windows ti "veda" tutti i 160 GB di per se vuol dire poco: anche linux li "vede" (per questo stampa quel messaggio, altrimenti non stamperebbe nulla se l'lba48 non fosse necessario), ma la partizione ntfs giace ben dentro i 130GB.

oRz0Ro
03-02-2006, 17:32
dunque
purtroppo di bios aggiornati per la mia MB non ce ne sono (il mio è del 2002)

quando ho installato la prima volta il disco l' ho partizionato con 2 partizioni ntfs per un tot di 160 gb senza problemi

non credo infine che sia il disco a non accettare i comandi lba48 perchè il master, che è più vecchio ( Maxtor 2F040J0, ATA DISK drive) non ha problemi come lo slave ( Maxtor 6Y160P0, ATA DISK drive ) che ho comprato circa un anno dopo.
purtroppo sul sito della maxtor provando a cercare la sigla del mio disco per trovare un datasheet mi dà errore....

ilsensine
03-02-2006, 17:49
quando ho installato la prima volta il disco l' ho partizionato con 2 partizioni ntfs per un tot di 160 gb senza problemi
Le tabelle delle partizioni giaccino all'inizio del disco; le informazioni ntfs giacciono all'inizio e a metà partizione. Non sei necessariamente sei arrivato a scrivere alla fine del disco.

Se puoi ripetere questa prova, e far leggere a windows la parte finale del disco (basta effettuare un controllo della superficie sulla partizione che "sfora", oppure creare una partizione ntfs da 150 gb e una da 10 gb e vedere se ci riesce), chiariamo definitivamente questo dubbio.

non credo infine che sia il disco a non accettare i comandi lba48 perchè il master, che è più vecchio ( Maxtor 2F040J0, ATA DISK drive) non ha problemi come lo slave ( Maxtor 6Y160P0, ATA DISK drive )
Il primo disco è piccolo e non usa lba48.

oRz0Ro
03-02-2006, 18:01
ok
stasera provo a partizionare il disco con win e ti faccio sapere come va....

oRz0Ro
04-02-2006, 15:51
ciao
dunque ho provato a creare 2 partizioni primarie da circa 150 (inizio disco) e circa 6 Gb (fine disco) e a formattarle sotto win in ntfs: no problem. poi ho copiato cartelle e files sul disco da 6 Gb fino a riempirlo: ancora no problem.
questo dovrebbe chiarire la situazione: direi che è linux a creare problemi

ho poi trovato una voce nel bios che abilita/disabilita PIO e DMA: ho messo PIO4 per master e slave e disabilitato DMA: riavviato il pc ma da ancora lo stesso errore = cannot use LBA48! e linux accede al disco ancora in modalita dma5.

infine ho controllato i jumper dei dischi e sono settati master/slave (no cable setting)
ed ho visto che c'è il famoso jumper per ridurre la capacità, solo che ovviamente vorrei tenerlo come soluzione di ultimo ripiego (- 30Gb sigh!)


[EDIT]
Forse ci siamo

Il problema non è che il controller non gestisce la modalità LBA48 ma che non la può gestire sotto DMA mode ma solo sotto PIO mode.
La soluzione è quindi inizializzare linux con il pio4 anziche il dma come modalità di lettura/scrittura: qual' è la procedura? ho provato a cercare in rete ma non ho trovato un comando/ file di configurazione da modificare...

[ho provato con hdparm ma non serve: credo che ci sia un impostazione che abiliti di default la DMA e ignori i comandi di hdparm...]

ilsensine
04-02-2006, 21:44
ho poi trovato una voce nel bios che abilita/disabilita PIO e DMA: ho messo PIO4 per master e slave e disabilitato DMA: riavviato il pc ma da ancora lo stesso errore = cannot use LBA48! e linux accede al disco ancora in modalita dma5.
Sì quella impostazione vale solo per gli accessi al disco tramite bios.


[EDIT]
Forse ci siamo

Il problema non è che il controller non gestisce la modalità LBA48 ma che non la può gestire sotto DMA mode ma solo sotto PIO mode.
E' quello che ti ho accennato, alcune revision non sono in grado di farlo

La soluzione è quindi inizializzare linux con il pio4 anziche il dma come modalità di lettura/scrittura: qual' è la procedura?
Linux dovrebbe usare dma fino a 130GB e poi PIO, automaticamente. Se non lo fa è un bug (in effetti il tuo kernel non è proprio recentissimo)

[ho provato con hdparm ma non serve: credo che ci sia un impostazione che abiliti di default la DMA e ignori i comandi di hdparm...]
hdparm arriva troppo tardi; la modalità PIO va forzata prima del probe del disco, attivarla dopo non serve a nulla (in quanto la limitazione della capacità accessibile del disco è già stata decisa, e non può essere modificata).
Forzarla era facile prima che decidessero di mettere il supporto ide come moduli anziché builtin.

Il mio consiglio a questo punto è provare con un liveCD recente, quindi con un kernel meno vecchio, e vedere cosa dice.

oRz0Ro
05-02-2006, 14:29
"quindi con un kernel meno vecchio":
Il kernel è 2.6.8-16 sarge1, pensavo fosse aggiornato.
in effetti il gestore pacchetti synaptic mi da questa versione come l' ultima disponibile.
oppure ho capito male?

ilsensine
06-02-2006, 08:20
Il gestore pacchetti ti darà sempre un 2.6.8-qualcosa come disponibile; in una certa versione di una distribuzione non si eseguono aggiornamenti "maggiori" dei pacchetti, ma solo bugfix importanti.

Non hai la possibilità di scaricarti un liveCD recente?

oRz0Ro
06-02-2006, 15:57
ciao
dunque...oggi ho provato la live di kaontix e l' installer di arcklinux e tutti e due riescono a leggere il disco in PIO mode "hdb: cannot use LBA48 - full capacity 320173056 sectors (163928 MB) accessing in pio mode" o qualcosa del genere e vedono la corretta capacità del disco (160 Gb), mentre la mia debian dopo "hdb: cannot use LBA48" non diceva altro: quindi è un problema di kernel da aggiornare suppongo...

ho perciò scaricato in una cartella il kernel 2.6.15.1 (trovato nel dvd di una rivista) che vorrei installare ma non riesco: ho provato a seguire i consigli del readme e ho dato un make , risposto alle domande di configurazione e poi ho dato un make install ma mi risponde con un errore:
" /root/Desktop/kern/linux-2.6.15.1/scripts/gen_initramfs_list.sh: Cannot open 'y' "

mi daresti una procedura da seguire per installarlo?

ilsensine
07-02-2006, 07:21
ciao
dunque...oggi ho provato la live di kaontix e l' installer di arcklinux e tutti e due riescono a leggere il disco in PIO mode "hdb: cannot use LBA48 - full capacity 320173056 sectors (163928 MB) accessing in pio mode" o qualcosa del genere e vedono la corretta capacità del disco (160 Gb)
Dovrebbe scrivere questo:

hdb: cannot use LBA48 DMA - PIO mode will be used for accessing sectors > 268435456
che sarebbe corretto: usa il PIO > 130GB e il DMA per lo spazio inferiore.
E' quindi un problema del tuo kernel.

ho perciò scaricato in una cartella il kernel 2.6.15.1 (trovato nel dvd di una rivista) che vorrei installare ma non riesco: ho provato a seguire i consigli del readme e ho dato un make , risposto alle domande di configurazione e poi ho dato un make install ma mi risponde con un errore:
" /root/Desktop/kern/linux-2.6.15.1/scripts/gen_initramfs_list.sh: Cannot open 'y' "

mi daresti una procedura da seguire per installarlo?
Non è così facile. Dal 2.6.8 al 2.6.15 sono cambiate un mucchio di cose; in particolare è stato rimosso il devfs e occorre una versione di udev aggiornata. Se la tua distribuzione usa uno di questi due strumenti per gestire /dev, sono problemi. Se hai un /dev statico se ne può parlare.
In ogni caso ti consiglio di chiedere aiuto ai debianoidi a questo punto.

oRz0Ro
07-02-2006, 23:05
E invece fortunatamente sono riuscito ad installarlo il nuovo kernel... :-)

ora però dmesg mi dà solo l' ultima parte dei messaggi del kernel e non riesco più a leggere cosa dice a proposito degli hard disk.

come posso fare a leggere i messaggi per intero?

un altra cosa: ora il disco viene riconosciuto bene e l'ho ripartizionato con fdisk ma non so come farlo "vedere" a linux: immagino debba modificare i files fstab e mtab
ma non so dove montare le partizioni

es: /dev/hda6 /home ext2 defaults 0 2
è la directory home :-) che viene montata appunto in /home.

Per montare la partizione "dati" che è su /dev/hdb2 cosa devo scrivere? In alternativa esiste un tool che lo faccia per me? e per formattare? io ho usato un cd live e ho formattato le partizioni da li ma in debian che comandi/tool posso usare?

ilsensine
08-02-2006, 07:55
E invece fortunatamente sono riuscito ad installarlo il nuovo kernel... :-)
Bravo

ora però dmesg mi dà solo l' ultima parte dei messaggi del kernel e non riesco più a leggere cosa dice a proposito degli hard disk.

come posso fare a leggere i messaggi per intero?
Cerca tra i file in /var/log

un altra cosa: ora il disco viene riconosciuto bene e l'ho ripartizionato con fdisk ma non so come farlo "vedere" a linux: immagino debba modificare i files fstab e mtab
ma non so dove montare le partizioni
mtab non lo toccare.

Prima crei le directory dove vuoi montare le partizioni (ad es. /mnt/dati), quindi scrivi la regola in fstab sulla falsariga di quelle che vedi esistenti.

Per montare la partizione "dati" che è su /dev/hdb2 cosa devo scrivere?
Qualcosa tipo:
/dev/hdb2 /mnt/dati <tipo di file system> defaults 0 2
(è solo un hint; dai tuoi post precedenti non vedo alcuna hdb2)
Vedi anche man fstab.
In alternativa esiste un tool che lo faccia per me?
Sicuramente, ma se sei riuscito a cambiare kernel da solo non dovresti perderti per così poco ;)

e per formattare? io ho usato un cd live e ho formattato le partizioni da li ma in debian che comandi/tool posso usare?
mkfs.<tipo di file system>
ad es. mkfs.ext2, mkfs.ext3, mkfs.reiserfs, mkfs.vfat...

oRz0Ro
09-02-2006, 01:16
allora...

/dev/hdb2 è la partizione da 90 Gb sul 2 HDD (quello da 160 Gb)che voglio montare per salvarci i miei dati

quindi basta creare la directory dove montare la partizione ad es /mnt/dati,
modificare fstab e quindi, andando in /mnt/dati (che è sul 1 disco -dove ho installato linux ) e (ad esempio) copiandoci vari files da un cd-rom li scrivo in realtà sulla partizione "dati" che è sul secondo disco (160Gb)?

un' altra cosa: le 3 partizioni che ho creato sul disco rigido (1 per i giochi di winXP e 2 per i dati di linux) sono tutte e tre primarie: va bene così oppure deve esserci una primaria e 2 logiche oppure devono essere tutte e 3 logiche visto che non vengono usate per il boot di un sistema operativo?

ilsensine
09-02-2006, 07:38
allora...

/dev/hdb2 è la partizione da 90 Gb sul 2 HDD (quello da 160 Gb)che voglio montare per salvarci i miei dati
L'hai creata dopo aver scritto questo, immagino:
fdisk -l /dev/hdb:

Disk /dev/hdb: 137.4 GB, 137438953472 bytes
255 heads, 63 sectors/track, 16709 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2 19929 160071660 f W95 Ext'd (LBA)
/dev/hdb5 2 5102 40973751 7 HPFS/NTFS
/dev/hdb6 5103 8927 30724281 83 Linux
/dev/hdb7 8928 19929 88373533+ 83 Linux


quindi basta creare la directory dove montare la partizione ad es /mnt/dati,
modificare fstab e quindi, andando in /mnt/dati (che è sul 1 disco -dove ho installato linux ) e (ad esempio) copiandoci vari files da un cd-rom li scrivo in realtà sulla partizione "dati" che è sul secondo disco (160Gb)?
Sì.
Dopo aver modificato fstab, riavvia il computer (oppure monta la partizione manualmente con mount /mnt/dati ).
In qualsiasi momento puoi vedere se la partizione è montata, eseguendo "mount" senza parametri.

un' altra cosa: le 3 partizioni che ho creato sul disco rigido (1 per i giochi di winXP e 2 per i dati di linux) sono tutte e tre primarie: va bene così oppure deve esserci una primaria e 2 logiche oppure devono essere tutte e 3 logiche visto che non vengono usate per il boot di un sistema operativo?
E' indifferente. Se vuoi creare più di 4 partizioni, fino a 3 possono essere primarie; una primaria devi utilizzarla come estesa, per crearci dentro le altre partizioni logiche.

oRz0Ro
12-02-2006, 18:24
ciao
allora...per adesso funziona tutto bene! ..ma...
ho spulciato i file di log (dmesg) e ho trovato questo warning:
"ext2_fs warning (device hdb1): ext2_fill_super: mounting ext3 filesystem as ext2"

cosa significa?


inoltre ho trovato questo messaggio:
"activating ISA DMA hang workaround"

Ho poi visto che quando riconosce il disco hdb (sempre quello da 160 Gb) non dice:
hdb: cannot use LBA48 - full capacity 320173056 sectors (163928 MB)
... sectors > 268435456 use PIO mode" o simili ma solo

hdb: xxxxxxxxxx sectors (158232 MB) w/7936KiB Cache, CHS=16709/255/63, UDMA(100)

senza dire che dopo un certo settore accede al disco non più in modalità DMA ma in PIO...

...è un problema?

Ilbaama
12-02-2006, 19:26
ora però dmesg mi dà solo l' ultima parte dei messaggi del kernel e non riesco più a leggere cosa dice a proposito degli hard disk.

come posso fare a leggere i messaggi per intero?



Puoi digitare questo:

dmesg >> txt.txt

così l'output di dmesg verrà indirizzato nel file txt.txt che ti creerà nella cartella in cui ti trovi.

ilsensine
17-02-2006, 12:55
ciao
allora...per adesso funziona tutto bene! ..ma...
ho spulciato i file di log (dmesg) e ho trovato questo warning:
"ext2_fs warning (device hdb1): ext2_fill_super: mounting ext3 filesystem as ext2"

cosa significa?
Quello che dice; il file system è stato creato come ext3, ma tu lo stai montando come ext2.



inoltre ho trovato questo messaggio:
"activating ISA DMA hang workaround"
Indica che è attivo un workaround per un bug hardware della tua scheda. E' solo una notifica, niente di preoccupante.

Ho poi visto che quando riconosce il disco hdb (sempre quello da 160 Gb) non dice:
hdb: cannot use LBA48 - full capacity 320173056 sectors (163928 MB)
... sectors > 268435456 use PIO mode" o simili ma solo

hdb: xxxxxxxxxx sectors (158232 MB) w/7936KiB Cache, CHS=16709/255/63, UDMA(100)

senza dire che dopo un certo settore accede al disco non più in modalità DMA ma in PIO...

...è un problema?
No è un mistero :D

oRz0Ro
21-02-2006, 20:51
"il file system è stato creato come ext3, ma tu lo stai montando come ext2. "

puoi spiegarmi meglio cosa significa montare una partizione con un filesystem come se ce ne avesse un altro?
Ma io sono sicuro di aver formattato la partizione in ext2. cosa può essere successo?

grazie cmq per l' aiuto che mi hai dato fino ad ora!

ilsensine
22-02-2006, 08:42
ext2/3 sono molto compatibili, tant'è che puoi convertire l'uno nell'altro con semplicità. L'ext3 ha in più il journal.
Puoi montare un ext3 comne ext2; non sfrutti il journal, ma funziona.

Se quel messaggio è relativo alla partizione di /boot (se ne hai creata una), ti consiglio di lasciar perdere. Se si riferisce alla partizione di root, allega il dmesg completo e il tuo file /etc/fstab.

oRz0Ro
27-02-2006, 23:34
ciao,
scusa per il ritardo con cui ti rispondo ma ho avuto un pò da fare ultimamente...

questo è il dmesg trovato in /var/log:

Linux version 2.6.15.2 (root@debian) (gcc version 4.0.3 20060128 (prerelease) (Debian 4.0.2-8)) #1 PREEMPT Mon Feb 27 23:35:18 CET 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000002fff0000 (usable)
BIOS-e820: 000000002fff0000 - 000000002fff3000 (ACPI NVS)
BIOS-e820: 000000002fff3000 - 0000000030000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
767MB LOWMEM available.
On node 0 totalpages: 196592
DMA zone: 4096 pages, LIFO batch:0
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 192496 pages, LIFO batch:31
HighMem zone: 0 pages, LIFO batch:0
DMI 2.2 present.
ACPI: RSDP (v000 ATIA3 ) @ 0x000f6af0
ACPI: RSDT (v001 ATIA3 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2fff3000
ACPI: FADT (v001 ATIA3 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2fff3040
ACPI: DSDT (v001 ATIA3 AWRDACPI 0x00001000 MSFT 0x0100000d) @ 0x00000000
Allocating PCI resources starting at 40000000 (gap: 30000000:cfff0000)
Built 1 zonelists
Kernel command line: root=/dev/hda3 ro
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01603000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 1528.562 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 774472k/786368k available (3245k kernel code, 11404k reserved, 769k data, 192k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3060.93 BogoMIPS (lpj=6121865)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383f9ff c1c3f9ff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff c1c3f9ff 00000000 00000000 00000000 00000000 00000000
CPU: CLK_CTL MSR was 6003d22f. Reprogramming to 2003d22f
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383f9ff c1c3f9ff 00000000 00000020 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
CPU: AMD Athlon(tm) XP 1800+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0c80)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb700, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
PCI quirk: region 0500-053f claimed by ali7101 ACPI
PCI quirk: region 0400-041f claimed by ali7101 SMB
Boot video device is 0000:01:05.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK2] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK3] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK4] (IRQs 1 3 4 5 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK5] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK6] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK7] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK8] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK9] (IRQs 1 3 4 5 6 *7 10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
Bluetooth: Core ver 2.8
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: ec000000-edffffff
PREFETCH window: e0000000-e7ffffff
Machine check exception polling timer started.
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1141084688.704:1): initialized
SGI XFS with large block numbers, no debug enabled
SGI XFS Quota Management subsystem
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
ATI Northbridge, reserving I/O ports 0x3b0 to 0x3bb.
Activating ISA DMA hang workarounds.
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (FF) [SLPF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN] (on)
ACPI: Processor [CPU0] (supports 2 throttling states)
ACPI: Thermal Zone [THRM] (22 C)
lp: driver loaded but no devices found
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.0 20040925
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport0: PC-style at 0x278 [PCSPP(,...)]
lp0: using parport0 (polling).
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNK1] -> GSI 11 (level, low) -> IRQ 11
eth0: RealTek RTL8139 at 0xdc00, xx:xx:xx:xx:xx:xx:, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: Maxtor 2F040J0, ATA DISK drive
hdb: Maxtor 6Y160P0, ATA DISK drive
Probing IDE interface ide1...
hdc: HL-DT-ST DVDRAM GSA-4160B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=65535/16/63
hda: cache flushes supported
hda: hda1 hda2 < hda5 hda6 > hda3
hdb: max request size: 1024KiB
hdb: 320173056 sectors (163928 MB) w/7936KiB Cache, CHS=19929/255/63
hdb: cache flushes supported
hdb: hdb1 hdb2 hdb3
hdc: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
libata version 1.20 loaded.
usbmon: debugfs is not available
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 7
PCI: setting IRQ 7 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.2[C] -> Link [LNK4] -> GSI 7 (level, low) -> IRQ 7
ehci_hcd 0000:00:0d.2: EHCI Host Controller
ehci_hcd 0000:00:0d.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0d.2: irq 7, io mem 0xee007000
ehci_hcd 0000:00:0d.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LNK9] enabled at IRQ 7
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNK9] -> GSI 7 (level, low) -> IRQ 7
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.0: irq 7, io mem 0xee001000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [LNK5] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:06.0: OHCI Host Controller
ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:06.0: irq 10, io mem 0xee003000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb 1-2: new high speed USB device using ehci_hcd and address 2
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNK2] -> GSI 11 (level, low) -> IRQ 11
ohci_hcd 0000:00:0d.0: OHCI Host Controller
ohci_hcd 0000:00:0d.0: new USB bus registered, assigned bus number 4
ohci_hcd 0000:00:0d.0: irq 11, io mem 0xee005000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 3 ports detected
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:0d.1[B] -> Link [LNK3] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:0d.1: OHCI Host Controller
ohci_hcd 0000:00:0d.1: new USB bus registered, assigned bus number 5
ohci_hcd 0000:00:0d.1: irq 10, io mem 0xee006000
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v2.3
usb 4-2: new full speed USB device using ohci_hcd and address 2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
ACPI: PCI Interrupt 0000:00:0e.0[A] -> Link [LNK3] -> GSI 10 (level, low) -> IRQ 10
ALSA device list:
#0: C-Media PCI CMI8738-MC6 (model 55) at 0xe000, irq 10
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard as /class/input/input0
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
ip_conntrack version 2.4 (6143 buckets, 49144 max) - 212 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
input: ImExPS/2 Logitech Wheel Mouse as /class/input/input1
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
ACPI wakeup devices:
PCI0 USB0 USB1
ACPI: (supports S0 S1 S4 S5)
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 192k freed
kjournald starting. Commit interval 5 seconds
Vendor: Generic Model: USB SD Reader Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 00
Vendor: Generic Model: USB CF Reader Rev: 1.01
Type: Direct-Access ANSI SCSI revision: 00
Vendor: Generic Model: USB SM Reader Rev: 1.02
Type: Direct-Access ANSI SCSI revision: 00
Vendor: Generic Model: USB MS Reader Rev: 1.03
Type: Direct-Access ANSI SCSI revision: 00
usb-storage: device scan complete
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:0:1: Attached scsi removable disk sdb
sd 0:0:0:2: Attached scsi removable disk sdc
sd 0:0:0:3: Attached scsi removable disk sdd
Bluetooth: HCI USB driver ver 2.9
usbcore: registered new driver hci_usb
Adding 489972k swap on /dev/hda5. Priority:-1 extents:1 across:489972k
EXT3 FS on hda3, internal journal
EXT2-fs warning (device hda6): ext2_fill_super: mounting ext3 filesystem as ext2
EXT2-fs warning (device hdb3): ext2_fill_super: mounting ext3 filesystem as ext2
EXT2-fs warning (device hdb2): ext2_fill_super: mounting ext3 filesystem as ext2
eth0: link up, 10Mbps, half-duplex, lpa 0x0000


e questo è il file /etc/fstab:
proc /proc proc defaults 0 0
/dev/hda3 / ext2 defaults,errors=remount-ro 0 1
/dev/hda6 /home ext2 defaults 0 2
/dev/hda5 none swap sw 0 0
/dev/hdb3 /mnt/Dati(100Gb) ext2 defaults 0 0
/dev/hdb2 /mnt/Vari(30Gb) ext2 defaults 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

il filesystem segnato è ext2 perchè le partizioni erano state formattate proprio con ext2

a quanto pare la partizione di root non dà problemi:"EXT3 FS on hda3, internal journal"
mentre le altre sembrano essere partizioni ext3 montate con ext2

non capisco proprio da dove possa essere uscita sta cosa... :muro:
aggiungi anche il fatto che non dice più che dopo un certo settore accede al disco non in modalità DMA ma in PIO (cosa che credo stia facendo)... :muro:

il mio computer si droga :D

ilsensine
28-02-2006, 09:23
Mah strano. Metti manualmente ext3 e guarda se esplode qualcosa :D

il filesystem segnato è ext2 perchè le partizioni erano state formattate proprio con ext2
Secondo il kernel è ext3, forse qualcuno le ha convertite.

oRz0Ro
05-03-2006, 17:19
ciao,
ho modificato fstab così:

proc /proc proc defaults 0 0
/dev/hda3 / ext2 defaults,errors=remount-ro 0 1
/dev/hda6 /home ext3 defaults 0 2
/dev/hda5 none swap sw 0 0
/dev/hdb3 /mnt/Dati(100Gb) ext3 defaults 0 0
/dev/hdb2 /mnt/Vari(30Gb) ext3 defaults 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

e ora dmesg mi dice:
EXT3 FS on hda3, internal journal <--------------------------
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hdb3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hdb2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.


perchè hda3 viene visto come ext3 anche se in fstab è configurato come ext2 senza darmi però l' errore che mi dava con le altre 3 partizioni?

"EXT3 FS on hda3, internal journal
EXT2-fs warning (device hda6): ext2_fill_super: mounting ext3 filesystem as ext2
EXT2-fs warning (device hdb3): ext2_fill_super: mounting ext3 filesystem as ext2
EXT2-fs warning (device hdb2): ext2_fill_super: mounting ext3 filesystem as ext2 "

ilsensine
06-03-2006, 07:52
Perché quando il sistema accede a / per leggere fstab, in qualche modo / deve essere stato già...montato. Evidentemente è stato montato correttamente come ext3.