sda : very big device

Adodott egy "kis" problema. Fogtam egy kulso wincsit, USB-s hazba be, radugtam a Debian gepre. Lenny, 2.6.18 kernel, sajat forditas. Jott a gyonyoru hibauzenet:


Jul  7 10:09:49 centaury kernel: usb 5-7: new high speed USB device using ehci_hcd and address 3
Jul  7 10:10:20 centaury kernel: usb 5-7: configuration #1 chosen from 1 choice
Jul  7 10:10:20 centaury kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jul  7 10:10:20 centaury kernel: usb-storage: device found at 3
Jul  7 10:10:20 centaury kernel: usb-storage: waiting for device to settle before scanning
Jul  7 10:10:25 centaury kernel:   Vendor:           Model:       Rev:
Jul  7 10:10:25 centaury kernel:   Type:   Direct-Access       ANSI SCSI revision: 00
Jul  7 10:10:25 centaury kernel: usb-storage: device scan complete
Jul  7 10:10:25 centaury kernel: sda: too big for this kernel.  Use a kernel compiled with support for large block devices.
Jul  7 10:10:25 centaury kernel: SCSI device sda: 0 512-byte hdwr sectors (0 MB)
Jul  7 10:10:25 centaury kernel: sda: test WP failed, assume Write Enabled
Jul  7 10:10:25 centaury kernel: sda: assuming drive cache: write through 

Jo, hat vicces uzenet, forditsunk uj kernelt. tenyleg nincs benne a Large Device/File Support (ami elvileg 2T particio/disk/file felett kellene). Lefordul, butul es itt az hibauzi:


Jul  7 15:57:23 centaury kernel: usb 5-2: new high speed USB device using ehci_hcd and address 3
Jul  7 15:57:53 centaury kernel: usb 5-2: configuration #1 chosen from 1 choice
Jul  7 15:57:53 centaury kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jul  7 15:57:53 centaury kernel: usb-storage: device found at 3
Jul  7 15:57:53 centaury kernel: usb-storage: waiting for device to settle before scanning
Jul  7 15:57:58 centaury kernel:   Vendor:           Model:                   Rev:     
Jul  7 15:57:58 centaury kernel:   Type:   Direct-Access                      ANSI SCSI revision: 00
Jul  7 15:57:58 centaury kernel: sda : very big device. try to use READ CAPACITY(16).
Jul  7 15:57:58 centaury kernel: sda : READ CAPACITY(16) failed.
Jul  7 15:57:58 centaury kernel: sda : status=0, message=00, host=5, driver=00 
Jul  7 15:57:58 centaury kernel: sda : use 0xffffffff as device size
Jul  7 15:57:58 centaury kernel: SCSI device sda: 4294967296 512-byte hdwr sectors (2199023 MB)
Jul  7 15:57:58 centaury kernel: sda: test WP failed, assume Write Enabled
Jul  7 15:57:58 centaury kernel: sda: assuming drive cache: write through
Jul  7 15:57:58 centaury kernel: sda : very big device. try to use READ CAPACITY(16).
Jul  7 15:57:58 centaury kernel: sda : READ CAPACITY(16) failed.
Jul  7 15:57:58 centaury kernel: sda : status=0, message=00, host=5, driver=00 
Jul  7 15:57:58 centaury kernel: sda : use 0xffffffff as device size
Jul  7 15:57:58 centaury kernel: SCSI device sda: 4294967296 512-byte hdwr sectors (2199023 MB)
Jul  7 15:57:58 centaury kernel: sda: test WP failed, assume Write Enabled
Jul  7 15:57:58 centaury kernel: sda: assuming drive cache: write through
Jul  7 15:58:28 centaury kernel:  sda:<6>usb 5-2: reset high speed USB device using ehci_hcd and address 3
Jul  7 15:58:39 centaury kernel: usb 5-2: reset high speed USB device using ehci_hcd and address 3
Jul  7 15:58:49 centaury last message repeated 2 times
Jul  7 15:58:49 centaury kernel: sd 1:0:0:0: scsi: Device offlined - not ready after error recovery
Jul  7 15:58:49 centaury kernel: sd 1:0:0:0: SCSI error: return code = 0x00050000
Jul  7 15:58:49 centaury kernel: end_request: I/O error, dev sda, sector 0
Jul  7 15:58:49 centaury kernel: Buffer I/O error on device sda, logical block 0
Jul  7 15:58:49 centaury kernel: sd 1:0:0:0: rejecting I/O to offline device
Jul  7 15:58:49 centaury kernel: Buffer I/O error on device sda, logical block 0
Jul  7 15:58:49 centaury kernel:  unable to read partition table
Jul  7 15:58:49 centaury kernel: sd 1:0:0:0: Attached scsi disk sda
Jul  7 15:58:49 centaury kernel: usb-storage: device scan complete 

Es csokanyu...Hogya nyavalyaba ismert fel egy 320G wincsit 2T-kent????
Ja, wincsi XP alatt rendesen megy. Erdemes lenne masik wincsit/kulso hazat kiprobalnom?
(egy cege, szoval nem biztos, hoyg orulnenek, ha aszondom, uj usb-s wincsi kell, utana kiderul, hogy azzal sem megy...)

Talalkozott mar valaki ilyennel?

Hozzászólások

Másik külső házat érdemes lenne kipróbálnod. A jelenlegit szerintem kezeli jól a kernel. lsusb mit ír ki?

Bus 005 Device 003: ID 048d:8903 Integrated Technology Express, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000

Sose futottam bele ilyenbe (bar a neten tobb emberrel is tortent hasonlo...), szoval nem tudom, a wincsi vagy a haz tipusat kellene az lsusb-nek kiirnia (pendrive eseten egyertelmu, kulso wincsinel sose neztem lsusb-t, mindig ment elsore)

--
http://www.micros~1

forditsunk uj kernelt.

mivel elsőre is valami prehistórikus (2.6.18? wtf?) kernellel próbálkoztál, ugyan írd már meg, hogy hány évvel ezelőtti kernellel szopsz...

Hogya nyavalyaba ismert fel egy 320G wincsit 2T-kent????
...
READ CAPACITY(16) failed.
use 0xffffffff as device size
sda: 4294967296 512-byte hdwr sectors

ott van beleírva a logba.
nem tudta kiolvasni a méretet, ergó 2^32-1-et használ méretként. azt kérdezd meg a kód íróitól, hogy ennek mi az értelme...

Konkrétabban: "CONFIG_LBDAF=y"?
Ha magad fordítod a kernelt, akkor meg van a lehetőség, hogy ne a disztribúció archaikus forrását használd. Szerintem fordíts valami naprakész verziót.

Üdv:
Dw.

"Jegyezze fel a vádhoz - utasította Metcalf őrnagy a tizedest, aki tudott gyorsírni. - Tiszteletlenül beszélt a feljebbvalójával, amikor nem pofázott közbe."

Amugy targytalan a tema, kap a ceg egy NAS-t az ezereves P4 helyett, arra ra lehet akasztani kulso wincsit is backupra.

--
http://www.micros~1