Package: linux-2.6 Version: 2.6.18.dfsg.1-13 Forwarded from the [EMAIL PROTECTED] list:
* Richard Morey <[EMAIL PROTECTED]> [2007-12-10 11:37]: > I am trying to install debian on the NSLU2, and thanks to the help from > this mailing list I've managed to connect to the debian installer and > start the install process. However, I'm hitting some snags in partition > creation. > > I'm using a Maxtor 60GB HD in a Coolmax360 enclosure. The drive mounts > up fine in Ubuntu Gutsy, with no errors (I've tried repartitioning and > fsck). > > In the debian installer, after "calculating partitions" I get the error: > Input/output error during read on > /dev/scsi/host0/bus0/target0/lun0/disc > > I'm wondering if it is the enclosure, after googling: > http://www.linuxforums.org/forum/peripherals-hardware/97245-cant-mount-coolmax-hd-360-enclosure.html > > Is there a workaround for this? Will the next version of debian solve > it? Do I need to just get new enclosures? > > I've attached three files - the nslu2's syslog, the partman log, and the > syslog excerpt from when I plug it in in ubuntu. > > The NSLU2's /var/log/syslog is full of lines like: > Apr 12 03:42:58 kernel: sd 0:0:0:0: SCSI error: return code = 0x10070000 > Apr 12 03:42:58 kernel: end_request: I/O error, dev sda, sector 4 > > Below is an excerpt of /var/log/partman, showing the error: > ********************* > parted_server: Closing infifo and outfifo > parted_server: main_loop: iteration 104 > parted_server: Opening infifo > /bin/partman: IN: PARTITIONS =dev=scsi=host0=bus0=target0=lun0=disc > parted_server: Read command: PARTITIONS > parted_server: command_partitions() > parted_server: Opening outfifo > parted_server: OUT: OK > > > parted_server: OUT: 1 32256-6999713279 6999681024 primary > ext3 /dev/scsi/host0/bus0/target0/lun0/part1 > > > parted_server: OUT: 5 6999745536-7098416639 98671104 logical > linux-swap /dev/scsi/host0/bus0/target0/lun0/part5 > > > parted_server: OUT: 6 7098448896-59995192319 52896743424 logical > ext3 /dev/scsi/host0/bus0/target0/lun0/part6 > > > parted_server: Partitions printed > parted_server: OUT: > > **********cut************* > > parted_server: Closing infifo and outfifo > parted_server: main_loop: iteration 111 > parted_server: Opening infifo > /lib/partman/commit.d/30parted: IN: COMMIT > =dev=scsi=host0=bus0=target0=lun0=disc > parted_server: Read command: COMMIT > parted_server: command_commit() > parted_server: Opening outfifo > parted_server: OUT: Error > > > parted_server: OUT: Input/output error during read on > /dev/scsi/host0/bus0/target0/lun0/disc > > > parted_server: OUT: > > > parted_server: OUT: Retry > > > parted_server: OUT: Ignore > > > parted_server: OUT: Cancel > > > parted_server: OUT: > > > /lib/partman/commit.d/30parted: error_handler: exception with type Error > /lib/partman/commit.d/30parted: error_handler: reading message > /lib/partman/commit.d/30parted: paragraph: Input/output error during > read on /dev/scsi/host0/bus0/target0/lun0/disc > /lib/partman/commit.d/30parted: error_handler: reading options > /lib/partman/commit.d/30parted: option: Retry > /lib/partman/commit.d/30parted: option: Ignore > /lib/partman/commit.d/30parted: option: Cancel > /bin/partman: ******************************************************* > /lib/partman/init.d/30parted: > ******************************************************* > /lib/partman/init.d/35dump: > ******************************************************* > /lib/partman/init.d/35dump: IN: DUMP =dev=mtdblock0 > parted_server: exception_handler: Bad option: "DUMP =dev=mtdblock0" > parted_server: Line 301. CRITICAL ERROR!!! EXITING. > /bin/partman: ******************************************************* > /lib/partman/init.d/30parted: > ******************************************************* > parted_server: ======= Starting the server > parted_server: main_loop: iteration 1 > parted_server: Opening infifo > /lib/partman/init.d/30parted: IN: OPEN > =dev=scsi=host0=bus0=target0=lun0=disc > /dev/scsi/host0/bus0/target0/lun0/disc > parted_server: Read command: OPEN > parted_server: command_open() > parted_server: Request to open =dev=scsi=host0=bus0=target0=lun0=disc > parted_server: Opening outfifo > parted_server: OUT: OK Richard suggested the following patch should help: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=f1cd4ad202ce34d29c847fd82df948ff67c17826 -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]